[
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT count(*) FROM singer",
        "question": "How many singers do we have?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT count(*) FROM singer",
        "question": "What is the total number of singers?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT name ,  country  FROM singer ORDER BY birthday ASC",
        "question": "Show name, country for all singers ordered by age from the oldest to the youngest."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT name ,  country  FROM singer ORDER BY birthday ASC",
        "question": "What are the names, countries for every singer in descending order of age?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT avg(Singer_ID) ,  min(Singer_ID) ,  max(Singer_ID) FROM singer WHERE country  =  'France'",
        "question": "What is the average, minimum, and maximum id of all French singers?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT avg(Singer_ID) ,  min(Singer_ID) ,  max(Singer_ID) FROM singer WHERE country  =  'France'",
        "question": "What is the average, minimum, and maximum id for French singers?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT song_name ,  song_release_year FROM singer ORDER BY birthday desc LIMIT 1",
        "question": "Show the name and the release year of the song by the youngest singer."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT song_name ,  song_release_year FROM singer ORDER BY birthday desc LIMIT 1",
        "question": "What are the names and release years for all the songs of the youngest singer?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT DISTINCT country FROM singer WHERE birthday  like '2001%'",
        "question": "What are all distinct countries where singers born in 2001 are from?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT DISTINCT country FROM singer WHERE birthday  like  '2001%'",
        "question": "What are  the different countries with singers born in 2001?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT country ,  count(*) FROM singer GROUP BY country",
        "question": "Show all countries and the number of singers in each country."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT country ,  count(*) FROM singer GROUP BY country",
        "question": "How many singers are from each country?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT song_name FROM singer WHERE birthday  <  (SELECT avg(birthday) FROM singer)",
        "question": "List all song names by singers above the average age."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT song_name FROM singer WHERE birthday  <  (SELECT avg(birthday) FROM singer)",
        "question": "What are all the song names by singers who are older than average?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT LOCATION ,  name FROM stadium WHERE capacity BETWEEN 5000 AND 10000",
        "question": "Show location and name for all stadiums with a capacity between 5000 and 10000."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT LOCATION ,  name FROM stadium WHERE capacity BETWEEN 5000 AND 10000",
        "question": "What are the locations and names of all stations with capacity between 5000 and 10000?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT avg(capacity) ,  max(capacity) FROM stadium",
        "question": "What is the average and the highest capacity of all stadiums?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT avg(capacity) ,  max(capacity) FROM stadium",
        "question": "What is the average and highest capacities for all stations?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT name ,  capacity FROM stadium ORDER BY average DESC LIMIT 1",
        "question": "What is the name and capacity for the stadium with highest average attendance?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT name ,  capacity FROM stadium ORDER BY average DESC LIMIT 1",
        "question": "What is the name and capacity for the stadium with the highest average attendance?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT count(*) FROM concert WHERE YEAR  >=  2014",
        "question": "How many concerts are there after or in year 2014?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT count(*) FROM concert WHERE YEAR  >=  2014",
        "question": "How many concerts occurred after or in 2014?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT T2.name ,  count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id GROUP BY T1.stadium_id",
        "question": "Show the stadium name and the number of concerts in each stadium."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT T2.name ,  count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id GROUP BY T1.stadium_id",
        "question": "For each stadium, how many concerts play there?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "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",
        "question": "Show the stadium name and capacity with most number of concerts in year 2014 or after."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "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",
        "question": "What is the name and highest attendance of the stadium  with the most concerts after 2013?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT concert_Name FROM concert ORDER BY YEAR asc LIMIT 1",
        "question": "Which concert is the oldest?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT concert_Name FROM concert ORDER BY YEAR asc LIMIT 1",
        "question": "Return the oldest concert name?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT highest FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)",
        "question": "Show the highest attendance without any concert."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT lowest FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)",
        "question": "What are lowest attendance of the stadiums without any concerts?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT country FROM singer WHERE birthday  like  '1981%' or birthday  like  '1991%'",
        "question": "Show countries where a singer born in 1981 or 1991 are from."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT average FROM stadium EXCEPT SELECT T2.average FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.year  =  2014",
        "question": "Show average attendance for all stadiums except for stadiums having a concert in year 2014."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT lowest FROM stadium EXCEPT SELECT T2.lowest FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.year  =  2014",
        "question": "What are the lowest attendance of all stadiums that did not have a concert in 2014?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "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",
        "question": "Show the name and theme for all concerts and the number of singers in each concert."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "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",
        "question": "What are the names, themes, and number of singers for each and every concert?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "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",
        "question": "List singer names and number of concerts for each singer."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "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",
        "question": "What are the names of the singers and number of concerts for each person?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "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",
        "question": "List all singer names in concerts after or in year 2014."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "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",
        "question": "What are the names of the singers who performed in a concert before or in 2014?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT name ,  country FROM singer WHERE song_name LIKE '%Hey%'",
        "question": "what is the name and nation of the singer who have a song having 'Hey' in its name?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT name ,  country FROM singer WHERE song_name LIKE '%Hey%'",
        "question": "What is the name and country of origin of every singer who has a song with the word 'Hey' in its title?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT T2.lowest ,  T2.highest 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",
        "question": "Find the lowest and highest attendance of the stadiums which some concerts happened in the years of both 2014 and 2015."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT T2.lowest ,  T2.highest 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",
        "question": "What are the lowest and highest attendance of the stadiums that had concerts that occurred in both 2014 and 2015?"
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id ORDER BY T2.Capacity DESC LIMIT 1",
        "question": "Find the number of concerts happened in the stadium with the highest capacity."
    },
    {
        "type": "dk",
        "db_id": "new_concert_singer",
        "query": "SELECT count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id ORDER BY T2.Capacity DESC LIMIT 1",
        "question": "What are the number of concerts that occurred in the stadium with the largest capacity?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT count(*) FROM pets WHERE weight  >  10",
        "question": "Find the number of pets whose weight is heavier than 10."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT count(*) FROM pets WHERE weight  >  10",
        "question": "How many pets have a greater weight than 10?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT weight FROM pets ORDER BY birthdate desc LIMIT 1",
        "question": "Find the weight of the youngest dog."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT weight FROM pets ORDER BY birthdate desc LIMIT 1",
        "question": "How much does the youngest dog weigh?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT max(weight) ,  petType FROM pets GROUP BY petType",
        "question": "Find the maximum weight for each type of pet. List the maximum weight and pet type."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT max(weight) ,  petType FROM pets GROUP BY petType",
        "question": "List the maximum weight and type for each type of pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.age  >  20",
        "question": "Find number of pets owned by students who are older than 20."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.age  >  20",
        "question": "How many pets are owned by students that have an age greater than 20?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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'",
        "question": "Find the number of puppy pets that are raised by female students (with sex F)."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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'",
        "question": "How many puppy pets are raised by female students?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT count(DISTINCT pettype) FROM pets",
        "question": "Find the number of distinct type of pets."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT count(DISTINCT pettype) FROM pets",
        "question": "How many different types of pet are there?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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'",
        "question": "Find the first name of students who have kitten or puppy pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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'",
        "question": "What are the first names of every student who has a kitten or puppy as a pet?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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'",
        "question": "Find the name of students who have both Kitten and puppy pets."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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'",
        "question": "What are the students' first names who have both kitten and puppy as pets?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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')",
        "question": "Find the major and age of students who do not have a kitten pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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')",
        "question": "What major is every student who does not own a kitten as a pet, and also how old are they?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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'",
        "question": "Find the id of students who do not have a kitten pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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'",
        "question": "What are the ids of the students who do not own kittens as pets?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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')",
        "question": "Find the first name and age of students who have a dog but do not have a puppy as a pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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')",
        "question": "What is the first name of every student who has a puppy but does not have a kitten?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT pettype ,  weight FROM pets ORDER BY birthdate desc LIMIT 1",
        "question": "Find the type and weight of the youngest pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT pettype ,  weight FROM pets ORDER BY birthdate desc LIMIT 1",
        "question": "What type of pet is the youngest animal, and how much does it weigh?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT petid ,  weight FROM pets WHERE birthdate  <  '2020-01-01'",
        "question": "Find the id and weight of all pets older than that born in 2020."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT petid ,  weight FROM pets WHERE birthdate  <  '2020-05-01'",
        "question": "What is the id and weight of every pet who is older than that born in 2020?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT avg(PetID) ,  max(PetID) ,  pettype FROM pets GROUP BY pettype",
        "question": "Find the average and maximum id for each type of pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT avg(PetID) ,  max(PetID) ,  pettype FROM pets GROUP BY pettype",
        "question": "What is the average and maximum id for each pet type?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT avg(PetID) ,  max(PetID) ,  pettype FROM pets GROUP BY pettype",
        "question": "Find the average and maximum id for each pet type."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT avg(weight) ,  pettype FROM pets GROUP BY pettype",
        "question": "What is the average weight for each type of pet?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT DISTINCT T1.fname , T1.LName ,  T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid",
        "question": "Find the name and age of students who have a pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT DISTINCT T1.fname , T1.LName ,  T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid",
        "question": "What are the different names and ages of the students who do have pets?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.Lname  =  'Smith'",
        "question": "Find the id of the pet owned by student whose last name is \u2018Smith\u2019."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.Lname  =  'Smith'",
        "question": "What is the id of the pet owned by the student whose last name is 'Smith'?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT count(*) ,  T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid GROUP BY T1.stuid",
        "question": "Find the number of pets for each student who has any pet and student id."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "SELECT count(*) ,  T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid GROUP BY T1.stuid",
        "question": "For students who have pets, how many pets does each student have?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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",
        "question": "Find the first name and gender of student who have more than one pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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",
        "question": "What is the first name and gender of the all the students who have more than one pet?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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.birthdate  like  '2001%' AND T3.pettype  =  'cat'",
        "question": "Find the last name of the student who has a cat that born in 2001."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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.birthdate  like '2001%' AND T3.pettype  =  'cat'",
        "question": "What is the last name of the student who has a cat that born in 2001?"
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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)",
        "question": "Find the average age of students who do not have any pet."
    },
    {
        "type": "dk",
        "db_id": "new_pets_1",
        "query": "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)",
        "question": "What is the average age for all students who do not own any pets?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CONTINENTS;",
        "question": "How many continents are there?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CONTINENTS;",
        "question": "What is the number of continents?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT T1.ContId ,  T1.Continent ,  count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId  =  T2.Continent GROUP BY T1.ContId;",
        "question": "How many countries does each continent have? List the continent id, continent name and the number of countries."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT T1.ContId ,  T1.Continent ,  count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId  =  T2.Continent GROUP BY T1.ContId;",
        "question": "For each continent, list its id, name, and how many countries it has?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM COUNTRIES;",
        "question": "How many countries are listed?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM COUNTRIES;",
        "question": "How many countries exist?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "How many models does each car maker produce? List maker full name, id and the number."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What is the full name of each car maker, along with its id and how many models it produces?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "Which model of the car has the minimum horsepower?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What is the model of the car with the smallest amount of horsepower?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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)",
        "question": "Find the model of the car whose weight is below the average weight."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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)",
        "question": "What is the model for the car with a weight smaller than the average?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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  >=  '2019';",
        "question": "Find the name of the makers that produced some cars in the past two years?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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  >=  '2019';",
        "question": "What is the name of the different car makers who produced a car in the past two years?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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);",
        "question": "Find the make and production time of the cars that were produced in the earliest year?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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);",
        "question": "What is the maker of the carr produced in the earliest year and what year was it?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "Which distinct car models are the produced before or in 1980?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What are the different models for the cards produced before or in 1980?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "How many car makers are there in each continents? List the continent name and the count."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What is the name of each continent and how many car makers are there in each one?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "Which of the countries has the most car makers? List the country name."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What is the name of the country with the most car makers?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "How many car models are produced by each maker? List the count and the maker full name."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "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?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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)';",
        "question": "What is the accelerate of the car make amc hornet sportabout (sw)?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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)';",
        "question": "How much does the car accelerate that makes amc hornet sportabout (sw)?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country  =  T2.CountryId WHERE T2.CountryName  =  'Japan';",
        "question": "How many Japanese car makers are there?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country  =  T2.CountryId WHERE T2.CountryName  =  'Japan';",
        "question": "What is the number of makers of Japanese care?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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';",
        "question": "How many car models are produced in the america?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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';",
        "question": "What is the count of the car models produced in the United States?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders  =  4;",
        "question": "What is the average miles per gallon(mpg) of the cars with 4 cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders  =  4;",
        "question": "What is the average miles per gallon of all the cards with 4 cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT Weight FROM CARS_DATA WHERE Cylinders  =  4 AND YEAR  =  1974 ORDER BY Weight ASC LIMIT 1;",
        "question": "What is the smallest weight of the car produced with 8 cylinders on 1974?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT Weight FROM CARS_DATA WHERE Cylinders  =  4 AND YEAR  =  1974 ORDER BY Weight ASC LIMIT 1;",
        "question": "What is the minimu weight of the car with 8 cylinders produced in 1974?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT Maker ,  Model FROM MODEL_LIST;",
        "question": "What are all the makers and models?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT Maker ,  Model FROM MODEL_LIST;",
        "question": "What are the makers and models?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What are the countries having at least one car maker? List name and id."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What are the names and ids of all countries with at least one car maker?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE horsepower  >  150;",
        "question": "What is the number of the cars with horsepower more than 150?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE horsepower  >  150;",
        "question": "What is the number of cars with a horsepower greater than 150?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT avg(Weight) ,  YEAR FROM CARS_DATA GROUP BY YEAR;",
        "question": "What is the average weight of cars each year?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT avg(Weight) ,  YEAR FROM CARS_DATA GROUP BY YEAR;",
        "question": "What is the average weight and year for each year?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "Which European countries have at least 3 car manufacturers?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What are the names of all European countries with at least 3 manufacturers?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What is the maximum horsepower and the make of the car models with 3 cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What is the largest amount of horsepower for the models with 3 cylinders and what make is it?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "Which model saves the most gasoline? That is to say, have the maximum miles per gallon."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What is the car wmodel with the highest mpg?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT avg(horsepower) FROM CARS_DATA WHERE YEAR  <=  1980;",
        "question": "What is the average horsepower of the cars before or in 1980?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT avg(horsepower) FROM CARS_DATA WHERE YEAR  <=  1980;",
        "question": "What is the average horsepower for all cards produced before or in 1980?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T1.Model  =  'tesla';",
        "question": "What is the average edispl of the cars of model tesla?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T1.Model  =  'tesla';",
        "question": "What is the average edispl for all teslas?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT max(Accelerate) ,  Cylinders FROM CARS_DATA GROUP BY Cylinders;",
        "question": "What is the maximum accelerate for different number of cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT max(Accelerate) ,  Cylinders FROM CARS_DATA GROUP BY Cylinders;",
        "question": "What is the maximum accelerate for all the different cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;",
        "question": "Which model has the most version(make) of cars?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;",
        "question": "What model has the most different versions?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE Cylinders  >  4;",
        "question": "How many cars have more than 4 cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE Cylinders  >  4;",
        "question": "What is the number of cars with more than 4 cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE YEAR  >=  2019;",
        "question": "how many cars were produced in the last two years?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE YEAR  >=  2019;",
        "question": "In the last two years, how many cars were made?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker WHERE T1.FullName  =  'American Motor Company';",
        "question": "How many car models were produced by American Motor?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker WHERE T1.FullName  =  'American Motor Company';",
        "question": "What is the number of car models created by American Motor?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "Which makers designed more than 3 car models? List full name and the id."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What are the names and ids of all makers with more than 3 models?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "Which distinctive models are produced by maker with the full name General Motors or weighing more than 3500?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What are the different models created by either the car maker General Motors or weighed more than 3500?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT DISTINCT T1.Year FROM CARS_DATA AS T1 WHERE T1.Weight  >  3000 AND T1.weight  <  4000;",
        "question": "In which years cars were produced weighing no less than 3000 and no more than 4000?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT DISTINCT T1.Year FROM CARS_DATA AS T1 WHERE T1.Weight  >  3000 AND T1.weight  <  4000;",
        "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?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;",
        "question": "What is the horsepower of the car with the largest accelerate?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;",
        "question": "What is the horsepower of the car with the greatest accelerate?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T2.Model  =  'tesla' ORDER BY T1.accelerate ASC LIMIT 1;",
        "question": "For model tesla, how many cylinders does the car with the least accelerate have?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T2.Model  =  'tesla' ORDER BY T1.accelerate ASC LIMIT 1;",
        "question": "For a tesla model, how many cylinders does the version with least accelerate have?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate  >  ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );",
        "question": "How many cars have a larger accelerate than the car with the largest horsepower?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate  >  ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );",
        "question": "What is the number of cars with a greater accelerate than the one with the most horsepower?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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 );",
        "question": "How many countries has more than 2 car makers?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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 );",
        "question": "What is the number of countries with more than 2 car makers?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders  >  6;",
        "question": "How many cars has over 6 cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders  >  6;",
        "question": "What is the number of carsw ith over 6 cylinders?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "For the cars with 4 cylinders, which model has the largest horsepower?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "For all of the 4 cylinder cars, which model has the most horsepower?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "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."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "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?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT mpg FROM CARS_DATA WHERE Cylinders  =  8 OR YEAR  <=  1980 ORDER BY mpg DESC LIMIT 1;",
        "question": "What is the maximum miles per gallon of the car with 8 cylinders or produced before or in 1980?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT mpg FROM CARS_DATA WHERE Cylinders  =  8 OR YEAR  <=  1980 ORDER BY mpg DESC LIMIT 1;",
        "question": "What is the maximum mpg of the cars that had 8 cylinders or that were produced before or in 1980?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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';",
        "question": "Which models are lighter than 3500 but not built by the 'Ford Motor'?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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';",
        "question": "What are the different models wthat are lighter than 3500 but were not built by the Ford Motor?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId  =  T2.Country;",
        "question": "What are the name of the countries where there is not a single car maker?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId  =  T2.Country;",
        "question": "What are the names of the countries with no car makers?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "Which are the car makers which produce at least 2 models and more than 3 car makes? List the id and the maker."
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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;",
        "question": "What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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  =  'tesla';",
        "question": "What are the id and names of the countries which have more than 3 car makers or produce the 'tesla' model?"
    },
    {
        "type": "dk",
        "db_id": "car_1",
        "query": "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  =  'tesla';",
        "question": "What are the ids and names of all countries that either have more than 3 car makers or produce teslas?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT Country FROM AIRLINES WHERE Airline  =  \"JetBlue Airways\"",
        "question": "Which country does Airline \"JetBlue\" belong to?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT Country FROM AIRLINES WHERE Airline  =  \"JetBlue Airways\"",
        "question": "What country is Jetblue affiliated with?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT Abbreviation FROM AIRLINES WHERE Airline  =  \"JetBlue Airways\"",
        "question": "What is the abbreviation of Airline \"JetBlue\"?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT Abbreviation FROM AIRLINES WHERE Airline  =  \"JetBlue Airways\"",
        "question": "Which abbreviation corresponds to JetBlue?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT Airline ,  Abbreviation FROM AIRLINES WHERE Country  =  \"USA\"",
        "question": "List all american airline names and their abbreviations."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT Airline ,  Abbreviation FROM AIRLINES WHERE Country  =  \"USA\"",
        "question": "What are american airline names and abbreviations for airlines?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT AirportCode ,  AirportName FROM AIRPORTS WHERE city  =  \"Jackson\"",
        "question": "List the airport code and name in Jackson."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT AirportCode ,  AirportName FROM AIRPORTS WHERE city  =  \"Syracuse\"",
        "question": "Give the airport code and airport name corresonding to the Syracuse."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES",
        "question": "How many airlines do we have?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES",
        "question": "What is the total number of airlines?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRPORTS",
        "question": "How many airports do we have?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRPORTS",
        "question": "Return the number of  airports."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS",
        "question": "How many flights do we have?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS",
        "question": "Return the number of flights."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT Airline FROM AIRLINES WHERE Abbreviation  =  \"UAL\"",
        "question": "Which airline has abbreviation 'UAL'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT Airline FROM AIRLINES WHERE Abbreviation  =  \"UAL\"",
        "question": "Give the airline with abbreviation 'UAL'."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES WHERE Country  =  \"USA\"",
        "question": "How many airlines are from America?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES WHERE Country  =  \"USA\"",
        "question": "Return the number of airlines in the America."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT City ,  Country FROM AIRPORTS WHERE AirportName  =  \"Alton\"",
        "question": "Which city and country is the Alton airport at?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT City ,  Country FROM AIRPORTS WHERE AirportName  =  \"Alton\"",
        "question": "Give the city and country for the Alton airport."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM AIRPORTS WHERE AirportCode  =  \"AKO\"",
        "question": "What is the airport name for airport 'AKO'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM AIRPORTS WHERE AirportCode  =  \"AKO\"",
        "question": "Return the name of the airport with code 'AKO'."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM AIRPORTS WHERE City = \"Jackson\"",
        "question": "What are airport names at 'Jackson'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM AIRPORTS WHERE City = \"Jackson\"",
        "question": "What are the names of airports in Jackson?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS WHERE SourceAirport  =  \"APG\"",
        "question": "How many flights depart from 'APG'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS WHERE SourceAirport  =  \"APG\"",
        "question": "Count the number of flights departing from 'APG'."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS WHERE DestAirport  =  \"ATO\"",
        "question": "How many flights have destination ATO?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS WHERE DestAirport  =  \"ATO\"",
        "question": "Count the number of flights into ATO."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport  =  T2.AirportCode WHERE T2.City  =  \"Jackson\"",
        "question": "How many flights depart from Jackson?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport  =  T2.AirportCode WHERE T2.City  =  \"Jackson\"",
        "question": "Return the number of flights departing from Jackson."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.City  =  \"Jackson\"",
        "question": "How many flights arriving in Jackson city?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.City  =  \"Jackson\"",
        "question": "Return the number of flights arriving in Jackson."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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  =  \"Syracuse\"",
        "question": "How many flights depart from City 'Syracuse' and have destination City 'Ashley'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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  =  \"Syracuse\"",
        "question": "How many flights fly from Syracuse to Ashley?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline  =  T2.uid WHERE T2.Airline = \"JetBlue Airways\"",
        "question": "How many flights does airline 'JetBlue' have?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline  =  T2.uid WHERE T2.Airline = \"JetBlue Airways\"",
        "question": "Give the number of Jetblue flights."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  \"JetBlue Airways\" AND T2.DestAirport  =  \"ASY\"",
        "question": "How many 'JetBlue' flights go to Airport 'ASY'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  \"JetBlue Airways\" AND T2.DestAirport  =  \"ASY\"",
        "question": "Count the number of JetBlue flights arriving in ASY Airport."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  \"JetBlue Airways\" AND T2.SourceAirport  =  \"AHD\"",
        "question": "How many 'JetBlue' flights depart from Airport 'AHD'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  \"JetBlue Airways\" AND T2.SourceAirport  =  \"AHD\"",
        "question": "Return the number of JetBlue flights leaving from AHD Airport."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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  =  \"JetBlue Airways\"",
        "question": "How many JetBlue flights go to City 'Aberdeen'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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  =  \"JetBlue Airways\"",
        "question": "Count the number of JetBlue flights that arrive in Aberdeen."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "Which city has most number of arriving flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "Which city has the most frequent destination airport?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "Which city has most number of departing flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "Which city is the most frequent source airport?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "What is the code of airport that has the highest number of flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "What is the airport code of the airport with the most flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "What is the code of airport that has fewest number of flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "Give the code of the airport with the least flights."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "Which airline has most number of flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "What airline serves the most flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "Find the abbreviation and country of the airline that has fewest number of flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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",
        "question": "What is the abbreviation of the airilne has the fewest flights and what country is it in?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  \"AHD\"",
        "question": "What are airlines that have some flight departing from airport 'AHD'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  \"AHD\"",
        "question": "Which airlines have a flight with source airport AHD?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.DestAirport  =  \"AHD\"",
        "question": "What are airlines that have flights arriving at airport 'AHD'?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.DestAirport  =  \"AHD\"",
        "question": "Which airlines have a flight with destination airport AHD?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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\"",
        "question": "Find all airlines that have flights from both airports 'APG' and 'CVO'."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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\"",
        "question": "Which airlines have departing flights from both APG and CVO airports?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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\"",
        "question": "Find all airlines that have flights from airport 'CVO' but not from 'APG'."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "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\"",
        "question": "Which airlines have departures from CVO but not from APG airports?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline HAVING count(*)  >  10",
        "question": "Find all airlines that have at least 10 flights."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline HAVING count(*)  >  10",
        "question": "Which airlines have at least 10 flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline HAVING count(*)  <  200",
        "question": "Find all airlines that have fewer than 200 flights."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline HAVING count(*)  <  200",
        "question": "Which airlines have less than 200 flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid  =  T1.Airline WHERE T2.Airline  =  \"JetBlue Airways\"",
        "question": "What are flight numbers belonging to \"JetBlue\"?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid  =  T1.Airline WHERE T2.Airline  =  \"JetBlue Airways\"",
        "question": "Which flight numbers correspond to JetBlue flights?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT FlightNo FROM FLIGHTS WHERE SourceAirport  =  \"APG\"",
        "question": "What are flight numbers of flights departing from Airport \"APG\"?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT FlightNo FROM FLIGHTS WHERE SourceAirport  =  \"APG\"",
        "question": "Give the flight numbers of flights leaving from APG."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT FlightNo FROM FLIGHTS WHERE DestAirport  =  \"APG\"",
        "question": "What are flight numbers of flights arriving at Airport \"APG\"?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT FlightNo FROM FLIGHTS WHERE DestAirport  =  \"APG\"",
        "question": "Give the flight numbers of flights landing at APG."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport   =  T2.AirportCode WHERE T2.City  =  \"Jackson\"",
        "question": "What are flight numbers of flights departing from \"Jackson\"?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport   =  T2.AirportCode WHERE T2.City  =  \"Jackson\"",
        "question": "Give the flight numbers of flights leaving from Jackson."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport   =  T2.AirportCode WHERE T2.City  =  \"Jackson\"",
        "question": "What are flight numbers of flights arriving at \"Jackson\"?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport   =  T2.AirportCode WHERE T2.City  =  \"Jackson\"",
        "question": "Give the flight numbers of flights arriving in Jackson."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.city  =  \"Syracuse\" OR T2.city  =  \"Jackson\"",
        "question": "Find the number of flights landing in the  Syracuse or Jackson."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.city  =  \"Syracuse\" OR T2.city  =  \"Jackson\"",
        "question": "How many flights land in Syracuse or Jackson?"
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)",
        "question": "Find the name of airports which do not have any flight in and out."
    },
    {
        "type": "dk",
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)",
        "question": "Which airports do not have departing or arriving flights?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT count(*) FROM Documents",
        "question": "How many documents do we have?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT count(*) FROM Documents",
        "question": "Count the number of documents."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT document_id ,  document_name ,  document_description FROM Documents",
        "question": "List document IDs with its names and descriptions."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT document_id ,  document_name ,  document_description FROM Documents",
        "question": "Show all the ids with its names and descriptions for all documents?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT document_name ,  template_id FROM Documents WHERE Document_Description LIKE \"%w%\"",
        "question": "Show the name with template id of documents with description with the letter 'w' in it?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT document_name , Document_ID, template_id FROM Documents WHERE Document_Description LIKE \"%w%\"",
        "question": "Return the names with document and template ids for documents that contain the letter w in their description."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT document_id ,  template_id ,  Document_Description FROM Documents WHERE document_name  =  \"Robbin CV\"",
        "question": "What is the description for document named \"Robbin CV\" with its document and template id?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT document_id ,  template_id ,  Document_Description FROM Documents WHERE document_name  =  \"Robbin CV\"",
        "question": "Return the description with document and template id of the document with the name Robbin CV."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT count(DISTINCT template_id) FROM Documents",
        "question": "How many different templates do all document use?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT count(DISTINCT template_id) FROM Documents",
        "question": "Count the number of different templates used for documents."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID  =  T2.Template_ID WHERE T2.Template_Type_Code  =  'PPT'",
        "question": "How many documents are using the PPT template?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID  =  T2.Template_ID WHERE T2.Template_Type_Code  =  'PPT'",
        "question": "Count the number of documents that use the PPT template type."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_id ,  count(*) FROM Documents GROUP BY template_id",
        "question": "Show all template ids and the number of documents using each template."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_id ,  count(*) FROM Documents GROUP BY template_id",
        "question": "What are all different template ids used for documents, and how many times were each of them used?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T2.Date_Effective_From ,  T2.Date_Effective_To 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",
        "question": "What is the effective date period for the template used by the most documents?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T2.Date_Effective_From ,  T2.Date_Effective_To 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",
        "question": "Return the effective date range of the template that is used for the greatest number of documents."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_id FROM Documents GROUP BY template_id HAVING count(*)  >  1",
        "question": "Show ids for all templates that are used by more than one document."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_id FROM Documents GROUP BY template_id HAVING count(*)  >  1",
        "question": "What are the template ids of any templates used in more than a single document?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents",
        "question": "Show ids for all templates not used by any document."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents",
        "question": "What are the ids for templates that are not used in any documents?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT count(*) FROM Templates",
        "question": "How many templates do we have?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT count(*) FROM Templates",
        "question": "Count the number of templates."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To ,  template_type_code FROM Templates",
        "question": "Show effective date period, and template type codes for all templates."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To ,  template_type_code FROM Templates",
        "question": "What are the effective date period, and type codes for each template?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates",
        "question": "Show all effective date period for all templates."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates",
        "question": "What are the effective date range from to?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates WHERE template_type_code  =  \"PP\" OR template_type_code  =  \"PPT\"",
        "question": "What are the effective date range with template type code PP or PPT?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates WHERE template_type_code  =  \"PP\" OR template_type_code  =  \"PPT\"",
        "question": "Return the effective date range that have the code PP or PPT."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates WHERE template_type_code  =  \"CV\"",
        "question": "Give me the effective date period whose template type code is CV?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates WHERE template_type_code  =  \"CV\"",
        "question": "Return the effective date period of the template type CV."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To ,  template_type_code FROM Templates WHERE version_number  >  5",
        "question": "What is the effective date period and template type code for the template with version number later than 5?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To ,  template_type_code FROM Templates WHERE version_number  >  5",
        "question": "Return the effective date period and template type codes of templates with a version number greater than 5."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To ,  count(*) FROM Templates GROUP BY template_type_code",
        "question": "Show all effective date period and number of templates for each."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To ,  count(*) FROM Templates GROUP BY template_type_code",
        "question": "What are the effective date period, and how many templates correspond to each?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1",
        "question": "Which effective date period has most number of templates?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1",
        "question": "Return the effective date period that the most templates belong to."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates GROUP BY template_type_code HAVING count(*)  <  3",
        "question": "Show all effective date period with less than three templates."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates GROUP BY template_type_code HAVING count(*)  <  3",
        "question": "What are the effective date period that have fewer than 3 templates?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT min(Version_Number) ,  Date_Effective_From ,  Date_Effective_To FROM Templates",
        "question": "What the smallest version number and its effective date date from and to?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT min(Version_Number) ,  Date_Effective_From ,  Date_Effective_To FROM Templates",
        "question": "Return the lowest version number, along with its corresponding effective date date from and to."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T1.Date_Effective_From ,  T1.Date_Effective_To FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id WHERE T2.document_name  =  \"Data base\"",
        "question": "What is the effective date range of the template used by document with the name \"Data base\"?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T1.Date_Effective_From ,  T1.Date_Effective_To FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id WHERE T2.document_name  =  \"Data base\"",
        "question": "Return the effective date range of the template that is used by a document named Data base."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T2.document_name, T2.Document_ID, T2.template_id FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id WHERE T1.template_type_code  =  \"BK\"",
        "question": "Show all document names along with document and template id using templates with template type code BK."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T2.document_name, T2.Document_ID, T2.template_id FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id WHERE T1.template_type_code  =  \"BK\"",
        "question": "Return the names of documents with document and template id that use templates with the code BK?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T1.Date_Effective_From ,  T1.Date_Effective_To ,  count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id GROUP BY T1.template_type_code",
        "question": "Show all effective date from and to, and the number of documents using each type."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T1.Date_Effective_From ,  T1.Date_Effective_To ,  count(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id GROUP BY T1.template_type_code",
        "question": "What are effective date from and to, and how many documents use each type?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T1.Date_Effective_From ,  T1.Date_Effective_To FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id GROUP BY T1.template_type_code ORDER BY count(*) DESC LIMIT 1",
        "question": "Which effective date period is used by most number of documents?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T1.Date_Effective_From ,  T1.Date_Effective_To FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id GROUP BY T1.template_type_code ORDER BY count(*) DESC LIMIT 1",
        "question": "Return the effective date period that is most commonly used in documents."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates EXCEPT SELECT Date_Effective_From ,  Date_Effective_To FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id",
        "question": "Show all effective date from and to that are not used by any document."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT Date_Effective_From ,  Date_Effective_To FROM Templates EXCEPT SELECT Date_Effective_From ,  Date_Effective_To FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id  =  T2.template_id",
        "question": "What are the effective date from and to that are not used for any document?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_type_code ,  template_type_description FROM Ref_template_types",
        "question": "Show all template type codes and descriptions."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_type_code ,  template_type_description FROM Ref_template_types",
        "question": "What are the type codes and descriptions for all template types?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_type_description FROM Ref_template_types WHERE template_type_code  =  \"AD\"",
        "question": "What is the template type descriptions for template type code \"AD\"."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_type_description FROM Ref_template_types WHERE template_type_code  =  \"AD\"",
        "question": "Return the template type description of the template type with the code AD."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_type_code FROM Ref_template_types WHERE template_type_description  =  \"Book\"",
        "question": "What is the template type code for template type description \"Book\"."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT template_type_code FROM Ref_template_types WHERE template_type_description  =  \"Book\"",
        "question": "Return the type code of the template type with the description \"Book\"."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT DISTINCT T1.template_type_description FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code  = T2.template_type_code JOIN Documents AS T3 ON T2.Template_ID  =  T3.template_ID",
        "question": "What are the distinct template type descriptions for the templates ever used by any document?"
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT DISTINCT T1.template_type_description FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code  = T2.template_type_code JOIN Documents AS T3 ON T2.Template_ID  =  T3.template_ID",
        "question": "Return the different descriptions for templates that have been used in a document."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T2.Date_Effective_From ,  T2.Date_Effective_To FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code  = T2.template_type_code WHERE T1.template_type_description  =  \"Presentation\"",
        "question": "What are the effective date range from to with template type description \"Presentation\"."
    },
    {
        "type": "dk",
        "db_id": "cre_Doc_Template_Mgt",
        "query": "SELECT T2.Date_Effective_From ,  T2.Date_Effective_To FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code  = T2.template_type_code WHERE T1.template_type_description  =  \"Presentation\"",
        "question": "Return the effective date period corresponding to templates with the description 'Presentation'."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT loser_name, winner_name FROM matches",
        "question": "Find both player names in each match."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT loser_name, winner_name FROM matches",
        "question": "Give me both player names in each match?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT winner_age, loser_age FROM matches",
        "question": "Find both player ages in each match."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT winner_age, loser_age FROM matches",
        "question": "Give me both player ages in each match."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT first_name ,  birth_date FROM players WHERE country_code  =  'USA'",
        "question": "List the first name and birth date of all American players."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT first_name ,  birth_date FROM players WHERE country_code  =  'USA'",
        "question": "What are the first names and birth dates of American players?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT avg(loser_age) ,  avg(winner_age) FROM matches",
        "question": "Find the average loser and winner age of all matches."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT avg(loser_age) ,  avg(winner_age) FROM matches",
        "question": "What are the average loser and winner ages across matches?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT avg(winner_rank), avg(loser_rank) FROM matches",
        "question": "Find their all average rank including winner and loser in each matches."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT avg(winner_rank), avg(loser_rank) FROM matches",
        "question": "What is the average rank for all players including winner and loser in all matches?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT min(winner_rank), min(loser_rank) FROM matches",
        "question": "Find the highest rank of all players including winner and loser in all matches."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT min(winner_rank), min(loser_rank) FROM matches",
        "question": "What is the best rank of all players including winner and loser across all matches?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(DISTINCT country_code) FROM players",
        "question": "find the number of distinct country codes of all players."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(DISTINCT country_code) FROM players",
        "question": "How many distinct countries do players come from?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(DISTINCT loser_name) FROM matches",
        "question": "Find the number of distinct name of losers."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(DISTINCT loser_name) FROM matches",
        "question": "How many different loser names are there?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*)  >  10",
        "question": "Find the name of tourney that has more than 10 matches."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*)  >  10",
        "question": "What are the names of tournaments that have more than 10 matches?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT loser_name, winner_name FROM matches WHERE YEAR  =  2013 INTERSECT SELECT loser_name, winner_name FROM matches WHERE YEAR  =  2016",
        "question": "List the names of all match players including winner and loser who played in both 2013 and 2016."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT loser_name, winner_name FROM matches WHERE YEAR  =  2013 INTERSECT SELECT loser_name, winner_name FROM matches WHERE YEAR  =  2016",
        "question": "What are the names of all match players including winner and loser who played in both 2013 and 2016?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT loser_name, winner_name FROM matches WHERE YEAR  =  2013 OR YEAR  =  2016",
        "question": "List the all player name in each matche who played in years of 2013 or 2016."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT loser_name, winner_name FROM matches WHERE YEAR  =  2013 OR YEAR  =  2016",
        "question": "Including winner and loser, Give me all player name of each matche in 2013 or 2016 year?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id WHERE T2.tourney_name  =  'WTA Championships' INTERSECT SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id WHERE T2.tourney_name  =  'Australian Open'",
        "question": "What are the country code and first name of the players who won in both tourney WTA Championships and Australian Open?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id WHERE T2.tourney_name  =  'WTA Championships' INTERSECT SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id WHERE T2.tourney_name  =  'Australian Open'",
        "question": "What are the first names and country codes for players who won both the WTA Championships and the Australian Open?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT first_name ,  country_code FROM players ORDER BY birth_date LIMIT 1",
        "question": "Find the first name and country code of the oldest player."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT first_name ,  country_code FROM players ORDER BY birth_date LIMIT 1",
        "question": "What is the first name and country code of the oldest player?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT first_name ,  last_name FROM players ORDER BY birth_date",
        "question": "List the first and last name of all players order of their birth date from old to young."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT first_name ,  last_name FROM players ORDER BY birth_date",
        "question": "What are the full names of all players, sorted from oldest to youngest?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT first_name ,  last_name FROM players WHERE hand  =  'L' ORDER BY birth_date",
        "question": "List the first and last name of all players who are left / L hand in the order of their date of birth from the oldest to the youngest."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT first_name ,  last_name FROM players WHERE hand  =  'L' ORDER BY birth_date desc",
        "question": "What are the name of all left handed players, in order of date of birth from the young to the old?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id  =  T2.player_id ORDER BY T2.tours DESC LIMIT 1",
        "question": "Find the first name and country code of the player who did the most number of tours."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id  =  T2.player_id ORDER BY T2.tours DESC LIMIT 1",
        "question": "What is the first name and country code of the player with the most tours?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1",
        "question": "Find the year that has the most number of matches."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT YEAR FROM matches GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1",
        "question": "Which year had the most matches?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT winner_name ,  winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1",
        "question": "Find the name and rank points of the player who won the most times."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT winner_name ,  winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1",
        "question": "What is the name of the player who has won the most matches, and how many rank points does this player have?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT loser_name, winner_name FROM matches WHERE tourney_name  =  'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1",
        "question": "Find all match player name including winner and loser where the winner has the highest rank points and participated in the Australian Open tourney."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT loser_name, winner_name FROM matches WHERE tourney_name  =  'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1",
        "question": "What are the match player names including winner and loser where the winner had the most rank points and participated in the Australian Open tournament?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT winner_name ,  loser_name FROM matches ORDER BY minutes DESC LIMIT 1",
        "question": "Including winner and loser, find all the player names in each match with greatest number of minutes."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT winner_name ,  loser_name FROM matches ORDER BY minutes DESC LIMIT 1",
        "question": "In each match, what are the winner with loser names who played in the longest match?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT avg(ranking) ,  T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id  =  T2.player_id GROUP BY T1.first_name",
        "question": "Find the average ranking for each player and their first name."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT avg(ranking) ,  T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id  =  T2.player_id GROUP BY T1.first_name",
        "question": "What are the first names of all players, and their average rankings?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT sum(ranking_points) ,  T1.first_name, T1.last_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id  =  T2.player_id GROUP BY T1.first_name",
        "question": "Find the total ranking points for each player and their name."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT sum(ranking_points) ,  T1.first_name, T1.last_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id  =  T2.player_id GROUP BY T1.first_name",
        "question": "What are the names of all players, and their total ranking points?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(*) ,  country_code FROM players GROUP BY country_code",
        "question": "find the number of players for each country."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(*) ,  country_code FROM players GROUP BY country_code",
        "question": "How many players are from each country?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1",
        "question": "find the code of the country where has the greatest number of players."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1",
        "question": "What is the code of the country with the most players?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT country_code FROM players GROUP BY country_code HAVING count(*)  >  50",
        "question": "Find the codes of countries that have more than 50 players."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT country_code FROM players GROUP BY country_code HAVING count(*)  >  50",
        "question": "What are the codes of countries with more than 50 players?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT sum(tours) ,  ranking_date FROM rankings GROUP BY ranking_date",
        "question": "Find the total number of tours for each ranking date."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT sum(tours) ,  ranking_date FROM rankings GROUP BY ranking_date",
        "question": "How many total tours were there for each ranking date?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(*) ,  YEAR FROM matches GROUP BY YEAR",
        "question": "Find the number of matches happened in each year."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(*) ,  YEAR FROM matches GROUP BY YEAR",
        "question": "How many matches were played in each year?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT DISTINCT winner_name ,  winner_rank FROM matches ORDER BY winner_age LIMIT 3",
        "question": "Find the name and rank of the 3 youngest winners across all matches."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT DISTINCT winner_name ,  winner_rank FROM matches ORDER BY winner_age LIMIT 3",
        "question": "What are the names and ranks of the three youngest winners across all matches?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name  =  'WTA Championships' AND winner_hand  =  'L'",
        "question": "How many different winners both participated in the WTA Championships and were left handed?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name  =  'WTA Championships' AND winner_hand  =  'L'",
        "question": "Find the number of left handed winners who participated in the WTA Championships."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT T1.first_name , T1.last_name ,  T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1",
        "question": "Find the name and birth date of the winner who has the highest rank points in all matches."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT T1.first_name , T1.last_name  ,  T1.birth_date FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id ORDER BY T2.winner_rank_points DESC LIMIT 1",
        "question": "What is the name and birth date of the player with the most winner rank points across all matches?"
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(*) ,  hand FROM players GROUP BY hand",
        "question": "Find the number of players for each hand type."
    },
    {
        "type": "dk",
        "db_id": "wta_1",
        "query": "SELECT count(*) ,  hand FROM players GROUP BY hand",
        "question": "How many players are there for each hand type?"
    },
    {
        "type": "dk",
        "db_id": "student_transcripts_tracking",
        "query": "SELECT line_1 ,  line_2, line_3 FROM addresses",
        "question": "what are all the addresse lines?"
    },
    {
        "type": "dk",
        "db_id": "student_transcripts_tracking",
        "query": "SELECT line_1 ,  line_2, line_3 FROM addresses",
        "question": "Give me the three addresse lines?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT count(*) FROM show where If_first_show = 'T'",
        "question": "How many first shows?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT count(*) FROM show where If_first_show = 'T'",
        "question": "Count the number of first show."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Name FROM conductor ORDER BY birthday desc",
        "question": "List the names of conductors in ascending order of age."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Name FROM conductor ORDER BY birthday desc",
        "question": "What are the names of conductors, ordered by age?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Name FROM conductor WHERE Nationality = 'USA'",
        "question": "What are the names of american conductors?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Name FROM conductor WHERE Nationality = 'USA'",
        "question": "Return the names of american conductors."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded asc",
        "question": "What are the record companies of orchestras in the order of founded years from oldest to latest?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded asc",
        "question": "Return the record companies of orchestras, sorted by the founded year from oldest to latest."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT avg(Attendance) FROM SHOW where If_first_show = 'F'",
        "question": "What is the average attendance of non-first shows?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT avg(Attendance) FROM SHOW where If_first_show = 'F'",
        "question": "Return the average attendance across all non-first shows."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT max(SHARE) ,  min(SHARE) FROM performance WHERE TYPE != \"Live final\"",
        "question": "What are the maximum and minimum share of performances whose type is not \"Live final\"."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT max(SHARE) ,  min(SHARE) FROM performance WHERE TYPE != \"Live final\"",
        "question": "Return the maximum and minimum shares for performances that do not have the type \"Live final\"."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT count(DISTINCT Nationality) FROM conductor",
        "question": "How many different nationalities do conductors have?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT count(DISTINCT Nationality) FROM conductor",
        "question": "Count the number of different nationalities of conductors."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Name FROM conductor ORDER BY birthday DESC",
        "question": "List names of conductors in ascending order of age."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Name FROM conductor ORDER BY birthday DESC",
        "question": "What are the names of conductors, sorted ascending by age?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1",
        "question": "List the name of the conductor with the longest work."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1",
        "question": "What is the name of the conductor who has worked the longest?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT T1.Name ,  T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID  =  T2.Conductor_ID",
        "question": "Show the names of conductors and the orchestras they have conducted."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT T1.Name ,  T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID  =  T2.Conductor_ID",
        "question": "What are the names of conductors as well as the corresonding orchestras that they have conducted?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID  =  T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*)  >  1",
        "question": "Show the names of conductors that have conducted more than one orchestras."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID  =  T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*)  >  1",
        "question": "What are the names of conductors who have conducted at more than one orchestra?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID  =  T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "question": "Show the name of the conductor that has conducted the most number of orchestras."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID  =  T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "question": "What is the name of the conductor who has conducted the most orchestras?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID  =  T2.Conductor_ID order by Year_of_Founded asc limit 1",
        "question": "Please show the name of the conductor who has conducted the oldest orchestras."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID  =  T2.Conductor_ID order by Year_of_Founded  desc limit 1",
        "question": "What are the names of conductors who have conducted the latest orchestras?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Record_Company ,  COUNT(*) FROM orchestra GROUP BY Record_Company",
        "question": "Please show the different record companies and the corresponding number of orchestras."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Record_Company ,  COUNT(*) FROM orchestra GROUP BY Record_Company",
        "question": "How many orchestras does each record company manage?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Major_Record_Format FROM orchestra ORDER BY Year_of_Founded desc",
        "question": "Please show the record formats of orchestras in ascending order of age."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Major_Record_Format FROM orchestra ORDER BY Year_of_Founded desc",
        "question": "What are the major record formats of orchestras, sorted by their age?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded asc LIMIT 1",
        "question": "List the record company shared by the oldest orchestras."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded desc LIMIT 1",
        "question": "What is the record company used by the newest orchestras?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance)",
        "question": "List the names of orchestras that have no performance."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Orchestra FROM orchestra WHERE Orchestra_ID NOT IN (SELECT Orchestra_ID FROM performance)",
        "question": "What are the orchestras that do not have any performances?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Record_Company FROM orchestra WHERE Year_of_Founded  <=  2003",
        "question": "Show the record companies shared by orchestras founded before or in 2003."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Record_Company FROM orchestra WHERE Year_of_Founded  >=  2003",
        "question": "What are the record companies that are used by both orchestras founded after or in 2003?"
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT COUNT(*) FROM show WHERE Result  =  \"Glebe Park\" and If_first_show  =  \"T\"",
        "question": "Find the number of first shows in \"Glebe Park\"."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT COUNT(*) FROM show WHERE Result  =  \"Glebe Park\" and If_first_show  =  \"T\"",
        "question": "Count the number of all first shows in \"Glebe Park\""
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Type FROM performance AS T1 JOIN show AS T2 ON T1.Performance_ID  =  T2.Performance_ID WHERE If_first_show = 'F' GROUP BY T2.Performance_ID HAVING COUNT(*)  >  1",
        "question": "Show the type in which performance that have given more than one non-first show."
    },
    {
        "type": "dk",
        "db_id": "new_orchestra",
        "query": "SELECT Type FROM performance AS T1 JOIN show AS T2 ON T1.Performance_ID  =  T2.Performance_ID Where If_first_show = 'F' GROUP BY T2.Performance_ID HAVING COUNT(*)  >  1",
        "question": "What are type of performances that have had more than one non-first show?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT state FROM Owners INTERSECT SELECT state FROM Professionals",
        "question": "Which states have both owners and professionals living there?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT state FROM Owners INTERSECT SELECT state FROM Professionals",
        "question": "Find the states where both owners and professionals live."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments )",
        "question": "What is the average age of the dogs who have gone through any treatments?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT avg(age) FROM Dogs WHERE dog_id IN ( SELECT dog_id FROM Treatments )",
        "question": "Find the average age of the dogs who went through treatments."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT professional_id ,  last_name ,  cell_number FROM Professionals WHERE state  =  'Indiana' UNION SELECT T1.professional_id ,  T1.last_name ,  T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >  2",
        "question": "Which professionals live in the state of Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT professional_id ,  last_name ,  cell_number FROM Professionals WHERE state  =  'Indiana' UNION SELECT T1.professional_id ,  T1.last_name ,  T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >  2",
        "question": "Find the id, last name and cell phone of the professionals who live in the state of Indiana or have performed more than two treatments."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT name FROM Dogs WHERE dog_id NOT IN( SELECT dog_id FROM Treatments GROUP BY dog_id HAVING sum(cost_of_treatment)  >  1000 )",
        "question": "Which dogs have not cost their owner more than 1000 for treatment? List the dog names."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT name FROM Dogs WHERE dog_id NOT IN( SELECT dog_id FROM Treatments GROUP BY dog_id HAVING sum(cost_of_treatment)  >  1000 )",
        "question": "What are the names of the dogs for which the owner spent more than 1000 for treatment?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs",
        "question": "Which first names are used for professionals or owners but are not used as dog names?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs",
        "question": "Find the first names that are used for professionals or owners but are not used as dog names."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT professional_id ,  first_name , last_name FROM Professionals EXCEPT SELECT T1.professional_id ,  T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id",
        "question": "Which professional did not operate any treatment on dogs? List the professional's id, and name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT professional_id ,  first_name , last_name FROM Professionals EXCEPT SELECT T1.professional_id ,  T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id",
        "question": "Give me the id, and name of the professionals who did not perform any treatment on dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T2.first_name , T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id  =  T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1",
        "question": "Which owner owns the most dogs? List the owner id, and name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T2.first_name , T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id  =  T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1",
        "question": "Return the owner id and name of the owner who has the most dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.professional_id ,  T1.home_phone ,  T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >=  2",
        "question": "Which professionals have done at least two treatments? List the professional's id, home and phone number."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.professional_id ,  T1.home_phone ,  T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >=  2",
        "question": "What are the id, home and phone number of the professionals who have performed two or more treatments?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code  =  T2.breed_code where abandoned_yn = 1 GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1",
        "question": "What is the name of the breed with the most abandoned dogs?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code  =  T2.breed_code where abandoned_yn = 1 GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1",
        "question": "Which breed do the most abandoned dogs have? Give me the breed name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id JOIN Treatments AS T3 ON T2.dog_id  =  T3.dog_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1",
        "question": "Which owner has paid for the most treatments on his or her dogs? List the owner id and last name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id JOIN Treatments AS T3 ON T2.dog_id  =  T3.dog_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1",
        "question": "Tell me the owner id and last name of the owner who spent the most on treatments of his or her dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code  =  T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1",
        "question": "What is the description of the treatment type that costs the least money in total?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code  =  T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1",
        "question": "Give me the description of the treatment type whose total cost is the lowest."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id JOIN Treatments AS T3 ON T2.dog_id  =  T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1",
        "question": "Which owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id JOIN Treatments AS T3 ON T2.dog_id  =  T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1",
        "question": "Find the owner id and zip code of the owner who spent the most money in total for his or her dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.professional_id ,  T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >=  2",
        "question": "Which professionals have done at least two types of treatments? List the professional id and name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.professional_id ,  T1.home_phone ,  T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >=  2",
        "question": "Find the id and home and phone number of the professionals who operate two or more types of treatments."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment  <  ( SELECT avg(cost_of_treatment) FROM Treatments )",
        "question": "What are the name of the professionals who have done treatment with cost below average?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT T1.first_name , T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment  <  ( SELECT avg(cost_of_treatment) FROM Treatments )",
        "question": "Which professionals have operated a treatment that costs less than the average? Give me their names."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.date_of_treatment ,  T2.first_name , T2.last_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id  =  T2.professional_id",
        "question": "List the date of each treatment, together with the name of the professional who operated it."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.date_of_treatment ,  T2.first_name , T2.last_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id  =  T2.professional_id",
        "question": "What are the date and the operating professional's name of each treatment?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.cost_of_treatment ,  T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code  =  T2.treatment_type_code",
        "question": "List the cost of each treatment and the corresponding treatment type description."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.cost_of_treatment ,  T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code  =  T2.treatment_type_code",
        "question": "What are the cost and treatment type description of each treatment?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.first_name , T1.last_name ,  T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id",
        "question": "List each owner's name, and the size of his for her dog."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.first_name , T1.last_name ,  T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id",
        "question": "What are each owner's name, and the size of their dog?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.first_name , T1.last_name ,  T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id",
        "question": "List pairs of the owner's names and the dogs's name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.first_name , T1.last_name ,  T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id",
        "question": "What are each owner's name and their dogs's name?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.name ,  T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id  =  T2.dog_id WHERE T1.breed_code  =  ( SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY count(*) ASC LIMIT 1 )",
        "question": "List the names of the dogs of the rarest breed and the treatment dates of them."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.name ,  T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id  =  T2.dog_id WHERE T1.breed_code  =  ( SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY count(*) ASC LIMIT 1 )",
        "question": "Which dogs are of the rarest breed? Show their names and treatment dates."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.first_name ,  T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id WHERE T1.state  =  'Virginia'",
        "question": "Which dogs are owned by someone who lives in VA? List the owner's first name and the dog's name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.first_name ,  T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id WHERE T1.state  =  'Virginia'",
        "question": "Find the first names of owners living in VA and the names of dogs they own."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT T1.date_arrived ,  T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id  =  T2.dog_id",
        "question": "What is the treatment date from dog arriving to departing?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT T1.date_arrived ,  T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id  =  T2.dog_id",
        "question": "Find the dog treatment period from arriving to departing date."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id WHERE T2.age  =  ( SELECT max(age) FROM Dogs )",
        "question": "List the last name of the owner owning the youngest dog."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id WHERE T2.age  =  ( SELECT max(age) FROM Dogs )",
        "question": "Who owns the youngest dog? Give me his or her last name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT email_address FROM Professionals WHERE state  =  'Hawaii' OR state  =  'Wisconsin'",
        "question": "List the emails of the professionals who live in the state of HI or WI."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT email_address FROM Professionals WHERE state  =  'Hawaii' OR state  =  'Wisconsin'",
        "question": "What are the emails of the professionals living in either the state of HI or WI?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT date_arrived ,  date_departed FROM Dogs where abandoned_yn = 1",
        "question": "What are the arriving date and the departing date of all the abandoned dogs?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT date_arrived ,  date_departed FROM Dogs where abandoned_yn = 1",
        "question": "List the arrival date and the departure date for all the abandoned dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(DISTINCT dog_id) FROM Treatments",
        "question": "How many dogs went through any treatments?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(DISTINCT dog_id) FROM Treatments",
        "question": "Count the number of dogs that went through a treatment."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(DISTINCT professional_id) FROM Treatments",
        "question": "How many professionals have performed any treatment to dogs?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(DISTINCT professional_id) FROM Treatments",
        "question": "Find the number of professionals who have ever treated dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT first_name , last_name FROM professionals WHERE city LIKE '%West%'",
        "question": "Which professionals live in a city containing the substring 'West'? List his or her name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT first_name , last_name FROM professionals WHERE city LIKE '%West%'",
        "question": "Find the name of the professionals living in a city that contains the substring 'West'."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT first_name , last_name FROM Owners WHERE state LIKE '%North%'",
        "question": "Which owners live in the state whose name contains the substring 'North'? List his name."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT first_name , last_name FROM Owners WHERE state LIKE '%North%'",
        "question": "Return the name of the owners living in a state whose name contains the substring 'North'."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Dogs WHERE abandoned_yn = 1 and age  <  ( SELECT avg(age) FROM Dogs )",
        "question": "How many abandoned dogs have an age below the average?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Dogs WHERE abandoned_yn = 1 and age  <  ( SELECT avg(age) FROM Dogs )",
        "question": "Count the number of abandoned dogs of an age below the average."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1",
        "question": "How much does the most recent treatment cost?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1",
        "question": "Show me the cost of the most recently performed treatment."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Dogs WHERE abandoned_yn = 1 and dog_id NOT IN ( SELECT dog_id FROM Treatments )",
        "question": "How many abandoned dogs have not gone through any treatment?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Dogs WHERE dog_id NOT IN ( SELECT dog_id FROM Treatments )",
        "question": "Tell me the number of dogs that have received any treatment."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs where abandoned_yn = 1 )",
        "question": "How many owners temporarily do not have any abandoned dogs?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Owners WHERE owner_id NOT IN ( SELECT owner_id FROM Dogs where abandoned_yn = 1 )",
        "question": "Find the number of owners who do not own any abandoned dogs at this moment."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments )",
        "question": "How many professionals did not operate any treatment on dogs?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Professionals WHERE professional_id NOT IN ( SELECT professional_id FROM Treatments )",
        "question": "Find the number of professionals who have not treated any dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT name ,  age ,  weight FROM Dogs WHERE abandoned_yn  =  1",
        "question": "List the dog name, age and weight of the abandoned dogs? 1 stands for yes, and 0 stands for no."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT name ,  age ,  weight FROM Dogs WHERE abandoned_yn  =  1",
        "question": "What are the dog name, age and weight of the dogs that were abandoned? Note that 1 stands for yes, and 0 stands for no in the tables."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT avg(age) FROM Dogs where abandoned_yn = 1",
        "question": "What is the average age of all the abandoned dogs?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT avg(age) FROM Dogs where abandoned_yn = 1",
        "question": "Compute the average age of all the abandoned dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT max(age) FROM Dogs",
        "question": "What is the age of the oldest dog?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT max(age) FROM Dogs",
        "question": "Tell me the age of the oldest dog."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT charge_type ,  charge_amount FROM Charges",
        "question": "How much does each charge type costs? List both charge type and amount."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT charge_type ,  charge_amount FROM Charges",
        "question": "List each charge type and its amount."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT max(charge_amount) FROM Charges",
        "question": "How much does the most expensive charge type costs?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT max(charge_amount) FROM Charges",
        "question": "What is the charge amount of the most expensive charge type?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT email_address , first_name , last_name FROM professionals",
        "question": "List the email and name of all the professionals."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT email_address , first_name , last_name FROM professionals",
        "question": "What are the email, and name of each professional?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT breed_code ,  size_code FROM dogs",
        "question": "What are all the possible breed type and size type combinations?"
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT breed_code ,  size_code FROM dogs",
        "question": "Find the distinct breed type and size type combinations for dogs."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT T1.first_name , T1.last_name , T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code  =  T3.treatment_type_code",
        "question": "List the name of all the professionals along with the description of the treatment they have done."
    },
    {
        "type": "dk",
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT T1.first_name , T1.last_name , T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code  =  T3.treatment_type_code",
        "question": "What are each professional's name and description of the treatment they have performed?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT count(*) FROM singer",
        "question": "How many singers are there?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT count(*) FROM singer",
        "question": "What is the count of singers?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer ORDER BY Birth_Year desc",
        "question": "List the name of singers in ascending order of age."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer ORDER BY Birth_Year desc",
        "question": "What are the names of singers ordered by ascending age?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Birth_Year ,  Citizenship FROM singer",
        "question": "What are the birth year and citizenship of singers?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Birth_Year ,  Citizenship FROM singer",
        "question": "What are the birth years and citizenships of the singers?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Citizenship != \"France\"",
        "question": "List the name of singers who is not French."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Citizenship != \"France\"",
        "question": "What are the names of the singers who are not French?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Birth_Year  <=  1948",
        "question": "Show the name of singers whose birth year is earlier than or in 1948?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Birth_Year  <=  1948",
        "question": "What are the names of the singers whose birth years are earlier than or in 1948?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer ORDER BY Birth_Year DESC LIMIT 1",
        "question": "What is the name of the singer with the youngest age?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer ORDER BY Birth_Year DESC LIMIT 1",
        "question": "What is the name of the singer who is the youngest?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Citizenship ,  COUNT(*) FROM singer GROUP BY Citizenship",
        "question": "Show different citizenship of singers and the number of singers of each citizenship."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Citizenship ,  COUNT(*) FROM singer GROUP BY Citizenship",
        "question": "For each citizenship, how many singers are from that country?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1",
        "question": "Please show the most common citizenship of singers."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1",
        "question": "What is the msot common singer citizenship?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Citizenship ,  max(Net_Worth_Millions) FROM singer GROUP BY Citizenship",
        "question": "Show different citizenships and the highest net worth of singers of each citizenship."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Citizenship ,  max(Net_Worth_Millions) FROM singer GROUP BY Citizenship",
        "question": "For each citizenship, what is the highest net worth?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Title FROM song order by Sales desc limit 1",
        "question": "Show the names of the highest sales songs."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Title FROM song order by Sales desc limit 1",
        "question": "What are names of the highest sales songs?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID  =  T2.Singer_ID WHERE T2.Sales  >  300000",
        "question": "Show distinct names of singers that have songs with sales more than 300000."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID  =  T2.Singer_ID WHERE T2.Sales  >  300000",
        "question": "what are the different names of the singers that have sales more than 300000?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID  =  T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*)  >  1",
        "question": "Show the names of singers that have more than one song."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID  =  T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*)  >  1",
        "question": "What are the names of the singers that have more than one songs?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT T1.Name ,  max(T2.Highest_Position) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID  =  T2.Singer_ID GROUP BY T1.Name",
        "question": "Show the names of singers and the max highest position of their songs."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT T1.Name ,  max(T2.Highest_Position) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID  =  T2.Singer_ID GROUP BY T1.Name",
        "question": "For each singer name, what is the maximum highest position for their songs?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song)",
        "question": "List the name of singers that do not have any song."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Singer_ID NOT IN (SELECT Singer_ID FROM song)",
        "question": "What is the sname of every sing that does not have any song?"
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Citizenship FROM singer WHERE Birth_Year  <=  1945",
        "question": "Show the citizenship shared by singers with birth year before or in 1945."
    },
    {
        "type": "dk",
        "db_id": "singer",
        "query": "SELECT Citizenship FROM singer WHERE Birth_Year  <=  1945",
        "question": "What are the citizenships that are shared by singers with a birth year before or in 1945?"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT name ,  country ,  age FROM singer ORDER BY age DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "country",
            ",",
            "age",
            "FROM",
            "singer",
            "ORDER",
            "BY",
            "age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "country",
            ",",
            "age",
            "from",
            "singer",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "Show name, country, age for all singers from the oldest to the youngest.",
        "question_toks": [
            "Show",
            "name,",
            "country,",
            "age",
            "for",
            "all",
            "singers",
            "from",
            "the",
            "oldest",
            "to",
            "the",
            "youngest."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT avg(age) ,  min(age) ,  max(age) FROM singer WHERE country  =  'France'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "singer",
            "WHERE",
            "country",
            "=",
            "'France",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "from",
            "singer",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What is the average, minimum, and maximum age of all singers from France?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average,",
            "minimum,",
            "and",
            "maximum",
            "age",
            "of",
            "all",
            "singers",
            "from",
            "France?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"France\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT avg(age) ,  min(age) ,  max(age) FROM singer WHERE country  =  'France'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "singer",
            "WHERE",
            "country",
            "=",
            "'France",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "from",
            "singer",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What is the average, minimum, and maximum age for all French singers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average,",
            "minimum,",
            "and",
            "maximum",
            "age",
            "for",
            "all",
            "French",
            "singers?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"France\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT song_name ,  song_release_year FROM singer ORDER BY age LIMIT 1",
        "query_toks": [
            "SELECT",
            "song_name",
            ",",
            "song_release_year",
            "FROM",
            "singer",
            "ORDER",
            "BY",
            "age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            ",",
            "song_release_year",
            "from",
            "singer",
            "order",
            "by",
            "age",
            "limit",
            "value"
        ],
        "question": "Show the name and the release year of the song by the youngest singer.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "the",
            "release",
            "year",
            "of",
            "the",
            "song",
            "by",
            "the",
            "youngest",
            "singer."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT song_name ,  song_release_year FROM singer ORDER BY age LIMIT 1",
        "query_toks": [
            "SELECT",
            "song_name",
            ",",
            "song_release_year",
            "FROM",
            "singer",
            "ORDER",
            "BY",
            "age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            ",",
            "song_release_year",
            "from",
            "singer",
            "order",
            "by",
            "age",
            "limit",
            "value"
        ],
        "question": "What are the names and release years for all the songs of the youngest singer?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "release",
            "years",
            "for",
            "all",
            "the",
            "songs",
            "of",
            "the",
            "youngest",
            "singer?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT DISTINCT country FROM singer WHERE age  >  20",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "country",
            "FROM",
            "singer",
            "WHERE",
            "age",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "country",
            "from",
            "singer",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "What are all distinct countries where singers older than 20 are from?",
        "question_toks": [
            "What",
            "are",
            "all",
            "distinct",
            "countries",
            "where",
            "singers",
            "older",
            "than",
            "20",
            "are",
            "from?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT DISTINCT country FROM singer WHERE age  >  20",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "country",
            "FROM",
            "singer",
            "WHERE",
            "age",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "country",
            "from",
            "singer",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "What are  the different countries with singers  older than 20?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "countries",
            "with",
            "singers",
            "older",
            "than",
            "20?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT country ,  count(*) FROM singer GROUP BY country",
        "query_toks": [
            "SELECT",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "singer",
            "GROUP",
            "BY",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "singer",
            "group",
            "by",
            "country"
        ],
        "question": "Show all countries and the number of singers in each nation.",
        "question_toks": [
            "Show",
            "all",
            "countries",
            "and",
            "the",
            "number",
            "of",
            "singers",
            "in",
            "each",
            "nation."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT country ,  count(*) FROM singer GROUP BY country",
        "query_toks": [
            "SELECT",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "singer",
            "GROUP",
            "BY",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "singer",
            "group",
            "by",
            "country"
        ],
        "question": "How many singers are from each nation?",
        "question_toks": [
            "How",
            "many",
            "singers",
            "are",
            "from",
            "each",
            "nation?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT song_name FROM singer WHERE age  >  (SELECT avg(age) FROM singer)",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "singer",
            "WHERE",
            "age",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "singer",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "singer",
            "where",
            "age",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "singer",
            ")"
        ],
        "question": "List all song names by singers older than average .",
        "question_toks": [
            "List",
            "all",
            "song",
            "names",
            "by",
            "singers",
            "older",
            "than",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT song_name FROM singer WHERE age  >  (SELECT avg(age) FROM singer)",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "singer",
            "WHERE",
            "age",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "singer",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "singer",
            "where",
            "age",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "singer",
            ")"
        ],
        "question": "What are all the song names by singers who are older than average?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "song",
            "names",
            "by",
            "singers",
            "who",
            "are",
            "older",
            "than",
            "average?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT LOCATION ,  name FROM stadium WHERE capacity BETWEEN 5000 AND 10000",
        "query_toks": [
            "SELECT",
            "LOCATION",
            ",",
            "name",
            "FROM",
            "stadium",
            "WHERE",
            "capacity",
            "BETWEEN",
            "5000",
            "AND",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            ",",
            "name",
            "from",
            "stadium",
            "where",
            "capacity",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Show location and name for all stadiums that can fit between 5000 and 10000 people.",
        "question_toks": [
            "Show",
            "location",
            "and",
            "name",
            "for",
            "all",
            "stadiums",
            "that",
            "can",
            "fit",
            "between",
            "5000",
            "and",
            "10000",
            "people."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    10000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT LOCATION ,  name FROM stadium WHERE capacity BETWEEN 5000 AND 10000",
        "query_toks": [
            "SELECT",
            "LOCATION",
            ",",
            "name",
            "FROM",
            "stadium",
            "WHERE",
            "capacity",
            "BETWEEN",
            "5000",
            "AND",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            ",",
            "name",
            "from",
            "stadium",
            "where",
            "capacity",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the locations and names of all stations that can accommodate between 5000 and 10000 fans?",
        "question_toks": [
            "What",
            "are",
            "the",
            "locations",
            "and",
            "names",
            "of",
            "all",
            "stations",
            "that",
            "can",
            "accommodate",
            "between",
            "5000",
            "and",
            "10000",
            "fans?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    10000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT count(*) FROM concert WHERE YEAR  =  2014 OR YEAR  =  2015",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "concert",
            "WHERE",
            "YEAR",
            "=",
            "2014",
            "OR",
            "YEAR",
            "=",
            "2015"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "concert",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "How many concerts are there in  2014 or 2015?",
        "question_toks": [
            "How",
            "many",
            "concerts",
            "are",
            "there",
            "in",
            "2014",
            "or",
            "2015?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT count(*) FROM concert WHERE YEAR  =  2014 OR YEAR  =  2015",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "concert",
            "WHERE",
            "YEAR",
            "=",
            "2014",
            "OR",
            "YEAR",
            "=",
            "2015"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "concert",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "How many concerts occurred in 2014 or 2015?",
        "question_toks": [
            "How",
            "many",
            "concerts",
            "occurred",
            "in",
            "2014",
            "or",
            "2015?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "capacity",
            "from",
            "concert",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "where",
            "t1",
            ".",
            "year",
            ">",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "stadium_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the stadium name and capacity with most number of concerts in  2014 or after.",
        "question_toks": [
            "Show",
            "the",
            "stadium",
            "name",
            "and",
            "capacity",
            "with",
            "most",
            "number",
            "of",
            "concerts",
            "in",
            "2014",
            "or",
            "after."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "select t2.name ,  t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id  =  t2.stadium_id where t1.year  >  2013 group by t2.stadium_id order by count(*) desc limit 1",
        "query_toks": [
            "select",
            "t2.name",
            ",",
            "t2.capacity",
            "from",
            "concert",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1.stadium_id",
            "=",
            "t2.stadium_id",
            "where",
            "t1.year",
            ">",
            "2013",
            "group",
            "by",
            "t2.stadium_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "capacity",
            "from",
            "concert",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "where",
            "t1",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "stadium_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and capacity of the stadium  with the most concerts after 2013?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "capacity",
            "of",
            "the",
            "stadium",
            "with",
            "the",
            "most",
            "concerts",
            "after",
            "2013?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "stadium",
            "WHERE",
            "stadium_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "stadium_id",
            "FROM",
            "concert",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "stadium",
            "where",
            "stadium_id",
            "not",
            "in",
            "(",
            "select",
            "stadium_id",
            "from",
            "concert",
            ")"
        ],
        "question": "Show the stadium names without any concert.",
        "question_toks": [
            "Show",
            "the",
            "stadium",
            "names",
            "without",
            "any",
            "concert."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "stadium",
            "WHERE",
            "stadium_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "stadium_id",
            "FROM",
            "concert",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "stadium",
            "where",
            "stadium_id",
            "not",
            "in",
            "(",
            "select",
            "stadium_id",
            "from",
            "concert",
            ")"
        ],
        "question": "What are the names of the stadiums without any concerts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "stadiums",
            "without",
            "any",
            "concerts?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT country FROM singer WHERE age  >  40 INTERSECT SELECT country FROM singer WHERE age  <  30",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "singer",
            "WHERE",
            "age",
            ">",
            "40",
            "INTERSECT",
            "SELECT",
            "country",
            "FROM",
            "singer",
            "WHERE",
            "age",
            "<",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "singer",
            "where",
            "age",
            ">",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "singer",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "Show countries where a singer older than 40 and a singer younger than 30 are from.",
        "question_toks": [
            "Show",
            "countries",
            "where",
            "a",
            "singer",
            "older",
            "than",
            "40",
            "and",
            "a",
            "singer",
            "younger",
            "than",
            "30",
            "are",
            "from."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        30.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "Show names for all stadiums except for stadiums having a concert in  2014.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "stadiums",
            "except",
            "for",
            "stadiums",
            "having",
            "a",
            "concert",
            "in",
            "2014."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        2014.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "What are the names of all stadiums that did not have a concert in 2014?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "stadiums",
            "that",
            "did",
            "not",
            "have",
            "a",
            "concert",
            "in",
            "2014?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        2014.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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"
        ],
        "question": "Show the name and theme for all concerts and the number of singers in each.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "theme",
            "for",
            "all",
            "concerts",
            "and",
            "the",
            "number",
            "of",
            "singers",
            "in",
            "each."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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"
        ],
        "question": "List singer names and number of concerts for each person.",
        "question_toks": [
            "List",
            "singer",
            "names",
            "and",
            "number",
            "of",
            "concerts",
            "for",
            "each",
            "person."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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"
        ],
        "question": "What are the names and number of concerts for each person?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "number",
            "of",
            "concerts",
            "for",
            "each",
            "person?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "List all singer names in concerts in  2014.",
        "question_toks": [
            "List",
            "all",
            "singer",
            "names",
            "in",
            "concerts",
            "in",
            "2014."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "What are the names of the singers who performed in a concert in 2014?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "singers",
            "who",
            "performed",
            "in",
            "a",
            "concert",
            "in",
            "2014?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT name ,  country FROM singer WHERE song_name LIKE '%Hey%'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "country",
            "FROM",
            "singer",
            "WHERE",
            "song_name",
            "LIKE",
            "'",
            "%",
            "Hey",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "country",
            "from",
            "singer",
            "where",
            "song_name",
            "like",
            "value"
        ],
        "question": "what is the name and nation of the singer who have a song having 'Hey' in its title?",
        "question_toks": [
            "what",
            "is",
            "the",
            "name",
            "and",
            "nation",
            "of",
            "the",
            "singer",
            "who",
            "have",
            "a",
            "song",
            "having",
            "'Hey'",
            "in",
            "its",
            "title?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"%Hey%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "SELECT name ,  country FROM singer WHERE song_name LIKE '%Hey%'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "country",
            "FROM",
            "singer",
            "WHERE",
            "song_name",
            "LIKE",
            "'",
            "%",
            "Hey",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "country",
            "from",
            "singer",
            "where",
            "song_name",
            "like",
            "value"
        ],
        "question": "What is the name and country of origin of every singer who has a song with the word 'Hey' in its title?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "country",
            "of",
            "origin",
            "of",
            "every",
            "singer",
            "who",
            "has",
            "a",
            "song",
            "with",
            "the",
            "word",
            "'Hey'",
            "in",
            "its",
            "title?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"%Hey%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "location",
            "from",
            "concert",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "location",
            "from",
            "concert",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Find the name and location of the stadiums which some concerts happened in both 2014 and 2015.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "location",
            "of",
            "the",
            "stadiums",
            "which",
            "some",
            "concerts",
            "happened",
            "in",
            "both",
            "2014",
            "and",
            "2015."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        2015.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "location",
            "from",
            "concert",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "location",
            "from",
            "concert",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What are the names and locations of the stadiums that had concerts that occurred in both 2014 and 2015?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "the",
            "stadiums",
            "that",
            "had",
            "concerts",
            "that",
            "occurred",
            "in",
            "both",
            "2014",
            "and",
            "2015?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        2015.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)",
        "query_toks": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "concert",
            "where",
            "stadium_id",
            "=",
            "(",
            "select",
            "stadium_id",
            "from",
            "stadium",
            "order",
            "by",
            "capacity",
            "desc",
            "limit",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "concert",
            "where",
            "stadium_id",
            "=",
            "(",
            "select",
            "stadium_id",
            "from",
            "stadium",
            "order",
            "by",
            "capacity",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the number of concerts happened in the stadium that can accommodate the most people.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "concerts",
            "happened",
            "in",
            "the",
            "stadium",
            "that",
            "can",
            "accommodate",
            "the",
            "most",
            "people."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "concert_singer",
        "query": "select count(*) from concert where stadium_id = (select stadium_id from stadium order by capacity desc limit 1)",
        "query_toks": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "concert",
            "where",
            "stadium_id",
            "=",
            "(",
            "select",
            "stadium_id",
            "from",
            "stadium",
            "order",
            "by",
            "capacity",
            "desc",
            "limit",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "concert",
            "where",
            "stadium_id",
            "=",
            "(",
            "select",
            "stadium_id",
            "from",
            "stadium",
            "order",
            "by",
            "capacity",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the number of concerts that occurred in the stadium with space for the most people?",
        "question_toks": [
            "What",
            "are",
            "the",
            "number",
            "of",
            "concerts",
            "that",
            "occurred",
            "in",
            "the",
            "stadium",
            "with",
            "space",
            "for",
            "the",
            "most",
            "people?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT count(*) FROM pets WHERE weight  >  10",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "pets",
            "WHERE",
            "weight",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "pets",
            "where",
            "weight",
            ">",
            "value"
        ],
        "question": "Find the number of pets that is heavier than 10.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "pets",
            "that",
            "is",
            "heavier",
            "than",
            "10."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT count(*) FROM pets WHERE weight  >  10",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "pets",
            "WHERE",
            "weight",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "pets",
            "where",
            "weight",
            ">",
            "value"
        ],
        "question": "How many pets are over 10 lbs?",
        "question_toks": [
            "How",
            "many",
            "pets",
            "are",
            "over",
            "10",
            "lbs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT weight FROM pets ORDER BY pet_age LIMIT 1",
        "query_toks": [
            "SELECT",
            "weight",
            "FROM",
            "pets",
            "ORDER",
            "BY",
            "pet_age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "weight",
            "from",
            "pets",
            "order",
            "by",
            "pet_age",
            "limit",
            "value"
        ],
        "question": "Find the weight of the youngest dog.",
        "question_toks": [
            "Find",
            "the",
            "weight",
            "of",
            "the",
            "youngest",
            "dog."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT weight FROM pets ORDER BY pet_age LIMIT 1",
        "query_toks": [
            "SELECT",
            "weight",
            "FROM",
            "pets",
            "ORDER",
            "BY",
            "pet_age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "weight",
            "from",
            "pets",
            "order",
            "by",
            "pet_age",
            "limit",
            "value"
        ],
        "question": "How much does the youngest dog weigh?",
        "question_toks": [
            "How",
            "much",
            "does",
            "the",
            "youngest",
            "dog",
            "weigh?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.age  >  20",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "has_pet",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T1.age",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "has_pet",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "age",
            ">",
            "value"
        ],
        "question": "Find number of pets owned by students who are older than 20.",
        "question_toks": [
            "Find",
            "number",
            "of",
            "pets",
            "owned",
            "by",
            "students",
            "who",
            "are",
            "older",
            "than",
            "20."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.age  >  20",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "has_pet",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T1.age",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "has_pet",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "age",
            ">",
            "value"
        ],
        "question": "How many pets are owned by students that are older than 20?",
        "question_toks": [
            "How",
            "many",
            "pets",
            "are",
            "owned",
            "by",
            "students",
            "that",
            "are",
            "older",
            "than",
            "20?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "pettype",
            "=",
            "value"
        ],
        "question": "Find the number of dogs that are raised by female students.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "dogs",
            "that",
            "are",
            "raised",
            "by",
            "female",
            "students."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"dog\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "pettype",
            "=",
            "value"
        ],
        "question": "How many dogs are raised by female students?",
        "question_toks": [
            "How",
            "many",
            "dogs",
            "are",
            "raised",
            "by",
            "female",
            "students?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"dog\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "pettype",
            "=",
            "value"
        ],
        "question": "Find the first name of students who have cat or dog.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "students",
            "who",
            "have",
            "cat",
            "or",
            "dog."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"cat\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"dog\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "pettype",
            "=",
            "value"
        ],
        "question": "What are the first names of every student who has a cat or dog?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "every",
            "student",
            "who",
            "has",
            "a",
            "cat",
            "or",
            "dog?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"cat\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"dog\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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\""
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "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",
            "=",
            "value"
        ],
        "question": "Find the name of students who have both cat and dog.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "students",
            "who",
            "have",
            "both",
            "cat",
            "and",
            "dog."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"dog\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "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",
            "=",
            "value"
        ],
        "question": "What are the students' first names who have both cats and dogs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "students'",
            "first",
            "names",
            "who",
            "have",
            "both",
            "cats",
            "and",
            "dogs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"dog\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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')",
        "query_toks": [
            "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",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            ")"
        ],
        "question": "Find the major and age of students who do not have a cat.",
        "question_toks": [
            "Find",
            "the",
            "major",
            "and",
            "age",
            "of",
            "students",
            "who",
            "do",
            "not",
            "have",
            "a",
            "cat."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ],
                                "and",
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"cat\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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')",
        "query_toks": [
            "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",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            ")"
        ],
        "question": "What major is every student who does not own a cat, and also how old are they?",
        "question_toks": [
            "What",
            "major",
            "is",
            "every",
            "student",
            "who",
            "does",
            "not",
            "own",
            "a",
            "cat,",
            "and",
            "also",
            "how",
            "old",
            "are",
            "they?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ],
                                "and",
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"cat\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "Find the id of students who do not have a cat.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "students",
            "who",
            "do",
            "not",
            "have",
            "a",
            "cat."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"cat\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "What are the ids of the students who do not own cats?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "do",
            "not",
            "own",
            "cats?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"cat\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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')",
        "query_toks": [
            "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",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "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",
            "=",
            "value",
            ")"
        ],
        "question": "Find the first name and age of students who have a dog but do not have a cat.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "age",
            "of",
            "students",
            "who",
            "have",
            "a",
            "dog",
            "but",
            "do",
            "not",
            "have",
            "a",
            "cat."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"dog\"",
                    null
                ],
                "and",
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ],
                                "and",
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"cat\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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')",
        "query_toks": [
            "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",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "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",
            "=",
            "value",
            ")"
        ],
        "question": "What is the first name of every student who has a dog but does not have a cat?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "every",
            "student",
            "who",
            "has",
            "a",
            "dog",
            "but",
            "does",
            "not",
            "have",
            "a",
            "cat?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"dog\"",
                    null
                ],
                "and",
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ],
                                "and",
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"cat\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT pettype ,  weight FROM pets ORDER BY pet_age LIMIT 1",
        "query_toks": [
            "SELECT",
            "pettype",
            ",",
            "weight",
            "FROM",
            "pets",
            "ORDER",
            "BY",
            "pet_age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "pettype",
            ",",
            "weight",
            "from",
            "pets",
            "order",
            "by",
            "pet_age",
            "limit",
            "value"
        ],
        "question": "Find the type and weight of the youngest pet.",
        "question_toks": [
            "Find",
            "the",
            "type",
            "and",
            "weight",
            "of",
            "the",
            "youngest",
            "pet."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT pettype ,  weight FROM pets ORDER BY pet_age LIMIT 1",
        "query_toks": [
            "SELECT",
            "pettype",
            ",",
            "weight",
            "FROM",
            "pets",
            "ORDER",
            "BY",
            "pet_age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "pettype",
            ",",
            "weight",
            "from",
            "pets",
            "order",
            "by",
            "pet_age",
            "limit",
            "value"
        ],
        "question": "What type of pet is the youngest animal, and how much does it weigh?",
        "question_toks": [
            "What",
            "type",
            "of",
            "pet",
            "is",
            "the",
            "youngest",
            "animal,",
            "and",
            "how",
            "much",
            "does",
            "it",
            "weigh?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT petid ,  weight FROM pets WHERE pet_age  >  1",
        "query_toks": [
            "SELECT",
            "petid",
            ",",
            "weight",
            "FROM",
            "pets",
            "WHERE",
            "pet_age",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "petid",
            ",",
            "weight",
            "from",
            "pets",
            "where",
            "pet_age",
            ">",
            "value"
        ],
        "question": "Find the id and weight of all pets that is older than 1.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "weight",
            "of",
            "all",
            "pets",
            "that",
            "is",
            "older",
            "than",
            "1."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "SELECT petid ,  weight FROM pets WHERE pet_age  >  1",
        "query_toks": [
            "SELECT",
            "petid",
            ",",
            "weight",
            "FROM",
            "pets",
            "WHERE",
            "pet_age",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "petid",
            ",",
            "weight",
            "from",
            "pets",
            "where",
            "pet_age",
            ">",
            "value"
        ],
        "question": "What is the id and weight of every pet who is over 1 year old?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "weight",
            "of",
            "every",
            "pet",
            "who",
            "is",
            "over",
            "1",
            "year",
            "old?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "pettype",
            "=",
            "value"
        ],
        "question": "Find the last name of the student who has a cat that is 3 years old.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "the",
            "student",
            "who",
            "has",
            "a",
            "cat",
            "that",
            "is",
            "3",
            "years",
            "old."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "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'",
        "query_toks": [
            "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",
            "'"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "pettype",
            "=",
            "value"
        ],
        "question": "What is the last name of the student who has a cat that is 3 years old?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "student",
            "who",
            "has",
            "a",
            "cat",
            "that",
            "is",
            "3",
            "years",
            "old?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "select avg(age) from student where stuid not in (select stuid from has_pet)",
        "query_toks": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_pet",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_pet",
            ")"
        ],
        "question": "Find the average age of students who do not have any pet.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "students",
            "who",
            "do",
            "not",
            "have",
            "any",
            "pet."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "pets_1",
        "query": "select avg(age) from student where stuid not in (select stuid from has_pet)",
        "query_toks": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_pet",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_pet",
            ")"
        ],
        "question": "What is the average age for all students who do not own any pets?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "for",
            "all",
            "students",
            "who",
            "do",
            "not",
            "own",
            "any",
            "pets?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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"
        ],
        "question": "How many models does each manufacturer produce? List maker full name, id and the number.",
        "question_toks": [
            "How",
            "many",
            "models",
            "does",
            "each",
            "manufacturer",
            "produce?",
            "List",
            "maker",
            "full",
            "name,",
            "id",
            "and",
            "the",
            "number."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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"
        ],
        "question": "What is the full name of each car manufacturer, along with its id and how many models it produces?",
        "question_toks": [
            "What",
            "is",
            "the",
            "full",
            "name",
            "of",
            "each",
            "car",
            "manufacturer,",
            "along",
            "with",
            "its",
            "id",
            "and",
            "how",
            "many",
            "models",
            "it",
            "produces?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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)",
        "query_toks": [
            "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",
            ")"
        ],
        "query_toks_no_value": [
            "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",
            ")"
        ],
        "question": "Find the model of the car that is lighter than average .",
        "question_toks": [
            "Find",
            "the",
            "model",
            "of",
            "the",
            "car",
            "that",
            "is",
            "lighter",
            "than",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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)",
        "query_toks": [
            "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",
            ")"
        ],
        "query_toks_no_value": [
            "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",
            ")"
        ],
        "question": "What is the model for the car that is lighter than the average?",
        "question_toks": [
            "What",
            "is",
            "the",
            "model",
            "for",
            "the",
            "car",
            "that",
            "is",
            "lighter",
            "than",
            "the",
            "average?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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';",
        "query_toks": [
            "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",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "Find the name of the makers that produced some cars in 1970?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "makers",
            "that",
            "produced",
            "some",
            "cars",
            "in",
            "1970?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"1970\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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';",
        "query_toks": [
            "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",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "What is the name of the different car makers who produced a car in 1970?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "different",
            "car",
            "makers",
            "who",
            "produced",
            "a",
            "car",
            "in",
            "1970?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"1970\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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);",
        "query_toks": [
            "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",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            ")"
        ],
        "question": "Find the make and production time of the cars that were produced in the earliest ?",
        "question_toks": [
            "Find",
            "the",
            "make",
            "and",
            "production",
            "time",
            "of",
            "the",
            "cars",
            "that",
            "were",
            "produced",
            "in",
            "the",
            "earliest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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);",
        "query_toks": [
            "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",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            ")"
        ],
        "question": "What is the maker of the carr produced in the earliest  and what  year was it?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maker",
            "of",
            "the",
            "carr",
            "produced",
            "in",
            "the",
            "earliest",
            "and",
            "what",
            "year",
            "was",
            "it?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            ">",
            "value"
        ],
        "question": "Which distinct car models are the produced after 1980?",
        "question_toks": [
            "Which",
            "distinct",
            "car",
            "models",
            "are",
            "the",
            "produced",
            "after",
            "1980?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            ">",
            "value"
        ],
        "question": "What are the different models for the cards produced after 1980?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "models",
            "for",
            "the",
            "cards",
            "produced",
            "after",
            "1980?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "value"
        ],
        "question": "Which of the nations has the most car makers? List the country name.",
        "question_toks": [
            "Which",
            "of",
            "the",
            "nations",
            "has",
            "the",
            "most",
            "car",
            "makers?",
            "List",
            "the",
            "country",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "value"
        ],
        "question": "What is the name of the nation with the most car makers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "nation",
            "with",
            "the",
            "most",
            "car",
            "makers?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "select count(*) ,  t2.fullname from model_list as t1 join car_makers as t2 on t1.maker  =  t2.id group by t2.id;",
        "query_toks": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t2.fullname",
            "from",
            "model_list",
            "as",
            "t1",
            "join",
            "car_makers",
            "as",
            "t2",
            "on",
            "t1.maker",
            "=",
            "t2.id",
            "group",
            "by",
            "t2.id",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t2",
            ".",
            "fullname",
            "from",
            "model_list",
            "as",
            "t1",
            "join",
            "car_makers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "maker",
            "=",
            "t2",
            ".",
            "id",
            "group",
            "by",
            "t2",
            ".",
            "id"
        ],
        "question": "How many car models are produced by each manufacturer? List the count and the maker full name.",
        "question_toks": [
            "How",
            "many",
            "car",
            "models",
            "are",
            "produced",
            "by",
            "each",
            "manufacturer?",
            "List",
            "the",
            "count",
            "and",
            "the",
            "maker",
            "full",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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"
        ],
        "question": "What is the number of car models that are produced by each company and what is the id and full name of each maker?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "car",
            "models",
            "that",
            "are",
            "produced",
            "by",
            "each",
            "company",
            "and",
            "what",
            "is",
            "the",
            "id",
            "and",
            "full",
            "name",
            "of",
            "each",
            "maker?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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)';",
        "query_toks": [
            "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",
            ")",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "accelerate",
            "from",
            "cars_data",
            "as",
            "t1",
            "join",
            "car_names",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "makeid",
            "where",
            "t2",
            ".",
            "make",
            "=",
            "value"
        ],
        "question": "What is the accelerate of amc hornet sportabout (sw)?",
        "question_toks": [
            "What",
            "is",
            "the",
            "accelerate",
            "of",
            "amc",
            "hornet",
            "sportabout",
            "(sw)?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"amc hornet sportabout (sw)\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country  =  T2.CountryId WHERE T2.CountryName  =  'france';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CAR_MAKERS",
            "AS",
            "T1",
            "JOIN",
            "COUNTRIES",
            "AS",
            "T2",
            "ON",
            "T1.Country",
            "=",
            "T2.CountryId",
            "WHERE",
            "T2.CountryName",
            "=",
            "'france",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "car_makers",
            "as",
            "t1",
            "join",
            "countries",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country",
            "=",
            "t2",
            ".",
            "countryid",
            "where",
            "t2",
            ".",
            "countryname",
            "=",
            "value"
        ],
        "question": "How many car makers are there in france?",
        "question_toks": [
            "How",
            "many",
            "car",
            "makers",
            "are",
            "there",
            "in",
            "france?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"france\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country  =  T2.CountryId WHERE T2.CountryName  =  'france';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CAR_MAKERS",
            "AS",
            "T1",
            "JOIN",
            "COUNTRIES",
            "AS",
            "T2",
            "ON",
            "T1.Country",
            "=",
            "T2.CountryId",
            "WHERE",
            "T2.CountryName",
            "=",
            "'france",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "car_makers",
            "as",
            "t1",
            "join",
            "countries",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country",
            "=",
            "t2",
            ".",
            "countryid",
            "where",
            "t2",
            ".",
            "countryname",
            "=",
            "value"
        ],
        "question": "What is the number of makers of care in France?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "makers",
            "of",
            "care",
            "in",
            "France?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"france\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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';",
        "query_toks": [
            "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",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "How many car models are produced in the usa?",
        "question_toks": [
            "How",
            "many",
            "car",
            "models",
            "are",
            "produced",
            "in",
            "the",
            "usa?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"usa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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';",
        "query_toks": [
            "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",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value"
        ],
        "question": "What is the count of the car models produced in the United States?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "the",
            "car",
            "models",
            "produced",
            "in",
            "the",
            "United",
            "States?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"usa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders  =  4;",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "mpg",
            ")",
            "FROM",
            "CARS_DATA",
            "WHERE",
            "Cylinders",
            "=",
            "4",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "mpg",
            ")",
            "from",
            "cars_data",
            "where",
            "cylinders",
            "=",
            "value"
        ],
        "question": "What is the average miles per gallon(mpg) of the 4 CYL cars?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "miles",
            "per",
            "gallon(mpg)",
            "of",
            "the",
            "4",
            "CYL",
            "cars?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "select min(weight) from cars_data where cylinders  =  8 and year  =  1974",
        "query_toks": [
            "select",
            "min",
            "(",
            "weight",
            ")",
            "from",
            "cars_data",
            "where",
            "cylinders",
            "=",
            "8",
            "and",
            "year",
            "=",
            "1974"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "weight",
            ")",
            "from",
            "cars_data",
            "where",
            "cylinders",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "What is the smallest weight of the 8 CYL car produced on 1974 ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "smallest",
            "weight",
            "of",
            "the",
            "8",
            "CYL",
            "car",
            "produced",
            "on",
            "1974",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1974.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the nations having at least one car maker? List name and id.",
        "question_toks": [
            "What",
            "are",
            "the",
            "nations",
            "having",
            "at",
            "least",
            "one",
            "car",
            "maker?",
            "List",
            "name",
            "and",
            "id."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names and ids of all nations with at least one car maker?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "all",
            "nations",
            "with",
            "at",
            "least",
            "one",
            "car",
            "maker?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE horsepower  >  150;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CARS_DATA",
            "WHERE",
            "horsepower",
            ">",
            "150",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cars_data",
            "where",
            "horsepower",
            ">",
            "value"
        ],
        "question": "What is the number of the cars with  more than 150 hp?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "the",
            "cars",
            "with",
            "more",
            "than",
            "150",
            "hp?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    150.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE horsepower  >  150;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CARS_DATA",
            "WHERE",
            "horsepower",
            ">",
            "150",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cars_data",
            "where",
            "horsepower",
            ">",
            "value"
        ],
        "question": "What is the number of cars with over 150 hp?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "cars",
            "with",
            "over",
            "150",
            "hp?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    150.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "countryname",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which countries in europe have at least 3 car manufacturers?",
        "question_toks": [
            "Which",
            "countries",
            "in",
            "europe",
            "have",
            "at",
            "least",
            "3",
            "car",
            "manufacturers?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"europe\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "countryname",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of all European countries with at least 3 manufacturers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "European",
            "countries",
            "with",
            "at",
            "least",
            "3",
            "manufacturers?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"europe\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "model",
            "from",
            "car_names",
            "as",
            "t1",
            "join",
            "cars_data",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "makeid",
            "=",
            "t2",
            ".",
            "id",
            "order",
            "by",
            "t2",
            ".",
            "mpg",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which model saves the most gasoline?",
        "question_toks": [
            "Which",
            "model",
            "saves",
            "the",
            "most",
            "gasoline?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "model",
            "from",
            "car_names",
            "as",
            "t1",
            "join",
            "cars_data",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "makeid",
            "=",
            "t2",
            ".",
            "id",
            "order",
            "by",
            "t2",
            ".",
            "mpg",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the car wmodel that is the most fuel efficient?",
        "question_toks": [
            "What",
            "is",
            "the",
            "car",
            "wmodel",
            "that",
            "is",
            "the",
            "most",
            "fuel",
            "efficient?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT avg(horsepower) FROM CARS_DATA WHERE YEAR  <  1980;",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "horsepower",
            ")",
            "FROM",
            "CARS_DATA",
            "WHERE",
            "YEAR",
            "<",
            "1980",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "horsepower",
            ")",
            "from",
            "cars_data",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "What is the average horsepower of the cars before 1980?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "horsepower",
            "of",
            "the",
            "cars",
            "before",
            "1980?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "select avg(horsepower) from cars_data where year  <  1980;",
        "query_toks": [
            "select",
            "avg",
            "(",
            "horsepower",
            ")",
            "from",
            "cars_data",
            "where",
            "year",
            "<",
            "1980",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "horsepower",
            ")",
            "from",
            "cars_data",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "What is the average horsepower for all cards produced before 1980?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "horsepower",
            "for",
            "all",
            "cards",
            "produced",
            "before",
            "1980?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T1.Model  =  'volvo';",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.edispl",
            ")",
            "FROM",
            "CAR_NAMES",
            "AS",
            "T1",
            "JOIN",
            "CARS_DATA",
            "AS",
            "T2",
            "ON",
            "T1.MakeId",
            "=",
            "T2.Id",
            "WHERE",
            "T1.Model",
            "=",
            "'volvo",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "edispl",
            ")",
            "from",
            "car_names",
            "as",
            "t1",
            "join",
            "cars_data",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "makeid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "model",
            "=",
            "value"
        ],
        "question": "What is the average edispl of the cars of  volvo?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "edispl",
            "of",
            "the",
            "cars",
            "of",
            "volvo?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"volvo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T1.Model  =  'volvo';",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.edispl",
            ")",
            "FROM",
            "CAR_NAMES",
            "AS",
            "T1",
            "JOIN",
            "CARS_DATA",
            "AS",
            "T2",
            "ON",
            "T1.MakeId",
            "=",
            "T2.Id",
            "WHERE",
            "T1.Model",
            "=",
            "'volvo",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "edispl",
            ")",
            "from",
            "car_names",
            "as",
            "t1",
            "join",
            "cars_data",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "makeid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "model",
            "=",
            "value"
        ],
        "question": "What is the average edispl for all volvos?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "edispl",
            "for",
            "all",
            "volvos?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"volvo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Model",
            "FROM",
            "CAR_NAMES",
            "GROUP",
            "BY",
            "Model",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "model",
            "from",
            "car_names",
            "group",
            "by",
            "model",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What car has the most different versions?",
        "question_toks": [
            "What",
            "car",
            "has",
            "the",
            "most",
            "different",
            "versions?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE YEAR  =  1980;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CARS_DATA",
            "WHERE",
            "YEAR",
            "=",
            "1980",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cars_data",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "how many cars were produced in 1980?",
        "question_toks": [
            "how",
            "many",
            "cars",
            "were",
            "produced",
            "in",
            "1980?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CARS_DATA WHERE YEAR  =  1980;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CARS_DATA",
            "WHERE",
            "YEAR",
            "=",
            "1980",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cars_data",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "In 1980, how many cars were made?",
        "question_toks": [
            "In",
            "1980,",
            "how",
            "many",
            "cars",
            "were",
            "made?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker WHERE T1.FullName  =  'American Motor Company';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CAR_MAKERS",
            "AS",
            "T1",
            "JOIN",
            "MODEL_LIST",
            "AS",
            "T2",
            "ON",
            "T1.Id",
            "=",
            "T2.Maker",
            "WHERE",
            "T1.FullName",
            "=",
            "'American",
            "Motor",
            "Company",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "car_makers",
            "as",
            "t1",
            "join",
            "model_list",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "maker",
            "where",
            "t1",
            ".",
            "fullname",
            "=",
            "value"
        ],
        "question": "How many car models were produced by American Motor Company?",
        "question_toks": [
            "How",
            "many",
            "car",
            "models",
            "were",
            "produced",
            "by",
            "American",
            "Motor",
            "Company?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"American Motor Company\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker WHERE T1.FullName  =  'American Motor Company';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CAR_MAKERS",
            "AS",
            "T1",
            "JOIN",
            "MODEL_LIST",
            "AS",
            "T2",
            "ON",
            "T1.Id",
            "=",
            "T2.Maker",
            "WHERE",
            "T1.FullName",
            "=",
            "'American",
            "Motor",
            "Company",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "car_makers",
            "as",
            "t1",
            "join",
            "model_list",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "maker",
            "where",
            "t1",
            ".",
            "fullname",
            "=",
            "value"
        ],
        "question": "What is the number of car models created by American Motor Company?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "car",
            "models",
            "created",
            "by",
            "American",
            "Motor",
            "Company?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"American Motor Company\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which manufacturers designed more than 3 car models? List full name and the id.",
        "question_toks": [
            "Which",
            "manufacturers",
            "designed",
            "more",
            "than",
            "3",
            "car",
            "models?",
            "List",
            "full",
            "name",
            "and",
            "the",
            "id."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names and ids of all car companies with more than 3 models?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "all",
            "car",
            "companies",
            "with",
            "more",
            "than",
            "3",
            "models?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "or",
            "t4",
            ".",
            "weight",
            ">",
            "value"
        ],
        "question": "Which distinctive models are produced by General Motors or heavier than 3500?",
        "question_toks": [
            "Which",
            "distinctive",
            "models",
            "are",
            "produced",
            "by",
            "General",
            "Motors",
            "or",
            "heavier",
            "than",
            "3500?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"General Motors\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    3500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "or",
            "t4",
            ".",
            "weight",
            ">",
            "value"
        ],
        "question": "What are the different models created by either General Motors or over 3500 lbs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "models",
            "created",
            "by",
            "either",
            "General",
            "Motors",
            "or",
            "over",
            "3500",
            "lbs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"General Motors\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    3500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "select distinct year from cars_data where weight between 3000 and 4000;",
        "query_toks": [
            "select",
            "distinct",
            "year",
            "from",
            "cars_data",
            "where",
            "weight",
            "between",
            "3000",
            "and",
            "4000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "year",
            "from",
            "cars_data",
            "where",
            "weight",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "In which years cars were produced between 3000 and 4000 pounds?",
        "question_toks": [
            "In",
            "which",
            "years",
            "cars",
            "were",
            "produced",
            "between",
            "3000",
            "and",
            "4000",
            "pounds?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    4000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "select distinct year from cars_data where weight between 3000 and 4000;",
        "query_toks": [
            "select",
            "distinct",
            "year",
            "from",
            "cars_data",
            "where",
            "weight",
            "between",
            "3000",
            "and",
            "4000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "year",
            "from",
            "cars_data",
            "where",
            "weight",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the different years in which there were cars produced between 3000 and 4000 pounds?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "years",
            "in",
            "which",
            "there",
            "were",
            "cars",
            "produced",
            "between",
            "3000",
            "and",
            "4000",
            "pounds?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    4000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT T1.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;",
        "query_toks": [
            "SELECT",
            "T1.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",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cylinders",
            "from",
            "cars_data",
            "as",
            "t1",
            "join",
            "car_names",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "makeid",
            "where",
            "t2",
            ".",
            "model",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "accelerate",
            "asc",
            "limit",
            "value"
        ],
        "question": "For  volvo, how many cylinders does the car with the least accelerate have?",
        "question_toks": [
            "For",
            "volvo,",
            "how",
            "many",
            "cylinders",
            "does",
            "the",
            "car",
            "with",
            "the",
            "least",
            "accelerate",
            "have?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"volvo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "SELECT T1.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;",
        "query_toks": [
            "SELECT",
            "T1.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",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cylinders",
            "from",
            "cars_data",
            "as",
            "t1",
            "join",
            "car_names",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "makeid",
            "where",
            "t2",
            ".",
            "model",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "accelerate",
            "asc",
            "limit",
            "value"
        ],
        "question": "For a volvo , how many cylinders does the version with least accelerate have?",
        "question_toks": [
            "For",
            "a",
            "volvo",
            ",",
            "how",
            "many",
            "cylinders",
            "does",
            "the",
            "version",
            "with",
            "least",
            "accelerate",
            "have?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"volvo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "select count(*) from countries as t1 join car_makers as t2 on t1.countryid  =  t2.country group by t1.countryid having count(*)  >  2",
        "query_toks": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "countries",
            "as",
            "t1",
            "join",
            "car_makers",
            "as",
            "t2",
            "on",
            "t1.countryid",
            "=",
            "t2.country",
            "group",
            "by",
            "t1.countryid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "countries",
            "as",
            "t1",
            "join",
            "car_makers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "countryid",
            "=",
            "t2",
            ".",
            "country",
            "group",
            "by",
            "t1",
            ".",
            "countryid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "How many nations has more than 2 car makers ?",
        "question_toks": [
            "How",
            "many",
            "nations",
            "has",
            "more",
            "than",
            "2",
            "car",
            "makers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "select count(*) from countries as t1 join car_makers as t2 on t1.countryid  =  t2.country group by t1.countryid having count(*)  >  2",
        "query_toks": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "countries",
            "as",
            "t1",
            "join",
            "car_makers",
            "as",
            "t2",
            "on",
            "t1.countryid",
            "=",
            "t2.country",
            "group",
            "by",
            "t1.countryid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "countries",
            "as",
            "t1",
            "join",
            "car_makers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "countryid",
            "=",
            "t2",
            ".",
            "country",
            "group",
            "by",
            "t1",
            ".",
            "countryid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What is the number of nations with more than 2 car makers ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "nations",
            "with",
            "more",
            "than",
            "2",
            "car",
            "makers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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;",
        "query_toks": [
            "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",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "model",
            "from",
            "car_names",
            "as",
            "t1",
            "join",
            "cars_data",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "makeid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "cylinders",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "horsepower",
            "desc",
            "limit",
            "value"
        ],
        "question": "For all of the 4 CYL cars, which model has the most horsepower?",
        "question_toks": [
            "For",
            "all",
            "of",
            "the",
            "4",
            "CYL",
            "cars,",
            "which",
            "model",
            "has",
            "the",
            "most",
            "horsepower?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "select max(mpg) from cars_data where cylinders  =  8 or year  <  1980",
        "query_toks": [
            "select",
            "max",
            "(",
            "mpg",
            ")",
            "from",
            "cars_data",
            "where",
            "cylinders",
            "=",
            "8",
            "or",
            "year",
            "<",
            "1980"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "mpg",
            ")",
            "from",
            "cars_data",
            "where",
            "cylinders",
            "=",
            "value",
            "or",
            "year",
            "<",
            "value"
        ],
        "question": "What is the maximum miles per gallon of the 8 CYL cars or cars produced before 1980 ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "miles",
            "per",
            "gallon",
            "of",
            "the",
            "8",
            "CYL",
            "cars",
            "or",
            "cars",
            "produced",
            "before",
            "1980",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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';",
        "query_toks": [
            "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",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "<",
            "value",
            "and",
            "t4",
            ".",
            "fullname",
            "!",
            "=",
            "value"
        ],
        "question": "Which models are lighter than 3500 but not built by the 'Ford Motor Company'?",
        "question_toks": [
            "Which",
            "models",
            "are",
            "lighter",
            "than",
            "3500",
            "but",
            "not",
            "built",
            "by",
            "the",
            "'Ford",
            "Motor",
            "Company'?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    3500.0,
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Ford Motor Company\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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';",
        "query_toks": [
            "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",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "<",
            "value",
            "and",
            "t4",
            ".",
            "fullname",
            "!",
            "=",
            "value"
        ],
        "question": "What are the different models wthat are lighter than 3500 but were not built by the Ford Motor Company?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "models",
            "wthat",
            "are",
            "lighter",
            "than",
            "3500",
            "but",
            "were",
            "not",
            "built",
            "by",
            "the",
            "Ford",
            "Motor",
            "Company?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    3500.0,
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Ford Motor Company\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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';",
        "query_toks": [
            "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",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "(",
            "*",
            ")",
            ">",
            "value",
            "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",
            "=",
            "value"
        ],
        "question": "What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "names",
            "of",
            "the",
            "countries",
            "which",
            "have",
            "more",
            "than",
            "3",
            "car",
            "makers",
            "or",
            "produce",
            "the",
            "'fiat'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"fiat\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "car_1",
        "query": "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';",
        "query_toks": [
            "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\"",
            ";"
        ],
        "query_toks_no_value": [
            "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",
            "(",
            "*",
            ")",
            ">",
            "value",
            "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",
            "=",
            "value"
        ],
        "question": "What are the ids and names of all countries that either have more than 3 car makers or produce fiats?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "all",
            "countries",
            "that",
            "either",
            "have",
            "more",
            "than",
            "3",
            "car",
            "makers",
            "or",
            "produce",
            "fiats?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"fiat\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT Country FROM AIRLINES WHERE Airline  =  \"JetBlue Airways\"",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Airline",
            "=",
            "``",
            "JetBlue",
            "Airways",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airlines",
            "where",
            "airline",
            "=",
            "value"
        ],
        "question": "Which country does \"\"JetBlue Airways\"\" belong to?",
        "question_toks": [
            "Which",
            "country",
            "does",
            "\"\"JetBlue",
            "Airways\"\"",
            "belong",
            "to?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"JetBlue Airways\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT Country FROM AIRLINES WHERE Airline  =  \"JetBlue Airways\"",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Airline",
            "=",
            "``",
            "JetBlue",
            "Airways",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airlines",
            "where",
            "airline",
            "=",
            "value"
        ],
        "question": "What country is Jetblue Airways affiliated with?",
        "question_toks": [
            "What",
            "country",
            "is",
            "Jetblue",
            "Airways",
            "affiliated",
            "with?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"JetBlue Airways\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT Abbreviation FROM AIRLINES WHERE Airline  =  \"JetBlue Airways\"",
        "query_toks": [
            "SELECT",
            "Abbreviation",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Airline",
            "=",
            "``",
            "JetBlue",
            "Airways",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "abbreviation",
            "from",
            "airlines",
            "where",
            "airline",
            "=",
            "value"
        ],
        "question": "What is the abbreviation of \"\"JetBlue Airways\"\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "abbreviation",
            "of",
            "\"\"JetBlue",
            "Airways\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"JetBlue Airways\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT Abbreviation FROM AIRLINES WHERE Airline  =  \"JetBlue Airways\"",
        "query_toks": [
            "SELECT",
            "Abbreviation",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Airline",
            "=",
            "``",
            "JetBlue",
            "Airways",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "abbreviation",
            "from",
            "airlines",
            "where",
            "airline",
            "=",
            "value"
        ],
        "question": "Which abbreviation corresponds to Jetblue Airways?",
        "question_toks": [
            "Which",
            "abbreviation",
            "corresponds",
            "to",
            "Jetblue",
            "Airways?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"JetBlue Airways\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT Airline ,  Abbreviation FROM AIRLINES WHERE Country  =  \"USA\"",
        "query_toks": [
            "SELECT",
            "Airline",
            ",",
            "Abbreviation",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Country",
            "=",
            "``",
            "USA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airline",
            ",",
            "abbreviation",
            "from",
            "airlines",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "List all airline names and their abbreviations in \"\"USA\"\".",
        "question_toks": [
            "List",
            "all",
            "airline",
            "names",
            "and",
            "their",
            "abbreviations",
            "in",
            "\"\"USA\"\"."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT Airline ,  Abbreviation FROM AIRLINES WHERE Country  =  \"USA\"",
        "query_toks": [
            "SELECT",
            "Airline",
            ",",
            "Abbreviation",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Country",
            "=",
            "``",
            "USA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airline",
            ",",
            "abbreviation",
            "from",
            "airlines",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What are the airline names and abbreviations for airlines in the USA?",
        "question_toks": [
            "What",
            "are",
            "the",
            "airline",
            "names",
            "and",
            "abbreviations",
            "for",
            "airlines",
            "in",
            "the",
            "USA?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT AirportCode ,  AirportName FROM AIRPORTS WHERE city  =  \"Anthony\"",
        "query_toks": [
            "SELECT",
            "AirportCode",
            ",",
            "AirportName",
            "FROM",
            "AIRPORTS",
            "WHERE",
            "city",
            "=",
            "``",
            "Anthony",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airportcode",
            ",",
            "airportname",
            "from",
            "airports",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "List the airport code and name in Anthony.",
        "question_toks": [
            "List",
            "the",
            "airport",
            "code",
            "and",
            "name",
            "in",
            "Anthony."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Anthony\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT AirportCode ,  AirportName FROM AIRPORTS WHERE city  =  \"Anthony\"",
        "query_toks": [
            "SELECT",
            "AirportCode",
            ",",
            "AirportName",
            "FROM",
            "AIRPORTS",
            "WHERE",
            "city",
            "=",
            "``",
            "Anthony",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airportcode",
            ",",
            "airportname",
            "from",
            "airports",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "Give the airport code and airport name corresonding to Anthony.",
        "question_toks": [
            "Give",
            "the",
            "airport",
            "code",
            "and",
            "airport",
            "name",
            "corresonding",
            "to",
            "Anthony."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Anthony\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT Airline FROM AIRLINES WHERE Abbreviation  =  \"UAL\"",
        "query_toks": [
            "SELECT",
            "Airline",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Abbreviation",
            "=",
            "``",
            "UAL",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airline",
            "from",
            "airlines",
            "where",
            "abbreviation",
            "=",
            "value"
        ],
        "question": "Which airline is also known as UAL?",
        "question_toks": [
            "Which",
            "airline",
            "is",
            "also",
            "known",
            "as",
            "UAL?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"UAL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT Airline FROM AIRLINES WHERE Abbreviation  =  \"UAL\"",
        "query_toks": [
            "SELECT",
            "Airline",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Abbreviation",
            "=",
            "``",
            "UAL",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airline",
            "from",
            "airlines",
            "where",
            "abbreviation",
            "=",
            "value"
        ],
        "question": "Give the airline called UAL.",
        "question_toks": [
            "Give",
            "the",
            "airline",
            "called",
            "UAL."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"UAL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES WHERE Country  =  \"USA\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Country",
            "=",
            "``",
            "USA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many airlines are from USA?",
        "question_toks": [
            "How",
            "many",
            "airlines",
            "are",
            "from",
            "USA?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES WHERE Country  =  \"USA\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "AIRLINES",
            "WHERE",
            "Country",
            "=",
            "``",
            "USA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "Return the number of airlines in the USA.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "airlines",
            "in",
            "the",
            "USA."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM AIRPORTS WHERE AirportCode  =  \"AKO\"",
        "query_toks": [
            "SELECT",
            "AirportName",
            "FROM",
            "AIRPORTS",
            "WHERE",
            "AirportCode",
            "=",
            "``",
            "AKO",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airportname",
            "from",
            "airports",
            "where",
            "airportcode",
            "=",
            "value"
        ],
        "question": "What is the name for AKO?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "for",
            "AKO?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"AKO\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM AIRPORTS WHERE AirportCode  =  \"AKO\"",
        "query_toks": [
            "SELECT",
            "AirportName",
            "FROM",
            "AIRPORTS",
            "WHERE",
            "AirportCode",
            "=",
            "``",
            "AKO",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airportname",
            "from",
            "airports",
            "where",
            "airportcode",
            "=",
            "value"
        ],
        "question": "Return the name of AKO.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "AKO."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"AKO\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM AIRPORTS WHERE City = \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "AirportName",
            "FROM",
            "AIRPORTS",
            "WHERE",
            "City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airportname",
            "from",
            "airports",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What are airport names at Aberdeen?",
        "question_toks": [
            "What",
            "are",
            "airport",
            "names",
            "at",
            "Aberdeen?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM AIRPORTS WHERE City = \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "AirportName",
            "FROM",
            "AIRPORTS",
            "WHERE",
            "City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "airportname",
            "from",
            "airports",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What are the names of airports in Aberdeen?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "airports",
            "in",
            "Aberdeen?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS WHERE SourceAirport  =  \"APG\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "WHERE",
            "SourceAirport",
            "=",
            "``",
            "APG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "where",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "How many flights depart from APG?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "depart",
            "from",
            "APG?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"APG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS WHERE SourceAirport  =  \"APG\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "WHERE",
            "SourceAirport",
            "=",
            "``",
            "APG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "where",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "Count the number of flights departing from 'APG'.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "flights",
            "departing",
            "from",
            "'APG'."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"APG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS WHERE DestAirport  =  \"ATO\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "WHERE",
            "DestAirport",
            "=",
            "``",
            "ATO",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "where",
            "destairport",
            "=",
            "value"
        ],
        "question": "How many flights arrive at ATO?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "arrive",
            "at",
            "ATO?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"ATO\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS WHERE DestAirport  =  \"ATO\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "WHERE",
            "DestAirport",
            "=",
            "``",
            "ATO",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "where",
            "destairport",
            "=",
            "value"
        ],
        "question": "Count the number of flights into ATO.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "flights",
            "into",
            "ATO."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"ATO\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport  =  T2.AirportCode WHERE T2.City  =  \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRPORTS",
            "AS",
            "T2",
            "ON",
            "T1.SourceAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "sourceairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many flights depart from Aberdeen?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "depart",
            "from",
            "Aberdeen?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport  =  T2.AirportCode WHERE T2.City  =  \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRPORTS",
            "AS",
            "T2",
            "ON",
            "T1.SourceAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "sourceairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Return the number of flights departing from Aberdeen.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "flights",
            "departing",
            "from",
            "Aberdeen."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.City  =  \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRPORTS",
            "AS",
            "T2",
            "ON",
            "T1.DestAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "destairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many flights arriving in Aberdeen ?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "arriving",
            "in",
            "Aberdeen",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.City  =  \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRPORTS",
            "AS",
            "T2",
            "ON",
            "T1.DestAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "destairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Return the number of flights arriving in Aberdeen.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "flights",
            "arriving",
            "in",
            "Aberdeen."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "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\"",
        "query_toks": [
            "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",
            "''"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many flights depart from Aberdeen and arrive at Ashley?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "depart",
            "from",
            "Aberdeen",
            "and",
            "arrive",
            "at",
            "Ashley?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ashley\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "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\"",
        "query_toks": [
            "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",
            "''"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many flights fly from Aberdeen to Ashley?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "fly",
            "from",
            "Aberdeen",
            "to",
            "Ashley?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ashley\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline  =  T2.uid WHERE T2.Airline = \"JetBlue Airways\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRLINES",
            "AS",
            "T2",
            "ON",
            "T1.Airline",
            "=",
            "T2.uid",
            "WHERE",
            "T2.Airline",
            "=",
            "``",
            "JetBlue",
            "Airways",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airlines",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "airline",
            "=",
            "t2",
            ".",
            "uid",
            "where",
            "t2",
            ".",
            "airline",
            "=",
            "value"
        ],
        "question": "How many flights does 'JetBlue Airways' have?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "does",
            "'JetBlue",
            "Airways'",
            "have?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"JetBlue Airways\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline  =  T2.uid WHERE T2.Airline = \"JetBlue Airways\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRLINES",
            "AS",
            "T2",
            "ON",
            "T1.Airline",
            "=",
            "T2.uid",
            "WHERE",
            "T2.Airline",
            "=",
            "``",
            "JetBlue",
            "Airways",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airlines",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "airline",
            "=",
            "t2",
            ".",
            "uid",
            "where",
            "t2",
            ".",
            "airline",
            "=",
            "value"
        ],
        "question": "Give the number of Jetblue Airways flights.",
        "question_toks": [
            "Give",
            "the",
            "number",
            "of",
            "Jetblue",
            "Airways",
            "flights."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"JetBlue Airways\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  \"United Airlines\" AND T2.DestAirport  =  \"ASY\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "AIRLINES",
            "AS",
            "T1",
            "JOIN",
            "FLIGHTS",
            "AS",
            "T2",
            "ON",
            "T2.Airline",
            "=",
            "T1.uid",
            "WHERE",
            "T1.Airline",
            "=",
            "``",
            "United",
            "Airlines",
            "''",
            "AND",
            "T2.DestAirport",
            "=",
            "``",
            "ASY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "airline",
            "=",
            "t1",
            ".",
            "uid",
            "where",
            "t1",
            ".",
            "airline",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "destairport",
            "=",
            "value"
        ],
        "question": "How many 'United Airlines' flights go to 'ASY'?",
        "question_toks": [
            "How",
            "many",
            "'United",
            "Airlines'",
            "flights",
            "go",
            "to",
            "'ASY'?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Airlines\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"ASY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  \"United Airlines\" AND T2.DestAirport  =  \"ASY\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "AIRLINES",
            "AS",
            "T1",
            "JOIN",
            "FLIGHTS",
            "AS",
            "T2",
            "ON",
            "T2.Airline",
            "=",
            "T1.uid",
            "WHERE",
            "T1.Airline",
            "=",
            "``",
            "United",
            "Airlines",
            "''",
            "AND",
            "T2.DestAirport",
            "=",
            "``",
            "ASY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "airline",
            "=",
            "t1",
            ".",
            "uid",
            "where",
            "t1",
            ".",
            "airline",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "destairport",
            "=",
            "value"
        ],
        "question": "Count the number of United Airlines flights arriving in ASY.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "United",
            "Airlines",
            "flights",
            "arriving",
            "in",
            "ASY."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Airlines\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"ASY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  \"United Airlines\" AND T2.SourceAirport  =  \"AHD\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "AIRLINES",
            "AS",
            "T1",
            "JOIN",
            "FLIGHTS",
            "AS",
            "T2",
            "ON",
            "T2.Airline",
            "=",
            "T1.uid",
            "WHERE",
            "T1.Airline",
            "=",
            "``",
            "United",
            "Airlines",
            "''",
            "AND",
            "T2.SourceAirport",
            "=",
            "``",
            "AHD",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "airline",
            "=",
            "t1",
            ".",
            "uid",
            "where",
            "t1",
            ".",
            "airline",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "How many 'United Airlines' flights depart from 'AHD'?",
        "question_toks": [
            "How",
            "many",
            "'United",
            "Airlines'",
            "flights",
            "depart",
            "from",
            "'AHD'?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Airlines\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"AHD\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  \"United Airlines\" AND T2.SourceAirport  =  \"AHD\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "AIRLINES",
            "AS",
            "T1",
            "JOIN",
            "FLIGHTS",
            "AS",
            "T2",
            "ON",
            "T2.Airline",
            "=",
            "T1.uid",
            "WHERE",
            "T1.Airline",
            "=",
            "``",
            "United",
            "Airlines",
            "''",
            "AND",
            "T2.SourceAirport",
            "=",
            "``",
            "AHD",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "airline",
            "=",
            "t1",
            ".",
            "uid",
            "where",
            "t1",
            ".",
            "airline",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "Return the number of United Airlines flights leaving from AHD.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "United",
            "Airlines",
            "flights",
            "leaving",
            "from",
            "AHD."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Airlines\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"AHD\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "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\"",
        "query_toks": [
            "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",
            "''"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "airline",
            "=",
            "value"
        ],
        "question": "How many United Airlines flights go to 'Aberdeen'?",
        "question_toks": [
            "How",
            "many",
            "United",
            "Airlines",
            "flights",
            "go",
            "to",
            "'Aberdeen'?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "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\"",
        "query_toks": [
            "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",
            "''"
        ],
        "query_toks_no_value": [
            "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",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "airline",
            "=",
            "value"
        ],
        "question": "Count the number of United Airlines flights that arrive in Aberdeen.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "United",
            "Airlines",
            "flights",
            "that",
            "arrive",
            "in",
            "Aberdeen."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  \"AHD\"",
        "query_toks": [
            "SELECT",
            "T1.Airline",
            "FROM",
            "AIRLINES",
            "AS",
            "T1",
            "JOIN",
            "FLIGHTS",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.Airline",
            "WHERE",
            "T2.SourceAirport",
            "=",
            "``",
            "AHD",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "What are airlines that have some flight departing from AHD?",
        "question_toks": [
            "What",
            "are",
            "airlines",
            "that",
            "have",
            "some",
            "flight",
            "departing",
            "from",
            "AHD?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"AHD\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  \"AHD\"",
        "query_toks": [
            "SELECT",
            "T1.Airline",
            "FROM",
            "AIRLINES",
            "AS",
            "T1",
            "JOIN",
            "FLIGHTS",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.Airline",
            "WHERE",
            "T2.SourceAirport",
            "=",
            "``",
            "AHD",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "Which airlines have a flight from  AHD?",
        "question_toks": [
            "Which",
            "airlines",
            "have",
            "a",
            "flight",
            "from",
            "AHD?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"AHD\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.DestAirport  =  \"AHD\"",
        "query_toks": [
            "SELECT",
            "T1.Airline",
            "FROM",
            "AIRLINES",
            "AS",
            "T1",
            "JOIN",
            "FLIGHTS",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.Airline",
            "WHERE",
            "T2.DestAirport",
            "=",
            "``",
            "AHD",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "destairport",
            "=",
            "value"
        ],
        "question": "What are airlines that have flights arriving at AHD?",
        "question_toks": [
            "What",
            "are",
            "airlines",
            "that",
            "have",
            "flights",
            "arriving",
            "at",
            "AHD?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"AHD\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.DestAirport  =  \"AHD\"",
        "query_toks": [
            "SELECT",
            "T1.Airline",
            "FROM",
            "AIRLINES",
            "AS",
            "T1",
            "JOIN",
            "FLIGHTS",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.Airline",
            "WHERE",
            "T2.DestAirport",
            "=",
            "``",
            "AHD",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "destairport",
            "=",
            "value"
        ],
        "question": "Which airlines have a flight to  AHD?",
        "question_toks": [
            "Which",
            "airlines",
            "have",
            "a",
            "flight",
            "to",
            "AHD?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"AHD\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "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\"",
        "query_toks": [
            "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",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "Find all airlines that have flights from both APG and CVO.",
        "question_toks": [
            "Find",
            "all",
            "airlines",
            "that",
            "have",
            "flights",
            "from",
            "both",
            "APG",
            "and",
            "CVO."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"APG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"CVO\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "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\"",
        "query_toks": [
            "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",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "Which airlines have departing flights from both APG and CVO ?",
        "question_toks": [
            "Which",
            "airlines",
            "have",
            "departing",
            "flights",
            "from",
            "both",
            "APG",
            "and",
            "CVO",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"APG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"CVO\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "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\"",
        "query_toks": [
            "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",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "Find all airlines that have flights from 'CVO' but not from 'APG'.",
        "question_toks": [
            "Find",
            "all",
            "airlines",
            "that",
            "have",
            "flights",
            "from",
            "'CVO'",
            "but",
            "not",
            "from",
            "'APG'."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"CVO\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"APG\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "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\"",
        "query_toks": [
            "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",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "airline",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "flights",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "Which airlines have departures from CVO but not from APG?",
        "question_toks": [
            "Which",
            "airlines",
            "have",
            "departures",
            "from",
            "CVO",
            "but",
            "not",
            "from",
            "APG?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"CVO\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"APG\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid  =  T1.Airline WHERE T2.Airline  =  \"United Airlines\"",
        "query_toks": [
            "SELECT",
            "T1.FlightNo",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRLINES",
            "AS",
            "T2",
            "ON",
            "T2.uid",
            "=",
            "T1.Airline",
            "WHERE",
            "T2.Airline",
            "=",
            "``",
            "United",
            "Airlines",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "flightno",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airlines",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "uid",
            "=",
            "t1",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "airline",
            "=",
            "value"
        ],
        "question": "What are flight numbers of \"\"United Airlines\"\"?",
        "question_toks": [
            "What",
            "are",
            "flight",
            "numbers",
            "of",
            "\"\"United",
            "Airlines\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid  =  T1.Airline WHERE T2.Airline  =  \"United Airlines\"",
        "query_toks": [
            "SELECT",
            "T1.FlightNo",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRLINES",
            "AS",
            "T2",
            "ON",
            "T2.uid",
            "=",
            "T1.Airline",
            "WHERE",
            "T2.Airline",
            "=",
            "``",
            "United",
            "Airlines",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "flightno",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airlines",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "uid",
            "=",
            "t1",
            ".",
            "airline",
            "where",
            "t2",
            ".",
            "airline",
            "=",
            "value"
        ],
        "question": "Which flight numbers correspond to United Airlines flights?",
        "question_toks": [
            "Which",
            "flight",
            "numbers",
            "correspond",
            "to",
            "United",
            "Airlines",
            "flights?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT FlightNo FROM FLIGHTS WHERE SourceAirport  =  \"APG\"",
        "query_toks": [
            "SELECT",
            "FlightNo",
            "FROM",
            "FLIGHTS",
            "WHERE",
            "SourceAirport",
            "=",
            "``",
            "APG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "flightno",
            "from",
            "flights",
            "where",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "What are flight numbers of flights departing from APG?",
        "question_toks": [
            "What",
            "are",
            "flight",
            "numbers",
            "of",
            "flights",
            "departing",
            "from",
            "APG?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"APG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT FlightNo FROM FLIGHTS WHERE SourceAirport  =  \"APG\"",
        "query_toks": [
            "SELECT",
            "FlightNo",
            "FROM",
            "FLIGHTS",
            "WHERE",
            "SourceAirport",
            "=",
            "``",
            "APG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "flightno",
            "from",
            "flights",
            "where",
            "sourceairport",
            "=",
            "value"
        ],
        "question": "Give the flight numbers of flights leaving from APG.",
        "question_toks": [
            "Give",
            "the",
            "flight",
            "numbers",
            "of",
            "flights",
            "leaving",
            "from",
            "APG."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"APG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT FlightNo FROM FLIGHTS WHERE DestAirport  =  \"APG\"",
        "query_toks": [
            "SELECT",
            "FlightNo",
            "FROM",
            "FLIGHTS",
            "WHERE",
            "DestAirport",
            "=",
            "``",
            "APG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "flightno",
            "from",
            "flights",
            "where",
            "destairport",
            "=",
            "value"
        ],
        "question": "What are flight numbers of flights arriving at APG?",
        "question_toks": [
            "What",
            "are",
            "flight",
            "numbers",
            "of",
            "flights",
            "arriving",
            "at",
            "APG?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"APG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT FlightNo FROM FLIGHTS WHERE DestAirport  =  \"APG\"",
        "query_toks": [
            "SELECT",
            "FlightNo",
            "FROM",
            "FLIGHTS",
            "WHERE",
            "DestAirport",
            "=",
            "``",
            "APG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "flightno",
            "from",
            "flights",
            "where",
            "destairport",
            "=",
            "value"
        ],
        "question": "Give the flight numbers of flights landing at APG.",
        "question_toks": [
            "Give",
            "the",
            "flight",
            "numbers",
            "of",
            "flights",
            "landing",
            "at",
            "APG."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"APG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport   =  T2.AirportCode WHERE T2.City  =  \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "T1.FlightNo",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRPORTS",
            "AS",
            "T2",
            "ON",
            "T1.SourceAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "flightno",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "sourceairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "What are flight numbers of flights departing from Aberdeen?",
        "question_toks": [
            "What",
            "are",
            "flight",
            "numbers",
            "of",
            "flights",
            "departing",
            "from",
            "Aberdeen?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport   =  T2.AirportCode WHERE T2.City  =  \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "T1.FlightNo",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRPORTS",
            "AS",
            "T2",
            "ON",
            "T1.SourceAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "flightno",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "sourceairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Give the flight numbers of flights leaving from Aberdeen.",
        "question_toks": [
            "Give",
            "the",
            "flight",
            "numbers",
            "of",
            "flights",
            "leaving",
            "from",
            "Aberdeen."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport   =  T2.AirportCode WHERE T2.City  =  \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "T1.FlightNo",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRPORTS",
            "AS",
            "T2",
            "ON",
            "T1.DestAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "flightno",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "destairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "What are flight numbers of flights arriving at Aberdeen?",
        "question_toks": [
            "What",
            "are",
            "flight",
            "numbers",
            "of",
            "flights",
            "arriving",
            "at",
            "Aberdeen?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport   =  T2.AirportCode WHERE T2.City  =  \"Aberdeen\"",
        "query_toks": [
            "SELECT",
            "T1.FlightNo",
            "FROM",
            "FLIGHTS",
            "AS",
            "T1",
            "JOIN",
            "AIRPORTS",
            "AS",
            "T2",
            "ON",
            "T1.DestAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.City",
            "=",
            "``",
            "Aberdeen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "flightno",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "destairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Give the flight numbers of flights arriving in Aberdeen.",
        "question_toks": [
            "Give",
            "the",
            "flight",
            "numbers",
            "of",
            "flights",
            "arriving",
            "in",
            "Aberdeen."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.city  =  \"Aberdeen\" OR T2.city  =  \"Abilene\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flights",
            "AS",
            "T1",
            "JOIN",
            "Airports",
            "AS",
            "T2",
            "ON",
            "T1.DestAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.city",
            "=",
            "``",
            "Aberdeen",
            "''",
            "OR",
            "T2.city",
            "=",
            "``",
            "Abilene",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "destairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Find the number of flights landing in Aberdeen or Abilene.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "flights",
            "landing",
            "in",
            "Aberdeen",
            "or",
            "Abilene."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Abilene\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.city  =  \"Aberdeen\" OR T2.city  =  \"Abilene\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flights",
            "AS",
            "T1",
            "JOIN",
            "Airports",
            "AS",
            "T2",
            "ON",
            "T1.DestAirport",
            "=",
            "T2.AirportCode",
            "WHERE",
            "T2.city",
            "=",
            "``",
            "Aberdeen",
            "''",
            "OR",
            "T2.city",
            "=",
            "``",
            "Abilene",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flights",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "destairport",
            "=",
            "t2",
            ".",
            "airportcode",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many flights land in Aberdeen or Abilene?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "land",
            "in",
            "Aberdeen",
            "or",
            "Abilene?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdeen\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Abilene\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)",
        "query_toks": [
            "SELECT",
            "AirportName",
            "FROM",
            "Airports",
            "WHERE",
            "AirportCode",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "SourceAirport",
            "FROM",
            "Flights",
            "UNION",
            "SELECT",
            "DestAirport",
            "FROM",
            "Flights",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "airportname",
            "from",
            "airports",
            "where",
            "airportcode",
            "not",
            "in",
            "(",
            "select",
            "sourceairport",
            "from",
            "flights",
            "union",
            "select",
            "destairport",
            "from",
            "flights",
            ")"
        ],
        "question": "Find the name of airports which do not have any flight in and out.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "airports",
            "which",
            "do",
            "not",
            "have",
            "any",
            "flight",
            "in",
            "and",
            "out."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                13,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "flight_2",
        "query": "SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)",
        "query_toks": [
            "SELECT",
            "AirportName",
            "FROM",
            "Airports",
            "WHERE",
            "AirportCode",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "SourceAirport",
            "FROM",
            "Flights",
            "UNION",
            "SELECT",
            "DestAirport",
            "FROM",
            "Flights",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "airportname",
            "from",
            "airports",
            "where",
            "airportcode",
            "not",
            "in",
            "(",
            "select",
            "sourceairport",
            "from",
            "flights",
            "union",
            "select",
            "destairport",
            "from",
            "flights",
            ")"
        ],
        "question": "Which airports do not have departing or arriving flights?",
        "question_toks": [
            "Which",
            "airports",
            "do",
            "not",
            "have",
            "departing",
            "or",
            "arriving",
            "flights?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                13,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT name FROM employee ORDER BY age",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "employee",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "employee",
            "order",
            "by",
            "age"
        ],
        "question": "Sort employee names from youngest to oldest.",
        "question_toks": [
            "Sort",
            "employee",
            "names",
            "from",
            "youngest",
            "to",
            "oldest."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT name FROM employee ORDER BY age",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "employee",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "employee",
            "order",
            "by",
            "age"
        ],
        "question": "List the names of employees and sort from youngest to oldest",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "employees",
            "and",
            "sort",
            "from",
            "youngest",
            "to",
            "oldest"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT city FROM employee WHERE age  <  30 GROUP BY city HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "employee",
            "WHERE",
            "age",
            "<",
            "30",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "employee",
            "where",
            "age",
            "<",
            "value",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which cities do more than one employee younger than 30 come from?",
        "question_toks": [
            "Which",
            "cities",
            "do",
            "more",
            "than",
            "one",
            "employee",
            "younger",
            "than",
            "30",
            "come",
            "from?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT city FROM employee WHERE age  <  30 GROUP BY city HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "employee",
            "WHERE",
            "age",
            "<",
            "30",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "employee",
            "where",
            "age",
            "<",
            "value",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the cities that have more than one employee under  30 year old.",
        "question_toks": [
            "Find",
            "the",
            "cities",
            "that",
            "have",
            "more",
            "than",
            "one",
            "employee",
            "under",
            "30",
            "year",
            "old."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT count(*) ,  LOCATION FROM shop GROUP BY LOCATION",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "LOCATION",
            "FROM",
            "shop",
            "GROUP",
            "BY",
            "LOCATION"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "location",
            "from",
            "shop",
            "group",
            "by",
            "location"
        ],
        "question": "Find the number of shops in each place.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "shops",
            "in",
            "each",
            "place."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT count(*) ,  LOCATION FROM shop GROUP BY LOCATION",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "LOCATION",
            "FROM",
            "shop",
            "GROUP",
            "BY",
            "LOCATION"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "location",
            "from",
            "shop",
            "group",
            "by",
            "location"
        ],
        "question": "How many shops are there in each place?",
        "question_toks": [
            "How",
            "many",
            "shops",
            "are",
            "there",
            "in",
            "each",
            "place?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT manager_name ,  district FROM shop ORDER BY number_products DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "manager_name",
            ",",
            "district",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "number_products",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "manager_name",
            ",",
            "district",
            "from",
            "shop",
            "order",
            "by",
            "number_products",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the manager name and district of the shop with the most goods.",
        "question_toks": [
            "Find",
            "the",
            "manager",
            "name",
            "and",
            "district",
            "of",
            "the",
            "shop",
            "with",
            "the",
            "most",
            "goods."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT manager_name ,  district FROM shop ORDER BY number_products DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "manager_name",
            ",",
            "district",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "number_products",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "manager_name",
            ",",
            "district",
            "from",
            "shop",
            "order",
            "by",
            "number_products",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the manager name and district of the shop that sells the most merchandise?",
        "question_toks": [
            "What",
            "are",
            "the",
            "manager",
            "name",
            "and",
            "district",
            "of",
            "the",
            "shop",
            "that",
            "sells",
            "the",
            "most",
            "merchandise?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT name ,  LOCATION ,  district FROM shop ORDER BY number_products DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            ",",
            "district",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "number_products",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            ",",
            "district",
            "from",
            "shop",
            "order",
            "by",
            "number_products",
            "desc"
        ],
        "question": "Return the name, location and district of all shops odered by the amount of goods they sell from the most to the least.",
        "question_toks": [
            "Return",
            "the",
            "name,",
            "location",
            "and",
            "district",
            "of",
            "all",
            "shops",
            "odered",
            "by",
            "the",
            "amount",
            "of",
            "goods",
            "they",
            "sell",
            "from",
            "the",
            "most",
            "to",
            "the",
            "least."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT name ,  LOCATION ,  district FROM shop ORDER BY number_products DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            ",",
            "district",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "number_products",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            ",",
            "district",
            "from",
            "shop",
            "order",
            "by",
            "number_products",
            "desc"
        ],
        "question": "Sort all the shops by amount of merchandise in descending order, and return the name, location and district of each shop.",
        "question_toks": [
            "Sort",
            "all",
            "the",
            "shops",
            "by",
            "amount",
            "of",
            "merchandise",
            "in",
            "descending",
            "order,",
            "and",
            "return",
            "the",
            "name,",
            "location",
            "and",
            "district",
            "of",
            "each",
            "shop."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT name FROM shop WHERE number_products  >  (SELECT avg(number_products) FROM shop)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "shop",
            "WHERE",
            "number_products",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "number_products",
            ")",
            "FROM",
            "shop",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "shop",
            "where",
            "number_products",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "number_products",
            ")",
            "from",
            "shop",
            ")"
        ],
        "question": "Find the names of stores that have more than average goods.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "stores",
            "that",
            "have",
            "more",
            "than",
            "average",
            "goods."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT name FROM shop WHERE number_products  >  (SELECT avg(number_products) FROM shop)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "shop",
            "WHERE",
            "number_products",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "number_products",
            ")",
            "FROM",
            "shop",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "shop",
            "where",
            "number_products",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "number_products",
            ")",
            "from",
            "shop",
            ")"
        ],
        "question": "Which shops have more than average merchandise? Give me the shop names.",
        "question_toks": [
            "Which",
            "shops",
            "have",
            "more",
            "than",
            "average",
            "merchandise?",
            "Give",
            "me",
            "the",
            "shop",
            "names."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "evaluation",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employee_id",
            "=",
            "t2",
            ".",
            "employee_id",
            "order",
            "by",
            "t2",
            ".",
            "bonus",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the employee who got the highest one time incentive.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "employee",
            "who",
            "got",
            "the",
            "highest",
            "one",
            "time",
            "incentive."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "evaluation",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employee_id",
            "=",
            "t2",
            ".",
            "employee_id",
            "order",
            "by",
            "t2",
            ".",
            "bonus",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which employee received the biggest incentive? Give me the employee name.",
        "question_toks": [
            "Which",
            "employee",
            "received",
            "the",
            "biggest",
            "incentive?",
            "Give",
            "me",
            "the",
            "employee",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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",
            "value"
        ],
        "question": "What is the name of the shop that is recruiting the largest number of employees?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "shop",
            "that",
            "is",
            "recruiting",
            "the",
            "largest",
            "number",
            "of",
            "employees?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "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",
        "query_toks": [
            "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"
        ],
        "query_toks_no_value": [
            "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",
            "value"
        ],
        "question": "Which shop has the most employees? Give me the shop name.",
        "question_toks": [
            "Which",
            "shop",
            "has",
            "the",
            "most",
            "employees?",
            "Give",
            "me",
            "the",
            "shop",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "shop",
            "WHERE",
            "shop_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "shop_id",
            "FROM",
            "hiring",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "shop",
            "where",
            "shop_id",
            "not",
            "in",
            "(",
            "select",
            "shop_id",
            "from",
            "hiring",
            ")"
        ],
        "question": "Find the name of the shops that do not recruit any employee.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "shops",
            "that",
            "do",
            "not",
            "recruit",
            "any",
            "employee."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "shop",
            "WHERE",
            "shop_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "shop_id",
            "FROM",
            "hiring",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "shop",
            "where",
            "shop_id",
            "not",
            "in",
            "(",
            "select",
            "shop_id",
            "from",
            "hiring",
            ")"
        ],
        "question": "Which shops run with no employees? Find the shop names",
        "question_toks": [
            "Which",
            "shops",
            "run",
            "with",
            "no",
            "employees?",
            "Find",
            "the",
            "shop",
            "names"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT district FROM shop WHERE Number_products  <  3000 INTERSECT SELECT district FROM shop WHERE Number_products  >  10000",
        "query_toks": [
            "SELECT",
            "district",
            "FROM",
            "shop",
            "WHERE",
            "Number_products",
            "<",
            "3000",
            "INTERSECT",
            "SELECT",
            "district",
            "FROM",
            "shop",
            "WHERE",
            "Number_products",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "district",
            "from",
            "shop",
            "where",
            "number_products",
            "<",
            "value",
            "intersect",
            "select",
            "district",
            "from",
            "shop",
            "where",
            "number_products",
            ">",
            "value"
        ],
        "question": "Which district has both stores with less than 3000 goods and stores with more than 10000 goods?",
        "question_toks": [
            "Which",
            "district",
            "has",
            "both",
            "stores",
            "with",
            "less",
            "than",
            "3000",
            "goods",
            "and",
            "stores",
            "with",
            "more",
            "than",
            "10000",
            "goods?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        10000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "employee_hire_evaluation",
        "query": "SELECT district FROM shop WHERE Number_products  <  3000 INTERSECT SELECT district FROM shop WHERE Number_products  >  10000",
        "query_toks": [
            "SELECT",
            "district",
            "FROM",
            "shop",
            "WHERE",
            "Number_products",
            "<",
            "3000",
            "INTERSECT",
            "SELECT",
            "district",
            "FROM",
            "shop",
            "WHERE",
            "Number_products",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "district",
            "from",
            "shop",
            "where",
            "number_products",
            "<",
            "value",
            "intersect",
            "select",
            "district",
            "from",
            "shop",
            "where",
            "number_products",
            ">",
            "value"
        ],
        "question": "Find the districts in which there are both shops selling less than 3000 and more than 10000 merchandise.",
        "question_toks": [
            "Find",
            "the",
            "districts",
            "in",
            "which",
            "there",
            "are",
            "both",
            "shops",
            "selling",
            "less",
            "than",
            "3000",
            "and",
            "more",
            "than",
            "10000",
            "merchandise."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        10000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Name FROM teacher ORDER BY Age ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "teacher",
            "ORDER",
            "BY",
            "Age",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "teacher",
            "order",
            "by",
            "age",
            "asc"
        ],
        "question": "List the names of teachers from youngest to oldest.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "teachers",
            "from",
            "youngest",
            "to",
            "oldest."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Name FROM teacher ORDER BY Age ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "teacher",
            "ORDER",
            "BY",
            "Age",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "teacher",
            "order",
            "by",
            "age",
            "asc"
        ],
        "question": "What are the names of the teachers  from youngest to oldest?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "teachers",
            "from",
            "youngest",
            "to",
            "oldest?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "select name from teacher where hometown != \"little lever urban district\"",
        "query_toks": [
            "select",
            "name",
            "from",
            "teacher",
            "where",
            "hometown",
            "!=",
            "\"little lever urban district\""
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "teacher",
            "where",
            "hometown",
            "!",
            "=",
            "value"
        ],
        "question": "List the name of teachers who are not from Little Lever Urban District.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "teachers",
            "who",
            "are",
            "not",
            "from",
            "Little",
            "Lever",
            "Urban",
            "District."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"little lever urban district\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "select name from teacher where hometown != \"little lever urban district\"",
        "query_toks": [
            "select",
            "name",
            "from",
            "teacher",
            "where",
            "hometown",
            "!=",
            "\"little lever urban district\""
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "teacher",
            "where",
            "hometown",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of the teachers who do not come from Little Lever Urban District?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "teachers",
            "who",
            "do",
            "not",
            "come",
            "from",
            "Little",
            "Lever",
            "Urban",
            "District?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"little lever urban district\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Name FROM teacher WHERE Age  =  32 OR Age  =  33",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "teacher",
            "WHERE",
            "Age",
            "=",
            "32",
            "OR",
            "Age",
            "=",
            "33"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "teacher",
            "where",
            "age",
            "=",
            "value",
            "or",
            "age",
            "=",
            "value"
        ],
        "question": "Show the name of teachers who are either 32 or 33 years old?",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "teachers",
            "who",
            "are",
            "either",
            "32",
            "or",
            "33",
            "years",
            "old?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    32.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    33.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Name FROM teacher WHERE Age  =  32 OR Age  =  33",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "teacher",
            "WHERE",
            "Age",
            "=",
            "32",
            "OR",
            "Age",
            "=",
            "33"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "teacher",
            "where",
            "age",
            "=",
            "value",
            "or",
            "age",
            "=",
            "value"
        ],
        "question": "What are the names of the teachers who are either 32 or 33?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "teachers",
            "who",
            "are",
            "either",
            "32",
            "or",
            "33?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    32.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    33.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Hometown",
            "FROM",
            "teacher",
            "ORDER",
            "BY",
            "Age",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "hometown",
            "from",
            "teacher",
            "order",
            "by",
            "age",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the hometown of the youngest teacher?",
        "question_toks": [
            "What",
            "is",
            "the",
            "hometown",
            "of",
            "the",
            "youngest",
            "teacher?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Hometown FROM teacher ORDER BY Age ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Hometown",
            "FROM",
            "teacher",
            "ORDER",
            "BY",
            "Age",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "hometown",
            "from",
            "teacher",
            "order",
            "by",
            "age",
            "asc",
            "limit",
            "value"
        ],
        "question": "Where is the youngest teacher from?",
        "question_toks": [
            "Where",
            "is",
            "the",
            "youngest",
            "teacher",
            "from?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Hometown ,  COUNT(*) FROM teacher GROUP BY Hometown",
        "query_toks": [
            "SELECT",
            "Hometown",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "teacher",
            "GROUP",
            "BY",
            "Hometown"
        ],
        "query_toks_no_value": [
            "select",
            "hometown",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "teacher",
            "group",
            "by",
            "hometown"
        ],
        "question": "Show different hometown of teachers and the number of teachers from each place.",
        "question_toks": [
            "Show",
            "different",
            "hometown",
            "of",
            "teachers",
            "and",
            "the",
            "number",
            "of",
            "teachers",
            "from",
            "each",
            "place."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Hometown ,  COUNT(*) FROM teacher GROUP BY Hometown",
        "query_toks": [
            "SELECT",
            "Hometown",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "teacher",
            "GROUP",
            "BY",
            "Hometown"
        ],
        "query_toks_no_value": [
            "select",
            "hometown",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "teacher",
            "group",
            "by",
            "hometown"
        ],
        "question": "For each place, how many teachers are from there?",
        "question_toks": [
            "For",
            "each",
            "place,",
            "how",
            "many",
            "teachers",
            "are",
            "from",
            "there?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Hometown",
            "FROM",
            "teacher",
            "GROUP",
            "BY",
            "Hometown",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "hometown",
            "from",
            "teacher",
            "group",
            "by",
            "hometown",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the most common place that the teachers come from",
        "question_toks": [
            "List",
            "the",
            "most",
            "common",
            "place",
            "that",
            "the",
            "teachers",
            "come",
            "from"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Hometown",
            "FROM",
            "teacher",
            "GROUP",
            "BY",
            "Hometown",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "hometown",
            "from",
            "teacher",
            "group",
            "by",
            "hometown",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the towns from which at least two teachers come from?",
        "question_toks": [
            "What",
            "are",
            "the",
            "towns",
            "from",
            "which",
            "at",
            "least",
            "two",
            "teachers",
            "come",
            "from?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID  =  T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID  =  T3.Teacher_ID WHERE T2.Course  =  \"Math\"",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "course_arrange",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.Course_ID",
            "=",
            "T2.Course_ID",
            "JOIN",
            "teacher",
            "AS",
            "T3",
            "ON",
            "T1.Teacher_ID",
            "=",
            "T3.Teacher_ID",
            "WHERE",
            "T2.Course",
            "=",
            "``",
            "Math",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "course_arrange",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "join",
            "teacher",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "teacher_id",
            "=",
            "t3",
            ".",
            "teacher_id",
            "where",
            "t2",
            ".",
            "course",
            "=",
            "value"
        ],
        "question": "Show the name of the teacher who teaches math .",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "the",
            "teacher",
            "who",
            "teaches",
            "math",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Math\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID  =  T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID  =  T3.Teacher_ID WHERE T2.Course  =  \"Math\"",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "course_arrange",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.Course_ID",
            "=",
            "T2.Course_ID",
            "JOIN",
            "teacher",
            "AS",
            "T3",
            "ON",
            "T1.Teacher_ID",
            "=",
            "T3.Teacher_ID",
            "WHERE",
            "T2.Course",
            "=",
            "``",
            "Math",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "course_arrange",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "join",
            "teacher",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "teacher_id",
            "=",
            "t3",
            ".",
            "teacher_id",
            "where",
            "t2",
            ".",
            "course",
            "=",
            "value"
        ],
        "question": "What are the names of the people who teach math?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "people",
            "who",
            "teach",
            "math?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Math\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "teacher",
            "WHERE",
            "Teacher_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Teacher_id",
            "FROM",
            "course_arrange",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "teacher",
            "where",
            "teacher_id",
            "not",
            "in",
            "(",
            "select",
            "teacher_id",
            "from",
            "course_arrange",
            ")"
        ],
        "question": "List the names of teachers who have not been assigned to teach courses.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "teachers",
            "who",
            "have",
            "not",
            "been",
            "assigned",
            "to",
            "teach",
            "courses."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "course_teach",
        "query": "SELECT Name FROM teacher WHERE Teacher_id NOT IN (SELECT Teacher_id FROM course_arrange)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "teacher",
            "WHERE",
            "Teacher_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Teacher_id",
            "FROM",
            "course_arrange",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "teacher",
            "where",
            "teacher_id",
            "not",
            "in",
            "(",
            "select",
            "teacher_id",
            "from",
            "course_arrange",
            ")"
        ],
        "question": "What are the names of the teachers whose courses have not been assigned?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "teachers",
            "whose",
            "courses",
            "have",
            "not",
            "been",
            "assigned?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT count(*) FROM visitor WHERE age  <  30",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "visitor",
            "WHERE",
            "age",
            "<",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "visitor",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "How many visitors below  30 years old are there?",
        "question_toks": [
            "How",
            "many",
            "visitors",
            "below",
            "30",
            "years",
            "old",
            "are",
            "there?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT name FROM visitor WHERE Level_of_membership  >  4 ORDER BY Level_of_membership DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "visitor",
            "WHERE",
            "Level_of_membership",
            ">",
            "4",
            "ORDER",
            "BY",
            "Level_of_membership",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "visitor",
            "where",
            "level_of_membership",
            ">",
            "value",
            "order",
            "by",
            "level_of_membership",
            "desc"
        ],
        "question": "Find the names of the visitors that is higher than lv 4, and order the results by the level from high to low.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "visitors",
            "that",
            "is",
            "higher",
            "than",
            "lv",
            "4,",
            "and",
            "order",
            "the",
            "results",
            "by",
            "the",
            "level",
            "from",
            "high",
            "to",
            "low."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT avg(age) FROM visitor WHERE Level_of_membership  <=  4",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "visitor",
            "WHERE",
            "Level_of_membership",
            "<",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "visitor",
            "where",
            "level_of_membership",
            "<",
            "=",
            "value"
        ],
        "question": "What is the average age of the visitors not higher than lv 4?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "of",
            "the",
            "visitors",
            "not",
            "higher",
            "than",
            "lv",
            "4?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT museum_id ,  name FROM museum ORDER BY num_of_staff DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "museum_id",
            ",",
            "name",
            "FROM",
            "museum",
            "ORDER",
            "BY",
            "num_of_staff",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "museum_id",
            ",",
            "name",
            "from",
            "museum",
            "order",
            "by",
            "num_of_staff",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and name of the museum that has the most employees?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "museum",
            "that",
            "has",
            "the",
            "most",
            "employees?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT avg(num_of_staff) FROM museum WHERE open_year  <  2009",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "num_of_staff",
            ")",
            "FROM",
            "museum",
            "WHERE",
            "open_year",
            "<",
            "2009"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "num_of_staff",
            ")",
            "from",
            "museum",
            "where",
            "open_year",
            "<",
            "value"
        ],
        "question": "Find the average number of staff working for the museums that were open before 2009.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "number",
            "of",
            "staff",
            "working",
            "for",
            "the",
            "museums",
            "that",
            "were",
            "open",
            "before",
            "2009."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT Num_of_Staff ,  Open_Year FROM museum WHERE name  =  'Plaza Museum'",
        "query_toks": [
            "SELECT",
            "Num_of_Staff",
            ",",
            "Open_Year",
            "FROM",
            "museum",
            "WHERE",
            "name",
            "=",
            "'Plaza",
            "Museum",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "num_of_staff",
            ",",
            "open_year",
            "from",
            "museum",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What are the opening year and staff number of Plaza Museum?",
        "question_toks": [
            "What",
            "are",
            "the",
            "opening",
            "year",
            "and",
            "staff",
            "number",
            "of",
            "Plaza",
            "Museum?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Plaza Museum\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT name FROM museum WHERE num_of_staff  >  (SELECT min(num_of_staff) FROM museum WHERE open_year  >  2010)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "museum",
            "WHERE",
            "num_of_staff",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "num_of_staff",
            ")",
            "FROM",
            "museum",
            "WHERE",
            "open_year",
            ">",
            "2010",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "museum",
            "where",
            "num_of_staff",
            ">",
            "(",
            "select",
            "min",
            "(",
            "num_of_staff",
            ")",
            "from",
            "museum",
            "where",
            "open_year",
            ">",
            "value",
            ")"
        ],
        "question": "find the names of museums which have more staff than the minimum of all museums opened after 2010.",
        "question_toks": [
            "find",
            "the",
            "names",
            "of",
            "museums",
            "which",
            "have",
            "more",
            "staff",
            "than",
            "the",
            "minimum",
            "of",
            "all",
            "museums",
            "opened",
            "after",
            "2010."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                2010.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT t1.id ,  t1.name ,  t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id  =  t2.visitor_id GROUP BY t1.id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "t1.id",
            ",",
            "t1.name",
            ",",
            "t1.age",
            "FROM",
            "visitor",
            "AS",
            "t1",
            "JOIN",
            "visit",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.visitor_id",
            "GROUP",
            "BY",
            "t1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "visitor",
            "as",
            "t1",
            "join",
            "visit",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "visitor_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "find the id, name and age for people who visited some museums more than once.",
        "question_toks": [
            "find",
            "the",
            "id,",
            "name",
            "and",
            "age",
            "for",
            "people",
            "who",
            "visited",
            "some",
            "museums",
            "more",
            "than",
            "once."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT t2.visitor_id ,  t1.name ,  t1.Level_of_membership FROM visitor AS t1 JOIN visit AS t2 ON t1.id  =  t2.visitor_id GROUP BY t2.visitor_id ORDER BY sum(t2.Total_spent) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.visitor_id",
            ",",
            "t1.name",
            ",",
            "t1.Level_of_membership",
            "FROM",
            "visitor",
            "AS",
            "t1",
            "JOIN",
            "visit",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.visitor_id",
            "GROUP",
            "BY",
            "t2.visitor_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t2.Total_spent",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "visitor_id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "level_of_membership",
            "from",
            "visitor",
            "as",
            "t1",
            "join",
            "visit",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "visitor_id",
            "group",
            "by",
            "t2",
            ".",
            "visitor_id",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "total_spent",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the id, name and membership level of people who have paid the largest amount of money overall in all museum tickets?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id,",
            "name",
            "and",
            "membership",
            "level",
            "of",
            "people",
            "who",
            "have",
            "paid",
            "the",
            "largest",
            "amount",
            "of",
            "money",
            "overall",
            "in",
            "all",
            "museum",
            "tickets?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT t2.Museum_ID ,  t1.name FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID  =  t2.Museum_ID GROUP BY t2.Museum_ID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.Museum_ID",
            ",",
            "t1.name",
            "FROM",
            "museum",
            "AS",
            "t1",
            "JOIN",
            "visit",
            "AS",
            "t2",
            "ON",
            "t1.Museum_ID",
            "=",
            "t2.Museum_ID",
            "GROUP",
            "BY",
            "t2.Museum_ID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "museum_id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "museum",
            "as",
            "t1",
            "join",
            "visit",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "museum_id",
            "=",
            "t2",
            ".",
            "museum_id",
            "group",
            "by",
            "t2",
            ".",
            "museum_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the id and name of the museum that has people come most times?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "museum",
            "that",
            "has",
            "people",
            "come",
            "most",
            "times?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT name FROM museum WHERE Museum_ID NOT IN (SELECT museum_id FROM visit)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "museum",
            "WHERE",
            "Museum_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "museum_id",
            "FROM",
            "visit",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "museum",
            "where",
            "museum_id",
            "not",
            "in",
            "(",
            "select",
            "museum_id",
            "from",
            "visit",
            ")"
        ],
        "question": "What is the name of the museum that had no person come yet?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "museum",
            "that",
            "had",
            "no",
            "person",
            "come",
            "yet?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT t1.name ,  t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id  =  t2.visitor_id ORDER BY t2.num_of_ticket DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.age",
            "FROM",
            "visitor",
            "AS",
            "t1",
            "JOIN",
            "visit",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.visitor_id",
            "ORDER",
            "BY",
            "t2.num_of_ticket",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "visitor",
            "as",
            "t1",
            "join",
            "visit",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "visitor_id",
            "order",
            "by",
            "t2",
            ".",
            "num_of_ticket",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and age of the people who bought the most tickets at once.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "age",
            "of",
            "the",
            "people",
            "who",
            "bought",
            "the",
            "most",
            "tickets",
            "at",
            "once."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "museum_visit",
        "query": "SELECT sum(t2.Total_spent) FROM visitor AS t1 JOIN visit AS t2 ON t1.id  =  t2.visitor_id WHERE t1.Level_of_membership  =  1",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t2.Total_spent",
            ")",
            "FROM",
            "visitor",
            "AS",
            "t1",
            "JOIN",
            "visit",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.visitor_id",
            "WHERE",
            "t1.Level_of_membership",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "total_spent",
            ")",
            "from",
            "visitor",
            "as",
            "t1",
            "join",
            "visit",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "visitor_id",
            "where",
            "t1",
            ".",
            "level_of_membership",
            "=",
            "value"
        ],
        "question": "What is the total ticket expense of the lv 1 visitors?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "ticket",
            "expense",
            "of",
            "the",
            "lv",
            "1",
            "visitors?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT first_name ,  birth_date FROM players WHERE country_code  =  'USA'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "birth_date",
            "FROM",
            "players",
            "WHERE",
            "country_code",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "birth_date",
            "from",
            "players",
            "where",
            "country_code",
            "=",
            "value"
        ],
        "question": "List the first name and birth date of all players from USA.",
        "question_toks": [
            "List",
            "the",
            "first",
            "name",
            "and",
            "birth",
            "date",
            "of",
            "all",
            "players",
            "from",
            "USA."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT first_name ,  birth_date FROM players WHERE country_code  =  'USA'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "birth_date",
            "FROM",
            "players",
            "WHERE",
            "country_code",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "birth_date",
            "from",
            "players",
            "where",
            "country_code",
            "=",
            "value"
        ],
        "question": "What are the first names and birth dates of players from the USA?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "birth",
            "dates",
            "of",
            "players",
            "from",
            "the",
            "USA?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*)  >  10",
        "query_toks": [
            "SELECT",
            "tourney_name",
            "FROM",
            "matches",
            "GROUP",
            "BY",
            "tourney_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "tourney_name",
            "from",
            "matches",
            "group",
            "by",
            "tourney_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name of tournament that has more than 10 matches.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "tournament",
            "that",
            "has",
            "more",
            "than",
            "10",
            "matches."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT tourney_name FROM matches GROUP BY tourney_name HAVING count(*)  >  10",
        "query_toks": [
            "SELECT",
            "tourney_name",
            "FROM",
            "matches",
            "GROUP",
            "BY",
            "tourney_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "tourney_name",
            "from",
            "matches",
            "group",
            "by",
            "tourney_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of tournaments that have more than 10 matches?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "tournaments",
            "that",
            "have",
            "more",
            "than",
            "10",
            "matches?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT winner_name FROM matches WHERE YEAR  =  2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR  =  2016",
        "query_toks": [
            "SELECT",
            "winner_name",
            "FROM",
            "matches",
            "WHERE",
            "YEAR",
            "=",
            "2013",
            "INTERSECT",
            "SELECT",
            "winner_name",
            "FROM",
            "matches",
            "WHERE",
            "YEAR",
            "=",
            "2016"
        ],
        "query_toks_no_value": [
            "select",
            "winner_name",
            "from",
            "matches",
            "where",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "winner_name",
            "from",
            "matches",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "List the names of all winners who played in both 2013 and 2016.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "winners",
            "who",
            "played",
            "in",
            "both",
            "2013",
            "and",
            "2016."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    34,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        2016.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT winner_name FROM matches WHERE YEAR  =  2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR  =  2016",
        "query_toks": [
            "SELECT",
            "winner_name",
            "FROM",
            "matches",
            "WHERE",
            "YEAR",
            "=",
            "2013",
            "INTERSECT",
            "SELECT",
            "winner_name",
            "FROM",
            "matches",
            "WHERE",
            "YEAR",
            "=",
            "2016"
        ],
        "query_toks_no_value": [
            "select",
            "winner_name",
            "from",
            "matches",
            "where",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "winner_name",
            "from",
            "matches",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are the names of players who won in both 2013 and 2016?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "players",
            "who",
            "won",
            "in",
            "both",
            "2013",
            "and",
            "2016?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    34,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        2016.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT count(*) FROM matches WHERE YEAR  =  2013 OR YEAR  =  2016",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "matches",
            "WHERE",
            "YEAR",
            "=",
            "2013",
            "OR",
            "YEAR",
            "=",
            "2016"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "matches",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "List the number of all matches who played in 2013 or 2016.",
        "question_toks": [
            "List",
            "the",
            "number",
            "of",
            "all",
            "matches",
            "who",
            "played",
            "in",
            "2013",
            "or",
            "2016."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT count(*) FROM matches WHERE YEAR  =  2013 OR YEAR  =  2016",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "matches",
            "WHERE",
            "YEAR",
            "=",
            "2013",
            "OR",
            "YEAR",
            "=",
            "2016"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "matches",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "How many matches were played in 2013 or 2016?",
        "question_toks": [
            "How",
            "many",
            "matches",
            "were",
            "played",
            "in",
            "2013",
            "or",
            "2016?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id WHERE T2.tourney_name  =  'WTA Championships' INTERSECT SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id WHERE T2.tourney_name  =  'Australian Open'",
        "query_toks": [
            "SELECT",
            "T1.country_code",
            ",",
            "T1.first_name",
            "FROM",
            "players",
            "AS",
            "T1",
            "JOIN",
            "matches",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.winner_id",
            "WHERE",
            "T2.tourney_name",
            "=",
            "'WTA",
            "Championships",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.country_code",
            ",",
            "T1.first_name",
            "FROM",
            "players",
            "AS",
            "T1",
            "JOIN",
            "matches",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.winner_id",
            "WHERE",
            "T2.tourney_name",
            "=",
            "'Australian",
            "Open",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country_code",
            ",",
            "t1",
            ".",
            "first_name",
            "from",
            "players",
            "as",
            "t1",
            "join",
            "matches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "winner_id",
            "where",
            "t2",
            ".",
            "tourney_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "country_code",
            ",",
            "t1",
            ".",
            "first_name",
            "from",
            "players",
            "as",
            "t1",
            "join",
            "matches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "winner_id",
            "where",
            "t2",
            ".",
            "tourney_name",
            "=",
            "value"
        ],
        "question": "What are the country code and first name of the players who won in both WTA Championships and Australian Open?",
        "question_toks": [
            "What",
            "are",
            "the",
            "country",
            "code",
            "and",
            "first",
            "name",
            "of",
            "the",
            "players",
            "who",
            "won",
            "in",
            "both",
            "WTA",
            "Championships",
            "and",
            "Australian",
            "Open?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"WTA Championships\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        "\"Australian Open\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id WHERE T2.tourney_name  =  'WTA Championships' INTERSECT SELECT T1.country_code ,  T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id  =  T2.winner_id WHERE T2.tourney_name  =  'Australian Open'",
        "query_toks": [
            "SELECT",
            "T1.country_code",
            ",",
            "T1.first_name",
            "FROM",
            "players",
            "AS",
            "T1",
            "JOIN",
            "matches",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.winner_id",
            "WHERE",
            "T2.tourney_name",
            "=",
            "'WTA",
            "Championships",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.country_code",
            ",",
            "T1.first_name",
            "FROM",
            "players",
            "AS",
            "T1",
            "JOIN",
            "matches",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.winner_id",
            "WHERE",
            "T2.tourney_name",
            "=",
            "'Australian",
            "Open",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country_code",
            ",",
            "t1",
            ".",
            "first_name",
            "from",
            "players",
            "as",
            "t1",
            "join",
            "matches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "winner_id",
            "where",
            "t2",
            ".",
            "tourney_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "country_code",
            ",",
            "t1",
            ".",
            "first_name",
            "from",
            "players",
            "as",
            "t1",
            "join",
            "matches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "winner_id",
            "where",
            "t2",
            ".",
            "tourney_name",
            "=",
            "value"
        ],
        "question": "What are the first names and country codes for players who won both the WTA Championships and the Australian Open?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "country",
            "codes",
            "for",
            "players",
            "who",
            "won",
            "both",
            "the",
            "WTA",
            "Championships",
            "and",
            "the",
            "Australian",
            "Open?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"WTA Championships\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        "\"Australian Open\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT first_name ,  country_code FROM players ORDER BY birth_date LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "country_code",
            "FROM",
            "players",
            "ORDER",
            "BY",
            "birth_date",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "country_code",
            "from",
            "players",
            "order",
            "by",
            "birth_date",
            "limit",
            "value"
        ],
        "question": "Find the first name and country code of the oldest player.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "country",
            "code",
            "of",
            "the",
            "oldest",
            "player."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT first_name ,  country_code FROM players ORDER BY birth_date LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "country_code",
            "FROM",
            "players",
            "ORDER",
            "BY",
            "birth_date",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "country_code",
            "from",
            "players",
            "order",
            "by",
            "birth_date",
            "limit",
            "value"
        ],
        "question": "What is the first name and country code of the oldest player?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "and",
            "country",
            "code",
            "of",
            "the",
            "oldest",
            "player?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT first_name ,  last_name FROM players ORDER BY birth_date",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "players",
            "ORDER",
            "BY",
            "birth_date"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "players",
            "order",
            "by",
            "birth_date"
        ],
        "question": "List the first and last name of all players ordered by their age.",
        "question_toks": [
            "List",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "players",
            "ordered",
            "by",
            "their",
            "age."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT first_name ,  last_name FROM players ORDER BY birth_date",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "players",
            "ORDER",
            "BY",
            "birth_date"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "players",
            "order",
            "by",
            "birth_date"
        ],
        "question": "What are the full names of all players, sorted by age?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "all",
            "players,",
            "sorted",
            "by",
            "age?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT first_name ,  last_name FROM players WHERE hand  =  'L' ORDER BY birth_date",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "players",
            "WHERE",
            "hand",
            "=",
            "'L",
            "'",
            "ORDER",
            "BY",
            "birth_date"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "players",
            "where",
            "hand",
            "=",
            "value",
            "order",
            "by",
            "birth_date"
        ],
        "question": "List the first and last name of all players who are left handed  in the order of age.",
        "question_toks": [
            "List",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "players",
            "who",
            "are",
            "left",
            "handed",
            "in",
            "the",
            "order",
            "of",
            "age."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"L\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT first_name ,  last_name FROM players WHERE hand  =  'L' ORDER BY birth_date",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "players",
            "WHERE",
            "hand",
            "=",
            "'L",
            "'",
            "ORDER",
            "BY",
            "birth_date"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "players",
            "where",
            "hand",
            "=",
            "value",
            "order",
            "by",
            "birth_date"
        ],
        "question": "What are the full names of all left handed players, in order of age?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "all",
            "left",
            "handed",
            "players,",
            "in",
            "order",
            "of",
            "age?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"L\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT winner_name ,  winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "winner_name",
            ",",
            "winner_rank_points",
            "FROM",
            "matches",
            "GROUP",
            "BY",
            "winner_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "winner_name",
            ",",
            "winner_rank_points",
            "from",
            "matches",
            "group",
            "by",
            "winner_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and rank points of the person who won the most times.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "rank",
            "points",
            "of",
            "the",
            "person",
            "who",
            "won",
            "the",
            "most",
            "times."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT winner_name ,  winner_rank_points FROM matches GROUP BY winner_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "winner_name",
            ",",
            "winner_rank_points",
            "FROM",
            "matches",
            "GROUP",
            "BY",
            "winner_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "winner_name",
            ",",
            "winner_rank_points",
            "from",
            "matches",
            "group",
            "by",
            "winner_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the player who has won the most matches, and how many rank points does this player have?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "player",
            "who",
            "has",
            "won",
            "the",
            "most",
            "matches,",
            "and",
            "how",
            "many",
            "rank",
            "points",
            "does",
            "this",
            "player",
            "have?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT winner_name FROM matches WHERE tourney_name  =  'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "winner_name",
            "FROM",
            "matches",
            "WHERE",
            "tourney_name",
            "=",
            "'Australian",
            "Open",
            "'",
            "ORDER",
            "BY",
            "winner_rank_points",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "winner_name",
            "from",
            "matches",
            "where",
            "tourney_name",
            "=",
            "value",
            "order",
            "by",
            "winner_rank_points",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the winner who has the highest rank points and participated in the Australian Open.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "winner",
            "who",
            "has",
            "the",
            "highest",
            "rank",
            "points",
            "and",
            "participated",
            "in",
            "the",
            "Australian",
            "Open."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Australian Open\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT winner_name FROM matches WHERE tourney_name  =  'Australian Open' ORDER BY winner_rank_points DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "winner_name",
            "FROM",
            "matches",
            "WHERE",
            "tourney_name",
            "=",
            "'Australian",
            "Open",
            "'",
            "ORDER",
            "BY",
            "winner_rank_points",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "winner_name",
            "from",
            "matches",
            "where",
            "tourney_name",
            "=",
            "value",
            "order",
            "by",
            "winner_rank_points",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the winner with the most rank points who participated in the Australian Open?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "winner",
            "with",
            "the",
            "most",
            "rank",
            "points",
            "who",
            "participated",
            "in",
            "the",
            "Australian",
            "Open?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Australian Open\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT winner_name ,  loser_name FROM matches ORDER BY minutes DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "winner_name",
            ",",
            "loser_name",
            "FROM",
            "matches",
            "ORDER",
            "BY",
            "minutes",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "winner_name",
            ",",
            "loser_name",
            "from",
            "matches",
            "order",
            "by",
            "minutes",
            "desc",
            "limit",
            "value"
        ],
        "question": "find the names of loser and winner who played in the match that last for the longest of time.",
        "question_toks": [
            "find",
            "the",
            "names",
            "of",
            "loser",
            "and",
            "winner",
            "who",
            "played",
            "in",
            "the",
            "match",
            "that",
            "last",
            "for",
            "the",
            "longest",
            "of",
            "time."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT winner_name ,  loser_name FROM matches ORDER BY minutes DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "winner_name",
            ",",
            "loser_name",
            "FROM",
            "matches",
            "ORDER",
            "BY",
            "minutes",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "winner_name",
            ",",
            "loser_name",
            "from",
            "matches",
            "order",
            "by",
            "minutes",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the winner and loser who played in the longest match?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "winner",
            "and",
            "loser",
            "who",
            "played",
            "in",
            "the",
            "longest",
            "match?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT count(*) ,  country_code FROM players GROUP BY country_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country_code",
            "FROM",
            "players",
            "GROUP",
            "BY",
            "country_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country_code",
            "from",
            "players",
            "group",
            "by",
            "country_code"
        ],
        "question": "find the number of players for each nation.",
        "question_toks": [
            "find",
            "the",
            "number",
            "of",
            "players",
            "for",
            "each",
            "nation."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT count(*) ,  country_code FROM players GROUP BY country_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country_code",
            "FROM",
            "players",
            "GROUP",
            "BY",
            "country_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country_code",
            "from",
            "players",
            "group",
            "by",
            "country_code"
        ],
        "question": "How many players are from each nation?",
        "question_toks": [
            "How",
            "many",
            "players",
            "are",
            "from",
            "each",
            "nation?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country_code",
            "FROM",
            "players",
            "GROUP",
            "BY",
            "country_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country_code",
            "from",
            "players",
            "group",
            "by",
            "country_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "find the code of the nation where has the greatest number of players.",
        "question_toks": [
            "find",
            "the",
            "code",
            "of",
            "the",
            "nation",
            "where",
            "has",
            "the",
            "greatest",
            "number",
            "of",
            "players."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT country_code FROM players GROUP BY country_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country_code",
            "FROM",
            "players",
            "GROUP",
            "BY",
            "country_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country_code",
            "from",
            "players",
            "group",
            "by",
            "country_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the code of the nation with the most players?",
        "question_toks": [
            "What",
            "is",
            "the",
            "code",
            "of",
            "the",
            "nation",
            "with",
            "the",
            "most",
            "players?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT country_code FROM players GROUP BY country_code HAVING count(*)  >  50",
        "query_toks": [
            "SELECT",
            "country_code",
            "FROM",
            "players",
            "GROUP",
            "BY",
            "country_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "country_code",
            "from",
            "players",
            "group",
            "by",
            "country_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the codes of nations that have more than 50 players.",
        "question_toks": [
            "Find",
            "the",
            "codes",
            "of",
            "nations",
            "that",
            "have",
            "more",
            "than",
            "50",
            "players."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT country_code FROM players GROUP BY country_code HAVING count(*)  >  50",
        "query_toks": [
            "SELECT",
            "country_code",
            "FROM",
            "players",
            "GROUP",
            "BY",
            "country_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "country_code",
            "from",
            "players",
            "group",
            "by",
            "country_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the codes of nations with more than 50 players?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "of",
            "nations",
            "with",
            "more",
            "than",
            "50",
            "players?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT DISTINCT winner_name ,  winner_rank FROM matches ORDER BY winner_age LIMIT 3",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "winner_name",
            ",",
            "winner_rank",
            "FROM",
            "matches",
            "ORDER",
            "BY",
            "winner_age",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "winner_name",
            ",",
            "winner_rank",
            "from",
            "matches",
            "order",
            "by",
            "winner_age",
            "limit",
            "value"
        ],
        "question": "Find the name and rank of the 3 youngest victors across all matches.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "rank",
            "of",
            "the",
            "3",
            "youngest",
            "victors",
            "across",
            "all",
            "matches."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT DISTINCT winner_name ,  winner_rank FROM matches ORDER BY winner_age LIMIT 3",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "winner_name",
            ",",
            "winner_rank",
            "FROM",
            "matches",
            "ORDER",
            "BY",
            "winner_age",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "winner_name",
            ",",
            "winner_rank",
            "from",
            "matches",
            "order",
            "by",
            "winner_age",
            "limit",
            "value"
        ],
        "question": "What are the names and ranks of the three youngest victors across all matches?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ranks",
            "of",
            "the",
            "three",
            "youngest",
            "victors",
            "across",
            "all",
            "matches?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name  =  'WTA Championships' AND winner_hand  =  'L'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "winner_name",
            ")",
            "FROM",
            "matches",
            "WHERE",
            "tourney_name",
            "=",
            "'WTA",
            "Championships",
            "'",
            "AND",
            "winner_hand",
            "=",
            "'L",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "winner_name",
            ")",
            "from",
            "matches",
            "where",
            "tourney_name",
            "=",
            "value",
            "and",
            "winner_hand",
            "=",
            "value"
        ],
        "question": "How many different winners both participated in the WTA Championships and were left handed?",
        "question_toks": [
            "How",
            "many",
            "different",
            "winners",
            "both",
            "participated",
            "in",
            "the",
            "WTA",
            "Championships",
            "and",
            "were",
            "left",
            "handed?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                34,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"WTA Championships\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"L\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "wta_1",
        "query": "SELECT count(DISTINCT winner_name) FROM matches WHERE tourney_name  =  'WTA Championships' AND winner_hand  =  'L'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "winner_name",
            ")",
            "FROM",
            "matches",
            "WHERE",
            "tourney_name",
            "=",
            "'WTA",
            "Championships",
            "'",
            "AND",
            "winner_hand",
            "=",
            "'L",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "winner_name",
            ")",
            "from",
            "matches",
            "where",
            "tourney_name",
            "=",
            "value",
            "and",
            "winner_hand",
            "=",
            "value"
        ],
        "question": "Find the number of left handed winners who participated in the WTA Championships.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "left",
            "handed",
            "winners",
            "who",
            "participated",
            "in",
            "the",
            "WTA",
            "Championships."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                34,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"WTA Championships\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"L\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "battle_death",
        "query": "SELECT count(*) FROM ship WHERE disposition_of_ship  =  'Captured'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ship",
            "WHERE",
            "disposition_of_ship",
            "=",
            "'Captured",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ship",
            "where",
            "disposition_of_ship",
            "=",
            "value"
        ],
        "question": "How many ships ended up being Captured?",
        "question_toks": [
            "How",
            "many",
            "ships",
            "ended",
            "up",
            "being",
            "Captured?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Captured\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "battle_death",
        "query": "SELECT T1.id ,  T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id  =  T2.lost_in_battle JOIN death AS T3 ON T2.id  =  T3.caused_by_ship_id GROUP BY T1.id HAVING sum(T3.killed)  >  10",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "battle",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.lost_in_battle",
            "JOIN",
            "death",
            "AS",
            "T3",
            "ON",
            "T2.id",
            "=",
            "T3.caused_by_ship_id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "sum",
            "(",
            "T3.killed",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "battle",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "lost_in_battle",
            "join",
            "death",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "caused_by_ship_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "sum",
            "(",
            "t3",
            ".",
            "killed",
            ")",
            ">",
            "value"
        ],
        "question": "What are the ids and names of the battles that led to more than 10 people died.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "the",
            "battles",
            "that",
            "led",
            "to",
            "more",
            "than",
            "10",
            "people",
            "died."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            17,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "battle_death",
        "query": "SELECT T2.id ,  T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id  =  T2.id GROUP BY T2.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.id",
            ",",
            "T2.name",
            "FROM",
            "death",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "t2",
            "ON",
            "T1.caused_by_ship_id",
            "=",
            "T2.id",
            "GROUP",
            "BY",
            "T2.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "id",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "death",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "caused_by_ship_id",
            "=",
            "t2",
            ".",
            "id",
            "group",
            "by",
            "t2",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the ship id and name that caused most total injuries?",
        "question_toks": [
            "What",
            "is",
            "the",
            "ship",
            "id",
            "and",
            "name",
            "that",
            "caused",
            "most",
            "total",
            "injuries?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "battle_death",
        "query": "SELECT T1.name ,  T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id  =  T2.lost_in_battle WHERE T2.name  =  'Lettice' INTERSECT SELECT T1.name ,  T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id  =  T2.lost_in_battle WHERE T2.name  =  'HMS Atalanta'",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.date",
            "FROM",
            "battle",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.lost_in_battle",
            "WHERE",
            "T2.name",
            "=",
            "'Lettice",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            ",",
            "T1.date",
            "FROM",
            "battle",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.lost_in_battle",
            "WHERE",
            "T2.name",
            "=",
            "'HMS",
            "Atalanta",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "date",
            "from",
            "battle",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "lost_in_battle",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "date",
            "from",
            "battle",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "lost_in_battle",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the name and date the battle that has lost  Lettice and HMS Atalanta",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "date",
            "the",
            "battle",
            "that",
            "has",
            "lost",
            "Lettice",
            "and",
            "HMS",
            "Atalanta"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Lettice\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"HMS Atalanta\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "battle_death",
        "query": "SELECT name ,  RESULT ,  bulgarian_commander FROM battle EXCEPT SELECT T1.name ,  T1.result ,  T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id  =  T2.lost_in_battle WHERE T2.location  =  'English Channel'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "RESULT",
            ",",
            "bulgarian_commander",
            "FROM",
            "battle",
            "EXCEPT",
            "SELECT",
            "T1.name",
            ",",
            "T1.result",
            ",",
            "T1.bulgarian_commander",
            "FROM",
            "battle",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.lost_in_battle",
            "WHERE",
            "T2.location",
            "=",
            "'English",
            "Channel",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "result",
            ",",
            "bulgarian_commander",
            "from",
            "battle",
            "except",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "result",
            ",",
            "t1",
            ".",
            "bulgarian_commander",
            "from",
            "battle",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "lost_in_battle",
            "where",
            "t2",
            ".",
            "location",
            "=",
            "value"
        ],
        "question": "Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.",
        "question_toks": [
            "Show",
            "names,",
            "results",
            "and",
            "bulgarian",
            "commanders",
            "of",
            "the",
            "battles",
            "with",
            "no",
            "ships",
            "lost",
            "in",
            "the",
            "'English",
            "Channel'."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"English Channel\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT course_description FROM Courses WHERE course_name  =  'math'",
        "query_toks": [
            "SELECT",
            "course_description",
            "FROM",
            "Courses",
            "WHERE",
            "course_name",
            "=",
            "'math",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "course_description",
            "from",
            "courses",
            "where",
            "course_name",
            "=",
            "value"
        ],
        "question": "How is the math described?",
        "question_toks": [
            "How",
            "is",
            "the",
            "math",
            "described?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"math\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT course_description FROM Courses WHERE course_name  =  'math'",
        "query_toks": [
            "SELECT",
            "course_description",
            "FROM",
            "Courses",
            "WHERE",
            "course_name",
            "=",
            "'math",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "course_description",
            "from",
            "courses",
            "where",
            "course_name",
            "=",
            "value"
        ],
        "question": "What are the descriptions for all the math?",
        "question_toks": [
            "What",
            "are",
            "the",
            "descriptions",
            "for",
            "all",
            "the",
            "math?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"math\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT zip_postcode FROM Addresses WHERE city  =  'Port Chelsea'",
        "query_toks": [
            "SELECT",
            "zip_postcode",
            "FROM",
            "Addresses",
            "WHERE",
            "city",
            "=",
            "'Port",
            "Chelsea",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "zip_postcode",
            "from",
            "addresses",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What is the zip code of the address in Port Chelsea?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "of",
            "the",
            "address",
            "in",
            "Port",
            "Chelsea?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Port Chelsea\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT zip_postcode FROM Addresses WHERE city  =  'Port Chelsea'",
        "query_toks": [
            "SELECT",
            "zip_postcode",
            "FROM",
            "Addresses",
            "WHERE",
            "city",
            "=",
            "'Port",
            "Chelsea",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "zip_postcode",
            "from",
            "addresses",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What is the zip code for Port Chelsea?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "for",
            "Port",
            "Chelsea?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Port Chelsea\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id  =  T2.address_id WHERE T2.state_province_county  =  'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id  =  T4.student_id",
        "query_toks": [
            "SELECT",
            "T1.last_name",
            "FROM",
            "Students",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.current_address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T2.state_province_county",
            "=",
            "'NorthCarolina",
            "'",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "T3.last_name",
            "FROM",
            "Students",
            "AS",
            "T3",
            "JOIN",
            "Student_Enrolment",
            "AS",
            "T4",
            "ON",
            "T3.student_id",
            "=",
            "T4.student_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "current_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "state_province_county",
            "=",
            "value",
            "except",
            "select",
            "distinct",
            "t3",
            ".",
            "last_name",
            "from",
            "students",
            "as",
            "t3",
            "join",
            "student_enrolment",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "student_id",
            "=",
            "t4",
            ".",
            "student_id"
        ],
        "question": "Find the last name of the students who currently live in North Carolina but have not registered in any degree program.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "the",
            "students",
            "who",
            "currently",
            "live",
            "in",
            "North",
            "Carolina",
            "but",
            "have",
            "not",
            "registered",
            "in",
            "any",
            "degree",
            "program."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"NorthCarolina\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    37,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id  =  T2.address_id WHERE T2.state_province_county  =  'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id  =  T4.student_id",
        "query_toks": [
            "SELECT",
            "T1.last_name",
            "FROM",
            "Students",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.current_address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T2.state_province_county",
            "=",
            "'NorthCarolina",
            "'",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "T3.last_name",
            "FROM",
            "Students",
            "AS",
            "T3",
            "JOIN",
            "Student_Enrolment",
            "AS",
            "T4",
            "ON",
            "T3.student_id",
            "=",
            "T4.student_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "current_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "state_province_county",
            "=",
            "value",
            "except",
            "select",
            "distinct",
            "t3",
            ".",
            "last_name",
            "from",
            "students",
            "as",
            "t3",
            "join",
            "student_enrolment",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "student_id",
            "=",
            "t4",
            ".",
            "student_id"
        ],
        "question": "What are the last name of the students who live in North Carolina but have not registered in any degree programs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "name",
            "of",
            "the",
            "students",
            "who",
            "live",
            "in",
            "North",
            "Carolina",
            "but",
            "have",
            "not",
            "registered",
            "in",
            "any",
            "degree",
            "programs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"NorthCarolina\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    37,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT cell_mobile_number FROM Students WHERE first_name  =  'Timmothy' AND last_name  =  'Ward'",
        "query_toks": [
            "SELECT",
            "cell_mobile_number",
            "FROM",
            "Students",
            "WHERE",
            "first_name",
            "=",
            "'Timmothy",
            "'",
            "AND",
            "last_name",
            "=",
            "'Ward",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cell_mobile_number",
            "from",
            "students",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the phone number of Timmothy Ward?",
        "question_toks": [
            "What",
            "is",
            "the",
            "phone",
            "number",
            "of",
            "Timmothy",
            "Ward?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Timmothy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Ward\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "select cell_mobile_number from students where first_name  =  'timmothy' and last_name  =  'ward'",
        "query_toks": [
            "select",
            "cell_mobile_number",
            "from",
            "students",
            "where",
            "first_name",
            "=",
            "\"timmothy\"",
            "and",
            "last_name",
            "=",
            "\"ward\""
        ],
        "query_toks_no_value": [
            "select",
            "cell_mobile_number",
            "from",
            "students",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the mobile phone number of the student named Timmothy Ward ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "mobile",
            "phone",
            "number",
            "of",
            "the",
            "student",
            "named",
            "Timmothy",
            "Ward",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"timmothy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"ward\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT first_name ,  middle_name ,  last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "FROM",
            "Students",
            "ORDER",
            "BY",
            "date_first_registered",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "from",
            "students",
            "order",
            "by",
            "date_first_registered",
            "asc",
            "limit",
            "value"
        ],
        "question": "Who is the student register earliest? List the first name, middle name and last name.",
        "question_toks": [
            "Who",
            "is",
            "the",
            "student",
            "register",
            "earliest?",
            "List",
            "the",
            "first",
            "name,",
            "middle",
            "name",
            "and",
            "last",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT first_name ,  middle_name ,  last_name FROM Students ORDER BY date_left ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "FROM",
            "Students",
            "ORDER",
            "BY",
            "date_left",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "from",
            "students",
            "order",
            "by",
            "date_left",
            "asc",
            "limit",
            "value"
        ],
        "question": "Who is the earliest graduate of the school? List the first name, middle name and last name.",
        "question_toks": [
            "Who",
            "is",
            "the",
            "earliest",
            "graduate",
            "of",
            "the",
            "school?",
            "List",
            "the",
            "first",
            "name,",
            "middle",
            "name",
            "and",
            "last",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT first_name ,  middle_name ,  last_name FROM Students ORDER BY date_left ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "FROM",
            "Students",
            "ORDER",
            "BY",
            "date_left",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "from",
            "students",
            "order",
            "by",
            "date_left",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the first, middle, and last name of the earliest school graduate?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first,",
            "middle,",
            "and",
            "last",
            "name",
            "of",
            "the",
            "earliest",
            "school",
            "graduate?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT T1.address_id ,  T1.line_1 ,  T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id  =  T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.address_id",
            ",",
            "T1.line_1",
            ",",
            "T1.line_2",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.current_address_id",
            "GROUP",
            "BY",
            "T1.address_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address_id",
            ",",
            "t1",
            ".",
            "line_1",
            ",",
            "t1",
            ".",
            "line_2",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "current_address_id",
            "group",
            "by",
            "t1",
            ".",
            "address_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which place holds the most number of students currently? List the id and all lines.",
        "question_toks": [
            "Which",
            "place",
            "holds",
            "the",
            "most",
            "number",
            "of",
            "students",
            "currently?",
            "List",
            "the",
            "id",
            "and",
            "all",
            "lines."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT T1.address_id ,  T1.line_1 ,  T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id  =  T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.address_id",
            ",",
            "T1.line_1",
            ",",
            "T1.line_2",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.current_address_id",
            "GROUP",
            "BY",
            "T1.address_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address_id",
            ",",
            "t1",
            ".",
            "line_1",
            ",",
            "t1",
            ".",
            "line_2",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "current_address_id",
            "group",
            "by",
            "t1",
            ".",
            "address_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id, line 1, and line 2 of the place with the most students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id,",
            "line",
            "1,",
            "and",
            "line",
            "2",
            "of",
            "the",
            "place",
            "with",
            "the",
            "most",
            "students?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id  =  T2.degree_program_id WHERE degree_summary_name  =  'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id  =  T2.degree_program_id WHERE degree_summary_name  =  'Bachelor'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.semester_id",
            "FROM",
            "Degree_Programs",
            "AS",
            "T1",
            "JOIN",
            "Student_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.degree_program_id",
            "=",
            "T2.degree_program_id",
            "WHERE",
            "degree_summary_name",
            "=",
            "'Master",
            "'",
            "INTERSECT",
            "SELECT",
            "DISTINCT",
            "T2.semester_id",
            "FROM",
            "Degree_Programs",
            "AS",
            "T1",
            "JOIN",
            "Student_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.degree_program_id",
            "=",
            "T2.degree_program_id",
            "WHERE",
            "degree_summary_name",
            "=",
            "'Bachelor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "semester_id",
            "from",
            "degree_programs",
            "as",
            "t1",
            "join",
            "student_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "degree_program_id",
            "=",
            "t2",
            ".",
            "degree_program_id",
            "where",
            "degree_summary_name",
            "=",
            "value",
            "intersect",
            "select",
            "distinct",
            "t2",
            ".",
            "semester_id",
            "from",
            "degree_programs",
            "as",
            "t1",
            "join",
            "student_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "degree_program_id",
            "=",
            "t2",
            ".",
            "degree_program_id",
            "where",
            "degree_summary_name",
            "=",
            "value"
        ],
        "question": "Find the semester when both Master students and Bachelor students got enrolled in.",
        "question_toks": [
            "Find",
            "the",
            "semester",
            "when",
            "both",
            "Master",
            "students",
            "and",
            "Bachelor",
            "students",
            "got",
            "enrolled",
            "in."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Master\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    46,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        "\"Bachelor\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id  =  T2.degree_program_id WHERE degree_summary_name  =  'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id  =  T2.degree_program_id WHERE degree_summary_name  =  'Bachelor'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.semester_id",
            "FROM",
            "Degree_Programs",
            "AS",
            "T1",
            "JOIN",
            "Student_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.degree_program_id",
            "=",
            "T2.degree_program_id",
            "WHERE",
            "degree_summary_name",
            "=",
            "'Master",
            "'",
            "INTERSECT",
            "SELECT",
            "DISTINCT",
            "T2.semester_id",
            "FROM",
            "Degree_Programs",
            "AS",
            "T1",
            "JOIN",
            "Student_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.degree_program_id",
            "=",
            "T2.degree_program_id",
            "WHERE",
            "degree_summary_name",
            "=",
            "'Bachelor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "semester_id",
            "from",
            "degree_programs",
            "as",
            "t1",
            "join",
            "student_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "degree_program_id",
            "=",
            "t2",
            ".",
            "degree_program_id",
            "where",
            "degree_summary_name",
            "=",
            "value",
            "intersect",
            "select",
            "distinct",
            "t2",
            ".",
            "semester_id",
            "from",
            "degree_programs",
            "as",
            "t1",
            "join",
            "student_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "degree_program_id",
            "=",
            "t2",
            ".",
            "degree_program_id",
            "where",
            "degree_summary_name",
            "=",
            "value"
        ],
        "question": "What is the id of the semester that had both Masters and Bachelors students enrolled?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "semester",
            "that",
            "had",
            "both",
            "Masters",
            "and",
            "Bachelors",
            "students",
            "enrolled?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Master\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    46,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        "\"Bachelor\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "select t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id  =  t2.address_id where t2.country  =  'haiti' or t1.cell_mobile_number  =  '09700166582'",
        "query_toks": [
            "select",
            "t1.first_name",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1.permanent_address_id",
            "=",
            "t2.address_id",
            "where",
            "t2.country",
            "=",
            "\"haiti\"",
            "or",
            "t1.cell_mobile_number",
            "=",
            "\"09700166582\""
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "permanent_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "cell_mobile_number",
            "=",
            "value"
        ],
        "question": "Find the first name of the students who permanently live in Haiti or have the cell phone number 09700166582.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "the",
            "students",
            "who",
            "permanently",
            "live",
            "in",
            "Haiti",
            "or",
            "have",
            "the",
            "cell",
            "phone",
            "number",
            "09700166582."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"haiti\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"09700166582\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "student_transcripts_tracking",
        "query": "select t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id  =  t2.address_id where t2.country  =  'haiti' or t1.cell_mobile_number  =  '09700166582'",
        "query_toks": [
            "select",
            "t1.first_name",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1.permanent_address_id",
            "=",
            "t2.address_id",
            "where",
            "t2.country",
            "=",
            "\"haiti\"",
            "or",
            "t1.cell_mobile_number",
            "=",
            "\"09700166582\""
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "permanent_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "cell_mobile_number",
            "=",
            "value"
        ],
        "question": "What are the first names of the students who live in Haiti permanently or have the cell phone number 09700166582?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "the",
            "students",
            "who",
            "live",
            "in",
            "Haiti",
            "permanently",
            "or",
            "have",
            "the",
            "cell",
            "phone",
            "number",
            "09700166582?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"haiti\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"09700166582\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Title FROM Cartoon ORDER BY title",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "Cartoon",
            "ORDER",
            "BY",
            "title"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "cartoon",
            "order",
            "by",
            "title"
        ],
        "question": "List the names of all cartoons in alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "cartoons",
            "in",
            "alphabetical",
            "order."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Title FROM Cartoon ORDER BY title",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "Cartoon",
            "ORDER",
            "BY",
            "title"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "cartoon",
            "order",
            "by",
            "title"
        ],
        "question": "What are the names of the cartoons sorted alphabetically?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "cartoons",
            "sorted",
            "alphabetically?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\";",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "Cartoon",
            "WHERE",
            "Directed_by",
            "=",
            "``",
            "Ben",
            "Jones",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "cartoon",
            "where",
            "directed_by",
            "=",
            "value"
        ],
        "question": "List all cartoon Ben Jones directs.",
        "question_toks": [
            "List",
            "all",
            "cartoon",
            "Ben",
            "Jones",
            "directs."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Ben Jones\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\";",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "Cartoon",
            "WHERE",
            "Directed_by",
            "=",
            "``",
            "Ben",
            "Jones",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "cartoon",
            "where",
            "directed_by",
            "=",
            "value"
        ],
        "question": "What are the names of all cartoons Ben Jones directs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "cartoons",
            "Ben",
            "Jones",
            "directs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Ben Jones\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT count(*) FROM Cartoon WHERE Written_by = \"Joseph Kuhr\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Cartoon",
            "WHERE",
            "Written_by",
            "=",
            "``",
            "Joseph",
            "Kuhr",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cartoon",
            "where",
            "written_by",
            "=",
            "value"
        ],
        "question": "How many cartoons Joseph Kuhr writes?",
        "question_toks": [
            "How",
            "many",
            "cartoons",
            "Joseph",
            "Kuhr",
            "writes?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"Joseph Kuhr\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT count(*) FROM Cartoon WHERE Written_by = \"Joseph Kuhr\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Cartoon",
            "WHERE",
            "Written_by",
            "=",
            "``",
            "Joseph",
            "Kuhr",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cartoon",
            "where",
            "written_by",
            "=",
            "value"
        ],
        "question": "What is the number of cartoones  Joseph Kuh writes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "cartoones",
            "Joseph",
            "Kuh",
            "writes?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"Joseph Kuhr\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT title ,  Directed_by FROM Cartoon ORDER BY Original_air_date",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "Directed_by",
            "FROM",
            "Cartoon",
            "ORDER",
            "BY",
            "Original_air_date"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "directed_by",
            "from",
            "cartoon",
            "order",
            "by",
            "original_air_date"
        ],
        "question": "list all cartoon titles and their directors ordered by the time they broadcasted",
        "question_toks": [
            "list",
            "all",
            "cartoon",
            "titles",
            "and",
            "their",
            "directors",
            "ordered",
            "by",
            "the",
            "time",
            "they",
            "broadcasted"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT title ,  Directed_by FROM Cartoon ORDER BY Original_air_date",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "Directed_by",
            "FROM",
            "Cartoon",
            "ORDER",
            "BY",
            "Original_air_date"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "directed_by",
            "from",
            "cartoon",
            "order",
            "by",
            "original_air_date"
        ],
        "question": "What is the name and directors of all the cartoons that are ordered by the time they came out?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "directors",
            "of",
            "all",
            "the",
            "cartoons",
            "that",
            "are",
            "ordered",
            "by",
            "the",
            "time",
            "they",
            "came",
            "out?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "Cartoon",
            "WHERE",
            "Directed_by",
            "=",
            "``",
            "Ben",
            "Jones",
            "''",
            "OR",
            "Directed_by",
            "=",
            "``",
            "Brandon",
            "Vietti",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "cartoon",
            "where",
            "directed_by",
            "=",
            "value",
            "or",
            "directed_by",
            "=",
            "value"
        ],
        "question": "List the title of all cartoon  Ben Jones or Brandon Vietti directs.",
        "question_toks": [
            "List",
            "the",
            "title",
            "of",
            "all",
            "cartoon",
            "Ben",
            "Jones",
            "or",
            "Brandon",
            "Vietti",
            "directs."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Ben Jones\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Brandon Vietti\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "Cartoon",
            "WHERE",
            "Directed_by",
            "=",
            "``",
            "Ben",
            "Jones",
            "''",
            "OR",
            "Directed_by",
            "=",
            "``",
            "Brandon",
            "Vietti",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "cartoon",
            "where",
            "directed_by",
            "=",
            "value",
            "or",
            "directed_by",
            "=",
            "value"
        ],
        "question": "What are the titles of all cartoons  Ben Jones or Brandon Vietti directs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "cartoons",
            "Ben",
            "Jones",
            "or",
            "Brandon",
            "Vietti",
            "directs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Ben Jones\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Brandon Vietti\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Country ,  count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "TV_Channel",
            "GROUP",
            "BY",
            "Country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tv_channel",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which nation has the most of TV Channels? List the country and number of TV Channels it has.",
        "question_toks": [
            "Which",
            "nation",
            "has",
            "the",
            "most",
            "of",
            "TV",
            "Channels?",
            "List",
            "the",
            "country",
            "and",
            "number",
            "of",
            "TV",
            "Channels",
            "it",
            "has."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Country ,  count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "TV_Channel",
            "GROUP",
            "BY",
            "Country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tv_channel",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the nation with the most number of TV Channels and how many does it have?",
        "question_toks": [
            "What",
            "is",
            "the",
            "nation",
            "with",
            "the",
            "most",
            "number",
            "of",
            "TV",
            "Channels",
            "and",
            "how",
            "many",
            "does",
            "it",
            "have?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";",
        "query_toks": [
            "SELECT",
            "Content",
            "FROM",
            "TV_Channel",
            "WHERE",
            "series_name",
            "=",
            "``",
            "Sky",
            "Radio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "content",
            "from",
            "tv_channel",
            "where",
            "series_name",
            "=",
            "value"
        ],
        "question": "What is the content of TV Channel with \"\"Sky Radio\"\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "content",
            "of",
            "TV",
            "Channel",
            "with",
            "\"\"Sky",
            "Radio\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sky Radio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\";",
        "query_toks": [
            "SELECT",
            "Content",
            "FROM",
            "TV_Channel",
            "WHERE",
            "series_name",
            "=",
            "``",
            "Sky",
            "Radio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "content",
            "from",
            "tv_channel",
            "where",
            "series_name",
            "=",
            "value"
        ],
        "question": "What is the content of Sky Radio?",
        "question_toks": [
            "What",
            "is",
            "the",
            "content",
            "of",
            "Sky",
            "Radio?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sky Radio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Package_Option FROM TV_Channel WHERE series_name = \"Sky Radio\";",
        "query_toks": [
            "SELECT",
            "Package_Option",
            "FROM",
            "TV_Channel",
            "WHERE",
            "series_name",
            "=",
            "``",
            "Sky",
            "Radio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "package_option",
            "from",
            "tv_channel",
            "where",
            "series_name",
            "=",
            "value"
        ],
        "question": "What is the Package Option of TV Channel with \"\"Sky Radio\"\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "Package",
            "Option",
            "of",
            "TV",
            "Channel",
            "with",
            "\"\"Sky",
            "Radio\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sky Radio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "TV_Channel",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "English",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tv_channel",
            "where",
            "language",
            "=",
            "value"
        ],
        "question": "How many TV Channel using  English?",
        "question_toks": [
            "How",
            "many",
            "TV",
            "Channel",
            "using",
            "English?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT count(*) FROM TV_Channel WHERE LANGUAGE = \"English\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "TV_Channel",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "English",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tv_channel",
            "where",
            "language",
            "=",
            "value"
        ],
        "question": "How many TV Channels speak English ?",
        "question_toks": [
            "How",
            "many",
            "TV",
            "Channels",
            "speak",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";",
        "query_toks": [
            "SELECT",
            "T1.series_name",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "Cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.Title",
            "=",
            "``",
            "The",
            "Rise",
            "of",
            "the",
            "Blue",
            "Beetle",
            "!",
            "``",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "series_name",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What is the TV Channel that shows The Rise of the Blue Beetle!? List the TV Channel's series name.",
        "question_toks": [
            "What",
            "is",
            "the",
            "TV",
            "Channel",
            "that",
            "shows",
            "The",
            "Rise",
            "of",
            "the",
            "Blue",
            "Beetle!?",
            "List",
            "the",
            "TV",
            "Channel's",
            "series",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"The Rise of the Blue Beetle!\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";",
        "query_toks": [
            "SELECT",
            "T1.series_name",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "Cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.Title",
            "=",
            "``",
            "The",
            "Rise",
            "of",
            "the",
            "Blue",
            "Beetle",
            "!",
            "``",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "series_name",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What is the series name of the TV Channel that shows \"\"The Rise of the Blue Beetle\"\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "series",
            "name",
            "of",
            "the",
            "TV",
            "Channel",
            "that",
            "shows",
            "\"\"The",
            "Rise",
            "of",
            "the",
            "Blue",
            "Beetle\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"The Rise of the Blue Beetle!\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";",
        "query_toks": [
            "SELECT",
            "T2.Title",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "Cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T1.series_name",
            "=",
            "``",
            "Sky",
            "Radio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t1",
            ".",
            "series_name",
            "=",
            "value"
        ],
        "question": "List the title of all  Cartoons showed on TV Channel with  \"\"Sky Radio\"\".",
        "question_toks": [
            "List",
            "the",
            "title",
            "of",
            "all",
            "Cartoons",
            "showed",
            "on",
            "TV",
            "Channel",
            "with",
            "\"\"Sky",
            "Radio\"\"."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sky Radio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";",
        "query_toks": [
            "SELECT",
            "T2.Title",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "Cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T1.series_name",
            "=",
            "``",
            "Sky",
            "Radio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t1",
            ".",
            "series_name",
            "=",
            "value"
        ],
        "question": "What is the title of all the cartools that are on the TV Channel with Sky Radio?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "all",
            "the",
            "cartools",
            "that",
            "are",
            "on",
            "the",
            "TV",
            "Channel",
            "with",
            "Sky",
            "Radio?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sky Radio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";",
        "query_toks": [
            "SELECT",
            "Air_Date",
            "FROM",
            "TV_series",
            "WHERE",
            "Episode",
            "=",
            "``",
            "A",
            "Love",
            "of",
            "a",
            "Lifetime",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "air_date",
            "from",
            "tv_series",
            "where",
            "episode",
            "=",
            "value"
        ],
        "question": "What is the air date of \"\"\"\"A Love of a Lifetime\"\"\"\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "air",
            "date",
            "of",
            "\"\"\"\"A",
            "Love",
            "of",
            "a",
            "Lifetime\"\"\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"A Love of a Lifetime\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Air_Date FROM TV_series WHERE Episode = \"A Love of a Lifetime\";",
        "query_toks": [
            "SELECT",
            "Air_Date",
            "FROM",
            "TV_series",
            "WHERE",
            "Episode",
            "=",
            "``",
            "A",
            "Love",
            "of",
            "a",
            "Lifetime",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "air_date",
            "from",
            "tv_series",
            "where",
            "episode",
            "=",
            "value"
        ],
        "question": "When did A Love of a Lifetime air?",
        "question_toks": [
            "When",
            "did",
            "A",
            "Love",
            "of",
            "a",
            "Lifetime",
            "air?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"A Love of a Lifetime\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";",
        "query_toks": [
            "SELECT",
            "Weekly_Rank",
            "FROM",
            "TV_series",
            "WHERE",
            "Episode",
            "=",
            "``",
            "A",
            "Love",
            "of",
            "a",
            "Lifetime",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "weekly_rank",
            "from",
            "tv_series",
            "where",
            "episode",
            "=",
            "value"
        ],
        "question": "What is Weekly Rank of TV series with A Love of a Lifetime?",
        "question_toks": [
            "What",
            "is",
            "Weekly",
            "Rank",
            "of",
            "TV",
            "series",
            "with",
            "A",
            "Love",
            "of",
            "a",
            "Lifetime?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"A Love of a Lifetime\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\";",
        "query_toks": [
            "SELECT",
            "Weekly_Rank",
            "FROM",
            "TV_series",
            "WHERE",
            "Episode",
            "=",
            "``",
            "A",
            "Love",
            "of",
            "a",
            "Lifetime",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "weekly_rank",
            "from",
            "tv_series",
            "where",
            "episode",
            "=",
            "value"
        ],
        "question": "What is the weekly rank for the  \"\"\"\"A Love of a Lifetime\"\"\"\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "weekly",
            "rank",
            "for",
            "the",
            "\"\"\"\"A",
            "Love",
            "of",
            "a",
            "Lifetime\"\"\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"A Love of a Lifetime\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";",
        "query_toks": [
            "SELECT",
            "T1.series_name",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "TV_series",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.Episode",
            "=",
            "``",
            "A",
            "Love",
            "of",
            "a",
            "Lifetime",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "series_name",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "tv_series",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "episode",
            "=",
            "value"
        ],
        "question": "What is the TV Channel with \"\"\"\"A Love of a Lifetime\"\"\"\"? List the TV Channel's series name.",
        "question_toks": [
            "What",
            "is",
            "the",
            "TV",
            "Channel",
            "with",
            "\"\"\"\"A",
            "Love",
            "of",
            "a",
            "Lifetime\"\"\"\"?",
            "List",
            "the",
            "TV",
            "Channel's",
            "series",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"A Love of a Lifetime\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = \"A Love of a Lifetime\";",
        "query_toks": [
            "SELECT",
            "T1.series_name",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "TV_series",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.Episode",
            "=",
            "``",
            "A",
            "Love",
            "of",
            "a",
            "Lifetime",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "series_name",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "tv_series",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "episode",
            "=",
            "value"
        ],
        "question": "What is the name of the series that has the  \"\"\"\"A Love of a Lifetime\"\"\"\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "series",
            "that",
            "has",
            "the",
            "\"\"\"\"A",
            "Love",
            "of",
            "a",
            "Lifetime\"\"\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"A Love of a Lifetime\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";",
        "query_toks": [
            "SELECT",
            "T2.Episode",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "TV_series",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T1.series_name",
            "=",
            "``",
            "Sky",
            "Radio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "episode",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "tv_series",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t1",
            ".",
            "series_name",
            "=",
            "value"
        ],
        "question": "List the Episode of all  TV series showed on TV Channel with  \"\"\"\"Sky Radio\"\"\"\".",
        "question_toks": [
            "List",
            "the",
            "Episode",
            "of",
            "all",
            "TV",
            "series",
            "showed",
            "on",
            "TV",
            "Channel",
            "with",
            "\"\"\"\"Sky",
            "Radio\"\"\"\"."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sky Radio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = \"Sky Radio\";",
        "query_toks": [
            "SELECT",
            "T2.Episode",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "TV_series",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T1.series_name",
            "=",
            "``",
            "Sky",
            "Radio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "episode",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "tv_series",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t1",
            ".",
            "series_name",
            "=",
            "value"
        ],
        "question": "What is the episode for the TV series called Sky Radio?",
        "question_toks": [
            "What",
            "is",
            "the",
            "episode",
            "for",
            "the",
            "TV",
            "series",
            "called",
            "Sky",
            "Radio?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sky Radio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT count(*) ,  Directed_by FROM cartoon GROUP BY Directed_by",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "Directed_by",
            "FROM",
            "cartoon",
            "GROUP",
            "BY",
            "Directed_by"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "directed_by",
            "from",
            "cartoon",
            "group",
            "by",
            "directed_by"
        ],
        "question": "Find the number of cartoons by each of the listed directors.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "cartoons",
            "by",
            "each",
            "of",
            "the",
            "listed",
            "directors."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT count(*) ,  Directed_by FROM cartoon GROUP BY Directed_by",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "Directed_by",
            "FROM",
            "cartoon",
            "GROUP",
            "BY",
            "Directed_by"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "directed_by",
            "from",
            "cartoon",
            "group",
            "by",
            "directed_by"
        ],
        "question": "How many cartoons did each director create?",
        "question_toks": [
            "How",
            "many",
            "cartoons",
            "did",
            "each",
            "director",
            "create?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "select production_code ,  channel from cartoon order by original_air_date desc limit 1",
        "query_toks": [
            "select",
            "production_code",
            ",",
            "channel",
            "from",
            "cartoon",
            "order",
            "by",
            "original_air_date",
            "desc",
            "limit",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "production_code",
            ",",
            "channel",
            "from",
            "cartoon",
            "order",
            "by",
            "original_air_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the production code and channel of the most recently broadcasted cartoon.",
        "question_toks": [
            "Find",
            "the",
            "production",
            "code",
            "and",
            "channel",
            "of",
            "the",
            "most",
            "recently",
            "broadcasted",
            "cartoon."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "select production_code ,  channel from cartoon order by original_air_date desc limit 1",
        "query_toks": [
            "select",
            "production_code",
            ",",
            "channel",
            "from",
            "cartoon",
            "order",
            "by",
            "original_air_date",
            "desc",
            "limit",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "production_code",
            ",",
            "channel",
            "from",
            "cartoon",
            "order",
            "by",
            "original_air_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the produdction code and channel of the most recent cartoon?",
        "question_toks": [
            "What",
            "is",
            "the",
            "produdction",
            "code",
            "and",
            "channel",
            "of",
            "the",
            "most",
            "recent",
            "cartoon?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT package_option ,  series_name FROM TV_Channel WHERE hight_definition_TV  =  \"yes\"",
        "query_toks": [
            "SELECT",
            "package_option",
            ",",
            "series_name",
            "FROM",
            "TV_Channel",
            "WHERE",
            "hight_definition_TV",
            "=",
            "``",
            "yes",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "package_option",
            ",",
            "series_name",
            "from",
            "tv_channel",
            "where",
            "hight_definition_tv",
            "=",
            "value"
        ],
        "question": "Find the package choice and series name of the TV channel that has HD TV.",
        "question_toks": [
            "Find",
            "the",
            "package",
            "choice",
            "and",
            "series",
            "name",
            "of",
            "the",
            "TV",
            "channel",
            "that",
            "has",
            "HD",
            "TV."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT package_option ,  series_name FROM TV_Channel WHERE hight_definition_TV  =  \"yes\"",
        "query_toks": [
            "SELECT",
            "package_option",
            ",",
            "series_name",
            "FROM",
            "TV_Channel",
            "WHERE",
            "hight_definition_TV",
            "=",
            "``",
            "yes",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "package_option",
            ",",
            "series_name",
            "from",
            "tv_channel",
            "where",
            "hight_definition_tv",
            "=",
            "value"
        ],
        "question": "What are the package options and the name of the series for the TV Channel that supports HDTV?",
        "question_toks": [
            "What",
            "are",
            "the",
            "package",
            "options",
            "and",
            "the",
            "name",
            "of",
            "the",
            "series",
            "for",
            "the",
            "TV",
            "Channel",
            "that",
            "supports",
            "HDTV?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by  =  'Todd Casey'",
        "query_toks": [
            "SELECT",
            "T1.country",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.written_by",
            "=",
            "'Todd",
            "Casey",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "written_by",
            "=",
            "value"
        ],
        "question": "which countries' tv channels are playing some cartoon  Todd Casey writes?",
        "question_toks": [
            "which",
            "countries'",
            "tv",
            "channels",
            "are",
            "playing",
            "some",
            "cartoon",
            "Todd",
            "Casey",
            "writes?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"Todd Casey\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by  =  'Todd Casey'",
        "query_toks": [
            "SELECT",
            "T1.country",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.written_by",
            "=",
            "'Todd",
            "Casey",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "written_by",
            "=",
            "value"
        ],
        "question": "What are the countries that have cartoons on TV that Todd Casey writes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "that",
            "have",
            "cartoons",
            "on",
            "TV",
            "that",
            "Todd",
            "Casey",
            "writes?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"Todd Casey\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by  =  'Todd Casey'",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "TV_Channel",
            "EXCEPT",
            "SELECT",
            "T1.country",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.written_by",
            "=",
            "'Todd",
            "Casey",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "tv_channel",
            "except",
            "select",
            "t1",
            ".",
            "country",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "written_by",
            "=",
            "value"
        ],
        "question": "which countries' tv channels are not playing any cartoon  Todd Casey writes?",
        "question_toks": [
            "which",
            "countries'",
            "tv",
            "channels",
            "are",
            "not",
            "playing",
            "any",
            "cartoon",
            "Todd",
            "Casey",
            "writes?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"Todd Casey\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by  =  'Todd Casey'",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "TV_Channel",
            "EXCEPT",
            "SELECT",
            "T1.country",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.written_by",
            "=",
            "'Todd",
            "Casey",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "tv_channel",
            "except",
            "select",
            "t1",
            ".",
            "country",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "written_by",
            "=",
            "value"
        ],
        "question": "What are the countries that are not playing cartoons  Todd Casey writes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "that",
            "are",
            "not",
            "playing",
            "cartoons",
            "Todd",
            "Casey",
            "writes?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"Todd Casey\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T1.series_name ,  T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by  =  'Michael Chang' INTERSECT SELECT T1.series_name ,  T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by  =  'Ben Jones'",
        "query_toks": [
            "SELECT",
            "T1.series_name",
            ",",
            "T1.country",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.directed_by",
            "=",
            "'Michael",
            "Chang",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.series_name",
            ",",
            "T1.country",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.directed_by",
            "=",
            "'Ben",
            "Jones",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "series_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "directed_by",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "series_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "directed_by",
            "=",
            "value"
        ],
        "question": "Find the series name and country of the tv channel that is playing some cartoons  Ben Jones and Michael Chang directs?",
        "question_toks": [
            "Find",
            "the",
            "series",
            "name",
            "and",
            "country",
            "of",
            "the",
            "tv",
            "channel",
            "that",
            "is",
            "playing",
            "some",
            "cartoons",
            "Ben",
            "Jones",
            "and",
            "Michael",
            "Chang",
            "directs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Michael Chang\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Ben Jones\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT T1.series_name ,  T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by  =  'Michael Chang' INTERSECT SELECT T1.series_name ,  T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by  =  'Ben Jones'",
        "query_toks": [
            "SELECT",
            "T1.series_name",
            ",",
            "T1.country",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.directed_by",
            "=",
            "'Michael",
            "Chang",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.series_name",
            ",",
            "T1.country",
            "FROM",
            "TV_Channel",
            "AS",
            "T1",
            "JOIN",
            "cartoon",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.Channel",
            "WHERE",
            "T2.directed_by",
            "=",
            "'Ben",
            "Jones",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "series_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "directed_by",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "series_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "tv_channel",
            "as",
            "t1",
            "join",
            "cartoon",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "channel",
            "where",
            "t2",
            ".",
            "directed_by",
            "=",
            "value"
        ],
        "question": "What is the series name and country of all TV channels that are playing cartoons  Ben Jones and Michael Chang directs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "series",
            "name",
            "and",
            "country",
            "of",
            "all",
            "TV",
            "channels",
            "that",
            "are",
            "playing",
            "cartoons",
            "Ben",
            "Jones",
            "and",
            "Michael",
            "Chang",
            "directs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Michael Chang\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Ben Jones\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Pixel_aspect_ratio_PAR ,  country FROM tv_channel WHERE LANGUAGE != 'English'",
        "query_toks": [
            "SELECT",
            "Pixel_aspect_ratio_PAR",
            ",",
            "country",
            "FROM",
            "tv_channel",
            "WHERE",
            "LANGUAGE",
            "!",
            "=",
            "'English",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "pixel_aspect_ratio_par",
            ",",
            "country",
            "from",
            "tv_channel",
            "where",
            "language",
            "!",
            "=",
            "value"
        ],
        "question": "find the pixel aspect ratio and nation of the tv channels that do not use English.",
        "question_toks": [
            "find",
            "the",
            "pixel",
            "aspect",
            "ratio",
            "and",
            "nation",
            "of",
            "the",
            "tv",
            "channels",
            "that",
            "do",
            "not",
            "use",
            "English."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT Pixel_aspect_ratio_PAR ,  country FROM tv_channel WHERE LANGUAGE != 'English'",
        "query_toks": [
            "SELECT",
            "Pixel_aspect_ratio_PAR",
            ",",
            "country",
            "FROM",
            "tv_channel",
            "WHERE",
            "LANGUAGE",
            "!",
            "=",
            "'English",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "pixel_aspect_ratio_par",
            ",",
            "country",
            "from",
            "tv_channel",
            "where",
            "language",
            "!",
            "=",
            "value"
        ],
        "question": "What is the pixel aspect ratio and country of origin for all TV channels that do not use English?",
        "question_toks": [
            "What",
            "is",
            "the",
            "pixel",
            "aspect",
            "ratio",
            "and",
            "country",
            "of",
            "origin",
            "for",
            "all",
            "TV",
            "channels",
            "that",
            "do",
            "not",
            "use",
            "English?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT id FROM tv_channel GROUP BY country HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "tv_channel",
            "GROUP",
            "BY",
            "country",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "tv_channel",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "find id of the tv channels that from the nations where have more than two tv channels.",
        "question_toks": [
            "find",
            "id",
            "of",
            "the",
            "tv",
            "channels",
            "that",
            "from",
            "the",
            "nations",
            "where",
            "have",
            "more",
            "than",
            "two",
            "tv",
            "channels."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by  =  'Ben Jones'",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "TV_Channel",
            "EXCEPT",
            "SELECT",
            "channel",
            "FROM",
            "cartoon",
            "WHERE",
            "directed_by",
            "=",
            "'Ben",
            "Jones",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "tv_channel",
            "except",
            "select",
            "channel",
            "from",
            "cartoon",
            "where",
            "directed_by",
            "=",
            "value"
        ],
        "question": "find the id of tv channels that do not play any cartoon  Ben Jones directs.",
        "question_toks": [
            "find",
            "the",
            "id",
            "of",
            "tv",
            "channels",
            "that",
            "do",
            "not",
            "play",
            "any",
            "cartoon",
            "Ben",
            "Jones",
            "directs."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    25,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Ben Jones\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by  =  'Ben Jones'",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "TV_Channel",
            "EXCEPT",
            "SELECT",
            "channel",
            "FROM",
            "cartoon",
            "WHERE",
            "directed_by",
            "=",
            "'Ben",
            "Jones",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "tv_channel",
            "except",
            "select",
            "channel",
            "from",
            "cartoon",
            "where",
            "directed_by",
            "=",
            "value"
        ],
        "question": "What are the ids of the TV channels that do not have any cartoons  Ben Jones directs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "TV",
            "channels",
            "that",
            "do",
            "not",
            "have",
            "any",
            "cartoons",
            "Ben",
            "Jones",
            "directs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    25,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Ben Jones\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by  =  'Ben Jones')",
        "query_toks": [
            "SELECT",
            "package_option",
            "FROM",
            "TV_Channel",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "channel",
            "FROM",
            "cartoon",
            "WHERE",
            "directed_by",
            "=",
            "'Ben",
            "Jones",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "package_option",
            "from",
            "tv_channel",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "channel",
            "from",
            "cartoon",
            "where",
            "directed_by",
            "=",
            "value",
            ")"
        ],
        "question": "find the package option of the tv channel that do not have any cartoon  Ben Jones directs.",
        "question_toks": [
            "find",
            "the",
            "package",
            "option",
            "of",
            "the",
            "tv",
            "channel",
            "that",
            "do",
            "not",
            "have",
            "any",
            "cartoon",
            "Ben",
            "Jones",
            "directs."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        21,
                                        false
                                    ],
                                    null
                                ],
                                "\"Ben Jones\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "tvshow",
        "query": "SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by  =  'Ben Jones')",
        "query_toks": [
            "SELECT",
            "package_option",
            "FROM",
            "TV_Channel",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "channel",
            "FROM",
            "cartoon",
            "WHERE",
            "directed_by",
            "=",
            "'Ben",
            "Jones",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "package_option",
            "from",
            "tv_channel",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "channel",
            "from",
            "cartoon",
            "where",
            "directed_by",
            "=",
            "value",
            ")"
        ],
        "question": "What are the package options of all tv channels that are not playing any cartoons  Ben Jones directs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "package",
            "options",
            "of",
            "all",
            "tv",
            "channels",
            "that",
            "are",
            "not",
            "playing",
            "any",
            "cartoons",
            "Ben",
            "Jones",
            "directs?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        21,
                                        false
                                    ],
                                    null
                                ],
                                "\"Ben Jones\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT Earnings FROM poker_player ORDER BY Earnings DESC",
        "query_toks": [
            "SELECT",
            "Earnings",
            "FROM",
            "poker_player",
            "ORDER",
            "BY",
            "Earnings",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "earnings",
            "from",
            "poker_player",
            "order",
            "by",
            "earnings",
            "desc"
        ],
        "question": "List the mony made by each poker players in descending order.",
        "question_toks": [
            "List",
            "the",
            "mony",
            "made",
            "by",
            "each",
            "poker",
            "players",
            "in",
            "descending",
            "order."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Money_Rank",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "poker_player",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "money_rank",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "poker_player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the money rank of the tallest poker player?",
        "question_toks": [
            "What",
            "is",
            "the",
            "money",
            "rank",
            "of",
            "the",
            "tallest",
            "poker",
            "player?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Money_Rank",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "poker_player",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "money_rank",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "poker_player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the money rank of the tallest poker player.",
        "question_toks": [
            "Return",
            "the",
            "money",
            "rank",
            "of",
            "the",
            "tallest",
            "poker",
            "player."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  200",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Earnings",
            ")",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "poker_player",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Height",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "earnings",
            ")",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "poker_player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "height",
            ">",
            "value"
        ],
        "question": "What is the average earnings of poker players taller than 200?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "earnings",
            "of",
            "poker",
            "players",
            "taller",
            "than",
            "200?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  200",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Earnings",
            ")",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "poker_player",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Height",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "earnings",
            ")",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "poker_player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "height",
            ">",
            "value"
        ],
        "question": "Give average earnings of poker players who are taller than 200.",
        "question_toks": [
            "Give",
            "average",
            "earnings",
            "of",
            "poker",
            "players",
            "who",
            "are",
            "taller",
            "than",
            "200."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT Nationality ,  COUNT(*) FROM people GROUP BY Nationality",
        "query_toks": [
            "SELECT",
            "Nationality",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "Nationality"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "people",
            "group",
            "by",
            "nationality"
        ],
        "question": "What are different nationalities of people and the corresponding number of people from each country?",
        "question_toks": [
            "What",
            "are",
            "different",
            "nationalities",
            "of",
            "people",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "people",
            "from",
            "each",
            "country?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT Nationality ,  COUNT(*) FROM people GROUP BY Nationality",
        "query_toks": [
            "SELECT",
            "Nationality",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "Nationality"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "people",
            "group",
            "by",
            "nationality"
        ],
        "question": "How many people are there of each country?",
        "question_toks": [
            "How",
            "many",
            "people",
            "are",
            "there",
            "of",
            "each",
            "country?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "Nationality",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "people",
            "group",
            "by",
            "nationality",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Return the countries for which there are two or more people from.",
        "question_toks": [
            "Return",
            "the",
            "countries",
            "for",
            "which",
            "there",
            "are",
            "two",
            "or",
            "more",
            "people",
            "from."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT Name FROM people WHERE Nationality != \"Russia\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "people",
            "WHERE",
            "Nationality",
            "!",
            "=",
            "``",
            "Russia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "nationality",
            "!",
            "=",
            "value"
        ],
        "question": "Show names of people who  is not  from Russia.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "people",
            "who",
            "is",
            "not",
            "from",
            "Russia."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Russia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "poker_player",
        "query": "SELECT Name FROM people WHERE Nationality != \"Russia\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "people",
            "WHERE",
            "Nationality",
            "!",
            "=",
            "``",
            "Russia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "nationality",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of people who are not from Russia?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "people",
            "who",
            "are",
            "not",
            "from",
            "Russia?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Russia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "voter_1",
        "query": "SELECT max(created) FROM votes WHERE state  =  'CA'",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "created",
            ")",
            "FROM",
            "votes",
            "WHERE",
            "state",
            "=",
            "'CA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "created",
            ")",
            "from",
            "votes",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "What is last date created of votes from 'CA'?",
        "question_toks": [
            "What",
            "is",
            "last",
            "date",
            "created",
            "of",
            "votes",
            "from",
            "'CA'?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"CA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "voter_1",
        "query": "SELECT count(*) FROM votes WHERE state  =  'NY' OR state  =  'CA'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "votes",
            "WHERE",
            "state",
            "=",
            "'NY",
            "'",
            "OR",
            "state",
            "=",
            "'CA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "votes",
            "where",
            "state",
            "=",
            "value",
            "or",
            "state",
            "=",
            "value"
        ],
        "question": "What are the number of votes from 'NY' or 'CA'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "number",
            "of",
            "votes",
            "from",
            "'NY'",
            "or",
            "'CA'?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"NY\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"CA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "voter_1",
        "query": "SELECT T2.created ,  T2.state ,  T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number  =  T2.contestant_number WHERE T1.contestant_name  =  'Tabatha Gehling'",
        "query_toks": [
            "SELECT",
            "T2.created",
            ",",
            "T2.state",
            ",",
            "T2.phone_number",
            "FROM",
            "contestants",
            "AS",
            "T1",
            "JOIN",
            "votes",
            "AS",
            "T2",
            "ON",
            "T1.contestant_number",
            "=",
            "T2.contestant_number",
            "WHERE",
            "T1.contestant_name",
            "=",
            "'Tabatha",
            "Gehling",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "created",
            ",",
            "t2",
            ".",
            "state",
            ",",
            "t2",
            ".",
            "phone_number",
            "from",
            "contestants",
            "as",
            "t1",
            "join",
            "votes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "contestant_number",
            "=",
            "t2",
            ".",
            "contestant_number",
            "where",
            "t1",
            ".",
            "contestant_name",
            "=",
            "value"
        ],
        "question": "What are the create dates, states, and phone numbers of the votes that were for 'Tabatha Gehling'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "create",
            "dates,",
            "states,",
            "and",
            "phone",
            "numbers",
            "of",
            "the",
            "votes",
            "that",
            "were",
            "for",
            "'Tabatha",
            "Gehling'?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Tabatha Gehling\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "voter_1",
        "query": "SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number  =  T2.contestant_number JOIN area_code_state AS T3 ON T2.state  =  T3.state WHERE T1.contestant_name  =  'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number  =  T2.contestant_number JOIN area_code_state AS T3 ON T2.state  =  T3.state WHERE T1.contestant_name  =  'Kelly Clauss'",
        "query_toks": [
            "SELECT",
            "T3.area_code",
            "FROM",
            "contestants",
            "AS",
            "T1",
            "JOIN",
            "votes",
            "AS",
            "T2",
            "ON",
            "T1.contestant_number",
            "=",
            "T2.contestant_number",
            "JOIN",
            "area_code_state",
            "AS",
            "T3",
            "ON",
            "T2.state",
            "=",
            "T3.state",
            "WHERE",
            "T1.contestant_name",
            "=",
            "'Tabatha",
            "Gehling",
            "'",
            "INTERSECT",
            "SELECT",
            "T3.area_code",
            "FROM",
            "contestants",
            "AS",
            "T1",
            "JOIN",
            "votes",
            "AS",
            "T2",
            "ON",
            "T1.contestant_number",
            "=",
            "T2.contestant_number",
            "JOIN",
            "area_code_state",
            "AS",
            "T3",
            "ON",
            "T2.state",
            "=",
            "T3.state",
            "WHERE",
            "T1.contestant_name",
            "=",
            "'Kelly",
            "Clauss",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "area_code",
            "from",
            "contestants",
            "as",
            "t1",
            "join",
            "votes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "contestant_number",
            "=",
            "t2",
            ".",
            "contestant_number",
            "join",
            "area_code_state",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "state",
            "=",
            "t3",
            ".",
            "state",
            "where",
            "t1",
            ".",
            "contestant_name",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "area_code",
            "from",
            "contestants",
            "as",
            "t1",
            "join",
            "votes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "contestant_number",
            "=",
            "t2",
            ".",
            "contestant_number",
            "join",
            "area_code_state",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "state",
            "=",
            "t3",
            ".",
            "state",
            "where",
            "t1",
            ".",
            "contestant_name",
            "=",
            "value"
        ],
        "question": "List the area codes in which voters voted both for 'Tabatha Gehling' and 'Kelly Clauss'.",
        "question_toks": [
            "List",
            "the",
            "area",
            "codes",
            "in",
            "which",
            "voters",
            "voted",
            "both",
            "for",
            "'Tabatha",
            "Gehling'",
            "and",
            "'Kelly",
            "Clauss'."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Tabatha Gehling\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Kelly Clauss\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE IndepYear  >  1950",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "IndepYear",
            ">",
            "1950"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "indepyear",
            ">",
            "value"
        ],
        "question": "What are the names of all the countries that founded after 1950?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "countries",
            "that",
            "founded",
            "after",
            "1950?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1950.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE IndepYear  >  1950",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "IndepYear",
            ">",
            "1950"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "indepyear",
            ">",
            "value"
        ],
        "question": "Give the names of the nations that were founded after 1950.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "the",
            "nations",
            "that",
            "were",
            "founded",
            "after",
            "1950."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1950.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(*) FROM country WHERE GovernmentForm  =  \"Republic\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "WHERE",
            "GovernmentForm",
            "=",
            "``",
            "Republic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "where",
            "governmentform",
            "=",
            "value"
        ],
        "question": "How many republic countries are there?",
        "question_toks": [
            "How",
            "many",
            "republic",
            "countries",
            "are",
            "there?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Republic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(*) FROM country WHERE GovernmentForm  =  \"Republic\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "WHERE",
            "GovernmentForm",
            "=",
            "``",
            "Republic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "where",
            "governmentform",
            "=",
            "value"
        ],
        "question": "How many countries are republic?",
        "question_toks": [
            "How",
            "many",
            "countries",
            "are",
            "republic?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Republic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(SurfaceArea) FROM country WHERE Region  =  \"Caribbean\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "SurfaceArea",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Region",
            "=",
            "``",
            "Caribbean",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "region",
            "=",
            "value"
        ],
        "question": "What is the total surface area of the countries in the Caribbean ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "surface",
            "area",
            "of",
            "the",
            "countries",
            "in",
            "the",
            "Caribbean",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Caribbean\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(SurfaceArea) FROM country WHERE Region  =  \"Caribbean\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "SurfaceArea",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Region",
            "=",
            "``",
            "Caribbean",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "region",
            "=",
            "value"
        ],
        "question": "How much surface area do the countires in the Carribean cover together?",
        "question_toks": [
            "How",
            "much",
            "surface",
            "area",
            "do",
            "the",
            "countires",
            "in",
            "the",
            "Carribean",
            "cover",
            "together?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Caribbean\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Continent FROM country WHERE Name  =  \"Anguilla\"",
        "query_toks": [
            "SELECT",
            "Continent",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "=",
            "``",
            "Anguilla",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "continent",
            "from",
            "country",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Which continent is Anguilla in?",
        "question_toks": [
            "Which",
            "continent",
            "is",
            "Anguilla",
            "in?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Anguilla\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Continent FROM country WHERE Name  =  \"Anguilla\"",
        "query_toks": [
            "SELECT",
            "Continent",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "=",
            "``",
            "Anguilla",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "continent",
            "from",
            "country",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the continent  which Anguilla belongs to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "continent",
            "which",
            "Anguilla",
            "belongs",
            "to?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Anguilla\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Name  =  \"Kabul\"",
        "query_toks": [
            "SELECT",
            "Region",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "city",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Kabul",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "region",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Which region is Kabul located in?",
        "question_toks": [
            "Which",
            "region",
            "is",
            "Kabul",
            "located",
            "in?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kabul\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Name  =  \"Kabul\"",
        "query_toks": [
            "SELECT",
            "Region",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "city",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Kabul",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "region",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What region is Kabul in?",
        "question_toks": [
            "What",
            "region",
            "is",
            "Kabul",
            "in?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kabul\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  \"Aruba\" ORDER BY Percentage DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Aruba",
            "''",
            "ORDER",
            "BY",
            "Percentage",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "percentage",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which language is the most popular in Aruba?",
        "question_toks": [
            "Which",
            "language",
            "is",
            "the",
            "most",
            "popular",
            "in",
            "Aruba?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Aruba\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  \"Aruba\" ORDER BY Percentage DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Aruba",
            "''",
            "ORDER",
            "BY",
            "Percentage",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "percentage",
            "desc",
            "limit",
            "value"
        ],
        "question": "What language is predominantly spoken in Aruba?",
        "question_toks": [
            "What",
            "language",
            "is",
            "predominantly",
            "spoken",
            "in",
            "Aruba?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Aruba\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Population ,  LifeExpectancy FROM country WHERE Name  =  \"Brazil\"",
        "query_toks": [
            "SELECT",
            "Population",
            ",",
            "LifeExpectancy",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "=",
            "``",
            "Brazil",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            ",",
            "lifeexpectancy",
            "from",
            "country",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What are the population and life expectancies in Brazil?",
        "question_toks": [
            "What",
            "are",
            "the",
            "population",
            "and",
            "life",
            "expectancies",
            "in",
            "Brazil?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Brazil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Population ,  LifeExpectancy FROM country WHERE Name  =  \"Brazil\"",
        "query_toks": [
            "SELECT",
            "Population",
            ",",
            "LifeExpectancy",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "=",
            "``",
            "Brazil",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            ",",
            "lifeexpectancy",
            "from",
            "country",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Give me Brazil\u2019s population and life expectancies.",
        "question_toks": [
            "Give",
            "me",
            "Brazil\u2019s",
            "population",
            "and",
            "life",
            "expectancies."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Brazil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Population ,  Region FROM country WHERE Name  =  \"Angola\"",
        "query_toks": [
            "SELECT",
            "Population",
            ",",
            "Region",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "=",
            "``",
            "Angola",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            ",",
            "region",
            "from",
            "country",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What are the region and population of Angola?",
        "question_toks": [
            "What",
            "are",
            "the",
            "region",
            "and",
            "population",
            "of",
            "Angola?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Angola\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Population ,  Region FROM country WHERE Name  =  \"Angola\"",
        "query_toks": [
            "SELECT",
            "Population",
            ",",
            "Region",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "=",
            "``",
            "Angola",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            ",",
            "region",
            "from",
            "country",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What region does Angola belong to and what is its population?",
        "question_toks": [
            "What",
            "region",
            "does",
            "Angola",
            "belong",
            "to",
            "and",
            "what",
            "is",
            "its",
            "population?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Angola\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT avg(LifeExpectancy) FROM country WHERE Region  =  \"Central Africa\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "LifeExpectancy",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Region",
            "=",
            "``",
            "Central",
            "Africa",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "lifeexpectancy",
            ")",
            "from",
            "country",
            "where",
            "region",
            "=",
            "value"
        ],
        "question": "What is the average expected life expectancy for countries in Central Africa?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "expected",
            "life",
            "expectancy",
            "for",
            "countries",
            "in",
            "Central",
            "Africa?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Central Africa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT avg(LifeExpectancy) FROM country WHERE Region  =  \"Central Africa\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "LifeExpectancy",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Region",
            "=",
            "``",
            "Central",
            "Africa",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "lifeexpectancy",
            ")",
            "from",
            "country",
            "where",
            "region",
            "=",
            "value"
        ],
        "question": "How long is the people\u2019s average life expectancy in Central Africa?",
        "question_toks": [
            "How",
            "long",
            "is",
            "the",
            "people\u2019s",
            "average",
            "life",
            "expectancy",
            "in",
            "Central",
            "Africa?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Central Africa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE Continent  =  \"Asia\" ORDER BY LifeExpectancy LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            "ORDER",
            "BY",
            "LifeExpectancy",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "order",
            "by",
            "lifeexpectancy",
            "limit",
            "value"
        ],
        "question": "What is the name of country that has the shortest life expectancy in Asia?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "country",
            "that",
            "has",
            "the",
            "shortest",
            "life",
            "expectancy",
            "in",
            "Asia?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE Continent  =  \"Asia\" ORDER BY LifeExpectancy LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            "ORDER",
            "BY",
            "LifeExpectancy",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "order",
            "by",
            "lifeexpectancy",
            "limit",
            "value"
        ],
        "question": "Give the name of the country in Asia with the lowest life expectancy.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "the",
            "country",
            "in",
            "Asia",
            "with",
            "the",
            "lowest",
            "life",
            "expectancy."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(Population) ,  max(GNP) FROM country WHERE Continent  =  \"Asia\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Population",
            ")",
            ",",
            "max",
            "(",
            "GNP",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            ",",
            "max",
            "(",
            "gnp",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value"
        ],
        "question": "What is the total population and maximum GNP in Asia?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "population",
            "and",
            "maximum",
            "GNP",
            "in",
            "Asia?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(Population) ,  max(GNP) FROM country WHERE Continent  =  \"Asia\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Population",
            ")",
            ",",
            "max",
            "(",
            "GNP",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            ",",
            "max",
            "(",
            "gnp",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value"
        ],
        "question": "How many people live in Asia, and what is the largest GNP among them?",
        "question_toks": [
            "How",
            "many",
            "people",
            "live",
            "in",
            "Asia,",
            "and",
            "what",
            "is",
            "the",
            "largest",
            "GNP",
            "among",
            "them?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT avg(LifeExpectancy) FROM country WHERE Continent  =  \"Africa\" AND GovernmentForm  =  \"Republic\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "LifeExpectancy",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Africa",
            "''",
            "AND",
            "GovernmentForm",
            "=",
            "``",
            "Republic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "lifeexpectancy",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "governmentform",
            "=",
            "value"
        ],
        "question": "What is the average life expectancy in African countries that are republics?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "life",
            "expectancy",
            "in",
            "African",
            "countries",
            "that",
            "are",
            "republics?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Africa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Republic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT avg(LifeExpectancy) FROM country WHERE Continent  =  \"Africa\" AND GovernmentForm  =  \"Republic\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "LifeExpectancy",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Africa",
            "''",
            "AND",
            "GovernmentForm",
            "=",
            "``",
            "Republic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "lifeexpectancy",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "governmentform",
            "=",
            "value"
        ],
        "question": "Give the average life expectancy for countries in Africa which are republics?",
        "question_toks": [
            "Give",
            "the",
            "average",
            "life",
            "expectancy",
            "for",
            "countries",
            "in",
            "Africa",
            "which",
            "are",
            "republics?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Africa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Republic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(SurfaceArea) FROM country WHERE Continent  =  \"Asia\" OR Continent  =  \"Europe\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "SurfaceArea",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            "OR",
            "Continent",
            "=",
            "``",
            "Europe",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "or",
            "continent",
            "=",
            "value"
        ],
        "question": "What is the total surface area of Asia and Europe?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "surface",
            "area",
            "of",
            "Asia",
            "and",
            "Europe?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Europe\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(SurfaceArea) FROM country WHERE Continent  =  \"Asia\" OR Continent  =  \"Europe\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "SurfaceArea",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            "OR",
            "Continent",
            "=",
            "``",
            "Europe",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "or",
            "continent",
            "=",
            "value"
        ],
        "question": "Give the total surface area covered by countries in Asia or Europe.",
        "question_toks": [
            "Give",
            "the",
            "total",
            "surface",
            "area",
            "covered",
            "by",
            "countries",
            "in",
            "Asia",
            "or",
            "Europe."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Europe\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(Population) FROM city WHERE District  =  \"Gelderland\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "District",
            "=",
            "``",
            "Gelderland",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "district",
            "=",
            "value"
        ],
        "question": "How many people live in Gelderland ?",
        "question_toks": [
            "How",
            "many",
            "people",
            "live",
            "in",
            "Gelderland",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Gelderland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(Population) FROM city WHERE District  =  \"Gelderland\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "District",
            "=",
            "``",
            "Gelderland",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "district",
            "=",
            "value"
        ],
        "question": "What is the total population of Gelderland ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "population",
            "of",
            "Gelderland",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Gelderland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT avg(GNP) ,  sum(population) FROM country WHERE GovernmentForm  =  \"US Territory\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "GNP",
            ")",
            ",",
            "sum",
            "(",
            "population",
            ")",
            "FROM",
            "country",
            "WHERE",
            "GovernmentForm",
            "=",
            "``",
            "US",
            "Territory",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "gnp",
            ")",
            ",",
            "sum",
            "(",
            "population",
            ")",
            "from",
            "country",
            "where",
            "governmentform",
            "=",
            "value"
        ],
        "question": "What is the average GNP and total population in all US territory nations?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "GNP",
            "and",
            "total",
            "population",
            "in",
            "all",
            "US",
            "territory",
            "nations?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"US Territory\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT avg(GNP) ,  sum(population) FROM country WHERE GovernmentForm  =  \"US Territory\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "GNP",
            ")",
            ",",
            "sum",
            "(",
            "population",
            ")",
            "FROM",
            "country",
            "WHERE",
            "GovernmentForm",
            "=",
            "``",
            "US",
            "Territory",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "gnp",
            ")",
            ",",
            "sum",
            "(",
            "population",
            ")",
            "from",
            "country",
            "where",
            "governmentform",
            "=",
            "value"
        ],
        "question": "Give the mean GNP and total population of nations which are considered US territory.",
        "question_toks": [
            "Give",
            "the",
            "mean",
            "GNP",
            "and",
            "total",
            "population",
            "of",
            "nations",
            "which",
            "are",
            "considered",
            "US",
            "territory."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"US Territory\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent  =  \"Africa\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "GovernmentForm",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Africa",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "governmentform",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value"
        ],
        "question": "How many type of governments are in Africa?",
        "question_toks": [
            "How",
            "many",
            "type",
            "of",
            "governments",
            "are",
            "in",
            "Africa?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Africa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent  =  \"Africa\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "GovernmentForm",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Africa",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "governmentform",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value"
        ],
        "question": "How many different forms of governments are there in Africa?",
        "question_toks": [
            "How",
            "many",
            "different",
            "forms",
            "of",
            "governments",
            "are",
            "there",
            "in",
            "Africa?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Africa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  \"Aruba\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "T2.Language",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Aruba",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t2",
            ".",
            "language",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the total number of languages used in Aruba?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "languages",
            "used",
            "in",
            "Aruba?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Aruba\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  \"Aruba\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "T2.Language",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Aruba",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t2",
            ".",
            "language",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many languages are spoken in Aruba?",
        "question_toks": [
            "How",
            "many",
            "languages",
            "are",
            "spoken",
            "in",
            "Aruba?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Aruba\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  \"Afghanistan\" AND IsOfficial  =  \"T\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Afghanistan",
            "''",
            "AND",
            "IsOfficial",
            "=",
            "``",
            "T",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "isofficial",
            "=",
            "value"
        ],
        "question": "How many official languages does Afghanistan have?",
        "question_toks": [
            "How",
            "many",
            "official",
            "languages",
            "does",
            "Afghanistan",
            "have?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Afghanistan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  \"Afghanistan\" AND IsOfficial  =  \"T\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Afghanistan",
            "''",
            "AND",
            "IsOfficial",
            "=",
            "``",
            "T",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "isofficial",
            "=",
            "value"
        ],
        "question": "How many official languages are spoken in Afghanistan?",
        "question_toks": [
            "How",
            "many",
            "official",
            "languages",
            "are",
            "spoken",
            "in",
            "Afghanistan?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Afghanistan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "GROUP",
            "BY",
            "T1.Name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is name of the nation that speaks the largest number of languages?",
        "question_toks": [
            "What",
            "is",
            "name",
            "of",
            "the",
            "nation",
            "that",
            "speaks",
            "the",
            "largest",
            "number",
            "of",
            "languages?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "GROUP",
            "BY",
            "T1.Name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the name of the nation that uses the greatest amount of languages.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "the",
            "nation",
            "that",
            "uses",
            "the",
            "greatest",
            "amount",
            "of",
            "languages."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Continent",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "GROUP",
            "BY",
            "T1.Continent",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "continent",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "group",
            "by",
            "t1",
            ".",
            "continent",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which continent has the most diverse languages?",
        "question_toks": [
            "Which",
            "continent",
            "has",
            "the",
            "most",
            "diverse",
            "languages?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Continent",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "GROUP",
            "BY",
            "T1.Continent",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "continent",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "group",
            "by",
            "t1",
            ".",
            "continent",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which continent speaks the most languages?",
        "question_toks": [
            "Which",
            "continent",
            "speaks",
            "the",
            "most",
            "languages?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"French\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "French",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value"
        ],
        "question": "What are the names of nations speak both English and French?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "nations",
            "speak",
            "both",
            "English",
            "and",
            "French?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"French\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"French\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "French",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value"
        ],
        "question": "Give the names of nations that speak both English and French.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "nations",
            "that",
            "speak",
            "both",
            "English",
            "and",
            "French."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"French\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\" AND T2.IsOfficial  =  \"T\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"French\" AND T2.IsOfficial  =  \"T\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "French",
            "''",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value"
        ],
        "question": "What are the names of nations use both English and French officially?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "nations",
            "use",
            "both",
            "English",
            "and",
            "French",
            "officially?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"French\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"T\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\" AND T2.IsOfficial  =  \"T\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"French\" AND T2.IsOfficial  =  \"T\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "French",
            "''",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value"
        ],
        "question": "Give the names of countries officially use English and French",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "countries",
            "officially",
            "use",
            "English",
            "and",
            "French"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"French\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"T\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"Chinese\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Continent",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "Chinese",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "continent",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value"
        ],
        "question": "What is the number of distinct continents where Chinese is spoken?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "distinct",
            "continents",
            "where",
            "Chinese",
            "is",
            "spoken?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Chinese\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"Chinese\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Continent",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "Chinese",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "continent",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value"
        ],
        "question": "How many continents speak Chinese?",
        "question_toks": [
            "How",
            "many",
            "continents",
            "speak",
            "Chinese?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Chinese\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\" OR T2.Language  =  \"Dutch\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Region",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "OR",
            "T2.Language",
            "=",
            "``",
            "Dutch",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "region",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "language",
            "=",
            "value"
        ],
        "question": "What are the regions that use English or Dutch?",
        "question_toks": [
            "What",
            "are",
            "the",
            "regions",
            "that",
            "use",
            "English",
            "or",
            "Dutch?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Dutch\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\" OR T2.Language  =  \"Dutch\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Region",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "OR",
            "T2.Language",
            "=",
            "``",
            "Dutch",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "region",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "language",
            "=",
            "value"
        ],
        "question": "Which regions speak Dutch or English?",
        "question_toks": [
            "Which",
            "regions",
            "speak",
            "Dutch",
            "or",
            "English?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Dutch\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "select t1.name from country as t1 join countrylanguage as t2 on t1.code  =  t2.countrycode where t2.language  =  \"english\" and isofficial  =  \"t\" union select t1.name from country as t1 join countrylanguage as t2 on t1.code  =  t2.countrycode where t2.language  =  \"dutch\" and isofficial  =  \"t\"",
        "query_toks": [
            "select",
            "t1.name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1.code",
            "=",
            "t2.countrycode",
            "where",
            "t2.language",
            "=",
            "\"english\"",
            "and",
            "isofficial",
            "=",
            "\"t\"",
            "union",
            "select",
            "t1.name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1.code",
            "=",
            "t2.countrycode",
            "where",
            "t2.language",
            "=",
            "\"dutch\"",
            "and",
            "isofficial",
            "=",
            "\"t\""
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "isofficial",
            "=",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "isofficial",
            "=",
            "value"
        ],
        "question": "What are the countries where either English or Dutch is officially spoken ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "where",
            "either",
            "English",
            "or",
            "Dutch",
            "is",
            "officially",
            "spoken",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"t\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"dutch\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"t\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Continent  =  \"Asia\" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.Continent",
            "=",
            "``",
            "Asia",
            "''",
            "GROUP",
            "BY",
            "T2.Language",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "continent",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "language",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which language is the most popular on Asian ?",
        "question_toks": [
            "Which",
            "language",
            "is",
            "the",
            "most",
            "popular",
            "on",
            "Asian",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Continent  =  \"Asia\" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.Continent",
            "=",
            "``",
            "Asia",
            "''",
            "GROUP",
            "BY",
            "T2.Language",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "continent",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "language",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the language that is used by the largest number of Asian nations?",
        "question_toks": [
            "What",
            "is",
            "the",
            "language",
            "that",
            "is",
            "used",
            "by",
            "the",
            "largest",
            "number",
            "of",
            "Asian",
            "nations?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.GovernmentForm  =  \"Republic\" GROUP BY T2.Language HAVING COUNT(*)  =  1",
        "query_toks": [
            "SELECT",
            "T2.Language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.GovernmentForm",
            "=",
            "``",
            "Republic",
            "''",
            "GROUP",
            "BY",
            "T2.Language",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "governmentform",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "language",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Which languages are spoken by only one republic country?",
        "question_toks": [
            "Which",
            "languages",
            "are",
            "spoken",
            "by",
            "only",
            "one",
            "republic",
            "country?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Republic\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.GovernmentForm  =  \"Republic\" GROUP BY T2.Language HAVING COUNT(*)  =  1",
        "query_toks": [
            "SELECT",
            "T2.Language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.GovernmentForm",
            "=",
            "``",
            "Republic",
            "''",
            "GROUP",
            "BY",
            "T2.Language",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "governmentform",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "language",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What languages are only used by a single republic country?",
        "question_toks": [
            "What",
            "languages",
            "are",
            "only",
            "used",
            "by",
            "a",
            "single",
            "republic",
            "country?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Republic\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Name ,  T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode  =  T2.CountryCode WHERE T2.Language  =  \"English\" ORDER BY T1.Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T1.Population",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.CountryCode",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "ORDER",
            "BY",
            "T1.Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "population",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "countrycode",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the city with the most people that uses English.",
        "question_toks": [
            "Find",
            "the",
            "city",
            "with",
            "the",
            "most",
            "people",
            "that",
            "uses",
            "English."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T1.Name ,  T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode  =  T2.CountryCode WHERE T2.Language  =  \"English\" ORDER BY T1.Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T1.Population",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.CountryCode",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "ORDER",
            "BY",
            "T1.Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "population",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "countrycode",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most populace city that speaks English?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "populace",
            "city",
            "that",
            "speaks",
            "English?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name ,  Population ,  LifeExpectancy FROM country WHERE Continent  =  \"Asia\" ORDER BY SurfaceArea DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Population",
            ",",
            "LifeExpectancy",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            "ORDER",
            "BY",
            "SurfaceArea",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "population",
            ",",
            "lifeexpectancy",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "order",
            "by",
            "surfacearea",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the name, population, and life expectancy of the largest Asian country by land?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name,",
            "population,",
            "and",
            "life",
            "expectancy",
            "of",
            "the",
            "largest",
            "Asian",
            "country",
            "by",
            "land?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\" AND T2.IsOfficial  =  \"T\")",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "LifeExpectancy",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "lifeexpectancy",
            ")",
            "from",
            "country",
            "where",
            "name",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value",
            ")"
        ],
        "question": "What is average life expectancy in the countries where English is not used officially ?",
        "question_toks": [
            "What",
            "is",
            "average",
            "life",
            "expectancy",
            "in",
            "the",
            "countries",
            "where",
            "English",
            "is",
            "not",
            "used",
            "officially",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        23,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        24,
                                        false
                                    ],
                                    null
                                ],
                                "\"English\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        25,
                                        false
                                    ],
                                    null
                                ],
                                "\"T\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\" AND T2.IsOfficial  =  \"T\")",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "LifeExpectancy",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "lifeexpectancy",
            ")",
            "from",
            "country",
            "where",
            "name",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value",
            ")"
        ],
        "question": "Give the mean life expectancy of countries in which English is not officially spoken .",
        "question_toks": [
            "Give",
            "the",
            "mean",
            "life",
            "expectancy",
            "of",
            "countries",
            "in",
            "which",
            "English",
            "is",
            "not",
            "officially",
            "spoken",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        23,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        24,
                                        false
                                    ],
                                    null
                                ],
                                "\"English\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        25,
                                        false
                                    ],
                                    null
                                ],
                                "\"T\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\")",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Population",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            "from",
            "country",
            "where",
            "name",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            ")"
        ],
        "question": "What is the total number of people living in the nations that do not use English?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "people",
            "living",
            "in",
            "the",
            "nations",
            "that",
            "do",
            "not",
            "use",
            "English?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        23,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        24,
                                        false
                                    ],
                                    null
                                ],
                                "\"English\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  \"English\")",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Population",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T2.Language",
            "=",
            "``",
            "English",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            "from",
            "country",
            "where",
            "name",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "language",
            "=",
            "value",
            ")"
        ],
        "question": "How many people live in countries that do not speak English?",
        "question_toks": [
            "How",
            "many",
            "people",
            "live",
            "in",
            "countries",
            "that",
            "do",
            "not",
            "speak",
            "English?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        23,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        24,
                                        false
                                    ],
                                    null
                                ],
                                "\"English\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.HeadOfState  =  \"Beatrix\" AND T2.IsOfficial  =  \"T\"",
        "query_toks": [
            "SELECT",
            "T2.Language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.HeadOfState",
            "=",
            "``",
            "Beatrix",
            "''",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "headofstate",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value"
        ],
        "question": "What is the official language spoken in the country lead by Beatrix?",
        "question_toks": [
            "What",
            "is",
            "the",
            "official",
            "language",
            "spoken",
            "in",
            "the",
            "country",
            "lead",
            "by",
            "Beatrix?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Beatrix\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.HeadOfState  =  \"Beatrix\" AND T2.IsOfficial  =  \"T\"",
        "query_toks": [
            "SELECT",
            "T2.Language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "T1.HeadOfState",
            "=",
            "``",
            "Beatrix",
            "''",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "t1",
            ".",
            "headofstate",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value"
        ],
        "question": "What is the official language used in the country the name of whose chief of state is Beatrix.",
        "question_toks": [
            "What",
            "is",
            "the",
            "official",
            "language",
            "used",
            "in",
            "the",
            "country",
            "the",
            "name",
            "of",
            "whose",
            "chief",
            "of",
            "state",
            "is",
            "Beatrix."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Beatrix\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE  IndepYear  <  1930 AND T2.IsOfficial  =  \"T\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T2.Language",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "IndepYear",
            "<",
            "1930",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "language",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "indepyear",
            "<",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value"
        ],
        "question": "What is the total number of unique official languages spoken in the countries that are founded before 1930?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "unique",
            "official",
            "languages",
            "spoken",
            "in",
            "the",
            "countries",
            "that",
            "are",
            "founded",
            "before",
            "1930?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1930.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE  IndepYear  <  1930 AND T2.IsOfficial  =  \"T\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T2.Language",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "WHERE",
            "IndepYear",
            "<",
            "1930",
            "AND",
            "T2.IsOfficial",
            "=",
            "``",
            "T",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "language",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "where",
            "indepyear",
            "<",
            "value",
            "and",
            "t2",
            ".",
            "isofficial",
            "=",
            "value"
        ],
        "question": "For the countries founded before 1930, what is the total number of distinct official languages?",
        "question_toks": [
            "For",
            "the",
            "countries",
            "founded",
            "before",
            "1930,",
            "what",
            "is",
            "the",
            "total",
            "number",
            "of",
            "distinct",
            "official",
            "languages?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1930.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE SurfaceArea  >  (SELECT min(SurfaceArea) FROM country WHERE Continent  =  \"Europe\")",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "SurfaceArea",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "SurfaceArea",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Europe",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "surfacearea",
            ">",
            "(",
            "select",
            "min",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            ")"
        ],
        "question": "What are the countries that have greater surface area than any country in Europe?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "that",
            "have",
            "greater",
            "surface",
            "area",
            "than",
            "any",
            "country",
            "in",
            "Europe?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"Europe\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE SurfaceArea  >  (SELECT min(SurfaceArea) FROM country WHERE Continent  =  \"Europe\")",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "SurfaceArea",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "SurfaceArea",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Europe",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "surfacearea",
            ">",
            "(",
            "select",
            "min",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            ")"
        ],
        "question": "Which countries larger than that of any country in Europe by land?",
        "question_toks": [
            "Which",
            "countries",
            "larger",
            "than",
            "that",
            "of",
            "any",
            "country",
            "in",
            "Europe",
            "by",
            "land?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"Europe\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE Continent  =  \"Africa\"  AND population  <  (SELECT max(population) FROM country WHERE Continent  =  \"Asia\")",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Africa",
            "''",
            "AND",
            "population",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "population",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "population",
            "<",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            ")"
        ],
        "question": "What are the African countries that have less people than any country in Asia?",
        "question_toks": [
            "What",
            "are",
            "the",
            "African",
            "countries",
            "that",
            "have",
            "less",
            "people",
            "than",
            "any",
            "country",
            "in",
            "Asia?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Africa\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"Asia\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE Continent  =  \"Africa\"  AND population  <  (SELECT min(population) FROM country WHERE Continent  =  \"Asia\")",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Africa",
            "''",
            "AND",
            "population",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "population",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "population",
            "<",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            ")"
        ],
        "question": "Which African countries have fewer people than that of any country in Asia?",
        "question_toks": [
            "Which",
            "African",
            "countries",
            "have",
            "fewer",
            "people",
            "than",
            "that",
            "of",
            "any",
            "country",
            "in",
            "Asia?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Africa\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"Asia\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE Continent  =  \"Asia\"  AND population  >  (SELECT max(population) FROM country WHERE Continent  =  \"Africa\")",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            "AND",
            "population",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "population",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Africa",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "population",
            ">",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            ")"
        ],
        "question": "Which Asian countries have more people than any country in Africa?",
        "question_toks": [
            "Which",
            "Asian",
            "countries",
            "have",
            "more",
            "people",
            "than",
            "any",
            "country",
            "in",
            "Africa?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"Africa\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE Continent  =  \"Asia\"  AND population  >  (SELECT min(population) FROM country WHERE Continent  =  \"Africa\")",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Asia",
            "''",
            "AND",
            "population",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "population",
            ")",
            "FROM",
            "country",
            "WHERE",
            "Continent",
            "=",
            "``",
            "Africa",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "population",
            ">",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            ")"
        ],
        "question": "What are the Asian countries have more people than that of any country in Africa?",
        "question_toks": [
            "What",
            "are",
            "the",
            "Asian",
            "countries",
            "have",
            "more",
            "people",
            "than",
            "that",
            "of",
            "any",
            "country",
            "in",
            "Africa?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"Africa\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE  =  \"English\"",
        "query_toks": [
            "SELECT",
            "CountryCode",
            "FROM",
            "countrylanguage",
            "EXCEPT",
            "SELECT",
            "CountryCode",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "English",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "countrycode",
            "from",
            "countrylanguage",
            "except",
            "select",
            "countrycode",
            "from",
            "countrylanguage",
            "where",
            "language",
            "=",
            "value"
        ],
        "question": "What are the country codes for countries that do not speak English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "country",
            "codes",
            "for",
            "countries",
            "that",
            "do",
            "not",
            "speak",
            "English?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"English\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE  =  \"English\"",
        "query_toks": [
            "SELECT",
            "CountryCode",
            "FROM",
            "countrylanguage",
            "EXCEPT",
            "SELECT",
            "CountryCode",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "English",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "countrycode",
            "from",
            "countrylanguage",
            "except",
            "select",
            "countrycode",
            "from",
            "countrylanguage",
            "where",
            "language",
            "=",
            "value"
        ],
        "question": "Return the country codes for countries that do not speak English.",
        "question_toks": [
            "Return",
            "the",
            "country",
            "codes",
            "for",
            "countries",
            "that",
            "do",
            "not",
            "speak",
            "English."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"English\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "CountryCode",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "!",
            "=",
            "``",
            "English",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "countrycode",
            "from",
            "countrylanguage",
            "where",
            "language",
            "!",
            "=",
            "value"
        ],
        "question": "What are the country codes of countries where people speak other than English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "country",
            "codes",
            "of",
            "countries",
            "where",
            "people",
            "speak",
            "other",
            "than",
            "English?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != \"English\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "CountryCode",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "!",
            "=",
            "``",
            "English",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "countrycode",
            "from",
            "countrylanguage",
            "where",
            "language",
            "!",
            "=",
            "value"
        ],
        "question": "Give the country codes for countries in which people does not speak English.",
        "question_toks": [
            "Give",
            "the",
            "country",
            "codes",
            "for",
            "countries",
            "in",
            "which",
            "people",
            "does",
            "not",
            "speak",
            "English."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE  =  \"English\"",
        "query_toks": [
            "SELECT",
            "Code",
            "FROM",
            "country",
            "WHERE",
            "GovernmentForm",
            "!",
            "=",
            "``",
            "Republic",
            "''",
            "EXCEPT",
            "SELECT",
            "CountryCode",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "English",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "code",
            "from",
            "country",
            "where",
            "governmentform",
            "!",
            "=",
            "value",
            "except",
            "select",
            "countrycode",
            "from",
            "countrylanguage",
            "where",
            "language",
            "=",
            "value"
        ],
        "question": "What are the codes of the countries that do not speak English and are not Republic?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "of",
            "the",
            "countries",
            "that",
            "do",
            "not",
            "speak",
            "English",
            "and",
            "are",
            "not",
            "Republic?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Republic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"English\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Code FROM country WHERE GovernmentForm != \"Republic\" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE  =  \"English\"",
        "query_toks": [
            "SELECT",
            "Code",
            "FROM",
            "country",
            "WHERE",
            "GovernmentForm",
            "!",
            "=",
            "``",
            "Republic",
            "''",
            "EXCEPT",
            "SELECT",
            "CountryCode",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "English",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "code",
            "from",
            "country",
            "where",
            "governmentform",
            "!",
            "=",
            "value",
            "except",
            "select",
            "countrycode",
            "from",
            "countrylanguage",
            "where",
            "language",
            "=",
            "value"
        ],
        "question": "Return the codes of non republic countries that do not speak Englishs.",
        "question_toks": [
            "Return",
            "the",
            "codes",
            "of",
            "non",
            "republic",
            "countries",
            "that",
            "do",
            "not",
            "speak",
            "Englishs."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Republic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        "\"English\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode  =  T1.Code WHERE T1.Continent  =  'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code  =  T4.CountryCode WHERE T4.IsOfficial  =  'T' AND T4.Language  =  'English')",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "city",
            "AS",
            "T2",
            "ON",
            "T2.CountryCode",
            "=",
            "T1.Code",
            "WHERE",
            "T1.Continent",
            "=",
            "'Europe",
            "'",
            "AND",
            "T1.Name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T3.Name",
            "FROM",
            "country",
            "AS",
            "T3",
            "JOIN",
            "countrylanguage",
            "AS",
            "T4",
            "ON",
            "T3.Code",
            "=",
            "T4.CountryCode",
            "WHERE",
            "T4.IsOfficial",
            "=",
            "'T",
            "'",
            "AND",
            "T4.Language",
            "=",
            "'English",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "city",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "countrycode",
            "=",
            "t1",
            ".",
            "code",
            "where",
            "t1",
            ".",
            "continent",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "not",
            "in",
            "(",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t3",
            "join",
            "countrylanguage",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t4",
            ".",
            "countrycode",
            "where",
            "t4",
            ".",
            "isofficial",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "language",
            "=",
            "value",
            ")"
        ],
        "question": "Which cities are in European countries where English is not spoken officially?",
        "question_toks": [
            "Which",
            "cities",
            "are",
            "in",
            "European",
            "countries",
            "where",
            "English",
            "is",
            "not",
            "spoken",
            "officially?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Europe\"",
                    null
                ],
                "and",
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        23,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        25,
                                        false
                                    ],
                                    null
                                ],
                                "\"T\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        24,
                                        false
                                    ],
                                    null
                                ],
                                "\"English\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "select distinct t3.name from country as t1 join countrylanguage as t2 on t1.code  =  t2.countrycode join city as t3 on t1.code  =  t3.countrycode where t2.isofficial  =  't' and t2.language  =  'chinese' and t1.continent  =  \"asia\"",
        "query_toks": [
            "select",
            "distinct",
            "t3.name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1.code",
            "=",
            "t2.countrycode",
            "join",
            "city",
            "as",
            "t3",
            "on",
            "t1.code",
            "=",
            "t3.countrycode",
            "where",
            "t2.isofficial",
            "=",
            "\"t\"",
            "and",
            "t2.language",
            "=",
            "\"chinese\"",
            "and",
            "t1.continent",
            "=",
            "\"asia\""
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "join",
            "city",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t3",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "isofficial",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "continent",
            "=",
            "value"
        ],
        "question": "Whic`h unique cities are in  Asian countries where Chinese is the official ?",
        "question_toks": [
            "Whic`h",
            "unique",
            "cities",
            "are",
            "in",
            "Asian",
            "countries",
            "where",
            "Chinese",
            "is",
            "the",
            "official",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"t\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"chinese\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT DISTINCT T3.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode JOIN city AS T3 ON T1.Code  =  T3.CountryCode WHERE T2.IsOfficial  =  'T' AND T2.Language  =  'Chinese' AND T1.Continent  =  \"Asia\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "countrylanguage",
            "AS",
            "T2",
            "ON",
            "T1.Code",
            "=",
            "T2.CountryCode",
            "JOIN",
            "city",
            "AS",
            "T3",
            "ON",
            "T1.Code",
            "=",
            "T3.CountryCode",
            "WHERE",
            "T2.IsOfficial",
            "=",
            "'T",
            "'",
            "AND",
            "T2.Language",
            "=",
            "'Chinese",
            "'",
            "AND",
            "T1.Continent",
            "=",
            "``",
            "Asia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "countrylanguage",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "countrycode",
            "join",
            "city",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t3",
            ".",
            "countrycode",
            "where",
            "t2",
            ".",
            "isofficial",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "language",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "continent",
            "=",
            "value"
        ],
        "question": "Return the different names of cities that are in Asia and for which Chinese is used officially .",
        "question_toks": [
            "Return",
            "the",
            "different",
            "names",
            "of",
            "cities",
            "that",
            "are",
            "in",
            "Asia",
            "and",
            "for",
            "which",
            "Chinese",
            "is",
            "used",
            "officially",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Chinese\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name ,  SurfaceArea ,  IndepYear FROM country ORDER BY Population LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "SurfaceArea",
            ",",
            "IndepYear",
            "FROM",
            "country",
            "ORDER",
            "BY",
            "Population",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "surfacearea",
            ",",
            "indepyear",
            "from",
            "country",
            "order",
            "by",
            "population",
            "limit",
            "value"
        ],
        "question": "What are the name, independence year, and surface area of the country with the least number of nationalities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name,",
            "independence",
            "year,",
            "and",
            "surface",
            "area",
            "of",
            "the",
            "country",
            "with",
            "the",
            "least",
            "number",
            "of",
            "nationalities?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name ,  SurfaceArea ,  IndepYear FROM country ORDER BY Population LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "SurfaceArea",
            ",",
            "IndepYear",
            "FROM",
            "country",
            "ORDER",
            "BY",
            "Population",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "surfacearea",
            ",",
            "indepyear",
            "from",
            "country",
            "order",
            "by",
            "population",
            "limit",
            "value"
        ],
        "question": "Give the name, year of independence, and surface area of the country that has the fewest people.",
        "question_toks": [
            "Give",
            "the",
            "name,",
            "year",
            "of",
            "independence,",
            "and",
            "surface",
            "area",
            "of",
            "the",
            "country",
            "that",
            "has",
            "the",
            "fewest",
            "people."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name ,  population ,  HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "population",
            ",",
            "HeadOfState",
            "FROM",
            "country",
            "ORDER",
            "BY",
            "SurfaceArea",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "population",
            ",",
            "headofstate",
            "from",
            "country",
            "order",
            "by",
            "surfacearea",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the population, name and leader of the largest country by land?",
        "question_toks": [
            "What",
            "are",
            "the",
            "population,",
            "name",
            "and",
            "leader",
            "of",
            "the",
            "largest",
            "country",
            "by",
            "land?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(*) ,  District FROM city WHERE Population  >  (SELECT avg(Population) FROM city) GROUP BY District",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "District",
            "FROM",
            "city",
            "WHERE",
            "Population",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "Population",
            ")",
            "FROM",
            "city",
            ")",
            "GROUP",
            "BY",
            "District"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "district",
            "from",
            "city",
            "where",
            "population",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")",
            "group",
            "by",
            "district"
        ],
        "question": "Find the number of cities in each district who have more people than average?",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "cities",
            "in",
            "each",
            "district",
            "who",
            "have",
            "more",
            "people",
            "than",
            "average?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(*) ,  District FROM city WHERE Population  >  (SELECT avg(Population) FROM city) GROUP BY District",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "District",
            "FROM",
            "city",
            "WHERE",
            "Population",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "Population",
            ")",
            "FROM",
            "city",
            ")",
            "GROUP",
            "BY",
            "District"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "district",
            "from",
            "city",
            "where",
            "population",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")",
            "group",
            "by",
            "district"
        ],
        "question": "How many cities in each district have more number of people than average?",
        "question_toks": [
            "How",
            "many",
            "cities",
            "in",
            "each",
            "district",
            "have",
            "more",
            "number",
            "of",
            "people",
            "than",
            "average?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name ,  SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "SurfaceArea",
            "FROM",
            "country",
            "ORDER",
            "BY",
            "SurfaceArea",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "surfacearea",
            "from",
            "country",
            "order",
            "by",
            "surfacearea",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the names and surface areas of the 5 largest countries.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "and",
            "surface",
            "areas",
            "of",
            "the",
            "5",
            "largest",
            "countries."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country ORDER BY Population DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "ORDER",
            "BY",
            "Population",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are names of top 3 countries with most people?",
        "question_toks": [
            "What",
            "are",
            "names",
            "of",
            "top",
            "3",
            "countries",
            "with",
            "most",
            "people?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country ORDER BY Population DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "ORDER",
            "BY",
            "Population",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the names of the 3 most populated countries.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "the",
            "3",
            "most",
            "populated",
            "countries."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country ORDER BY Population ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "ORDER",
            "BY",
            "Population",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "order",
            "by",
            "population",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the names of the nations with the 3 lowest number of citizens?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "nations",
            "with",
            "the",
            "3",
            "lowest",
            "number",
            "of",
            "citizens?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country ORDER BY Population ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "ORDER",
            "BY",
            "Population",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "order",
            "by",
            "population",
            "asc",
            "limit",
            "value"
        ],
        "question": "Return the names of the 3 countries with the fewest people.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "the",
            "3",
            "countries",
            "with",
            "the",
            "fewest",
            "people."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(*) FROM country WHERE continent  =  \"Asia\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "WHERE",
            "continent",
            "=",
            "``",
            "Asia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value"
        ],
        "question": "how many countries are in Asia?",
        "question_toks": [
            "how",
            "many",
            "countries",
            "are",
            "in",
            "Asia?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(*) FROM country WHERE continent  =  \"Asia\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "WHERE",
            "continent",
            "=",
            "``",
            "Asia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value"
        ],
        "question": "Count the number of countries in Asia.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "countries",
            "in",
            "Asia."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Asia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE continent  =  \"Europe\" AND Population  =  \"80000\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "continent",
            "=",
            "``",
            "Europe",
            "''",
            "AND",
            "Population",
            "=",
            "``",
            "80000",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "population",
            "=",
            "value"
        ],
        "question": "What are the names of the countries that are in Europe and have 80000 people?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "countries",
            "that",
            "are",
            "in",
            "Europe",
            "and",
            "have",
            "80000",
            "people?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Europe\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"80000\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT Name FROM country WHERE continent  =  \"Europe\" AND Population  =  \"80000\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "continent",
            "=",
            "``",
            "Europe",
            "''",
            "AND",
            "Population",
            "=",
            "``",
            "80000",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "population",
            "=",
            "value"
        ],
        "question": "Give the names of countries that are in Europe and have 80000 people.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "countries",
            "that",
            "are",
            "in",
            "Europe",
            "and",
            "have",
            "80000",
            "people."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Europe\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"80000\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "select sum(population) ,  avg(surfacearea) from country where continent  =  \"north america\" and surfacearea  >  3000",
        "query_toks": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            ",",
            "avg",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "\"north america\"",
            "and",
            "surfacearea",
            ">",
            "3000"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            ",",
            "avg",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "surfacearea",
            ">",
            "value"
        ],
        "question": "What is the total population and average area of countries in North America who is bigger than 3000 square miles",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "population",
            "and",
            "average",
            "area",
            "of",
            "countries",
            "in",
            "North",
            "America",
            "who",
            "is",
            "bigger",
            "than",
            "3000",
            "square",
            "miles"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"north america\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "select sum(population) ,  avg(surfacearea) from country where continent  =  \"north america\" and surfacearea  >  3000",
        "query_toks": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            ",",
            "avg",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "\"north america\"",
            "and",
            "surfacearea",
            ">",
            "3000"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            ",",
            "avg",
            "(",
            "surfacearea",
            ")",
            "from",
            "country",
            "where",
            "continent",
            "=",
            "value",
            "and",
            "surfacearea",
            ">",
            "value"
        ],
        "question": "Give the total population and average  corresponding to countries in Noth America that is bigger than 3000 square miles.",
        "question_toks": [
            "Give",
            "the",
            "total",
            "population",
            "and",
            "average",
            "corresponding",
            "to",
            "countries",
            "in",
            "Noth",
            "America",
            "that",
            "is",
            "bigger",
            "than",
            "3000",
            "square",
            "miles."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"north america\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT name FROM city WHERE Population BETWEEN 160000 AND 900000",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "city",
            "WHERE",
            "Population",
            "BETWEEN",
            "160000",
            "AND",
            "900000"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "where",
            "population",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the cities who have more than 160000 people and less than 900000 people?",
        "question_toks": [
            "What",
            "are",
            "the",
            "cities",
            "who",
            "have",
            "more",
            "than",
            "160000",
            "people",
            "and",
            "less",
            "than",
            "900000",
            "people?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    160000.0,
                    900000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "select name from city where population between 160000 and 900000",
        "query_toks": [
            "select",
            "name",
            "from",
            "city",
            "where",
            "population",
            "between",
            "160000",
            "and",
            "900000"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "where",
            "population",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Return the names of cities that have between 160000 and 900000 people.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "cities",
            "that",
            "have",
            "between",
            "160000",
            "and",
            "900000",
            "people."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    160000.0,
                    900000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT LANGUAGE ,  CountryCode ,  max(Percentage) FROM countrylanguage GROUP BY CountryCode",
        "query_toks": [
            "SELECT",
            "LANGUAGE",
            ",",
            "CountryCode",
            ",",
            "max",
            "(",
            "Percentage",
            ")",
            "FROM",
            "countrylanguage",
            "GROUP",
            "BY",
            "CountryCode"
        ],
        "query_toks_no_value": [
            "select",
            "language",
            ",",
            "countrycode",
            ",",
            "max",
            "(",
            "percentage",
            ")",
            "from",
            "countrylanguage",
            "group",
            "by",
            "countrycode"
        ],
        "question": "What is the language spoken by the largest percentage of people in each nation?",
        "question_toks": [
            "What",
            "is",
            "the",
            "language",
            "spoken",
            "by",
            "the",
            "largest",
            "percentage",
            "of",
            "people",
            "in",
            "each",
            "nation?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT LANGUAGE ,  CountryCode ,  max(Percentage) FROM countrylanguage GROUP BY CountryCode",
        "query_toks": [
            "SELECT",
            "LANGUAGE",
            ",",
            "CountryCode",
            ",",
            "max",
            "(",
            "Percentage",
            ")",
            "FROM",
            "countrylanguage",
            "GROUP",
            "BY",
            "CountryCode"
        ],
        "query_toks_no_value": [
            "select",
            "language",
            ",",
            "countrycode",
            ",",
            "max",
            "(",
            "percentage",
            ")",
            "from",
            "countrylanguage",
            "group",
            "by",
            "countrycode"
        ],
        "question": "What are the codes of the different nations, and what are the languages spoken by the greatest percentage of people for each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "of",
            "the",
            "different",
            "nations,",
            "and",
            "what",
            "are",
            "the",
            "languages",
            "spoken",
            "by",
            "the",
            "greatest",
            "percentage",
            "of",
            "people",
            "for",
            "each?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(*) ,   max(Percentage) FROM countrylanguage WHERE LANGUAGE  =  \"Spanish\" GROUP BY CountryCode",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "max",
            "(",
            "Percentage",
            ")",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "Spanish",
            "''",
            "GROUP",
            "BY",
            "CountryCode"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "max",
            "(",
            "percentage",
            ")",
            "from",
            "countrylanguage",
            "where",
            "language",
            "=",
            "value",
            "group",
            "by",
            "countrycode"
        ],
        "question": "What is the total number of countries where Spanish is spoken by the largest percentage of people?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "countries",
            "where",
            "Spanish",
            "is",
            "spoken",
            "by",
            "the",
            "largest",
            "percentage",
            "of",
            "people?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Spanish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT count(*) ,   max(Percentage) FROM countrylanguage WHERE LANGUAGE  =  \"Spanish\" GROUP BY CountryCode",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "max",
            "(",
            "Percentage",
            ")",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "Spanish",
            "''",
            "GROUP",
            "BY",
            "CountryCode"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "max",
            "(",
            "percentage",
            ")",
            "from",
            "countrylanguage",
            "where",
            "language",
            "=",
            "value",
            "group",
            "by",
            "countrycode"
        ],
        "question": "Count the number of countries for which Spanish is predominantly spoken .",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "countries",
            "for",
            "which",
            "Spanish",
            "is",
            "predominantly",
            "spoken",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Spanish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT CountryCode ,  max(Percentage) FROM countrylanguage WHERE LANGUAGE  =  \"Spanish\" GROUP BY CountryCode",
        "query_toks": [
            "SELECT",
            "CountryCode",
            ",",
            "max",
            "(",
            "Percentage",
            ")",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "Spanish",
            "''",
            "GROUP",
            "BY",
            "CountryCode"
        ],
        "query_toks_no_value": [
            "select",
            "countrycode",
            ",",
            "max",
            "(",
            "percentage",
            ")",
            "from",
            "countrylanguage",
            "where",
            "language",
            "=",
            "value",
            "group",
            "by",
            "countrycode"
        ],
        "question": "What are the codes of countries where Spanish is spoken by the largest percentage of people?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "of",
            "countries",
            "where",
            "Spanish",
            "is",
            "spoken",
            "by",
            "the",
            "largest",
            "percentage",
            "of",
            "people?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Spanish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "world_1",
        "query": "SELECT CountryCode ,  max(Percentage) FROM countrylanguage WHERE LANGUAGE  =  \"Spanish\" GROUP BY CountryCode",
        "query_toks": [
            "SELECT",
            "CountryCode",
            ",",
            "max",
            "(",
            "Percentage",
            ")",
            "FROM",
            "countrylanguage",
            "WHERE",
            "LANGUAGE",
            "=",
            "``",
            "Spanish",
            "''",
            "GROUP",
            "BY",
            "CountryCode"
        ],
        "query_toks_no_value": [
            "select",
            "countrycode",
            ",",
            "max",
            "(",
            "percentage",
            ")",
            "from",
            "countrylanguage",
            "where",
            "language",
            "=",
            "value",
            "group",
            "by",
            "countrycode"
        ],
        "question": "Return the codes of countries for which Spanish is predominantly spoken .",
        "question_toks": [
            "Return",
            "the",
            "codes",
            "of",
            "countries",
            "for",
            "which",
            "Spanish",
            "is",
            "predominantly",
            "spoken",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Spanish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "orchestra",
        "query": "SELECT Name FROM conductor ORDER BY Age ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "conductor",
            "ORDER",
            "BY",
            "Age",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "conductor",
            "order",
            "by",
            "age",
            "asc"
        ],
        "question": "List the names of conductors from youngest to oldest.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "conductors",
            "from",
            "youngest",
            "to",
            "oldest."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "orchestra",
        "query": "SELECT Name FROM conductor ORDER BY Age ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "conductor",
            "ORDER",
            "BY",
            "Age",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "conductor",
            "order",
            "by",
            "age",
            "asc"
        ],
        "question": "What are the names of conductors, ordered by how old they are?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "conductors,",
            "ordered",
            "by",
            "how",
            "old",
            "they",
            "are?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "orchestra",
        "query": "SELECT Name FROM conductor WHERE Nationality != 'USA'",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "conductor",
            "WHERE",
            "Nationality",
            "!",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "conductor",
            "where",
            "nationality",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of conductors who are not from \"\"USA\"\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "conductors",
            "who",
            "are",
            "not",
            "from",
            "\"\"USA\"\"?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "orchestra",
        "query": "SELECT Name FROM conductor WHERE Nationality != 'USA'",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "conductor",
            "WHERE",
            "Nationality",
            "!",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "conductor",
            "where",
            "nationality",
            "!",
            "=",
            "value"
        ],
        "question": "Return the names of non USA conductors.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "non",
            "USA",
            "conductors."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "orchestra",
        "query": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC",
        "query_toks": [
            "SELECT",
            "Record_Company",
            "FROM",
            "orchestra",
            "ORDER",
            "BY",
            "Year_of_Founded",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "record_company",
            "from",
            "orchestra",
            "order",
            "by",
            "year_of_founded",
            "desc"
        ],
        "question": "What are the record companies of orchestras in descending order of time in which they started?",
        "question_toks": [
            "What",
            "are",
            "the",
            "record",
            "companies",
            "of",
            "orchestras",
            "in",
            "descending",
            "order",
            "of",
            "time",
            "in",
            "which",
            "they",
            "started?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "orchestra",
        "query": "SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC",
        "query_toks": [
            "SELECT",
            "Record_Company",
            "FROM",
            "orchestra",
            "ORDER",
            "BY",
            "Year_of_Founded",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "record_company",
            "from",
            "orchestra",
            "order",
            "by",
            "year_of_founded",
            "desc"
        ],
        "question": "Return the record companies of orchestras, sorted ascending by the time they have existed.",
        "question_toks": [
            "Return",
            "the",
            "record",
            "companies",
            "of",
            "orchestras,",
            "sorted",
            "ascending",
            "by",
            "the",
            "time",
            "they",
            "have",
            "existed."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "orchestra",
        "query": "SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format  =  \"CD\" OR Major_Record_Format  =  \"DVD\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "orchestra",
            "WHERE",
            "Major_Record_Format",
            "=",
            "``",
            "CD",
            "''",
            "OR",
            "Major_Record_Format",
            "=",
            "``",
            "DVD",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "orchestra",
            "where",
            "major_record_format",
            "=",
            "value",
            "or",
            "major_record_format",
            "=",
            "value"
        ],
        "question": "Find the number of orchestras recorded in \"\"\"\"CD\"\"\"\" or \"\"\"\"DVD\"\"\"\".",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "orchestras",
            "recorded",
            "in",
            "\"\"\"\"CD\"\"\"\"",
            "or",
            "\"\"\"\"DVD\"\"\"\"."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"CD\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"DVD\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT grade FROM Highschooler WHERE name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "grade",
            "FROM",
            "Highschooler",
            "WHERE",
            "name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "grade",
            "from",
            "highschooler",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What grade is Kyle in?",
        "question_toks": [
            "What",
            "grade",
            "is",
            "Kyle",
            "in?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT grade FROM Highschooler WHERE name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "grade",
            "FROM",
            "Highschooler",
            "WHERE",
            "name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "grade",
            "from",
            "highschooler",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Return the grade for Kyle.",
        "question_toks": [
            "Return",
            "the",
            "grade",
            "for",
            "Kyle."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT name FROM Highschooler WHERE grade  =  10",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Highschooler",
            "WHERE",
            "grade",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "highschooler",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "Show the names of all high schoolers in  10.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "all",
            "high",
            "schoolers",
            "in",
            "10."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT name FROM Highschooler WHERE grade  =  10",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Highschooler",
            "WHERE",
            "grade",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "highschooler",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "What are the names of all high schoolers in  10?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "high",
            "schoolers",
            "in",
            "10?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT ID FROM Highschooler WHERE name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "ID",
            "FROM",
            "Highschooler",
            "WHERE",
            "name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "highschooler",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Show the ID of Kyle.",
        "question_toks": [
            "Show",
            "the",
            "ID",
            "of",
            "Kyle."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT ID FROM Highschooler WHERE name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "ID",
            "FROM",
            "Highschooler",
            "WHERE",
            "name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "highschooler",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is Kyle's id?",
        "question_toks": [
            "What",
            "is",
            "Kyle's",
            "id?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT count(*) FROM Highschooler WHERE grade  =  9 OR grade  =  10",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Highschooler",
            "WHERE",
            "grade",
            "=",
            "9",
            "OR",
            "grade",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "highschooler",
            "where",
            "grade",
            "=",
            "value",
            "or",
            "grade",
            "=",
            "value"
        ],
        "question": "How many high schoolers are there in  9 or 10?",
        "question_toks": [
            "How",
            "many",
            "high",
            "schoolers",
            "are",
            "there",
            "in",
            "9",
            "or",
            "10?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    9.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT count(*) FROM Highschooler WHERE grade  =  9 OR grade  =  10",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Highschooler",
            "WHERE",
            "grade",
            "=",
            "9",
            "OR",
            "grade",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "highschooler",
            "where",
            "grade",
            "=",
            "value",
            "or",
            "grade",
            "=",
            "value"
        ],
        "question": "Count the number of high schoolers in grades 9 or 10.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "high",
            "schoolers",
            "in",
            "grades",
            "9",
            "or",
            "10."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    9.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT grade ,  count(*) FROM Highschooler GROUP BY grade",
        "query_toks": [
            "SELECT",
            "grade",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Highschooler",
            "GROUP",
            "BY",
            "grade"
        ],
        "query_toks_no_value": [
            "select",
            "grade",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "highschooler",
            "group",
            "by",
            "grade"
        ],
        "question": "Show the number of high schoolers for each year.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "high",
            "schoolers",
            "for",
            "each",
            "year."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT grade ,  count(*) FROM Highschooler GROUP BY grade",
        "query_toks": [
            "SELECT",
            "grade",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Highschooler",
            "GROUP",
            "BY",
            "grade"
        ],
        "query_toks_no_value": [
            "select",
            "grade",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "highschooler",
            "group",
            "by",
            "grade"
        ],
        "question": "How many high schoolers are in each year?",
        "question_toks": [
            "How",
            "many",
            "high",
            "schoolers",
            "are",
            "in",
            "each",
            "year?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT grade FROM Highschooler GROUP BY grade ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "grade",
            "FROM",
            "Highschooler",
            "GROUP",
            "BY",
            "grade",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "grade",
            "from",
            "highschooler",
            "group",
            "by",
            "grade",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which year has the most high schoolers?",
        "question_toks": [
            "Which",
            "year",
            "has",
            "the",
            "most",
            "high",
            "schoolers?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id JOIN Highschooler AS T3 ON T1.friend_id  =  T3.id WHERE T2.name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "Friend",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            "JOIN",
            "Highschooler",
            "AS",
            "T3",
            "ON",
            "T1.friend_id",
            "=",
            "T3.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "friend",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "highschooler",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "friend_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show the names of all of Kyle's friends.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "all",
            "of",
            "Kyle's",
            "friends."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id JOIN Highschooler AS T3 ON T1.friend_id  =  T3.id WHERE T2.name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "Friend",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            "JOIN",
            "Highschooler",
            "AS",
            "T3",
            "ON",
            "T1.friend_id",
            "=",
            "T3.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "friend",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "highschooler",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "friend_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Return the names of friends of  Kyle.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "friends",
            "of",
            "Kyle."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id WHERE T2.name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Friend",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "friend",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many friends does Kyle have?",
        "question_toks": [
            "How",
            "many",
            "friends",
            "does",
            "Kyle",
            "have?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id WHERE T2.name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Friend",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "friend",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Count the number of friends Kyle has.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "friends",
            "Kyle",
            "has."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id WHERE T2.name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Likes",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "likes",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many likes does Kyle have?",
        "question_toks": [
            "How",
            "many",
            "likes",
            "does",
            "Kyle",
            "have?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id WHERE T2.name  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Likes",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "likes",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Return the number of likes Kyle has.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "likes",
            "Kyle",
            "has."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "grade",
            ")",
            "FROM",
            "Highschooler",
            "WHERE",
            "id",
            "IN",
            "(",
            "SELECT",
            "T1.student_id",
            "FROM",
            "Friend",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "grade",
            ")",
            "from",
            "highschooler",
            "where",
            "id",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "student_id",
            "from",
            "friend",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            ")"
        ],
        "question": "Find the average grade of all students who have some friends.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "grade",
            "of",
            "all",
            "students",
            "who",
            "have",
            "some",
            "friends."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT avg(grade) FROM Highschooler WHERE id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "grade",
            ")",
            "FROM",
            "Highschooler",
            "WHERE",
            "id",
            "IN",
            "(",
            "SELECT",
            "T1.student_id",
            "FROM",
            "Friend",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "grade",
            ")",
            "from",
            "highschooler",
            "where",
            "id",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "student_id",
            "from",
            "friend",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            ")"
        ],
        "question": "What is the average grade of students who have friends?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "grade",
            "of",
            "students",
            "who",
            "have",
            "friends?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT min(grade) FROM Highschooler WHERE id NOT IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id)",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "grade",
            ")",
            "FROM",
            "Highschooler",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.student_id",
            "FROM",
            "Friend",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "grade",
            ")",
            "from",
            "highschooler",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "student_id",
            "from",
            "friend",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            ")"
        ],
        "question": "Find the minimum grade of students who have no friends.",
        "question_toks": [
            "Find",
            "the",
            "minimum",
            "grade",
            "of",
            "students",
            "who",
            "have",
            "no",
            "friends."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "network_1",
        "query": "SELECT min(grade) FROM Highschooler WHERE id NOT IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id)",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "grade",
            ")",
            "FROM",
            "Highschooler",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.student_id",
            "FROM",
            "Friend",
            "AS",
            "T1",
            "JOIN",
            "Highschooler",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.id",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "grade",
            ")",
            "from",
            "highschooler",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "student_id",
            "from",
            "friend",
            "as",
            "t1",
            "join",
            "highschooler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "id",
            ")"
        ],
        "question": "What is the lowest grade of students who do not have any friends?",
        "question_toks": [
            "What",
            "is",
            "the",
            "lowest",
            "grade",
            "of",
            "students",
            "who",
            "do",
            "not",
            "have",
            "any",
            "friends?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT professional_id ,  last_name ,  cell_number FROM Professionals WHERE state  =  'Indiana' UNION SELECT T1.professional_id ,  T1.last_name ,  T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "professional_id",
            ",",
            "last_name",
            ",",
            "cell_number",
            "FROM",
            "Professionals",
            "WHERE",
            "state",
            "=",
            "'Indiana",
            "'",
            "UNION",
            "SELECT",
            "T1.professional_id",
            ",",
            "T1.last_name",
            ",",
            "T1.cell_number",
            "FROM",
            "Professionals",
            "AS",
            "T1",
            "JOIN",
            "Treatments",
            "AS",
            "T2",
            "ON",
            "T1.professional_id",
            "=",
            "T2.professional_id",
            "GROUP",
            "BY",
            "T1.professional_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "professional_id",
            ",",
            "last_name",
            ",",
            "cell_number",
            "from",
            "professionals",
            "where",
            "state",
            "=",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "professional_id",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "cell_number",
            "from",
            "professionals",
            "as",
            "t1",
            "join",
            "treatments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "professional_id",
            "=",
            "t2",
            ".",
            "professional_id",
            "group",
            "by",
            "t1",
            ".",
            "professional_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which professionals live in Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone.",
        "question_toks": [
            "Which",
            "professionals",
            "live",
            "in",
            "Indiana",
            "or",
            "have",
            "done",
            "treatment",
            "on",
            "more",
            "than",
            "2",
            "treatments?",
            "List",
            "his",
            "or",
            "her",
            "id,",
            "last",
            "name",
            "and",
            "cell",
            "phone."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Indiana\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    40,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    43,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        33,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT professional_id ,  last_name ,  cell_number FROM Professionals WHERE state  =  'Indiana' UNION SELECT T1.professional_id ,  T1.last_name ,  T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "professional_id",
            ",",
            "last_name",
            ",",
            "cell_number",
            "FROM",
            "Professionals",
            "WHERE",
            "state",
            "=",
            "'Indiana",
            "'",
            "UNION",
            "SELECT",
            "T1.professional_id",
            ",",
            "T1.last_name",
            ",",
            "T1.cell_number",
            "FROM",
            "Professionals",
            "AS",
            "T1",
            "JOIN",
            "Treatments",
            "AS",
            "T2",
            "ON",
            "T1.professional_id",
            "=",
            "T2.professional_id",
            "GROUP",
            "BY",
            "T1.professional_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "professional_id",
            ",",
            "last_name",
            ",",
            "cell_number",
            "from",
            "professionals",
            "where",
            "state",
            "=",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "professional_id",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "cell_number",
            "from",
            "professionals",
            "as",
            "t1",
            "join",
            "treatments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "professional_id",
            "=",
            "t2",
            ".",
            "professional_id",
            "group",
            "by",
            "t1",
            ".",
            "professional_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the id, last name and cell phone of the professionals who live in Indiana or have performed more than two treatments.",
        "question_toks": [
            "Find",
            "the",
            "id,",
            "last",
            "name",
            "and",
            "cell",
            "phone",
            "of",
            "the",
            "professionals",
            "who",
            "live",
            "in",
            "Indiana",
            "or",
            "have",
            "performed",
            "more",
            "than",
            "two",
            "treatments."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Indiana\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    40,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    43,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        33,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment)  >  1000 )",
        "query_toks": [
            "select",
            "name",
            "from",
            "dogs",
            "where",
            "dog_id",
            "not",
            "in",
            "(",
            "select",
            "dog_id",
            "from",
            "treatments",
            "group",
            "by",
            "dog_id",
            "having",
            "sum",
            "(",
            "cost_of_treatment",
            ")",
            ">",
            "1000",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "dogs",
            "where",
            "dog_id",
            "not",
            "in",
            "(",
            "select",
            "dog_id",
            "from",
            "treatments",
            "group",
            "by",
            "dog_id",
            "having",
            "sum",
            "(",
            "cost_of_treatment",
            ")",
            ">",
            "value",
            ")"
        ],
        "question": "What are the names of the dogs for which the owner spent more than 1000 for treatment?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "dogs",
            "for",
            "which",
            "the",
            "owner",
            "spent",
            "more",
            "than",
            "1000",
            "for",
            "treatment?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                45,
                                false
                            ]
                        ],
                        "having": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        4,
                                        49,
                                        false
                                    ],
                                    null
                                ],
                                1000.0,
                                null
                            ]
                        ],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T2.first_name ,  T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id  =  T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.owner_id",
            ",",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "Dogs",
            "AS",
            "T1",
            "JOIN",
            "Owners",
            "AS",
            "T2",
            "ON",
            "T1.owner_id",
            "=",
            "T2.owner_id",
            "GROUP",
            "BY",
            "T1.owner_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "owner_id",
            ",",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "dogs",
            "as",
            "t1",
            "join",
            "owners",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "owner_id",
            "=",
            "t2",
            ".",
            "owner_id",
            "group",
            "by",
            "t1",
            ".",
            "owner_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which person has the most dogs? List the id, first name and last name.",
        "question_toks": [
            "Which",
            "person",
            "has",
            "the",
            "most",
            "dogs?",
            "List",
            "the",
            "id,",
            "first",
            "name",
            "and",
            "last",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T2.first_name ,  T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id  =  T2.owner_id GROUP BY T1.owner_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.owner_id",
            ",",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "Dogs",
            "AS",
            "T1",
            "JOIN",
            "Owners",
            "AS",
            "T2",
            "ON",
            "T1.owner_id",
            "=",
            "T2.owner_id",
            "GROUP",
            "BY",
            "T1.owner_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "owner_id",
            ",",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "dogs",
            "as",
            "t1",
            "join",
            "owners",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "owner_id",
            "=",
            "t2",
            ".",
            "owner_id",
            "group",
            "by",
            "t1",
            ".",
            "owner_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the id, first name and last name of the person who has the most dogs.",
        "question_toks": [
            "Return",
            "the",
            "id,",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "person",
            "who",
            "has",
            "the",
            "most",
            "dogs."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.professional_id ,  T1.role_code ,  T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.professional_id",
            ",",
            "T1.role_code",
            ",",
            "T1.first_name",
            "FROM",
            "Professionals",
            "AS",
            "T1",
            "JOIN",
            "Treatments",
            "AS",
            "T2",
            "ON",
            "T1.professional_id",
            "=",
            "T2.professional_id",
            "GROUP",
            "BY",
            "T1.professional_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "professional_id",
            ",",
            "t1",
            ".",
            "role_code",
            ",",
            "t1",
            ".",
            "first_name",
            "from",
            "professionals",
            "as",
            "t1",
            "join",
            "treatments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "professional_id",
            "=",
            "t2",
            ".",
            "professional_id",
            "group",
            "by",
            "t1",
            ".",
            "professional_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which doctors have done at least two treatments? List theid, role, and first name.",
        "question_toks": [
            "Which",
            "doctors",
            "have",
            "done",
            "at",
            "least",
            "two",
            "treatments?",
            "List",
            "theid,",
            "role,",
            "and",
            "first",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    33,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.professional_id ,  T1.role_code ,  T1.first_name FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id  =  T2.professional_id GROUP BY T1.professional_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.professional_id",
            ",",
            "T1.role_code",
            ",",
            "T1.first_name",
            "FROM",
            "Professionals",
            "AS",
            "T1",
            "JOIN",
            "Treatments",
            "AS",
            "T2",
            "ON",
            "T1.professional_id",
            "=",
            "T2.professional_id",
            "GROUP",
            "BY",
            "T1.professional_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "professional_id",
            ",",
            "t1",
            ".",
            "role_code",
            ",",
            "t1",
            ".",
            "first_name",
            "from",
            "professionals",
            "as",
            "t1",
            "join",
            "treatments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "professional_id",
            "=",
            "t2",
            ".",
            "professional_id",
            "group",
            "by",
            "t1",
            ".",
            "professional_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the id, role, and first name of the people who have performed two or more treatments?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id,",
            "role,",
            "and",
            "first",
            "name",
            "of",
            "the",
            "people",
            "who",
            "have",
            "performed",
            "two",
            "or",
            "more",
            "treatments?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    33,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code  =  T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.treatment_type_description",
            "FROM",
            "Treatment_types",
            "AS",
            "T1",
            "JOIN",
            "Treatments",
            "AS",
            "T2",
            "ON",
            "T1.treatment_type_code",
            "=",
            "T2.treatment_type_code",
            "GROUP",
            "BY",
            "T1.treatment_type_code",
            "ORDER",
            "BY",
            "sum",
            "(",
            "cost_of_treatment",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "treatment_type_description",
            "from",
            "treatment_types",
            "as",
            "t1",
            "join",
            "treatments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "treatment_type_code",
            "=",
            "t2",
            ".",
            "treatment_type_code",
            "group",
            "by",
            "t1",
            ".",
            "treatment_type_code",
            "order",
            "by",
            "sum",
            "(",
            "cost_of_treatment",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the description of the treatment type that is the cheapest overall?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "treatment",
            "type",
            "that",
            "is",
            "the",
            "cheapest",
            "overall?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            49,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code  =  T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY sum(cost_of_treatment) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.treatment_type_description",
            "FROM",
            "Treatment_types",
            "AS",
            "T1",
            "JOIN",
            "Treatments",
            "AS",
            "T2",
            "ON",
            "T1.treatment_type_code",
            "=",
            "T2.treatment_type_code",
            "GROUP",
            "BY",
            "T1.treatment_type_code",
            "ORDER",
            "BY",
            "sum",
            "(",
            "cost_of_treatment",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "treatment_type_description",
            "from",
            "treatment_types",
            "as",
            "t1",
            "join",
            "treatments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "treatment_type_code",
            "=",
            "t2",
            ".",
            "treatment_type_code",
            "group",
            "by",
            "t1",
            ".",
            "treatment_type_code",
            "order",
            "by",
            "sum",
            "(",
            "cost_of_treatment",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Give me the description of the treatment type that is least expensive.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "description",
            "of",
            "the",
            "treatment",
            "type",
            "that",
            "is",
            "least",
            "expensive."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            49,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id JOIN Treatments AS T3 ON T2.dog_id  =  T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.owner_id",
            ",",
            "T1.zip_code",
            "FROM",
            "Owners",
            "AS",
            "T1",
            "JOIN",
            "Dogs",
            "AS",
            "T2",
            "ON",
            "T1.owner_id",
            "=",
            "T2.owner_id",
            "JOIN",
            "Treatments",
            "AS",
            "T3",
            "ON",
            "T2.dog_id",
            "=",
            "T3.dog_id",
            "GROUP",
            "BY",
            "T1.owner_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T3.cost_of_treatment",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "owner_id",
            ",",
            "t1",
            ".",
            "zip_code",
            "from",
            "owners",
            "as",
            "t1",
            "join",
            "dogs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "owner_id",
            "=",
            "t2",
            ".",
            "owner_id",
            "join",
            "treatments",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dog_id",
            "=",
            "t3",
            ".",
            "dog_id",
            "group",
            "by",
            "t1",
            ".",
            "owner_id",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "cost_of_treatment",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Who has paid the largest amount of money in total for their dogs? Show the id and zip code.",
        "question_toks": [
            "Who",
            "has",
            "paid",
            "the",
            "largest",
            "amount",
            "of",
            "money",
            "in",
            "total",
            "for",
            "their",
            "dogs?",
            "Show",
            "the",
            "id",
            "and",
            "zip",
            "code."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            49,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.owner_id ,  T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id JOIN Treatments AS T3 ON T2.dog_id  =  T3.dog_id GROUP BY T1.owner_id ORDER BY sum(T3.cost_of_treatment) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.owner_id",
            ",",
            "T1.zip_code",
            "FROM",
            "Owners",
            "AS",
            "T1",
            "JOIN",
            "Dogs",
            "AS",
            "T2",
            "ON",
            "T1.owner_id",
            "=",
            "T2.owner_id",
            "JOIN",
            "Treatments",
            "AS",
            "T3",
            "ON",
            "T2.dog_id",
            "=",
            "T3.dog_id",
            "GROUP",
            "BY",
            "T1.owner_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T3.cost_of_treatment",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "owner_id",
            ",",
            "t1",
            ".",
            "zip_code",
            "from",
            "owners",
            "as",
            "t1",
            "join",
            "dogs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "owner_id",
            "=",
            "t2",
            ".",
            "owner_id",
            "join",
            "treatments",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dog_id",
            "=",
            "t3",
            ".",
            "dog_id",
            "group",
            "by",
            "t1",
            ".",
            "owner_id",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "cost_of_treatment",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and zip code of the person who spent the most money in total for his or her dogs.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "zip",
            "code",
            "of",
            "the",
            "person",
            "who",
            "spent",
            "the",
            "most",
            "money",
            "in",
            "total",
            "for",
            "his",
            "or",
            "her",
            "dogs."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            49,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT T1.first_name ,  T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment  <  ( SELECT avg(cost_of_treatment) FROM Treatments )",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "Professionals",
            "AS",
            "T1",
            "JOIN",
            "Treatments",
            "AS",
            "T2",
            "WHERE",
            "cost_of_treatment",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "cost_of_treatment",
            ")",
            "FROM",
            "Treatments",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "professionals",
            "as",
            "t1",
            "join",
            "treatments",
            "as",
            "t2",
            "where",
            "cost_of_treatment",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "cost_of_treatment",
            ")",
            "from",
            "treatments",
            ")"
        ],
        "question": "What are the first name and last name of the professionals who have done treatment cheaper than average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "professionals",
            "who",
            "have",
            "done",
            "treatment",
            "cheaper",
            "than",
            "average?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            49,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT DISTINCT T1.first_name ,  T1.last_name FROM Professionals AS T1 JOIN Treatments AS T2 WHERE cost_of_treatment  <  ( SELECT avg(cost_of_treatment) FROM Treatments )",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "Professionals",
            "AS",
            "T1",
            "JOIN",
            "Treatments",
            "AS",
            "T2",
            "WHERE",
            "cost_of_treatment",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "cost_of_treatment",
            ")",
            "FROM",
            "Treatments",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "professionals",
            "as",
            "t1",
            "join",
            "treatments",
            "as",
            "t2",
            "where",
            "cost_of_treatment",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "cost_of_treatment",
            ")",
            "from",
            "treatments",
            ")"
        ],
        "question": "Which professionals have operated a treatment that is less expansive than the average? Give me theor first names and last names.",
        "question_toks": [
            "Which",
            "professionals",
            "have",
            "operated",
            "a",
            "treatment",
            "that",
            "is",
            "less",
            "expansive",
            "than",
            "the",
            "average?",
            "Give",
            "me",
            "theor",
            "first",
            "names",
            "and",
            "last",
            "names."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            49,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.first_name ,  T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id WHERE T1.state  =  'Virginia'",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T2.name",
            "FROM",
            "Owners",
            "AS",
            "T1",
            "JOIN",
            "Dogs",
            "AS",
            "T2",
            "ON",
            "T1.owner_id",
            "=",
            "T2.owner_id",
            "WHERE",
            "T1.state",
            "=",
            "'Virginia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "owners",
            "as",
            "t1",
            "join",
            "dogs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "owner_id",
            "=",
            "t2",
            ".",
            "owner_id",
            "where",
            "t1",
            ".",
            "state",
            "=",
            "value"
        ],
        "question": "Which dogs are owned by someone who lives in Virginia? List the owner's first name and the dog's name.",
        "question_toks": [
            "Which",
            "dogs",
            "are",
            "owned",
            "by",
            "someone",
            "who",
            "lives",
            "in",
            "Virginia?",
            "List",
            "the",
            "owner's",
            "first",
            "name",
            "and",
            "the",
            "dog's",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Virginia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.first_name ,  T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id WHERE T1.state  =  'Virginia'",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T2.name",
            "FROM",
            "Owners",
            "AS",
            "T1",
            "JOIN",
            "Dogs",
            "AS",
            "T2",
            "ON",
            "T1.owner_id",
            "=",
            "T2.owner_id",
            "WHERE",
            "T1.state",
            "=",
            "'Virginia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "owners",
            "as",
            "t1",
            "join",
            "dogs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "owner_id",
            "=",
            "t2",
            ".",
            "owner_id",
            "where",
            "t1",
            ".",
            "state",
            "=",
            "value"
        ],
        "question": "Find the first names of owners living in Virginia and the names of dogs they own.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "owners",
            "living",
            "in",
            "Virginia",
            "and",
            "the",
            "names",
            "of",
            "dogs",
            "they",
            "own."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Virginia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id WHERE T2.age  =  ( SELECT max(age) FROM Dogs )",
        "query_toks": [
            "SELECT",
            "T1.last_name",
            "FROM",
            "Owners",
            "AS",
            "T1",
            "JOIN",
            "Dogs",
            "AS",
            "T2",
            "ON",
            "T1.owner_id",
            "=",
            "T2.owner_id",
            "WHERE",
            "T2.age",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "Dogs",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "owners",
            "as",
            "t1",
            "join",
            "dogs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "owner_id",
            "=",
            "t2",
            ".",
            "owner_id",
            "where",
            "t2",
            ".",
            "age",
            "=",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "dogs",
            ")"
        ],
        "question": "List the last name of the owner owning the youngest dog.",
        "question_toks": [
            "List",
            "the",
            "last",
            "name",
            "of",
            "the",
            "owner",
            "owning",
            "the",
            "youngest",
            "dog."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id  =  T2.owner_id WHERE T2.age  =  ( SELECT max(age) FROM Dogs )",
        "query_toks": [
            "SELECT",
            "T1.last_name",
            "FROM",
            "Owners",
            "AS",
            "T1",
            "JOIN",
            "Dogs",
            "AS",
            "T2",
            "ON",
            "T1.owner_id",
            "=",
            "T2.owner_id",
            "WHERE",
            "T2.age",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "Dogs",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "owners",
            "as",
            "t1",
            "join",
            "dogs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "owner_id",
            "=",
            "t2",
            ".",
            "owner_id",
            "where",
            "t2",
            ".",
            "age",
            "=",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "dogs",
            ")"
        ],
        "question": "Who owns the youngest dog? Give me his or her last name.",
        "question_toks": [
            "Who",
            "owns",
            "the",
            "youngest",
            "dog?",
            "Give",
            "me",
            "his",
            "or",
            "her",
            "last",
            "name."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT email_address FROM Professionals WHERE state  =  'Hawaii' OR state  =  'Wisconsin'",
        "query_toks": [
            "SELECT",
            "email_address",
            "FROM",
            "Professionals",
            "WHERE",
            "state",
            "=",
            "'Hawaii",
            "'",
            "OR",
            "state",
            "=",
            "'Wisconsin",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            "from",
            "professionals",
            "where",
            "state",
            "=",
            "value",
            "or",
            "state",
            "=",
            "value"
        ],
        "question": "List the emails of the professionals who live in Hawaii or Wisconsin.",
        "question_toks": [
            "List",
            "the",
            "emails",
            "of",
            "the",
            "professionals",
            "who",
            "live",
            "in",
            "Hawaii",
            "or",
            "Wisconsin."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Hawaii\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Wisconsin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT email_address FROM Professionals WHERE state  =  'Hawaii' OR state  =  'Wisconsin'",
        "query_toks": [
            "SELECT",
            "email_address",
            "FROM",
            "Professionals",
            "WHERE",
            "state",
            "=",
            "'Hawaii",
            "'",
            "OR",
            "state",
            "=",
            "'Wisconsin",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            "from",
            "professionals",
            "where",
            "state",
            "=",
            "value",
            "or",
            "state",
            "=",
            "value"
        ],
        "question": "What are the emails of the professionals living in either Hawaii or Wisconsin?",
        "question_toks": [
            "What",
            "are",
            "the",
            "emails",
            "of",
            "the",
            "professionals",
            "living",
            "in",
            "either",
            "Hawaii",
            "or",
            "Wisconsin?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Hawaii\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Wisconsin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Dogs WHERE age  <  ( SELECT avg(age) FROM Dogs )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Dogs",
            "WHERE",
            "age",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "Dogs",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "dogs",
            "where",
            "age",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "dogs",
            ")"
        ],
        "question": "How many dogs younger than average?",
        "question_toks": [
            "How",
            "many",
            "dogs",
            "younger",
            "than",
            "average?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT count(*) FROM Dogs WHERE age  <  ( SELECT avg(age) FROM Dogs )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Dogs",
            "WHERE",
            "age",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "Dogs",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "dogs",
            "where",
            "age",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "dogs",
            ")"
        ],
        "question": "Count the number of dogs that are younger than the average.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "dogs",
            "that",
            "are",
            "younger",
            "than",
            "the",
            "average."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "cost_of_treatment",
            "FROM",
            "Treatments",
            "ORDER",
            "BY",
            "date_of_treatment",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "cost_of_treatment",
            "from",
            "treatments",
            "order",
            "by",
            "date_of_treatment",
            "desc",
            "limit",
            "value"
        ],
        "question": "How much is the most recent treatment?",
        "question_toks": [
            "How",
            "much",
            "is",
            "the",
            "most",
            "recent",
            "treatment?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "cost_of_treatment",
            "FROM",
            "Treatments",
            "ORDER",
            "BY",
            "date_of_treatment",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "cost_of_treatment",
            "from",
            "treatments",
            "order",
            "by",
            "date_of_treatment",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show me the price of the most recently performed treatment.",
        "question_toks": [
            "Show",
            "me",
            "the",
            "price",
            "of",
            "the",
            "most",
            "recently",
            "performed",
            "treatment."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT name ,  age ,  weight FROM Dogs WHERE abandoned_yn  =  1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "age",
            ",",
            "weight",
            "FROM",
            "Dogs",
            "WHERE",
            "abandoned_yn",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "age",
            ",",
            "weight",
            "from",
            "dogs",
            "where",
            "abandoned_yn",
            "=",
            "value"
        ],
        "question": "List the dog name, age and weight of the dogs who have been abandoned?",
        "question_toks": [
            "List",
            "the",
            "dog",
            "name,",
            "age",
            "and",
            "weight",
            "of",
            "the",
            "dogs",
            "who",
            "have",
            "been",
            "abandoned?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "dog_kennels",
        "query": "SELECT name ,  age ,  weight FROM Dogs WHERE abandoned_yn  =  1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "age",
            ",",
            "weight",
            "FROM",
            "Dogs",
            "WHERE",
            "abandoned_yn",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "age",
            ",",
            "weight",
            "from",
            "dogs",
            "where",
            "abandoned_yn",
            "=",
            "value"
        ],
        "question": "What are the dog name, age and weight of the dogs that were abandoned?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dog",
            "name,",
            "age",
            "and",
            "weight",
            "of",
            "the",
            "dogs",
            "that",
            "were",
            "abandoned?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Name FROM singer ORDER BY Net_Worth_Millions ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "singer",
            "ORDER",
            "BY",
            "Net_Worth_Millions",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "singer",
            "order",
            "by",
            "net_worth_millions",
            "asc"
        ],
        "question": "List the name of singers in ascending order of wealth.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "singers",
            "in",
            "ascending",
            "order",
            "of",
            "wealth."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Name FROM singer ORDER BY Net_Worth_Millions ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "singer",
            "ORDER",
            "BY",
            "Net_Worth_Millions",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "singer",
            "order",
            "by",
            "net_worth_millions",
            "asc"
        ],
        "question": "What are the names of singers ordered by ascending wealth?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "singers",
            "ordered",
            "by",
            "ascending",
            "wealth?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Citizenship != \"France\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "singer",
            "WHERE",
            "Citizenship",
            "!",
            "=",
            "``",
            "France",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "singer",
            "where",
            "citizenship",
            "!",
            "=",
            "value"
        ],
        "question": "List the name of singers whose  is not French.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "singers",
            "whose",
            "is",
            "not",
            "French."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"France\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Citizenship != \"France\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "singer",
            "WHERE",
            "Citizenship",
            "!",
            "=",
            "``",
            "France",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "singer",
            "where",
            "citizenship",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of the singers who are not French?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "singers",
            "who",
            "are",
            "not",
            "French?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"France\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Birth_Year  =  1948 OR Birth_Year  =  1949",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "singer",
            "WHERE",
            "Birth_Year",
            "=",
            "1948",
            "OR",
            "Birth_Year",
            "=",
            "1949"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "singer",
            "where",
            "birth_year",
            "=",
            "value",
            "or",
            "birth_year",
            "=",
            "value"
        ],
        "question": "Show the name of singers who were born either 1948 or 1949?",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "singers",
            "who",
            "were",
            "born",
            "either",
            "1948",
            "or",
            "1949?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1948.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1949.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Name FROM singer WHERE Birth_Year  =  1948 OR Birth_Year  =  1949",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "singer",
            "WHERE",
            "Birth_Year",
            "=",
            "1948",
            "OR",
            "Birth_Year",
            "=",
            "1949"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "singer",
            "where",
            "birth_year",
            "=",
            "value",
            "or",
            "birth_year",
            "=",
            "value"
        ],
        "question": "What are the names of the singers who born in either 1948 or 1949?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "singers",
            "who",
            "born",
            "in",
            "either",
            "1948",
            "or",
            "1949?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1948.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1949.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "singer",
            "ORDER",
            "BY",
            "Net_Worth_Millions",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "singer",
            "order",
            "by",
            "net_worth_millions",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the singer with the largest wealth?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "singer",
            "with",
            "the",
            "largest",
            "wealth?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Citizenship ,  COUNT(*) FROM singer GROUP BY Citizenship",
        "query_toks": [
            "SELECT",
            "Citizenship",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "singer",
            "GROUP",
            "BY",
            "Citizenship"
        ],
        "query_toks_no_value": [
            "select",
            "citizenship",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "singer",
            "group",
            "by",
            "citizenship"
        ],
        "question": "Show different nationalities of singers and the number of singers of each.",
        "question_toks": [
            "Show",
            "different",
            "nationalities",
            "of",
            "singers",
            "and",
            "the",
            "number",
            "of",
            "singers",
            "of",
            "each."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Citizenship ,  COUNT(*) FROM singer GROUP BY Citizenship",
        "query_toks": [
            "SELECT",
            "Citizenship",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "singer",
            "GROUP",
            "BY",
            "Citizenship"
        ],
        "query_toks_no_value": [
            "select",
            "citizenship",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "singer",
            "group",
            "by",
            "citizenship"
        ],
        "question": "how many singers are from each country?",
        "question_toks": [
            "how",
            "many",
            "singers",
            "are",
            "from",
            "each",
            "country?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Citizenship",
            "FROM",
            "singer",
            "GROUP",
            "BY",
            "Citizenship",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "citizenship",
            "from",
            "singer",
            "group",
            "by",
            "citizenship",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the most common nationality of singers.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "most",
            "common",
            "nationality",
            "of",
            "singers."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "select citizenship from singer group by citizenship order by count(*) desc limit 1",
        "query_toks": [
            "select",
            "citizenship",
            "from",
            "singer",
            "group",
            "by",
            "citizenship",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "citizenship",
            "from",
            "singer",
            "group",
            "by",
            "citizenship",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the msot common country for singer?",
        "question_toks": [
            "What",
            "is",
            "the",
            "msot",
            "common",
            "country",
            "for",
            "singer?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Citizenship ,  max(Net_Worth_Millions) FROM singer GROUP BY Citizenship",
        "query_toks": [
            "SELECT",
            "Citizenship",
            ",",
            "max",
            "(",
            "Net_Worth_Millions",
            ")",
            "FROM",
            "singer",
            "GROUP",
            "BY",
            "Citizenship"
        ],
        "query_toks_no_value": [
            "select",
            "citizenship",
            ",",
            "max",
            "(",
            "net_worth_millions",
            ")",
            "from",
            "singer",
            "group",
            "by",
            "citizenship"
        ],
        "question": "Show different nationalities and the maximum net worth of singers of country.",
        "question_toks": [
            "Show",
            "different",
            "nationalities",
            "and",
            "the",
            "maximum",
            "net",
            "worth",
            "of",
            "singers",
            "of",
            "country."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Citizenship ,  max(Net_Worth_Millions) FROM singer GROUP BY Citizenship",
        "query_toks": [
            "SELECT",
            "Citizenship",
            ",",
            "max",
            "(",
            "Net_Worth_Millions",
            ")",
            "FROM",
            "singer",
            "GROUP",
            "BY",
            "Citizenship"
        ],
        "query_toks_no_value": [
            "select",
            "citizenship",
            ",",
            "max",
            "(",
            "net_worth_millions",
            ")",
            "from",
            "singer",
            "group",
            "by",
            "citizenship"
        ],
        "question": "For each country, what is the maximum net worth?",
        "question_toks": [
            "For",
            "each",
            "country,",
            "what",
            "is",
            "the",
            "maximum",
            "net",
            "worth?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID  =  T2.Singer_ID WHERE T2.Sales  >  300000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Name",
            "FROM",
            "singer",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.Singer_ID",
            "=",
            "T2.Singer_ID",
            "WHERE",
            "T2.Sales",
            ">",
            "300000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "singer",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "singer_id",
            "=",
            "t2",
            ".",
            "singer_id",
            "where",
            "t2",
            ".",
            "sales",
            ">",
            "value"
        ],
        "question": "Show distinct names of singers that have songs sell  more than 300000.",
        "question_toks": [
            "Show",
            "distinct",
            "names",
            "of",
            "singers",
            "that",
            "have",
            "songs",
            "sell",
            "more",
            "than",
            "300000."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    300000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID  =  T2.Singer_ID WHERE T2.Sales  >  300000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Name",
            "FROM",
            "singer",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.Singer_ID",
            "=",
            "T2.Singer_ID",
            "WHERE",
            "T2.Sales",
            ">",
            "300000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "singer",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "singer_id",
            "=",
            "t2",
            ".",
            "singer_id",
            "where",
            "t2",
            ".",
            "sales",
            ">",
            "value"
        ],
        "question": "what are the different names of the singers that have  sold than 300000 copies?",
        "question_toks": [
            "what",
            "are",
            "the",
            "different",
            "names",
            "of",
            "the",
            "singers",
            "that",
            "have",
            "sold",
            "than",
            "300000",
            "copies?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    300000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Citizenship FROM singer WHERE Birth_Year  <  1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year  >  1955",
        "query_toks": [
            "SELECT",
            "Citizenship",
            "FROM",
            "singer",
            "WHERE",
            "Birth_Year",
            "<",
            "1945",
            "INTERSECT",
            "SELECT",
            "Citizenship",
            "FROM",
            "singer",
            "WHERE",
            "Birth_Year",
            ">",
            "1955"
        ],
        "query_toks_no_value": [
            "select",
            "citizenship",
            "from",
            "singer",
            "where",
            "birth_year",
            "<",
            "value",
            "intersect",
            "select",
            "citizenship",
            "from",
            "singer",
            "where",
            "birth_year",
            ">",
            "value"
        ],
        "question": "Show the citizenship shared by singers born  before 1945 and after 1955.",
        "question_toks": [
            "Show",
            "the",
            "citizenship",
            "shared",
            "by",
            "singers",
            "born",
            "before",
            "1945",
            "and",
            "after",
            "1955."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1945.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        1955.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "singer",
        "query": "SELECT Citizenship FROM singer WHERE Birth_Year  <  1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year  >  1955",
        "query_toks": [
            "SELECT",
            "Citizenship",
            "FROM",
            "singer",
            "WHERE",
            "Birth_Year",
            "<",
            "1945",
            "INTERSECT",
            "SELECT",
            "Citizenship",
            "FROM",
            "singer",
            "WHERE",
            "Birth_Year",
            ">",
            "1955"
        ],
        "query_toks_no_value": [
            "select",
            "citizenship",
            "from",
            "singer",
            "where",
            "birth_year",
            "<",
            "value",
            "intersect",
            "select",
            "citizenship",
            "from",
            "singer",
            "where",
            "birth_year",
            ">",
            "value"
        ],
        "question": "What are the citizenships that are shared by singers born  before 1945 and after 1955?",
        "question_toks": [
            "What",
            "are",
            "the",
            "citizenships",
            "that",
            "are",
            "shared",
            "by",
            "singers",
            "born",
            "before",
            "1945",
            "and",
            "after",
            "1955?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1945.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        1955.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "real_estate_properties",
        "query": "SELECT property_name FROM Properties WHERE property_type_code  =  \"House\" UNION SELECT property_name FROM Properties WHERE property_type_code  =  \"Apartment\" AND room_count  >  1",
        "query_toks": [
            "SELECT",
            "property_name",
            "FROM",
            "Properties",
            "WHERE",
            "property_type_code",
            "=",
            "``",
            "House",
            "''",
            "UNION",
            "SELECT",
            "property_name",
            "FROM",
            "Properties",
            "WHERE",
            "property_type_code",
            "=",
            "``",
            "Apartment",
            "''",
            "AND",
            "room_count",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "property_name",
            "from",
            "properties",
            "where",
            "property_type_code",
            "=",
            "value",
            "union",
            "select",
            "property_name",
            "from",
            "properties",
            "where",
            "property_type_code",
            "=",
            "value",
            "and",
            "room_count",
            ">",
            "value"
        ],
        "question": "What are the names of properties that are either houses or apartments with more than 1 room?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "properties",
            "that",
            "are",
            "either",
            "houses",
            "or",
            "apartments",
            "with",
            "more",
            "than",
            "1",
            "room?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"House\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Apartment\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        1.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "realistic"
    },
    {
        "db_id": "department_management",
        "query": "SELECT count(*) FROM head WHERE age  >  56",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "head",
            "WHERE",
            "age",
            ">",
            "56"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "head",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "How many heads of the departments are older than 56 ?",
        "question_toks": [
            "How",
            "many",
            "heads",
            "of",
            "the",
            "departments",
            "are",
            "older",
            "than",
            "56",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    56.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT name ,  born_state ,  age FROM head ORDER BY age",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "born_state",
            ",",
            "age",
            "FROM",
            "head",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "born_state",
            ",",
            "age",
            "from",
            "head",
            "order",
            "by",
            "age"
        ],
        "question": "List the name, born state and age of the heads of departments ordered by age.",
        "question_toks": [
            "List",
            "the",
            "name",
            ",",
            "born",
            "state",
            "and",
            "age",
            "of",
            "the",
            "heads",
            "of",
            "departments",
            "ordered",
            "by",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT creation ,  name ,  budget_in_billions FROM department",
        "query_toks": [
            "SELECT",
            "creation",
            ",",
            "name",
            ",",
            "budget_in_billions",
            "FROM",
            "department"
        ],
        "query_toks_no_value": [
            "select",
            "creation",
            ",",
            "name",
            ",",
            "budget_in_billions",
            "from",
            "department"
        ],
        "question": "List the creation year, name and budget of each department.",
        "question_toks": [
            "List",
            "the",
            "creation",
            "year",
            ",",
            "name",
            "and",
            "budget",
            "of",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT max(budget_in_billions) ,  min(budget_in_billions) FROM department",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "budget_in_billions",
            ")",
            ",",
            "min",
            "(",
            "budget_in_billions",
            ")",
            "FROM",
            "department"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "budget_in_billions",
            ")",
            ",",
            "min",
            "(",
            "budget_in_billions",
            ")",
            "from",
            "department"
        ],
        "question": "What are the maximum and minimum budget of the departments?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "budget",
            "of",
            "the",
            "departments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT avg(num_employees) FROM department WHERE ranking BETWEEN 10 AND 15",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "num_employees",
            ")",
            "FROM",
            "department",
            "WHERE",
            "ranking",
            "BETWEEN",
            "10",
            "AND",
            "15"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "num_employees",
            ")",
            "from",
            "department",
            "where",
            "ranking",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What is the average number of employees of the departments whose rank is between 10 and 15?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "employees",
            "of",
            "the",
            "departments",
            "whose",
            "rank",
            "is",
            "between",
            "10",
            "and",
            "15",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    10.0,
                    15.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT name FROM head WHERE born_state != 'California'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "head",
            "WHERE",
            "born_state",
            "!",
            "=",
            "'California",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "head",
            "where",
            "born_state",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of the heads who are born outside the California state?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "heads",
            "who",
            "are",
            "born",
            "outside",
            "the",
            "California",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"California\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT DISTINCT T1.creation FROM department AS T1 JOIN management AS T2 ON T1.department_id  =  T2.department_id JOIN head AS T3 ON T2.head_id  =  T3.head_id WHERE T3.born_state  =  'Alabama'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.creation",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "management",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "head",
            "AS",
            "T3",
            "ON",
            "T2.head_id",
            "=",
            "T3.head_id",
            "WHERE",
            "T3.born_state",
            "=",
            "'Alabama",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "creation",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "management",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "head",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "head_id",
            "=",
            "t3",
            ".",
            "head_id",
            "where",
            "t3",
            ".",
            "born_state",
            "=",
            "value"
        ],
        "question": "What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "creation",
            "years",
            "of",
            "the",
            "departments",
            "managed",
            "by",
            "a",
            "secretary",
            "born",
            "in",
            "state",
            "'Alabama",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Alabama\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT born_state FROM head GROUP BY born_state HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "born_state",
            "FROM",
            "head",
            "GROUP",
            "BY",
            "born_state",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "born_state",
            "from",
            "head",
            "group",
            "by",
            "born_state",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of the states where at least 3 heads were born?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "states",
            "where",
            "at",
            "least",
            "3",
            "heads",
            "were",
            "born",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT creation FROM department GROUP BY creation ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "creation",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "creation",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "creation",
            "from",
            "department",
            "group",
            "by",
            "creation",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "In which year were most departments established?",
        "question_toks": [
            "In",
            "which",
            "year",
            "were",
            "most",
            "departments",
            "established",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT T1.name ,  T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id  =  T2.department_id WHERE T2.temporary_acting  =  'Yes'",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.num_employees",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "management",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "WHERE",
            "T2.temporary_acting",
            "=",
            "'Yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "num_employees",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "management",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "where",
            "t2",
            ".",
            "temporary_acting",
            "=",
            "value"
        ],
        "question": "Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "number",
            "of",
            "employees",
            "for",
            "the",
            "departments",
            "managed",
            "by",
            "heads",
            "whose",
            "temporary",
            "acting",
            "value",
            "is",
            "'Yes",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT count(DISTINCT temporary_acting) FROM management",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "temporary_acting",
            ")",
            "FROM",
            "management"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "temporary_acting",
            ")",
            "from",
            "management"
        ],
        "question": "How many acting statuses are there?",
        "question_toks": [
            "How",
            "many",
            "acting",
            "statuses",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT count(*) FROM department WHERE department_id NOT IN (SELECT department_id FROM management);",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "department",
            "WHERE",
            "department_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "management",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "department",
            "where",
            "department_id",
            "not",
            "in",
            "(",
            "select",
            "department_id",
            "from",
            "management",
            ")"
        ],
        "question": "How many departments are led by heads who are not mentioned?",
        "question_toks": [
            "How",
            "many",
            "departments",
            "are",
            "led",
            "by",
            "heads",
            "who",
            "are",
            "not",
            "mentioned",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT DISTINCT T1.age FROM management AS T2 JOIN head AS T1 ON T1.head_id  =  T2.head_id WHERE T2.temporary_acting  =  'Yes'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.age",
            "FROM",
            "management",
            "AS",
            "T2",
            "JOIN",
            "head",
            "AS",
            "T1",
            "ON",
            "T1.head_id",
            "=",
            "T2.head_id",
            "WHERE",
            "T2.temporary_acting",
            "=",
            "'Yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "age",
            "from",
            "management",
            "as",
            "t2",
            "join",
            "head",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "head_id",
            "=",
            "t2",
            ".",
            "head_id",
            "where",
            "t2",
            ".",
            "temporary_acting",
            "=",
            "value"
        ],
        "question": "What are the distinct ages of the heads who are acting?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "ages",
            "of",
            "the",
            "heads",
            "who",
            "are",
            "acting",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT T3.born_state FROM department AS T1 JOIN management AS T2 ON T1.department_id  =  T2.department_id JOIN head AS T3 ON T2.head_id  =  T3.head_id WHERE T1.name  =  'Treasury' INTERSECT SELECT T3.born_state FROM department AS T1 JOIN management AS T2 ON T1.department_id  =  T2.department_id JOIN head AS T3 ON T2.head_id  =  T3.head_id WHERE T1.name  =  'Homeland Security'",
        "query_toks": [
            "SELECT",
            "T3.born_state",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "management",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "head",
            "AS",
            "T3",
            "ON",
            "T2.head_id",
            "=",
            "T3.head_id",
            "WHERE",
            "T1.name",
            "=",
            "'Treasury",
            "'",
            "INTERSECT",
            "SELECT",
            "T3.born_state",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "management",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "head",
            "AS",
            "T3",
            "ON",
            "T2.head_id",
            "=",
            "T3.head_id",
            "WHERE",
            "T1.name",
            "=",
            "'Homeland",
            "Security",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "born_state",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "management",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "head",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "head_id",
            "=",
            "t3",
            ".",
            "head_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "born_state",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "management",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "head",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "head_id",
            "=",
            "t3",
            ".",
            "head_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the states where both the secretary of 'Treasury' department and the secretary of 'Homeland Security' were born.",
        "question_toks": [
            "List",
            "the",
            "states",
            "where",
            "both",
            "the",
            "secretary",
            "of",
            "'Treasury",
            "'",
            "department",
            "and",
            "the",
            "secretary",
            "of",
            "'Homeland",
            "Security",
            "'",
            "were",
            "born",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Treasury\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Homeland Security\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT T1.department_id ,  T1.name ,  count(*) FROM management AS T2 JOIN department AS T1 ON T1.department_id  =  T2.department_id GROUP BY T1.department_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.department_id",
            ",",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "management",
            "AS",
            "T2",
            "JOIN",
            "department",
            "AS",
            "T1",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "GROUP",
            "BY",
            "T1.department_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "department_id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "management",
            "as",
            "t2",
            "join",
            "department",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "group",
            "by",
            "t1",
            ".",
            "department_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which department has more than 1 head at a time? List the id, name and the number of heads.",
        "question_toks": [
            "Which",
            "department",
            "has",
            "more",
            "than",
            "1",
            "head",
            "at",
            "a",
            "time",
            "?",
            "List",
            "the",
            "id",
            ",",
            "name",
            "and",
            "the",
            "number",
            "of",
            "heads",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_management",
        "query": "SELECT head_id ,  name FROM head WHERE name LIKE '%Ha%'",
        "query_toks": [
            "SELECT",
            "head_id",
            ",",
            "name",
            "FROM",
            "head",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "Ha",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "head_id",
            ",",
            "name",
            "from",
            "head",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Which head's name has the substring 'Ha'? List the id and name.",
        "question_toks": [
            "Which",
            "head",
            "'s",
            "name",
            "has",
            "the",
            "substring",
            "'Ha",
            "'",
            "?",
            "List",
            "the",
            "id",
            "and",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%Ha%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT count(*) FROM farm",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "farm"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "farm"
        ],
        "question": "How many farms are there?",
        "question_toks": [
            "How",
            "many",
            "farms",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT count(*) FROM farm",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "farm"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "farm"
        ],
        "question": "Count the number of farms.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "farms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Total_Horses FROM farm ORDER BY Total_Horses ASC",
        "query_toks": [
            "SELECT",
            "Total_Horses",
            "FROM",
            "farm",
            "ORDER",
            "BY",
            "Total_Horses",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "total_horses",
            "from",
            "farm",
            "order",
            "by",
            "total_horses",
            "asc"
        ],
        "question": "List the total number of horses on farms in ascending order.",
        "question_toks": [
            "List",
            "the",
            "total",
            "number",
            "of",
            "horses",
            "on",
            "farms",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Total_Horses FROM farm ORDER BY Total_Horses ASC",
        "query_toks": [
            "SELECT",
            "Total_Horses",
            "FROM",
            "farm",
            "ORDER",
            "BY",
            "Total_Horses",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "total_horses",
            "from",
            "farm",
            "order",
            "by",
            "total_horses",
            "asc"
        ],
        "question": "What is the total horses record for each farm, sorted ascending?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "horses",
            "record",
            "for",
            "each",
            "farm",
            ",",
            "sorted",
            "ascending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Hosts FROM farm_competition WHERE Theme !=  'Aliens'",
        "query_toks": [
            "SELECT",
            "Hosts",
            "FROM",
            "farm_competition",
            "WHERE",
            "Theme",
            "!",
            "=",
            "'Aliens",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "hosts",
            "from",
            "farm_competition",
            "where",
            "theme",
            "!",
            "=",
            "value"
        ],
        "question": "What are the hosts of competitions whose theme is not \"Aliens\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "hosts",
            "of",
            "competitions",
            "whose",
            "theme",
            "is",
            "not",
            "``",
            "Aliens",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Aliens\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Hosts FROM farm_competition WHERE Theme !=  'Aliens'",
        "query_toks": [
            "SELECT",
            "Hosts",
            "FROM",
            "farm_competition",
            "WHERE",
            "Theme",
            "!",
            "=",
            "'Aliens",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "hosts",
            "from",
            "farm_competition",
            "where",
            "theme",
            "!",
            "=",
            "value"
        ],
        "question": "Return the hosts of competitions for which the theme is not Aliens?",
        "question_toks": [
            "Return",
            "the",
            "hosts",
            "of",
            "competitions",
            "for",
            "which",
            "the",
            "theme",
            "is",
            "not",
            "Aliens",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Aliens\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Theme FROM farm_competition ORDER BY YEAR ASC",
        "query_toks": [
            "SELECT",
            "Theme",
            "FROM",
            "farm_competition",
            "ORDER",
            "BY",
            "YEAR",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "theme",
            "from",
            "farm_competition",
            "order",
            "by",
            "year",
            "asc"
        ],
        "question": "What are the themes of farm competitions sorted by year in ascending order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "themes",
            "of",
            "farm",
            "competitions",
            "sorted",
            "by",
            "year",
            "in",
            "ascending",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Theme FROM farm_competition ORDER BY YEAR ASC",
        "query_toks": [
            "SELECT",
            "Theme",
            "FROM",
            "farm_competition",
            "ORDER",
            "BY",
            "YEAR",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "theme",
            "from",
            "farm_competition",
            "order",
            "by",
            "year",
            "asc"
        ],
        "question": "Return the themes of farm competitions, sorted by year ascending.",
        "question_toks": [
            "Return",
            "the",
            "themes",
            "of",
            "farm",
            "competitions",
            ",",
            "sorted",
            "by",
            "year",
            "ascending",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT avg(Working_Horses) FROM farm WHERE Total_Horses  >  5000",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Working_Horses",
            ")",
            "FROM",
            "farm",
            "WHERE",
            "Total_Horses",
            ">",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "working_horses",
            ")",
            "from",
            "farm",
            "where",
            "total_horses",
            ">",
            "value"
        ],
        "question": "What is the average number of working horses of farms with more than 5000 total number of horses?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "working",
            "horses",
            "of",
            "farms",
            "with",
            "more",
            "than",
            "5000",
            "total",
            "number",
            "of",
            "horses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT avg(Working_Horses) FROM farm WHERE Total_Horses  >  5000",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Working_Horses",
            ")",
            "FROM",
            "farm",
            "WHERE",
            "Total_Horses",
            ">",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "working_horses",
            ")",
            "from",
            "farm",
            "where",
            "total_horses",
            ">",
            "value"
        ],
        "question": "Give the average number of working horses on farms with more than 5000 total horses.",
        "question_toks": [
            "Give",
            "the",
            "average",
            "number",
            "of",
            "working",
            "horses",
            "on",
            "farms",
            "with",
            "more",
            "than",
            "5000",
            "total",
            "horses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT max(Cows) ,  min(Cows) FROM farm",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Cows",
            ")",
            ",",
            "min",
            "(",
            "Cows",
            ")",
            "FROM",
            "farm"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "cows",
            ")",
            ",",
            "min",
            "(",
            "cows",
            ")",
            "from",
            "farm"
        ],
        "question": "What are the maximum and minimum number of cows across all farms.",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "cows",
            "across",
            "all",
            "farms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT max(Cows) ,  min(Cows) FROM farm",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Cows",
            ")",
            ",",
            "min",
            "(",
            "Cows",
            ")",
            "FROM",
            "farm"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "cows",
            ")",
            ",",
            "min",
            "(",
            "cows",
            ")",
            "from",
            "farm"
        ],
        "question": "Return the maximum and minimum number of cows across all farms.",
        "question_toks": [
            "Return",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "cows",
            "across",
            "all",
            "farms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT count(DISTINCT Status) FROM city",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Status",
            ")",
            "FROM",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "status",
            ")",
            "from",
            "city"
        ],
        "question": "How many different statuses do cities have?",
        "question_toks": [
            "How",
            "many",
            "different",
            "statuses",
            "do",
            "cities",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT count(DISTINCT Status) FROM city",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Status",
            ")",
            "FROM",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "status",
            ")",
            "from",
            "city"
        ],
        "question": "Count the number of different statuses.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "statuses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Official_Name FROM city ORDER BY Population DESC",
        "query_toks": [
            "SELECT",
            "Official_Name",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "Population",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "official_name",
            "from",
            "city",
            "order",
            "by",
            "population",
            "desc"
        ],
        "question": "List official names of cities in descending order of population.",
        "question_toks": [
            "List",
            "official",
            "names",
            "of",
            "cities",
            "in",
            "descending",
            "order",
            "of",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Official_Name FROM city ORDER BY Population DESC",
        "query_toks": [
            "SELECT",
            "Official_Name",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "Population",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "official_name",
            "from",
            "city",
            "order",
            "by",
            "population",
            "desc"
        ],
        "question": "What are the official names of cities, ordered descending by population?",
        "question_toks": [
            "What",
            "are",
            "the",
            "official",
            "names",
            "of",
            "cities",
            ",",
            "ordered",
            "descending",
            "by",
            "population",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Official_Name ,  Status FROM city ORDER BY Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Official_Name",
            ",",
            "Status",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "official_name",
            ",",
            "status",
            "from",
            "city",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the official name and status of the city with the largest population.",
        "question_toks": [
            "List",
            "the",
            "official",
            "name",
            "and",
            "status",
            "of",
            "the",
            "city",
            "with",
            "the",
            "largest",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Official_Name ,  Status FROM city ORDER BY Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Official_Name",
            ",",
            "Status",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "official_name",
            ",",
            "status",
            "from",
            "city",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the official name and status of the city with the most residents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "official",
            "name",
            "and",
            "status",
            "of",
            "the",
            "city",
            "with",
            "the",
            "most",
            "residents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT T2.Year ,  T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID  =  T2.Host_city_ID",
        "query_toks": [
            "SELECT",
            "T2.Year",
            ",",
            "T1.Official_Name",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "farm_competition",
            "AS",
            "T2",
            "ON",
            "T1.City_ID",
            "=",
            "T2.Host_city_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "year",
            ",",
            "t1",
            ".",
            "official_name",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "farm_competition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city_id"
        ],
        "question": "Show the years and the official names of the host cities of competitions.",
        "question_toks": [
            "Show",
            "the",
            "years",
            "and",
            "the",
            "official",
            "names",
            "of",
            "the",
            "host",
            "cities",
            "of",
            "competitions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT T2.Year ,  T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID  =  T2.Host_city_ID",
        "query_toks": [
            "SELECT",
            "T2.Year",
            ",",
            "T1.Official_Name",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "farm_competition",
            "AS",
            "T2",
            "ON",
            "T1.City_ID",
            "=",
            "T2.Host_city_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "year",
            ",",
            "t1",
            ".",
            "official_name",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "farm_competition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city_id"
        ],
        "question": "Give the years and official names of the cities of each competition.",
        "question_toks": [
            "Give",
            "the",
            "years",
            "and",
            "official",
            "names",
            "of",
            "the",
            "cities",
            "of",
            "each",
            "competition",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID  =  T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.Official_Name",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "farm_competition",
            "AS",
            "T2",
            "ON",
            "T1.City_ID",
            "=",
            "T2.Host_city_ID",
            "GROUP",
            "BY",
            "T2.Host_city_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "official_name",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "farm_competition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city_id",
            "group",
            "by",
            "t2",
            ".",
            "host_city_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the official names of the cities that have hosted more than one competition.",
        "question_toks": [
            "Show",
            "the",
            "official",
            "names",
            "of",
            "the",
            "cities",
            "that",
            "have",
            "hosted",
            "more",
            "than",
            "one",
            "competition",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID  =  T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.Official_Name",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "farm_competition",
            "AS",
            "T2",
            "ON",
            "T1.City_ID",
            "=",
            "T2.Host_city_ID",
            "GROUP",
            "BY",
            "T2.Host_city_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "official_name",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "farm_competition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city_id",
            "group",
            "by",
            "t2",
            ".",
            "host_city_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the official names of cities that have hosted more than one competition?",
        "question_toks": [
            "What",
            "are",
            "the",
            "official",
            "names",
            "of",
            "cities",
            "that",
            "have",
            "hosted",
            "more",
            "than",
            "one",
            "competition",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT T1.Status FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID  =  T2.Host_city_ID GROUP BY T2.Host_city_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Status",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "farm_competition",
            "AS",
            "T2",
            "ON",
            "T1.City_ID",
            "=",
            "T2.Host_city_ID",
            "GROUP",
            "BY",
            "T2.Host_city_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "status",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "farm_competition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city_id",
            "group",
            "by",
            "t2",
            ".",
            "host_city_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the status of the city that has hosted the greatest number of competitions.",
        "question_toks": [
            "Show",
            "the",
            "status",
            "of",
            "the",
            "city",
            "that",
            "has",
            "hosted",
            "the",
            "greatest",
            "number",
            "of",
            "competitions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT T1.Status FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID  =  T2.Host_city_ID GROUP BY T2.Host_city_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Status",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "farm_competition",
            "AS",
            "T2",
            "ON",
            "T1.City_ID",
            "=",
            "T2.Host_city_ID",
            "GROUP",
            "BY",
            "T2.Host_city_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "status",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "farm_competition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city_id",
            "group",
            "by",
            "t2",
            ".",
            "host_city_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the status of the city that has hosted the most competitions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "status",
            "of",
            "the",
            "city",
            "that",
            "has",
            "hosted",
            "the",
            "most",
            "competitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT T2.Theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID  =  T2.Host_city_ID WHERE T1.Population  >  1000",
        "query_toks": [
            "SELECT",
            "T2.Theme",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "farm_competition",
            "AS",
            "T2",
            "ON",
            "T1.City_ID",
            "=",
            "T2.Host_city_ID",
            "WHERE",
            "T1.Population",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "theme",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "farm_competition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city_id",
            "where",
            "t1",
            ".",
            "population",
            ">",
            "value"
        ],
        "question": "Please show the themes of competitions with host cities having populations larger than 1000.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "themes",
            "of",
            "competitions",
            "with",
            "host",
            "cities",
            "having",
            "populations",
            "larger",
            "than",
            "1000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT T2.Theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID  =  T2.Host_city_ID WHERE T1.Population  >  1000",
        "query_toks": [
            "SELECT",
            "T2.Theme",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "farm_competition",
            "AS",
            "T2",
            "ON",
            "T1.City_ID",
            "=",
            "T2.Host_city_ID",
            "WHERE",
            "T1.Population",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "theme",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "farm_competition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city_id",
            "where",
            "t1",
            ".",
            "population",
            ">",
            "value"
        ],
        "question": "What are the themes of competitions that have corresponding host cities with more than 1000 residents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "themes",
            "of",
            "competitions",
            "that",
            "have",
            "corresponding",
            "host",
            "cities",
            "with",
            "more",
            "than",
            "1000",
            "residents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Status ,  avg(Population) FROM city GROUP BY Status",
        "query_toks": [
            "SELECT",
            "Status",
            ",",
            "avg",
            "(",
            "Population",
            ")",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "Status"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            ",",
            "avg",
            "(",
            "population",
            ")",
            "from",
            "city",
            "group",
            "by",
            "status"
        ],
        "question": "Please show the different statuses of cities and the average population of cities with each status.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "different",
            "statuses",
            "of",
            "cities",
            "and",
            "the",
            "average",
            "population",
            "of",
            "cities",
            "with",
            "each",
            "status",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Status ,  avg(Population) FROM city GROUP BY Status",
        "query_toks": [
            "SELECT",
            "Status",
            ",",
            "avg",
            "(",
            "Population",
            ")",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "Status"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            ",",
            "avg",
            "(",
            "population",
            ")",
            "from",
            "city",
            "group",
            "by",
            "status"
        ],
        "question": "What are the statuses and average populations of each city?",
        "question_toks": [
            "What",
            "are",
            "the",
            "statuses",
            "and",
            "average",
            "populations",
            "of",
            "each",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) ASC",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "Status",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "city",
            "group",
            "by",
            "status",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc"
        ],
        "question": "Please show the different statuses, ordered by the number of cities that have each.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "different",
            "statuses",
            ",",
            "ordered",
            "by",
            "the",
            "number",
            "of",
            "cities",
            "that",
            "have",
            "each",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) ASC",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "Status",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "city",
            "group",
            "by",
            "status",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc"
        ],
        "question": "Return the different statuses of cities, ascending by frequency.",
        "question_toks": [
            "Return",
            "the",
            "different",
            "statuses",
            "of",
            "cities",
            ",",
            "ascending",
            "by",
            "frequency",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "Status",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "city",
            "group",
            "by",
            "status",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the most common type of Status across cities.",
        "question_toks": [
            "List",
            "the",
            "most",
            "common",
            "type",
            "of",
            "Status",
            "across",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "Status",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "city",
            "group",
            "by",
            "status",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common status across all cities?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "status",
            "across",
            "all",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Official_Name FROM city WHERE City_ID NOT IN (SELECT Host_city_ID FROM farm_competition)",
        "query_toks": [
            "SELECT",
            "Official_Name",
            "FROM",
            "city",
            "WHERE",
            "City_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Host_city_ID",
            "FROM",
            "farm_competition",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "official_name",
            "from",
            "city",
            "where",
            "city_id",
            "not",
            "in",
            "(",
            "select",
            "host_city_id",
            "from",
            "farm_competition",
            ")"
        ],
        "question": "List the official names of cities that have not held any competition.",
        "question_toks": [
            "List",
            "the",
            "official",
            "names",
            "of",
            "cities",
            "that",
            "have",
            "not",
            "held",
            "any",
            "competition",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            20,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Official_Name FROM city WHERE City_ID NOT IN (SELECT Host_city_ID FROM farm_competition)",
        "query_toks": [
            "SELECT",
            "Official_Name",
            "FROM",
            "city",
            "WHERE",
            "City_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Host_city_ID",
            "FROM",
            "farm_competition",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "official_name",
            "from",
            "city",
            "where",
            "city_id",
            "not",
            "in",
            "(",
            "select",
            "host_city_id",
            "from",
            "farm_competition",
            ")"
        ],
        "question": "What are the official names of cities that have not hosted a farm competition?",
        "question_toks": [
            "What",
            "are",
            "the",
            "official",
            "names",
            "of",
            "cities",
            "that",
            "have",
            "not",
            "hosted",
            "a",
            "farm",
            "competition",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            20,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Status FROM city WHERE Population  >  1500 INTERSECT SELECT Status FROM city WHERE Population  <  500",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "city",
            "WHERE",
            "Population",
            ">",
            "1500",
            "INTERSECT",
            "SELECT",
            "Status",
            "FROM",
            "city",
            "WHERE",
            "Population",
            "<",
            "500"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "intersect",
            "select",
            "status",
            "from",
            "city",
            "where",
            "population",
            "<",
            "value"
        ],
        "question": "Show the status shared by cities with population bigger than 1500 and smaller than 500.",
        "question_toks": [
            "Show",
            "the",
            "status",
            "shared",
            "by",
            "cities",
            "with",
            "population",
            "bigger",
            "than",
            "1500",
            "and",
            "smaller",
            "than",
            "500",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        500.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Status FROM city WHERE Population  >  1500 INTERSECT SELECT Status FROM city WHERE Population  <  500",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "city",
            "WHERE",
            "Population",
            ">",
            "1500",
            "INTERSECT",
            "SELECT",
            "Status",
            "FROM",
            "city",
            "WHERE",
            "Population",
            "<",
            "500"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "intersect",
            "select",
            "status",
            "from",
            "city",
            "where",
            "population",
            "<",
            "value"
        ],
        "question": "Which statuses correspond to both cities that have a population over 1500 and cities that have a population lower than 500?",
        "question_toks": [
            "Which",
            "statuses",
            "correspond",
            "to",
            "both",
            "cities",
            "that",
            "have",
            "a",
            "population",
            "over",
            "1500",
            "and",
            "cities",
            "that",
            "have",
            "a",
            "population",
            "lower",
            "than",
            "500",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        500.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Official_Name FROM city WHERE Population  >  1500 OR Population  <  500",
        "query_toks": [
            "SELECT",
            "Official_Name",
            "FROM",
            "city",
            "WHERE",
            "Population",
            ">",
            "1500",
            "OR",
            "Population",
            "<",
            "500"
        ],
        "query_toks_no_value": [
            "select",
            "official_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "or",
            "population",
            "<",
            "value"
        ],
        "question": "Find the official names of cities with population bigger than 1500 or smaller than 500.",
        "question_toks": [
            "Find",
            "the",
            "official",
            "names",
            "of",
            "cities",
            "with",
            "population",
            "bigger",
            "than",
            "1500",
            "or",
            "smaller",
            "than",
            "500",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1500.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Official_Name FROM city WHERE Population  >  1500 OR Population  <  500",
        "query_toks": [
            "SELECT",
            "Official_Name",
            "FROM",
            "city",
            "WHERE",
            "Population",
            ">",
            "1500",
            "OR",
            "Population",
            "<",
            "500"
        ],
        "query_toks_no_value": [
            "select",
            "official_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "or",
            "population",
            "<",
            "value"
        ],
        "question": "What are the official names of cities that have population over 1500 or less than 500?",
        "question_toks": [
            "What",
            "are",
            "the",
            "official",
            "names",
            "of",
            "cities",
            "that",
            "have",
            "population",
            "over",
            "1500",
            "or",
            "less",
            "than",
            "500",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1500.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Census_Ranking FROM city WHERE Status !=  \"Village\"",
        "query_toks": [
            "SELECT",
            "Census_Ranking",
            "FROM",
            "city",
            "WHERE",
            "Status",
            "!",
            "=",
            "``",
            "Village",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "census_ranking",
            "from",
            "city",
            "where",
            "status",
            "!",
            "=",
            "value"
        ],
        "question": "Show the census ranking of cities whose status are not \"Village\".",
        "question_toks": [
            "Show",
            "the",
            "census",
            "ranking",
            "of",
            "cities",
            "whose",
            "status",
            "are",
            "not",
            "``",
            "Village",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Village\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "farm",
        "query": "SELECT Census_Ranking FROM city WHERE Status !=  \"Village\"",
        "query_toks": [
            "SELECT",
            "Census_Ranking",
            "FROM",
            "city",
            "WHERE",
            "Status",
            "!",
            "=",
            "``",
            "Village",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "census_ranking",
            "from",
            "city",
            "where",
            "status",
            "!",
            "=",
            "value"
        ],
        "question": "What are the census rankings of cities that do not have the status \"Village\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "census",
            "rankings",
            "of",
            "cities",
            "that",
            "do",
            "not",
            "have",
            "the",
            "status",
            "``",
            "Village",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Village\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T1.course_name FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_Id GROUP BY T1.course_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_Id",
            "GROUP",
            "BY",
            "T1.course_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which course has most number of registered students?",
        "question_toks": [
            "which",
            "course",
            "has",
            "most",
            "number",
            "of",
            "registered",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T1.course_name FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_Id GROUP BY T1.course_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_Id",
            "GROUP",
            "BY",
            "T1.course_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the course with the most registered students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "course",
            "with",
            "the",
            "most",
            "registered",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_registrations",
            "GROUP",
            "BY",
            "student_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_registrations",
            "group",
            "by",
            "student_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "what is id of students who registered some courses but the least number of courses in these students?",
        "question_toks": [
            "what",
            "is",
            "id",
            "of",
            "students",
            "who",
            "registered",
            "some",
            "courses",
            "but",
            "the",
            "least",
            "number",
            "of",
            "courses",
            "in",
            "these",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_registrations",
            "GROUP",
            "BY",
            "student_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_registrations",
            "group",
            "by",
            "student_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What are the ids of the students who registered for some courses but had the least number of courses for all students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "registered",
            "for",
            "some",
            "courses",
            "but",
            "had",
            "the",
            "least",
            "number",
            "of",
            "courses",
            "for",
            "all",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.first_name ,  T2.last_name FROM candidates AS T1 JOIN people AS T2 ON T1.candidate_id = T2.person_id",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "candidates",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.candidate_id",
            "=",
            "T2.person_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "candidates",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "candidate_id",
            "=",
            "t2",
            ".",
            "person_id"
        ],
        "question": "what are the first name and last name of all candidates?",
        "question_toks": [
            "what",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "all",
            "candidates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.first_name ,  T2.last_name FROM candidates AS T1 JOIN people AS T2 ON T1.candidate_id = T2.person_id",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "candidates",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.candidate_id",
            "=",
            "T2.person_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "candidates",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "candidate_id",
            "=",
            "t2",
            ".",
            "person_id"
        ],
        "question": "What are the first and last names of all the candidates?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "the",
            "candidates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM students WHERE student_id NOT IN (SELECT student_id FROM student_course_attendance)",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "students",
            "WHERE",
            "student_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "students",
            "where",
            "student_id",
            "not",
            "in",
            "(",
            "select",
            "student_id",
            "from",
            "student_course_attendance",
            ")"
        ],
        "question": "List the id of students who never attends courses?",
        "question_toks": [
            "List",
            "the",
            "id",
            "of",
            "students",
            "who",
            "never",
            "attends",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            30,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM students WHERE student_id NOT IN (SELECT student_id FROM student_course_attendance)",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "students",
            "WHERE",
            "student_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "students",
            "where",
            "student_id",
            "not",
            "in",
            "(",
            "select",
            "student_id",
            "from",
            "student_course_attendance",
            ")"
        ],
        "question": "What are the  ids of every student who has never attended a course?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "every",
            "student",
            "who",
            "has",
            "never",
            "attended",
            "a",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            30,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_attendance",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_attendance"
        ],
        "question": "List the id of students who attended some courses?",
        "question_toks": [
            "List",
            "the",
            "id",
            "of",
            "students",
            "who",
            "attended",
            "some",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_attendance",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_attendance"
        ],
        "question": "What are the ids of all students who have attended at least one course?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "who",
            "have",
            "attended",
            "at",
            "least",
            "one",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T1.student_id ,  T2.course_name FROM student_course_registrations AS T1 JOIN courses AS T2 ON T1.course_id = T2.course_id",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.course_name",
            "FROM",
            "student_course_registrations",
            "AS",
            "T1",
            "JOIN",
            "courses",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "course_name",
            "from",
            "student_course_registrations",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id"
        ],
        "question": "What are the ids of all students for courses and what are the names of those courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "for",
            "courses",
            "and",
            "what",
            "are",
            "the",
            "names",
            "of",
            "those",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.student_details FROM student_course_registrations AS T1 JOIN students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.registration_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.student_details",
            "FROM",
            "student_course_registrations",
            "AS",
            "T1",
            "JOIN",
            "students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "ORDER",
            "BY",
            "T1.registration_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "student_details",
            "from",
            "student_course_registrations",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "order",
            "by",
            "t1",
            ".",
            "registration_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is detail of the student who most recently registered course?",
        "question_toks": [
            "What",
            "is",
            "detail",
            "of",
            "the",
            "student",
            "who",
            "most",
            "recently",
            "registered",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.student_details FROM student_course_registrations AS T1 JOIN students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.registration_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.student_details",
            "FROM",
            "student_course_registrations",
            "AS",
            "T1",
            "JOIN",
            "students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "ORDER",
            "BY",
            "T1.registration_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "student_details",
            "from",
            "student_course_registrations",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "order",
            "by",
            "t1",
            ".",
            "registration_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What details do we have on the students who registered for courses most recently?",
        "question_toks": [
            "What",
            "details",
            "do",
            "we",
            "have",
            "on",
            "the",
            "students",
            "who",
            "registered",
            "for",
            "courses",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT count(*) FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"English\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_attendance",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.course_name",
            "=",
            "``",
            "English",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_attendance",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "course_name",
            "=",
            "value"
        ],
        "question": "How many students attend course English?",
        "question_toks": [
            "How",
            "many",
            "students",
            "attend",
            "course",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT count(*) FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"English\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_attendance",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.course_name",
            "=",
            "``",
            "English",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_attendance",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "course_name",
            "=",
            "value"
        ],
        "question": "How many students are attending English courses?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "attending",
            "English",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"English\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT count(*) FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T2.student_id = 171",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_attendance",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.student_id",
            "=",
            "171"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_attendance",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "student_id",
            "=",
            "value"
        ],
        "question": "How many courses do the student whose id is 171 attend?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "do",
            "the",
            "student",
            "whose",
            "id",
            "is",
            "171",
            "attend",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    171.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT count(*) FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T2.student_id = 171",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_attendance",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.student_id",
            "=",
            "171"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_attendance",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "student_id",
            "=",
            "value"
        ],
        "question": "How many courses does the student with id 171 actually attend?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "does",
            "the",
            "student",
            "with",
            "id",
            "171",
            "actually",
            "attend",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    171.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.candidate_id FROM people AS T1 JOIN candidates AS T2 ON T1.person_id = T2.candidate_id WHERE T1.email_address = \"stanley.monahan@example.org\"",
        "query_toks": [
            "SELECT",
            "T2.candidate_id",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "candidates",
            "AS",
            "T2",
            "ON",
            "T1.person_id",
            "=",
            "T2.candidate_id",
            "WHERE",
            "T1.email_address",
            "=",
            "``",
            "stanley.monahan",
            "@",
            "example.org",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "candidate_id",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidates",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "person_id",
            "=",
            "t2",
            ".",
            "candidate_id",
            "where",
            "t1",
            ".",
            "email_address",
            "=",
            "value"
        ],
        "question": "Find id of the candidate whose email is stanley.monahan@example.org?",
        "question_toks": [
            "Find",
            "id",
            "of",
            "the",
            "candidate",
            "whose",
            "email",
            "is",
            "stanley.monahan",
            "@",
            "example.org",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"stanley.monahan@example.org\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.candidate_id FROM people AS T1 JOIN candidates AS T2 ON T1.person_id = T2.candidate_id WHERE T1.email_address = \"stanley.monahan@example.org\"",
        "query_toks": [
            "SELECT",
            "T2.candidate_id",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "candidates",
            "AS",
            "T2",
            "ON",
            "T1.person_id",
            "=",
            "T2.candidate_id",
            "WHERE",
            "T1.email_address",
            "=",
            "``",
            "stanley.monahan",
            "@",
            "example.org",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "candidate_id",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidates",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "person_id",
            "=",
            "t2",
            ".",
            "candidate_id",
            "where",
            "t1",
            ".",
            "email_address",
            "=",
            "value"
        ],
        "question": "What is the id of the candidate whose email is stanley.monahan@example.org?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "candidate",
            "whose",
            "email",
            "is",
            "stanley.monahan",
            "@",
            "example.org",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"stanley.monahan@example.org\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT candidate_id FROM candidate_assessments ORDER BY assessment_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "candidate_id",
            "FROM",
            "candidate_assessments",
            "ORDER",
            "BY",
            "assessment_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "candidate_id",
            "from",
            "candidate_assessments",
            "order",
            "by",
            "assessment_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find id of the candidate who most recently accessed the course?",
        "question_toks": [
            "Find",
            "id",
            "of",
            "the",
            "candidate",
            "who",
            "most",
            "recently",
            "accessed",
            "the",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT candidate_id FROM candidate_assessments ORDER BY assessment_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "candidate_id",
            "FROM",
            "candidate_assessments",
            "ORDER",
            "BY",
            "assessment_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "candidate_id",
            "from",
            "candidate_assessments",
            "order",
            "by",
            "assessment_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the candidate who most recently accessed the course?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "candidate",
            "who",
            "most",
            "recently",
            "accessed",
            "the",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T1.student_details FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.student_details",
            "FROM",
            "students",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_details",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is detail of the student who registered the most number of courses?",
        "question_toks": [
            "What",
            "is",
            "detail",
            "of",
            "the",
            "student",
            "who",
            "registered",
            "the",
            "most",
            "number",
            "of",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T1.student_details FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.student_details",
            "FROM",
            "students",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_details",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the details of the student who registered for the most number of courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "the",
            "student",
            "who",
            "registered",
            "for",
            "the",
            "most",
            "number",
            "of",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T1.student_id ,  count(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "students",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id"
        ],
        "question": "List the id of students who registered some courses and the number of their registered courses?",
        "question_toks": [
            "List",
            "the",
            "id",
            "of",
            "students",
            "who",
            "registered",
            "some",
            "courses",
            "and",
            "the",
            "number",
            "of",
            "their",
            "registered",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T1.student_id ,  count(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "students",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id"
        ],
        "question": "For every student who is registered for some course, how many courses are they registered for?",
        "question_toks": [
            "For",
            "every",
            "student",
            "who",
            "is",
            "registered",
            "for",
            "some",
            "course",
            ",",
            "how",
            "many",
            "courses",
            "are",
            "they",
            "registered",
            "for",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T3.course_name ,  count(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id JOIN courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_id",
        "query_toks": [
            "SELECT",
            "T3.course_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "students",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "JOIN",
            "courses",
            "AS",
            "T3",
            "ON",
            "T2.course_id",
            "=",
            "T3.course_id",
            "GROUP",
            "BY",
            "T2.course_id"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "course_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "join",
            "courses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "course_id",
            "=",
            "t3",
            ".",
            "course_id",
            "group",
            "by",
            "t2",
            ".",
            "course_id"
        ],
        "question": "How many registed students do each course have? List course name and the number of their registered students?",
        "question_toks": [
            "How",
            "many",
            "registed",
            "students",
            "do",
            "each",
            "course",
            "have",
            "?",
            "List",
            "course",
            "name",
            "and",
            "the",
            "number",
            "of",
            "their",
            "registered",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T3.course_name ,  count(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id JOIN courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_id",
        "query_toks": [
            "SELECT",
            "T3.course_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "students",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "JOIN",
            "courses",
            "AS",
            "T3",
            "ON",
            "T2.course_id",
            "=",
            "T3.course_id",
            "GROUP",
            "BY",
            "T2.course_id"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "course_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "join",
            "courses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "course_id",
            "=",
            "t3",
            ".",
            "course_id",
            "group",
            "by",
            "t2",
            ".",
            "course_id"
        ],
        "question": "For each course id, how many students are registered and what are the course names?",
        "question_toks": [
            "For",
            "each",
            "course",
            "id",
            ",",
            "how",
            "many",
            "students",
            "are",
            "registered",
            "and",
            "what",
            "are",
            "the",
            "course",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT candidate_id FROM candidate_assessments WHERE asessment_outcome_code = \"Pass\"",
        "query_toks": [
            "SELECT",
            "candidate_id",
            "FROM",
            "candidate_assessments",
            "WHERE",
            "asessment_outcome_code",
            "=",
            "``",
            "Pass",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "candidate_id",
            "from",
            "candidate_assessments",
            "where",
            "asessment_outcome_code",
            "=",
            "value"
        ],
        "question": "Find id of candidates whose assessment code is \"Pass\"?",
        "question_toks": [
            "Find",
            "id",
            "of",
            "candidates",
            "whose",
            "assessment",
            "code",
            "is",
            "``",
            "Pass",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Pass\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT candidate_id FROM candidate_assessments WHERE asessment_outcome_code = \"Pass\"",
        "query_toks": [
            "SELECT",
            "candidate_id",
            "FROM",
            "candidate_assessments",
            "WHERE",
            "asessment_outcome_code",
            "=",
            "``",
            "Pass",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "candidate_id",
            "from",
            "candidate_assessments",
            "where",
            "asessment_outcome_code",
            "=",
            "value"
        ],
        "question": "What are the ids of the candidates that have an outcome code of Pass?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "candidates",
            "that",
            "have",
            "an",
            "outcome",
            "code",
            "of",
            "Pass",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Pass\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T3.cell_mobile_number FROM candidates AS T1 JOIN candidate_assessments AS T2 ON T1.candidate_id = T2.candidate_id JOIN people AS T3 ON T1.candidate_id = T3.person_id WHERE T2.asessment_outcome_code = \"Fail\"",
        "query_toks": [
            "SELECT",
            "T3.cell_mobile_number",
            "FROM",
            "candidates",
            "AS",
            "T1",
            "JOIN",
            "candidate_assessments",
            "AS",
            "T2",
            "ON",
            "T1.candidate_id",
            "=",
            "T2.candidate_id",
            "JOIN",
            "people",
            "AS",
            "T3",
            "ON",
            "T1.candidate_id",
            "=",
            "T3.person_id",
            "WHERE",
            "T2.asessment_outcome_code",
            "=",
            "``",
            "Fail",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "cell_mobile_number",
            "from",
            "candidates",
            "as",
            "t1",
            "join",
            "candidate_assessments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "candidate_id",
            "=",
            "t2",
            ".",
            "candidate_id",
            "join",
            "people",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "candidate_id",
            "=",
            "t3",
            ".",
            "person_id",
            "where",
            "t2",
            ".",
            "asessment_outcome_code",
            "=",
            "value"
        ],
        "question": "Find the cell mobile number of the candidates whose assessment code is \"Fail\"?",
        "question_toks": [
            "Find",
            "the",
            "cell",
            "mobile",
            "number",
            "of",
            "the",
            "candidates",
            "whose",
            "assessment",
            "code",
            "is",
            "``",
            "Fail",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Fail\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T3.cell_mobile_number FROM candidates AS T1 JOIN candidate_assessments AS T2 ON T1.candidate_id = T2.candidate_id JOIN people AS T3 ON T1.candidate_id = T3.person_id WHERE T2.asessment_outcome_code = \"Fail\"",
        "query_toks": [
            "SELECT",
            "T3.cell_mobile_number",
            "FROM",
            "candidates",
            "AS",
            "T1",
            "JOIN",
            "candidate_assessments",
            "AS",
            "T2",
            "ON",
            "T1.candidate_id",
            "=",
            "T2.candidate_id",
            "JOIN",
            "people",
            "AS",
            "T3",
            "ON",
            "T1.candidate_id",
            "=",
            "T3.person_id",
            "WHERE",
            "T2.asessment_outcome_code",
            "=",
            "``",
            "Fail",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "cell_mobile_number",
            "from",
            "candidates",
            "as",
            "t1",
            "join",
            "candidate_assessments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "candidate_id",
            "=",
            "t2",
            ".",
            "candidate_id",
            "join",
            "people",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "candidate_id",
            "=",
            "t3",
            ".",
            "person_id",
            "where",
            "t2",
            ".",
            "asessment_outcome_code",
            "=",
            "value"
        ],
        "question": "What are the cell phone numbers of the candidates that received an assessment code of \"Fail\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "cell",
            "phone",
            "numbers",
            "of",
            "the",
            "candidates",
            "that",
            "received",
            "an",
            "assessment",
            "code",
            "of",
            "``",
            "Fail",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Fail\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_attendance WHERE course_id  =  301",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance",
            "WHERE",
            "course_id",
            "=",
            "301"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_attendance",
            "where",
            "course_id",
            "=",
            "value"
        ],
        "question": "What are the id of students who registered course 301?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "of",
            "students",
            "who",
            "registered",
            "course",
            "301",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    301.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_attendance WHERE course_id  =  301",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance",
            "WHERE",
            "course_id",
            "=",
            "301"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_attendance",
            "where",
            "course_id",
            "=",
            "value"
        ],
        "question": "What are the ids of the students who registered for course 301?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "registered",
            "for",
            "course",
            "301",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    301.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_attendance WHERE course_id = 301 ORDER BY date_of_attendance DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance",
            "WHERE",
            "course_id",
            "=",
            "301",
            "ORDER",
            "BY",
            "date_of_attendance",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_attendance",
            "where",
            "course_id",
            "=",
            "value",
            "order",
            "by",
            "date_of_attendance",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the student who most recently registered course 301?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "student",
            "who",
            "most",
            "recently",
            "registered",
            "course",
            "301",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    301.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_attendance WHERE course_id = 301 ORDER BY date_of_attendance DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance",
            "WHERE",
            "course_id",
            "=",
            "301",
            "ORDER",
            "BY",
            "date_of_attendance",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_attendance",
            "where",
            "course_id",
            "=",
            "value",
            "order",
            "by",
            "date_of_attendance",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the ids of the students who registered for course 301 most recently?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "registered",
            "for",
            "course",
            "301",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    301.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.city",
            "FROM",
            "addresses",
            "AS",
            "T1",
            "JOIN",
            "people_addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "city",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "people_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id"
        ],
        "question": "Find distinct cities of addresses of people?",
        "question_toks": [
            "Find",
            "distinct",
            "cities",
            "of",
            "addresses",
            "of",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.city",
            "FROM",
            "addresses",
            "AS",
            "T1",
            "JOIN",
            "people_addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "city",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "people_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id"
        ],
        "question": "What are the different cities where people live?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "cities",
            "where",
            "people",
            "live",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id JOIN students AS T3 ON T2.person_id = T3.student_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.city",
            "FROM",
            "addresses",
            "AS",
            "T1",
            "JOIN",
            "people_addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "JOIN",
            "students",
            "AS",
            "T3",
            "ON",
            "T2.person_id",
            "=",
            "T3.student_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "city",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "people_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "join",
            "students",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "person_id",
            "=",
            "t3",
            ".",
            "student_id"
        ],
        "question": "Find distinct cities of address of students?",
        "question_toks": [
            "Find",
            "distinct",
            "cities",
            "of",
            "address",
            "of",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id JOIN students AS T3 ON T2.person_id = T3.student_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.city",
            "FROM",
            "addresses",
            "AS",
            "T1",
            "JOIN",
            "people_addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "JOIN",
            "students",
            "AS",
            "T3",
            "ON",
            "T2.person_id",
            "=",
            "T3.student_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "city",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "people_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "join",
            "students",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "person_id",
            "=",
            "t3",
            ".",
            "student_id"
        ],
        "question": "What are the different cities where students live?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "cities",
            "where",
            "students",
            "live",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT course_name FROM courses ORDER BY course_name",
        "query_toks": [
            "SELECT",
            "course_name",
            "FROM",
            "courses",
            "ORDER",
            "BY",
            "course_name"
        ],
        "query_toks_no_value": [
            "select",
            "course_name",
            "from",
            "courses",
            "order",
            "by",
            "course_name"
        ],
        "question": "List the names of courses in alphabetical order?",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "courses",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT course_name FROM courses ORDER BY course_name",
        "query_toks": [
            "SELECT",
            "course_name",
            "FROM",
            "courses",
            "ORDER",
            "BY",
            "course_name"
        ],
        "query_toks_no_value": [
            "select",
            "course_name",
            "from",
            "courses",
            "order",
            "by",
            "course_name"
        ],
        "question": "What are the names of the courses in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "courses",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT first_name FROM people ORDER BY first_name",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "first_name"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "people",
            "order",
            "by",
            "first_name"
        ],
        "question": "List the first names of people in alphabetical order?",
        "question_toks": [
            "List",
            "the",
            "first",
            "names",
            "of",
            "people",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT first_name FROM people ORDER BY first_name",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "first_name"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "people",
            "order",
            "by",
            "first_name"
        ],
        "question": "What are the first names of the people in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "the",
            "people",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_registrations UNION SELECT student_id FROM student_course_attendance",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_registrations",
            "UNION",
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_registrations",
            "union",
            "select",
            "student_id",
            "from",
            "student_course_attendance"
        ],
        "question": "What are the id of students who registered courses or attended courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "of",
            "students",
            "who",
            "registered",
            "courses",
            "or",
            "attended",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    30,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT student_id FROM student_course_registrations UNION SELECT student_id FROM student_course_attendance",
        "query_toks": [
            "SELECT",
            "student_id",
            "FROM",
            "student_course_registrations",
            "UNION",
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance"
        ],
        "query_toks_no_value": [
            "select",
            "student_id",
            "from",
            "student_course_registrations",
            "union",
            "select",
            "student_id",
            "from",
            "student_course_attendance"
        ],
        "question": "What are the ids of the students who either registered or attended a course?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "either",
            "registered",
            "or",
            "attended",
            "a",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    30,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT course_id FROM student_course_registrations WHERE student_id = 121 UNION SELECT course_id FROM student_course_attendance WHERE student_id = 121",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "student_course_registrations",
            "WHERE",
            "student_id",
            "=",
            "121",
            "UNION",
            "SELECT",
            "course_id",
            "FROM",
            "student_course_attendance",
            "WHERE",
            "student_id",
            "=",
            "121"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "student_course_registrations",
            "where",
            "student_id",
            "=",
            "value",
            "union",
            "select",
            "course_id",
            "from",
            "student_course_attendance",
            "where",
            "student_id",
            "=",
            "value"
        ],
        "question": "Find the id of courses which are registered or attended by student whose id is 121?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "courses",
            "which",
            "are",
            "registered",
            "or",
            "attended",
            "by",
            "student",
            "whose",
            "id",
            "is",
            "121",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    121.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    31,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        121.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT course_id FROM student_course_registrations WHERE student_id = 121 UNION SELECT course_id FROM student_course_attendance WHERE student_id = 121",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "student_course_registrations",
            "WHERE",
            "student_id",
            "=",
            "121",
            "UNION",
            "SELECT",
            "course_id",
            "FROM",
            "student_course_attendance",
            "WHERE",
            "student_id",
            "=",
            "121"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "student_course_registrations",
            "where",
            "student_id",
            "=",
            "value",
            "union",
            "select",
            "course_id",
            "from",
            "student_course_attendance",
            "where",
            "student_id",
            "=",
            "value"
        ],
        "question": "What are the ids of the courses that are registered or attended by the student whose id is 121?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "courses",
            "that",
            "are",
            "registered",
            "or",
            "attended",
            "by",
            "the",
            "student",
            "whose",
            "id",
            "is",
            "121",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    121.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    31,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        121.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT * FROM student_course_registrations WHERE student_id NOT IN (SELECT student_id FROM student_course_attendance)",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "student_course_registrations",
            "WHERE",
            "student_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "student_course_registrations",
            "where",
            "student_id",
            "not",
            "in",
            "(",
            "select",
            "student_id",
            "from",
            "student_course_attendance",
            ")"
        ],
        "question": "What are all info of students who registered courses but not attended courses?",
        "question_toks": [
            "What",
            "are",
            "all",
            "info",
            "of",
            "students",
            "who",
            "registered",
            "courses",
            "but",
            "not",
            "attended",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            30,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT * FROM student_course_registrations WHERE student_id NOT IN (SELECT student_id FROM student_course_attendance)",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "student_course_registrations",
            "WHERE",
            "student_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "student_id",
            "FROM",
            "student_course_attendance",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "student_course_registrations",
            "where",
            "student_id",
            "not",
            "in",
            "(",
            "select",
            "student_id",
            "from",
            "student_course_attendance",
            ")"
        ],
        "question": "What are all details of the students who registered but did not attend any course?",
        "question_toks": [
            "What",
            "are",
            "all",
            "details",
            "of",
            "the",
            "students",
            "who",
            "registered",
            "but",
            "did",
            "not",
            "attend",
            "any",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            30,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.student_id FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"statistics\" ORDER BY T2.registration_date",
        "query_toks": [
            "SELECT",
            "T2.student_id",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.course_name",
            "=",
            "``",
            "statistics",
            "''",
            "ORDER",
            "BY",
            "T2.registration_date"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "student_id",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "course_name",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "registration_date"
        ],
        "question": "List the id of students who registered course statistics in the order of registration date.",
        "question_toks": [
            "List",
            "the",
            "id",
            "of",
            "students",
            "who",
            "registered",
            "course",
            "statistics",
            "in",
            "the",
            "order",
            "of",
            "registration",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.student_id FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"statistics\" ORDER BY T2.registration_date",
        "query_toks": [
            "SELECT",
            "T2.student_id",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_registrations",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.course_name",
            "=",
            "``",
            "statistics",
            "''",
            "ORDER",
            "BY",
            "T2.registration_date"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "student_id",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_registrations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "course_name",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "registration_date"
        ],
        "question": "What are the ids of the students who registered course statistics by order of registration date?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "registered",
            "course",
            "statistics",
            "by",
            "order",
            "of",
            "registration",
            "date",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.student_id FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"statistics\" ORDER BY T2.date_of_attendance",
        "query_toks": [
            "SELECT",
            "T2.student_id",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_attendance",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.course_name",
            "=",
            "``",
            "statistics",
            "''",
            "ORDER",
            "BY",
            "T2.date_of_attendance"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "student_id",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_attendance",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "course_name",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "date_of_attendance"
        ],
        "question": "List the id of students who attended  statistics courses in the order of attendance date.",
        "question_toks": [
            "List",
            "the",
            "id",
            "of",
            "students",
            "who",
            "attended",
            "statistics",
            "courses",
            "in",
            "the",
            "order",
            "of",
            "attendance",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_assessment",
        "query": "SELECT T2.student_id FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"statistics\" ORDER BY T2.date_of_attendance",
        "query_toks": [
            "SELECT",
            "T2.student_id",
            "FROM",
            "courses",
            "AS",
            "T1",
            "JOIN",
            "student_course_attendance",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.course_name",
            "=",
            "``",
            "statistics",
            "''",
            "ORDER",
            "BY",
            "T2.date_of_attendance"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "student_id",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_attendance",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "course_name",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "date_of_attendance"
        ],
        "question": "What are the ids of the students who attended courses in the statistics department in order of attendance date.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "attended",
            "courses",
            "in",
            "the",
            "statistics",
            "department",
            "in",
            "order",
            "of",
            "attendance",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date FROM weather WHERE max_temperature_f  >  85",
        "query_toks": [
            "SELECT",
            "date",
            "FROM",
            "weather",
            "WHERE",
            "max_temperature_f",
            ">",
            "85"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "weather",
            "where",
            "max_temperature_f",
            ">",
            "value"
        ],
        "question": "Give me the dates when the max temperature was higher than 85.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "dates",
            "when",
            "the",
            "max",
            "temperature",
            "was",
            "higher",
            "than",
            "85",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    85.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date FROM weather WHERE max_temperature_f  >  85",
        "query_toks": [
            "SELECT",
            "date",
            "FROM",
            "weather",
            "WHERE",
            "max_temperature_f",
            ">",
            "85"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "weather",
            "where",
            "max_temperature_f",
            ">",
            "value"
        ],
        "question": "What are the dates with a maximum temperature higher than 85?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "with",
            "a",
            "maximum",
            "temperature",
            "higher",
            "than",
            "85",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    85.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT name FROM station WHERE lat  <  37.5",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "station",
            "WHERE",
            "lat",
            "<",
            "37.5"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "station",
            "where",
            "lat",
            "<",
            "value"
        ],
        "question": "What are the names of stations that have latitude lower than 37.5?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "stations",
            "that",
            "have",
            "latitude",
            "lower",
            "than",
            "37.5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    37.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT name FROM station WHERE lat  <  37.5",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "station",
            "WHERE",
            "lat",
            "<",
            "37.5"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "station",
            "where",
            "lat",
            "<",
            "value"
        ],
        "question": "What are the names of all stations with a latitude smaller than 37.5?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "stations",
            "with",
            "a",
            "latitude",
            "smaller",
            "than",
            "37.5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    37.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT city ,  max(lat) FROM station GROUP BY city",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "max",
            "(",
            "lat",
            ")",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "max",
            "(",
            "lat",
            ")",
            "from",
            "station",
            "group",
            "by",
            "city"
        ],
        "question": "For each city, return the highest latitude among its stations.",
        "question_toks": [
            "For",
            "each",
            "city",
            ",",
            "return",
            "the",
            "highest",
            "latitude",
            "among",
            "its",
            "stations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT city ,  max(lat) FROM station GROUP BY city",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "max",
            "(",
            "lat",
            ")",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "max",
            "(",
            "lat",
            ")",
            "from",
            "station",
            "group",
            "by",
            "city"
        ],
        "question": "For each city, what is the highest latitude for its stations?",
        "question_toks": [
            "For",
            "each",
            "city",
            ",",
            "what",
            "is",
            "the",
            "highest",
            "latitude",
            "for",
            "its",
            "stations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT start_station_name ,  end_station_name FROM trip ORDER BY id LIMIT 3",
        "query_toks": [
            "SELECT",
            "start_station_name",
            ",",
            "end_station_name",
            "FROM",
            "trip",
            "ORDER",
            "BY",
            "id",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "start_station_name",
            ",",
            "end_station_name",
            "from",
            "trip",
            "order",
            "by",
            "id",
            "limit",
            "value"
        ],
        "question": "Give me the start station and end station for the trips with the three oldest id.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "start",
            "station",
            "and",
            "end",
            "station",
            "for",
            "the",
            "trips",
            "with",
            "the",
            "three",
            "oldest",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT start_station_name ,  end_station_name FROM trip ORDER BY id LIMIT 3",
        "query_toks": [
            "SELECT",
            "start_station_name",
            ",",
            "end_station_name",
            "FROM",
            "trip",
            "ORDER",
            "BY",
            "id",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "start_station_name",
            ",",
            "end_station_name",
            "from",
            "trip",
            "order",
            "by",
            "id",
            "limit",
            "value"
        ],
        "question": "What is the station station and end station for the trips with the three smallest ids?",
        "question_toks": [
            "What",
            "is",
            "the",
            "station",
            "station",
            "and",
            "end",
            "station",
            "for",
            "the",
            "trips",
            "with",
            "the",
            "three",
            "smallest",
            "ids",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT avg(lat) ,  avg(long) FROM station WHERE city  =  \"San Jose\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "lat",
            ")",
            ",",
            "avg",
            "(",
            "long",
            ")",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "San",
            "Jose",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "lat",
            ")",
            ",",
            "avg",
            "(",
            "long",
            ")",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What is the average latitude and longitude of stations located in San Jose city?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "latitude",
            "and",
            "longitude",
            "of",
            "stations",
            "located",
            "in",
            "San",
            "Jose",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"San Jose\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT avg(lat) ,  avg(long) FROM station WHERE city  =  \"San Jose\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "lat",
            ")",
            ",",
            "avg",
            "(",
            "long",
            ")",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "San",
            "Jose",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "lat",
            ")",
            ",",
            "avg",
            "(",
            "long",
            ")",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What is the average latitude and longitude in San Jose?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "latitude",
            "and",
            "longitude",
            "in",
            "San",
            "Jose",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"San Jose\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id FROM trip ORDER BY duration LIMIT 1",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "trip",
            "ORDER",
            "BY",
            "duration",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "trip",
            "order",
            "by",
            "duration",
            "limit",
            "value"
        ],
        "question": "What is the id of the trip that has the shortest duration?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "trip",
            "that",
            "has",
            "the",
            "shortest",
            "duration",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id FROM trip ORDER BY duration LIMIT 1",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "trip",
            "ORDER",
            "BY",
            "duration",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "trip",
            "order",
            "by",
            "duration",
            "limit",
            "value"
        ],
        "question": "What is the id of the shortest trip?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "shortest",
            "trip",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT sum(duration) ,  max(duration) FROM trip WHERE bike_id  =  636",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "duration",
            ")",
            ",",
            "max",
            "(",
            "duration",
            ")",
            "FROM",
            "trip",
            "WHERE",
            "bike_id",
            "=",
            "636"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "duration",
            ")",
            ",",
            "max",
            "(",
            "duration",
            ")",
            "from",
            "trip",
            "where",
            "bike_id",
            "=",
            "value"
        ],
        "question": "What is the total and maximum duration of trips with bike id 636?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "and",
            "maximum",
            "duration",
            "of",
            "trips",
            "with",
            "bike",
            "id",
            "636",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    636.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT sum(duration) ,  max(duration) FROM trip WHERE bike_id  =  636",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "duration",
            ")",
            ",",
            "max",
            "(",
            "duration",
            ")",
            "FROM",
            "trip",
            "WHERE",
            "bike_id",
            "=",
            "636"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "duration",
            ")",
            ",",
            "max",
            "(",
            "duration",
            ")",
            "from",
            "trip",
            "where",
            "bike_id",
            "=",
            "value"
        ],
        "question": "What is the total and maximum duration for all trips with the bike id 636?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "and",
            "maximum",
            "duration",
            "for",
            "all",
            "trips",
            "with",
            "the",
            "bike",
            "id",
            "636",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    636.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code  ,  avg(mean_temperature_f) FROM weather WHERE date LIKE \"8/%\" GROUP BY zip_code",
        "query_toks": [
            "SELECT",
            "zip_code",
            ",",
            "avg",
            "(",
            "mean_temperature_f",
            ")",
            "FROM",
            "weather",
            "WHERE",
            "date",
            "LIKE",
            "``",
            "8/",
            "%",
            "''",
            "GROUP",
            "BY",
            "zip_code"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            ",",
            "avg",
            "(",
            "mean_temperature_f",
            ")",
            "from",
            "weather",
            "where",
            "date",
            "like",
            "value",
            "group",
            "by",
            "zip_code"
        ],
        "question": "For each zip code, return the average mean temperature of August there.",
        "question_toks": [
            "For",
            "each",
            "zip",
            "code",
            ",",
            "return",
            "the",
            "average",
            "mean",
            "temperature",
            "of",
            "August",
            "there",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"8/%\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code  ,  avg(mean_temperature_f) FROM weather WHERE date LIKE \"8/%\" GROUP BY zip_code",
        "query_toks": [
            "SELECT",
            "zip_code",
            ",",
            "avg",
            "(",
            "mean_temperature_f",
            ")",
            "FROM",
            "weather",
            "WHERE",
            "date",
            "LIKE",
            "``",
            "8/",
            "%",
            "''",
            "GROUP",
            "BY",
            "zip_code"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            ",",
            "avg",
            "(",
            "mean_temperature_f",
            ")",
            "from",
            "weather",
            "where",
            "date",
            "like",
            "value",
            "group",
            "by",
            "zip_code"
        ],
        "question": "For each zip code, what is the average mean temperature for all dates that start with '8'?",
        "question_toks": [
            "For",
            "each",
            "zip",
            "code",
            ",",
            "what",
            "is",
            "the",
            "average",
            "mean",
            "temperature",
            "for",
            "all",
            "dates",
            "that",
            "start",
            "with",
            "'8",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"8/%\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT count(DISTINCT bike_id) FROM trip",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "bike_id",
            ")",
            "FROM",
            "trip"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "bike_id",
            ")",
            "from",
            "trip"
        ],
        "question": "From the trip record, find the number of unique bikes.",
        "question_toks": [
            "From",
            "the",
            "trip",
            "record",
            ",",
            "find",
            "the",
            "number",
            "of",
            "unique",
            "bikes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                20,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT count(DISTINCT bike_id) FROM trip",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "bike_id",
            ")",
            "FROM",
            "trip"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "bike_id",
            ")",
            "from",
            "trip"
        ],
        "question": "How many different bike ids are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "bike",
            "ids",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                20,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT count(DISTINCT city) FROM station",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "station"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "station"
        ],
        "question": "What is the number of distinct cities the stations are located at?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "distinct",
            "cities",
            "the",
            "stations",
            "are",
            "located",
            "at",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT count(DISTINCT city) FROM station",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "station"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "station"
        ],
        "question": "How many different cities have these stations?",
        "question_toks": [
            "How",
            "many",
            "different",
            "cities",
            "have",
            "these",
            "stations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT COUNT(*) FROM station WHERE city  =  \"Mountain View\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "Mountain",
            "View",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "How many stations does Mountain View city has?",
        "question_toks": [
            "How",
            "many",
            "stations",
            "does",
            "Mountain",
            "View",
            "city",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Mountain View\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT COUNT(*) FROM station WHERE city  =  \"Mountain View\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "Mountain",
            "View",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "How many stations are in Mountain View?",
        "question_toks": [
            "How",
            "many",
            "stations",
            "are",
            "in",
            "Mountain",
            "View",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Mountain View\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT DISTINCT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id  =  T2.station_id WHERE T2.bikes_available  =  7",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "status",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.station_id",
            "WHERE",
            "T2.bikes_available",
            "=",
            "7"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "where",
            "t2",
            ".",
            "bikes_available",
            "=",
            "value"
        ],
        "question": "Return the unique name for stations that have ever had 7 bikes available.",
        "question_toks": [
            "Return",
            "the",
            "unique",
            "name",
            "for",
            "stations",
            "that",
            "have",
            "ever",
            "had",
            "7",
            "bikes",
            "available",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    7.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT DISTINCT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id  =  T2.station_id WHERE T2.bikes_available  =  7",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "status",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.station_id",
            "WHERE",
            "T2.bikes_available",
            "=",
            "7"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "where",
            "t2",
            ".",
            "bikes_available",
            "=",
            "value"
        ],
        "question": "What are the different names for each station that has ever had 7 bikes available?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "for",
            "each",
            "station",
            "that",
            "has",
            "ever",
            "had",
            "7",
            "bikes",
            "available",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    7.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT start_station_name ,  start_station_id FROM trip WHERE start_date LIKE \"8/%\" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "start_station_name",
            ",",
            "start_station_id",
            "FROM",
            "trip",
            "WHERE",
            "start_date",
            "LIKE",
            "``",
            "8/",
            "%",
            "''",
            "GROUP",
            "BY",
            "start_station_name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "start_station_name",
            ",",
            "start_station_id",
            "from",
            "trip",
            "where",
            "start_date",
            "like",
            "value",
            "group",
            "by",
            "start_station_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which start station had the most trips starting from August? Give me the name and id of the station.",
        "question_toks": [
            "Which",
            "start",
            "station",
            "had",
            "the",
            "most",
            "trips",
            "starting",
            "from",
            "August",
            "?",
            "Give",
            "me",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "station",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"8/%\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT start_station_name ,  start_station_id FROM trip WHERE start_date LIKE \"8/%\" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "start_station_name",
            ",",
            "start_station_id",
            "FROM",
            "trip",
            "WHERE",
            "start_date",
            "LIKE",
            "``",
            "8/",
            "%",
            "''",
            "GROUP",
            "BY",
            "start_station_name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "start_station_name",
            ",",
            "start_station_id",
            "from",
            "trip",
            "where",
            "start_date",
            "like",
            "value",
            "group",
            "by",
            "start_station_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the start station's name and id for the one that had the most start trips in August?",
        "question_toks": [
            "What",
            "are",
            "the",
            "start",
            "station",
            "'s",
            "name",
            "and",
            "id",
            "for",
            "the",
            "one",
            "that",
            "had",
            "the",
            "most",
            "start",
            "trips",
            "in",
            "August",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"8/%\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT bike_id FROM trip WHERE zip_code  =  94002 GROUP BY bike_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "bike_id",
            "FROM",
            "trip",
            "WHERE",
            "zip_code",
            "=",
            "94002",
            "GROUP",
            "BY",
            "bike_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "bike_id",
            "from",
            "trip",
            "where",
            "zip_code",
            "=",
            "value",
            "group",
            "by",
            "bike_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which bike traveled the most often in zip code 94002?",
        "question_toks": [
            "Which",
            "bike",
            "traveled",
            "the",
            "most",
            "often",
            "in",
            "zip",
            "code",
            "94002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    94002.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT bike_id FROM trip WHERE zip_code  =  94002 GROUP BY bike_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "bike_id",
            "FROM",
            "trip",
            "WHERE",
            "zip_code",
            "=",
            "94002",
            "GROUP",
            "BY",
            "bike_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "bike_id",
            "from",
            "trip",
            "where",
            "zip_code",
            "=",
            "value",
            "group",
            "by",
            "bike_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the bike that traveled the most in 94002?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "bike",
            "that",
            "traveled",
            "the",
            "most",
            "in",
            "94002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    94002.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT COUNT(*) FROM weather WHERE mean_humidity  >  50 AND mean_visibility_miles  >  8",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "weather",
            "WHERE",
            "mean_humidity",
            ">",
            "50",
            "AND",
            "mean_visibility_miles",
            ">",
            "8"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "weather",
            "where",
            "mean_humidity",
            ">",
            "value",
            "and",
            "mean_visibility_miles",
            ">",
            "value"
        ],
        "question": "How many days had both mean humidity above 50 and mean visibility above 8?",
        "question_toks": [
            "How",
            "many",
            "days",
            "had",
            "both",
            "mean",
            "humidity",
            "above",
            "50",
            "and",
            "mean",
            "visibility",
            "above",
            "8",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT COUNT(*) FROM weather WHERE mean_humidity  >  50 AND mean_visibility_miles  >  8",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "weather",
            "WHERE",
            "mean_humidity",
            ">",
            "50",
            "AND",
            "mean_visibility_miles",
            ">",
            "8"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "weather",
            "where",
            "mean_humidity",
            ">",
            "value",
            "and",
            "mean_visibility_miles",
            ">",
            "value"
        ],
        "question": "What is the number of days that had an average humity above 50 and an average visibility above 8?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "days",
            "that",
            "had",
            "an",
            "average",
            "humity",
            "above",
            "50",
            "and",
            "an",
            "average",
            "visibility",
            "above",
            "8",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.lat ,  T1.long ,  T1.city FROM station AS T1 JOIN trip AS T2 ON T1.id  =  T2.start_station_id ORDER BY T2.duration LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.lat",
            ",",
            "T1.long",
            ",",
            "T1.city",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.start_station_id",
            "ORDER",
            "BY",
            "T2.duration",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lat",
            ",",
            "t1",
            ".",
            "long",
            ",",
            "t1",
            ".",
            "city",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "start_station_id",
            "order",
            "by",
            "t2",
            ".",
            "duration",
            "limit",
            "value"
        ],
        "question": "What is the latitude, longitude, city of the station from which the shortest trip started?",
        "question_toks": [
            "What",
            "is",
            "the",
            "latitude",
            ",",
            "longitude",
            ",",
            "city",
            "of",
            "the",
            "station",
            "from",
            "which",
            "the",
            "shortest",
            "trip",
            "started",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.lat ,  T1.long ,  T1.city FROM station AS T1 JOIN trip AS T2 ON T1.id  =  T2.start_station_id ORDER BY T2.duration LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.lat",
            ",",
            "T1.long",
            ",",
            "T1.city",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.start_station_id",
            "ORDER",
            "BY",
            "T2.duration",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lat",
            ",",
            "t1",
            ".",
            "long",
            ",",
            "t1",
            ".",
            "city",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "start_station_id",
            "order",
            "by",
            "t2",
            ".",
            "duration",
            "limit",
            "value"
        ],
        "question": "What is the latitude, longitude, and city of the station from which the trip with smallest duration started?",
        "question_toks": [
            "What",
            "is",
            "the",
            "latitude",
            ",",
            "longitude",
            ",",
            "and",
            "city",
            "of",
            "the",
            "station",
            "from",
            "which",
            "the",
            "trip",
            "with",
            "smallest",
            "duration",
            "started",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id FROM station WHERE city  =  \"San Francisco\" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING avg(bikes_available)  >  10",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "San",
            "Francisco",
            "''",
            "INTERSECT",
            "SELECT",
            "station_id",
            "FROM",
            "status",
            "GROUP",
            "BY",
            "station_id",
            "HAVING",
            "avg",
            "(",
            "bikes_available",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value",
            "intersect",
            "select",
            "station_id",
            "from",
            "status",
            "group",
            "by",
            "station_id",
            "having",
            "avg",
            "(",
            "bikes_available",
            ")",
            ">",
            "value"
        ],
        "question": "What are the ids of stations that are located in San Francisco and have average bike availability above 10.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "stations",
            "that",
            "are",
            "located",
            "in",
            "San",
            "Francisco",
            "and",
            "have",
            "average",
            "bike",
            "availability",
            "above",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        8,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                5,
                                9,
                                false
                            ],
                            null
                        ],
                        10.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id FROM station WHERE city  =  \"San Francisco\" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING avg(bikes_available)  >  10",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "San",
            "Francisco",
            "''",
            "INTERSECT",
            "SELECT",
            "station_id",
            "FROM",
            "status",
            "GROUP",
            "BY",
            "station_id",
            "HAVING",
            "avg",
            "(",
            "bikes_available",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value",
            "intersect",
            "select",
            "station_id",
            "from",
            "status",
            "group",
            "by",
            "station_id",
            "having",
            "avg",
            "(",
            "bikes_available",
            ")",
            ">",
            "value"
        ],
        "question": "What are the ids of the stations in San Francisco that normally have more than 10 bikes available?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "stations",
            "in",
            "San",
            "Francisco",
            "that",
            "normally",
            "have",
            "more",
            "than",
            "10",
            "bikes",
            "available",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        8,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                5,
                                9,
                                false
                            ],
                            null
                        ],
                        10.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.name ,  T1.id FROM station AS T1 JOIN status AS T2 ON T1.id  =  T2.station_id GROUP BY T2.station_id HAVING avg(T2.bikes_available)  >  14 UNION SELECT name ,  id FROM station WHERE installation_date LIKE \"12/%\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.id",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "status",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.station_id",
            "GROUP",
            "BY",
            "T2.station_id",
            "HAVING",
            "avg",
            "(",
            "T2.bikes_available",
            ")",
            ">",
            "14",
            "UNION",
            "SELECT",
            "name",
            ",",
            "id",
            "FROM",
            "station",
            "WHERE",
            "installation_date",
            "LIKE",
            "``",
            "12/",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "id",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "group",
            "by",
            "t2",
            ".",
            "station_id",
            "having",
            "avg",
            "(",
            "t2",
            ".",
            "bikes_available",
            ")",
            ">",
            "value",
            "union",
            "select",
            "name",
            ",",
            "id",
            "from",
            "station",
            "where",
            "installation_date",
            "like",
            "value"
        ],
        "question": "What are the names and ids of stations that had more than 14 bikes available on average or were installed in December?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "stations",
            "that",
            "had",
            "more",
            "than",
            "14",
            "bikes",
            "available",
            "on",
            "average",
            "or",
            "were",
            "installed",
            "in",
            "December",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            9,
                            false
                        ],
                        null
                    ],
                    14.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        9,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"12/%\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.name ,  T1.id FROM station AS T1 JOIN status AS T2 ON T1.id  =  T2.station_id GROUP BY T2.station_id HAVING avg(T2.bikes_available)  >  14 UNION SELECT name ,  id FROM station WHERE installation_date LIKE \"12/%\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.id",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "status",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.station_id",
            "GROUP",
            "BY",
            "T2.station_id",
            "HAVING",
            "avg",
            "(",
            "T2.bikes_available",
            ")",
            ">",
            "14",
            "UNION",
            "SELECT",
            "name",
            ",",
            "id",
            "FROM",
            "station",
            "WHERE",
            "installation_date",
            "LIKE",
            "``",
            "12/",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "id",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "group",
            "by",
            "t2",
            ".",
            "station_id",
            "having",
            "avg",
            "(",
            "t2",
            ".",
            "bikes_available",
            ")",
            ">",
            "value",
            "union",
            "select",
            "name",
            ",",
            "id",
            "from",
            "station",
            "where",
            "installation_date",
            "like",
            "value"
        ],
        "question": "What are the names and ids of all stations that have more than 14 bikes available on average or had bikes installed in December?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "all",
            "stations",
            "that",
            "have",
            "more",
            "than",
            "14",
            "bikes",
            "available",
            "on",
            "average",
            "or",
            "had",
            "bikes",
            "installed",
            "in",
            "December",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            9,
                            false
                        ],
                        null
                    ],
                    14.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        9,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"12/%\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT cloud_cover FROM weather WHERE zip_code  =  94107 GROUP BY cloud_cover ORDER BY COUNT (*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "cloud_cover",
            "FROM",
            "weather",
            "WHERE",
            "zip_code",
            "=",
            "94107",
            "GROUP",
            "BY",
            "cloud_cover",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "cloud_cover",
            "from",
            "weather",
            "where",
            "zip_code",
            "=",
            "value",
            "group",
            "by",
            "cloud_cover",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the 3 most common cloud cover rates in the region of zip code 94107?",
        "question_toks": [
            "What",
            "is",
            "the",
            "3",
            "most",
            "common",
            "cloud",
            "cover",
            "rates",
            "in",
            "the",
            "region",
            "of",
            "zip",
            "code",
            "94107",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ],
                    94107.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT cloud_cover FROM weather WHERE zip_code  =  94107 GROUP BY cloud_cover ORDER BY COUNT (*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "cloud_cover",
            "FROM",
            "weather",
            "WHERE",
            "zip_code",
            "=",
            "94107",
            "GROUP",
            "BY",
            "cloud_cover",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "cloud_cover",
            "from",
            "weather",
            "where",
            "zip_code",
            "=",
            "value",
            "group",
            "by",
            "cloud_cover",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the 3 most common cloud covers in the zip code of 94107?",
        "question_toks": [
            "What",
            "are",
            "the",
            "3",
            "most",
            "common",
            "cloud",
            "covers",
            "in",
            "the",
            "zip",
            "code",
            "of",
            "94107",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ],
                    94107.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code FROM weather GROUP BY zip_code ORDER BY avg(mean_sea_level_pressure_inches) LIMIT 1",
        "query_toks": [
            "SELECT",
            "zip_code",
            "FROM",
            "weather",
            "GROUP",
            "BY",
            "zip_code",
            "ORDER",
            "BY",
            "avg",
            "(",
            "mean_sea_level_pressure_inches",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            "from",
            "weather",
            "group",
            "by",
            "zip_code",
            "order",
            "by",
            "avg",
            "(",
            "mean_sea_level_pressure_inches",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the zip code in which the average mean sea level pressure is the lowest?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "in",
            "which",
            "the",
            "average",
            "mean",
            "sea",
            "level",
            "pressure",
            "is",
            "the",
            "lowest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code FROM weather GROUP BY zip_code ORDER BY avg(mean_sea_level_pressure_inches) LIMIT 1",
        "query_toks": [
            "SELECT",
            "zip_code",
            "FROM",
            "weather",
            "GROUP",
            "BY",
            "zip_code",
            "ORDER",
            "BY",
            "avg",
            "(",
            "mean_sea_level_pressure_inches",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            "from",
            "weather",
            "group",
            "by",
            "zip_code",
            "order",
            "by",
            "avg",
            "(",
            "mean_sea_level_pressure_inches",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the zip code that has the lowest average mean sea level pressure?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "that",
            "has",
            "the",
            "lowest",
            "average",
            "mean",
            "sea",
            "level",
            "pressure",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT avg(bikes_available) FROM status WHERE station_id NOT IN (SELECT id FROM station WHERE city  =  \"Palo Alto\")",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "bikes_available",
            ")",
            "FROM",
            "status",
            "WHERE",
            "station_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "id",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "Palo",
            "Alto",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "bikes_available",
            ")",
            "from",
            "status",
            "where",
            "station_id",
            "not",
            "in",
            "(",
            "select",
            "id",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value",
            ")"
        ],
        "question": "What is the average bike availability in stations that are not located in Palo Alto?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "bike",
            "availability",
            "in",
            "stations",
            "that",
            "are",
            "not",
            "located",
            "in",
            "Palo",
            "Alto",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Palo Alto\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT avg(bikes_available) FROM status WHERE station_id NOT IN (SELECT id FROM station WHERE city  =  \"Palo Alto\")",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "bikes_available",
            ")",
            "FROM",
            "status",
            "WHERE",
            "station_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "id",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "Palo",
            "Alto",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "bikes_available",
            ")",
            "from",
            "status",
            "where",
            "station_id",
            "not",
            "in",
            "(",
            "select",
            "id",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value",
            ")"
        ],
        "question": "What is the average bike availablility for stations not in Palo Alto?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "bike",
            "availablility",
            "for",
            "stations",
            "not",
            "in",
            "Palo",
            "Alto",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Palo Alto\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT avg(long) FROM station WHERE id NOT IN (SELECT station_id FROM status GROUP BY station_id HAVING max(bikes_available)  >  10)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "long",
            ")",
            "FROM",
            "station",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "station_id",
            "FROM",
            "status",
            "GROUP",
            "BY",
            "station_id",
            "HAVING",
            "max",
            "(",
            "bikes_available",
            ")",
            ">",
            "10",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "long",
            ")",
            "from",
            "station",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "station_id",
            "from",
            "status",
            "group",
            "by",
            "station_id",
            "having",
            "max",
            "(",
            "bikes_available",
            ")",
            ">",
            "value",
            ")"
        ],
        "question": "What is the average longitude of stations that never had bike availability more than 10?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "longitude",
            "of",
            "stations",
            "that",
            "never",
            "had",
            "bike",
            "availability",
            "more",
            "than",
            "10",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                8,
                                false
                            ]
                        ],
                        "having": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        1,
                                        9,
                                        false
                                    ],
                                    null
                                ],
                                10.0,
                                null
                            ]
                        ],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT avg(long) FROM station WHERE id NOT IN (SELECT station_id FROM status GROUP BY station_id HAVING max(bikes_available)  >  10)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "long",
            ")",
            "FROM",
            "station",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "station_id",
            "FROM",
            "status",
            "GROUP",
            "BY",
            "station_id",
            "HAVING",
            "max",
            "(",
            "bikes_available",
            ")",
            ">",
            "10",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "long",
            ")",
            "from",
            "station",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "station_id",
            "from",
            "status",
            "group",
            "by",
            "station_id",
            "having",
            "max",
            "(",
            "bikes_available",
            ")",
            ">",
            "value",
            ")"
        ],
        "question": "What is the mean longitude for all stations that have never had more than 10 bikes available?",
        "question_toks": [
            "What",
            "is",
            "the",
            "mean",
            "longitude",
            "for",
            "all",
            "stations",
            "that",
            "have",
            "never",
            "had",
            "more",
            "than",
            "10",
            "bikes",
            "available",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                8,
                                false
                            ]
                        ],
                        "having": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        1,
                                        9,
                                        false
                                    ],
                                    null
                                ],
                                10.0,
                                null
                            ]
                        ],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  zip_code FROM weather WHERE max_temperature_f  >=  80",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "zip_code",
            "FROM",
            "weather",
            "WHERE",
            "max_temperature_f",
            ">",
            "=",
            "80"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "zip_code",
            "from",
            "weather",
            "where",
            "max_temperature_f",
            ">",
            "=",
            "value"
        ],
        "question": "When and in what zip code did max temperature reach 80?",
        "question_toks": [
            "When",
            "and",
            "in",
            "what",
            "zip",
            "code",
            "did",
            "max",
            "temperature",
            "reach",
            "80",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    80.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  zip_code FROM weather WHERE max_temperature_f  >=  80",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "zip_code",
            "FROM",
            "weather",
            "WHERE",
            "max_temperature_f",
            ">",
            "=",
            "80"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "zip_code",
            "from",
            "weather",
            "where",
            "max_temperature_f",
            ">",
            "=",
            "value"
        ],
        "question": "What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature?",
        "question_toks": [
            "What",
            "zip",
            "codes",
            "have",
            "a",
            "station",
            "with",
            "a",
            "max",
            "temperature",
            "greater",
            "than",
            "or",
            "equal",
            "to",
            "80",
            "and",
            "when",
            "did",
            "it",
            "reach",
            "that",
            "temperature",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    80.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code  =  T2.zip_code GROUP BY T2.zip_code HAVING avg(T2.mean_temperature_f)  >  60",
        "query_toks": [
            "SELECT",
            "T1.id",
            "FROM",
            "trip",
            "AS",
            "T1",
            "JOIN",
            "weather",
            "AS",
            "T2",
            "ON",
            "T1.zip_code",
            "=",
            "T2.zip_code",
            "GROUP",
            "BY",
            "T2.zip_code",
            "HAVING",
            "avg",
            "(",
            "T2.mean_temperature_f",
            ")",
            ">",
            "60"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            "from",
            "trip",
            "as",
            "t1",
            "join",
            "weather",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "zip_code",
            "=",
            "t2",
            ".",
            "zip_code",
            "group",
            "by",
            "t2",
            ".",
            "zip_code",
            "having",
            "avg",
            "(",
            "t2",
            ".",
            "mean_temperature_f",
            ")",
            ">",
            "value"
        ],
        "question": "Give me ids for all the trip that took place in a zip code area with average mean temperature above 60.",
        "question_toks": [
            "Give",
            "me",
            "ids",
            "for",
            "all",
            "the",
            "trip",
            "that",
            "took",
            "place",
            "in",
            "a",
            "zip",
            "code",
            "area",
            "with",
            "average",
            "mean",
            "temperature",
            "above",
            "60",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            25,
                            false
                        ],
                        null
                    ],
                    60.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code  =  T2.zip_code GROUP BY T2.zip_code HAVING avg(T2.mean_temperature_f)  >  60",
        "query_toks": [
            "SELECT",
            "T1.id",
            "FROM",
            "trip",
            "AS",
            "T1",
            "JOIN",
            "weather",
            "AS",
            "T2",
            "ON",
            "T1.zip_code",
            "=",
            "T2.zip_code",
            "GROUP",
            "BY",
            "T2.zip_code",
            "HAVING",
            "avg",
            "(",
            "T2.mean_temperature_f",
            ")",
            ">",
            "60"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            "from",
            "trip",
            "as",
            "t1",
            "join",
            "weather",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "zip_code",
            "=",
            "t2",
            ".",
            "zip_code",
            "group",
            "by",
            "t2",
            ".",
            "zip_code",
            "having",
            "avg",
            "(",
            "t2",
            ".",
            "mean_temperature_f",
            ")",
            ">",
            "value"
        ],
        "question": "For each zip code, find the ids of all trips that have a higher average mean temperature above 60?",
        "question_toks": [
            "For",
            "each",
            "zip",
            "code",
            ",",
            "find",
            "the",
            "ids",
            "of",
            "all",
            "trips",
            "that",
            "have",
            "a",
            "higher",
            "average",
            "mean",
            "temperature",
            "above",
            "60",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            25,
                            false
                        ],
                        null
                    ],
                    60.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code , count(*) FROM weather WHERE max_wind_Speed_mph  >=  25 GROUP BY zip_code",
        "query_toks": [
            "SELECT",
            "zip_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "weather",
            "WHERE",
            "max_wind_Speed_mph",
            ">",
            "=",
            "25",
            "GROUP",
            "BY",
            "zip_code"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "weather",
            "where",
            "max_wind_speed_mph",
            ">",
            "=",
            "value",
            "group",
            "by",
            "zip_code"
        ],
        "question": "For each zip code, return how many times max wind speed reached 25?",
        "question_toks": [
            "For",
            "each",
            "zip",
            "code",
            ",",
            "return",
            "how",
            "many",
            "times",
            "max",
            "wind",
            "speed",
            "reached",
            "25",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code , count(*) FROM weather WHERE max_wind_Speed_mph  >=  25 GROUP BY zip_code",
        "query_toks": [
            "SELECT",
            "zip_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "weather",
            "WHERE",
            "max_wind_Speed_mph",
            ">",
            "=",
            "25",
            "GROUP",
            "BY",
            "zip_code"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "weather",
            "where",
            "max_wind_speed_mph",
            ">",
            "=",
            "value",
            "group",
            "by",
            "zip_code"
        ],
        "question": "For each zip code, how many times has the maximum wind speed reached 25 mph?",
        "question_toks": [
            "For",
            "each",
            "zip",
            "code",
            ",",
            "how",
            "many",
            "times",
            "has",
            "the",
            "maximum",
            "wind",
            "speed",
            "reached",
            "25",
            "mph",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  zip_code FROM weather WHERE min_dew_point_f  <  (SELECT min(min_dew_point_f) FROM weather WHERE zip_code  =  94107)",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "zip_code",
            "FROM",
            "weather",
            "WHERE",
            "min_dew_point_f",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "min_dew_point_f",
            ")",
            "FROM",
            "weather",
            "WHERE",
            "zip_code",
            "=",
            "94107",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "zip_code",
            "from",
            "weather",
            "where",
            "min_dew_point_f",
            "<",
            "(",
            "select",
            "min",
            "(",
            "min_dew_point_f",
            ")",
            "from",
            "weather",
            "where",
            "zip_code",
            "=",
            "value",
            ")"
        ],
        "question": "On which day and in which zip code was the min dew point lower than any day in zip code 94107?",
        "question_toks": [
            "On",
            "which",
            "day",
            "and",
            "in",
            "which",
            "zip",
            "code",
            "was",
            "the",
            "min",
            "dew",
            "point",
            "lower",
            "than",
            "any",
            "day",
            "in",
            "zip",
            "code",
            "94107",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        46,
                                        false
                                    ],
                                    null
                                ],
                                94107.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  zip_code FROM weather WHERE min_dew_point_f  <  (SELECT min(min_dew_point_f) FROM weather WHERE zip_code  =  94107)",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "zip_code",
            "FROM",
            "weather",
            "WHERE",
            "min_dew_point_f",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "min_dew_point_f",
            ")",
            "FROM",
            "weather",
            "WHERE",
            "zip_code",
            "=",
            "94107",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "zip_code",
            "from",
            "weather",
            "where",
            "min_dew_point_f",
            "<",
            "(",
            "select",
            "min",
            "(",
            "min_dew_point_f",
            ")",
            "from",
            "weather",
            "where",
            "zip_code",
            "=",
            "value",
            ")"
        ],
        "question": "Which days had a minimum dew point smaller than any day in zip code 94107, and in which zip codes were those measurements taken?",
        "question_toks": [
            "Which",
            "days",
            "had",
            "a",
            "minimum",
            "dew",
            "point",
            "smaller",
            "than",
            "any",
            "day",
            "in",
            "zip",
            "code",
            "94107",
            ",",
            "and",
            "in",
            "which",
            "zip",
            "codes",
            "were",
            "those",
            "measurements",
            "taken",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        46,
                                        false
                                    ],
                                    null
                                ],
                                94107.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.id ,  T2.installation_date FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id  =  T2.id",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T2.installation_date",
            "FROM",
            "trip",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.end_station_id",
            "=",
            "T2.id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t2",
            ".",
            "installation_date",
            "from",
            "trip",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "end_station_id",
            "=",
            "t2",
            ".",
            "id"
        ],
        "question": "For each trip, return its ending station's installation date.",
        "question_toks": [
            "For",
            "each",
            "trip",
            ",",
            "return",
            "its",
            "ending",
            "station",
            "'s",
            "installation",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.id ,  T2.installation_date FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id  =  T2.id",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T2.installation_date",
            "FROM",
            "trip",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.end_station_id",
            "=",
            "T2.id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t2",
            ".",
            "installation_date",
            "from",
            "trip",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "end_station_id",
            "=",
            "t2",
            ".",
            "id"
        ],
        "question": "What is the installation date for each ending station on all the trips?",
        "question_toks": [
            "What",
            "is",
            "the",
            "installation",
            "date",
            "for",
            "each",
            "ending",
            "station",
            "on",
            "all",
            "the",
            "trips",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.id FROM trip AS T1 JOIN station AS T2 ON T1.start_station_id  =  T2.id ORDER BY T2.dock_count DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            "FROM",
            "trip",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.start_station_id",
            "=",
            "T2.id",
            "ORDER",
            "BY",
            "T2.dock_count",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            "from",
            "trip",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "start_station_id",
            "=",
            "t2",
            ".",
            "id",
            "order",
            "by",
            "t2",
            ".",
            "dock_count",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which trip started from the station with the largest dock count? Give me the trip id.",
        "question_toks": [
            "Which",
            "trip",
            "started",
            "from",
            "the",
            "station",
            "with",
            "the",
            "largest",
            "dock",
            "count",
            "?",
            "Give",
            "me",
            "the",
            "trip",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.id FROM trip AS T1 JOIN station AS T2 ON T1.start_station_id  =  T2.id ORDER BY T2.dock_count DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            "FROM",
            "trip",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.start_station_id",
            "=",
            "T2.id",
            "ORDER",
            "BY",
            "T2.dock_count",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            "from",
            "trip",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "start_station_id",
            "=",
            "t2",
            ".",
            "id",
            "order",
            "by",
            "t2",
            ".",
            "dock_count",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the trip that started from the station with the highest dock count?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "trip",
            "that",
            "started",
            "from",
            "the",
            "station",
            "with",
            "the",
            "highest",
            "dock",
            "count",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT count(*) FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id  =  T2.id WHERE T2.city !=  \"San Francisco\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "trip",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.end_station_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.city",
            "!",
            "=",
            "``",
            "San",
            "Francisco",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "trip",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "end_station_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "city",
            "!",
            "=",
            "value"
        ],
        "question": "Count the number of trips that did not end in San Francisco city.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "trips",
            "that",
            "did",
            "not",
            "end",
            "in",
            "San",
            "Francisco",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT count(*) FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id  =  T2.id WHERE T2.city != \"San Francisco\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "trip",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.end_station_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.city",
            "!",
            "=",
            "``",
            "San",
            "Francisco",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "trip",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "end_station_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "city",
            "!",
            "=",
            "value"
        ],
        "question": "How many trips did not end in San Francisco?",
        "question_toks": [
            "How",
            "many",
            "trips",
            "did",
            "not",
            "end",
            "in",
            "San",
            "Francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date FROM weather WHERE zip_code  =  94107 AND EVENTS != \"Fog\" AND EVENTS != \"Rain\"",
        "query_toks": [
            "SELECT",
            "date",
            "FROM",
            "weather",
            "WHERE",
            "zip_code",
            "=",
            "94107",
            "AND",
            "EVENTS",
            "!",
            "=",
            "``",
            "Fog",
            "''",
            "AND",
            "EVENTS",
            "!",
            "=",
            "``",
            "Rain",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "weather",
            "where",
            "zip_code",
            "=",
            "value",
            "and",
            "events",
            "!",
            "=",
            "value",
            "and",
            "events",
            "!",
            "=",
            "value"
        ],
        "question": "In zip code 94107, on which day neither Fog nor Rain was not observed?",
        "question_toks": [
            "In",
            "zip",
            "code",
            "94107",
            ",",
            "on",
            "which",
            "day",
            "neither",
            "Fog",
            "nor",
            "Rain",
            "was",
            "not",
            "observed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ],
                    94107.0,
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"Fog\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"Rain\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date FROM weather WHERE zip_code  =  94107 AND EVENTS != \"Fog\" AND EVENTS != \"Rain\"",
        "query_toks": [
            "SELECT",
            "date",
            "FROM",
            "weather",
            "WHERE",
            "zip_code",
            "=",
            "94107",
            "AND",
            "EVENTS",
            "!",
            "=",
            "``",
            "Fog",
            "''",
            "AND",
            "EVENTS",
            "!",
            "=",
            "``",
            "Rain",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "weather",
            "where",
            "zip_code",
            "=",
            "value",
            "and",
            "events",
            "!",
            "=",
            "value",
            "and",
            "events",
            "!",
            "=",
            "value"
        ],
        "question": "On which day has it neither been foggy nor rained in the zip code of 94107?",
        "question_toks": [
            "On",
            "which",
            "day",
            "has",
            "it",
            "neither",
            "been",
            "foggy",
            "nor",
            "rained",
            "in",
            "the",
            "zip",
            "code",
            "of",
            "94107",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ],
                    94107.0,
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"Fog\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"Rain\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id FROM station WHERE lat  >  37.4 EXCEPT SELECT station_id FROM status GROUP BY station_id HAVING min(bikes_available)  <  7",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "station",
            "WHERE",
            "lat",
            ">",
            "37.4",
            "EXCEPT",
            "SELECT",
            "station_id",
            "FROM",
            "status",
            "GROUP",
            "BY",
            "station_id",
            "HAVING",
            "min",
            "(",
            "bikes_available",
            ")",
            "<",
            "7"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "station",
            "where",
            "lat",
            ">",
            "value",
            "except",
            "select",
            "station_id",
            "from",
            "status",
            "group",
            "by",
            "station_id",
            "having",
            "min",
            "(",
            "bikes_available",
            ")",
            "<",
            "value"
        ],
        "question": "What are the ids of stations that have latitude above 37.4 and never had bike availability below 7?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "stations",
            "that",
            "have",
            "latitude",
            "above",
            "37.4",
            "and",
            "never",
            "had",
            "bike",
            "availability",
            "below",
            "7",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    37.4,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        8,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                2,
                                9,
                                false
                            ],
                            null
                        ],
                        7.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id FROM station WHERE lat  >  37.4 EXCEPT SELECT station_id FROM status GROUP BY station_id HAVING min(bikes_available)  <  7",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "station",
            "WHERE",
            "lat",
            ">",
            "37.4",
            "EXCEPT",
            "SELECT",
            "station_id",
            "FROM",
            "status",
            "GROUP",
            "BY",
            "station_id",
            "HAVING",
            "min",
            "(",
            "bikes_available",
            ")",
            "<",
            "7"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "station",
            "where",
            "lat",
            ">",
            "value",
            "except",
            "select",
            "station_id",
            "from",
            "status",
            "group",
            "by",
            "station_id",
            "having",
            "min",
            "(",
            "bikes_available",
            ")",
            "<",
            "value"
        ],
        "question": "What are the ids of all stations that have a latitude above 37.4 and have never had less than 7 bikes available?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "stations",
            "that",
            "have",
            "a",
            "latitude",
            "above",
            "37.4",
            "and",
            "have",
            "never",
            "had",
            "less",
            "than",
            "7",
            "bikes",
            "available",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    37.4,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        8,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                2,
                                9,
                                false
                            ],
                            null
                        ],
                        7.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id  =  T2.station_id GROUP BY T2.station_id HAVING avg(bikes_available)  >  10 EXCEPT SELECT name FROM station WHERE city  =  \"San Jose\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "status",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.station_id",
            "GROUP",
            "BY",
            "T2.station_id",
            "HAVING",
            "avg",
            "(",
            "bikes_available",
            ")",
            ">",
            "10",
            "EXCEPT",
            "SELECT",
            "name",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "San",
            "Jose",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "group",
            "by",
            "t2",
            ".",
            "station_id",
            "having",
            "avg",
            "(",
            "bikes_available",
            ")",
            ">",
            "value",
            "except",
            "select",
            "name",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What are names of stations that have average bike availability above 10 and are not located in San Jose city?",
        "question_toks": [
            "What",
            "are",
            "names",
            "of",
            "stations",
            "that",
            "have",
            "average",
            "bike",
            "availability",
            "above",
            "10",
            "and",
            "are",
            "not",
            "located",
            "in",
            "San",
            "Jose",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            9,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"San Jose\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id  =  T2.station_id GROUP BY T2.station_id HAVING avg(bikes_available)  >  10 EXCEPT SELECT name FROM station WHERE city  =  \"San Jose\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "status",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.station_id",
            "GROUP",
            "BY",
            "T2.station_id",
            "HAVING",
            "avg",
            "(",
            "bikes_available",
            ")",
            ">",
            "10",
            "EXCEPT",
            "SELECT",
            "name",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "San",
            "Jose",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "group",
            "by",
            "t2",
            ".",
            "station_id",
            "having",
            "avg",
            "(",
            "bikes_available",
            ")",
            ">",
            "value",
            "except",
            "select",
            "name",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What are the names of all stations that have more than 10 bikes available and are not located in San Jose?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "stations",
            "that",
            "have",
            "more",
            "than",
            "10",
            "bikes",
            "available",
            "and",
            "are",
            "not",
            "located",
            "in",
            "San",
            "Jose",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            9,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"San Jose\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT name ,  lat ,  city FROM station ORDER BY lat LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "lat",
            ",",
            "city",
            "FROM",
            "station",
            "ORDER",
            "BY",
            "lat",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "lat",
            ",",
            "city",
            "from",
            "station",
            "order",
            "by",
            "lat",
            "limit",
            "value"
        ],
        "question": "What are the name, latitude, and city of the station with the lowest latitude?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            ",",
            "latitude",
            ",",
            "and",
            "city",
            "of",
            "the",
            "station",
            "with",
            "the",
            "lowest",
            "latitude",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT name ,  lat ,  city FROM station ORDER BY lat LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "lat",
            ",",
            "city",
            "FROM",
            "station",
            "ORDER",
            "BY",
            "lat",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "lat",
            ",",
            "city",
            "from",
            "station",
            "order",
            "by",
            "lat",
            "limit",
            "value"
        ],
        "question": "What is the name, latitude, and city of the station that is located the furthest South?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            ",",
            "latitude",
            ",",
            "and",
            "city",
            "of",
            "the",
            "station",
            "that",
            "is",
            "located",
            "the",
            "furthest",
            "South",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  mean_temperature_f ,  mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "mean_temperature_f",
            ",",
            "mean_humidity",
            "FROM",
            "weather",
            "ORDER",
            "BY",
            "max_gust_speed_mph",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "mean_temperature_f",
            ",",
            "mean_humidity",
            "from",
            "weather",
            "order",
            "by",
            "max_gust_speed_mph",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?",
        "question_toks": [
            "What",
            "are",
            "the",
            "date",
            ",",
            "mean",
            "temperature",
            "and",
            "mean",
            "humidity",
            "for",
            "the",
            "top",
            "3",
            "days",
            "with",
            "the",
            "largest",
            "max",
            "gust",
            "speeds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  mean_temperature_f ,  mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "mean_temperature_f",
            ",",
            "mean_humidity",
            "FROM",
            "weather",
            "ORDER",
            "BY",
            "max_gust_speed_mph",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "mean_temperature_f",
            ",",
            "mean_humidity",
            "from",
            "weather",
            "order",
            "by",
            "max_gust_speed_mph",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?",
        "question_toks": [
            "What",
            "is",
            "the",
            "date",
            ",",
            "average",
            "temperature",
            "and",
            "mean",
            "humidity",
            "for",
            "the",
            "days",
            "with",
            "the",
            "3",
            "largest",
            "maximum",
            "gust",
            "speeds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT city ,  COUNT(*) FROM station GROUP BY city HAVING COUNT(*)  >=  15",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "15"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List the name and the number of stations for all the cities that have at least 15 stations.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "the",
            "number",
            "of",
            "stations",
            "for",
            "all",
            "the",
            "cities",
            "that",
            "have",
            "at",
            "least",
            "15",
            "stations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    15.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT city ,  COUNT(*) FROM station GROUP BY city HAVING COUNT(*)  >=  15",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "15"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the name of every city that has at least 15 stations and how many stations does it have?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "every",
            "city",
            "that",
            "has",
            "at",
            "least",
            "15",
            "stations",
            "and",
            "how",
            "many",
            "stations",
            "does",
            "it",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    15.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT start_station_id ,  start_station_name FROM trip GROUP BY start_station_name HAVING COUNT(*)  >=  200",
        "query_toks": [
            "SELECT",
            "start_station_id",
            ",",
            "start_station_name",
            "FROM",
            "trip",
            "GROUP",
            "BY",
            "start_station_name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "start_station_id",
            ",",
            "start_station_name",
            "from",
            "trip",
            "group",
            "by",
            "start_station_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the ids and names of stations from which at least 200 trips started.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "stations",
            "from",
            "which",
            "at",
            "least",
            "200",
            "trips",
            "started",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT start_station_id ,  start_station_name FROM trip GROUP BY start_station_name HAVING COUNT(*)  >=  200",
        "query_toks": [
            "SELECT",
            "start_station_id",
            ",",
            "start_station_name",
            "FROM",
            "trip",
            "GROUP",
            "BY",
            "start_station_name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "start_station_id",
            ",",
            "start_station_name",
            "from",
            "trip",
            "group",
            "by",
            "start_station_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the ids and names of all start stations that were the beginning of at least 200 trips?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "all",
            "start",
            "stations",
            "that",
            "were",
            "the",
            "beginning",
            "of",
            "at",
            "least",
            "200",
            "trips",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_visibility_miles)  <  10",
        "query_toks": [
            "SELECT",
            "zip_code",
            "FROM",
            "weather",
            "GROUP",
            "BY",
            "zip_code",
            "HAVING",
            "avg",
            "(",
            "mean_visibility_miles",
            ")",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            "from",
            "weather",
            "group",
            "by",
            "zip_code",
            "having",
            "avg",
            "(",
            "mean_visibility_miles",
            ")",
            "<",
            "value"
        ],
        "question": "Find the zip code in which the average mean visibility is lower than 10.",
        "question_toks": [
            "Find",
            "the",
            "zip",
            "code",
            "in",
            "which",
            "the",
            "average",
            "mean",
            "visibility",
            "is",
            "lower",
            "than",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            37,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_visibility_miles)  <  10",
        "query_toks": [
            "SELECT",
            "zip_code",
            "FROM",
            "weather",
            "GROUP",
            "BY",
            "zip_code",
            "HAVING",
            "avg",
            "(",
            "mean_visibility_miles",
            ")",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            "from",
            "weather",
            "group",
            "by",
            "zip_code",
            "having",
            "avg",
            "(",
            "mean_visibility_miles",
            ")",
            "<",
            "value"
        ],
        "question": "For each zip code, select all those that have an average mean visiblity below 10.",
        "question_toks": [
            "For",
            "each",
            "zip",
            "code",
            ",",
            "select",
            "all",
            "those",
            "that",
            "have",
            "an",
            "average",
            "mean",
            "visiblity",
            "below",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            37,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT city FROM station GROUP BY city ORDER BY max(lat) DESC",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "city",
            "ORDER",
            "BY",
            "max",
            "(",
            "lat",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "station",
            "group",
            "by",
            "city",
            "order",
            "by",
            "max",
            "(",
            "lat",
            ")",
            "desc"
        ],
        "question": "List all the cities in a decreasing order of each city's stations' highest latitude.",
        "question_toks": [
            "List",
            "all",
            "the",
            "cities",
            "in",
            "a",
            "decreasing",
            "order",
            "of",
            "each",
            "city",
            "'s",
            "stations",
            "'",
            "highest",
            "latitude",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            1,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT city FROM station GROUP BY city ORDER BY max(lat) DESC",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "city",
            "ORDER",
            "BY",
            "max",
            "(",
            "lat",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "station",
            "group",
            "by",
            "city",
            "order",
            "by",
            "max",
            "(",
            "lat",
            ")",
            "desc"
        ],
        "question": "For each city, list their names in decreasing order by their highest station latitude.",
        "question_toks": [
            "For",
            "each",
            "city",
            ",",
            "list",
            "their",
            "names",
            "in",
            "decreasing",
            "order",
            "by",
            "their",
            "highest",
            "station",
            "latitude",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            1,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  cloud_cover FROM weather ORDER BY cloud_cover DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "cloud_cover",
            "FROM",
            "weather",
            "ORDER",
            "BY",
            "cloud_cover",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "cloud_cover",
            "from",
            "weather",
            "order",
            "by",
            "cloud_cover",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate.",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "that",
            "had",
            "the",
            "top",
            "5",
            "cloud",
            "cover",
            "rates",
            "?",
            "Also",
            "tell",
            "me",
            "the",
            "cloud",
            "cover",
            "rate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  cloud_cover FROM weather ORDER BY cloud_cover DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "cloud_cover",
            "FROM",
            "weather",
            "ORDER",
            "BY",
            "cloud_cover",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "cloud_cover",
            "from",
            "weather",
            "order",
            "by",
            "cloud_cover",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the dates that have the 5 highest cloud cover rates and what are the rates?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "that",
            "have",
            "the",
            "5",
            "highest",
            "cloud",
            "cover",
            "rates",
            "and",
            "what",
            "are",
            "the",
            "rates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id ,  duration FROM trip ORDER BY duration DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "id",
            ",",
            "duration",
            "FROM",
            "trip",
            "ORDER",
            "BY",
            "duration",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            ",",
            "duration",
            "from",
            "trip",
            "order",
            "by",
            "duration",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the ids and durations of the trips with the top 3 durations?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "durations",
            "of",
            "the",
            "trips",
            "with",
            "the",
            "top",
            "3",
            "durations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id ,  duration FROM trip ORDER BY duration DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "id",
            ",",
            "duration",
            "FROM",
            "trip",
            "ORDER",
            "BY",
            "duration",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            ",",
            "duration",
            "from",
            "trip",
            "order",
            "by",
            "duration",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the ids of the trips that lasted the longest and how long did they last?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "trips",
            "that",
            "lasted",
            "the",
            "longest",
            "and",
            "how",
            "long",
            "did",
            "they",
            "last",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.name ,  T1.long ,  avg(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id  =  T2.start_station_id GROUP BY T2.start_station_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.long",
            ",",
            "avg",
            "(",
            "T2.duration",
            ")",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.start_station_id",
            "GROUP",
            "BY",
            "T2.start_station_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "long",
            ",",
            "avg",
            "(",
            "t2",
            ".",
            "duration",
            ")",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "start_station_id",
            "group",
            "by",
            "t2",
            ".",
            "start_station_id"
        ],
        "question": "For each station, return its longitude and the average duration of trips that started from the station.",
        "question_toks": [
            "For",
            "each",
            "station",
            ",",
            "return",
            "its",
            "longitude",
            "and",
            "the",
            "average",
            "duration",
            "of",
            "trips",
            "that",
            "started",
            "from",
            "the",
            "station",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.name ,  T1.long ,  avg(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id  =  T2.start_station_id GROUP BY T2.start_station_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.long",
            ",",
            "avg",
            "(",
            "T2.duration",
            ")",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.start_station_id",
            "GROUP",
            "BY",
            "T2.start_station_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "long",
            ",",
            "avg",
            "(",
            "t2",
            ".",
            "duration",
            ")",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "start_station_id",
            "group",
            "by",
            "t2",
            ".",
            "start_station_id"
        ],
        "question": "For each start station id, what is its name, longitude and average duration of trips started there?",
        "question_toks": [
            "For",
            "each",
            "start",
            "station",
            "id",
            ",",
            "what",
            "is",
            "its",
            "name",
            ",",
            "longitude",
            "and",
            "average",
            "duration",
            "of",
            "trips",
            "started",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.name ,  T1.lat ,  min(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id  =  T2.end_station_id GROUP BY T2.end_station_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.lat",
            ",",
            "min",
            "(",
            "T2.duration",
            ")",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.end_station_id",
            "GROUP",
            "BY",
            "T2.end_station_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "lat",
            ",",
            "min",
            "(",
            "t2",
            ".",
            "duration",
            ")",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "end_station_id",
            "group",
            "by",
            "t2",
            ".",
            "end_station_id"
        ],
        "question": "For each station, find its latitude and the minimum duration of trips that ended at the station.",
        "question_toks": [
            "For",
            "each",
            "station",
            ",",
            "find",
            "its",
            "latitude",
            "and",
            "the",
            "minimum",
            "duration",
            "of",
            "trips",
            "that",
            "ended",
            "at",
            "the",
            "station",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT T1.name ,  T1.lat ,  min(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id  =  T2.end_station_id GROUP BY T2.end_station_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.lat",
            ",",
            "min",
            "(",
            "T2.duration",
            ")",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.end_station_id",
            "GROUP",
            "BY",
            "T2.end_station_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "lat",
            ",",
            "min",
            "(",
            "t2",
            ".",
            "duration",
            ")",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "end_station_id",
            "group",
            "by",
            "t2",
            ".",
            "end_station_id"
        ],
        "question": "For each end station id, what is its name, latitude, and minimum duration for trips ended there?",
        "question_toks": [
            "For",
            "each",
            "end",
            "station",
            "id",
            ",",
            "what",
            "is",
            "its",
            "name",
            ",",
            "latitude",
            ",",
            "and",
            "minimum",
            "duration",
            "for",
            "trips",
            "ended",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT DISTINCT start_station_name FROM trip WHERE duration  <  100",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "start_station_name",
            "FROM",
            "trip",
            "WHERE",
            "duration",
            "<",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "start_station_name",
            "from",
            "trip",
            "where",
            "duration",
            "<",
            "value"
        ],
        "question": "List all the distinct stations from which a trip of duration below 100 started.",
        "question_toks": [
            "List",
            "all",
            "the",
            "distinct",
            "stations",
            "from",
            "which",
            "a",
            "trip",
            "of",
            "duration",
            "below",
            "100",
            "started",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT DISTINCT start_station_name FROM trip WHERE duration  <  100",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "start_station_name",
            "FROM",
            "trip",
            "WHERE",
            "duration",
            "<",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "start_station_name",
            "from",
            "trip",
            "where",
            "duration",
            "<",
            "value"
        ],
        "question": "What are all the different start station names for a trip that lasted less than 100?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "different",
            "start",
            "station",
            "names",
            "for",
            "a",
            "trip",
            "that",
            "lasted",
            "less",
            "than",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE max_dew_point_f  >=  70",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "zip_code",
            "FROM",
            "weather",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "zip_code",
            "FROM",
            "weather",
            "WHERE",
            "max_dew_point_f",
            ">",
            "=",
            "70"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "zip_code",
            "from",
            "weather",
            "except",
            "select",
            "distinct",
            "zip_code",
            "from",
            "weather",
            "where",
            "max_dew_point_f",
            ">",
            "=",
            "value"
        ],
        "question": "Find all the zip codes in which the max dew point have never reached 70.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "zip",
            "codes",
            "in",
            "which",
            "the",
            "max",
            "dew",
            "point",
            "have",
            "never",
            "reached",
            "70",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    46,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        70.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE max_dew_point_f  >=  70",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "zip_code",
            "FROM",
            "weather",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "zip_code",
            "FROM",
            "weather",
            "WHERE",
            "max_dew_point_f",
            ">",
            "=",
            "70"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "zip_code",
            "from",
            "weather",
            "except",
            "select",
            "distinct",
            "zip_code",
            "from",
            "weather",
            "where",
            "max_dew_point_f",
            ">",
            "=",
            "value"
        ],
        "question": "What are all the different zip codes that have a maximum dew point that was always below 70?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "different",
            "zip",
            "codes",
            "that",
            "have",
            "a",
            "maximum",
            "dew",
            "point",
            "that",
            "was",
            "always",
            "below",
            "70",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    46,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        70.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id FROM trip WHERE duration  >=  (SELECT avg(duration) FROM trip WHERE zip_code  =  94103)",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "trip",
            "WHERE",
            "duration",
            ">",
            "=",
            "(",
            "SELECT",
            "avg",
            "(",
            "duration",
            ")",
            "FROM",
            "trip",
            "WHERE",
            "zip_code",
            "=",
            "94103",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "trip",
            "where",
            "duration",
            ">",
            "=",
            "(",
            "select",
            "avg",
            "(",
            "duration",
            ")",
            "from",
            "trip",
            "where",
            "zip_code",
            "=",
            "value",
            ")"
        ],
        "question": "Find the id for the trips that lasted at least as long as the average duration of trips in zip code 94103.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "for",
            "the",
            "trips",
            "that",
            "lasted",
            "at",
            "least",
            "as",
            "long",
            "as",
            "the",
            "average",
            "duration",
            "of",
            "trips",
            "in",
            "zip",
            "code",
            "94103",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        22,
                                        false
                                    ],
                                    null
                                ],
                                94103.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT id FROM trip WHERE duration  >=  (SELECT avg(duration) FROM trip WHERE zip_code  =  94103)",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "trip",
            "WHERE",
            "duration",
            ">",
            "=",
            "(",
            "SELECT",
            "avg",
            "(",
            "duration",
            ")",
            "FROM",
            "trip",
            "WHERE",
            "zip_code",
            "=",
            "94103",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "trip",
            "where",
            "duration",
            ">",
            "=",
            "(",
            "select",
            "avg",
            "(",
            "duration",
            ")",
            "from",
            "trip",
            "where",
            "zip_code",
            "=",
            "value",
            ")"
        ],
        "question": "What are the ids of all trips that had a duration as long as the average trip duration in the zip code 94103?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "trips",
            "that",
            "had",
            "a",
            "duration",
            "as",
            "long",
            "as",
            "the",
            "average",
            "trip",
            "duration",
            "in",
            "the",
            "zip",
            "code",
            "94103",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        22,
                                        false
                                    ],
                                    null
                                ],
                                94103.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31",
        "query_toks": [
            "SELECT",
            "date",
            "FROM",
            "weather",
            "WHERE",
            "mean_sea_level_pressure_inches",
            "BETWEEN",
            "30.3",
            "AND",
            "31"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "weather",
            "where",
            "mean_sea_level_pressure_inches",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the dates in which the mean sea level pressure was between 30.3 and 31?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "in",
            "which",
            "the",
            "mean",
            "sea",
            "level",
            "pressure",
            "was",
            "between",
            "30.3",
            "and",
            "31",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    30.3,
                    31.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31",
        "query_toks": [
            "SELECT",
            "date",
            "FROM",
            "weather",
            "WHERE",
            "mean_sea_level_pressure_inches",
            "BETWEEN",
            "30.3",
            "AND",
            "31"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "weather",
            "where",
            "mean_sea_level_pressure_inches",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the dates that have an average sea level pressure between 30.3 and 31?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "that",
            "have",
            "an",
            "average",
            "sea",
            "level",
            "pressure",
            "between",
            "30.3",
            "and",
            "31",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    30.3,
                    31.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  max_temperature_f - min_temperature_f FROM weather ORDER BY max_temperature_f - min_temperature_f LIMIT 1",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "max_temperature_f",
            "-",
            "min_temperature_f",
            "FROM",
            "weather",
            "ORDER",
            "BY",
            "max_temperature_f",
            "-",
            "min_temperature_f",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "max_temperature_f",
            "-",
            "min_temperature_f",
            "from",
            "weather",
            "order",
            "by",
            "max_temperature_f",
            "-",
            "min_temperature_f",
            "limit",
            "value"
        ],
        "question": "Find the day in which the difference between the max temperature and min temperature was the smallest. Also report the difference.",
        "question_toks": [
            "Find",
            "the",
            "day",
            "in",
            "which",
            "the",
            "difference",
            "between",
            "the",
            "max",
            "temperature",
            "and",
            "min",
            "temperature",
            "was",
            "the",
            "smallest",
            ".",
            "Also",
            "report",
            "the",
            "difference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            1,
                            [
                                0,
                                24,
                                false
                            ],
                            [
                                0,
                                26,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        1,
                        [
                            0,
                            24,
                            false
                        ],
                        [
                            0,
                            26,
                            false
                        ]
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT date ,  max_temperature_f - min_temperature_f FROM weather ORDER BY max_temperature_f - min_temperature_f LIMIT 1",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "max_temperature_f",
            "-",
            "min_temperature_f",
            "FROM",
            "weather",
            "ORDER",
            "BY",
            "max_temperature_f",
            "-",
            "min_temperature_f",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "max_temperature_f",
            "-",
            "min_temperature_f",
            "from",
            "weather",
            "order",
            "by",
            "max_temperature_f",
            "-",
            "min_temperature_f",
            "limit",
            "value"
        ],
        "question": "What are the days that had the smallest temperature range, and what was that range?",
        "question_toks": [
            "What",
            "are",
            "the",
            "days",
            "that",
            "had",
            "the",
            "smallest",
            "temperature",
            "range",
            ",",
            "and",
            "what",
            "was",
            "that",
            "range",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            1,
                            [
                                0,
                                24,
                                false
                            ],
                            [
                                0,
                                26,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        1,
                        [
                            0,
                            24,
                            false
                        ],
                        [
                            0,
                            26,
                            false
                        ]
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT DISTINCT T1.id ,  T1.name FROM station AS T1 JOIN status AS T2 ON T1.id  =  T2.station_id WHERE T2.bikes_available  >  12",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "status",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.station_id",
            "WHERE",
            "T2.bikes_available",
            ">",
            "12"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "where",
            "t2",
            ".",
            "bikes_available",
            ">",
            "value"
        ],
        "question": "What are the id and name of the stations that have ever had more than 12 bikes available?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "stations",
            "that",
            "have",
            "ever",
            "had",
            "more",
            "than",
            "12",
            "bikes",
            "available",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    12.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT DISTINCT T1.id ,  T1.name FROM station AS T1 JOIN status AS T2 ON T1.id  =  T2.station_id WHERE T2.bikes_available  >  12",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "status",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.station_id",
            "WHERE",
            "T2.bikes_available",
            ">",
            "12"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "where",
            "t2",
            ".",
            "bikes_available",
            ">",
            "value"
        ],
        "question": "What are the different ids and names of the stations that have had more than 12 bikes available?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "ids",
            "and",
            "names",
            "of",
            "the",
            "stations",
            "that",
            "have",
            "had",
            "more",
            "than",
            "12",
            "bikes",
            "available",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    12.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_humidity)  <  70 INTERSECT SELECT zip_code FROM trip GROUP BY zip_code HAVING count(*)  >=  100",
        "query_toks": [
            "SELECT",
            "zip_code",
            "FROM",
            "weather",
            "GROUP",
            "BY",
            "zip_code",
            "HAVING",
            "avg",
            "(",
            "mean_humidity",
            ")",
            "<",
            "70",
            "INTERSECT",
            "SELECT",
            "zip_code",
            "FROM",
            "trip",
            "GROUP",
            "BY",
            "zip_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            "from",
            "weather",
            "group",
            "by",
            "zip_code",
            "having",
            "avg",
            "(",
            "mean_humidity",
            ")",
            "<",
            "value",
            "intersect",
            "select",
            "zip_code",
            "from",
            "trip",
            "group",
            "by",
            "zip_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Give me the zip code where the average mean humidity is below 70 and at least 100 trips took place.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "zip",
            "code",
            "where",
            "the",
            "average",
            "mean",
            "humidity",
            "is",
            "below",
            "70",
            "and",
            "at",
            "least",
            "100",
            "trips",
            "took",
            "place",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            31,
                            false
                        ],
                        null
                    ],
                    70.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        22,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        100.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_humidity)  <  70 INTERSECT SELECT zip_code FROM trip GROUP BY zip_code HAVING count(*)  >=  100",
        "query_toks": [
            "SELECT",
            "zip_code",
            "FROM",
            "weather",
            "GROUP",
            "BY",
            "zip_code",
            "HAVING",
            "avg",
            "(",
            "mean_humidity",
            ")",
            "<",
            "70",
            "INTERSECT",
            "SELECT",
            "zip_code",
            "FROM",
            "trip",
            "GROUP",
            "BY",
            "zip_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            "from",
            "weather",
            "group",
            "by",
            "zip_code",
            "having",
            "avg",
            "(",
            "mean_humidity",
            ")",
            "<",
            "value",
            "intersect",
            "select",
            "zip_code",
            "from",
            "trip",
            "group",
            "by",
            "zip_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the zip codes that have an average mean humidity below 70 and had at least 100 trips come through there?",
        "question_toks": [
            "What",
            "are",
            "the",
            "zip",
            "codes",
            "that",
            "have",
            "an",
            "average",
            "mean",
            "humidity",
            "below",
            "70",
            "and",
            "had",
            "at",
            "least",
            "100",
            "trips",
            "come",
            "through",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            31,
                            false
                        ],
                        null
                    ],
                    70.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        22,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        100.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT name FROM station WHERE city  =  \"Palo Alto\" EXCEPT SELECT end_station_name FROM trip GROUP BY end_station_name HAVING count(*)  >  100",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "Palo",
            "Alto",
            "''",
            "EXCEPT",
            "SELECT",
            "end_station_name",
            "FROM",
            "trip",
            "GROUP",
            "BY",
            "end_station_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value",
            "except",
            "select",
            "end_station_name",
            "from",
            "trip",
            "group",
            "by",
            "end_station_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of stations that are located in Palo Alto city but have never been the ending point of trips more than 100 times?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "stations",
            "that",
            "are",
            "located",
            "in",
            "Palo",
            "Alto",
            "city",
            "but",
            "have",
            "never",
            "been",
            "the",
            "ending",
            "point",
            "of",
            "trips",
            "more",
            "than",
            "100",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Palo Alto\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        18,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        100.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT name FROM station WHERE city  =  \"Palo Alto\" EXCEPT SELECT end_station_name FROM trip GROUP BY end_station_name HAVING count(*)  >  100",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "station",
            "WHERE",
            "city",
            "=",
            "``",
            "Palo",
            "Alto",
            "''",
            "EXCEPT",
            "SELECT",
            "end_station_name",
            "FROM",
            "trip",
            "GROUP",
            "BY",
            "end_station_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "station",
            "where",
            "city",
            "=",
            "value",
            "except",
            "select",
            "end_station_name",
            "from",
            "trip",
            "group",
            "by",
            "end_station_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of the stations that are located in Palo Alto but have never been the ending point of the trips",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "stations",
            "that",
            "are",
            "located",
            "in",
            "Palo",
            "Alto",
            "but",
            "have",
            "never",
            "been",
            "the",
            "ending",
            "point",
            "of",
            "the",
            "trips"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Palo Alto\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        18,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        100.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT count(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id  =  T2.start_station_id AND T2.id  =  T4.id AND T3.id  =  T4.end_station_id WHERE T1.city  =  \"Mountain View\" AND T3.city  =  \"Palo Alto\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "JOIN",
            "station",
            "AS",
            "T3",
            "JOIN",
            "trip",
            "AS",
            "T4",
            "ON",
            "T1.id",
            "=",
            "T2.start_station_id",
            "AND",
            "T2.id",
            "=",
            "T4.id",
            "AND",
            "T3.id",
            "=",
            "T4.end_station_id",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Mountain",
            "View",
            "''",
            "AND",
            "T3.city",
            "=",
            "``",
            "Palo",
            "Alto",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "join",
            "station",
            "as",
            "t3",
            "join",
            "trip",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "start_station_id",
            "and",
            "t2",
            ".",
            "id",
            "=",
            "t4",
            ".",
            "id",
            "and",
            "t3",
            ".",
            "id",
            "=",
            "t4",
            ".",
            "end_station_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many trips started from Mountain View city and ended at Palo Alto city?",
        "question_toks": [
            "How",
            "many",
            "trips",
            "started",
            "from",
            "Mountain",
            "View",
            "city",
            "and",
            "ended",
            "at",
            "Palo",
            "Alto",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Mountain View\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Palo Alto\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT count(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id  =  T2.start_station_id AND T2.id  =  T4.id AND T3.id  =  T4.end_station_id WHERE T1.city  =  \"Mountain View\" AND T3.city  =  \"Palo Alto\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "JOIN",
            "station",
            "AS",
            "T3",
            "JOIN",
            "trip",
            "AS",
            "T4",
            "ON",
            "T1.id",
            "=",
            "T2.start_station_id",
            "AND",
            "T2.id",
            "=",
            "T4.id",
            "AND",
            "T3.id",
            "=",
            "T4.end_station_id",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Mountain",
            "View",
            "''",
            "AND",
            "T3.city",
            "=",
            "``",
            "Palo",
            "Alto",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "join",
            "station",
            "as",
            "t3",
            "join",
            "trip",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "start_station_id",
            "and",
            "t2",
            ".",
            "id",
            "=",
            "t4",
            ".",
            "id",
            "and",
            "t3",
            ".",
            "id",
            "=",
            "t4",
            ".",
            "end_station_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many trips stated from  a station in Mountain View and ended at one in Palo Alto?",
        "question_toks": [
            "How",
            "many",
            "trips",
            "stated",
            "from",
            "a",
            "station",
            "in",
            "Mountain",
            "View",
            "and",
            "ended",
            "at",
            "one",
            "in",
            "Palo",
            "Alto",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Mountain View\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Palo Alto\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT avg(T1.lat) ,  avg(T1.long) FROM station AS T1 JOIN trip AS T2 ON T1.id  =  T2.start_station_id",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.lat",
            ")",
            ",",
            "avg",
            "(",
            "T1.long",
            ")",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.start_station_id"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "lat",
            ")",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "long",
            ")",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "start_station_id"
        ],
        "question": "What is the average latitude and longitude of the starting points of all trips?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "latitude",
            "and",
            "longitude",
            "of",
            "the",
            "starting",
            "points",
            "of",
            "all",
            "trips",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "bike_1",
        "query": "SELECT avg(T1.lat) ,  avg(T1.long) FROM station AS T1 JOIN trip AS T2 ON T1.id  =  T2.start_station_id",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.lat",
            ")",
            ",",
            "avg",
            "(",
            "T1.long",
            ")",
            "FROM",
            "station",
            "AS",
            "T1",
            "JOIN",
            "trip",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.start_station_id"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "lat",
            ")",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "long",
            ")",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "trip",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "start_station_id"
        ],
        "question": "What is the average latitude and longitude of all starting stations for the trips?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "latitude",
            "and",
            "longitude",
            "of",
            "all",
            "starting",
            "stations",
            "for",
            "the",
            "trips",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT count(*) FROM book",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "book"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "book"
        ],
        "question": "How many books are there?",
        "question_toks": [
            "How",
            "many",
            "books",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Writer FROM book ORDER BY Writer ASC",
        "query_toks": [
            "SELECT",
            "Writer",
            "FROM",
            "book",
            "ORDER",
            "BY",
            "Writer",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "writer",
            "from",
            "book",
            "order",
            "by",
            "writer",
            "asc"
        ],
        "question": "List the writers of the books in ascending alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "writers",
            "of",
            "the",
            "books",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Title FROM book ORDER BY Issues ASC",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "book",
            "ORDER",
            "BY",
            "Issues",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "book",
            "order",
            "by",
            "issues",
            "asc"
        ],
        "question": "List the titles of the books in ascending order of issues.",
        "question_toks": [
            "List",
            "the",
            "titles",
            "of",
            "the",
            "books",
            "in",
            "ascending",
            "order",
            "of",
            "issues",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Title FROM book WHERE Writer != \"Elaine Lee\"",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "book",
            "WHERE",
            "Writer",
            "!",
            "=",
            "``",
            "Elaine",
            "Lee",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "book",
            "where",
            "writer",
            "!",
            "=",
            "value"
        ],
        "question": "What are the titles of the books whose writer is not \"Elaine Lee\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "the",
            "books",
            "whose",
            "writer",
            "is",
            "not",
            "``",
            "Elaine",
            "Lee",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Elaine Lee\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Title ,  Issues FROM book",
        "query_toks": [
            "SELECT",
            "Title",
            ",",
            "Issues",
            "FROM",
            "book"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "issues",
            "from",
            "book"
        ],
        "question": "What are the title and issues of the books?",
        "question_toks": [
            "What",
            "are",
            "the",
            "title",
            "and",
            "issues",
            "of",
            "the",
            "books",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Publication_Date FROM publication ORDER BY Price DESC",
        "query_toks": [
            "SELECT",
            "Publication_Date",
            "FROM",
            "publication",
            "ORDER",
            "BY",
            "Price",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "publication_date",
            "from",
            "publication",
            "order",
            "by",
            "price",
            "desc"
        ],
        "question": "What are the dates of publications in descending order of price?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "of",
            "publications",
            "in",
            "descending",
            "order",
            "of",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT DISTINCT Publisher FROM publication WHERE Price  >  5000000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Publisher",
            "FROM",
            "publication",
            "WHERE",
            "Price",
            ">",
            "5000000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "publisher",
            "from",
            "publication",
            "where",
            "price",
            ">",
            "value"
        ],
        "question": "What are the distinct publishers of publications with price higher than 5000000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "publishers",
            "of",
            "publications",
            "with",
            "price",
            "higher",
            "than",
            "5000000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    5000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Publisher FROM publication ORDER BY Price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Publisher",
            "FROM",
            "publication",
            "ORDER",
            "BY",
            "Price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "publication",
            "order",
            "by",
            "price",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the publisher of the publication with the highest price.",
        "question_toks": [
            "List",
            "the",
            "publisher",
            "of",
            "the",
            "publication",
            "with",
            "the",
            "highest",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Publication_Date FROM publication ORDER BY Price ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "Publication_Date",
            "FROM",
            "publication",
            "ORDER",
            "BY",
            "Price",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "publication_date",
            "from",
            "publication",
            "order",
            "by",
            "price",
            "asc",
            "limit",
            "value"
        ],
        "question": "List the publication dates of publications with 3 lowest prices.",
        "question_toks": [
            "List",
            "the",
            "publication",
            "dates",
            "of",
            "publications",
            "with",
            "3",
            "lowest",
            "prices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT T1.Title ,  T2.Publication_Date FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID  =  T2.Book_ID",
        "query_toks": [
            "SELECT",
            "T1.Title",
            ",",
            "T2.Publication_Date",
            "FROM",
            "book",
            "AS",
            "T1",
            "JOIN",
            "publication",
            "AS",
            "T2",
            "ON",
            "T1.Book_ID",
            "=",
            "T2.Book_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "publication_date",
            "from",
            "book",
            "as",
            "t1",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "book_id",
            "=",
            "t2",
            ".",
            "book_id"
        ],
        "question": "Show the title and publication dates of books.",
        "question_toks": [
            "Show",
            "the",
            "title",
            "and",
            "publication",
            "dates",
            "of",
            "books",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT T1.Writer FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID  =  T2.Book_ID WHERE T2.Price  >  4000000",
        "query_toks": [
            "SELECT",
            "T1.Writer",
            "FROM",
            "book",
            "AS",
            "T1",
            "JOIN",
            "publication",
            "AS",
            "T2",
            "ON",
            "T1.Book_ID",
            "=",
            "T2.Book_ID",
            "WHERE",
            "T2.Price",
            ">",
            "4000000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "writer",
            "from",
            "book",
            "as",
            "t1",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "book_id",
            "=",
            "t2",
            ".",
            "book_id",
            "where",
            "t2",
            ".",
            "price",
            ">",
            "value"
        ],
        "question": "Show writers who have published a book with price more than 4000000.",
        "question_toks": [
            "Show",
            "writers",
            "who",
            "have",
            "published",
            "a",
            "book",
            "with",
            "price",
            "more",
            "than",
            "4000000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    4000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT T1.Title FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID  =  T2.Book_ID ORDER BY T2.Price DESC",
        "query_toks": [
            "SELECT",
            "T1.Title",
            "FROM",
            "book",
            "AS",
            "T1",
            "JOIN",
            "publication",
            "AS",
            "T2",
            "ON",
            "T1.Book_ID",
            "=",
            "T2.Book_ID",
            "ORDER",
            "BY",
            "T2.Price",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "book",
            "as",
            "t1",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "book_id",
            "=",
            "t2",
            ".",
            "book_id",
            "order",
            "by",
            "t2",
            ".",
            "price",
            "desc"
        ],
        "question": "Show the titles of books in descending order of publication price.",
        "question_toks": [
            "Show",
            "the",
            "titles",
            "of",
            "books",
            "in",
            "descending",
            "order",
            "of",
            "publication",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Publisher FROM publication GROUP BY Publisher HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "Publisher",
            "FROM",
            "publication",
            "GROUP",
            "BY",
            "Publisher",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "publication",
            "group",
            "by",
            "publisher",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show publishers that have more than one publication.",
        "question_toks": [
            "Show",
            "publishers",
            "that",
            "have",
            "more",
            "than",
            "one",
            "publication",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Publisher ,  COUNT(*) FROM publication GROUP BY Publisher",
        "query_toks": [
            "SELECT",
            "Publisher",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "publication",
            "GROUP",
            "BY",
            "Publisher"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "publication",
            "group",
            "by",
            "publisher"
        ],
        "question": "Show different publishers together with the number of publications they have.",
        "question_toks": [
            "Show",
            "different",
            "publishers",
            "together",
            "with",
            "the",
            "number",
            "of",
            "publications",
            "they",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Publication_Date FROM publication GROUP BY Publication_Date ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Publication_Date",
            "FROM",
            "publication",
            "GROUP",
            "BY",
            "Publication_Date",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "publication_date",
            "from",
            "publication",
            "group",
            "by",
            "publication_date",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the most common publication date.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "most",
            "common",
            "publication",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Writer FROM book GROUP BY Writer HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "Writer",
            "FROM",
            "book",
            "GROUP",
            "BY",
            "Writer",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "writer",
            "from",
            "book",
            "group",
            "by",
            "writer",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the writers who have written more than one book.",
        "question_toks": [
            "List",
            "the",
            "writers",
            "who",
            "have",
            "written",
            "more",
            "than",
            "one",
            "book",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Title FROM book WHERE Book_ID NOT IN (SELECT Book_ID FROM publication)",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "book",
            "WHERE",
            "Book_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Book_ID",
            "FROM",
            "publication",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "book",
            "where",
            "book_id",
            "not",
            "in",
            "(",
            "select",
            "book_id",
            "from",
            "publication",
            ")"
        ],
        "question": "List the titles of books that are not published.",
        "question_toks": [
            "List",
            "the",
            "titles",
            "of",
            "books",
            "that",
            "are",
            "not",
            "published",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Publisher FROM publication WHERE Price  >  10000000 INTERSECT SELECT Publisher FROM publication WHERE Price  <  5000000",
        "query_toks": [
            "SELECT",
            "Publisher",
            "FROM",
            "publication",
            "WHERE",
            "Price",
            ">",
            "10000000",
            "INTERSECT",
            "SELECT",
            "Publisher",
            "FROM",
            "publication",
            "WHERE",
            "Price",
            "<",
            "5000000"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "publication",
            "where",
            "price",
            ">",
            "value",
            "intersect",
            "select",
            "publisher",
            "from",
            "publication",
            "where",
            "price",
            "<",
            "value"
        ],
        "question": "Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000.",
        "question_toks": [
            "Show",
            "the",
            "publishers",
            "that",
            "have",
            "publications",
            "with",
            "price",
            "higher",
            "than",
            "10000000",
            "and",
            "publications",
            "with",
            "price",
            "lower",
            "than",
            "5000000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    10000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        5000000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT COUNT (DISTINCT Publication_Date) FROM publication",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Publication_Date",
            ")",
            "FROM",
            "publication"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "publication_date",
            ")",
            "from",
            "publication"
        ],
        "question": "What is the number of distinct publication dates?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "distinct",
            "publication",
            "dates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT COUNT (DISTINCT Publication_Date) FROM publication",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Publication_Date",
            ")",
            "FROM",
            "publication"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "publication_date",
            ")",
            "from",
            "publication"
        ],
        "question": "How many distinct publication dates are there in our record?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "publication",
            "dates",
            "are",
            "there",
            "in",
            "our",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "book_2",
        "query": "SELECT Price FROM publication WHERE Publisher  =  \"Person\" OR Publisher  =  \"Wiley\"",
        "query_toks": [
            "SELECT",
            "Price",
            "FROM",
            "publication",
            "WHERE",
            "Publisher",
            "=",
            "``",
            "Person",
            "''",
            "OR",
            "Publisher",
            "=",
            "``",
            "Wiley",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "price",
            "from",
            "publication",
            "where",
            "publisher",
            "=",
            "value",
            "or",
            "publisher",
            "=",
            "value"
        ],
        "question": "Show the prices of publications whose publisher is either \"Person\" or \"Wiley\"",
        "question_toks": [
            "Show",
            "the",
            "prices",
            "of",
            "publications",
            "whose",
            "publisher",
            "is",
            "either",
            "``",
            "Person",
            "''",
            "or",
            "``",
            "Wiley",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Person\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Wiley\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT count(*) FROM actor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "actor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "actor"
        ],
        "question": "How many actors are there?",
        "question_toks": [
            "How",
            "many",
            "actors",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT count(*) FROM actor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "actor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "actor"
        ],
        "question": "Count the number of actors.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "actors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Name FROM actor ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "actor",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "List the name of actors in ascending alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "actors",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Name FROM actor ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "actor",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "What are the names of actors, ordered alphabetically?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "actors",
            ",",
            "ordered",
            "alphabetically",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Character ,  Duration FROM actor",
        "query_toks": [
            "SELECT",
            "Character",
            ",",
            "Duration",
            "FROM",
            "actor"
        ],
        "query_toks_no_value": [
            "select",
            "character",
            ",",
            "duration",
            "from",
            "actor"
        ],
        "question": "What are the characters and duration of actors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "characters",
            "and",
            "duration",
            "of",
            "actors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Character ,  Duration FROM actor",
        "query_toks": [
            "SELECT",
            "Character",
            ",",
            "Duration",
            "FROM",
            "actor"
        ],
        "query_toks_no_value": [
            "select",
            "character",
            ",",
            "duration",
            "from",
            "actor"
        ],
        "question": "Return the characters and durations for each actor.",
        "question_toks": [
            "Return",
            "the",
            "characters",
            "and",
            "durations",
            "for",
            "each",
            "actor",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Name FROM actor WHERE Age != 20",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "actor",
            "WHERE",
            "Age",
            "!",
            "=",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "age",
            "!",
            "=",
            "value"
        ],
        "question": "List the name of actors whose age is not 20.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "actors",
            "whose",
            "age",
            "is",
            "not",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Name FROM actor WHERE Age != 20",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "actor",
            "WHERE",
            "Age",
            "!",
            "=",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "age",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of actors who are not 20 years old?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "actors",
            "who",
            "are",
            "not",
            "20",
            "years",
            "old",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Character FROM actor ORDER BY age DESC",
        "query_toks": [
            "SELECT",
            "Character",
            "FROM",
            "actor",
            "ORDER",
            "BY",
            "age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "character",
            "from",
            "actor",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "What are the characters of actors in descending order of age?",
        "question_toks": [
            "What",
            "are",
            "the",
            "characters",
            "of",
            "actors",
            "in",
            "descending",
            "order",
            "of",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Character FROM actor ORDER BY age DESC",
        "query_toks": [
            "SELECT",
            "Character",
            "FROM",
            "actor",
            "ORDER",
            "BY",
            "age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "character",
            "from",
            "actor",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "Return the characters for actors, ordered by age descending.",
        "question_toks": [
            "Return",
            "the",
            "characters",
            "for",
            "actors",
            ",",
            "ordered",
            "by",
            "age",
            "descending",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Duration FROM actor ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Duration",
            "FROM",
            "actor",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "duration",
            "from",
            "actor",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the duration of the oldest actor?",
        "question_toks": [
            "What",
            "is",
            "the",
            "duration",
            "of",
            "the",
            "oldest",
            "actor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Duration FROM actor ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Duration",
            "FROM",
            "actor",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "duration",
            "from",
            "actor",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the duration of the actor with the greatest age.",
        "question_toks": [
            "Return",
            "the",
            "duration",
            "of",
            "the",
            "actor",
            "with",
            "the",
            "greatest",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Name FROM musical WHERE Nominee  =  \"Bob Fosse\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "musical",
            "WHERE",
            "Nominee",
            "=",
            "``",
            "Bob",
            "Fosse",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "musical",
            "where",
            "nominee",
            "=",
            "value"
        ],
        "question": "What are the names of musicals with nominee \"Bob Fosse\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "musicals",
            "with",
            "nominee",
            "``",
            "Bob",
            "Fosse",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Bob Fosse\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Name FROM musical WHERE Nominee  =  \"Bob Fosse\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "musical",
            "WHERE",
            "Nominee",
            "=",
            "``",
            "Bob",
            "Fosse",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "musical",
            "where",
            "nominee",
            "=",
            "value"
        ],
        "question": "Return the names of musicals who have the nominee Bob Fosse.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "musicals",
            "who",
            "have",
            "the",
            "nominee",
            "Bob",
            "Fosse",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Bob Fosse\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT DISTINCT Nominee FROM musical WHERE Award != \"Tony Award\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Nominee",
            "FROM",
            "musical",
            "WHERE",
            "Award",
            "!",
            "=",
            "``",
            "Tony",
            "Award",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "nominee",
            "from",
            "musical",
            "where",
            "award",
            "!",
            "=",
            "value"
        ],
        "question": "What are the distinct nominees of the musicals with the award that is not \"Tony Award\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "nominees",
            "of",
            "the",
            "musicals",
            "with",
            "the",
            "award",
            "that",
            "is",
            "not",
            "``",
            "Tony",
            "Award",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Tony Award\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT DISTINCT Nominee FROM musical WHERE Award != \"Tony Award\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Nominee",
            "FROM",
            "musical",
            "WHERE",
            "Award",
            "!",
            "=",
            "``",
            "Tony",
            "Award",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "nominee",
            "from",
            "musical",
            "where",
            "award",
            "!",
            "=",
            "value"
        ],
        "question": "Return the different nominees of musicals that have an award that is not the Tony Award.",
        "question_toks": [
            "Return",
            "the",
            "different",
            "nominees",
            "of",
            "musicals",
            "that",
            "have",
            "an",
            "award",
            "that",
            "is",
            "not",
            "the",
            "Tony",
            "Award",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Tony Award\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T1.Name ,  T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Name",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id"
        ],
        "question": "Show names of actors and names of musicals they are in.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "actors",
            "and",
            "names",
            "of",
            "musicals",
            "they",
            "are",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T1.Name ,  T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Name",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id"
        ],
        "question": "What are the names of actors and the musicals that they are in?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "actors",
            "and",
            "the",
            "musicals",
            "that",
            "they",
            "are",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID WHERE T2.Name  =  \"The Phantom of the Opera\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "The",
            "Phantom",
            "of",
            "the",
            "Opera",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show names of actors that have appeared in musical with name \"The Phantom of the Opera\".",
        "question_toks": [
            "Show",
            "names",
            "of",
            "actors",
            "that",
            "have",
            "appeared",
            "in",
            "musical",
            "with",
            "name",
            "``",
            "The",
            "Phantom",
            "of",
            "the",
            "Opera",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"The Phantom of the Opera\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID WHERE T2.Name  =  \"The Phantom of the Opera\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "The",
            "Phantom",
            "of",
            "the",
            "Opera",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of actors who have been in the musical titled The Phantom of the Opera?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "actors",
            "who",
            "have",
            "been",
            "in",
            "the",
            "musical",
            "titled",
            "The",
            "Phantom",
            "of",
            "the",
            "Opera",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"The Phantom of the Opera\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID ORDER BY T2.Year DESC",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID",
            "ORDER",
            "BY",
            "T2.Year",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id",
            "order",
            "by",
            "t2",
            ".",
            "year",
            "desc"
        ],
        "question": "Show names of actors in descending order of the year their musical is awarded.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "actors",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "year",
            "their",
            "musical",
            "is",
            "awarded",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID ORDER BY T2.Year DESC",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID",
            "ORDER",
            "BY",
            "T2.Year",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id",
            "order",
            "by",
            "t2",
            ".",
            "year",
            "desc"
        ],
        "question": "What are the names of actors ordered descending by the year in which their musical was awarded?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "actors",
            "ordered",
            "descending",
            "by",
            "the",
            "year",
            "in",
            "which",
            "their",
            "musical",
            "was",
            "awarded",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T2.Name ,  COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID",
            "GROUP",
            "BY",
            "T1.Musical_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id",
            "group",
            "by",
            "t1",
            ".",
            "musical_id"
        ],
        "question": "Show names of musicals and the number of actors who have appeared in the musicals.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "musicals",
            "and",
            "the",
            "number",
            "of",
            "actors",
            "who",
            "have",
            "appeared",
            "in",
            "the",
            "musicals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T2.Name ,  COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID",
            "GROUP",
            "BY",
            "T1.Musical_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id",
            "group",
            "by",
            "t1",
            ".",
            "musical_id"
        ],
        "question": "How many actors have appeared in each musical?",
        "question_toks": [
            "How",
            "many",
            "actors",
            "have",
            "appeared",
            "in",
            "each",
            "musical",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID",
            "GROUP",
            "BY",
            "T1.Musical_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id",
            "group",
            "by",
            "t1",
            ".",
            "musical_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show names of musicals which have at least three actors.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "musicals",
            "which",
            "have",
            "at",
            "least",
            "three",
            "actors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "actor",
            "AS",
            "T1",
            "JOIN",
            "musical",
            "AS",
            "T2",
            "ON",
            "T1.Musical_ID",
            "=",
            "T2.Musical_ID",
            "GROUP",
            "BY",
            "T1.Musical_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "actor",
            "as",
            "t1",
            "join",
            "musical",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "musical_id",
            "=",
            "t2",
            ".",
            "musical_id",
            "group",
            "by",
            "t1",
            ".",
            "musical_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of musicals who have at 3 or more actors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "musicals",
            "who",
            "have",
            "at",
            "3",
            "or",
            "more",
            "actors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee ,  COUNT(*) FROM musical GROUP BY Nominee",
        "query_toks": [
            "SELECT",
            "Nominee",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "musical",
            "GROUP",
            "BY",
            "Nominee"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "musical",
            "group",
            "by",
            "nominee"
        ],
        "question": "Show different nominees and the number of musicals they have been nominated.",
        "question_toks": [
            "Show",
            "different",
            "nominees",
            "and",
            "the",
            "number",
            "of",
            "musicals",
            "they",
            "have",
            "been",
            "nominated",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee ,  COUNT(*) FROM musical GROUP BY Nominee",
        "query_toks": [
            "SELECT",
            "Nominee",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "musical",
            "GROUP",
            "BY",
            "Nominee"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "musical",
            "group",
            "by",
            "nominee"
        ],
        "question": "How many musicals has each nominee been nominated for?",
        "question_toks": [
            "How",
            "many",
            "musicals",
            "has",
            "each",
            "nominee",
            "been",
            "nominated",
            "for",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "GROUP",
            "BY",
            "Nominee",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            "from",
            "musical",
            "group",
            "by",
            "nominee",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the nominee who has been nominated the greatest number of times.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "nominee",
            "who",
            "has",
            "been",
            "nominated",
            "the",
            "greatest",
            "number",
            "of",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "GROUP",
            "BY",
            "Nominee",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            "from",
            "musical",
            "group",
            "by",
            "nominee",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Who is the nominee who has been nominated for the most musicals?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "nominee",
            "who",
            "has",
            "been",
            "nominated",
            "for",
            "the",
            "most",
            "musicals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "RESULT",
            "FROM",
            "musical",
            "GROUP",
            "BY",
            "RESULT",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "result",
            "from",
            "musical",
            "group",
            "by",
            "result",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the most common result of the musicals.",
        "question_toks": [
            "List",
            "the",
            "most",
            "common",
            "result",
            "of",
            "the",
            "musicals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "RESULT",
            "FROM",
            "musical",
            "GROUP",
            "BY",
            "RESULT",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "result",
            "from",
            "musical",
            "group",
            "by",
            "result",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the most frequent result across all musicals.",
        "question_toks": [
            "Return",
            "the",
            "most",
            "frequent",
            "result",
            "across",
            "all",
            "musicals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee FROM musical GROUP BY Nominee HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "GROUP",
            "BY",
            "Nominee",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            "from",
            "musical",
            "group",
            "by",
            "nominee",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the nominees that have been nominated more than two musicals.",
        "question_toks": [
            "List",
            "the",
            "nominees",
            "that",
            "have",
            "been",
            "nominated",
            "more",
            "than",
            "two",
            "musicals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee FROM musical GROUP BY Nominee HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "GROUP",
            "BY",
            "Nominee",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            "from",
            "musical",
            "group",
            "by",
            "nominee",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Who are the nominees who have been nominated more than two times?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "nominees",
            "who",
            "have",
            "been",
            "nominated",
            "more",
            "than",
            "two",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Name FROM musical WHERE Musical_ID NOT IN (SELECT Musical_ID FROM actor)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "musical",
            "WHERE",
            "Musical_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Musical_ID",
            "FROM",
            "actor",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "musical",
            "where",
            "musical_id",
            "not",
            "in",
            "(",
            "select",
            "musical_id",
            "from",
            "actor",
            ")"
        ],
        "question": "List the name of musicals that do not have actors.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "musicals",
            "that",
            "do",
            "not",
            "have",
            "actors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Name FROM musical WHERE Musical_ID NOT IN (SELECT Musical_ID FROM actor)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "musical",
            "WHERE",
            "Musical_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Musical_ID",
            "FROM",
            "actor",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "musical",
            "where",
            "musical_id",
            "not",
            "in",
            "(",
            "select",
            "musical_id",
            "from",
            "actor",
            ")"
        ],
        "question": "What are the names of musicals who have no actors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "musicals",
            "who",
            "have",
            "no",
            "actors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee FROM musical WHERE Award  =  \"Tony Award\" INTERSECT SELECT Nominee FROM musical WHERE Award  =  \"Drama Desk Award\"",
        "query_toks": [
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "WHERE",
            "Award",
            "=",
            "``",
            "Tony",
            "Award",
            "''",
            "INTERSECT",
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "WHERE",
            "Award",
            "=",
            "``",
            "Drama",
            "Desk",
            "Award",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            "from",
            "musical",
            "where",
            "award",
            "=",
            "value",
            "intersect",
            "select",
            "nominee",
            "from",
            "musical",
            "where",
            "award",
            "=",
            "value"
        ],
        "question": "Show the nominees that have nominated musicals for both \"Tony Award\" and \"Drama Desk Award\".",
        "question_toks": [
            "Show",
            "the",
            "nominees",
            "that",
            "have",
            "nominated",
            "musicals",
            "for",
            "both",
            "``",
            "Tony",
            "Award",
            "''",
            "and",
            "``",
            "Drama",
            "Desk",
            "Award",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Tony Award\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Drama Desk Award\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee FROM musical WHERE Award  =  \"Tony Award\" INTERSECT SELECT Nominee FROM musical WHERE Award  =  \"Drama Desk Award\"",
        "query_toks": [
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "WHERE",
            "Award",
            "=",
            "``",
            "Tony",
            "Award",
            "''",
            "INTERSECT",
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "WHERE",
            "Award",
            "=",
            "``",
            "Drama",
            "Desk",
            "Award",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            "from",
            "musical",
            "where",
            "award",
            "=",
            "value",
            "intersect",
            "select",
            "nominee",
            "from",
            "musical",
            "where",
            "award",
            "=",
            "value"
        ],
        "question": "Who are the nominees who have been nominated for both a Tony Award and a Drama Desk Award?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "nominees",
            "who",
            "have",
            "been",
            "nominated",
            "for",
            "both",
            "a",
            "Tony",
            "Award",
            "and",
            "a",
            "Drama",
            "Desk",
            "Award",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Tony Award\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Drama Desk Award\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee FROM musical WHERE Award  =  \"Tony Award\" OR Award  =  \"Cleavant Derricks\"",
        "query_toks": [
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "WHERE",
            "Award",
            "=",
            "``",
            "Tony",
            "Award",
            "''",
            "OR",
            "Award",
            "=",
            "``",
            "Cleavant",
            "Derricks",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            "from",
            "musical",
            "where",
            "award",
            "=",
            "value",
            "or",
            "award",
            "=",
            "value"
        ],
        "question": "Show the musical nominee with award \"Bob Fosse\" or \"Cleavant Derricks\".",
        "question_toks": [
            "Show",
            "the",
            "musical",
            "nominee",
            "with",
            "award",
            "``",
            "Bob",
            "Fosse",
            "''",
            "or",
            "``",
            "Cleavant",
            "Derricks",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Tony Award\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Cleavant Derricks\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "musical",
        "query": "SELECT Nominee FROM musical WHERE Award  =  \"Tony Award\" OR Award  =  \"Cleavant Derricks\"",
        "query_toks": [
            "SELECT",
            "Nominee",
            "FROM",
            "musical",
            "WHERE",
            "Award",
            "=",
            "``",
            "Tony",
            "Award",
            "''",
            "OR",
            "Award",
            "=",
            "``",
            "Cleavant",
            "Derricks",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "nominee",
            "from",
            "musical",
            "where",
            "award",
            "=",
            "value",
            "or",
            "award",
            "=",
            "value"
        ],
        "question": "Who are the nominees who were nominated for either of the Bob Fosse or Cleavant Derricks awards?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "nominees",
            "who",
            "were",
            "nominated",
            "for",
            "either",
            "of",
            "the",
            "Bob",
            "Fosse",
            "or",
            "Cleavant",
            "Derricks",
            "awards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Tony Award\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Cleavant Derricks\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT email FROM user_profiles WHERE name  =  'Mary'",
        "query_toks": [
            "SELECT",
            "email",
            "FROM",
            "user_profiles",
            "WHERE",
            "name",
            "=",
            "'Mary",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "email",
            "from",
            "user_profiles",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Find the emails of the user named \"Mary\".",
        "question_toks": [
            "Find",
            "the",
            "emails",
            "of",
            "the",
            "user",
            "named",
            "``",
            "Mary",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Mary\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT partitionid FROM user_profiles WHERE name  =  'Iron Man'",
        "query_toks": [
            "SELECT",
            "partitionid",
            "FROM",
            "user_profiles",
            "WHERE",
            "name",
            "=",
            "'Iron",
            "Man",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "partitionid",
            "from",
            "user_profiles",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the partition id of the user named \"Iron Man\".",
        "question_toks": [
            "What",
            "is",
            "the",
            "partition",
            "id",
            "of",
            "the",
            "user",
            "named",
            "``",
            "Iron",
            "Man",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Iron Man\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT count(*) FROM user_profiles",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "user_profiles"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "user_profiles"
        ],
        "question": "How many users are there?",
        "question_toks": [
            "How",
            "many",
            "users",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT count(*) FROM follows",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "follows"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "follows"
        ],
        "question": "How many followers does each user have?",
        "question_toks": [
            "How",
            "many",
            "followers",
            "does",
            "each",
            "user",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT count(*) FROM follows GROUP BY f1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "follows",
            "GROUP",
            "BY",
            "f1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "follows",
            "group",
            "by",
            "value"
        ],
        "question": "Find the number of followers for each user.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "followers",
            "for",
            "each",
            "user",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT count(*) FROM tweets",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "tweets"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tweets"
        ],
        "question": "Find the number of tweets in record.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "tweets",
            "in",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT count(DISTINCT UID) FROM tweets",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "UID",
            ")",
            "FROM",
            "tweets"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "uid",
            ")",
            "from",
            "tweets"
        ],
        "question": "Find the number of users who posted some tweets.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "users",
            "who",
            "posted",
            "some",
            "tweets",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT name ,  email FROM user_profiles WHERE name LIKE '%Swift%'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "email",
            "FROM",
            "user_profiles",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "Swift",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "email",
            "from",
            "user_profiles",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Find the name and email of the user whose name contains the word \u2018Swift\u2019.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "email",
            "of",
            "the",
            "user",
            "whose",
            "name",
            "contains",
            "the",
            "word",
            "\u2018Swift\u2019",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%Swift%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "user_profiles",
            "WHERE",
            "email",
            "LIKE",
            "'",
            "%",
            "superstar",
            "%",
            "'",
            "OR",
            "email",
            "LIKE",
            "'",
            "%",
            "edu",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "user_profiles",
            "where",
            "email",
            "like",
            "value",
            "or",
            "email",
            "like",
            "value"
        ],
        "question": "Find the names of users whose emails contain \u2018superstar\u2019 or \u2018edu\u2019.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "users",
            "whose",
            "emails",
            "contain",
            "\u2018superstar\u2019",
            "or",
            "\u2018edu\u2019",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%superstar%\"",
                    null
                ],
                "or",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%edu%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT text FROM tweets WHERE text LIKE '%intern%'",
        "query_toks": [
            "SELECT",
            "text",
            "FROM",
            "tweets",
            "WHERE",
            "text",
            "LIKE",
            "'",
            "%",
            "intern",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "text",
            "from",
            "tweets",
            "where",
            "text",
            "like",
            "value"
        ],
        "question": "Return the text of tweets about the topic 'intern'.",
        "question_toks": [
            "Return",
            "the",
            "text",
            "of",
            "tweets",
            "about",
            "the",
            "topic",
            "'intern",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%intern%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT name ,  email FROM user_profiles WHERE followers  >  1000",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "email",
            "FROM",
            "user_profiles",
            "WHERE",
            "followers",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "email",
            "from",
            "user_profiles",
            "where",
            "followers",
            ">",
            "value"
        ],
        "question": "Find the name and email of the users who have more than 1000 followers.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "email",
            "of",
            "the",
            "users",
            "who",
            "have",
            "more",
            "than",
            "1000",
            "followers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT T1.name FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid  =  T2.f1 GROUP BY T2.f1 HAVING count(*)  >  (SELECT count(*) FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid  =  T2.f1 WHERE T1.name  =  'Tyler Swift')",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "follows",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.f1",
            "GROUP",
            "BY",
            "T2.f1",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "(",
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "follows",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.f1",
            "WHERE",
            "T1.name",
            "=",
            "'Tyler",
            "Swift",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "follows",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "f1",
            "group",
            "by",
            "t2",
            ".",
            "f1",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "(",
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "follows",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "f1",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "Find the names of the users whose number of followers is greater than that of the user named \"Tyler Swift\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "users",
            "whose",
            "number",
            "of",
            "followers",
            "is",
            "greater",
            "than",
            "that",
            "of",
            "the",
            "user",
            "named",
            "``",
            "Tyler",
            "Swift",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    3,
                                    [
                                        0,
                                        [
                                            0,
                                            0,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"Tyler Swift\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT T1.name ,  T1.email FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid  =  T2.f1 GROUP BY T2.f1 HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.email",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "follows",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.f1",
            "GROUP",
            "BY",
            "T2.f1",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "email",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "follows",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "f1",
            "group",
            "by",
            "t2",
            ".",
            "f1",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name and email for the users who have more than one follower.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "email",
            "for",
            "the",
            "users",
            "who",
            "have",
            "more",
            "than",
            "one",
            "follower",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT T1.name FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid  =  T2.uid GROUP BY T2.uid HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "tweets",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.uid",
            "GROUP",
            "BY",
            "T2.uid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "tweets",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "uid",
            "group",
            "by",
            "t2",
            ".",
            "uid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the names of users who have more than one tweet.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "users",
            "who",
            "have",
            "more",
            "than",
            "one",
            "tweet",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid  =  T2.f2 WHERE T1.name  =  \"Mary\" INTERSECT SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid  =  T2.f2 WHERE T1.name  =  \"Susan\"",
        "query_toks": [
            "SELECT",
            "T2.f1",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "follows",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.f2",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Mary",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.f1",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "follows",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.f2",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Susan",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "f1",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "follows",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "f2",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "f1",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "follows",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "f2",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the id of users who are followed by Mary and Susan.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "users",
            "who",
            "are",
            "followed",
            "by",
            "Mary",
            "and",
            "Susan",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Mary\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"Susan\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid  =  T2.f2 WHERE T1.name  =  \"Mary\" OR T1.name  =  \"Susan\"",
        "query_toks": [
            "SELECT",
            "T2.f1",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "follows",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.f2",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Mary",
            "''",
            "OR",
            "T1.name",
            "=",
            "``",
            "Susan",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "f1",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "follows",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "f2",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the id of users who are followed by Mary or Susan.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "users",
            "who",
            "are",
            "followed",
            "by",
            "Mary",
            "or",
            "Susan",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Mary\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Susan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT name FROM user_profiles ORDER BY followers DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "user_profiles",
            "ORDER",
            "BY",
            "followers",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "user_profiles",
            "order",
            "by",
            "followers",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the user who has the largest number of followers.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "user",
            "who",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "followers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT name ,  email FROM user_profiles ORDER BY followers LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "email",
            "FROM",
            "user_profiles",
            "ORDER",
            "BY",
            "followers",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "email",
            "from",
            "user_profiles",
            "order",
            "by",
            "followers",
            "limit",
            "value"
        ],
        "question": "Find the name and email of the user followed by the least number of people.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "email",
            "of",
            "the",
            "user",
            "followed",
            "by",
            "the",
            "least",
            "number",
            "of",
            "people",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT name ,  followers FROM user_profiles ORDER BY followers DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "followers",
            "FROM",
            "user_profiles",
            "ORDER",
            "BY",
            "followers",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "followers",
            "from",
            "user_profiles",
            "order",
            "by",
            "followers",
            "desc"
        ],
        "question": "List the name and number of followers for each user, and sort the results by the number of followers in descending order.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "number",
            "of",
            "followers",
            "for",
            "each",
            "user",
            ",",
            "and",
            "sort",
            "the",
            "results",
            "by",
            "the",
            "number",
            "of",
            "followers",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT name FROM user_profiles ORDER BY followers DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "user_profiles",
            "ORDER",
            "BY",
            "followers",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "user_profiles",
            "order",
            "by",
            "followers",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the names of 5 users followed by the largest number of other users.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "5",
            "users",
            "followed",
            "by",
            "the",
            "largest",
            "number",
            "of",
            "other",
            "users",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT text FROM tweets ORDER BY createdate",
        "query_toks": [
            "SELECT",
            "text",
            "FROM",
            "tweets",
            "ORDER",
            "BY",
            "createdate"
        ],
        "query_toks_no_value": [
            "select",
            "text",
            "from",
            "tweets",
            "order",
            "by",
            "createdate"
        ],
        "question": "List the text of all tweets in the order of date.",
        "question_toks": [
            "List",
            "the",
            "text",
            "of",
            "all",
            "tweets",
            "in",
            "the",
            "order",
            "of",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT T1.name ,  count(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid  =  T2.uid GROUP BY T2.uid",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "tweets",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.uid",
            "GROUP",
            "BY",
            "T2.uid"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "tweets",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "uid",
            "group",
            "by",
            "t2",
            ".",
            "uid"
        ],
        "question": "Find the name of each user and number of tweets tweeted by each of them.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "each",
            "user",
            "and",
            "number",
            "of",
            "tweets",
            "tweeted",
            "by",
            "each",
            "of",
            "them",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT T1.name ,  T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid  =  T2.uid GROUP BY T2.uid HAVING count(*)  <  2",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.partitionid",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "tweets",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.uid",
            "GROUP",
            "BY",
            "T2.uid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "partitionid",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "tweets",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "uid",
            "group",
            "by",
            "t2",
            ".",
            "uid",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "value"
        ],
        "question": "Find the name and partition id for users who tweeted less than twice.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "partition",
            "id",
            "for",
            "users",
            "who",
            "tweeted",
            "less",
            "than",
            "twice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT T1.name ,  count(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid  =  T2.uid GROUP BY T2.uid HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "user_profiles",
            "AS",
            "T1",
            "JOIN",
            "tweets",
            "AS",
            "T2",
            "ON",
            "T1.uid",
            "=",
            "T2.uid",
            "GROUP",
            "BY",
            "T2.uid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "user_profiles",
            "as",
            "t1",
            "join",
            "tweets",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "uid",
            "=",
            "t2",
            ".",
            "uid",
            "group",
            "by",
            "t2",
            ".",
            "uid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name of the user who tweeted more than once, and number of tweets tweeted by them.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "user",
            "who",
            "tweeted",
            "more",
            "than",
            "once",
            ",",
            "and",
            "number",
            "of",
            "tweets",
            "tweeted",
            "by",
            "them",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT avg(followers) FROM user_profiles WHERE UID NOT IN (SELECT UID FROM tweets)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "followers",
            ")",
            "FROM",
            "user_profiles",
            "WHERE",
            "UID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "UID",
            "FROM",
            "tweets",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "followers",
            ")",
            "from",
            "user_profiles",
            "where",
            "uid",
            "not",
            "in",
            "(",
            "select",
            "uid",
            "from",
            "tweets",
            ")"
        ],
        "question": "Find the average number of followers for the users who do not have any tweet.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "number",
            "of",
            "followers",
            "for",
            "the",
            "users",
            "who",
            "do",
            "not",
            "have",
            "any",
            "tweet",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT avg(followers) FROM user_profiles WHERE UID IN (SELECT UID FROM tweets)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "followers",
            ")",
            "FROM",
            "user_profiles",
            "WHERE",
            "UID",
            "IN",
            "(",
            "SELECT",
            "UID",
            "FROM",
            "tweets",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "followers",
            ")",
            "from",
            "user_profiles",
            "where",
            "uid",
            "in",
            "(",
            "select",
            "uid",
            "from",
            "tweets",
            ")"
        ],
        "question": "Find the average number of followers for the users who had some tweets.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "number",
            "of",
            "followers",
            "for",
            "the",
            "users",
            "who",
            "had",
            "some",
            "tweets",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "twitter_1",
        "query": "SELECT max(followers) ,  sum(followers) FROM user_profiles",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "followers",
            ")",
            ",",
            "sum",
            "(",
            "followers",
            ")",
            "FROM",
            "user_profiles"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "followers",
            ")",
            ",",
            "sum",
            "(",
            "followers",
            ")",
            "from",
            "user_profiles"
        ],
        "question": "Find the maximum and total number of followers of all users.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "and",
            "total",
            "number",
            "of",
            "followers",
            "of",
            "all",
            "users",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT distinct(catalog_entry_name) FROM catalog_contents",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "catalog_entry_name",
            ")",
            "FROM",
            "catalog_contents"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "catalog_entry_name",
            ")",
            "from",
            "catalog_contents"
        ],
        "question": "Find the names of all the catalog entries.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "the",
            "catalog",
            "entries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT distinct(catalog_entry_name) FROM catalog_contents",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "catalog_entry_name",
            ")",
            "FROM",
            "catalog_contents"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "catalog_entry_name",
            ")",
            "from",
            "catalog_contents"
        ],
        "question": "What are all the catalog entry names?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "catalog",
            "entry",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT attribute_data_type FROM Attribute_Definitions GROUP BY attribute_data_type HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "attribute_data_type",
            "FROM",
            "Attribute_Definitions",
            "GROUP",
            "BY",
            "attribute_data_type",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "attribute_data_type",
            "from",
            "attribute_definitions",
            "group",
            "by",
            "attribute_data_type",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the list of attribute data types possessed by more than 3 attribute definitions.",
        "question_toks": [
            "Find",
            "the",
            "list",
            "of",
            "attribute",
            "data",
            "types",
            "possessed",
            "by",
            "more",
            "than",
            "3",
            "attribute",
            "definitions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT attribute_data_type FROM Attribute_Definitions GROUP BY attribute_data_type HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "attribute_data_type",
            "FROM",
            "Attribute_Definitions",
            "GROUP",
            "BY",
            "attribute_data_type",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "attribute_data_type",
            "from",
            "attribute_definitions",
            "group",
            "by",
            "attribute_data_type",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the attribute data types with more than 3 attribute definitions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "attribute",
            "data",
            "types",
            "with",
            "more",
            "than",
            "3",
            "attribute",
            "definitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT attribute_data_type FROM Attribute_Definitions WHERE attribute_name  =  \"Green\"",
        "query_toks": [
            "SELECT",
            "attribute_data_type",
            "FROM",
            "Attribute_Definitions",
            "WHERE",
            "attribute_name",
            "=",
            "``",
            "Green",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "attribute_data_type",
            "from",
            "attribute_definitions",
            "where",
            "attribute_name",
            "=",
            "value"
        ],
        "question": "What is the attribute data type of the attribute with name \"Green\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "attribute",
            "data",
            "type",
            "of",
            "the",
            "attribute",
            "with",
            "name",
            "``",
            "Green",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Green\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT attribute_data_type FROM Attribute_Definitions WHERE attribute_name  =  \"Green\"",
        "query_toks": [
            "SELECT",
            "attribute_data_type",
            "FROM",
            "Attribute_Definitions",
            "WHERE",
            "attribute_name",
            "=",
            "``",
            "Green",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "attribute_data_type",
            "from",
            "attribute_definitions",
            "where",
            "attribute_name",
            "=",
            "value"
        ],
        "question": "Find the attribute data type for the attribute named \"Green\".",
        "question_toks": [
            "Find",
            "the",
            "attribute",
            "data",
            "type",
            "for",
            "the",
            "attribute",
            "named",
            "``",
            "Green",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Green\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_level_name ,  catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10",
        "query_toks": [
            "SELECT",
            "catalog_level_name",
            ",",
            "catalog_level_number",
            "FROM",
            "Catalog_Structure",
            "WHERE",
            "catalog_level_number",
            "BETWEEN",
            "5",
            "AND",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_level_name",
            ",",
            "catalog_level_number",
            "from",
            "catalog_structure",
            "where",
            "catalog_level_number",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the name and level of catalog structure with level between 5 and 10.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "level",
            "of",
            "catalog",
            "structure",
            "with",
            "level",
            "between",
            "5",
            "and",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    5.0,
                    10.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_level_name ,  catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10",
        "query_toks": [
            "SELECT",
            "catalog_level_name",
            ",",
            "catalog_level_number",
            "FROM",
            "Catalog_Structure",
            "WHERE",
            "catalog_level_number",
            "BETWEEN",
            "5",
            "AND",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_level_name",
            ",",
            "catalog_level_number",
            "from",
            "catalog_structure",
            "where",
            "catalog_level_number",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the name and level of catalog structure with level number between 5 and 10",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "level",
            "of",
            "catalog",
            "structure",
            "with",
            "level",
            "number",
            "between",
            "5",
            "and",
            "10"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    5.0,
                    10.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT distinct(catalog_publisher) FROM catalogs WHERE catalog_publisher LIKE \"%Murray%\"",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "catalog_publisher",
            ")",
            "FROM",
            "catalogs",
            "WHERE",
            "catalog_publisher",
            "LIKE",
            "``",
            "%",
            "Murray",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "catalog_publisher",
            ")",
            "from",
            "catalogs",
            "where",
            "catalog_publisher",
            "like",
            "value"
        ],
        "question": "Find all the catalog publishers whose name contains \"Murray\"",
        "question_toks": [
            "Find",
            "all",
            "the",
            "catalog",
            "publishers",
            "whose",
            "name",
            "contains",
            "``",
            "Murray",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"%Murray%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT distinct(catalog_publisher) FROM catalogs WHERE catalog_publisher LIKE \"%Murray%\"",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "catalog_publisher",
            ")",
            "FROM",
            "catalogs",
            "WHERE",
            "catalog_publisher",
            "LIKE",
            "``",
            "%",
            "Murray",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "catalog_publisher",
            ")",
            "from",
            "catalogs",
            "where",
            "catalog_publisher",
            "like",
            "value"
        ],
        "question": "Which catalog publishers have substring \"Murray\" in their names?",
        "question_toks": [
            "Which",
            "catalog",
            "publishers",
            "have",
            "substring",
            "``",
            "Murray",
            "''",
            "in",
            "their",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"%Murray%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_publisher FROM catalogs GROUP BY catalog_publisher ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "catalog_publisher",
            "FROM",
            "catalogs",
            "GROUP",
            "BY",
            "catalog_publisher",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_publisher",
            "from",
            "catalogs",
            "group",
            "by",
            "catalog_publisher",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which catalog publisher has published the most catalogs?",
        "question_toks": [
            "Which",
            "catalog",
            "publisher",
            "has",
            "published",
            "the",
            "most",
            "catalogs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_publisher FROM catalogs GROUP BY catalog_publisher ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "catalog_publisher",
            "FROM",
            "catalogs",
            "GROUP",
            "BY",
            "catalog_publisher",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_publisher",
            "from",
            "catalogs",
            "group",
            "by",
            "catalog_publisher",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the catalog publisher that has the most catalogs.",
        "question_toks": [
            "Find",
            "the",
            "catalog",
            "publisher",
            "that",
            "has",
            "the",
            "most",
            "catalogs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t1.catalog_name ,  t1.date_of_publication FROM catalogs AS t1 JOIN catalog_structure AS t2 ON t1.catalog_id  =  t2.catalog_id WHERE catalog_level_number  >  5",
        "query_toks": [
            "SELECT",
            "t1.catalog_name",
            ",",
            "t1.date_of_publication",
            "FROM",
            "catalogs",
            "AS",
            "t1",
            "JOIN",
            "catalog_structure",
            "AS",
            "t2",
            "ON",
            "t1.catalog_id",
            "=",
            "t2.catalog_id",
            "WHERE",
            "catalog_level_number",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "catalog_name",
            ",",
            "t1",
            ".",
            "date_of_publication",
            "from",
            "catalogs",
            "as",
            "t1",
            "join",
            "catalog_structure",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "catalog_id",
            "=",
            "t2",
            ".",
            "catalog_id",
            "where",
            "catalog_level_number",
            ">",
            "value"
        ],
        "question": "Find the names and publication dates of all catalogs that have catalog level number greater than 5.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "publication",
            "dates",
            "of",
            "all",
            "catalogs",
            "that",
            "have",
            "catalog",
            "level",
            "number",
            "greater",
            "than",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t1.catalog_name ,  t1.date_of_publication FROM catalogs AS t1 JOIN catalog_structure AS t2 ON t1.catalog_id  =  t2.catalog_id WHERE catalog_level_number  >  5",
        "query_toks": [
            "SELECT",
            "t1.catalog_name",
            ",",
            "t1.date_of_publication",
            "FROM",
            "catalogs",
            "AS",
            "t1",
            "JOIN",
            "catalog_structure",
            "AS",
            "t2",
            "ON",
            "t1.catalog_id",
            "=",
            "t2.catalog_id",
            "WHERE",
            "catalog_level_number",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "catalog_name",
            ",",
            "t1",
            ".",
            "date_of_publication",
            "from",
            "catalogs",
            "as",
            "t1",
            "join",
            "catalog_structure",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "catalog_id",
            "=",
            "t2",
            ".",
            "catalog_id",
            "where",
            "catalog_level_number",
            ">",
            "value"
        ],
        "question": "What are the name and publication date of the catalogs with catalog level number above 5?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "publication",
            "date",
            "of",
            "the",
            "catalogs",
            "with",
            "catalog",
            "level",
            "number",
            "above",
            "5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id  =  t2.catalog_entry_id WHERE t2.attribute_value  =  (SELECT attribute_value FROM Catalog_Contents_Additional_Attributes GROUP BY attribute_value ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "t1.catalog_entry_name",
            "FROM",
            "Catalog_Contents",
            "AS",
            "t1",
            "JOIN",
            "Catalog_Contents_Additional_Attributes",
            "AS",
            "t2",
            "ON",
            "t1.catalog_entry_id",
            "=",
            "t2.catalog_entry_id",
            "WHERE",
            "t2.attribute_value",
            "=",
            "(",
            "SELECT",
            "attribute_value",
            "FROM",
            "Catalog_Contents_Additional_Attributes",
            "GROUP",
            "BY",
            "attribute_value",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "as",
            "t1",
            "join",
            "catalog_contents_additional_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "catalog_entry_id",
            "=",
            "t2",
            ".",
            "catalog_entry_id",
            "where",
            "t2",
            ".",
            "attribute_value",
            "=",
            "(",
            "select",
            "attribute_value",
            "from",
            "catalog_contents_additional_attributes",
            "group",
            "by",
            "attribute_value",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the entry names of catalog with the attribute possessed by most entries.",
        "question_toks": [
            "What",
            "are",
            "the",
            "entry",
            "names",
            "of",
            "catalog",
            "with",
            "the",
            "attribute",
            "possessed",
            "by",
            "most",
            "entries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                29,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id  =  t2.catalog_entry_id WHERE t2.attribute_value  =  (SELECT attribute_value FROM Catalog_Contents_Additional_Attributes GROUP BY attribute_value ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "t1.catalog_entry_name",
            "FROM",
            "Catalog_Contents",
            "AS",
            "t1",
            "JOIN",
            "Catalog_Contents_Additional_Attributes",
            "AS",
            "t2",
            "ON",
            "t1.catalog_entry_id",
            "=",
            "t2.catalog_entry_id",
            "WHERE",
            "t2.attribute_value",
            "=",
            "(",
            "SELECT",
            "attribute_value",
            "FROM",
            "Catalog_Contents_Additional_Attributes",
            "GROUP",
            "BY",
            "attribute_value",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "as",
            "t1",
            "join",
            "catalog_contents_additional_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "catalog_entry_id",
            "=",
            "t2",
            ".",
            "catalog_entry_id",
            "where",
            "t2",
            ".",
            "attribute_value",
            "=",
            "(",
            "select",
            "attribute_value",
            "from",
            "catalog_contents_additional_attributes",
            "group",
            "by",
            "attribute_value",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the entry names of the catalog with the attribute that have the most entries.",
        "question_toks": [
            "Find",
            "the",
            "entry",
            "names",
            "of",
            "the",
            "catalog",
            "with",
            "the",
            "attribute",
            "that",
            "have",
            "the",
            "most",
            "entries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                29,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents ORDER BY price_in_dollars DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "ORDER",
            "BY",
            "price_in_dollars",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "order",
            "by",
            "price_in_dollars",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the entry name of the most expensive catalog (in USD)?",
        "question_toks": [
            "What",
            "is",
            "the",
            "entry",
            "name",
            "of",
            "the",
            "most",
            "expensive",
            "catalog",
            "(",
            "in",
            "USD",
            ")",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents ORDER BY price_in_dollars DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "ORDER",
            "BY",
            "price_in_dollars",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "order",
            "by",
            "price_in_dollars",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the entry name of the catalog with the highest price (in USD).",
        "question_toks": [
            "Find",
            "the",
            "entry",
            "name",
            "of",
            "the",
            "catalog",
            "with",
            "the",
            "highest",
            "price",
            "(",
            "in",
            "USD",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number  =  t2.catalog_level_number ORDER BY t1.price_in_dollars LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.catalog_level_name",
            "FROM",
            "catalog_contents",
            "AS",
            "t1",
            "JOIN",
            "catalog_structure",
            "AS",
            "t2",
            "ON",
            "t1.catalog_level_number",
            "=",
            "t2.catalog_level_number",
            "ORDER",
            "BY",
            "t1.price_in_dollars",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "catalog_level_name",
            "from",
            "catalog_contents",
            "as",
            "t1",
            "join",
            "catalog_structure",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "catalog_level_number",
            "=",
            "t2",
            ".",
            "catalog_level_number",
            "order",
            "by",
            "t1",
            ".",
            "price_in_dollars",
            "limit",
            "value"
        ],
        "question": "What is the level name of the cheapest catalog (in USD)?",
        "question_toks": [
            "What",
            "is",
            "the",
            "level",
            "name",
            "of",
            "the",
            "cheapest",
            "catalog",
            "(",
            "in",
            "USD",
            ")",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number  =  t2.catalog_level_number ORDER BY t1.price_in_dollars LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.catalog_level_name",
            "FROM",
            "catalog_contents",
            "AS",
            "t1",
            "JOIN",
            "catalog_structure",
            "AS",
            "t2",
            "ON",
            "t1.catalog_level_number",
            "=",
            "t2.catalog_level_number",
            "ORDER",
            "BY",
            "t1.price_in_dollars",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "catalog_level_name",
            "from",
            "catalog_contents",
            "as",
            "t1",
            "join",
            "catalog_structure",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "catalog_level_number",
            "=",
            "t2",
            ".",
            "catalog_level_number",
            "order",
            "by",
            "t1",
            ".",
            "price_in_dollars",
            "limit",
            "value"
        ],
        "question": "Find the level name of the catalog with the lowest price (in USD).",
        "question_toks": [
            "Find",
            "the",
            "level",
            "name",
            "of",
            "the",
            "catalog",
            "with",
            "the",
            "lowest",
            "price",
            "(",
            "in",
            "USD",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT avg(price_in_euros) ,  min(price_in_euros) FROM catalog_contents",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price_in_euros",
            ")",
            ",",
            "min",
            "(",
            "price_in_euros",
            ")",
            "FROM",
            "catalog_contents"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price_in_euros",
            ")",
            ",",
            "min",
            "(",
            "price_in_euros",
            ")",
            "from",
            "catalog_contents"
        ],
        "question": "What are the average and minimum price (in Euro) of all products?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "and",
            "minimum",
            "price",
            "(",
            "in",
            "Euro",
            ")",
            "of",
            "all",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT avg(price_in_euros) ,  min(price_in_euros) FROM catalog_contents",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price_in_euros",
            ")",
            ",",
            "min",
            "(",
            "price_in_euros",
            ")",
            "FROM",
            "catalog_contents"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price_in_euros",
            ")",
            ",",
            "min",
            "(",
            "price_in_euros",
            ")",
            "from",
            "catalog_contents"
        ],
        "question": "Give me the average and minimum price (in Euro) of the products.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "average",
            "and",
            "minimum",
            "price",
            "(",
            "in",
            "Euro",
            ")",
            "of",
            "the",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents ORDER BY height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "ORDER",
            "BY",
            "height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "order",
            "by",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the product with the highest height? Give me the catalog entry name.",
        "question_toks": [
            "What",
            "is",
            "the",
            "product",
            "with",
            "the",
            "highest",
            "height",
            "?",
            "Give",
            "me",
            "the",
            "catalog",
            "entry",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents ORDER BY height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "ORDER",
            "BY",
            "height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "order",
            "by",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which catalog content has the highest height? Give me the catalog entry name.",
        "question_toks": [
            "Which",
            "catalog",
            "content",
            "has",
            "the",
            "highest",
            "height",
            "?",
            "Give",
            "me",
            "the",
            "catalog",
            "entry",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "ORDER",
            "BY",
            "capacity",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "order",
            "by",
            "capacity",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the name of the product that has the smallest capacity.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "product",
            "that",
            "has",
            "the",
            "smallest",
            "capacity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "ORDER",
            "BY",
            "capacity",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "order",
            "by",
            "capacity",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which catalog content has the smallest capacity? Return the catalog entry name.",
        "question_toks": [
            "Which",
            "catalog",
            "content",
            "has",
            "the",
            "smallest",
            "capacity",
            "?",
            "Return",
            "the",
            "catalog",
            "entry",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE \"2%\"",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "WHERE",
            "product_stock_number",
            "LIKE",
            "``",
            "2",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "where",
            "product_stock_number",
            "like",
            "value"
        ],
        "question": "Find the names of all the products whose stock number starts with \"2\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "the",
            "products",
            "whose",
            "stock",
            "number",
            "starts",
            "with",
            "``",
            "2",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"2%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE \"2%\"",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "WHERE",
            "product_stock_number",
            "LIKE",
            "``",
            "2",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "where",
            "product_stock_number",
            "like",
            "value"
        ],
        "question": "Which catalog contents have a product stock number that starts from \"2\"? Show the catalog entry names.",
        "question_toks": [
            "Which",
            "catalog",
            "contents",
            "have",
            "a",
            "product",
            "stock",
            "number",
            "that",
            "starts",
            "from",
            "``",
            "2",
            "''",
            "?",
            "Show",
            "the",
            "catalog",
            "entry",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"2%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id  =  t2.catalog_entry_id WHERE t2.catalog_level_number  =  \"8\"",
        "query_toks": [
            "SELECT",
            "t1.catalog_entry_name",
            "FROM",
            "Catalog_Contents",
            "AS",
            "t1",
            "JOIN",
            "Catalog_Contents_Additional_Attributes",
            "AS",
            "t2",
            "ON",
            "t1.catalog_entry_id",
            "=",
            "t2.catalog_entry_id",
            "WHERE",
            "t2.catalog_level_number",
            "=",
            "``",
            "8",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "as",
            "t1",
            "join",
            "catalog_contents_additional_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "catalog_entry_id",
            "=",
            "t2",
            ".",
            "catalog_entry_id",
            "where",
            "t2",
            ".",
            "catalog_level_number",
            "=",
            "value"
        ],
        "question": "Find the names of catalog entries with level number 8.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "catalog",
            "entries",
            "with",
            "level",
            "number",
            "8",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"8\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id  =  t2.catalog_entry_id WHERE t2.catalog_level_number  =  \"8\"",
        "query_toks": [
            "SELECT",
            "t1.catalog_entry_name",
            "FROM",
            "Catalog_Contents",
            "AS",
            "t1",
            "JOIN",
            "Catalog_Contents_Additional_Attributes",
            "AS",
            "t2",
            "ON",
            "t1.catalog_entry_id",
            "=",
            "t2.catalog_entry_id",
            "WHERE",
            "t2.catalog_level_number",
            "=",
            "``",
            "8",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "as",
            "t1",
            "join",
            "catalog_contents_additional_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "catalog_entry_id",
            "=",
            "t2",
            ".",
            "catalog_entry_id",
            "where",
            "t2",
            ".",
            "catalog_level_number",
            "=",
            "value"
        ],
        "question": "What are the names of catalog entries with level number 8?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "catalog",
            "entries",
            "with",
            "level",
            "number",
            "8",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"8\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents WHERE LENGTH  <  3 OR width  >  5",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "WHERE",
            "LENGTH",
            "<",
            "3",
            "OR",
            "width",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "where",
            "length",
            "<",
            "value",
            "or",
            "width",
            ">",
            "value"
        ],
        "question": "Find the names of the products with length smaller than 3 or height greater than 5.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "products",
            "with",
            "length",
            "smaller",
            "than",
            "3",
            "or",
            "height",
            "greater",
            "than",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents WHERE LENGTH  <  3 OR width  >  5",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "WHERE",
            "LENGTH",
            "<",
            "3",
            "OR",
            "width",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "where",
            "length",
            "<",
            "value",
            "or",
            "width",
            ">",
            "value"
        ],
        "question": "Which catalog contents have length below 3 or above 5? Find the catalog entry names.",
        "question_toks": [
            "Which",
            "catalog",
            "contents",
            "have",
            "length",
            "below",
            "3",
            "or",
            "above",
            "5",
            "?",
            "Find",
            "the",
            "catalog",
            "entry",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t1.attribute_name ,  t1.attribute_id FROM Attribute_Definitions AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.attribute_id  =  t2.attribute_id WHERE t2.attribute_value  =  0",
        "query_toks": [
            "SELECT",
            "t1.attribute_name",
            ",",
            "t1.attribute_id",
            "FROM",
            "Attribute_Definitions",
            "AS",
            "t1",
            "JOIN",
            "Catalog_Contents_Additional_Attributes",
            "AS",
            "t2",
            "ON",
            "t1.attribute_id",
            "=",
            "t2.attribute_id",
            "WHERE",
            "t2.attribute_value",
            "=",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "attribute_name",
            ",",
            "t1",
            ".",
            "attribute_id",
            "from",
            "attribute_definitions",
            "as",
            "t1",
            "join",
            "catalog_contents_additional_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "attribute_id",
            "=",
            "t2",
            ".",
            "attribute_id",
            "where",
            "t2",
            ".",
            "attribute_value",
            "=",
            "value"
        ],
        "question": "Find the name and attribute ID of the attribute definitions with attribute value 0.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "attribute",
            "ID",
            "of",
            "the",
            "attribute",
            "definitions",
            "with",
            "attribute",
            "value",
            "0",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT t1.attribute_name ,  t1.attribute_id FROM Attribute_Definitions AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.attribute_id  =  t2.attribute_id WHERE t2.attribute_value  =  0",
        "query_toks": [
            "SELECT",
            "t1.attribute_name",
            ",",
            "t1.attribute_id",
            "FROM",
            "Attribute_Definitions",
            "AS",
            "t1",
            "JOIN",
            "Catalog_Contents_Additional_Attributes",
            "AS",
            "t2",
            "ON",
            "t1.attribute_id",
            "=",
            "t2.attribute_id",
            "WHERE",
            "t2.attribute_value",
            "=",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "attribute_name",
            ",",
            "t1",
            ".",
            "attribute_id",
            "from",
            "attribute_definitions",
            "as",
            "t1",
            "join",
            "catalog_contents_additional_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "attribute_id",
            "=",
            "t2",
            ".",
            "attribute_id",
            "where",
            "t2",
            ".",
            "attribute_value",
            "=",
            "value"
        ],
        "question": "Which attribute definitions have attribute value 0? Give me the attribute name and attribute ID.",
        "question_toks": [
            "Which",
            "attribute",
            "definitions",
            "have",
            "attribute",
            "value",
            "0",
            "?",
            "Give",
            "me",
            "the",
            "attribute",
            "name",
            "and",
            "attribute",
            "ID",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name ,  capacity FROM Catalog_Contents WHERE price_in_dollars  >  700",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            ",",
            "capacity",
            "FROM",
            "Catalog_Contents",
            "WHERE",
            "price_in_dollars",
            ">",
            "700"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            ",",
            "capacity",
            "from",
            "catalog_contents",
            "where",
            "price_in_dollars",
            ">",
            "value"
        ],
        "question": "Find the name and capacity of products with price greater than 700 (in USD).",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "capacity",
            "of",
            "products",
            "with",
            "price",
            "greater",
            "than",
            "700",
            "(",
            "in",
            "USD",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    700.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name ,  capacity FROM Catalog_Contents WHERE price_in_dollars  >  700",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            ",",
            "capacity",
            "FROM",
            "Catalog_Contents",
            "WHERE",
            "price_in_dollars",
            ">",
            "700"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            ",",
            "capacity",
            "from",
            "catalog_contents",
            "where",
            "price_in_dollars",
            ">",
            "value"
        ],
        "question": "Which catalog contents has price above 700 dollars? Show their catalog entry names and capacities.",
        "question_toks": [
            "Which",
            "catalog",
            "contents",
            "has",
            "price",
            "above",
            "700",
            "dollars",
            "?",
            "Show",
            "their",
            "catalog",
            "entry",
            "names",
            "and",
            "capacities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    700.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT date_of_latest_revision FROM Catalogs GROUP BY date_of_latest_revision HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "date_of_latest_revision",
            "FROM",
            "Catalogs",
            "GROUP",
            "BY",
            "date_of_latest_revision",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_latest_revision",
            "from",
            "catalogs",
            "group",
            "by",
            "date_of_latest_revision",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the dates on which more than one revisions were made.",
        "question_toks": [
            "Find",
            "the",
            "dates",
            "on",
            "which",
            "more",
            "than",
            "one",
            "revisions",
            "were",
            "made",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT date_of_latest_revision FROM Catalogs GROUP BY date_of_latest_revision HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "date_of_latest_revision",
            "FROM",
            "Catalogs",
            "GROUP",
            "BY",
            "date_of_latest_revision",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_latest_revision",
            "from",
            "catalogs",
            "group",
            "by",
            "date_of_latest_revision",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "On which days more than one revisions were made on catalogs.",
        "question_toks": [
            "On",
            "which",
            "days",
            "more",
            "than",
            "one",
            "revisions",
            "were",
            "made",
            "on",
            "catalogs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT count(*) FROM catalog_contents",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "catalog_contents"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "catalog_contents"
        ],
        "question": "How many products are there in the records?",
        "question_toks": [
            "How",
            "many",
            "products",
            "are",
            "there",
            "in",
            "the",
            "records",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT count(*) FROM catalog_contents",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "catalog_contents"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "catalog_contents"
        ],
        "question": "Find the total number of catalog contents.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "catalog",
            "contents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id  >  8",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "WHERE",
            "next_entry_id",
            ">",
            "8"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "where",
            "next_entry_id",
            ">",
            "value"
        ],
        "question": "Name all the products with next entry ID greater than 8.",
        "question_toks": [
            "Name",
            "all",
            "the",
            "products",
            "with",
            "next",
            "entry",
            "ID",
            "greater",
            "than",
            "8",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "product_catalog",
        "query": "SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id  >  8",
        "query_toks": [
            "SELECT",
            "catalog_entry_name",
            "FROM",
            "catalog_contents",
            "WHERE",
            "next_entry_id",
            ">",
            "8"
        ],
        "query_toks_no_value": [
            "select",
            "catalog_entry_name",
            "from",
            "catalog_contents",
            "where",
            "next_entry_id",
            ">",
            "value"
        ],
        "question": "What are the catalog entry names of the products with next entry ID above 8?",
        "question_toks": [
            "What",
            "are",
            "the",
            "catalog",
            "entry",
            "names",
            "of",
            "the",
            "products",
            "with",
            "next",
            "entry",
            "ID",
            "above",
            "8",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Aircraft",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "aircraft"
        ],
        "question": "How many aircrafts do we have?",
        "question_toks": [
            "How",
            "many",
            "aircrafts",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Aircraft",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "aircraft"
        ],
        "question": "How many aircrafts exist in the database?",
        "question_toks": [
            "How",
            "many",
            "aircrafts",
            "exist",
            "in",
            "the",
            "database",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name ,  distance FROM Aircraft",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "distance",
            "FROM",
            "Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "distance",
            "from",
            "aircraft"
        ],
        "question": "Show name and distance for all aircrafts.",
        "question_toks": [
            "Show",
            "name",
            "and",
            "distance",
            "for",
            "all",
            "aircrafts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name ,  distance FROM Aircraft",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "distance",
            "FROM",
            "Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "distance",
            "from",
            "aircraft"
        ],
        "question": "What are the names and distances for all airplanes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "distances",
            "for",
            "all",
            "airplanes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT aid FROM Aircraft WHERE distance  >  1000",
        "query_toks": [
            "SELECT",
            "aid",
            "FROM",
            "Aircraft",
            "WHERE",
            "distance",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "aid",
            "from",
            "aircraft",
            "where",
            "distance",
            ">",
            "value"
        ],
        "question": "Show ids for all aircrafts with more than 1000 distance.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "aircrafts",
            "with",
            "more",
            "than",
            "1000",
            "distance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT aid FROM Aircraft WHERE distance  >  1000",
        "query_toks": [
            "SELECT",
            "aid",
            "FROM",
            "Aircraft",
            "WHERE",
            "distance",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "aid",
            "from",
            "aircraft",
            "where",
            "distance",
            ">",
            "value"
        ],
        "question": "What are the ids of all aircrafts that can cover a distance of more than 1000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "aircrafts",
            "that",
            "can",
            "cover",
            "a",
            "distance",
            "of",
            "more",
            "than",
            "1000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Aircraft WHERE distance BETWEEN 1000 AND 5000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Aircraft",
            "WHERE",
            "distance",
            "BETWEEN",
            "1000",
            "AND",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "aircraft",
            "where",
            "distance",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "How many aircrafts have distance between 1000 and 5000?",
        "question_toks": [
            "How",
            "many",
            "aircrafts",
            "have",
            "distance",
            "between",
            "1000",
            "and",
            "5000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    5000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Aircraft WHERE distance BETWEEN 1000 AND 5000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Aircraft",
            "WHERE",
            "distance",
            "BETWEEN",
            "1000",
            "AND",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "aircraft",
            "where",
            "distance",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What is the count of aircrafts that have a distance between 1000 and 5000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "aircrafts",
            "that",
            "have",
            "a",
            "distance",
            "between",
            "1000",
            "and",
            "5000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    5000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name ,  distance FROM Aircraft WHERE aid  =  12",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "distance",
            "FROM",
            "Aircraft",
            "WHERE",
            "aid",
            "=",
            "12"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "distance",
            "from",
            "aircraft",
            "where",
            "aid",
            "=",
            "value"
        ],
        "question": "What is the name and distance for aircraft with id 12?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "distance",
            "for",
            "aircraft",
            "with",
            "id",
            "12",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    12.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name ,  distance FROM Aircraft WHERE aid  =  12",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "distance",
            "FROM",
            "Aircraft",
            "WHERE",
            "aid",
            "=",
            "12"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "distance",
            "from",
            "aircraft",
            "where",
            "aid",
            "=",
            "value"
        ],
        "question": "What is the name and distance for the aircraft that has an id of 12?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "distance",
            "for",
            "the",
            "aircraft",
            "that",
            "has",
            "an",
            "id",
            "of",
            "12",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    12.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT min(distance) ,  avg(distance) ,  max(distance) FROM Aircraft",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "distance",
            ")",
            ",",
            "avg",
            "(",
            "distance",
            ")",
            ",",
            "max",
            "(",
            "distance",
            ")",
            "FROM",
            "Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "distance",
            ")",
            ",",
            "avg",
            "(",
            "distance",
            ")",
            ",",
            "max",
            "(",
            "distance",
            ")",
            "from",
            "aircraft"
        ],
        "question": "What is the minimum, average, and maximum distance of all aircrafts.",
        "question_toks": [
            "What",
            "is",
            "the",
            "minimum",
            ",",
            "average",
            ",",
            "and",
            "maximum",
            "distance",
            "of",
            "all",
            "aircrafts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT min(distance) ,  avg(distance) ,  max(distance) FROM Aircraft",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "distance",
            ")",
            ",",
            "avg",
            "(",
            "distance",
            ")",
            ",",
            "max",
            "(",
            "distance",
            ")",
            "FROM",
            "Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "distance",
            ")",
            ",",
            "avg",
            "(",
            "distance",
            ")",
            ",",
            "max",
            "(",
            "distance",
            ")",
            "from",
            "aircraft"
        ],
        "question": "Return the minimum, average and maximum distances traveled across all aircrafts.",
        "question_toks": [
            "Return",
            "the",
            "minimum",
            ",",
            "average",
            "and",
            "maximum",
            "distances",
            "traveled",
            "across",
            "all",
            "aircrafts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT aid ,  name FROM Aircraft ORDER BY distance DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "aid",
            ",",
            "name",
            "FROM",
            "Aircraft",
            "ORDER",
            "BY",
            "distance",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "aid",
            ",",
            "name",
            "from",
            "aircraft",
            "order",
            "by",
            "distance",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the id and name of the aircraft with the maximum distance.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "aircraft",
            "with",
            "the",
            "maximum",
            "distance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT aid ,  name FROM Aircraft ORDER BY distance DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "aid",
            ",",
            "name",
            "FROM",
            "Aircraft",
            "ORDER",
            "BY",
            "distance",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "aid",
            ",",
            "name",
            "from",
            "aircraft",
            "order",
            "by",
            "distance",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and name of the aircraft that can cover the maximum distance?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "aircraft",
            "that",
            "can",
            "cover",
            "the",
            "maximum",
            "distance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Aircraft ORDER BY distance LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Aircraft",
            "ORDER",
            "BY",
            "distance",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "aircraft",
            "order",
            "by",
            "distance",
            "limit",
            "value"
        ],
        "question": "Show the name of aircrafts with top three lowest distances.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "aircrafts",
            "with",
            "top",
            "three",
            "lowest",
            "distances",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Aircraft ORDER BY distance LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Aircraft",
            "ORDER",
            "BY",
            "distance",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "aircraft",
            "order",
            "by",
            "distance",
            "limit",
            "value"
        ],
        "question": "What are the aircrafts with top 3 shortest lengthes? List their names.",
        "question_toks": [
            "What",
            "are",
            "the",
            "aircrafts",
            "with",
            "top",
            "3",
            "shortest",
            "lengthes",
            "?",
            "List",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Aircraft WHERE distance  >  (SELECT avg(distance) FROM Aircraft)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Aircraft",
            "WHERE",
            "distance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "distance",
            ")",
            "FROM",
            "Aircraft",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "aircraft",
            "where",
            "distance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "distance",
            ")",
            "from",
            "aircraft",
            ")"
        ],
        "question": "Show names for all aircrafts with distances more than the average.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "aircrafts",
            "with",
            "distances",
            "more",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Aircraft WHERE distance  >  (SELECT avg(distance) FROM Aircraft)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Aircraft",
            "WHERE",
            "distance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "distance",
            ")",
            "FROM",
            "Aircraft",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "aircraft",
            "where",
            "distance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "distance",
            ")",
            "from",
            "aircraft",
            ")"
        ],
        "question": "What are the names of all aircrafts that can cover more distances than average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "aircrafts",
            "that",
            "can",
            "cover",
            "more",
            "distances",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Employee",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employee"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee"
        ],
        "question": "How many employees do we have?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Employee",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employee"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee"
        ],
        "question": "What is the number of employees?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name ,  salary FROM Employee ORDER BY salary",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "salary",
            "FROM",
            "Employee",
            "ORDER",
            "BY",
            "salary"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "salary",
            "from",
            "employee",
            "order",
            "by",
            "salary"
        ],
        "question": "Show name and salary for all employees sorted by salary.",
        "question_toks": [
            "Show",
            "name",
            "and",
            "salary",
            "for",
            "all",
            "employees",
            "sorted",
            "by",
            "salary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name ,  salary FROM Employee ORDER BY salary",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "salary",
            "FROM",
            "Employee",
            "ORDER",
            "BY",
            "salary"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "salary",
            "from",
            "employee",
            "order",
            "by",
            "salary"
        ],
        "question": "What is the name and salary of all employees in order of salary?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "salary",
            "of",
            "all",
            "employees",
            "in",
            "order",
            "of",
            "salary",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT eid FROM Employee WHERE salary  >  100000",
        "query_toks": [
            "SELECT",
            "eid",
            "FROM",
            "Employee",
            "WHERE",
            "salary",
            ">",
            "100000"
        ],
        "query_toks_no_value": [
            "select",
            "eid",
            "from",
            "employee",
            "where",
            "salary",
            ">",
            "value"
        ],
        "question": "Show ids for all employees with at least 100000 salary.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "employees",
            "with",
            "at",
            "least",
            "100000",
            "salary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT eid FROM Employee WHERE salary  >  100000",
        "query_toks": [
            "SELECT",
            "eid",
            "FROM",
            "Employee",
            "WHERE",
            "salary",
            ">",
            "100000"
        ],
        "query_toks_no_value": [
            "select",
            "eid",
            "from",
            "employee",
            "where",
            "salary",
            ">",
            "value"
        ],
        "question": "What is the id of every employee who has at least a salary of  100000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "every",
            "employee",
            "who",
            "has",
            "at",
            "least",
            "a",
            "salary",
            "of",
            "100000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employee",
            "WHERE",
            "salary",
            "BETWEEN",
            "100000",
            "AND",
            "200000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee",
            "where",
            "salary",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "How many employees have salary between 100000 and 200000?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "have",
            "salary",
            "between",
            "100000",
            "and",
            "200000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    200000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employee",
            "WHERE",
            "salary",
            "BETWEEN",
            "100000",
            "AND",
            "200000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee",
            "where",
            "salary",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What is the number of employees that have a salary between 100000 and 200000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "employees",
            "that",
            "have",
            "a",
            "salary",
            "between",
            "100000",
            "and",
            "200000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    200000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name ,  salary FROM Employee WHERE eid  =  242518965",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "salary",
            "FROM",
            "Employee",
            "WHERE",
            "eid",
            "=",
            "242518965"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "salary",
            "from",
            "employee",
            "where",
            "eid",
            "=",
            "value"
        ],
        "question": "What is the name and salary for employee with id 242518965?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "salary",
            "for",
            "employee",
            "with",
            "id",
            "242518965",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    242518965.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name ,  salary FROM Employee WHERE eid  =  242518965",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "salary",
            "FROM",
            "Employee",
            "WHERE",
            "eid",
            "=",
            "242518965"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "salary",
            "from",
            "employee",
            "where",
            "eid",
            "=",
            "value"
        ],
        "question": "What is the name and salary of the employee with the id 242518965?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "salary",
            "of",
            "the",
            "employee",
            "with",
            "the",
            "id",
            "242518965",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    242518965.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT avg(salary) ,  max(salary) FROM Employee",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "salary",
            ")",
            ",",
            "max",
            "(",
            "salary",
            ")",
            "FROM",
            "Employee"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "salary",
            ")",
            ",",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "employee"
        ],
        "question": "What is average and maximum salary of all employees.",
        "question_toks": [
            "What",
            "is",
            "average",
            "and",
            "maximum",
            "salary",
            "of",
            "all",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT avg(salary) ,  max(salary) FROM Employee",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "salary",
            ")",
            ",",
            "max",
            "(",
            "salary",
            ")",
            "FROM",
            "Employee"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "salary",
            ")",
            ",",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "employee"
        ],
        "question": "What is the average and largest salary of all employees?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "and",
            "largest",
            "salary",
            "of",
            "all",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT eid ,  name FROM Employee ORDER BY salary DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "eid",
            ",",
            "name",
            "FROM",
            "Employee",
            "ORDER",
            "BY",
            "salary",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "eid",
            ",",
            "name",
            "from",
            "employee",
            "order",
            "by",
            "salary",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the id and name of the employee with maximum salary.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "employee",
            "with",
            "maximum",
            "salary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT eid ,  name FROM Employee ORDER BY salary DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "eid",
            ",",
            "name",
            "FROM",
            "Employee",
            "ORDER",
            "BY",
            "salary",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "eid",
            ",",
            "name",
            "from",
            "employee",
            "order",
            "by",
            "salary",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and name of the employee with the highest salary?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "employee",
            "with",
            "the",
            "highest",
            "salary",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Employee ORDER BY salary ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Employee",
            "ORDER",
            "BY",
            "salary",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "employee",
            "order",
            "by",
            "salary",
            "asc",
            "limit",
            "value"
        ],
        "question": "Show the name of employees with three lowest salaries.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "employees",
            "with",
            "three",
            "lowest",
            "salaries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Employee ORDER BY salary ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Employee",
            "ORDER",
            "BY",
            "salary",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "employee",
            "order",
            "by",
            "salary",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the name of the 3 employees who get paid the least?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "3",
            "employees",
            "who",
            "get",
            "paid",
            "the",
            "least",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Employee WHERE salary  >  (SELECT avg(salary) FROM Employee)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Employee",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "salary",
            ")",
            "FROM",
            "Employee",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "employee",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employee",
            ")"
        ],
        "question": "Show names for all employees with salary more than the average.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "employees",
            "with",
            "salary",
            "more",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Employee WHERE salary  >  (SELECT avg(salary) FROM Employee)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Employee",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "salary",
            ")",
            "FROM",
            "Employee",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "employee",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employee",
            ")"
        ],
        "question": "What are the names of all employees who have a salary higher than average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "employees",
            "who",
            "have",
            "a",
            "salary",
            "higher",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT eid ,  salary FROM Employee WHERE name  =  'Mark Young'",
        "query_toks": [
            "SELECT",
            "eid",
            ",",
            "salary",
            "FROM",
            "Employee",
            "WHERE",
            "name",
            "=",
            "'Mark",
            "Young",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "eid",
            ",",
            "salary",
            "from",
            "employee",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Show the id and salary of Mark Young.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "and",
            "salary",
            "of",
            "Mark",
            "Young",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Mark Young\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT eid ,  salary FROM Employee WHERE name  =  'Mark Young'",
        "query_toks": [
            "SELECT",
            "eid",
            ",",
            "salary",
            "FROM",
            "Employee",
            "WHERE",
            "name",
            "=",
            "'Mark",
            "Young",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "eid",
            ",",
            "salary",
            "from",
            "employee",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the id and salary of the employee named Mark Young?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "salary",
            "of",
            "the",
            "employee",
            "named",
            "Mark",
            "Young",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Mark Young\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Flight",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flight"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight"
        ],
        "question": "How many flights do we have?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(*) FROM Flight",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flight"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight"
        ],
        "question": "What is the number of flights?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "flights",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno ,  origin ,  destination FROM Flight ORDER BY origin",
        "query_toks": [
            "SELECT",
            "flno",
            ",",
            "origin",
            ",",
            "destination",
            "FROM",
            "Flight",
            "ORDER",
            "BY",
            "origin"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            ",",
            "origin",
            ",",
            "destination",
            "from",
            "flight",
            "order",
            "by",
            "origin"
        ],
        "question": "Show flight number, origin, destination of all flights in the alphabetical order of the departure cities.",
        "question_toks": [
            "Show",
            "flight",
            "number",
            ",",
            "origin",
            ",",
            "destination",
            "of",
            "all",
            "flights",
            "in",
            "the",
            "alphabetical",
            "order",
            "of",
            "the",
            "departure",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno ,  origin ,  destination FROM Flight ORDER BY origin",
        "query_toks": [
            "SELECT",
            "flno",
            ",",
            "origin",
            ",",
            "destination",
            "FROM",
            "Flight",
            "ORDER",
            "BY",
            "origin"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            ",",
            "origin",
            ",",
            "destination",
            "from",
            "flight",
            "order",
            "by",
            "origin"
        ],
        "question": "What is the flight number, origin, and destination for all flights in alphabetical order by departure cities?",
        "question_toks": [
            "What",
            "is",
            "the",
            "flight",
            "number",
            ",",
            "origin",
            ",",
            "and",
            "destination",
            "for",
            "all",
            "flights",
            "in",
            "alphabetical",
            "order",
            "by",
            "departure",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno FROM Flight WHERE origin  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "flno",
            "FROM",
            "Flight",
            "WHERE",
            "origin",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            "from",
            "flight",
            "where",
            "origin",
            "=",
            "value"
        ],
        "question": "Show all flight number from Los Angeles.",
        "question_toks": [
            "Show",
            "all",
            "flight",
            "number",
            "from",
            "Los",
            "Angeles",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno FROM Flight WHERE origin  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "flno",
            "FROM",
            "Flight",
            "WHERE",
            "origin",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            "from",
            "flight",
            "where",
            "origin",
            "=",
            "value"
        ],
        "question": "What are the numbers of all flights coming from Los Angeles?",
        "question_toks": [
            "What",
            "are",
            "the",
            "numbers",
            "of",
            "all",
            "flights",
            "coming",
            "from",
            "Los",
            "Angeles",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT origin FROM Flight WHERE destination  =  \"Honolulu\"",
        "query_toks": [
            "SELECT",
            "origin",
            "FROM",
            "Flight",
            "WHERE",
            "destination",
            "=",
            "``",
            "Honolulu",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            "from",
            "flight",
            "where",
            "destination",
            "=",
            "value"
        ],
        "question": "Show origins of all flights with destination Honolulu.",
        "question_toks": [
            "Show",
            "origins",
            "of",
            "all",
            "flights",
            "with",
            "destination",
            "Honolulu",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Honolulu\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT origin FROM Flight WHERE destination  =  \"Honolulu\"",
        "query_toks": [
            "SELECT",
            "origin",
            "FROM",
            "Flight",
            "WHERE",
            "destination",
            "=",
            "``",
            "Honolulu",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            "from",
            "flight",
            "where",
            "destination",
            "=",
            "value"
        ],
        "question": "What are the origins of all flights that are headed to Honolulu?",
        "question_toks": [
            "What",
            "are",
            "the",
            "origins",
            "of",
            "all",
            "flights",
            "that",
            "are",
            "headed",
            "to",
            "Honolulu",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Honolulu\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT departure_date ,  arrival_date FROM Flight WHERE origin  =  \"Los Angeles\" AND destination  =  \"Honolulu\"",
        "query_toks": [
            "SELECT",
            "departure_date",
            ",",
            "arrival_date",
            "FROM",
            "Flight",
            "WHERE",
            "origin",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "destination",
            "=",
            "``",
            "Honolulu",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "departure_date",
            ",",
            "arrival_date",
            "from",
            "flight",
            "where",
            "origin",
            "=",
            "value",
            "and",
            "destination",
            "=",
            "value"
        ],
        "question": "Show me the departure date and arrival date for all flights from Los Angeles to Honolulu.",
        "question_toks": [
            "Show",
            "me",
            "the",
            "departure",
            "date",
            "and",
            "arrival",
            "date",
            "for",
            "all",
            "flights",
            "from",
            "Los",
            "Angeles",
            "to",
            "Honolulu",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Honolulu\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT departure_date ,  arrival_date FROM Flight WHERE origin  =  \"Los Angeles\" AND destination  =  \"Honolulu\"",
        "query_toks": [
            "SELECT",
            "departure_date",
            ",",
            "arrival_date",
            "FROM",
            "Flight",
            "WHERE",
            "origin",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "destination",
            "=",
            "``",
            "Honolulu",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "departure_date",
            ",",
            "arrival_date",
            "from",
            "flight",
            "where",
            "origin",
            "=",
            "value",
            "and",
            "destination",
            "=",
            "value"
        ],
        "question": "What are the departure and arrival dates of all flights from LA to Honolulu?",
        "question_toks": [
            "What",
            "are",
            "the",
            "departure",
            "and",
            "arrival",
            "dates",
            "of",
            "all",
            "flights",
            "from",
            "LA",
            "to",
            "Honolulu",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Honolulu\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno FROM Flight WHERE distance  >  2000",
        "query_toks": [
            "SELECT",
            "flno",
            "FROM",
            "Flight",
            "WHERE",
            "distance",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            "from",
            "flight",
            "where",
            "distance",
            ">",
            "value"
        ],
        "question": "Show flight number for all flights with more than 2000 distance.",
        "question_toks": [
            "Show",
            "flight",
            "number",
            "for",
            "all",
            "flights",
            "with",
            "more",
            "than",
            "2000",
            "distance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno FROM Flight WHERE distance  >  2000",
        "query_toks": [
            "SELECT",
            "flno",
            "FROM",
            "Flight",
            "WHERE",
            "distance",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            "from",
            "flight",
            "where",
            "distance",
            ">",
            "value"
        ],
        "question": "What are the numbers of all flights that can cover a distance of more than 2000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "numbers",
            "of",
            "all",
            "flights",
            "that",
            "can",
            "cover",
            "a",
            "distance",
            "of",
            "more",
            "than",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT avg(price) FROM Flight WHERE origin  =  \"Los Angeles\" AND destination  =  \"Honolulu\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "Flight",
            "WHERE",
            "origin",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "destination",
            "=",
            "``",
            "Honolulu",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "flight",
            "where",
            "origin",
            "=",
            "value",
            "and",
            "destination",
            "=",
            "value"
        ],
        "question": "What is the average price for flights from Los Angeles to Honolulu.",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "for",
            "flights",
            "from",
            "Los",
            "Angeles",
            "to",
            "Honolulu",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Honolulu\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT avg(price) FROM Flight WHERE origin  =  \"Los Angeles\" AND destination  =  \"Honolulu\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "Flight",
            "WHERE",
            "origin",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "destination",
            "=",
            "``",
            "Honolulu",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "flight",
            "where",
            "origin",
            "=",
            "value",
            "and",
            "destination",
            "=",
            "value"
        ],
        "question": "What is the average price for flights from LA to Honolulu?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "for",
            "flights",
            "from",
            "LA",
            "to",
            "Honolulu",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Honolulu\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT origin ,  destination FROM Flight WHERE price  >  300",
        "query_toks": [
            "SELECT",
            "origin",
            ",",
            "destination",
            "FROM",
            "Flight",
            "WHERE",
            "price",
            ">",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            ",",
            "destination",
            "from",
            "flight",
            "where",
            "price",
            ">",
            "value"
        ],
        "question": "Show origin and destination for flights with price higher than 300.",
        "question_toks": [
            "Show",
            "origin",
            "and",
            "destination",
            "for",
            "flights",
            "with",
            "price",
            "higher",
            "than",
            "300",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT origin ,  destination FROM Flight WHERE price  >  300",
        "query_toks": [
            "SELECT",
            "origin",
            ",",
            "destination",
            "FROM",
            "Flight",
            "WHERE",
            "price",
            ">",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            ",",
            "destination",
            "from",
            "flight",
            "where",
            "price",
            ">",
            "value"
        ],
        "question": "What is the origin and destination for all flights whose price is higher than 300?",
        "question_toks": [
            "What",
            "is",
            "the",
            "origin",
            "and",
            "destination",
            "for",
            "all",
            "flights",
            "whose",
            "price",
            "is",
            "higher",
            "than",
            "300",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno ,  distance FROM Flight ORDER BY price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "flno",
            ",",
            "distance",
            "FROM",
            "Flight",
            "ORDER",
            "BY",
            "price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            ",",
            "distance",
            "from",
            "flight",
            "order",
            "by",
            "price",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the flight number and distance of the flight with maximum price.",
        "question_toks": [
            "Show",
            "the",
            "flight",
            "number",
            "and",
            "distance",
            "of",
            "the",
            "flight",
            "with",
            "maximum",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno ,  distance FROM Flight ORDER BY price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "flno",
            ",",
            "distance",
            "FROM",
            "Flight",
            "ORDER",
            "BY",
            "price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            ",",
            "distance",
            "from",
            "flight",
            "order",
            "by",
            "price",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the flight number and its distance for the one with the maximum price?",
        "question_toks": [
            "What",
            "is",
            "the",
            "flight",
            "number",
            "and",
            "its",
            "distance",
            "for",
            "the",
            "one",
            "with",
            "the",
            "maximum",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno FROM Flight ORDER BY distance ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "flno",
            "FROM",
            "Flight",
            "ORDER",
            "BY",
            "distance",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            "from",
            "flight",
            "order",
            "by",
            "distance",
            "asc",
            "limit",
            "value"
        ],
        "question": "Show the flight number of flights with three lowest distances.",
        "question_toks": [
            "Show",
            "the",
            "flight",
            "number",
            "of",
            "flights",
            "with",
            "three",
            "lowest",
            "distances",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT flno FROM Flight ORDER BY distance ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "flno",
            "FROM",
            "Flight",
            "ORDER",
            "BY",
            "distance",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "flno",
            "from",
            "flight",
            "order",
            "by",
            "distance",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the numbers of the shortest flights?",
        "question_toks": [
            "What",
            "are",
            "the",
            "numbers",
            "of",
            "the",
            "shortest",
            "flights",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT avg(distance) ,  avg(price) FROM Flight WHERE origin  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "distance",
            ")",
            ",",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "Flight",
            "WHERE",
            "origin",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "distance",
            ")",
            ",",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "flight",
            "where",
            "origin",
            "=",
            "value"
        ],
        "question": "What is the average distance and average price for flights from Los Angeles.",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "distance",
            "and",
            "average",
            "price",
            "for",
            "flights",
            "from",
            "Los",
            "Angeles",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT avg(distance) ,  avg(price) FROM Flight WHERE origin  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "distance",
            ")",
            ",",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "Flight",
            "WHERE",
            "origin",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "distance",
            ")",
            ",",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "flight",
            "where",
            "origin",
            "=",
            "value"
        ],
        "question": "What is the average distance and price for all flights from LA?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "distance",
            "and",
            "price",
            "for",
            "all",
            "flights",
            "from",
            "LA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT origin ,  count(*) FROM Flight GROUP BY origin",
        "query_toks": [
            "SELECT",
            "origin",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flight",
            "GROUP",
            "BY",
            "origin"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight",
            "group",
            "by",
            "origin"
        ],
        "question": "Show all origins and the number of flights from each origin.",
        "question_toks": [
            "Show",
            "all",
            "origins",
            "and",
            "the",
            "number",
            "of",
            "flights",
            "from",
            "each",
            "origin",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT origin ,  count(*) FROM Flight GROUP BY origin",
        "query_toks": [
            "SELECT",
            "origin",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flight",
            "GROUP",
            "BY",
            "origin"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight",
            "group",
            "by",
            "origin"
        ],
        "question": "For each origin, how many flights came from there?",
        "question_toks": [
            "For",
            "each",
            "origin",
            ",",
            "how",
            "many",
            "flights",
            "came",
            "from",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT destination ,  count(*) FROM Flight GROUP BY destination",
        "query_toks": [
            "SELECT",
            "destination",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flight",
            "GROUP",
            "BY",
            "destination"
        ],
        "query_toks_no_value": [
            "select",
            "destination",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight",
            "group",
            "by",
            "destination"
        ],
        "question": "Show all destinations and the number of flights to each destination.",
        "question_toks": [
            "Show",
            "all",
            "destinations",
            "and",
            "the",
            "number",
            "of",
            "flights",
            "to",
            "each",
            "destination",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT destination ,  count(*) FROM Flight GROUP BY destination",
        "query_toks": [
            "SELECT",
            "destination",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flight",
            "GROUP",
            "BY",
            "destination"
        ],
        "query_toks_no_value": [
            "select",
            "destination",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight",
            "group",
            "by",
            "destination"
        ],
        "question": "What are the destinations and number of flights to each one?",
        "question_toks": [
            "What",
            "are",
            "the",
            "destinations",
            "and",
            "number",
            "of",
            "flights",
            "to",
            "each",
            "one",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT origin FROM Flight GROUP BY origin ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "origin",
            "FROM",
            "Flight",
            "GROUP",
            "BY",
            "origin",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            "from",
            "flight",
            "group",
            "by",
            "origin",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which origin has most number of flights?",
        "question_toks": [
            "Which",
            "origin",
            "has",
            "most",
            "number",
            "of",
            "flights",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT origin FROM Flight GROUP BY origin ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "origin",
            "FROM",
            "Flight",
            "GROUP",
            "BY",
            "origin",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            "from",
            "flight",
            "group",
            "by",
            "origin",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What place has the most flights coming from there?",
        "question_toks": [
            "What",
            "place",
            "has",
            "the",
            "most",
            "flights",
            "coming",
            "from",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT destination FROM Flight GROUP BY destination ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "destination",
            "FROM",
            "Flight",
            "GROUP",
            "BY",
            "destination",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "destination",
            "from",
            "flight",
            "group",
            "by",
            "destination",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Which destination has least number of flights?",
        "question_toks": [
            "Which",
            "destination",
            "has",
            "least",
            "number",
            "of",
            "flights",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT destination FROM Flight GROUP BY destination ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "destination",
            "FROM",
            "Flight",
            "GROUP",
            "BY",
            "destination",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "destination",
            "from",
            "flight",
            "group",
            "by",
            "destination",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What destination has the fewest number of flights?",
        "question_toks": [
            "What",
            "destination",
            "has",
            "the",
            "fewest",
            "number",
            "of",
            "flights",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid WHERE T1.flno  =  99",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Flight",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T1.flno",
            "=",
            "99"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "flight",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "flno",
            "=",
            "value"
        ],
        "question": "What is the aircraft name for the flight with number 99",
        "question_toks": [
            "What",
            "is",
            "the",
            "aircraft",
            "name",
            "for",
            "the",
            "flight",
            "with",
            "number",
            "99"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    99.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid WHERE T1.flno  =  99",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Flight",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T1.flno",
            "=",
            "99"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "flight",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "flno",
            "=",
            "value"
        ],
        "question": "What is the name of the aircraft that was on flight number 99?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "aircraft",
            "that",
            "was",
            "on",
            "flight",
            "number",
            "99",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    99.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.flno FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid WHERE T2.name  =  \"Airbus A340-300\"",
        "query_toks": [
            "SELECT",
            "T1.flno",
            "FROM",
            "Flight",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Airbus",
            "A340-300",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "flno",
            "from",
            "flight",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show all flight numbers with aircraft Airbus A340-300.",
        "question_toks": [
            "Show",
            "all",
            "flight",
            "numbers",
            "with",
            "aircraft",
            "Airbus",
            "A340-300",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Airbus A340-300\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.flno FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid WHERE T2.name  =  \"Airbus A340-300\"",
        "query_toks": [
            "SELECT",
            "T1.flno",
            "FROM",
            "Flight",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Airbus",
            "A340-300",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "flno",
            "from",
            "flight",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the flight numbers for the aircraft Airbus A340-300?",
        "question_toks": [
            "What",
            "are",
            "the",
            "flight",
            "numbers",
            "for",
            "the",
            "aircraft",
            "Airbus",
            "A340-300",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Airbus A340-300\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name ,  count(*) FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid GROUP BY T1.aid",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flight",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.aid",
            "GROUP",
            "BY",
            "T1.aid"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "group",
            "by",
            "t1",
            ".",
            "aid"
        ],
        "question": "Show aircraft names and number of flights for each aircraft.",
        "question_toks": [
            "Show",
            "aircraft",
            "names",
            "and",
            "number",
            "of",
            "flights",
            "for",
            "each",
            "aircraft",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name ,  count(*) FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid GROUP BY T1.aid",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Flight",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.aid",
            "GROUP",
            "BY",
            "T1.aid"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "group",
            "by",
            "t1",
            ".",
            "aid"
        ],
        "question": "What is the name of each aircraft and how many flights does each one complete?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "each",
            "aircraft",
            "and",
            "how",
            "many",
            "flights",
            "does",
            "each",
            "one",
            "complete",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid GROUP BY T1.aid HAVING count(*)  >= 2",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Flight",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.aid",
            "GROUP",
            "BY",
            "T1.aid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "flight",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "group",
            "by",
            "t1",
            ".",
            "aid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show names for all aircraft with at least two flights.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "aircraft",
            "with",
            "at",
            "least",
            "two",
            "flights",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid GROUP BY T1.aid HAVING count(*)  >= 2",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Flight",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.aid",
            "GROUP",
            "BY",
            "T1.aid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "flight",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "group",
            "by",
            "t1",
            ".",
            "aid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names for all aircrafts with at least 2 flights?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "for",
            "all",
            "aircrafts",
            "with",
            "at",
            "least",
            "2",
            "flights",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(DISTINCT eid) FROM Certificate",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "eid",
            ")",
            "FROM",
            "Certificate"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "eid",
            ")",
            "from",
            "certificate"
        ],
        "question": "How many employees have certificate.",
        "question_toks": [
            "How",
            "many",
            "employees",
            "have",
            "certificate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT count(DISTINCT eid) FROM Certificate",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "eid",
            ")",
            "FROM",
            "Certificate"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "eid",
            ")",
            "from",
            "certificate"
        ],
        "question": "What is the count of distinct employees with certificates?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "distinct",
            "employees",
            "with",
            "certificates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT eid FROM Employee EXCEPT SELECT eid FROM Certificate",
        "query_toks": [
            "SELECT",
            "eid",
            "FROM",
            "Employee",
            "EXCEPT",
            "SELECT",
            "eid",
            "FROM",
            "Certificate"
        ],
        "query_toks_no_value": [
            "select",
            "eid",
            "from",
            "employee",
            "except",
            "select",
            "eid",
            "from",
            "certificate"
        ],
        "question": "Show ids for all employees who don't have a certificate.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "employees",
            "who",
            "do",
            "n't",
            "have",
            "a",
            "certificate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT eid FROM Employee EXCEPT SELECT eid FROM Certificate",
        "query_toks": [
            "SELECT",
            "eid",
            "FROM",
            "Employee",
            "EXCEPT",
            "SELECT",
            "eid",
            "FROM",
            "Certificate"
        ],
        "query_toks_no_value": [
            "select",
            "eid",
            "from",
            "employee",
            "except",
            "select",
            "eid",
            "from",
            "certificate"
        ],
        "question": "What are the ids of all employees that don't have certificates?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "employees",
            "that",
            "do",
            "n't",
            "have",
            "certificates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T3.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T1.name  =  \"John Williams\"",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Williams",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show names for all aircrafts of which John Williams has certificates.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "aircrafts",
            "of",
            "which",
            "John",
            "Williams",
            "has",
            "certificates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"John Williams\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T3.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T1.name  =  \"John Williams\"",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Williams",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all aircrafts that John Williams have certificates to be able to fly?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "aircrafts",
            "that",
            "John",
            "Williams",
            "have",
            "certificates",
            "to",
            "be",
            "able",
            "to",
            "fly",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"John Williams\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.name  =  \"Boeing 737-800\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Boeing",
            "737-800",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show names for all employees who have certificate of Boeing 737-800.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "employees",
            "who",
            "have",
            "certificate",
            "of",
            "Boeing",
            "737-800",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Boeing 737-800\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.name  =  \"Boeing 737-800\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Boeing",
            "737-800",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all employees who have a certificate to fly Boeing 737-800?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "employees",
            "who",
            "have",
            "a",
            "certificate",
            "to",
            "fly",
            "Boeing",
            "737-800",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Boeing 737-800\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.name  =  \"Boeing 737-800\" INTERSECT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.name  =  \"Airbus A340-300\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Boeing",
            "737-800",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Airbus",
            "A340-300",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show names for all employees who have certificates on both Boeing 737-800 and Airbus A340-300.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "employees",
            "who",
            "have",
            "certificates",
            "on",
            "both",
            "Boeing",
            "737-800",
            "and",
            "Airbus",
            "A340-300",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Boeing 737-800\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Airbus A340-300\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.name  =  \"Boeing 737-800\" INTERSECT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.name  =  \"Airbus A340-300\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Boeing",
            "737-800",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Airbus",
            "A340-300",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all employees who can fly both the Boeing 737-800 and the Airbus A340-300?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "employees",
            "who",
            "can",
            "fly",
            "both",
            "the",
            "Boeing",
            "737-800",
            "and",
            "the",
            "Airbus",
            "A340-300",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Boeing 737-800\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Airbus A340-300\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.name  =  \"Boeing 737-800\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Employee",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Boeing",
            "737-800",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "employee",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show names for all employees who do not have certificate of Boeing 737-800.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "employees",
            "who",
            "do",
            "not",
            "have",
            "certificate",
            "of",
            "Boeing",
            "737-800",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Boeing 737-800\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.name  =  \"Boeing 737-800\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Employee",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Boeing",
            "737-800",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "employee",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all employees who are not certified to fly Boeing 737-800s?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "employees",
            "who",
            "are",
            "not",
            "certified",
            "to",
            "fly",
            "Boeing",
            "737-800s",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Boeing 737-800\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name FROM Certificate AS T1 JOIN Aircraft AS T2 ON T2.aid  =  T1.aid GROUP BY T1.aid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Certificate",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T2.aid",
            "=",
            "T1.aid",
            "GROUP",
            "BY",
            "T1.aid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "certificate",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "group",
            "by",
            "t1",
            ".",
            "aid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name of aircraft which fewest people have its certificate.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "aircraft",
            "which",
            "fewest",
            "people",
            "have",
            "its",
            "certificate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name FROM Certificate AS T1 JOIN Aircraft AS T2 ON T2.aid  =  T1.aid GROUP BY T1.aid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Certificate",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T2.aid",
            "=",
            "T1.aid",
            "GROUP",
            "BY",
            "T1.aid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "certificate",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "group",
            "by",
            "t1",
            ".",
            "aid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the aircraft that the least people are certified to fly?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "aircraft",
            "that",
            "the",
            "least",
            "people",
            "are",
            "certified",
            "to",
            "fly",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name FROM Certificate AS T1 JOIN Aircraft AS T2 ON T2.aid  =  T1.aid WHERE T2.distance  >  5000 GROUP BY T1.aid ORDER BY count(*)  >=  5",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Certificate",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T2.aid",
            "=",
            "T1.aid",
            "WHERE",
            "T2.distance",
            ">",
            "5000",
            "GROUP",
            "BY",
            "T1.aid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "certificate",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "distance",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "aid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the name and distance of the aircrafts with more than 5000 distance and which at least 5 people have its certificate.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "distance",
            "of",
            "the",
            "aircrafts",
            "with",
            "more",
            "than",
            "5000",
            "distance",
            "and",
            "which",
            "at",
            "least",
            "5",
            "people",
            "have",
            "its",
            "certificate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T2.name FROM Certificate AS T1 JOIN Aircraft AS T2 ON T2.aid  =  T1.aid WHERE T2.distance  >  5000 GROUP BY T1.aid ORDER BY count(*)  >=  5",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Certificate",
            "AS",
            "T1",
            "JOIN",
            "Aircraft",
            "AS",
            "T2",
            "ON",
            "T2.aid",
            "=",
            "T1.aid",
            "WHERE",
            "T2.distance",
            ">",
            "5000",
            "GROUP",
            "BY",
            "T1.aid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "certificate",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "distance",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "aid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the name and distance of every aircraft that can cover a distance of more than 5000 and which at least 5 people can fly?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "distance",
            "of",
            "every",
            "aircraft",
            "that",
            "can",
            "cover",
            "a",
            "distance",
            "of",
            "more",
            "than",
            "5000",
            "and",
            "which",
            "at",
            "least",
            "5",
            "people",
            "can",
            "fly",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.name ,  T1.salary FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid GROUP BY T1.eid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.salary",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "GROUP",
            "BY",
            "T1.eid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "salary",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "group",
            "by",
            "t1",
            ".",
            "eid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the salary and name of the employee who has the most number of aircraft certificates?",
        "question_toks": [
            "what",
            "is",
            "the",
            "salary",
            "and",
            "name",
            "of",
            "the",
            "employee",
            "who",
            "has",
            "the",
            "most",
            "number",
            "of",
            "aircraft",
            "certificates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.name ,  T1.salary FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid GROUP BY T1.eid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.salary",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "GROUP",
            "BY",
            "T1.eid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "salary",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "group",
            "by",
            "t1",
            ".",
            "eid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the salaray and name of the employee that is certified to fly the most planes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "salaray",
            "and",
            "name",
            "of",
            "the",
            "employee",
            "that",
            "is",
            "certified",
            "to",
            "fly",
            "the",
            "most",
            "planes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.distance  >  5000 GROUP BY T1.eid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.distance",
            ">",
            "5000",
            "GROUP",
            "BY",
            "T1.eid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "distance",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "eid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the salary and name of the employee who has the most number of certificates on aircrafts with distance more than 5000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "salary",
            "and",
            "name",
            "of",
            "the",
            "employee",
            "who",
            "has",
            "the",
            "most",
            "number",
            "of",
            "certificates",
            "on",
            "aircrafts",
            "with",
            "distance",
            "more",
            "than",
            "5000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_1",
        "query": "SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid  =  T2.eid JOIN Aircraft AS T3 ON T3.aid  =  T2.aid WHERE T3.distance  >  5000 GROUP BY T1.eid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Employee",
            "AS",
            "T1",
            "JOIN",
            "Certificate",
            "AS",
            "T2",
            "ON",
            "T1.eid",
            "=",
            "T2.eid",
            "JOIN",
            "Aircraft",
            "AS",
            "T3",
            "ON",
            "T3.aid",
            "=",
            "T2.aid",
            "WHERE",
            "T3.distance",
            ">",
            "5000",
            "GROUP",
            "BY",
            "T1.eid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "certificate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "eid",
            "=",
            "t2",
            ".",
            "eid",
            "join",
            "aircraft",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t3",
            ".",
            "distance",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "eid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the salaray and name of the employee with the most certificates to fly planes more than 5000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "salaray",
            "and",
            "name",
            "of",
            "the",
            "employee",
            "with",
            "the",
            "most",
            "certificates",
            "to",
            "fly",
            "planes",
            "more",
            "than",
            "5000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(DISTINCT allergy) FROM Allergy_type",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "allergy",
            ")",
            "FROM",
            "Allergy_type"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "allergy",
            ")",
            "from",
            "allergy_type"
        ],
        "question": "How many allergies are there?",
        "question_toks": [
            "How",
            "many",
            "allergies",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(DISTINCT allergy) FROM Allergy_type",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "allergy",
            ")",
            "FROM",
            "Allergy_type"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "allergy",
            ")",
            "from",
            "allergy_type"
        ],
        "question": "How many allergy entries are there?",
        "question_toks": [
            "How",
            "many",
            "allergy",
            "entries",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(DISTINCT allergytype) FROM Allergy_type",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "allergytype",
            ")",
            "FROM",
            "Allergy_type"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "allergytype",
            ")",
            "from",
            "allergy_type"
        ],
        "question": "How many different allergy types exist?",
        "question_toks": [
            "How",
            "many",
            "different",
            "allergy",
            "types",
            "exist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(DISTINCT allergytype) FROM Allergy_type",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "allergytype",
            ")",
            "FROM",
            "Allergy_type"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "allergytype",
            ")",
            "from",
            "allergy_type"
        ],
        "question": "How many distinct allergies are there?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "allergies",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT allergytype FROM Allergy_type",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "allergytype",
            "FROM",
            "Allergy_type"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "allergytype",
            "from",
            "allergy_type"
        ],
        "question": "Show all allergy types.",
        "question_toks": [
            "Show",
            "all",
            "allergy",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT allergytype FROM Allergy_type",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "allergytype",
            "FROM",
            "Allergy_type"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "allergytype",
            "from",
            "allergy_type"
        ],
        "question": "What are the different allergy types?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "allergy",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergy ,  allergytype FROM Allergy_type",
        "query_toks": [
            "SELECT",
            "allergy",
            ",",
            "allergytype",
            "FROM",
            "Allergy_type"
        ],
        "query_toks_no_value": [
            "select",
            "allergy",
            ",",
            "allergytype",
            "from",
            "allergy_type"
        ],
        "question": "Show all allergies and their types.",
        "question_toks": [
            "Show",
            "all",
            "allergies",
            "and",
            "their",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergy ,  allergytype FROM Allergy_type",
        "query_toks": [
            "SELECT",
            "allergy",
            ",",
            "allergytype",
            "FROM",
            "Allergy_type"
        ],
        "query_toks_no_value": [
            "select",
            "allergy",
            ",",
            "allergytype",
            "from",
            "allergy_type"
        ],
        "question": "What are the allergies and their types?",
        "question_toks": [
            "What",
            "are",
            "the",
            "allergies",
            "and",
            "their",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT allergy FROM Allergy_type WHERE allergytype  =  \"food\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "allergy",
            "FROM",
            "Allergy_type",
            "WHERE",
            "allergytype",
            "=",
            "``",
            "food",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "allergy",
            "from",
            "allergy_type",
            "where",
            "allergytype",
            "=",
            "value"
        ],
        "question": "Show all allergies with type food.",
        "question_toks": [
            "Show",
            "all",
            "allergies",
            "with",
            "type",
            "food",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"food\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT allergy FROM Allergy_type WHERE allergytype  =  \"food\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "allergy",
            "FROM",
            "Allergy_type",
            "WHERE",
            "allergytype",
            "=",
            "``",
            "food",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "allergy",
            "from",
            "allergy_type",
            "where",
            "allergytype",
            "=",
            "value"
        ],
        "question": "What are all the different food allergies?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "different",
            "food",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"food\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergytype FROM Allergy_type WHERE allergy  =  \"Cat\"",
        "query_toks": [
            "SELECT",
            "allergytype",
            "FROM",
            "Allergy_type",
            "WHERE",
            "allergy",
            "=",
            "``",
            "Cat",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "allergytype",
            "from",
            "allergy_type",
            "where",
            "allergy",
            "=",
            "value"
        ],
        "question": "What is the type of allergy Cat?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "of",
            "allergy",
            "Cat",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergytype FROM Allergy_type WHERE allergy  =  \"Cat\"",
        "query_toks": [
            "SELECT",
            "allergytype",
            "FROM",
            "Allergy_type",
            "WHERE",
            "allergy",
            "=",
            "``",
            "Cat",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "allergytype",
            "from",
            "allergy_type",
            "where",
            "allergy",
            "=",
            "value"
        ],
        "question": "What is allergy type of a cat allergy?",
        "question_toks": [
            "What",
            "is",
            "allergy",
            "type",
            "of",
            "a",
            "cat",
            "allergy",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Allergy_type WHERE allergytype  =  \"animal\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Allergy_type",
            "WHERE",
            "allergytype",
            "=",
            "``",
            "animal",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "allergy_type",
            "where",
            "allergytype",
            "=",
            "value"
        ],
        "question": "How many allergies have type animal?",
        "question_toks": [
            "How",
            "many",
            "allergies",
            "have",
            "type",
            "animal",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"animal\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Allergy_type WHERE allergytype  =  \"animal\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Allergy_type",
            "WHERE",
            "allergytype",
            "=",
            "``",
            "animal",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "allergy_type",
            "where",
            "allergytype",
            "=",
            "value"
        ],
        "question": "How many animal type allergies exist?",
        "question_toks": [
            "How",
            "many",
            "animal",
            "type",
            "allergies",
            "exist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"animal\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergytype ,  count(*) FROM Allergy_type GROUP BY allergytype",
        "query_toks": [
            "SELECT",
            "allergytype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Allergy_type",
            "GROUP",
            "BY",
            "allergytype"
        ],
        "query_toks_no_value": [
            "select",
            "allergytype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "allergy_type",
            "group",
            "by",
            "allergytype"
        ],
        "question": "Show all allergy types and the number of allergies in each type.",
        "question_toks": [
            "Show",
            "all",
            "allergy",
            "types",
            "and",
            "the",
            "number",
            "of",
            "allergies",
            "in",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergytype ,  count(*) FROM Allergy_type GROUP BY allergytype",
        "query_toks": [
            "SELECT",
            "allergytype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Allergy_type",
            "GROUP",
            "BY",
            "allergytype"
        ],
        "query_toks_no_value": [
            "select",
            "allergytype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "allergy_type",
            "group",
            "by",
            "allergytype"
        ],
        "question": "What are the allergy types and how many allergies correspond to each one?",
        "question_toks": [
            "What",
            "are",
            "the",
            "allergy",
            "types",
            "and",
            "how",
            "many",
            "allergies",
            "correspond",
            "to",
            "each",
            "one",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergytype FROM Allergy_type GROUP BY allergytype ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "allergytype",
            "FROM",
            "Allergy_type",
            "GROUP",
            "BY",
            "allergytype",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "allergytype",
            "from",
            "allergy_type",
            "group",
            "by",
            "allergytype",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which allergy type has most number of allergies?",
        "question_toks": [
            "Which",
            "allergy",
            "type",
            "has",
            "most",
            "number",
            "of",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergytype FROM Allergy_type GROUP BY allergytype ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "allergytype",
            "FROM",
            "Allergy_type",
            "GROUP",
            "BY",
            "allergytype",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "allergytype",
            "from",
            "allergy_type",
            "group",
            "by",
            "allergytype",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which allergy type is most common?",
        "question_toks": [
            "Which",
            "allergy",
            "type",
            "is",
            "most",
            "common",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergytype FROM Allergy_type GROUP BY allergytype ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "allergytype",
            "FROM",
            "Allergy_type",
            "GROUP",
            "BY",
            "allergytype",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "allergytype",
            "from",
            "allergy_type",
            "group",
            "by",
            "allergytype",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which allergy type has least number of allergies?",
        "question_toks": [
            "Which",
            "allergy",
            "type",
            "has",
            "least",
            "number",
            "of",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT allergytype FROM Allergy_type GROUP BY allergytype ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "allergytype",
            "FROM",
            "Allergy_type",
            "GROUP",
            "BY",
            "allergytype",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "allergytype",
            "from",
            "allergy_type",
            "group",
            "by",
            "allergytype",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which allergy type is the least common?",
        "question_toks": [
            "Which",
            "allergy",
            "type",
            "is",
            "the",
            "least",
            "common",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student"
        ],
        "question": "How many students are there?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student"
        ],
        "question": "What is the total number of students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Fname ,  Lname FROM Student",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student"
        ],
        "question": "Show first name and last name for all students.",
        "question_toks": [
            "Show",
            "first",
            "name",
            "and",
            "last",
            "name",
            "for",
            "all",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Fname ,  Lname FROM Student",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student"
        ],
        "question": "What are the full names of all students",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "all",
            "students"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(DISTINCT advisor) FROM Student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "advisor",
            ")",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "advisor",
            ")",
            "from",
            "student"
        ],
        "question": "How many different advisors are listed?",
        "question_toks": [
            "How",
            "many",
            "different",
            "advisors",
            "are",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(DISTINCT advisor) FROM Student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "advisor",
            ")",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "advisor",
            ")",
            "from",
            "student"
        ],
        "question": "How many advisors are there?",
        "question_toks": [
            "How",
            "many",
            "advisors",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT Major FROM Student",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Major",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "major",
            "from",
            "student"
        ],
        "question": "Show all majors.",
        "question_toks": [
            "Show",
            "all",
            "majors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT Major FROM Student",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Major",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "major",
            "from",
            "student"
        ],
        "question": "What are the different majors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "majors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT city_code FROM Student",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "city_code",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "city_code",
            "from",
            "student"
        ],
        "question": "Show all cities where students live.",
        "question_toks": [
            "Show",
            "all",
            "cities",
            "where",
            "students",
            "live",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT city_code FROM Student",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "city_code",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "city_code",
            "from",
            "student"
        ],
        "question": "What cities do students live in?",
        "question_toks": [
            "What",
            "cities",
            "do",
            "students",
            "live",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Fname ,  Lname ,  Age FROM Student WHERE Sex  =  'F'",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            ",",
            "Age",
            "FROM",
            "Student",
            "WHERE",
            "Sex",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            ",",
            "age",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "Show first name, last name, age for all female students. Their sex is F.",
        "question_toks": [
            "Show",
            "first",
            "name",
            ",",
            "last",
            "name",
            ",",
            "age",
            "for",
            "all",
            "female",
            "students",
            ".",
            "Their",
            "sex",
            "is",
            "F",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Fname ,  Lname ,  Age FROM Student WHERE Sex  =  'F'",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            ",",
            "Age",
            "FROM",
            "Student",
            "WHERE",
            "Sex",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            ",",
            "age",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "What are the full names and ages for all female students whose sex is F?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "and",
            "ages",
            "for",
            "all",
            "female",
            "students",
            "whose",
            "sex",
            "is",
            "F",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Student WHERE Sex  =  'M'",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "Sex",
            "=",
            "'M",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "Show student ids for all male students.",
        "question_toks": [
            "Show",
            "student",
            "ids",
            "for",
            "all",
            "male",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Student WHERE Sex  =  'M'",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "Sex",
            "=",
            "'M",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "What are the student ids for all male students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "student",
            "ids",
            "for",
            "all",
            "male",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student WHERE age  =  18",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "age",
            "=",
            "18"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "age",
            "=",
            "value"
        ],
        "question": "How many students are age 18?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "age",
            "18",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student WHERE age  =  18",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "age",
            "=",
            "18"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "age",
            "=",
            "value"
        ],
        "question": "How many students are 18 years old?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "18",
            "years",
            "old",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Student WHERE age  >  20",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "age",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "Show all student ids who are older than 20.",
        "question_toks": [
            "Show",
            "all",
            "student",
            "ids",
            "who",
            "are",
            "older",
            "than",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Student WHERE age  >  20",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "age",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "What are the student ids for students over 20 years old?",
        "question_toks": [
            "What",
            "are",
            "the",
            "student",
            "ids",
            "for",
            "students",
            "over",
            "20",
            "years",
            "old",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT city_code FROM Student WHERE LName  =  \"Kim\"",
        "query_toks": [
            "SELECT",
            "city_code",
            "FROM",
            "Student",
            "WHERE",
            "LName",
            "=",
            "``",
            "Kim",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            "from",
            "student",
            "where",
            "lname",
            "=",
            "value"
        ],
        "question": "Which city does the student whose last name is \"Kim\" live in?",
        "question_toks": [
            "Which",
            "city",
            "does",
            "the",
            "student",
            "whose",
            "last",
            "name",
            "is",
            "``",
            "Kim",
            "''",
            "live",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Kim\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT city_code FROM Student WHERE LName  =  \"Kim\"",
        "query_toks": [
            "SELECT",
            "city_code",
            "FROM",
            "Student",
            "WHERE",
            "LName",
            "=",
            "``",
            "Kim",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            "from",
            "student",
            "where",
            "lname",
            "=",
            "value"
        ],
        "question": "Give the city that the student whose family name is Kim lives in.",
        "question_toks": [
            "Give",
            "the",
            "city",
            "that",
            "the",
            "student",
            "whose",
            "family",
            "name",
            "is",
            "Kim",
            "lives",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Kim\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Advisor FROM Student WHERE StuID  =  1004",
        "query_toks": [
            "SELECT",
            "Advisor",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "=",
            "1004"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "where",
            "stuid",
            "=",
            "value"
        ],
        "question": "Who is the advisor of student with ID 1004?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "advisor",
            "of",
            "student",
            "with",
            "ID",
            "1004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1004.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Advisor FROM Student WHERE StuID  =  1004",
        "query_toks": [
            "SELECT",
            "Advisor",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "=",
            "1004"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "where",
            "stuid",
            "=",
            "value"
        ],
        "question": "Who advises student 1004?",
        "question_toks": [
            "Who",
            "advises",
            "student",
            "1004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1004.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student WHERE city_code  =  \"HKG\" OR city_code  =  \"CHI\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "city_code",
            "=",
            "``",
            "HKG",
            "''",
            "OR",
            "city_code",
            "=",
            "``",
            "CHI",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value",
            "or",
            "city_code",
            "=",
            "value"
        ],
        "question": "How many students live in HKG or CHI?",
        "question_toks": [
            "How",
            "many",
            "students",
            "live",
            "in",
            "HKG",
            "or",
            "CHI",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"HKG\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"CHI\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student WHERE city_code  =  \"HKG\" OR city_code  =  \"CHI\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "city_code",
            "=",
            "``",
            "HKG",
            "''",
            "OR",
            "city_code",
            "=",
            "``",
            "CHI",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value",
            "or",
            "city_code",
            "=",
            "value"
        ],
        "question": "Give the number of students living in either HKG or CHI.",
        "question_toks": [
            "Give",
            "the",
            "number",
            "of",
            "students",
            "living",
            "in",
            "either",
            "HKG",
            "or",
            "CHI",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"HKG\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"CHI\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT min(age) ,  avg(age) ,  max(age) FROM Student",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "age",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "from",
            "student"
        ],
        "question": "Show the minimum, average, and maximum age of all students.",
        "question_toks": [
            "Show",
            "the",
            "minimum",
            ",",
            "average",
            ",",
            "and",
            "maximum",
            "age",
            "of",
            "all",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT min(age) ,  avg(age) ,  max(age) FROM Student",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "age",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "from",
            "student"
        ],
        "question": "What is the minimum, mean, and maximum age across all students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "minimum",
            ",",
            "mean",
            ",",
            "and",
            "maximum",
            "age",
            "across",
            "all",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT LName FROM Student WHERE age  =  (SELECT min(age) FROM Student)",
        "query_toks": [
            "SELECT",
            "LName",
            "FROM",
            "Student",
            "WHERE",
            "age",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            "FROM",
            "Student",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "student",
            "where",
            "age",
            "=",
            "(",
            "select",
            "min",
            "(",
            "age",
            ")",
            "from",
            "student",
            ")"
        ],
        "question": "What is the last name of the youngest student?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "youngest",
            "student",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT LName FROM Student WHERE age  =  (SELECT min(age) FROM Student)",
        "query_toks": [
            "SELECT",
            "LName",
            "FROM",
            "Student",
            "WHERE",
            "age",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            "FROM",
            "Student",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "student",
            "where",
            "age",
            "=",
            "(",
            "select",
            "min",
            "(",
            "age",
            ")",
            "from",
            "student",
            ")"
        ],
        "question": "Provide the last name of the youngest student.",
        "question_toks": [
            "Provide",
            "the",
            "last",
            "name",
            "of",
            "the",
            "youngest",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Student WHERE age  =  (SELECT max(age) FROM Student)",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "age",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "Student",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "age",
            "=",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "student",
            ")"
        ],
        "question": "Show the student id of the oldest student.",
        "question_toks": [
            "Show",
            "the",
            "student",
            "id",
            "of",
            "the",
            "oldest",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Student WHERE age  =  (SELECT max(age) FROM Student)",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "age",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "Student",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "age",
            "=",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "student",
            ")"
        ],
        "question": "What student id corresponds to the oldest student?",
        "question_toks": [
            "What",
            "student",
            "id",
            "corresponds",
            "to",
            "the",
            "oldest",
            "student",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT major ,  count(*) FROM Student GROUP BY major",
        "query_toks": [
            "SELECT",
            "major",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "major"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "major"
        ],
        "question": "Show all majors and corresponding number of students.",
        "question_toks": [
            "Show",
            "all",
            "majors",
            "and",
            "corresponding",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT major ,  count(*) FROM Student GROUP BY major",
        "query_toks": [
            "SELECT",
            "major",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "major"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "major"
        ],
        "question": "How many students are there for each major?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "there",
            "for",
            "each",
            "major",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT major FROM Student GROUP BY major ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "major",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "major",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which major has most number of students?",
        "question_toks": [
            "Which",
            "major",
            "has",
            "most",
            "number",
            "of",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT major FROM Student GROUP BY major ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "major",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "major",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the largest major?",
        "question_toks": [
            "What",
            "is",
            "the",
            "largest",
            "major",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT age ,  count(*) FROM Student GROUP BY age",
        "query_toks": [
            "SELECT",
            "age",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "age"
        ],
        "question": "Show all ages and corresponding number of students.",
        "question_toks": [
            "Show",
            "all",
            "ages",
            "and",
            "corresponding",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT age ,  count(*) FROM Student GROUP BY age",
        "query_toks": [
            "SELECT",
            "age",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "age"
        ],
        "question": "How old is each student and how many students are each age?",
        "question_toks": [
            "How",
            "old",
            "is",
            "each",
            "student",
            "and",
            "how",
            "many",
            "students",
            "are",
            "each",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT avg(age) ,  sex FROM Student GROUP BY sex",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "sex",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "sex",
            "from",
            "student",
            "group",
            "by",
            "sex"
        ],
        "question": "Show the average age for male and female students.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "age",
            "for",
            "male",
            "and",
            "female",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT avg(age) ,  sex FROM Student GROUP BY sex",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "sex",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "sex",
            "from",
            "student",
            "group",
            "by",
            "sex"
        ],
        "question": "What are the average ages for male and female students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "ages",
            "for",
            "male",
            "and",
            "female",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT city_code ,  count(*) FROM Student GROUP BY city_code",
        "query_toks": [
            "SELECT",
            "city_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "city_code"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "city_code"
        ],
        "question": "Show all cities and corresponding number of students.",
        "question_toks": [
            "Show",
            "all",
            "cities",
            "and",
            "corresponding",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT city_code ,  count(*) FROM Student GROUP BY city_code",
        "query_toks": [
            "SELECT",
            "city_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "city_code"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "city_code"
        ],
        "question": "How many students live in each city?",
        "question_toks": [
            "How",
            "many",
            "students",
            "live",
            "in",
            "each",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT advisor ,  count(*) FROM Student GROUP BY advisor",
        "query_toks": [
            "SELECT",
            "advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "advisor"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "advisor"
        ],
        "question": "Show all advisors and corresponding number of students.",
        "question_toks": [
            "Show",
            "all",
            "advisors",
            "and",
            "corresponding",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT advisor ,  count(*) FROM Student GROUP BY advisor",
        "query_toks": [
            "SELECT",
            "advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "advisor"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "advisor"
        ],
        "question": "How many students does each advisor have?",
        "question_toks": [
            "How",
            "many",
            "students",
            "does",
            "each",
            "advisor",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT advisor FROM Student GROUP BY advisor ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "advisor",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "advisor",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which advisor has most number of students?",
        "question_toks": [
            "Which",
            "advisor",
            "has",
            "most",
            "number",
            "of",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT advisor FROM Student GROUP BY advisor ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "advisor",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "advisor",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the advisor with the most students.",
        "question_toks": [
            "Give",
            "the",
            "advisor",
            "with",
            "the",
            "most",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Has_allergy WHERE Allergy  =  \"Cat\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Cat",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value"
        ],
        "question": "How many students have cat allergies?",
        "question_toks": [
            "How",
            "many",
            "students",
            "have",
            "cat",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Has_allergy WHERE Allergy  =  \"Cat\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Cat",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value"
        ],
        "question": "How many students are affected by cat allergies?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "affected",
            "by",
            "cat",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Has_allergy GROUP BY StuID HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "GROUP",
            "BY",
            "StuID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "has_allergy",
            "group",
            "by",
            "stuid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show all student IDs who have at least two allergies.",
        "question_toks": [
            "Show",
            "all",
            "student",
            "IDs",
            "who",
            "have",
            "at",
            "least",
            "two",
            "allergies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Has_allergy GROUP BY StuID HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "GROUP",
            "BY",
            "StuID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "has_allergy",
            "group",
            "by",
            "stuid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the students ids of students who have more than one allergy?",
        "question_toks": [
            "What",
            "are",
            "the",
            "students",
            "ids",
            "of",
            "students",
            "who",
            "have",
            "more",
            "than",
            "one",
            "allergy",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Student EXCEPT SELECT StuID FROM Has_allergy",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "except",
            "select",
            "stuid",
            "from",
            "has_allergy"
        ],
        "question": "What are the student ids of students who don't have any allergies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "student",
            "ids",
            "of",
            "students",
            "who",
            "do",
            "n't",
            "have",
            "any",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT StuID FROM Student EXCEPT SELECT StuID FROM Has_allergy",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "except",
            "select",
            "stuid",
            "from",
            "has_allergy"
        ],
        "question": "Which students are unaffected by allergies?",
        "question_toks": [
            "Which",
            "students",
            "are",
            "unaffected",
            "by",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM has_allergy AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T2.sex  =  \"F\" AND T1.allergy  =  \"Milk\" OR T1.allergy  =  \"Eggs\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T2.sex",
            "=",
            "``",
            "F",
            "''",
            "AND",
            "T1.allergy",
            "=",
            "``",
            "Milk",
            "''",
            "OR",
            "T1.allergy",
            "=",
            "``",
            "Eggs",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "sex",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "allergy",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "allergy",
            "=",
            "value"
        ],
        "question": "How many female students have milk or egg allergies?",
        "question_toks": [
            "How",
            "many",
            "female",
            "students",
            "have",
            "milk",
            "or",
            "egg",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Milk\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Eggs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM has_allergy AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T2.sex  =  \"F\" AND T1.allergy  =  \"Milk\" OR T1.allergy  =  \"Eggs\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T2.sex",
            "=",
            "``",
            "F",
            "''",
            "AND",
            "T1.allergy",
            "=",
            "``",
            "Milk",
            "''",
            "OR",
            "T1.allergy",
            "=",
            "``",
            "Eggs",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "sex",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "allergy",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "allergy",
            "=",
            "value"
        ],
        "question": "How many students who are female are allergic to milk or eggs?",
        "question_toks": [
            "How",
            "many",
            "students",
            "who",
            "are",
            "female",
            "are",
            "allergic",
            "to",
            "milk",
            "or",
            "eggs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Milk\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Eggs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy  =  T2.allergy WHERE T2.allergytype  =  \"food\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_type",
            "AS",
            "T2",
            "ON",
            "T1.allergy",
            "=",
            "T2.allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value"
        ],
        "question": "How many students have a food allergy?",
        "question_toks": [
            "How",
            "many",
            "students",
            "have",
            "a",
            "food",
            "allergy",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"food\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy  =  T2.allergy WHERE T2.allergytype  =  \"food\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_type",
            "AS",
            "T2",
            "ON",
            "T1.allergy",
            "=",
            "T2.allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value"
        ],
        "question": "How many students are affected by food related allergies?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "affected",
            "by",
            "food",
            "related",
            "allergies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"food\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Allergy FROM Has_allergy GROUP BY Allergy ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Allergy",
            "FROM",
            "Has_allergy",
            "GROUP",
            "BY",
            "Allergy",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "allergy",
            "from",
            "has_allergy",
            "group",
            "by",
            "allergy",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which allergy has most number of students affected?",
        "question_toks": [
            "Which",
            "allergy",
            "has",
            "most",
            "number",
            "of",
            "students",
            "affected",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Allergy FROM Has_allergy GROUP BY Allergy ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Allergy",
            "FROM",
            "Has_allergy",
            "GROUP",
            "BY",
            "Allergy",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "allergy",
            "from",
            "has_allergy",
            "group",
            "by",
            "allergy",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which allergy is the most common?",
        "question_toks": [
            "Which",
            "allergy",
            "is",
            "the",
            "most",
            "common",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Allergy ,  count(*) FROM Has_allergy GROUP BY Allergy",
        "query_toks": [
            "SELECT",
            "Allergy",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Has_allergy",
            "GROUP",
            "BY",
            "Allergy"
        ],
        "query_toks_no_value": [
            "select",
            "allergy",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "group",
            "by",
            "allergy"
        ],
        "question": "Show all allergies with number of students affected.",
        "question_toks": [
            "Show",
            "all",
            "allergies",
            "with",
            "number",
            "of",
            "students",
            "affected",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT Allergy ,  count(*) FROM Has_allergy GROUP BY Allergy",
        "query_toks": [
            "SELECT",
            "Allergy",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Has_allergy",
            "GROUP",
            "BY",
            "Allergy"
        ],
        "query_toks_no_value": [
            "select",
            "allergy",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "group",
            "by",
            "allergy"
        ],
        "question": "How many students have each different allergy?",
        "question_toks": [
            "How",
            "many",
            "students",
            "have",
            "each",
            "different",
            "allergy",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT T2.allergytype ,  count(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy  =  T2.allergy GROUP BY T2.allergytype",
        "query_toks": [
            "SELECT",
            "T2.allergytype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_type",
            "AS",
            "T2",
            "ON",
            "T1.allergy",
            "=",
            "T2.allergy",
            "GROUP",
            "BY",
            "T2.allergytype"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "allergytype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "group",
            "by",
            "t2",
            ".",
            "allergytype"
        ],
        "question": "Show all allergy type with number of students affected.",
        "question_toks": [
            "Show",
            "all",
            "allergy",
            "type",
            "with",
            "number",
            "of",
            "students",
            "affected",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT T2.allergytype ,  count(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy  =  T2.allergy GROUP BY T2.allergytype",
        "query_toks": [
            "SELECT",
            "T2.allergytype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_type",
            "AS",
            "T2",
            "ON",
            "T1.allergy",
            "=",
            "T2.allergy",
            "GROUP",
            "BY",
            "T2.allergytype"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "allergytype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "group",
            "by",
            "t2",
            ".",
            "allergytype"
        ],
        "question": "How many students are affected by each allergy type?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "affected",
            "by",
            "each",
            "allergy",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT lname ,  age FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Milk\" INTERSECT SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Cat\")",
        "query_toks": [
            "SELECT",
            "lname",
            ",",
            "age",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Milk",
            "''",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Cat",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            ",",
            "age",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            "intersect",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            ")"
        ],
        "question": "Find the last name and age of the student who has allergy to both milk and cat.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "and",
            "age",
            "of",
            "the",
            "student",
            "who",
            "has",
            "allergy",
            "to",
            "both",
            "milk",
            "and",
            "cat",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Milk\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                3,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Cat\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT lname ,  age FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Milk\" INTERSECT SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Cat\")",
        "query_toks": [
            "SELECT",
            "lname",
            ",",
            "age",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Milk",
            "''",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Cat",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            ",",
            "age",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            "intersect",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            ")"
        ],
        "question": "What are the last names and ages of the students who are allergic to milk and cat?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "and",
            "ages",
            "of",
            "the",
            "students",
            "who",
            "are",
            "allergic",
            "to",
            "milk",
            "and",
            "cat",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Milk\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                3,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Cat\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT T1.Allergy ,  T1.AllergyType FROM Allergy_type AS T1 JOIN Has_allergy AS T2 ON T1.Allergy  =  T2.Allergy JOIN Student AS T3 ON T3.StuID  =  T2.StuID WHERE T3.Fname  =  \"Lisa\" ORDER BY T1.Allergy",
        "query_toks": [
            "SELECT",
            "T1.Allergy",
            ",",
            "T1.AllergyType",
            "FROM",
            "Allergy_type",
            "AS",
            "T1",
            "JOIN",
            "Has_allergy",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "JOIN",
            "Student",
            "AS",
            "T3",
            "ON",
            "T3.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T3.Fname",
            "=",
            "``",
            "Lisa",
            "''",
            "ORDER",
            "BY",
            "T1.Allergy"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "allergy",
            ",",
            "t1",
            ".",
            "allergytype",
            "from",
            "allergy_type",
            "as",
            "t1",
            "join",
            "has_allergy",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "allergy"
        ],
        "question": "What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies.",
        "question_toks": [
            "What",
            "are",
            "the",
            "allergies",
            "and",
            "their",
            "types",
            "that",
            "the",
            "student",
            "with",
            "first",
            "name",
            "Lisa",
            "has",
            "?",
            "And",
            "order",
            "the",
            "result",
            "by",
            "name",
            "of",
            "allergies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Lisa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT T1.Allergy ,  T1.AllergyType FROM Allergy_type AS T1 JOIN Has_allergy AS T2 ON T1.Allergy  =  T2.Allergy JOIN Student AS T3 ON T3.StuID  =  T2.StuID WHERE T3.Fname  =  \"Lisa\" ORDER BY T1.Allergy",
        "query_toks": [
            "SELECT",
            "T1.Allergy",
            ",",
            "T1.AllergyType",
            "FROM",
            "Allergy_type",
            "AS",
            "T1",
            "JOIN",
            "Has_allergy",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "JOIN",
            "Student",
            "AS",
            "T3",
            "ON",
            "T3.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T3.Fname",
            "=",
            "``",
            "Lisa",
            "''",
            "ORDER",
            "BY",
            "T1.Allergy"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "allergy",
            ",",
            "t1",
            ".",
            "allergytype",
            "from",
            "allergy_type",
            "as",
            "t1",
            "join",
            "has_allergy",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "allergy"
        ],
        "question": "What are the allergies the girl named Lisa has? And what are the types of them? Order the result by allergy names.",
        "question_toks": [
            "What",
            "are",
            "the",
            "allergies",
            "the",
            "girl",
            "named",
            "Lisa",
            "has",
            "?",
            "And",
            "what",
            "are",
            "the",
            "types",
            "of",
            "them",
            "?",
            "Order",
            "the",
            "result",
            "by",
            "allergy",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Lisa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT fname ,  sex FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Milk\" EXCEPT SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Cat\")",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "sex",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Milk",
            "''",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Cat",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "sex",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            "except",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            ")"
        ],
        "question": "Find the first name and gender of the student who has allergy to milk but not cat.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "gender",
            "of",
            "the",
            "student",
            "who",
            "has",
            "allergy",
            "to",
            "milk",
            "but",
            "not",
            "cat",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Milk\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                3,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Cat\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        }
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT fname ,  sex FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Milk\" EXCEPT SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Cat\")",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "sex",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Milk",
            "''",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Cat",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "sex",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            "except",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            ")"
        ],
        "question": "What are the first name and gender of the students who have allergy to milk but can put up with cats?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "gender",
            "of",
            "the",
            "students",
            "who",
            "have",
            "allergy",
            "to",
            "milk",
            "but",
            "can",
            "put",
            "up",
            "with",
            "cats",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Milk\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                3,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Cat\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        }
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT avg(age) FROM Student WHERE StuID IN ( SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"food\" INTERSECT SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"animal\")",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "animal",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            ")"
        ],
        "question": "Find the average age of the students who have allergies with food and animal types.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "the",
            "students",
            "who",
            "have",
            "allergies",
            "with",
            "food",
            "and",
            "animal",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"food\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ],
                                    [
                                        "table_unit",
                                        0
                                    ]
                                ],
                                "conds": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                4,
                                                false
                                            ],
                                            null
                                        ],
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                3,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"animal\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT avg(age) FROM Student WHERE StuID IN ( SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"food\" INTERSECT SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"animal\")",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "animal",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            ")"
        ],
        "question": "How old are the students with allergies to food and animal types on average?",
        "question_toks": [
            "How",
            "old",
            "are",
            "the",
            "students",
            "with",
            "allergies",
            "to",
            "food",
            "and",
            "animal",
            "types",
            "on",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"food\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ],
                                    [
                                        "table_unit",
                                        0
                                    ]
                                ],
                                "conds": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                4,
                                                false
                                            ],
                                            null
                                        ],
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                3,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"animal\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT fname ,  lname FROM Student WHERE StuID NOT IN (SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"food\")",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            ")"
        ],
        "question": "List the first and last name of the students who do not have any food type allergy.",
        "question_toks": [
            "List",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "students",
            "who",
            "do",
            "not",
            "have",
            "any",
            "food",
            "type",
            "allergy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"food\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT fname ,  lname FROM Student WHERE StuID NOT IN (SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"food\")",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            ")"
        ],
        "question": "What is the full name of each student who is not allergic to any type of food.",
        "question_toks": [
            "What",
            "is",
            "the",
            "full",
            "name",
            "of",
            "each",
            "student",
            "who",
            "is",
            "not",
            "allergic",
            "to",
            "any",
            "type",
            "of",
            "food",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"food\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student WHERE sex  =  \"M\" AND StuID IN (SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"food\")",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "sex",
            "=",
            "``",
            "M",
            "''",
            "AND",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "stuid",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            ")"
        ],
        "question": "Find the number of male (sex is 'M') students who have some food type allery.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "male",
            "(",
            "sex",
            "is",
            "'M",
            "'",
            ")",
            "students",
            "who",
            "have",
            "some",
            "food",
            "type",
            "allery",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"food\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student WHERE sex  =  \"M\" AND StuID IN (SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"food\")",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "sex",
            "=",
            "``",
            "M",
            "''",
            "AND",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "stuid",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            ")"
        ],
        "question": "How many male students (sex is 'M') are allergic to any type of food?",
        "question_toks": [
            "How",
            "many",
            "male",
            "students",
            "(",
            "sex",
            "is",
            "'M",
            "'",
            ")",
            "are",
            "allergic",
            "to",
            "any",
            "type",
            "of",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"food\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT T1.fname ,  T1.city_code FROM Student AS T1 JOIN Has_Allergy AS T2 ON T1.stuid  =  T2.stuid WHERE T2.Allergy  =  \"Milk\" OR T2.Allergy  =  \"Cat\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.fname",
            ",",
            "T1.city_code",
            "FROM",
            "Student",
            "AS",
            "T1",
            "JOIN",
            "Has_Allergy",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T2.Allergy",
            "=",
            "``",
            "Milk",
            "''",
            "OR",
            "T2.Allergy",
            "=",
            "``",
            "Cat",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "city_code",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "has_allergy",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "allergy",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "allergy",
            "=",
            "value"
        ],
        "question": "Find the different first names and cities of the students who have allergy to milk or cat.",
        "question_toks": [
            "Find",
            "the",
            "different",
            "first",
            "names",
            "and",
            "cities",
            "of",
            "the",
            "students",
            "who",
            "have",
            "allergy",
            "to",
            "milk",
            "or",
            "cat",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Milk\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT DISTINCT T1.fname ,  T1.city_code FROM Student AS T1 JOIN Has_Allergy AS T2 ON T1.stuid  =  T2.stuid WHERE T2.Allergy  =  \"Milk\" OR T2.Allergy  =  \"Cat\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.fname",
            ",",
            "T1.city_code",
            "FROM",
            "Student",
            "AS",
            "T1",
            "JOIN",
            "Has_Allergy",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T2.Allergy",
            "=",
            "``",
            "Milk",
            "''",
            "OR",
            "T2.Allergy",
            "=",
            "``",
            "Cat",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "city_code",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "has_allergy",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "allergy",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "allergy",
            "=",
            "value"
        ],
        "question": "What are the distinct first names and cities of the students who have allergy either to milk or to cat?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "first",
            "names",
            "and",
            "cities",
            "of",
            "the",
            "students",
            "who",
            "have",
            "allergy",
            "either",
            "to",
            "milk",
            "or",
            "to",
            "cat",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Milk\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Cat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student WHERE age  >  18 AND StuID NOT IN ( SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"food\" OR T2.allergytype  =  \"animal\")",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "age",
            ">",
            "18",
            "AND",
            "StuID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''",
            "OR",
            "T2.allergytype",
            "=",
            "``",
            "animal",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value",
            "and",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            ")"
        ],
        "question": "Find the number of students who are older than 18 and do not have allergy to either food or animal.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "who",
            "are",
            "older",
            "than",
            "18",
            "and",
            "do",
            "not",
            "have",
            "allergy",
            "to",
            "either",
            "food",
            "or",
            "animal",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ],
                "and",
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"food\"",
                                null
                            ],
                            "or",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"animal\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT count(*) FROM Student WHERE age  >  18 AND StuID NOT IN ( SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy  =  T2.Allergy WHERE T2.allergytype  =  \"food\" OR T2.allergytype  =  \"animal\")",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "age",
            ">",
            "18",
            "AND",
            "StuID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "AS",
            "T1",
            "JOIN",
            "Allergy_Type",
            "AS",
            "T2",
            "ON",
            "T1.Allergy",
            "=",
            "T2.Allergy",
            "WHERE",
            "T2.allergytype",
            "=",
            "``",
            "food",
            "''",
            "OR",
            "T2.allergytype",
            "=",
            "``",
            "animal",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value",
            "and",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "as",
            "t1",
            "join",
            "allergy_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "allergy",
            "=",
            "t2",
            ".",
            "allergy",
            "where",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "allergytype",
            "=",
            "value",
            ")"
        ],
        "question": "How many students are over 18 and do not have allergy to food type or animal type?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "over",
            "18",
            "and",
            "do",
            "not",
            "have",
            "allergy",
            "to",
            "food",
            "type",
            "or",
            "animal",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ],
                "and",
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"food\"",
                                null
                            ],
                            "or",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"animal\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT fname ,  major FROM Student WHERE StuID NOT IN (SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Soy\")",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "major",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Soy",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "major",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            ")"
        ],
        "question": "Find the first name and major of the students who are not allegry to soy.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "major",
            "of",
            "the",
            "students",
            "who",
            "are",
            "not",
            "allegry",
            "to",
            "soy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Soy\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "allergy_1",
        "query": "SELECT fname ,  major FROM Student WHERE StuID NOT IN (SELECT StuID FROM Has_allergy WHERE Allergy  =  \"Soy\")",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "major",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Has_allergy",
            "WHERE",
            "Allergy",
            "=",
            "``",
            "Soy",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "major",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "has_allergy",
            "where",
            "allergy",
            "=",
            "value",
            ")"
        ],
        "question": "What are the first name and major of the students who are able to consume soy?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "major",
            "of",
            "the",
            "students",
            "who",
            "are",
            "able",
            "to",
            "consume",
            "soy",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Soy\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_country ,  COUNT(*) FROM invoices GROUP BY billing_country ORDER BY count(*) DESC LIMIT 5;",
        "query_toks": [
            "SELECT",
            "billing_country",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "invoices",
            "GROUP",
            "BY",
            "billing_country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "billing_country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "A list of the top 5 countries by number of invoices. List country name and number of invoices.",
        "question_toks": [
            "A",
            "list",
            "of",
            "the",
            "top",
            "5",
            "countries",
            "by",
            "number",
            "of",
            "invoices",
            ".",
            "List",
            "country",
            "name",
            "and",
            "number",
            "of",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_country ,  COUNT(*) FROM invoices GROUP BY billing_country ORDER BY count(*) DESC LIMIT 5;",
        "query_toks": [
            "SELECT",
            "billing_country",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "invoices",
            "GROUP",
            "BY",
            "billing_country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "billing_country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the top 5 countries by number of invoices and how many do they have?",
        "question_toks": [
            "What",
            "are",
            "the",
            "top",
            "5",
            "countries",
            "by",
            "number",
            "of",
            "invoices",
            "and",
            "how",
            "many",
            "do",
            "they",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_country ,  SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC LIMIT 8;",
        "query_toks": [
            "SELECT",
            "billing_country",
            ",",
            "SUM",
            "(",
            "total",
            ")",
            "FROM",
            "invoices",
            "GROUP",
            "BY",
            "billing_country",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "total",
            ")",
            "DESC",
            "LIMIT",
            "8",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_country",
            ",",
            "sum",
            "(",
            "total",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "billing_country",
            "order",
            "by",
            "sum",
            "(",
            "total",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.",
        "question_toks": [
            "A",
            "list",
            "of",
            "the",
            "top",
            "8",
            "countries",
            "by",
            "gross/total",
            "invoice",
            "size",
            ".",
            "List",
            "country",
            "name",
            "and",
            "gross",
            "invoice",
            "size",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 8,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_country ,  SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC LIMIT 8;",
        "query_toks": [
            "SELECT",
            "billing_country",
            ",",
            "SUM",
            "(",
            "total",
            ")",
            "FROM",
            "invoices",
            "GROUP",
            "BY",
            "billing_country",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "total",
            ")",
            "DESC",
            "LIMIT",
            "8",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_country",
            ",",
            "sum",
            "(",
            "total",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "billing_country",
            "order",
            "by",
            "sum",
            "(",
            "total",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the top 8 countries by total invoice size and what are those sizes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "top",
            "8",
            "countries",
            "by",
            "total",
            "invoice",
            "size",
            "and",
            "what",
            "are",
            "those",
            "sizes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 8,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_country ,  AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10;",
        "query_toks": [
            "SELECT",
            "billing_country",
            ",",
            "AVG",
            "(",
            "total",
            ")",
            "FROM",
            "invoices",
            "GROUP",
            "BY",
            "billing_country",
            "ORDER",
            "BY",
            "AVG",
            "(",
            "total",
            ")",
            "DESC",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_country",
            ",",
            "avg",
            "(",
            "total",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "billing_country",
            "order",
            "by",
            "avg",
            "(",
            "total",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "A list of the top 10 countries by average invoice size. List country name and average invoice size.",
        "question_toks": [
            "A",
            "list",
            "of",
            "the",
            "top",
            "10",
            "countries",
            "by",
            "average",
            "invoice",
            "size",
            ".",
            "List",
            "country",
            "name",
            "and",
            "average",
            "invoice",
            "size",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_country ,  AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10;",
        "query_toks": [
            "SELECT",
            "billing_country",
            ",",
            "AVG",
            "(",
            "total",
            ")",
            "FROM",
            "invoices",
            "GROUP",
            "BY",
            "billing_country",
            "ORDER",
            "BY",
            "AVG",
            "(",
            "total",
            ")",
            "DESC",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_country",
            ",",
            "avg",
            "(",
            "total",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "billing_country",
            "order",
            "by",
            "avg",
            "(",
            "total",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the countries and average invoice size of the top countries by size?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "countries",
            "and",
            "average",
            "invoice",
            "size",
            "of",
            "the",
            "top",
            "countries",
            "by",
            "size",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name ,  T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id ORDER BY T2.invoice_date DESC LIMIT 5;",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T2.customer_id",
            "=",
            "T1.id",
            "ORDER",
            "BY",
            "T2.invoice_date",
            "DESC",
            "LIMIT",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "t2",
            ".",
            "invoice_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find out 5 customers who most recently purchased something. List customers' first and last name.",
        "question_toks": [
            "Find",
            "out",
            "5",
            "customers",
            "who",
            "most",
            "recently",
            "purchased",
            "something",
            ".",
            "List",
            "customers",
            "'",
            "first",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name ,  T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id ORDER BY T2.invoice_date DESC LIMIT 5;",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T2.customer_id",
            "=",
            "T1.id",
            "ORDER",
            "BY",
            "T2.invoice_date",
            "DESC",
            "LIMIT",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "t2",
            ".",
            "invoice_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the first and last names of the 5 customers who purchased something most recently?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "5",
            "customers",
            "who",
            "purchased",
            "something",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 10;",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T2.customer_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find out the top 10 customers by total number of orders. List customers' first and last name and the number of total orders.",
        "question_toks": [
            "Find",
            "out",
            "the",
            "top",
            "10",
            "customers",
            "by",
            "total",
            "number",
            "of",
            "orders",
            ".",
            "List",
            "customers",
            "'",
            "first",
            "and",
            "last",
            "name",
            "and",
            "the",
            "number",
            "of",
            "total",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 10;",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T2.customer_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the top 10 customers' first and last names by total number of orders and how many orders did they make?",
        "question_toks": [
            "What",
            "are",
            "the",
            "top",
            "10",
            "customers",
            "'",
            "first",
            "and",
            "last",
            "names",
            "by",
            "total",
            "number",
            "of",
            "orders",
            "and",
            "how",
            "many",
            "orders",
            "did",
            "they",
            "make",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10;",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "SUM",
            "(",
            "T2.total",
            ")",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T2.customer_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "T2.total",
            ")",
            "DESC",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "total",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "total",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the top 10 customers by total gross sales. List customers' first and last name and total gross sales.",
        "question_toks": [
            "List",
            "the",
            "top",
            "10",
            "customers",
            "by",
            "total",
            "gross",
            "sales",
            ".",
            "List",
            "customers",
            "'",
            "first",
            "and",
            "last",
            "name",
            "and",
            "total",
            "gross",
            "sales",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10;",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "SUM",
            "(",
            "T2.total",
            ")",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T2.customer_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "T2.total",
            ")",
            "DESC",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "total",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "total",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the top 10 customers' first and last names with the highest gross sales, and also what are the sales?",
        "question_toks": [
            "What",
            "are",
            "the",
            "top",
            "10",
            "customers",
            "'",
            "first",
            "and",
            "last",
            "names",
            "with",
            "the",
            "highest",
            "gross",
            "sales",
            ",",
            "and",
            "also",
            "what",
            "are",
            "the",
            "sales",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name ,  COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id  =  T1.id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 5;",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T2.genre_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "genre_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the top 5 genres by number of tracks. List genres name and total tracks.",
        "question_toks": [
            "List",
            "the",
            "top",
            "5",
            "genres",
            "by",
            "number",
            "of",
            "tracks",
            ".",
            "List",
            "genres",
            "name",
            "and",
            "total",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                53,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name ,  COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id  =  T1.id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 5;",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T2.genre_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "genre_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many tracks does each genre have and what are the names of the top 5?",
        "question_toks": [
            "How",
            "many",
            "tracks",
            "does",
            "each",
            "genre",
            "have",
            "and",
            "what",
            "are",
            "the",
            "names",
            "of",
            "the",
            "top",
            "5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                53,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT title FROM albums;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "albums",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "albums"
        ],
        "question": "List every album's title.",
        "question_toks": [
            "List",
            "every",
            "album",
            "'s",
            "title",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT title FROM albums;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "albums",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "albums"
        ],
        "question": "What are the titles of all the albums?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "the",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT title FROM albums ORDER BY title;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "albums",
            "ORDER",
            "BY",
            "title",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "albums",
            "order",
            "by",
            "title"
        ],
        "question": "List every album ordered by album title in ascending order.",
        "question_toks": [
            "List",
            "every",
            "album",
            "ordered",
            "by",
            "album",
            "title",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT title FROM albums ORDER BY title;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "albums",
            "ORDER",
            "BY",
            "title",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "albums",
            "order",
            "by",
            "title"
        ],
        "question": "What are the titles of all the albums alphabetically ascending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "the",
            "albums",
            "alphabetically",
            "ascending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT title FROM albums WHERE title LIKE 'A%' ORDER BY title;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "albums",
            "WHERE",
            "title",
            "LIKE",
            "'A",
            "%",
            "'",
            "ORDER",
            "BY",
            "title",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "albums",
            "where",
            "title",
            "like",
            "value",
            "order",
            "by",
            "title"
        ],
        "question": "List every album whose title starts with A in alphabetical order.",
        "question_toks": [
            "List",
            "every",
            "album",
            "whose",
            "title",
            "starts",
            "with",
            "A",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"A%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT title FROM albums WHERE title LIKE 'A%' ORDER BY title;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "albums",
            "WHERE",
            "title",
            "LIKE",
            "'A",
            "%",
            "'",
            "ORDER",
            "BY",
            "title",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "albums",
            "where",
            "title",
            "like",
            "value",
            "order",
            "by",
            "title"
        ],
        "question": "What are the titles of all albums that start with A in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "albums",
            "that",
            "start",
            "with",
            "A",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"A%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name ,  T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id ORDER BY total LIMIT 10;",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T2.customer_id",
            "=",
            "T1.id",
            "ORDER",
            "BY",
            "total",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "total",
            "limit",
            "value"
        ],
        "question": "List the customers first and last name of 10 least expensive invoices.",
        "question_toks": [
            "List",
            "the",
            "customers",
            "first",
            "and",
            "last",
            "name",
            "of",
            "10",
            "least",
            "expensive",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name ,  T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id ORDER BY total LIMIT 10;",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T2.customer_id",
            "=",
            "T1.id",
            "ORDER",
            "BY",
            "total",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "total",
            "limit",
            "value"
        ],
        "question": "What are the first and last names of the customers with the 10 cheapest invoices?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "customers",
            "with",
            "the",
            "10",
            "cheapest",
            "invoices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT sum(total) FROM invoices WHERE billing_city  =  \"Chicago\" AND billing_state  =  \"IL\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "total",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_city",
            "=",
            "``",
            "Chicago",
            "''",
            "AND",
            "billing_state",
            "=",
            "``",
            "IL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "total",
            ")",
            "from",
            "invoices",
            "where",
            "billing_city",
            "=",
            "value",
            "and",
            "billing_state",
            "=",
            "value"
        ],
        "question": "List total amount of  invoice from Chicago, IL.",
        "question_toks": [
            "List",
            "total",
            "amount",
            "of",
            "invoice",
            "from",
            "Chicago",
            ",",
            "IL",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"Chicago\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"IL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT sum(total) FROM invoices WHERE billing_city  =  \"Chicago\" AND billing_state  =  \"IL\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "total",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_city",
            "=",
            "``",
            "Chicago",
            "''",
            "AND",
            "billing_state",
            "=",
            "``",
            "IL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "total",
            ")",
            "from",
            "invoices",
            "where",
            "billing_city",
            "=",
            "value",
            "and",
            "billing_state",
            "=",
            "value"
        ],
        "question": "What are the total amount of money in the invoices billed from Chicago, Illinois?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "amount",
            "of",
            "money",
            "in",
            "the",
            "invoices",
            "billed",
            "from",
            "Chicago",
            ",",
            "Illinois",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"Chicago\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"IL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT COUNT(*) FROM invoices WHERE billing_city  =  \"Chicago\" AND billing_state  =  \"IL\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_city",
            "=",
            "``",
            "Chicago",
            "''",
            "AND",
            "billing_state",
            "=",
            "``",
            "IL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "where",
            "billing_city",
            "=",
            "value",
            "and",
            "billing_state",
            "=",
            "value"
        ],
        "question": "List the number of invoices from Chicago, IL.",
        "question_toks": [
            "List",
            "the",
            "number",
            "of",
            "invoices",
            "from",
            "Chicago",
            ",",
            "IL",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"Chicago\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"IL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT COUNT(*) FROM invoices WHERE billing_city  =  \"Chicago\" AND billing_state  =  \"IL\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_city",
            "=",
            "``",
            "Chicago",
            "''",
            "AND",
            "billing_state",
            "=",
            "``",
            "IL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "where",
            "billing_city",
            "=",
            "value",
            "and",
            "billing_state",
            "=",
            "value"
        ],
        "question": "How many invoices were billed from Chicago, IL?",
        "question_toks": [
            "How",
            "many",
            "invoices",
            "were",
            "billed",
            "from",
            "Chicago",
            ",",
            "IL",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"Chicago\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"IL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_state ,  COUNT(*) FROM invoices WHERE billing_country  =  \"USA\" GROUP BY billing_state;",
        "query_toks": [
            "SELECT",
            "billing_state",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_country",
            "=",
            "``",
            "USA",
            "''",
            "GROUP",
            "BY",
            "billing_state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_state",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "where",
            "billing_country",
            "=",
            "value",
            "group",
            "by",
            "billing_state"
        ],
        "question": "List the number of invoices from the US, grouped by state.",
        "question_toks": [
            "List",
            "the",
            "number",
            "of",
            "invoices",
            "from",
            "the",
            "US",
            ",",
            "grouped",
            "by",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_state ,  COUNT(*) FROM invoices WHERE billing_country  =  \"USA\" GROUP BY billing_state;",
        "query_toks": [
            "SELECT",
            "billing_state",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_country",
            "=",
            "``",
            "USA",
            "''",
            "GROUP",
            "BY",
            "billing_state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_state",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "where",
            "billing_country",
            "=",
            "value",
            "group",
            "by",
            "billing_state"
        ],
        "question": "How many invoices were billed from each state?",
        "question_toks": [
            "How",
            "many",
            "invoices",
            "were",
            "billed",
            "from",
            "each",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_state ,  COUNT(*) FROM invoices WHERE billing_country  =  \"USA\" GROUP BY billing_state ORDER BY COUNT(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "billing_state",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_country",
            "=",
            "``",
            "USA",
            "''",
            "GROUP",
            "BY",
            "billing_state",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_state",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "where",
            "billing_country",
            "=",
            "value",
            "group",
            "by",
            "billing_state",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the state in the US with the most invoices.",
        "question_toks": [
            "List",
            "the",
            "state",
            "in",
            "the",
            "US",
            "with",
            "the",
            "most",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_state ,  COUNT(*) FROM invoices WHERE billing_country  =  \"USA\" GROUP BY billing_state ORDER BY COUNT(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "billing_state",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_country",
            "=",
            "``",
            "USA",
            "''",
            "GROUP",
            "BY",
            "billing_state",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_state",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "where",
            "billing_country",
            "=",
            "value",
            "group",
            "by",
            "billing_state",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the states with the most invoices?",
        "question_toks": [
            "What",
            "are",
            "the",
            "states",
            "with",
            "the",
            "most",
            "invoices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_state ,  COUNT(*) ,  SUM(total) FROM invoices WHERE billing_state  =  \"CA\";",
        "query_toks": [
            "SELECT",
            "billing_state",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            ",",
            "SUM",
            "(",
            "total",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_state",
            "=",
            "``",
            "CA",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_state",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "total",
            ")",
            "from",
            "invoices",
            "where",
            "billing_state",
            "=",
            "value"
        ],
        "question": "List the number of invoices and the invoice total from California.",
        "question_toks": [
            "List",
            "the",
            "number",
            "of",
            "invoices",
            "and",
            "the",
            "invoice",
            "total",
            "from",
            "California",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"CA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT billing_state ,  COUNT(*) ,  SUM(total) FROM invoices WHERE billing_state  =  \"CA\";",
        "query_toks": [
            "SELECT",
            "billing_state",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            ",",
            "SUM",
            "(",
            "total",
            ")",
            "FROM",
            "invoices",
            "WHERE",
            "billing_state",
            "=",
            "``",
            "CA",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "billing_state",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "total",
            ")",
            "from",
            "invoices",
            "where",
            "billing_state",
            "=",
            "value"
        ],
        "question": "What is the number of invoices and total money billed in them from CA?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "invoices",
            "and",
            "total",
            "money",
            "billed",
            "in",
            "them",
            "from",
            "CA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"CA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON  T1.artist_id = T2.id WHERE T2.name = \"Aerosmith\";",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "artists",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Aerosmith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "artists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List Aerosmith's albums.",
        "question_toks": [
            "List",
            "Aerosmith",
            "'s",
            "albums",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Aerosmith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON  T1.artist_id = T2.id WHERE T2.name = \"Aerosmith\";",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "artists",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Aerosmith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "artists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the titles of all the Aerosmith albums?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "the",
            "Aerosmith",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Aerosmith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM albums AS T1 JOIN artists AS T2 ON  T1.artist_id = T2.id WHERE T2.name = \"Billy Cobham\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "artists",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Billy",
            "Cobham",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "artists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many albums does Billy Cobham has?",
        "question_toks": [
            "How",
            "many",
            "albums",
            "does",
            "Billy",
            "Cobham",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Billy Cobham\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM albums AS T1 JOIN artists AS T2 ON  T1.artist_id = T2.id WHERE T2.name = \"Billy Cobham\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "artists",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Billy",
            "Cobham",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "artists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many albums has Billy Cobam released?",
        "question_toks": [
            "How",
            "many",
            "albums",
            "has",
            "Billy",
            "Cobam",
            "released",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Billy Cobham\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT company FROM customers WHERE first_name = \"Eduardo\" AND last_name = \"Martins\";",
        "query_toks": [
            "SELECT",
            "company",
            "FROM",
            "customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Eduardo",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Martins",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "Eduardo Martins is a customer at which company?",
        "question_toks": [
            "Eduardo",
            "Martins",
            "is",
            "a",
            "customer",
            "at",
            "which",
            "company",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Eduardo\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Martins\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT company FROM customers WHERE first_name = \"Eduardo\" AND last_name = \"Martins\";",
        "query_toks": [
            "SELECT",
            "company",
            "FROM",
            "customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Eduardo",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Martins",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the company where Eduardo Martins is a customer?",
        "question_toks": [
            "What",
            "is",
            "the",
            "company",
            "where",
            "Eduardo",
            "Martins",
            "is",
            "a",
            "customer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Eduardo\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Martins\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT email ,  phone FROM customers WHERE first_name = \"Astrid\" AND last_name = \"Gruber\";",
        "query_toks": [
            "SELECT",
            "email",
            ",",
            "phone",
            "FROM",
            "customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Astrid",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Gruber",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "email",
            ",",
            "phone",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is Astrid Gruber's email and phone number?",
        "question_toks": [
            "What",
            "is",
            "Astrid",
            "Gruber",
            "'s",
            "email",
            "and",
            "phone",
            "number",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Astrid\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Gruber\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT email ,  phone FROM customers WHERE first_name = \"Astrid\" AND last_name = \"Gruber\";",
        "query_toks": [
            "SELECT",
            "email",
            ",",
            "phone",
            "FROM",
            "customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Astrid",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Gruber",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "email",
            ",",
            "phone",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the email and phone number of Astrid Gruber the customer?",
        "question_toks": [
            "What",
            "is",
            "the",
            "email",
            "and",
            "phone",
            "number",
            "of",
            "Astrid",
            "Gruber",
            "the",
            "customer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Astrid\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Gruber\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM customers WHERE city = \"Prague\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "WHERE",
            "city",
            "=",
            "``",
            "Prague",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "How many customers live in Prague city?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "live",
            "in",
            "Prague",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"Prague\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM customers WHERE city = \"Prague\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "WHERE",
            "city",
            "=",
            "``",
            "Prague",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "How many customers live in the city of Prague?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "live",
            "in",
            "the",
            "city",
            "of",
            "Prague",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"Prague\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM customers WHERE state = \"CA\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "WHERE",
            "state",
            "=",
            "``",
            "CA",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "How many customers in state of CA?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "in",
            "state",
            "of",
            "CA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"CA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM customers WHERE state = \"CA\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "WHERE",
            "state",
            "=",
            "``",
            "CA",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "How many customers are from California?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "are",
            "from",
            "California",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"CA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT country FROM customers WHERE first_name = \"Roberto\" AND last_name = \"Almeida\";",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Roberto",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Almeida",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What country does Roberto Almeida live?",
        "question_toks": [
            "What",
            "country",
            "does",
            "Roberto",
            "Almeida",
            "live",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Roberto\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Almeida\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT country FROM customers WHERE first_name = \"Roberto\" AND last_name = \"Almeida\";",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Roberto",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Almeida",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "In which country does Roberto Almeida?",
        "question_toks": [
            "In",
            "which",
            "country",
            "does",
            "Roberto",
            "Almeida",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Roberto\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Almeida\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.title FROM artists AS T1 JOIN albums AS T2 ON T1.id  =  T2.artist_id WHERE T1.name LIKE '%Led%'",
        "query_toks": [
            "SELECT",
            "T2.title",
            "FROM",
            "artists",
            "AS",
            "T1",
            "JOIN",
            "albums",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.artist_id",
            "WHERE",
            "T1.name",
            "LIKE",
            "'",
            "%",
            "Led",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "artists",
            "as",
            "t1",
            "join",
            "albums",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "name",
            "like",
            "value"
        ],
        "question": "List the name of albums that are released by aritist whose name has 'Led'",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "albums",
            "that",
            "are",
            "released",
            "by",
            "aritist",
            "whose",
            "name",
            "has",
            "'Led",
            "'"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Led%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.title FROM artists AS T1 JOIN albums AS T2 ON T1.id  =  T2.artist_id WHERE T1.name LIKE '%Led%'",
        "query_toks": [
            "SELECT",
            "T2.title",
            "FROM",
            "artists",
            "AS",
            "T1",
            "JOIN",
            "albums",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.artist_id",
            "WHERE",
            "T1.name",
            "LIKE",
            "'",
            "%",
            "Led",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "artists",
            "as",
            "t1",
            "join",
            "albums",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "name",
            "like",
            "value"
        ],
        "question": "What is the title of the album that was released by the artist whose name has the phrase 'Led'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "the",
            "album",
            "that",
            "was",
            "released",
            "by",
            "the",
            "artist",
            "whose",
            "name",
            "has",
            "the",
            "phrase",
            "'Led",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Led%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = \"Steve\" AND T1.last_name = \"Johnson\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T2.support_rep_id",
            "=",
            "T1.id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Steve",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Johnson",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "support_rep_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "How many customers does Steve Johnson support?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "does",
            "Steve",
            "Johnson",
            "support",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Steve\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Johnson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = \"Steve\" AND T1.last_name = \"Johnson\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T2.support_rep_id",
            "=",
            "T1.id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Steve",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Johnson",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "support_rep_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the count of customers that Steve Johnson supports?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "customers",
            "that",
            "Steve",
            "Johnson",
            "supports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Steve\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Johnson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT title ,  phone ,  hire_date FROM employees WHERE first_name = \"Nancy\" AND last_name = \"Edwards\";",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "phone",
            ",",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Nancy",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Edwards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "phone",
            ",",
            "hire_date",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the title, phone and hire date of Nancy Edwards?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            ",",
            "phone",
            "and",
            "hire",
            "date",
            "of",
            "Nancy",
            "Edwards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Nancy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Edwards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT title ,  phone ,  hire_date FROM employees WHERE first_name = \"Nancy\" AND last_name = \"Edwards\";",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "phone",
            ",",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Nancy",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Edwards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "phone",
            ",",
            "hire_date",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the title, phone number and hire date for the employee named Nancy Edwards?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            ",",
            "phone",
            "number",
            "and",
            "hire",
            "date",
            "for",
            "the",
            "employee",
            "named",
            "Nancy",
            "Edwards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Nancy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Edwards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.first_name , T2.last_name FROM employees AS T1 JOIN employees AS T2 ON T1.id = T2.reports_to WHERE T1.first_name = \"Nancy\" AND T1.last_name = \"Edwards\";",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "employees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.reports_to",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Nancy",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Edwards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "reports_to",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "find the full name of employees who report to Nancy Edwards?",
        "question_toks": [
            "find",
            "the",
            "full",
            "name",
            "of",
            "employees",
            "who",
            "report",
            "to",
            "Nancy",
            "Edwards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Nancy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Edwards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.first_name , T2.last_name FROM employees AS T1 JOIN employees AS T2 ON T1.id = T2.reports_to WHERE T1.first_name = \"Nancy\" AND T1.last_name = \"Edwards\";",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "employees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.reports_to",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Nancy",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Edwards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "reports_to",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the first and last name of the employee who reports to Nancy Edwards?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "employee",
            "who",
            "reports",
            "to",
            "Nancy",
            "Edwards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Nancy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Edwards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT address FROM employees WHERE first_name = \"Nancy\" AND last_name = \"Edwards\";",
        "query_toks": [
            "SELECT",
            "address",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Nancy",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Edwards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the address of employee Nancy Edwards?",
        "question_toks": [
            "What",
            "is",
            "the",
            "address",
            "of",
            "employee",
            "Nancy",
            "Edwards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Nancy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Edwards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT address FROM employees WHERE first_name = \"Nancy\" AND last_name = \"Edwards\";",
        "query_toks": [
            "SELECT",
            "address",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Nancy",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Edwards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is Nancy Edwards's address?",
        "question_toks": [
            "What",
            "is",
            "Nancy",
            "Edwards",
            "'s",
            "address",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Nancy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Edwards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name , T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id  =  T2.support_rep_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.support_rep_id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "support_rep_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the full name of employee who supported the most number of customers.",
        "question_toks": [
            "Find",
            "the",
            "full",
            "name",
            "of",
            "employee",
            "who",
            "supported",
            "the",
            "most",
            "number",
            "of",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.first_name , T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id  =  T2.support_rep_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.support_rep_id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "support_rep_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the full name of the employee who has the most customers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "full",
            "name",
            "of",
            "the",
            "employee",
            "who",
            "has",
            "the",
            "most",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM employees WHERE country = \"Canada\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employees",
            "WHERE",
            "country",
            "=",
            "``",
            "Canada",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many employees are living in Canada?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "are",
            "living",
            "in",
            "Canada",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM employees WHERE country = \"Canada\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employees",
            "WHERE",
            "country",
            "=",
            "``",
            "Canada",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many employees live in Canada?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "live",
            "in",
            "Canada",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT phone FROM employees WHERE first_name = \"Nancy\" AND last_name = \"Edwards\";",
        "query_toks": [
            "SELECT",
            "phone",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Nancy",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Edwards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "phone",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is employee Nancy Edwards's phone number?",
        "question_toks": [
            "What",
            "is",
            "employee",
            "Nancy",
            "Edwards",
            "'s",
            "phone",
            "number",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Nancy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Edwards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT phone FROM employees WHERE first_name = \"Nancy\" AND last_name = \"Edwards\";",
        "query_toks": [
            "SELECT",
            "phone",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Nancy",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Edwards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "phone",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the the phone number of Nancy Edwards?",
        "question_toks": [
            "What",
            "is",
            "the",
            "the",
            "phone",
            "number",
            "of",
            "Nancy",
            "Edwards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Nancy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Edwards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT first_name , last_name FROM employees ORDER BY birth_date DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "ORDER",
            "BY",
            "birth_date",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "order",
            "by",
            "birth_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "Who is the youngest employee in the company? List employee's first and last name.",
        "question_toks": [
            "Who",
            "is",
            "the",
            "youngest",
            "employee",
            "in",
            "the",
            "company",
            "?",
            "List",
            "employee",
            "'s",
            "first",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT first_name , last_name FROM employees ORDER BY birth_date DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "ORDER",
            "BY",
            "birth_date",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "order",
            "by",
            "birth_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What si the youngest employee's first and last name?",
        "question_toks": [
            "What",
            "si",
            "the",
            "youngest",
            "employee",
            "'s",
            "first",
            "and",
            "last",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT first_name , last_name FROM employees ORDER BY hire_date ASC LIMIT 10;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "ORDER",
            "BY",
            "hire_date",
            "ASC",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "order",
            "by",
            "hire_date",
            "asc",
            "limit",
            "value"
        ],
        "question": "List top 10 employee work longest in the company. List employee's first and last name.",
        "question_toks": [
            "List",
            "top",
            "10",
            "employee",
            "work",
            "longest",
            "in",
            "the",
            "company",
            ".",
            "List",
            "employee",
            "'s",
            "first",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT first_name , last_name FROM employees ORDER BY hire_date ASC LIMIT 10;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "ORDER",
            "BY",
            "hire_date",
            "ASC",
            "LIMIT",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "order",
            "by",
            "hire_date",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the first and last names of the top 10 longest-serving employees?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "top",
            "10",
            "longest-serving",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) ,  city FROM employees WHERE title  =  'IT Staff' GROUP BY city",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city",
            "FROM",
            "employees",
            "WHERE",
            "title",
            "=",
            "'IT",
            "Staff",
            "'",
            "GROUP",
            "BY",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city",
            "from",
            "employees",
            "where",
            "title",
            "=",
            "value",
            "group",
            "by",
            "city"
        ],
        "question": "Find the number of employees whose title is IT Staff from each city?",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "employees",
            "whose",
            "title",
            "is",
            "IT",
            "Staff",
            "from",
            "each",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"IT Staff\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) ,  city FROM employees WHERE title  =  'IT Staff' GROUP BY city",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city",
            "FROM",
            "employees",
            "WHERE",
            "title",
            "=",
            "'IT",
            "Staff",
            "'",
            "GROUP",
            "BY",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city",
            "from",
            "employees",
            "where",
            "title",
            "=",
            "value",
            "group",
            "by",
            "city"
        ],
        "question": "How many employees who are IT staff are from each city?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "who",
            "are",
            "IT",
            "staff",
            "are",
            "from",
            "each",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"IT Staff\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.first_name , T2.last_name ,  count(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY count(T1.reports_to) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            ",",
            "count",
            "(",
            "T1.reports_to",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "employees",
            "AS",
            "T2",
            "ON",
            "T1.reports_to",
            "=",
            "T2.id",
            "GROUP",
            "BY",
            "T1.reports_to",
            "ORDER",
            "BY",
            "count",
            "(",
            "T1.reports_to",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            ",",
            "count",
            "(",
            "t1",
            ".",
            "reports_to",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reports_to",
            "=",
            "t2",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "reports_to",
            "order",
            "by",
            "count",
            "(",
            "t1",
            ".",
            "reports_to",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee.",
        "question_toks": [
            "Which",
            "employee",
            "manage",
            "most",
            "number",
            "of",
            "peoples",
            "?",
            "List",
            "employee",
            "'s",
            "first",
            "and",
            "last",
            "name",
            ",",
            "and",
            "number",
            "of",
            "people",
            "report",
            "to",
            "that",
            "employee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.first_name , T2.last_name ,  count(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY count(T1.reports_to) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            ",",
            "count",
            "(",
            "T1.reports_to",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "employees",
            "AS",
            "T2",
            "ON",
            "T1.reports_to",
            "=",
            "T2.id",
            "GROUP",
            "BY",
            "T1.reports_to",
            "ORDER",
            "BY",
            "count",
            "(",
            "T1.reports_to",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            ",",
            "count",
            "(",
            "t1",
            ".",
            "reports_to",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reports_to",
            "=",
            "t2",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "reports_to",
            "order",
            "by",
            "count",
            "(",
            "t1",
            ".",
            "reports_to",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the first and last names of all the employees and how many people report to them?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "the",
            "employees",
            "and",
            "how",
            "many",
            "people",
            "report",
            "to",
            "them",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = \"Lucas\" AND T1.last_name = \"Mancini\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Lucas",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Mancini",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "How many orders does Lucas Mancini has?",
        "question_toks": [
            "How",
            "many",
            "orders",
            "does",
            "Lucas",
            "Mancini",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Lucas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Mancini\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = \"Lucas\" AND T1.last_name = \"Mancini\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Lucas",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Mancini",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "How many orders does Luca Mancini have in his invoices?",
        "question_toks": [
            "How",
            "many",
            "orders",
            "does",
            "Luca",
            "Mancini",
            "have",
            "in",
            "his",
            "invoices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Lucas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Mancini\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT sum(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = \"Lucas\" AND T1.last_name = \"Mancini\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.total",
            ")",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Lucas",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Mancini",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "total",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the total amount of money spent by Lucas Mancini?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "money",
            "spent",
            "by",
            "Lucas",
            "Mancini",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Lucas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Mancini\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT sum(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = \"Lucas\" AND T1.last_name = \"Mancini\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.total",
            ")",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "invoices",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Lucas",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Mancini",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "total",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "How much money did Lucas Mancini spend?",
        "question_toks": [
            "How",
            "much",
            "money",
            "did",
            "Lucas",
            "Mancini",
            "spend",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Lucas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Mancini\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT name FROM media_types;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "media_types",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "media_types"
        ],
        "question": "List all media types.",
        "question_toks": [
            "List",
            "all",
            "media",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT name FROM media_types;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "media_types",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "media_types"
        ],
        "question": "What are the names of all the media types?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "media",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT DISTINCT name FROM genres;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "genres",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "genres"
        ],
        "question": "List all different genre types.",
        "question_toks": [
            "List",
            "all",
            "different",
            "genre",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT DISTINCT name FROM genres;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "genres",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "genres"
        ],
        "question": "What are the different names of the genres?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "of",
            "the",
            "genres",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT name FROM playlists;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "playlists",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "playlists"
        ],
        "question": "List the name of all playlist.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "all",
            "playlist",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT name FROM playlists;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "playlists",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "playlists"
        ],
        "question": "What are the names of all the playlists?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "playlists",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT composer FROM tracks WHERE name = \"Fast As a Shark\";",
        "query_toks": [
            "SELECT",
            "composer",
            "FROM",
            "tracks",
            "WHERE",
            "name",
            "=",
            "``",
            "Fast",
            "As",
            "a",
            "Shark",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "composer",
            "from",
            "tracks",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Who is the composer of track Fast As a Shark?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "composer",
            "of",
            "track",
            "Fast",
            "As",
            "a",
            "Shark",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                54,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Fast As a Shark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT composer FROM tracks WHERE name = \"Fast As a Shark\";",
        "query_toks": [
            "SELECT",
            "composer",
            "FROM",
            "tracks",
            "WHERE",
            "name",
            "=",
            "``",
            "Fast",
            "As",
            "a",
            "Shark",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "composer",
            "from",
            "tracks",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the composer who created the track \"Fast As a Shark\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "composer",
            "who",
            "created",
            "the",
            "track",
            "``",
            "Fast",
            "As",
            "a",
            "Shark",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                54,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Fast As a Shark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT milliseconds FROM tracks WHERE name = \"Fast As a Shark\";",
        "query_toks": [
            "SELECT",
            "milliseconds",
            "FROM",
            "tracks",
            "WHERE",
            "name",
            "=",
            "``",
            "Fast",
            "As",
            "a",
            "Shark",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "milliseconds",
            "from",
            "tracks",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "How long does track Fast As a Shark has?",
        "question_toks": [
            "How",
            "long",
            "does",
            "track",
            "Fast",
            "As",
            "a",
            "Shark",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Fast As a Shark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT milliseconds FROM tracks WHERE name = \"Fast As a Shark\";",
        "query_toks": [
            "SELECT",
            "milliseconds",
            "FROM",
            "tracks",
            "WHERE",
            "name",
            "=",
            "``",
            "Fast",
            "As",
            "a",
            "Shark",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "milliseconds",
            "from",
            "tracks",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "How many milliseconds long is Fast As a Shark?",
        "question_toks": [
            "How",
            "many",
            "milliseconds",
            "long",
            "is",
            "Fast",
            "As",
            "a",
            "Shark",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Fast As a Shark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = \"Rock\";",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Rock",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the name of tracks whose genre is Rock?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "tracks",
            "whose",
            "genre",
            "is",
            "Rock",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = \"Rock\";",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Rock",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the name of all tracks in the Rock genre?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "all",
            "tracks",
            "in",
            "the",
            "Rock",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T2.name = \"Balls to the Wall\";",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Balls",
            "to",
            "the",
            "Wall",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is title of album which track Balls to the Wall belongs to?",
        "question_toks": [
            "What",
            "is",
            "title",
            "of",
            "album",
            "which",
            "track",
            "Balls",
            "to",
            "the",
            "Wall",
            "belongs",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Balls to the Wall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T2.name = \"Balls to the Wall\";",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Balls",
            "to",
            "the",
            "Wall",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the name of the album that has the track Ball to the Wall?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "album",
            "that",
            "has",
            "the",
            "track",
            "Ball",
            "to",
            "the",
            "Wall",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Balls to the Wall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.title = \"Balls to the Wall\";",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "WHERE",
            "T1.title",
            "=",
            "``",
            "Balls",
            "to",
            "the",
            "Wall",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "List name of all tracks in Balls to the Wall.",
        "question_toks": [
            "List",
            "name",
            "of",
            "all",
            "tracks",
            "in",
            "Balls",
            "to",
            "the",
            "Wall",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Balls to the Wall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.title = \"Balls to the Wall\";",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "WHERE",
            "T1.title",
            "=",
            "``",
            "Balls",
            "to",
            "the",
            "Wall",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What is the name of all tracks in the album named Balls to the Wall?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "all",
            "tracks",
            "in",
            "the",
            "album",
            "named",
            "Balls",
            "to",
            "the",
            "Wall",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Balls to the Wall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.album_id GROUP BY T1.id HAVING count(T1.id)  >  10;",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.album_id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "T1.id",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "album_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "t1",
            ".",
            "id",
            ")",
            ">",
            "value"
        ],
        "question": "List title of albums have the number of tracks greater than 10.",
        "question_toks": [
            "List",
            "title",
            "of",
            "albums",
            "have",
            "the",
            "number",
            "of",
            "tracks",
            "greater",
            "than",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            5,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.album_id GROUP BY T1.id HAVING count(T1.id)  >  10;",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.album_id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "T1.id",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "album_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "t1",
            ".",
            "id",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of the albums that have more than 10 tracks?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "albums",
            "that",
            "have",
            "more",
            "than",
            "10",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            5,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = \"Rock\" AND T3.name = \"MPEG audio file\";",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "JOIN",
            "media_types",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.media_type_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Rock",
            "''",
            "AND",
            "T3.name",
            "=",
            "``",
            "MPEG",
            "audio",
            "file",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "join",
            "media_types",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "media_type_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the name of tracks belongs to genre Rock and whose media type is MPEG audio file.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "tracks",
            "belongs",
            "to",
            "genre",
            "Rock",
            "and",
            "whose",
            "media",
            "type",
            "is",
            "MPEG",
            "audio",
            "file",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ],
                    "\"MPEG audio file\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = \"Rock\" AND T3.name = \"MPEG audio file\";",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "JOIN",
            "media_types",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.media_type_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Rock",
            "''",
            "AND",
            "T3.name",
            "=",
            "``",
            "MPEG",
            "audio",
            "file",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "join",
            "media_types",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "media_type_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all Rock tracks that are stored on MPEG audio files?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "Rock",
            "tracks",
            "that",
            "are",
            "stored",
            "on",
            "MPEG",
            "audio",
            "files",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ],
                    "\"MPEG audio file\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = \"Rock\" OR T3.name = \"MPEG audio file\";",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "JOIN",
            "media_types",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.media_type_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Rock",
            "''",
            "OR",
            "T3.name",
            "=",
            "``",
            "MPEG",
            "audio",
            "file",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "join",
            "media_types",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "media_type_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the name of tracks belongs to genre Rock or media type is MPEG audio file.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "tracks",
            "belongs",
            "to",
            "genre",
            "Rock",
            "or",
            "media",
            "type",
            "is",
            "MPEG",
            "audio",
            "file",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ],
                    "\"MPEG audio file\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = \"Rock\" OR T3.name = \"MPEG audio file\";",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "JOIN",
            "media_types",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.media_type_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Rock",
            "''",
            "OR",
            "T3.name",
            "=",
            "``",
            "MPEG",
            "audio",
            "file",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "join",
            "media_types",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "media_type_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all tracks that belong to the Rock genre and whose media type is MPEG?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "tracks",
            "that",
            "belong",
            "to",
            "the",
            "Rock",
            "genre",
            "and",
            "whose",
            "media",
            "type",
            "is",
            "MPEG",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ],
                    "\"MPEG audio file\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = \"Rock\" OR T1.name = \"Jazz\"",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Rock",
            "''",
            "OR",
            "T1.name",
            "=",
            "``",
            "Jazz",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the name of tracks belongs to genre Rock or genre Jazz.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "tracks",
            "belongs",
            "to",
            "genre",
            "Rock",
            "or",
            "genre",
            "Jazz",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Jazz\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = \"Rock\" OR T1.name = \"Jazz\"",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Rock",
            "''",
            "OR",
            "T1.name",
            "=",
            "``",
            "Jazz",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of the tracks that are Rock or Jazz songs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "tracks",
            "that",
            "are",
            "Rock",
            "or",
            "Jazz",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Jazz\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = \"Movies\";",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.playlist_id",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Movies",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "playlist_id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the name of all tracks in the playlists of Movies.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "all",
            "tracks",
            "in",
            "the",
            "playlists",
            "of",
            "Movies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    "\"Movies\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = \"Movies\";",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.playlist_id",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Movies",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "playlist_id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all tracks that are on playlists titled Movies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "tracks",
            "that",
            "are",
            "on",
            "playlists",
            "titled",
            "Movies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    "\"Movies\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM playlist_tracks AS T1 JOIN playlists AS T2 ON T2.id = T1.playlist_id GROUP BY T1.playlist_id HAVING count(T1.track_id)  >  100;",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "playlist_tracks",
            "AS",
            "T1",
            "JOIN",
            "playlists",
            "AS",
            "T2",
            "ON",
            "T2.id",
            "=",
            "T1.playlist_id",
            "GROUP",
            "BY",
            "T1.playlist_id",
            "HAVING",
            "count",
            "(",
            "T1.track_id",
            ")",
            ">",
            "100",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "playlist_tracks",
            "as",
            "t1",
            "join",
            "playlists",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t1",
            ".",
            "playlist_id",
            "group",
            "by",
            "t1",
            ".",
            "playlist_id",
            "having",
            "count",
            "(",
            "t1",
            ".",
            "track_id",
            ")",
            ">",
            "value"
        ],
        "question": "List the name of playlist which has number of tracks greater than 100.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "playlist",
            "which",
            "has",
            "number",
            "of",
            "tracks",
            "greater",
            "than",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    65,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            66,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T2.name FROM playlist_tracks AS T1 JOIN playlists AS T2 ON T2.id = T1.playlist_id GROUP BY T1.playlist_id HAVING count(T1.track_id)  >  100;",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "playlist_tracks",
            "AS",
            "T1",
            "JOIN",
            "playlists",
            "AS",
            "T2",
            "ON",
            "T2.id",
            "=",
            "T1.playlist_id",
            "GROUP",
            "BY",
            "T1.playlist_id",
            "HAVING",
            "count",
            "(",
            "T1.track_id",
            ")",
            ">",
            "100",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "playlist_tracks",
            "as",
            "t1",
            "join",
            "playlists",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t1",
            ".",
            "playlist_id",
            "group",
            "by",
            "t1",
            ".",
            "playlist_id",
            "having",
            "count",
            "(",
            "t1",
            ".",
            "track_id",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of all playlists that have more than 100 tracks?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "playlists",
            "that",
            "have",
            "more",
            "than",
            "100",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    65,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            66,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = \"Daan\" AND T4.last_name = \"Peeters\";",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "invoice_lines",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "invoices",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.invoice_id",
            "JOIN",
            "customers",
            "AS",
            "T4",
            "ON",
            "T4.id",
            "=",
            "T3.customer_id",
            "WHERE",
            "T4.first_name",
            "=",
            "``",
            "Daan",
            "''",
            "AND",
            "T4.last_name",
            "=",
            "``",
            "Peeters",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "invoice_lines",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "invoices",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "invoice_id",
            "join",
            "customers",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "customer_id",
            "where",
            "t4",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "List all tracks bought by customer Daan Peeters.",
        "question_toks": [
            "List",
            "all",
            "tracks",
            "bought",
            "by",
            "customer",
            "Daan",
            "Peeters",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            59,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Daan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Peeters\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = \"Daan\" AND T4.last_name = \"Peeters\";",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "invoice_lines",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "invoices",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.invoice_id",
            "JOIN",
            "customers",
            "AS",
            "T4",
            "ON",
            "T4.id",
            "=",
            "T3.customer_id",
            "WHERE",
            "T4.first_name",
            "=",
            "``",
            "Daan",
            "''",
            "AND",
            "T4.last_name",
            "=",
            "``",
            "Peeters",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "invoice_lines",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "invoices",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "invoice_id",
            "join",
            "customers",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "customer_id",
            "where",
            "t4",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What are the tracks that Dean Peeters bought?",
        "question_toks": [
            "What",
            "are",
            "the",
            "tracks",
            "that",
            "Dean",
            "Peeters",
            "bought",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            59,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Daan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Peeters\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT unit_price FROM tracks WHERE name = \"Fast As a Shark\";",
        "query_toks": [
            "SELECT",
            "unit_price",
            "FROM",
            "tracks",
            "WHERE",
            "name",
            "=",
            "``",
            "Fast",
            "As",
            "a",
            "Shark",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "unit_price",
            "from",
            "tracks",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "How much is the track Fast As a Shark?",
        "question_toks": [
            "How",
            "much",
            "is",
            "the",
            "track",
            "Fast",
            "As",
            "a",
            "Shark",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Fast As a Shark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT unit_price FROM tracks WHERE name = \"Fast As a Shark\";",
        "query_toks": [
            "SELECT",
            "unit_price",
            "FROM",
            "tracks",
            "WHERE",
            "name",
            "=",
            "``",
            "Fast",
            "As",
            "a",
            "Shark",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "unit_price",
            "from",
            "tracks",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the unit price of the tune \"Fast As a Shark\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "unit",
            "price",
            "of",
            "the",
            "tune",
            "``",
            "Fast",
            "As",
            "a",
            "Shark",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Fast As a Shark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  'Movies' EXCEPT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  'Music'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T2.playlist_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Movies",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T2.playlist_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Music",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "playlist_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "playlist_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the name of tracks which are in Movies playlist but not in music playlist.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "tracks",
            "which",
            "are",
            "in",
            "Movies",
            "playlist",
            "but",
            "not",
            "in",
            "music",
            "playlist",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    "\"Movies\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            8
                        ],
                        [
                            "table_unit",
                            11
                        ],
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    49,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    65,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    50,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ],
                        "\"Music\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  'Movies' EXCEPT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  'Music'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T2.playlist_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Movies",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T2.playlist_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Music",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "playlist_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "playlist_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all tracks that are on the Movies playlist but not in the music playlist?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "tracks",
            "that",
            "are",
            "on",
            "the",
            "Movies",
            "playlist",
            "but",
            "not",
            "in",
            "the",
            "music",
            "playlist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    "\"Movies\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            8
                        ],
                        [
                            "table_unit",
                            11
                        ],
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    49,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    65,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    50,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ],
                        "\"Music\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  'Movies' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  'Music'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T2.playlist_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Movies",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T2.playlist_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Music",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "playlist_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "playlist_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the name of tracks which are in both Movies and music playlists.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "tracks",
            "which",
            "are",
            "in",
            "both",
            "Movies",
            "and",
            "music",
            "playlists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    "\"Movies\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            8
                        ],
                        [
                            "table_unit",
                            11
                        ],
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    49,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    65,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    50,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ],
                        "\"Music\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  'Movies' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  'Music'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T2.playlist_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Movies",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "tracks",
            "AS",
            "T1",
            "JOIN",
            "playlist_tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.track_id",
            "JOIN",
            "playlists",
            "AS",
            "T3",
            "ON",
            "T2.playlist_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Music",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "playlist_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tracks",
            "as",
            "t1",
            "join",
            "playlist_tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "track_id",
            "join",
            "playlists",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "playlist_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all the tracks that are in both the Movies and music playlists?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "tracks",
            "that",
            "are",
            "in",
            "both",
            "the",
            "Movies",
            "and",
            "music",
            "playlists",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    "\"Movies\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            8
                        ],
                        [
                            "table_unit",
                            11
                        ],
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    49,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    65,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    50,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ],
                        "\"Music\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) ,  T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "GROUP",
            "BY",
            "T1.name",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "Find number of tracks in each genre?",
        "question_toks": [
            "Find",
            "number",
            "of",
            "tracks",
            "in",
            "each",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_1",
        "query": "SELECT count(*) ,  T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "genres",
            "AS",
            "T1",
            "JOIN",
            "tracks",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.genre_id",
            "GROUP",
            "BY",
            "T1.name",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "genres",
            "as",
            "t1",
            "join",
            "tracks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "genre_id",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "How many tracks are in each genre?",
        "question_toks": [
            "How",
            "many",
            "tracks",
            "are",
            "in",
            "each",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT count(*) FROM editor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "editor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "editor"
        ],
        "question": "How many editors are there?",
        "question_toks": [
            "How",
            "many",
            "editors",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT Name FROM editor ORDER BY Age ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "editor",
            "ORDER",
            "BY",
            "Age",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "editor",
            "order",
            "by",
            "age",
            "asc"
        ],
        "question": "List the names of editors in ascending order of age.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "editors",
            "in",
            "ascending",
            "order",
            "of",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT Name ,  Age FROM editor",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Age",
            "FROM",
            "editor"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "age",
            "from",
            "editor"
        ],
        "question": "What are the names and ages of editors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ages",
            "of",
            "editors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT Name FROM editor WHERE Age  >  25",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "editor",
            "WHERE",
            "Age",
            ">",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "editor",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "List the names of editors who are older than 25.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "editors",
            "who",
            "are",
            "older",
            "than",
            "25",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT Name FROM editor WHERE Age  =  24 OR Age  =  25",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "editor",
            "WHERE",
            "Age",
            "=",
            "24",
            "OR",
            "Age",
            "=",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "editor",
            "where",
            "age",
            "=",
            "value",
            "or",
            "age",
            "=",
            "value"
        ],
        "question": "Show the names of editors of age either 24 or 25.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "editors",
            "of",
            "age",
            "either",
            "24",
            "or",
            "25",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    24.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT Name FROM editor ORDER BY Age ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "editor",
            "ORDER",
            "BY",
            "Age",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "editor",
            "order",
            "by",
            "age",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the name of the youngest editor?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "youngest",
            "editor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT Age ,  COUNT(*) FROM editor GROUP BY Age",
        "query_toks": [
            "SELECT",
            "Age",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "editor",
            "GROUP",
            "BY",
            "Age"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "editor",
            "group",
            "by",
            "age"
        ],
        "question": "What are the different ages of editors? Show each age along with the number of editors of that age.",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "ages",
            "of",
            "editors",
            "?",
            "Show",
            "each",
            "age",
            "along",
            "with",
            "the",
            "number",
            "of",
            "editors",
            "of",
            "that",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT Age FROM editor GROUP BY Age ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Age",
            "FROM",
            "editor",
            "GROUP",
            "BY",
            "Age",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            "from",
            "editor",
            "group",
            "by",
            "age",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the most common age of editors.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "most",
            "common",
            "age",
            "of",
            "editors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT DISTINCT Theme FROM journal",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Theme",
            "FROM",
            "journal"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "theme",
            "from",
            "journal"
        ],
        "question": "Show the distinct themes of journals.",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "themes",
            "of",
            "journals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT T2.Name ,  T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID  =  T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID  =  T3.Journal_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T3.Theme",
            "FROM",
            "journal_committee",
            "AS",
            "T1",
            "JOIN",
            "editor",
            "AS",
            "T2",
            "ON",
            "T1.Editor_ID",
            "=",
            "T2.Editor_ID",
            "JOIN",
            "journal",
            "AS",
            "T3",
            "ON",
            "T1.Journal_ID",
            "=",
            "T3.Journal_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "theme",
            "from",
            "journal_committee",
            "as",
            "t1",
            "join",
            "editor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "editor_id",
            "=",
            "t2",
            ".",
            "editor_id",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "journal_id",
            "=",
            "t3",
            ".",
            "journal_id"
        ],
        "question": "Show the names of editors and the theme of journals for which they serve on committees.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "editors",
            "and",
            "the",
            "theme",
            "of",
            "journals",
            "for",
            "which",
            "they",
            "serve",
            "on",
            "committees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT T2.Name ,  T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID  =  T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID  =  T3.Journal_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T3.Theme",
            "FROM",
            "journal_committee",
            "AS",
            "T1",
            "JOIN",
            "editor",
            "AS",
            "T2",
            "ON",
            "T1.Editor_ID",
            "=",
            "T2.Editor_ID",
            "JOIN",
            "journal",
            "AS",
            "T3",
            "ON",
            "T1.Journal_ID",
            "=",
            "T3.Journal_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "theme",
            "from",
            "journal_committee",
            "as",
            "t1",
            "join",
            "editor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "editor_id",
            "=",
            "t2",
            ".",
            "editor_id",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "journal_id",
            "=",
            "t3",
            ".",
            "journal_id"
        ],
        "question": "For each journal_committee, find the editor name and the journal theme.",
        "question_toks": [
            "For",
            "each",
            "journal_committee",
            ",",
            "find",
            "the",
            "editor",
            "name",
            "and",
            "the",
            "journal",
            "theme",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT T2.Name ,  T2.age ,  T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID  =  T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID  =  T3.Journal_ID ORDER BY T3.Theme ASC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T2.age",
            ",",
            "T3.Theme",
            "FROM",
            "journal_committee",
            "AS",
            "T1",
            "JOIN",
            "editor",
            "AS",
            "T2",
            "ON",
            "T1.Editor_ID",
            "=",
            "T2.Editor_ID",
            "JOIN",
            "journal",
            "AS",
            "T3",
            "ON",
            "T1.Journal_ID",
            "=",
            "T3.Journal_ID",
            "ORDER",
            "BY",
            "T3.Theme",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "age",
            ",",
            "t3",
            ".",
            "theme",
            "from",
            "journal_committee",
            "as",
            "t1",
            "join",
            "editor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "editor_id",
            "=",
            "t2",
            ".",
            "editor_id",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "journal_id",
            "=",
            "t3",
            ".",
            "journal_id",
            "order",
            "by",
            "t3",
            ".",
            "theme",
            "asc"
        ],
        "question": "Show the names and ages of editors and the theme of journals for which they serve on committees, in ascending alphabetical order of theme.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "ages",
            "of",
            "editors",
            "and",
            "the",
            "theme",
            "of",
            "journals",
            "for",
            "which",
            "they",
            "serve",
            "on",
            "committees",
            ",",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "of",
            "theme",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT T2.Name FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID  =  T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID  =  T3.Journal_ID WHERE T3.Sales  >  3000",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "journal_committee",
            "AS",
            "T1",
            "JOIN",
            "editor",
            "AS",
            "T2",
            "ON",
            "T1.Editor_ID",
            "=",
            "T2.Editor_ID",
            "JOIN",
            "journal",
            "AS",
            "T3",
            "ON",
            "T1.Journal_ID",
            "=",
            "T3.Journal_ID",
            "WHERE",
            "T3.Sales",
            ">",
            "3000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "journal_committee",
            "as",
            "t1",
            "join",
            "editor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "editor_id",
            "=",
            "t2",
            ".",
            "editor_id",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "journal_id",
            "=",
            "t3",
            ".",
            "journal_id",
            "where",
            "t3",
            ".",
            "sales",
            ">",
            "value"
        ],
        "question": "Show the names of editors that are on the committee of journals with sales bigger than 3000.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "editors",
            "that",
            "are",
            "on",
            "the",
            "committee",
            "of",
            "journals",
            "with",
            "sales",
            "bigger",
            "than",
            "3000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT T1.editor_id ,  T1.Name ,  COUNT(*) FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID  =  T2.Editor_ID GROUP BY T1.editor_id",
        "query_toks": [
            "SELECT",
            "T1.editor_id",
            ",",
            "T1.Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "editor",
            "AS",
            "T1",
            "JOIN",
            "journal_committee",
            "AS",
            "T2",
            "ON",
            "T1.Editor_ID",
            "=",
            "T2.Editor_ID",
            "GROUP",
            "BY",
            "T1.editor_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "editor_id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "editor",
            "as",
            "t1",
            "join",
            "journal_committee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "editor_id",
            "=",
            "t2",
            ".",
            "editor_id",
            "group",
            "by",
            "t1",
            ".",
            "editor_id"
        ],
        "question": "Show the id, name of each editor and the number of journal committees they are on.",
        "question_toks": [
            "Show",
            "the",
            "id",
            ",",
            "name",
            "of",
            "each",
            "editor",
            "and",
            "the",
            "number",
            "of",
            "journal",
            "committees",
            "they",
            "are",
            "on",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT T1.Name FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID  =  T2.Editor_ID GROUP BY T1.Name HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "editor",
            "AS",
            "T1",
            "JOIN",
            "journal_committee",
            "AS",
            "T2",
            "ON",
            "T1.Editor_ID",
            "=",
            "T2.Editor_ID",
            "GROUP",
            "BY",
            "T1.Name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "editor",
            "as",
            "t1",
            "join",
            "journal_committee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "editor_id",
            "=",
            "t2",
            ".",
            "editor_id",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the names of editors that are on at least two journal committees.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "editors",
            "that",
            "are",
            "on",
            "at",
            "least",
            "two",
            "journal",
            "committees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT Name FROM editor WHERE editor_id NOT IN (SELECT editor_id FROM journal_committee)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "editor",
            "WHERE",
            "editor_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "editor_id",
            "FROM",
            "journal_committee",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "editor",
            "where",
            "editor_id",
            "not",
            "in",
            "(",
            "select",
            "editor_id",
            "from",
            "journal_committee",
            ")"
        ],
        "question": "List the names of editors that are not on any journal committee.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "editors",
            "that",
            "are",
            "not",
            "on",
            "any",
            "journal",
            "committee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT date ,  theme ,  sales FROM journal EXCEPT SELECT T1.date ,  T1.theme ,  T1.sales FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID  =  T2.journal_ID",
        "query_toks": [
            "SELECT",
            "date",
            ",",
            "theme",
            ",",
            "sales",
            "FROM",
            "journal",
            "EXCEPT",
            "SELECT",
            "T1.date",
            ",",
            "T1.theme",
            ",",
            "T1.sales",
            "FROM",
            "journal",
            "AS",
            "T1",
            "JOIN",
            "journal_committee",
            "AS",
            "T2",
            "ON",
            "T1.journal_ID",
            "=",
            "T2.journal_ID"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "theme",
            ",",
            "sales",
            "from",
            "journal",
            "except",
            "select",
            "t1",
            ".",
            "date",
            ",",
            "t1",
            ".",
            "theme",
            ",",
            "t1",
            ".",
            "sales",
            "from",
            "journal",
            "as",
            "t1",
            "join",
            "journal_committee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "journal_id",
            "=",
            "t2",
            ".",
            "journal_id"
        ],
        "question": "List the date, theme and sales of the journal which did not have any of the listed editors serving on committee.",
        "question_toks": [
            "List",
            "the",
            "date",
            ",",
            "theme",
            "and",
            "sales",
            "of",
            "the",
            "journal",
            "which",
            "did",
            "not",
            "have",
            "any",
            "of",
            "the",
            "listed",
            "editors",
            "serving",
            "on",
            "committee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "journal_committee",
        "query": "SELECT avg(T1.sales) FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID  =  T2.journal_ID WHERE T2.work_type  =  'Photo'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.sales",
            ")",
            "FROM",
            "journal",
            "AS",
            "T1",
            "JOIN",
            "journal_committee",
            "AS",
            "T2",
            "ON",
            "T1.journal_ID",
            "=",
            "T2.journal_ID",
            "WHERE",
            "T2.work_type",
            "=",
            "'Photo",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "sales",
            ")",
            "from",
            "journal",
            "as",
            "t1",
            "join",
            "journal_committee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "journal_id",
            "=",
            "t2",
            ".",
            "journal_id",
            "where",
            "t2",
            ".",
            "work_type",
            "=",
            "value"
        ],
        "question": "What is the average sales of the journals that have an editor whose work type is 'Photo'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "sales",
            "of",
            "the",
            "journals",
            "that",
            "have",
            "an",
            "editor",
            "whose",
            "work",
            "type",
            "is",
            "'Photo",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Photo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts"
        ],
        "question": "How many accounts do we have?",
        "question_toks": [
            "How",
            "many",
            "accounts",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts"
        ],
        "question": "Count the number of accounts.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT account_id ,  customer_id ,  account_name FROM Accounts",
        "query_toks": [
            "SELECT",
            "account_id",
            ",",
            "customer_id",
            ",",
            "account_name",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            ",",
            "customer_id",
            ",",
            "account_name",
            "from",
            "accounts"
        ],
        "question": "Show ids, customer ids, names for all accounts.",
        "question_toks": [
            "Show",
            "ids",
            ",",
            "customer",
            "ids",
            ",",
            "names",
            "for",
            "all",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT account_id ,  customer_id ,  account_name FROM Accounts",
        "query_toks": [
            "SELECT",
            "account_id",
            ",",
            "customer_id",
            ",",
            "account_name",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            ",",
            "customer_id",
            ",",
            "account_name",
            "from",
            "accounts"
        ],
        "question": "What are the account ids, customer ids, and account names for all the accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "account",
            "ids",
            ",",
            "customer",
            "ids",
            ",",
            "and",
            "account",
            "names",
            "for",
            "all",
            "the",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT other_account_details FROM Accounts WHERE account_name  =  \"338\"",
        "query_toks": [
            "SELECT",
            "other_account_details",
            "FROM",
            "Accounts",
            "WHERE",
            "account_name",
            "=",
            "``",
            "338",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "other_account_details",
            "from",
            "accounts",
            "where",
            "account_name",
            "=",
            "value"
        ],
        "question": "Show other account details for account with name 338.",
        "question_toks": [
            "Show",
            "other",
            "account",
            "details",
            "for",
            "account",
            "with",
            "name",
            "338",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"338\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT other_account_details FROM Accounts WHERE account_name  =  \"338\"",
        "query_toks": [
            "SELECT",
            "other_account_details",
            "FROM",
            "Accounts",
            "WHERE",
            "account_name",
            "=",
            "``",
            "338",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "other_account_details",
            "from",
            "accounts",
            "where",
            "account_name",
            "=",
            "value"
        ],
        "question": "What are the other account details for the account with the name 338?",
        "question_toks": [
            "What",
            "are",
            "the",
            "other",
            "account",
            "details",
            "for",
            "the",
            "account",
            "with",
            "the",
            "name",
            "338",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"338\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T2.customer_first_name ,  T2.customer_last_name ,  T2.customer_phone FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.account_name  =  \"162\"",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            ",",
            "T2.customer_phone",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.account_name",
            "=",
            "``",
            "162",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "t2",
            ".",
            "customer_phone",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "account_name",
            "=",
            "value"
        ],
        "question": "What is the first name, last name, and phone of the customer with account name 162?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            ",",
            "last",
            "name",
            ",",
            "and",
            "phone",
            "of",
            "the",
            "customer",
            "with",
            "account",
            "name",
            "162",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"162\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T2.customer_first_name ,  T2.customer_last_name ,  T2.customer_phone FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.account_name  =  \"162\"",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            ",",
            "T2.customer_phone",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.account_name",
            "=",
            "``",
            "162",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "t2",
            ".",
            "customer_phone",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "account_name",
            "=",
            "value"
        ],
        "question": "Give the full name and phone of the customer who has the account name 162.",
        "question_toks": [
            "Give",
            "the",
            "full",
            "name",
            "and",
            "phone",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "account",
            "name",
            "162",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"162\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  \"Art\" AND T2.customer_last_name  =  \"Turcotte\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "``",
            "Art",
            "''",
            "AND",
            "T2.customer_last_name",
            "=",
            "``",
            "Turcotte",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "customer_last_name",
            "=",
            "value"
        ],
        "question": "How many accounts does the customer with first name Art and last name Turcotte have?",
        "question_toks": [
            "How",
            "many",
            "accounts",
            "does",
            "the",
            "customer",
            "with",
            "first",
            "name",
            "Art",
            "and",
            "last",
            "name",
            "Turcotte",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Art\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Turcotte\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  \"Art\" AND T2.customer_last_name  =  \"Turcotte\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "``",
            "Art",
            "''",
            "AND",
            "T2.customer_last_name",
            "=",
            "``",
            "Turcotte",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "customer_last_name",
            "=",
            "value"
        ],
        "question": "Return the number of accounts that the customer with the first name Art and last name Turcotte has.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "accounts",
            "that",
            "the",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "Art",
            "and",
            "last",
            "name",
            "Turcotte",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Art\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Turcotte\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  count(*) FROM Accounts GROUP BY customer_id",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "GROUP",
            "BY",
            "customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "group",
            "by",
            "customer_id"
        ],
        "question": "Show all customer ids and the number of accounts for each customer.",
        "question_toks": [
            "Show",
            "all",
            "customer",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "accounts",
            "for",
            "each",
            "customer",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  count(*) FROM Accounts GROUP BY customer_id",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "GROUP",
            "BY",
            "customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "group",
            "by",
            "customer_id"
        ],
        "question": "How many accounts are there for each customer id?",
        "question_toks": [
            "How",
            "many",
            "accounts",
            "are",
            "there",
            "for",
            "each",
            "customer",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  count(*) FROM Accounts GROUP BY customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "GROUP",
            "BY",
            "customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "group",
            "by",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the customer id and number of accounts with most accounts.",
        "question_toks": [
            "Show",
            "the",
            "customer",
            "id",
            "and",
            "number",
            "of",
            "accounts",
            "with",
            "most",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  count(*) FROM Accounts GROUP BY customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "GROUP",
            "BY",
            "customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "group",
            "by",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the customer id of the customer with the most accounts, and how many accounts does this person have?",
        "question_toks": [
            "What",
            "is",
            "the",
            "customer",
            "id",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "most",
            "accounts",
            ",",
            "and",
            "how",
            "many",
            "accounts",
            "does",
            "this",
            "person",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T2.customer_first_name ,  T2.customer_last_name ,  T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            ",",
            "T1.customer_id",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the customer first, last name and id with least number of accounts.",
        "question_toks": [
            "What",
            "is",
            "the",
            "customer",
            "first",
            ",",
            "last",
            "name",
            "and",
            "id",
            "with",
            "least",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T2.customer_first_name ,  T2.customer_last_name ,  T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            ",",
            "T1.customer_id",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Give the full name and customer id of the customer with the fewest accounts.",
        "question_toks": [
            "Give",
            "the",
            "full",
            "name",
            "and",
            "customer",
            "id",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "fewest",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers WHERE customer_id NOT IN (SELECT customer_id FROM Accounts)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "Accounts",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "accounts",
            ")"
        ],
        "question": "Show the number of all customers without an account.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "all",
            "customers",
            "without",
            "an",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers WHERE customer_id NOT IN (SELECT customer_id FROM Accounts)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "Accounts",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "accounts",
            ")"
        ],
        "question": "How many customers do not have an account?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "do",
            "not",
            "have",
            "an",
            "account",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_first_name ,  customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name ,  T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_first_name",
            ",",
            "customer_last_name",
            "FROM",
            "Customers",
            "EXCEPT",
            "SELECT",
            "T1.customer_first_name",
            ",",
            "T1.customer_last_name",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_first_name",
            ",",
            "customer_last_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_first_name",
            ",",
            "t1",
            ".",
            "customer_last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Show the first names and last names of customers without any account.",
        "question_toks": [
            "Show",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "customers",
            "without",
            "any",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_first_name ,  customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name ,  T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_first_name",
            ",",
            "customer_last_name",
            "FROM",
            "Customers",
            "EXCEPT",
            "SELECT",
            "T1.customer_first_name",
            ",",
            "T1.customer_last_name",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_first_name",
            ",",
            "customer_last_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_first_name",
            ",",
            "t1",
            ".",
            "customer_last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "What are the full names of customers who do not have any accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "any",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT DISTINCT T1.customer_first_name ,  T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_first_name",
            ",",
            "T1.customer_last_name",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_first_name",
            ",",
            "t1",
            ".",
            "customer_last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Show distinct first and last names for all customers with an account.",
        "question_toks": [
            "Show",
            "distinct",
            "first",
            "and",
            "last",
            "names",
            "for",
            "all",
            "customers",
            "with",
            "an",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT DISTINCT T1.customer_first_name ,  T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_first_name",
            ",",
            "T1.customer_last_name",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_first_name",
            ",",
            "t1",
            ".",
            "customer_last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "What are the full names of customers who have accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(DISTINCT customer_id) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "customer_id",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "customer_id",
            ")",
            "from",
            "accounts"
        ],
        "question": "How many customers have an account?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "have",
            "an",
            "account",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(DISTINCT customer_id) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "customer_id",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "customer_id",
            ")",
            "from",
            "accounts"
        ],
        "question": "Count the number of customers who hold an account.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "who",
            "hold",
            "an",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "How many customers do we have?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "Count the number of customers.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  customer_first_name ,  customer_last_name ,  customer_phone FROM Customers",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "customer_first_name",
            ",",
            "customer_last_name",
            ",",
            "customer_phone",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "customer_first_name",
            ",",
            "customer_last_name",
            ",",
            "customer_phone",
            "from",
            "customers"
        ],
        "question": "Show ids, first names, last names, and phones for all customers.",
        "question_toks": [
            "Show",
            "ids",
            ",",
            "first",
            "names",
            ",",
            "last",
            "names",
            ",",
            "and",
            "phones",
            "for",
            "all",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  customer_first_name ,  customer_last_name ,  customer_phone FROM Customers",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "customer_first_name",
            ",",
            "customer_last_name",
            ",",
            "customer_phone",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "customer_first_name",
            ",",
            "customer_last_name",
            ",",
            "customer_phone",
            "from",
            "customers"
        ],
        "question": "What are the ids, full names, and phones of each customer?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "full",
            "names",
            ",",
            "and",
            "phones",
            "of",
            "each",
            "customer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_phone ,  customer_email FROM Customers WHERE customer_first_name  =  \"Aniyah\" AND customer_last_name  =  \"Feest\"",
        "query_toks": [
            "SELECT",
            "customer_phone",
            ",",
            "customer_email",
            "FROM",
            "Customers",
            "WHERE",
            "customer_first_name",
            "=",
            "``",
            "Aniyah",
            "''",
            "AND",
            "customer_last_name",
            "=",
            "``",
            "Feest",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            ",",
            "customer_email",
            "from",
            "customers",
            "where",
            "customer_first_name",
            "=",
            "value",
            "and",
            "customer_last_name",
            "=",
            "value"
        ],
        "question": "What is the phone and email for customer with first name Aniyah and last name Feest?",
        "question_toks": [
            "What",
            "is",
            "the",
            "phone",
            "and",
            "email",
            "for",
            "customer",
            "with",
            "first",
            "name",
            "Aniyah",
            "and",
            "last",
            "name",
            "Feest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Aniyah\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Feest\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_phone ,  customer_email FROM Customers WHERE customer_first_name  =  \"Aniyah\" AND customer_last_name  =  \"Feest\"",
        "query_toks": [
            "SELECT",
            "customer_phone",
            ",",
            "customer_email",
            "FROM",
            "Customers",
            "WHERE",
            "customer_first_name",
            "=",
            "``",
            "Aniyah",
            "''",
            "AND",
            "customer_last_name",
            "=",
            "``",
            "Feest",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            ",",
            "customer_email",
            "from",
            "customers",
            "where",
            "customer_first_name",
            "=",
            "value",
            "and",
            "customer_last_name",
            "=",
            "value"
        ],
        "question": "Return the phone and email of the customer with the first name Aniyah and last name Feest.",
        "question_toks": [
            "Return",
            "the",
            "phone",
            "and",
            "email",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "Aniyah",
            "and",
            "last",
            "name",
            "Feest",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Aniyah\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Feest\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers_cards",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards"
        ],
        "question": "Show the number of customer cards.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "customer",
            "cards",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers_cards",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards"
        ],
        "question": "How many customer cards are there?",
        "question_toks": [
            "How",
            "many",
            "customer",
            "cards",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_id ,  customer_id ,  card_type_code ,  card_number FROM Customers_cards",
        "query_toks": [
            "SELECT",
            "card_id",
            ",",
            "customer_id",
            ",",
            "card_type_code",
            ",",
            "card_number",
            "FROM",
            "Customers_cards"
        ],
        "query_toks_no_value": [
            "select",
            "card_id",
            ",",
            "customer_id",
            ",",
            "card_type_code",
            ",",
            "card_number",
            "from",
            "customers_cards"
        ],
        "question": "Show ids, customer ids, card type codes, card numbers for all cards.",
        "question_toks": [
            "Show",
            "ids",
            ",",
            "customer",
            "ids",
            ",",
            "card",
            "type",
            "codes",
            ",",
            "card",
            "numbers",
            "for",
            "all",
            "cards",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_id ,  customer_id ,  card_type_code ,  card_number FROM Customers_cards",
        "query_toks": [
            "SELECT",
            "card_id",
            ",",
            "customer_id",
            ",",
            "card_type_code",
            ",",
            "card_number",
            "FROM",
            "Customers_cards"
        ],
        "query_toks_no_value": [
            "select",
            "card_id",
            ",",
            "customer_id",
            ",",
            "card_type_code",
            ",",
            "card_number",
            "from",
            "customers_cards"
        ],
        "question": "What are card ids, customer ids, card types, and card numbers for each customer card?",
        "question_toks": [
            "What",
            "are",
            "card",
            "ids",
            ",",
            "customer",
            "ids",
            ",",
            "card",
            "types",
            ",",
            "and",
            "card",
            "numbers",
            "for",
            "each",
            "customer",
            "card",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT date_valid_from ,  date_valid_to FROM Customers_cards WHERE card_number  =  \"4560596484842\"",
        "query_toks": [
            "SELECT",
            "date_valid_from",
            ",",
            "date_valid_to",
            "FROM",
            "Customers_cards",
            "WHERE",
            "card_number",
            "=",
            "``",
            "4560596484842",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_valid_from",
            ",",
            "date_valid_to",
            "from",
            "customers_cards",
            "where",
            "card_number",
            "=",
            "value"
        ],
        "question": "Show the date valid from and the date valid to for the card with card number '4560596484842'.",
        "question_toks": [
            "Show",
            "the",
            "date",
            "valid",
            "from",
            "and",
            "the",
            "date",
            "valid",
            "to",
            "for",
            "the",
            "card",
            "with",
            "card",
            "number",
            "'4560596484842",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"4560596484842\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT date_valid_from ,  date_valid_to FROM Customers_cards WHERE card_number  =  \"4560596484842\"",
        "query_toks": [
            "SELECT",
            "date_valid_from",
            ",",
            "date_valid_to",
            "FROM",
            "Customers_cards",
            "WHERE",
            "card_number",
            "=",
            "``",
            "4560596484842",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_valid_from",
            ",",
            "date_valid_to",
            "from",
            "customers_cards",
            "where",
            "card_number",
            "=",
            "value"
        ],
        "question": "What are the valid from and valid to dates for the card with the number 4560596484842?",
        "question_toks": [
            "What",
            "are",
            "the",
            "valid",
            "from",
            "and",
            "valid",
            "to",
            "dates",
            "for",
            "the",
            "card",
            "with",
            "the",
            "number",
            "4560596484842",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"4560596484842\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T2.customer_first_name ,  T2.customer_last_name ,  T2.customer_phone FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.card_number  =  \"4560596484842\"",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            ",",
            "T2.customer_phone",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.card_number",
            "=",
            "``",
            "4560596484842",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "t2",
            ".",
            "customer_phone",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "card_number",
            "=",
            "value"
        ],
        "question": "What is the first name, last name, and phone of the customer with card 4560596484842.",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            ",",
            "last",
            "name",
            ",",
            "and",
            "phone",
            "of",
            "the",
            "customer",
            "with",
            "card",
            "4560596484842",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"4560596484842\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T2.customer_first_name ,  T2.customer_last_name ,  T2.customer_phone FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.card_number  =  \"4560596484842\"",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            ",",
            "T2.customer_phone",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.card_number",
            "=",
            "``",
            "4560596484842",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "t2",
            ".",
            "customer_phone",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "card_number",
            "=",
            "value"
        ],
        "question": "Return the full name and phone of the customer who has card number 4560596484842.",
        "question_toks": [
            "Return",
            "the",
            "full",
            "name",
            "and",
            "phone",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "card",
            "number",
            "4560596484842",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"4560596484842\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  \"Art\" AND T2.customer_last_name  =  \"Turcotte\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "``",
            "Art",
            "''",
            "AND",
            "T2.customer_last_name",
            "=",
            "``",
            "Turcotte",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "customer_last_name",
            "=",
            "value"
        ],
        "question": "How many cards does customer Art Turcotte have?",
        "question_toks": [
            "How",
            "many",
            "cards",
            "does",
            "customer",
            "Art",
            "Turcotte",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Art\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Turcotte\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  \"Art\" AND T2.customer_last_name  =  \"Turcotte\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "``",
            "Art",
            "''",
            "AND",
            "T2.customer_last_name",
            "=",
            "``",
            "Turcotte",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "customer_last_name",
            "=",
            "value"
        ],
        "question": "Count the number of cards the customer with the first name Art and last name Turcotte has.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "cards",
            "the",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "Art",
            "and",
            "last",
            "name",
            "Turcotte",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Art\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Turcotte\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers_cards WHERE card_type_code  =  \"Debit\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "WHERE",
            "card_type_code",
            "=",
            "``",
            "Debit",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "where",
            "card_type_code",
            "=",
            "value"
        ],
        "question": "How many debit cards do we have?",
        "question_toks": [
            "How",
            "many",
            "debit",
            "cards",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Debit\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers_cards WHERE card_type_code  =  \"Debit\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "WHERE",
            "card_type_code",
            "=",
            "``",
            "Debit",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "where",
            "card_type_code",
            "=",
            "value"
        ],
        "question": "Count the number of customer cards of the type Debit.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customer",
            "cards",
            "of",
            "the",
            "type",
            "Debit",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Debit\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  \"Blanche\" AND T2.customer_last_name  =  \"Huels\" AND T1.card_type_code  =  \"Credit\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "``",
            "Blanche",
            "''",
            "AND",
            "T2.customer_last_name",
            "=",
            "``",
            "Huels",
            "''",
            "AND",
            "T1.card_type_code",
            "=",
            "``",
            "Credit",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "customer_last_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "card_type_code",
            "=",
            "value"
        ],
        "question": "How many credit cards does customer Blanche Huels have?",
        "question_toks": [
            "How",
            "many",
            "credit",
            "cards",
            "does",
            "customer",
            "Blanche",
            "Huels",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Blanche\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Huels\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Credit\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  \"Blanche\" AND T2.customer_last_name  =  \"Huels\" AND T1.card_type_code  =  \"Credit\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "``",
            "Blanche",
            "''",
            "AND",
            "T2.customer_last_name",
            "=",
            "``",
            "Huels",
            "''",
            "AND",
            "T1.card_type_code",
            "=",
            "``",
            "Credit",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "customer_last_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "card_type_code",
            "=",
            "value"
        ],
        "question": "Count the number of credit cards that the customer with first name Blanche and last name Huels has.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "credit",
            "cards",
            "that",
            "the",
            "customer",
            "with",
            "first",
            "name",
            "Blanche",
            "and",
            "last",
            "name",
            "Huels",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Blanche\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Huels\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Credit\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  count(*) FROM Customers_cards GROUP BY customer_id",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "group",
            "by",
            "customer_id"
        ],
        "question": "Show all customer ids and the number of cards owned by each customer.",
        "question_toks": [
            "Show",
            "all",
            "customer",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "cards",
            "owned",
            "by",
            "each",
            "customer",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  count(*) FROM Customers_cards GROUP BY customer_id",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "group",
            "by",
            "customer_id"
        ],
        "question": "What are the different customer ids, and how many cards does each one hold?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "customer",
            "ids",
            ",",
            "and",
            "how",
            "many",
            "cards",
            "does",
            "each",
            "one",
            "hold",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  count(*) FROM Customers_cards GROUP BY customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "group",
            "by",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the customer id with most number of cards, and how many does he have?",
        "question_toks": [
            "What",
            "is",
            "the",
            "customer",
            "id",
            "with",
            "most",
            "number",
            "of",
            "cards",
            ",",
            "and",
            "how",
            "many",
            "does",
            "he",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  count(*) FROM Customers_cards GROUP BY customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "group",
            "by",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the id of the customer who has the most cards, as well as the number of cards.",
        "question_toks": [
            "Return",
            "the",
            "id",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "most",
            "cards",
            ",",
            "as",
            "well",
            "as",
            "the",
            "number",
            "of",
            "cards",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T1.customer_id ,  T2.customer_first_name ,  T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show id, first and last names for all customers with at least two cards.",
        "question_toks": [
            "Show",
            "id",
            ",",
            "first",
            "and",
            "last",
            "names",
            "for",
            "all",
            "customers",
            "with",
            "at",
            "least",
            "two",
            "cards",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T1.customer_id ,  T2.customer_first_name ,  T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the ids and full names of customers who hold two or more cards?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "full",
            "names",
            "of",
            "customers",
            "who",
            "hold",
            "two",
            "or",
            "more",
            "cards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T1.customer_id ,  T2.customer_first_name ,  T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the customer id, first and last name with least number of accounts.",
        "question_toks": [
            "What",
            "is",
            "the",
            "customer",
            "id",
            ",",
            "first",
            "and",
            "last",
            "name",
            "with",
            "least",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T1.customer_id ,  T2.customer_first_name ,  T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Return the id and full name of the customer who has the fewest accounts.",
        "question_toks": [
            "Return",
            "the",
            "id",
            "and",
            "full",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "fewest",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_type_code ,  count(*) FROM Customers_cards GROUP BY card_type_code",
        "query_toks": [
            "SELECT",
            "card_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "card_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "card_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "group",
            "by",
            "card_type_code"
        ],
        "question": "Show all card type codes and the number of cards in each type.",
        "question_toks": [
            "Show",
            "all",
            "card",
            "type",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "cards",
            "in",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_type_code ,  count(*) FROM Customers_cards GROUP BY card_type_code",
        "query_toks": [
            "SELECT",
            "card_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "card_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "card_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers_cards",
            "group",
            "by",
            "card_type_code"
        ],
        "question": "What are the different card types, and how many cards are there of each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "card",
            "types",
            ",",
            "and",
            "how",
            "many",
            "cards",
            "are",
            "there",
            "of",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "card_type_code",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "card_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "card_type_code",
            "from",
            "customers_cards",
            "group",
            "by",
            "card_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the card type code with most number of cards?",
        "question_toks": [
            "What",
            "is",
            "the",
            "card",
            "type",
            "code",
            "with",
            "most",
            "number",
            "of",
            "cards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "card_type_code",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "card_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "card_type_code",
            "from",
            "customers_cards",
            "group",
            "by",
            "card_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the code of the card type that is most common.",
        "question_toks": [
            "Return",
            "the",
            "code",
            "of",
            "the",
            "card",
            "type",
            "that",
            "is",
            "most",
            "common",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_type_code FROM Customers_cards GROUP BY card_type_code HAVING count(*)  >=  5",
        "query_toks": [
            "SELECT",
            "card_type_code",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "card_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "card_type_code",
            "from",
            "customers_cards",
            "group",
            "by",
            "card_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show card type codes with at least 5 cards.",
        "question_toks": [
            "Show",
            "card",
            "type",
            "codes",
            "with",
            "at",
            "least",
            "5",
            "cards",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_type_code FROM Customers_cards GROUP BY card_type_code HAVING count(*)  >=  5",
        "query_toks": [
            "SELECT",
            "card_type_code",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "card_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "card_type_code",
            "from",
            "customers_cards",
            "group",
            "by",
            "card_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the codes of card types that have 5 or more cards?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "of",
            "card",
            "types",
            "that",
            "have",
            "5",
            "or",
            "more",
            "cards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_type_code ,  count(DISTINCT customer_id) FROM Customers_cards GROUP BY card_type_code",
        "query_toks": [
            "SELECT",
            "card_type_code",
            ",",
            "count",
            "(",
            "DISTINCT",
            "customer_id",
            ")",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "card_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "card_type_code",
            ",",
            "count",
            "(",
            "distinct",
            "customer_id",
            ")",
            "from",
            "customers_cards",
            "group",
            "by",
            "card_type_code"
        ],
        "question": "Show all card type codes and the number of customers holding cards in each type.",
        "question_toks": [
            "Show",
            "all",
            "card",
            "type",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "customers",
            "holding",
            "cards",
            "in",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT card_type_code ,  count(DISTINCT customer_id) FROM Customers_cards GROUP BY card_type_code",
        "query_toks": [
            "SELECT",
            "card_type_code",
            ",",
            "count",
            "(",
            "DISTINCT",
            "customer_id",
            ")",
            "FROM",
            "Customers_cards",
            "GROUP",
            "BY",
            "card_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "card_type_code",
            ",",
            "count",
            "(",
            "distinct",
            "customer_id",
            ")",
            "from",
            "customers_cards",
            "group",
            "by",
            "card_type_code"
        ],
        "question": "What are the different card type codes, and how many different customers hold each type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "card",
            "type",
            "codes",
            ",",
            "and",
            "how",
            "many",
            "different",
            "customers",
            "hold",
            "each",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  customer_first_name FROM Customers EXCEPT SELECT T1.customer_id ,  T2.customer_first_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE card_type_code  =  \"Credit\"",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "customer_first_name",
            "FROM",
            "Customers",
            "EXCEPT",
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "card_type_code",
            "=",
            "``",
            "Credit",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "customer_first_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "card_type_code",
            "=",
            "value"
        ],
        "question": "Show the customer ids and firstname without a credit card.",
        "question_toks": [
            "Show",
            "the",
            "customer",
            "ids",
            "and",
            "firstname",
            "without",
            "a",
            "credit",
            "card",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Credit\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT customer_id ,  customer_first_name FROM Customers EXCEPT SELECT T1.customer_id ,  T2.customer_first_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE card_type_code  =  \"Credit\"",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "customer_first_name",
            "FROM",
            "Customers",
            "EXCEPT",
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            "FROM",
            "Customers_cards",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "card_type_code",
            "=",
            "``",
            "Credit",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "customer_first_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            "from",
            "customers_cards",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "card_type_code",
            "=",
            "value"
        ],
        "question": "What are the ids and first names of customers who do not hold a credit card?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "first",
            "names",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "hold",
            "a",
            "credit",
            "card",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Credit\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT DISTINCT card_type_code FROM Customers_Cards",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "card_type_code",
            "FROM",
            "Customers_Cards"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "card_type_code",
            "from",
            "customers_cards"
        ],
        "question": "Show all card type codes.",
        "question_toks": [
            "Show",
            "all",
            "card",
            "type",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT DISTINCT card_type_code FROM Customers_Cards",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "card_type_code",
            "FROM",
            "Customers_Cards"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "card_type_code",
            "from",
            "customers_cards"
        ],
        "question": "What are the different card type codes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "card",
            "type",
            "codes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(DISTINCT card_type_code) FROM Customers_Cards",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "card_type_code",
            ")",
            "FROM",
            "Customers_Cards"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "card_type_code",
            ")",
            "from",
            "customers_cards"
        ],
        "question": "Show the number of card types.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "card",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                14,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(DISTINCT card_type_code) FROM Customers_Cards",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "card_type_code",
            ")",
            "FROM",
            "Customers_Cards"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "card_type_code",
            ")",
            "from",
            "customers_cards"
        ],
        "question": "How many different card types are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "card",
            "types",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                14,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT DISTINCT transaction_type FROM Financial_Transactions",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "transaction_type",
            "FROM",
            "Financial_Transactions"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "transaction_type",
            "from",
            "financial_transactions"
        ],
        "question": "Show all transaction types.",
        "question_toks": [
            "Show",
            "all",
            "transaction",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT DISTINCT transaction_type FROM Financial_Transactions",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "transaction_type",
            "FROM",
            "Financial_Transactions"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "transaction_type",
            "from",
            "financial_transactions"
        ],
        "question": "What are the different types of transactions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "types",
            "of",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(DISTINCT transaction_type) FROM Financial_Transactions",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "transaction_type",
            ")",
            "FROM",
            "Financial_Transactions"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "transaction_type",
            ")",
            "from",
            "financial_transactions"
        ],
        "question": "Show the number of transaction types.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "transaction",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                23,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT count(DISTINCT transaction_type) FROM Financial_Transactions",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "transaction_type",
            ")",
            "FROM",
            "Financial_Transactions"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "transaction_type",
            ")",
            "from",
            "financial_transactions"
        ],
        "question": "How many different types of transactions are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "types",
            "of",
            "transactions",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                23,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT avg(transaction_amount) ,  sum(transaction_amount) FROM Financial_transactions",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "transaction_amount",
            ")",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "FROM",
            "Financial_transactions"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "transaction_amount",
            ")",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "from",
            "financial_transactions"
        ],
        "question": "What is the average and total transaction amount?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "and",
            "total",
            "transaction",
            "amount",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT avg(transaction_amount) ,  sum(transaction_amount) FROM Financial_transactions",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "transaction_amount",
            ")",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "FROM",
            "Financial_transactions"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "transaction_amount",
            ")",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "from",
            "financial_transactions"
        ],
        "question": "Return the average transaction amount, as well as the total amount of all transactions.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "transaction",
            "amount",
            ",",
            "as",
            "well",
            "as",
            "the",
            "total",
            "amount",
            "of",
            "all",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T2.card_type_code ,  count(*) FROM Financial_transactions AS T1 JOIN Customers_cards AS T2 ON T1.card_id  =  T2.card_id GROUP BY T2.card_type_code",
        "query_toks": [
            "SELECT",
            "T2.card_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Customers_cards",
            "AS",
            "T2",
            "ON",
            "T1.card_id",
            "=",
            "T2.card_id",
            "GROUP",
            "BY",
            "T2.card_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "card_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "customers_cards",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "card_id",
            "=",
            "t2",
            ".",
            "card_id",
            "group",
            "by",
            "t2",
            ".",
            "card_type_code"
        ],
        "question": "Show the card type codes and the number of transactions.",
        "question_toks": [
            "Show",
            "the",
            "card",
            "type",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT T2.card_type_code ,  count(*) FROM Financial_transactions AS T1 JOIN Customers_cards AS T2 ON T1.card_id  =  T2.card_id GROUP BY T2.card_type_code",
        "query_toks": [
            "SELECT",
            "T2.card_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Customers_cards",
            "AS",
            "T2",
            "ON",
            "T1.card_id",
            "=",
            "T2.card_id",
            "GROUP",
            "BY",
            "T2.card_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "card_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "customers_cards",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "card_id",
            "=",
            "t2",
            ".",
            "card_id",
            "group",
            "by",
            "t2",
            ".",
            "card_type_code"
        ],
        "question": "What are the different card types, and how many transactions have been made with each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "card",
            "types",
            ",",
            "and",
            "how",
            "many",
            "transactions",
            "have",
            "been",
            "made",
            "with",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT transaction_type ,  count(*) FROM Financial_transactions GROUP BY transaction_type",
        "query_toks": [
            "SELECT",
            "transaction_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "transaction_type"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "group",
            "by",
            "transaction_type"
        ],
        "question": "Show the transaction type and the number of transactions.",
        "question_toks": [
            "Show",
            "the",
            "transaction",
            "type",
            "and",
            "the",
            "number",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT transaction_type ,  count(*) FROM Financial_transactions GROUP BY transaction_type",
        "query_toks": [
            "SELECT",
            "transaction_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "transaction_type"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "group",
            "by",
            "transaction_type"
        ],
        "question": "What are the different transaction types, and how many transactions of each have taken place?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "transaction",
            "types",
            ",",
            "and",
            "how",
            "many",
            "transactions",
            "of",
            "each",
            "have",
            "taken",
            "place",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT transaction_type FROM Financial_transactions GROUP BY transaction_type ORDER BY sum(transaction_amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "transaction_type",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "transaction_type",
            "ORDER",
            "BY",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type",
            "from",
            "financial_transactions",
            "group",
            "by",
            "transaction_type",
            "order",
            "by",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the transaction type that has processed the greatest total amount in transactions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "transaction",
            "type",
            "that",
            "has",
            "processed",
            "the",
            "greatest",
            "total",
            "amount",
            "in",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT transaction_type FROM Financial_transactions GROUP BY transaction_type ORDER BY sum(transaction_amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "transaction_type",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "transaction_type",
            "ORDER",
            "BY",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type",
            "from",
            "financial_transactions",
            "group",
            "by",
            "transaction_type",
            "order",
            "by",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the type of transaction with the highest total amount.",
        "question_toks": [
            "Return",
            "the",
            "type",
            "of",
            "transaction",
            "with",
            "the",
            "highest",
            "total",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT account_id ,  count(*) FROM Financial_transactions GROUP BY account_id",
        "query_toks": [
            "SELECT",
            "account_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "account_id"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "group",
            "by",
            "account_id"
        ],
        "question": "Show the account id and the number of transactions for each account",
        "question_toks": [
            "Show",
            "the",
            "account",
            "id",
            "and",
            "the",
            "number",
            "of",
            "transactions",
            "for",
            "each",
            "account"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_card_transactions",
        "query": "SELECT account_id ,  count(*) FROM Financial_transactions GROUP BY account_id",
        "query_toks": [
            "SELECT",
            "account_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "account_id"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "group",
            "by",
            "account_id"
        ],
        "question": "What are the different account ids that have made financial transactions, as well as how many transactions correspond to each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "account",
            "ids",
            "that",
            "have",
            "made",
            "financial",
            "transactions",
            ",",
            "as",
            "well",
            "as",
            "how",
            "many",
            "transactions",
            "correspond",
            "to",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT count(*) FROM track",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "track"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "track"
        ],
        "question": "How many tracks do we have?",
        "question_toks": [
            "How",
            "many",
            "tracks",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT count(*) FROM track",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "track"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "track"
        ],
        "question": "Count the number of tracks.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  LOCATION FROM track",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            "FROM",
            "track"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "track"
        ],
        "question": "Show the name and location for all tracks.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "location",
            "for",
            "all",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  LOCATION FROM track",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            "FROM",
            "track"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "track"
        ],
        "question": "What are the names and locations of all tracks?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "all",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  seating FROM track WHERE year_opened  >  2000 ORDER BY seating",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "seating",
            "FROM",
            "track",
            "WHERE",
            "year_opened",
            ">",
            "2000",
            "ORDER",
            "BY",
            "seating"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "seating",
            "from",
            "track",
            "where",
            "year_opened",
            ">",
            "value",
            "order",
            "by",
            "seating"
        ],
        "question": "Show names and seatings, ordered by seating for all tracks opened after 2000.",
        "question_toks": [
            "Show",
            "names",
            "and",
            "seatings",
            ",",
            "ordered",
            "by",
            "seating",
            "for",
            "all",
            "tracks",
            "opened",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  seating FROM track WHERE year_opened  >  2000 ORDER BY seating",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "seating",
            "FROM",
            "track",
            "WHERE",
            "year_opened",
            ">",
            "2000",
            "ORDER",
            "BY",
            "seating"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "seating",
            "from",
            "track",
            "where",
            "year_opened",
            ">",
            "value",
            "order",
            "by",
            "seating"
        ],
        "question": "What are the names and seatings for all tracks opened after 2000, ordered by seating?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "seatings",
            "for",
            "all",
            "tracks",
            "opened",
            "after",
            "2000",
            ",",
            "ordered",
            "by",
            "seating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  LOCATION ,  seating FROM track ORDER BY year_opened DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            ",",
            "seating",
            "FROM",
            "track",
            "ORDER",
            "BY",
            "year_opened",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            ",",
            "seating",
            "from",
            "track",
            "order",
            "by",
            "year_opened",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name, location and seating for the most recently opened track?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            ",",
            "location",
            "and",
            "seating",
            "for",
            "the",
            "most",
            "recently",
            "opened",
            "track",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  LOCATION ,  seating FROM track ORDER BY year_opened DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            ",",
            "seating",
            "FROM",
            "track",
            "ORDER",
            "BY",
            "year_opened",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            ",",
            "seating",
            "from",
            "track",
            "order",
            "by",
            "year_opened",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name, location, and seating of the track that was opened in the most recent year.",
        "question_toks": [
            "Return",
            "the",
            "name",
            ",",
            "location",
            ",",
            "and",
            "seating",
            "of",
            "the",
            "track",
            "that",
            "was",
            "opened",
            "in",
            "the",
            "most",
            "recent",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT min(seating) ,  max(seating) ,  avg(seating) FROM track",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "seating",
            ")",
            ",",
            "max",
            "(",
            "seating",
            ")",
            ",",
            "avg",
            "(",
            "seating",
            ")",
            "FROM",
            "track"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "seating",
            ")",
            ",",
            "max",
            "(",
            "seating",
            ")",
            ",",
            "avg",
            "(",
            "seating",
            ")",
            "from",
            "track"
        ],
        "question": "What is the minimum, maximum, and average seating for all tracks.",
        "question_toks": [
            "What",
            "is",
            "the",
            "minimum",
            ",",
            "maximum",
            ",",
            "and",
            "average",
            "seating",
            "for",
            "all",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT min(seating) ,  max(seating) ,  avg(seating) FROM track",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "seating",
            ")",
            ",",
            "max",
            "(",
            "seating",
            ")",
            ",",
            "avg",
            "(",
            "seating",
            ")",
            "FROM",
            "track"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "seating",
            ")",
            ",",
            "max",
            "(",
            "seating",
            ")",
            ",",
            "avg",
            "(",
            "seating",
            ")",
            "from",
            "track"
        ],
        "question": "Return the minimum, maximum, and average seating across all tracks.",
        "question_toks": [
            "Return",
            "the",
            "minimum",
            ",",
            "maximum",
            ",",
            "and",
            "average",
            "seating",
            "across",
            "all",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  LOCATION ,  year_opened FROM track WHERE seating  >  (SELECT avg(seating) FROM track)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            ",",
            "year_opened",
            "FROM",
            "track",
            "WHERE",
            "seating",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "seating",
            ")",
            "FROM",
            "track",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            ",",
            "year_opened",
            "from",
            "track",
            "where",
            "seating",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "seating",
            ")",
            "from",
            "track",
            ")"
        ],
        "question": "Show the name, location, open year for all tracks with a seating higher than the average.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "location",
            ",",
            "open",
            "year",
            "for",
            "all",
            "tracks",
            "with",
            "a",
            "seating",
            "higher",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  LOCATION ,  year_opened FROM track WHERE seating  >  (SELECT avg(seating) FROM track)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            ",",
            "year_opened",
            "FROM",
            "track",
            "WHERE",
            "seating",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "seating",
            ")",
            "FROM",
            "track",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            ",",
            "year_opened",
            "from",
            "track",
            "where",
            "seating",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "seating",
            ")",
            "from",
            "track",
            ")"
        ],
        "question": "What are the names, locations, and years of opening for tracks with seating higher than average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "locations",
            ",",
            "and",
            "years",
            "of",
            "opening",
            "for",
            "tracks",
            "with",
            "seating",
            "higher",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT DISTINCT LOCATION FROM track",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "LOCATION",
            "FROM",
            "track"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location",
            "from",
            "track"
        ],
        "question": "What are distinct locations where tracks are located?",
        "question_toks": [
            "What",
            "are",
            "distinct",
            "locations",
            "where",
            "tracks",
            "are",
            "located",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT DISTINCT LOCATION FROM track",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "LOCATION",
            "FROM",
            "track"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location",
            "from",
            "track"
        ],
        "question": "Give the different locations of tracks.",
        "question_toks": [
            "Give",
            "the",
            "different",
            "locations",
            "of",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT count(*) FROM race",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "race"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "race"
        ],
        "question": "How many races are there?",
        "question_toks": [
            "How",
            "many",
            "races",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT count(*) FROM race",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "race"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "race"
        ],
        "question": "Count the number of races.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "races",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT DISTINCT CLASS FROM race",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "CLASS",
            "FROM",
            "race"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "class",
            "from",
            "race"
        ],
        "question": "What are the distinct classes that races can have?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "classes",
            "that",
            "races",
            "can",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT DISTINCT CLASS FROM race",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "CLASS",
            "FROM",
            "race"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "class",
            "from",
            "race"
        ],
        "question": "Return the different classes of races.",
        "question_toks": [
            "Return",
            "the",
            "different",
            "classes",
            "of",
            "races",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  CLASS ,  date FROM race",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "CLASS",
            ",",
            "date",
            "FROM",
            "race"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "class",
            ",",
            "date",
            "from",
            "race"
        ],
        "question": "Show name, class, and date for all races.",
        "question_toks": [
            "Show",
            "name",
            ",",
            "class",
            ",",
            "and",
            "date",
            "for",
            "all",
            "races",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name ,  CLASS ,  date FROM race",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "CLASS",
            ",",
            "date",
            "FROM",
            "race"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "class",
            ",",
            "date",
            "from",
            "race"
        ],
        "question": "What are the names, classes, and dates for all races?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "classes",
            ",",
            "and",
            "dates",
            "for",
            "all",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT CLASS ,  count(*) FROM race GROUP BY CLASS",
        "query_toks": [
            "SELECT",
            "CLASS",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "race",
            "GROUP",
            "BY",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "class",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "race",
            "group",
            "by",
            "class"
        ],
        "question": "Show the race class and number of races in each class.",
        "question_toks": [
            "Show",
            "the",
            "race",
            "class",
            "and",
            "number",
            "of",
            "races",
            "in",
            "each",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT CLASS ,  count(*) FROM race GROUP BY CLASS",
        "query_toks": [
            "SELECT",
            "CLASS",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "race",
            "GROUP",
            "BY",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "class",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "race",
            "group",
            "by",
            "class"
        ],
        "question": "What are the different classes of races, and how many races correspond to each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "classes",
            "of",
            "races",
            ",",
            "and",
            "how",
            "many",
            "races",
            "correspond",
            "to",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT CLASS FROM race GROUP BY CLASS ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "CLASS",
            "FROM",
            "race",
            "GROUP",
            "BY",
            "CLASS",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "class",
            "from",
            "race",
            "group",
            "by",
            "class",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the race class with most number of races.",
        "question_toks": [
            "What",
            "is",
            "the",
            "race",
            "class",
            "with",
            "most",
            "number",
            "of",
            "races",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT CLASS FROM race GROUP BY CLASS ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "CLASS",
            "FROM",
            "race",
            "GROUP",
            "BY",
            "CLASS",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "class",
            "from",
            "race",
            "group",
            "by",
            "class",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the class of races that is most common.",
        "question_toks": [
            "Give",
            "the",
            "class",
            "of",
            "races",
            "that",
            "is",
            "most",
            "common",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT CLASS FROM race GROUP BY CLASS HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "CLASS",
            "FROM",
            "race",
            "GROUP",
            "BY",
            "CLASS",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "class",
            "from",
            "race",
            "group",
            "by",
            "class",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List the race class with at least two races.",
        "question_toks": [
            "List",
            "the",
            "race",
            "class",
            "with",
            "at",
            "least",
            "two",
            "races",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT CLASS FROM race GROUP BY CLASS HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "CLASS",
            "FROM",
            "race",
            "GROUP",
            "BY",
            "CLASS",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "class",
            "from",
            "race",
            "group",
            "by",
            "class",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the classes of races that have two or more corresponding races?",
        "question_toks": [
            "What",
            "are",
            "the",
            "classes",
            "of",
            "races",
            "that",
            "have",
            "two",
            "or",
            "more",
            "corresponding",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name FROM track EXCEPT SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id WHERE T1.class  =  'GT'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "track",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id",
            "WHERE",
            "T1.class",
            "=",
            "'GT",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "track",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id",
            "where",
            "t1",
            ".",
            "class",
            "=",
            "value"
        ],
        "question": "What are the names for tracks without a race in class 'GT'.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "for",
            "tracks",
            "without",
            "a",
            "race",
            "in",
            "class",
            "'GT",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "\"GT\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name FROM track EXCEPT SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id WHERE T1.class  =  'GT'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "track",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id",
            "WHERE",
            "T1.class",
            "=",
            "'GT",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "track",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id",
            "where",
            "t1",
            ".",
            "class",
            "=",
            "value"
        ],
        "question": "Give the names of tracks that do not have a race in the class 'GT'.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "tracks",
            "that",
            "do",
            "not",
            "have",
            "a",
            "race",
            "in",
            "the",
            "class",
            "'GT",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "\"GT\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name FROM track WHERE track_id NOT IN (SELECT track_id FROM race)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "track",
            "WHERE",
            "track_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "track_id",
            "FROM",
            "race",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "track",
            "where",
            "track_id",
            "not",
            "in",
            "(",
            "select",
            "track_id",
            "from",
            "race",
            ")"
        ],
        "question": "Show all track names that have had no races.",
        "question_toks": [
            "Show",
            "all",
            "track",
            "names",
            "that",
            "have",
            "had",
            "no",
            "races",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT name FROM track WHERE track_id NOT IN (SELECT track_id FROM race)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "track",
            "WHERE",
            "track_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "track_id",
            "FROM",
            "race",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "track",
            "where",
            "track_id",
            "not",
            "in",
            "(",
            "select",
            "track_id",
            "from",
            "race",
            ")"
        ],
        "question": "Return the names of tracks that have no had any races.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "tracks",
            "that",
            "have",
            "no",
            "had",
            "any",
            "races",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT year_opened FROM track WHERE seating BETWEEN 4000 AND 5000",
        "query_toks": [
            "SELECT",
            "year_opened",
            "FROM",
            "track",
            "WHERE",
            "seating",
            "BETWEEN",
            "4000",
            "AND",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "year_opened",
            "from",
            "track",
            "where",
            "seating",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened.",
        "question_toks": [
            "Show",
            "year",
            "where",
            "a",
            "track",
            "with",
            "a",
            "seating",
            "at",
            "least",
            "5000",
            "opened",
            "and",
            "a",
            "track",
            "with",
            "seating",
            "no",
            "more",
            "than",
            "4000",
            "opened",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    4000.0,
                    5000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT year_opened FROM track WHERE seating BETWEEN 4000 AND 5000",
        "query_toks": [
            "SELECT",
            "year_opened",
            "FROM",
            "track",
            "WHERE",
            "seating",
            "BETWEEN",
            "4000",
            "AND",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "year_opened",
            "from",
            "track",
            "where",
            "seating",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the years of opening for tracks with seating between 4000 and 5000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "years",
            "of",
            "opening",
            "for",
            "tracks",
            "with",
            "seating",
            "between",
            "4000",
            "and",
            "5000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    4000.0,
                    5000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT T2.name ,  count(*) FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id GROUP BY T1.track_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id",
            "GROUP",
            "BY",
            "T1.track_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id",
            "group",
            "by",
            "t1",
            ".",
            "track_id"
        ],
        "question": "Show the name of track and the number of races in each track.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "track",
            "and",
            "the",
            "number",
            "of",
            "races",
            "in",
            "each",
            "track",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT T2.name ,  count(*) FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id GROUP BY T1.track_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id",
            "GROUP",
            "BY",
            "T1.track_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id",
            "group",
            "by",
            "t1",
            ".",
            "track_id"
        ],
        "question": "What are the names of different tracks, and how many races has each had?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "different",
            "tracks",
            ",",
            "and",
            "how",
            "many",
            "races",
            "has",
            "each",
            "had",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id GROUP BY T1.track_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id",
            "GROUP",
            "BY",
            "T1.track_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id",
            "group",
            "by",
            "t1",
            ".",
            "track_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name of track with most number of races.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "track",
            "with",
            "most",
            "number",
            "of",
            "races",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id GROUP BY T1.track_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id",
            "GROUP",
            "BY",
            "T1.track_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id",
            "group",
            "by",
            "t1",
            ".",
            "track_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the track that has had the greatest number of races?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "track",
            "that",
            "has",
            "had",
            "the",
            "greatest",
            "number",
            "of",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT T1.name ,  T1.date ,  T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.date",
            ",",
            "T2.name",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "date",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id"
        ],
        "question": "Show the name and date for each race and its track name.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "date",
            "for",
            "each",
            "race",
            "and",
            "its",
            "track",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT T1.name ,  T1.date ,  T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.date",
            ",",
            "T2.name",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "date",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id"
        ],
        "question": "What are the names and dates of races, and the names of the tracks where they are held?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "dates",
            "of",
            "races",
            ",",
            "and",
            "the",
            "names",
            "of",
            "the",
            "tracks",
            "where",
            "they",
            "are",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT T2.name ,  T2.location FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id GROUP BY T1.track_id HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.location",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id",
            "GROUP",
            "BY",
            "T1.track_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "location",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id",
            "group",
            "by",
            "t1",
            ".",
            "track_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Show the name and location of track with 1 race.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "location",
            "of",
            "track",
            "with",
            "1",
            "race",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT T2.name ,  T2.location FROM race AS T1 JOIN track AS T2 ON T1.track_id  =  T2.track_id GROUP BY T1.track_id HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.location",
            "FROM",
            "race",
            "AS",
            "T1",
            "JOIN",
            "track",
            "AS",
            "T2",
            "ON",
            "T1.track_id",
            "=",
            "T2.track_id",
            "GROUP",
            "BY",
            "T1.track_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "location",
            "from",
            "race",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "track_id",
            "=",
            "t2",
            ".",
            "track_id",
            "group",
            "by",
            "t1",
            ".",
            "track_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the names and locations of tracks that have had exactly 1 race?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "tracks",
            "that",
            "have",
            "had",
            "exactly",
            "1",
            "race",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT LOCATION FROM track WHERE seating  >  90000 INTERSECT SELECT LOCATION FROM track WHERE seating  <  70000",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "track",
            "WHERE",
            "seating",
            ">",
            "90000",
            "INTERSECT",
            "SELECT",
            "LOCATION",
            "FROM",
            "track",
            "WHERE",
            "seating",
            "<",
            "70000"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "track",
            "where",
            "seating",
            ">",
            "value",
            "intersect",
            "select",
            "location",
            "from",
            "track",
            "where",
            "seating",
            "<",
            "value"
        ],
        "question": "Find the locations where have both tracks with more than 90000 seats and tracks with less than 70000 seats.",
        "question_toks": [
            "Find",
            "the",
            "locations",
            "where",
            "have",
            "both",
            "tracks",
            "with",
            "more",
            "than",
            "90000",
            "seats",
            "and",
            "tracks",
            "with",
            "less",
            "than",
            "70000",
            "seats",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    90000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        70000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "race_track",
        "query": "SELECT LOCATION FROM track WHERE seating  >  90000 INTERSECT SELECT LOCATION FROM track WHERE seating  <  70000",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "track",
            "WHERE",
            "seating",
            ">",
            "90000",
            "INTERSECT",
            "SELECT",
            "LOCATION",
            "FROM",
            "track",
            "WHERE",
            "seating",
            "<",
            "70000"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "track",
            "where",
            "seating",
            ">",
            "value",
            "intersect",
            "select",
            "location",
            "from",
            "track",
            "where",
            "seating",
            "<",
            "value"
        ],
        "question": "What are the locations that have both tracks with more than 90000 seats, and tracks with fewer than 70000 seats?",
        "question_toks": [
            "What",
            "are",
            "the",
            "locations",
            "that",
            "have",
            "both",
            "tracks",
            "with",
            "more",
            "than",
            "90000",
            "seats",
            ",",
            "and",
            "tracks",
            "with",
            "fewer",
            "than",
            "70000",
            "seats",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    90000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        70000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT count(*) FROM member WHERE Membership_card  =  'Black'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "member",
            "WHERE",
            "Membership_card",
            "=",
            "'Black",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "member",
            "where",
            "membership_card",
            "=",
            "value"
        ],
        "question": "How many members have the black membership card?",
        "question_toks": [
            "How",
            "many",
            "members",
            "have",
            "the",
            "black",
            "membership",
            "card",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Black\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT count(*) ,  address FROM member GROUP BY address",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "address",
            "FROM",
            "member",
            "GROUP",
            "BY",
            "address"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "address",
            "from",
            "member",
            "group",
            "by",
            "address"
        ],
        "question": "Find the number of members living in each address.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "members",
            "living",
            "in",
            "each",
            "address",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT name FROM member WHERE address  =  'Harford' OR address  =  'Waterbury'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "member",
            "WHERE",
            "address",
            "=",
            "'Harford",
            "'",
            "OR",
            "address",
            "=",
            "'Waterbury",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "member",
            "where",
            "address",
            "=",
            "value",
            "or",
            "address",
            "=",
            "value"
        ],
        "question": "Give me the names of members whose address is in Harford or Waterbury.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "names",
            "of",
            "members",
            "whose",
            "address",
            "is",
            "in",
            "Harford",
            "or",
            "Waterbury",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Harford\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Waterbury\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT name ,  member_id FROM member WHERE Membership_card  =  'Black' OR age  <  30",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "member_id",
            "FROM",
            "member",
            "WHERE",
            "Membership_card",
            "=",
            "'Black",
            "'",
            "OR",
            "age",
            "<",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "member_id",
            "from",
            "member",
            "where",
            "membership_card",
            "=",
            "value",
            "or",
            "age",
            "<",
            "value"
        ],
        "question": "Find the ids and names of members who are under age 30 or with black membership card.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "members",
            "who",
            "are",
            "under",
            "age",
            "30",
            "or",
            "with",
            "black",
            "membership",
            "card",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Black\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT Time_of_purchase ,  age ,  address FROM member ORDER BY Time_of_purchase",
        "query_toks": [
            "SELECT",
            "Time_of_purchase",
            ",",
            "age",
            ",",
            "address",
            "FROM",
            "member",
            "ORDER",
            "BY",
            "Time_of_purchase"
        ],
        "query_toks_no_value": [
            "select",
            "time_of_purchase",
            ",",
            "age",
            ",",
            "address",
            "from",
            "member",
            "order",
            "by",
            "time_of_purchase"
        ],
        "question": "Find the purchase time, age and address of each member, and show the results in the order of purchase time.",
        "question_toks": [
            "Find",
            "the",
            "purchase",
            "time",
            ",",
            "age",
            "and",
            "address",
            "of",
            "each",
            "member",
            ",",
            "and",
            "show",
            "the",
            "results",
            "in",
            "the",
            "order",
            "of",
            "purchase",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT Membership_card FROM member GROUP BY Membership_card HAVING count(*)  >  5",
        "query_toks": [
            "SELECT",
            "Membership_card",
            "FROM",
            "member",
            "GROUP",
            "BY",
            "Membership_card",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "membership_card",
            "from",
            "member",
            "group",
            "by",
            "membership_card",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which membership card has more than 5 members?",
        "question_toks": [
            "Which",
            "membership",
            "card",
            "has",
            "more",
            "than",
            "5",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT address FROM member WHERE age  <  30 INTERSECT SELECT address FROM member WHERE age  >  40",
        "query_toks": [
            "SELECT",
            "address",
            "FROM",
            "member",
            "WHERE",
            "age",
            "<",
            "30",
            "INTERSECT",
            "SELECT",
            "address",
            "FROM",
            "member",
            "WHERE",
            "age",
            ">",
            "40"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            "from",
            "member",
            "where",
            "age",
            "<",
            "value",
            "intersect",
            "select",
            "address",
            "from",
            "member",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "Which address has both members younger than 30 and members older than 40?",
        "question_toks": [
            "Which",
            "address",
            "has",
            "both",
            "members",
            "younger",
            "than",
            "30",
            "and",
            "members",
            "older",
            "than",
            "40",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        40.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT membership_card FROM member WHERE address  =  'Hartford' INTERSECT SELECT membership_card FROM member WHERE address  =  'Waterbury'",
        "query_toks": [
            "SELECT",
            "membership_card",
            "FROM",
            "member",
            "WHERE",
            "address",
            "=",
            "'Hartford",
            "'",
            "INTERSECT",
            "SELECT",
            "membership_card",
            "FROM",
            "member",
            "WHERE",
            "address",
            "=",
            "'Waterbury",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "membership_card",
            "from",
            "member",
            "where",
            "address",
            "=",
            "value",
            "intersect",
            "select",
            "membership_card",
            "from",
            "member",
            "where",
            "address",
            "=",
            "value"
        ],
        "question": "What is the membership card held by both members living in Hartford and ones living in Waterbury address?",
        "question_toks": [
            "What",
            "is",
            "the",
            "membership",
            "card",
            "held",
            "by",
            "both",
            "members",
            "living",
            "in",
            "Hartford",
            "and",
            "ones",
            "living",
            "in",
            "Waterbury",
            "address",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Hartford\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"Waterbury\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT count(*) FROM member WHERE address != 'Hartford'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "member",
            "WHERE",
            "address",
            "!",
            "=",
            "'Hartford",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "member",
            "where",
            "address",
            "!",
            "=",
            "value"
        ],
        "question": "How many members are not living in Hartford?",
        "question_toks": [
            "How",
            "many",
            "members",
            "are",
            "not",
            "living",
            "in",
            "Hartford",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Hartford\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT address FROM member EXCEPT SELECT address FROM member WHERE Membership_card  =  'Black'",
        "query_toks": [
            "SELECT",
            "address",
            "FROM",
            "member",
            "EXCEPT",
            "SELECT",
            "address",
            "FROM",
            "member",
            "WHERE",
            "Membership_card",
            "=",
            "'Black",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            "from",
            "member",
            "except",
            "select",
            "address",
            "from",
            "member",
            "where",
            "membership_card",
            "=",
            "value"
        ],
        "question": "Which address do not have any member with the black membership card?",
        "question_toks": [
            "Which",
            "address",
            "do",
            "not",
            "have",
            "any",
            "member",
            "with",
            "the",
            "black",
            "membership",
            "card",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"Black\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT address FROM shop ORDER BY open_year",
        "query_toks": [
            "SELECT",
            "address",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "open_year"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            "from",
            "shop",
            "order",
            "by",
            "open_year"
        ],
        "question": "Show the shop addresses ordered by their opening year.",
        "question_toks": [
            "Show",
            "the",
            "shop",
            "addresses",
            "ordered",
            "by",
            "their",
            "opening",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT avg(num_of_staff) ,  avg(score) FROM shop",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "num_of_staff",
            ")",
            ",",
            "avg",
            "(",
            "score",
            ")",
            "FROM",
            "shop"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "num_of_staff",
            ")",
            ",",
            "avg",
            "(",
            "score",
            ")",
            "from",
            "shop"
        ],
        "question": "What are the average score and average staff number of all shops?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "score",
            "and",
            "average",
            "staff",
            "number",
            "of",
            "all",
            "shops",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT shop_id ,  address FROM shop WHERE score  <  (SELECT avg(score) FROM shop)",
        "query_toks": [
            "SELECT",
            "shop_id",
            ",",
            "address",
            "FROM",
            "shop",
            "WHERE",
            "score",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "score",
            ")",
            "FROM",
            "shop",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "shop_id",
            ",",
            "address",
            "from",
            "shop",
            "where",
            "score",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "score",
            ")",
            "from",
            "shop",
            ")"
        ],
        "question": "Find the id and address of the shops whose score is below the average score.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "address",
            "of",
            "the",
            "shops",
            "whose",
            "score",
            "is",
            "below",
            "the",
            "average",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT address ,  num_of_staff FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM happy_hour)",
        "query_toks": [
            "SELECT",
            "address",
            ",",
            "num_of_staff",
            "FROM",
            "shop",
            "WHERE",
            "shop_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "shop_id",
            "FROM",
            "happy_hour",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            ",",
            "num_of_staff",
            "from",
            "shop",
            "where",
            "shop_id",
            "not",
            "in",
            "(",
            "select",
            "shop_id",
            "from",
            "happy_hour",
            ")"
        ],
        "question": "Find the address and staff number of the shops that do not have any happy hour.",
        "question_toks": [
            "Find",
            "the",
            "address",
            "and",
            "staff",
            "number",
            "of",
            "the",
            "shops",
            "that",
            "do",
            "not",
            "have",
            "any",
            "happy",
            "hour",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT t1.address ,  t1.shop_id FROM shop AS t1 JOIN happy_hour AS t2 ON t1.shop_id  =  t2.shop_id WHERE MONTH  =  'May'",
        "query_toks": [
            "SELECT",
            "t1.address",
            ",",
            "t1.shop_id",
            "FROM",
            "shop",
            "AS",
            "t1",
            "JOIN",
            "happy_hour",
            "AS",
            "t2",
            "ON",
            "t1.shop_id",
            "=",
            "t2.shop_id",
            "WHERE",
            "MONTH",
            "=",
            "'May",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address",
            ",",
            "t1",
            ".",
            "shop_id",
            "from",
            "shop",
            "as",
            "t1",
            "join",
            "happy_hour",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "shop_id",
            "where",
            "month",
            "=",
            "value"
        ],
        "question": "What are the id and address of the shops which have a happy hour in May?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "address",
            "of",
            "the",
            "shops",
            "which",
            "have",
            "a",
            "happy",
            "hour",
            "in",
            "May",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"May\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT shop_id ,  count(*) FROM happy_hour GROUP BY shop_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "shop_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "happy_hour",
            "GROUP",
            "BY",
            "shop_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "shop_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "happy_hour",
            "group",
            "by",
            "shop_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which shop has happy hour most frequently? List its id and number of happy hours.",
        "question_toks": [
            "which",
            "shop",
            "has",
            "happy",
            "hour",
            "most",
            "frequently",
            "?",
            "List",
            "its",
            "id",
            "and",
            "number",
            "of",
            "happy",
            "hours",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT MONTH FROM happy_hour GROUP BY MONTH ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "MONTH",
            "FROM",
            "happy_hour",
            "GROUP",
            "BY",
            "MONTH",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "month",
            "from",
            "happy_hour",
            "group",
            "by",
            "month",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which month has the most happy hours?",
        "question_toks": [
            "Which",
            "month",
            "has",
            "the",
            "most",
            "happy",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "coffee_shop",
        "query": "SELECT MONTH FROM happy_hour GROUP BY MONTH HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "MONTH",
            "FROM",
            "happy_hour",
            "GROUP",
            "BY",
            "MONTH",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "month",
            "from",
            "happy_hour",
            "group",
            "by",
            "month",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which months have more than 2 happy hours?",
        "question_toks": [
            "Which",
            "months",
            "have",
            "more",
            "than",
            "2",
            "happy",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT count(*) FROM ALBUM",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ALBUM"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "album"
        ],
        "question": "How many albums are there?",
        "question_toks": [
            "How",
            "many",
            "albums",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT count(*) FROM ALBUM",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ALBUM"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "album"
        ],
        "question": "Find the number of albums.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "albums",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Name FROM GENRE",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "GENRE"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "genre"
        ],
        "question": "List the names of all music genres.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "music",
            "genres",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Name FROM GENRE",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "GENRE"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "genre"
        ],
        "question": "What are the names of different music genres?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "different",
            "music",
            "genres",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT * FROM CUSTOMER WHERE State  =  \"NY\"",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "CUSTOMER",
            "WHERE",
            "State",
            "=",
            "``",
            "NY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "customer",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "Find all the customer information in state NY.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "customer",
            "information",
            "in",
            "state",
            "NY",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"NY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT * FROM CUSTOMER WHERE State  =  \"NY\"",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "CUSTOMER",
            "WHERE",
            "State",
            "=",
            "``",
            "NY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "customer",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "What is all the customer information for customers in NY state?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "customer",
            "information",
            "for",
            "customers",
            "in",
            "NY",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"NY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT FirstName ,  LastName FROM EMPLOYEE WHERE City  =  \"Calgary\"",
        "query_toks": [
            "SELECT",
            "FirstName",
            ",",
            "LastName",
            "FROM",
            "EMPLOYEE",
            "WHERE",
            "City",
            "=",
            "``",
            "Calgary",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "firstname",
            ",",
            "lastname",
            "from",
            "employee",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What are the first names and last names of the employees who live in Calgary city.",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "the",
            "employees",
            "who",
            "live",
            "in",
            "Calgary",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Calgary\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT FirstName ,  LastName FROM EMPLOYEE WHERE City  =  \"Calgary\"",
        "query_toks": [
            "SELECT",
            "FirstName",
            ",",
            "LastName",
            "FROM",
            "EMPLOYEE",
            "WHERE",
            "City",
            "=",
            "``",
            "Calgary",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "firstname",
            ",",
            "lastname",
            "from",
            "employee",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "Find the full names of employees living in the city of Calgary.",
        "question_toks": [
            "Find",
            "the",
            "full",
            "names",
            "of",
            "employees",
            "living",
            "in",
            "the",
            "city",
            "of",
            "Calgary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Calgary\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT distinct(BillingCountry) FROM INVOICE",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "BillingCountry",
            ")",
            "FROM",
            "INVOICE"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "billingcountry",
            ")",
            "from",
            "invoice"
        ],
        "question": "What are the distinct billing countries of the invoices?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "billing",
            "countries",
            "of",
            "the",
            "invoices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT distinct(BillingCountry) FROM INVOICE",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "BillingCountry",
            ")",
            "FROM",
            "INVOICE"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "billingcountry",
            ")",
            "from",
            "invoice"
        ],
        "question": "Find the different billing countries for all invoices.",
        "question_toks": [
            "Find",
            "the",
            "different",
            "billing",
            "countries",
            "for",
            "all",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Name FROM ARTIST WHERE Name LIKE \"%a%\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ARTIST",
            "WHERE",
            "Name",
            "LIKE",
            "``",
            "%",
            "a",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Find the names of all artists that have \"a\" in their names.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "artists",
            "that",
            "have",
            "``",
            "a",
            "''",
            "in",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Name FROM ARTIST WHERE Name LIKE \"%a%\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ARTIST",
            "WHERE",
            "Name",
            "LIKE",
            "``",
            "%",
            "a",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "What are the names of artist who have the letter 'a' in their names?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "artist",
            "who",
            "have",
            "the",
            "letter",
            "'a",
            "'",
            "in",
            "their",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId WHERE T2.Name  =  \"AC/DC\"",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "AC/DC",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the title of all the albums of the artist \"AC/DC\".",
        "question_toks": [
            "Find",
            "the",
            "title",
            "of",
            "all",
            "the",
            "albums",
            "of",
            "the",
            "artist",
            "``",
            "AC/DC",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"AC/DC\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId WHERE T2.Name  =  \"AC/DC\"",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "AC/DC",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the titles of albums by the artist \"AC/DC\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "albums",
            "by",
            "the",
            "artist",
            "``",
            "AC/DC",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"AC/DC\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(*) FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId WHERE T2.Name  =  \"Metallica\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Metallica",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Hom many albums does the artist \"Metallica\" have?",
        "question_toks": [
            "Hom",
            "many",
            "albums",
            "does",
            "the",
            "artist",
            "``",
            "Metallica",
            "''",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Metallica\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(*) FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId WHERE T2.Name  =  \"Metallica\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Metallica",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the number of albums by the artist \"Metallica\".",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "albums",
            "by",
            "the",
            "artist",
            "``",
            "Metallica",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Metallica\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId WHERE T1.Title  =  \"Balls to the Wall\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId",
            "WHERE",
            "T1.Title",
            "=",
            "``",
            "Balls",
            "to",
            "the",
            "Wall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Which artist does the album \"Balls to the Wall\" belong to?",
        "question_toks": [
            "Which",
            "artist",
            "does",
            "the",
            "album",
            "``",
            "Balls",
            "to",
            "the",
            "Wall",
            "''",
            "belong",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Balls to the Wall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId WHERE T1.Title  =  \"Balls to the Wall\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId",
            "WHERE",
            "T1.Title",
            "=",
            "``",
            "Balls",
            "to",
            "the",
            "Wall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Find the name of the artist who made the album \"Balls to the Wall\".",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "artist",
            "who",
            "made",
            "the",
            "album",
            "``",
            "Balls",
            "to",
            "the",
            "Wall",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Balls to the Wall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId",
            "GROUP",
            "BY",
            "T2.Name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which artist has the most albums?",
        "question_toks": [
            "Which",
            "artist",
            "has",
            "the",
            "most",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId",
            "GROUP",
            "BY",
            "T2.Name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the artist with the greatest number of albums?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "artist",
            "with",
            "the",
            "greatest",
            "number",
            "of",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Name FROM TRACK WHERE Name LIKE '%you%'",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "TRACK",
            "WHERE",
            "Name",
            "LIKE",
            "'",
            "%",
            "you",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "track",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Find the names of all the tracks that contain the word \"you\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "the",
            "tracks",
            "that",
            "contain",
            "the",
            "word",
            "``",
            "you",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ],
                    "\"%you%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Name FROM TRACK WHERE Name LIKE '%you%'",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "TRACK",
            "WHERE",
            "Name",
            "LIKE",
            "'",
            "%",
            "you",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "track",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "What are the names of tracks that contain the the word you in them?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "tracks",
            "that",
            "contain",
            "the",
            "the",
            "word",
            "you",
            "in",
            "them",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ],
                    "\"%you%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT AVG(UnitPrice) FROM TRACK",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "UnitPrice",
            ")",
            "FROM",
            "TRACK"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "unitprice",
            ")",
            "from",
            "track"
        ],
        "question": "What is the average unit price of all the tracks?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "unit",
            "price",
            "of",
            "all",
            "the",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT AVG(UnitPrice) FROM TRACK",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "UnitPrice",
            ")",
            "FROM",
            "TRACK"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "unitprice",
            ")",
            "from",
            "track"
        ],
        "question": "Find the average unit price for a track.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "unit",
            "price",
            "for",
            "a",
            "track",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT max(Milliseconds) ,  min(Milliseconds) FROM TRACK",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Milliseconds",
            ")",
            ",",
            "min",
            "(",
            "Milliseconds",
            ")",
            "FROM",
            "TRACK"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "milliseconds",
            ")",
            ",",
            "min",
            "(",
            "milliseconds",
            ")",
            "from",
            "track"
        ],
        "question": "What are the durations of the longest and the shortest tracks in milliseconds?",
        "question_toks": [
            "What",
            "are",
            "the",
            "durations",
            "of",
            "the",
            "longest",
            "and",
            "the",
            "shortest",
            "tracks",
            "in",
            "milliseconds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT max(Milliseconds) ,  min(Milliseconds) FROM TRACK",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Milliseconds",
            ")",
            ",",
            "min",
            "(",
            "Milliseconds",
            ")",
            "FROM",
            "TRACK"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "milliseconds",
            ")",
            ",",
            "min",
            "(",
            "milliseconds",
            ")",
            "from",
            "track"
        ],
        "question": "Find the maximum and minimum durations of tracks in milliseconds.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "and",
            "minimum",
            "durations",
            "of",
            "tracks",
            "in",
            "milliseconds",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Title ,  T2.AlbumID ,  COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId  =  T2.AlbumId GROUP BY T2.AlbumID",
        "query_toks": [
            "SELECT",
            "T1.Title",
            ",",
            "T2.AlbumID",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.AlbumId",
            "=",
            "T2.AlbumId",
            "GROUP",
            "BY",
            "T2.AlbumID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "albumid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "albumid",
            "=",
            "t2",
            ".",
            "albumid",
            "group",
            "by",
            "t2",
            ".",
            "albumid"
        ],
        "question": "Show the album names, ids and the number of tracks for each album.",
        "question_toks": [
            "Show",
            "the",
            "album",
            "names",
            ",",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "tracks",
            "for",
            "each",
            "album",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                58,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    58,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Title ,  T2.AlbumID ,  COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId  =  T2.AlbumId GROUP BY T2.AlbumID",
        "query_toks": [
            "SELECT",
            "T1.Title",
            ",",
            "T2.AlbumID",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.AlbumId",
            "=",
            "T2.AlbumId",
            "GROUP",
            "BY",
            "T2.AlbumID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "albumid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "albumid",
            "=",
            "t2",
            ".",
            "albumid",
            "group",
            "by",
            "t2",
            ".",
            "albumid"
        ],
        "question": "What are the names and ids of the different albums, and how many tracks are on each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "the",
            "different",
            "albums",
            ",",
            "and",
            "how",
            "many",
            "tracks",
            "are",
            "on",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                58,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    58,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId GROUP BY T2.GenreId ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "GROUP",
            "BY",
            "T2.GenreId",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "group",
            "by",
            "t2",
            ".",
            "genreid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the most common genre in all tracks?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "most",
            "common",
            "genre",
            "in",
            "all",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    60,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId GROUP BY T2.GenreId ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "GROUP",
            "BY",
            "T2.GenreId",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "group",
            "by",
            "t2",
            ".",
            "genreid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the genre that is most frequent across all tracks.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "genre",
            "that",
            "is",
            "most",
            "frequent",
            "across",
            "all",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    60,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Name FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId  =  T2.MediaTypeId GROUP BY T2.MediaTypeId ORDER BY COUNT(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "MEDIATYPE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.MediaTypeId",
            "=",
            "T2.MediaTypeId",
            "GROUP",
            "BY",
            "T2.MediaTypeId",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "mediatype",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mediatypeid",
            "=",
            "t2",
            ".",
            "mediatypeid",
            "group",
            "by",
            "t2",
            ".",
            "mediatypeid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the least common media type in all tracks?",
        "question_toks": [
            "What",
            "is",
            "the",
            "least",
            "common",
            "media",
            "type",
            "in",
            "all",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            59,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    59,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Name FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId  =  T2.MediaTypeId GROUP BY T2.MediaTypeId ORDER BY COUNT(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "MEDIATYPE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.MediaTypeId",
            "=",
            "T2.MediaTypeId",
            "GROUP",
            "BY",
            "T2.MediaTypeId",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "mediatype",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mediatypeid",
            "=",
            "t2",
            ".",
            "mediatypeid",
            "group",
            "by",
            "t2",
            ".",
            "mediatypeid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the name of the media type that is least common across all tracks?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "media",
            "type",
            "that",
            "is",
            "least",
            "common",
            "across",
            "all",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            59,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    59,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Title ,  T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId  =  T2.AlbumId WHERE T2.UnitPrice  >  1 GROUP BY T2.AlbumID",
        "query_toks": [
            "SELECT",
            "T1.Title",
            ",",
            "T2.AlbumID",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.AlbumId",
            "=",
            "T2.AlbumId",
            "WHERE",
            "T2.UnitPrice",
            ">",
            "1",
            "GROUP",
            "BY",
            "T2.AlbumID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "albumid",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "albumid",
            "=",
            "t2",
            ".",
            "albumid",
            "where",
            "t2",
            ".",
            "unitprice",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "albumid"
        ],
        "question": "Show the album names and ids for albums that contain tracks with unit price bigger than 1.",
        "question_toks": [
            "Show",
            "the",
            "album",
            "names",
            "and",
            "ids",
            "for",
            "albums",
            "that",
            "contain",
            "tracks",
            "with",
            "unit",
            "price",
            "bigger",
            "than",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                58,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    58,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Title ,  T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId  =  T2.AlbumId WHERE T2.UnitPrice  >  1 GROUP BY T2.AlbumID",
        "query_toks": [
            "SELECT",
            "T1.Title",
            ",",
            "T2.AlbumID",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.AlbumId",
            "=",
            "T2.AlbumId",
            "WHERE",
            "T2.UnitPrice",
            ">",
            "1",
            "GROUP",
            "BY",
            "T2.AlbumID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "albumid",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "albumid",
            "=",
            "t2",
            ".",
            "albumid",
            "where",
            "t2",
            ".",
            "unitprice",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "albumid"
        ],
        "question": "What are the titles and ids for albums containing tracks with unit price greater than 1?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "and",
            "ids",
            "for",
            "albums",
            "containing",
            "tracks",
            "with",
            "unit",
            "price",
            "greater",
            "than",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                58,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    58,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Rock\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Rock",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many tracks belong to rock genre?",
        "question_toks": [
            "How",
            "many",
            "tracks",
            "belong",
            "to",
            "rock",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Rock\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Rock",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Count the number of tracks that are part of the rock genre.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "tracks",
            "that",
            "are",
            "part",
            "of",
            "the",
            "rock",
            "genre",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Jazz\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "UnitPrice",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Jazz",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "unitprice",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the average unit price of tracks that belong to Jazz genre?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "unit",
            "price",
            "of",
            "tracks",
            "that",
            "belong",
            "to",
            "Jazz",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Jazz\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Jazz\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "UnitPrice",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Jazz",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "unitprice",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the average unit price of jazz tracks.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "unit",
            "price",
            "of",
            "jazz",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Jazz\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT FirstName ,  LastName FROM CUSTOMER WHERE Email  =  \"luisg@embraer.com.br\"",
        "query_toks": [
            "SELECT",
            "FirstName",
            ",",
            "LastName",
            "FROM",
            "CUSTOMER",
            "WHERE",
            "Email",
            "=",
            "``",
            "luisg",
            "@",
            "embraer.com.br",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "firstname",
            ",",
            "lastname",
            "from",
            "customer",
            "where",
            "email",
            "=",
            "value"
        ],
        "question": "What is the first name and last name of the customer that has email \"luisg@embraer.com.br\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "customer",
            "that",
            "has",
            "email",
            "``",
            "luisg",
            "@",
            "embraer.com.br",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"luisg@embraer.com.br\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT FirstName ,  LastName FROM CUSTOMER WHERE Email  =  \"luisg@embraer.com.br\"",
        "query_toks": [
            "SELECT",
            "FirstName",
            ",",
            "LastName",
            "FROM",
            "CUSTOMER",
            "WHERE",
            "Email",
            "=",
            "``",
            "luisg",
            "@",
            "embraer.com.br",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "firstname",
            ",",
            "lastname",
            "from",
            "customer",
            "where",
            "email",
            "=",
            "value"
        ],
        "question": "Find the full name of the customer with the email \"luisg@embraer.com.br\".",
        "question_toks": [
            "Find",
            "the",
            "full",
            "name",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "email",
            "``",
            "luisg",
            "@",
            "embraer.com.br",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"luisg@embraer.com.br\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE \"%gmail.com%\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "CUSTOMER",
            "WHERE",
            "Email",
            "LIKE",
            "``",
            "%",
            "gmail.com",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer",
            "where",
            "email",
            "like",
            "value"
        ],
        "question": "How many customers have email that contains \"gmail.com\"?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "have",
            "email",
            "that",
            "contains",
            "``",
            "gmail.com",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"%gmail.com%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE \"%gmail.com%\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "CUSTOMER",
            "WHERE",
            "Email",
            "LIKE",
            "``",
            "%",
            "gmail.com",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer",
            "where",
            "email",
            "like",
            "value"
        ],
        "question": "Count the number of customers that have an email containing \"gmail.com\".",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "that",
            "have",
            "an",
            "email",
            "containing",
            "``",
            "gmail.com",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"%gmail.com%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.FirstName ,  T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId  =  T2.EmployeeId WHERE T1.FirstName  =  \"Leonie\"",
        "query_toks": [
            "SELECT",
            "T2.FirstName",
            ",",
            "T2.LastName",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "EMPLOYEE",
            "AS",
            "T2",
            "ON",
            "T1.SupportRepId",
            "=",
            "T2.EmployeeId",
            "WHERE",
            "T1.FirstName",
            "=",
            "``",
            "Leonie",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supportrepid",
            "=",
            "t2",
            ".",
            "employeeid",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value"
        ],
        "question": "What is the first name and last name employee helps the customer with first name Leonie?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "employee",
            "helps",
            "the",
            "customer",
            "with",
            "first",
            "name",
            "Leonie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Leonie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.FirstName ,  T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId  =  T2.EmployeeId WHERE T1.FirstName  =  \"Leonie\"",
        "query_toks": [
            "SELECT",
            "T2.FirstName",
            ",",
            "T2.LastName",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "EMPLOYEE",
            "AS",
            "T2",
            "ON",
            "T1.SupportRepId",
            "=",
            "T2.EmployeeId",
            "WHERE",
            "T1.FirstName",
            "=",
            "``",
            "Leonie",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supportrepid",
            "=",
            "t2",
            ".",
            "employeeid",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value"
        ],
        "question": "Find the full names of employees who help customers with the first name Leonie.",
        "question_toks": [
            "Find",
            "the",
            "full",
            "names",
            "of",
            "employees",
            "who",
            "help",
            "customers",
            "with",
            "the",
            "first",
            "name",
            "Leonie",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Leonie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId  =  T2.EmployeeId WHERE T1.PostalCode  =  \"70174\"",
        "query_toks": [
            "SELECT",
            "T2.City",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "EMPLOYEE",
            "AS",
            "T2",
            "ON",
            "T1.SupportRepId",
            "=",
            "T2.EmployeeId",
            "WHERE",
            "T1.PostalCode",
            "=",
            "``",
            "70174",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "city",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supportrepid",
            "=",
            "t2",
            ".",
            "employeeid",
            "where",
            "t1",
            ".",
            "postalcode",
            "=",
            "value"
        ],
        "question": "What city does the employee who helps the customer with postal code 70174 live in?",
        "question_toks": [
            "What",
            "city",
            "does",
            "the",
            "employee",
            "who",
            "helps",
            "the",
            "customer",
            "with",
            "postal",
            "code",
            "70174",
            "live",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"70174\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId  =  T2.EmployeeId WHERE T1.PostalCode  =  \"70174\"",
        "query_toks": [
            "SELECT",
            "T2.City",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "EMPLOYEE",
            "AS",
            "T2",
            "ON",
            "T1.SupportRepId",
            "=",
            "T2.EmployeeId",
            "WHERE",
            "T1.PostalCode",
            "=",
            "``",
            "70174",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "city",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supportrepid",
            "=",
            "t2",
            ".",
            "employeeid",
            "where",
            "t1",
            ".",
            "postalcode",
            "=",
            "value"
        ],
        "question": "Find the cities corresponding to employees who help customers with the postal code 70174.",
        "question_toks": [
            "Find",
            "the",
            "cities",
            "corresponding",
            "to",
            "employees",
            "who",
            "help",
            "customers",
            "with",
            "the",
            "postal",
            "code",
            "70174",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"70174\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(DISTINCT city) FROM EMPLOYEE",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "EMPLOYEE"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "employee"
        ],
        "question": "How many distinct cities does the employees live in?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "cities",
            "does",
            "the",
            "employees",
            "live",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                27,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(DISTINCT city) FROM EMPLOYEE",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "EMPLOYEE"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "employee"
        ],
        "question": "Find the number of different cities that employees live in.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "different",
            "cities",
            "that",
            "employees",
            "live",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                27,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T1.FirstName  =  \"Astrid\" AND LastName  =  \"Gruber\"",
        "query_toks": [
            "SELECT",
            "T2.InvoiceDate",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "INVOICE",
            "AS",
            "T2",
            "ON",
            "T1.CustomerId",
            "=",
            "T2.CustomerId",
            "WHERE",
            "T1.FirstName",
            "=",
            "``",
            "Astrid",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "Gruber",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "invoicedate",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "invoice",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customerid",
            "=",
            "t2",
            ".",
            "customerid",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find all invoice dates corresponding to customers with first name Astrid and last name Gruber.",
        "question_toks": [
            "Find",
            "all",
            "invoice",
            "dates",
            "corresponding",
            "to",
            "customers",
            "with",
            "first",
            "name",
            "Astrid",
            "and",
            "last",
            "name",
            "Gruber",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Astrid\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Gruber\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T1.FirstName  =  \"Astrid\" AND LastName  =  \"Gruber\"",
        "query_toks": [
            "SELECT",
            "T2.InvoiceDate",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "INVOICE",
            "AS",
            "T2",
            "ON",
            "T1.CustomerId",
            "=",
            "T2.CustomerId",
            "WHERE",
            "T1.FirstName",
            "=",
            "``",
            "Astrid",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "Gruber",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "invoicedate",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "invoice",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customerid",
            "=",
            "t2",
            ".",
            "customerid",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "What are the invoice dates for customers with the first name Astrid and the last name Gruber?",
        "question_toks": [
            "What",
            "are",
            "the",
            "invoice",
            "dates",
            "for",
            "customers",
            "with",
            "the",
            "first",
            "name",
            "Astrid",
            "and",
            "the",
            "last",
            "name",
            "Gruber",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Astrid\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Gruber\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T2.total  >  20",
        "query_toks": [
            "SELECT",
            "LastName",
            "FROM",
            "CUSTOMER",
            "EXCEPT",
            "SELECT",
            "T1.LastName",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "Invoice",
            "AS",
            "T2",
            "ON",
            "T1.CustomerId",
            "=",
            "T2.CustomerId",
            "WHERE",
            "T2.total",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "lastname",
            "from",
            "customer",
            "except",
            "select",
            "t1",
            ".",
            "lastname",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "invoice",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customerid",
            "=",
            "t2",
            ".",
            "customerid",
            "where",
            "t2",
            ".",
            "total",
            ">",
            "value"
        ],
        "question": "Find all the customer last names that do not have invoice totals larger than 20.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "customer",
            "last",
            "names",
            "that",
            "do",
            "not",
            "have",
            "invoice",
            "totals",
            "larger",
            "than",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T2.total  >  20",
        "query_toks": [
            "SELECT",
            "LastName",
            "FROM",
            "CUSTOMER",
            "EXCEPT",
            "SELECT",
            "T1.LastName",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "Invoice",
            "AS",
            "T2",
            "ON",
            "T1.CustomerId",
            "=",
            "T2.CustomerId",
            "WHERE",
            "T2.total",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "lastname",
            "from",
            "customer",
            "except",
            "select",
            "t1",
            ".",
            "lastname",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "invoice",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customerid",
            "=",
            "t2",
            ".",
            "customerid",
            "where",
            "t2",
            ".",
            "total",
            ">",
            "value"
        ],
        "question": "What are the last names of customers without invoice totals exceeding 20?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "customers",
            "without",
            "invoice",
            "totals",
            "exceeding",
            "20",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T1.country  =  \"Brazil\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.FirstName",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "INVOICE",
            "AS",
            "T2",
            "ON",
            "T1.CustomerId",
            "=",
            "T2.CustomerId",
            "WHERE",
            "T1.country",
            "=",
            "``",
            "Brazil",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "firstname",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "invoice",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customerid",
            "=",
            "t2",
            ".",
            "customerid",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "Find the first names of all customers that live in Brazil and have an invoice.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "all",
            "customers",
            "that",
            "live",
            "in",
            "Brazil",
            "and",
            "have",
            "an",
            "invoice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Brazil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T1.country  =  \"Brazil\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.FirstName",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "INVOICE",
            "AS",
            "T2",
            "ON",
            "T1.CustomerId",
            "=",
            "T2.CustomerId",
            "WHERE",
            "T1.country",
            "=",
            "``",
            "Brazil",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "firstname",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "invoice",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customerid",
            "=",
            "t2",
            ".",
            "customerid",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "What are the different first names for customers from Brazil who have also had an invoice?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "first",
            "names",
            "for",
            "customers",
            "from",
            "Brazil",
            "who",
            "have",
            "also",
            "had",
            "an",
            "invoice",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Brazil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T1.country  =  \"Germany\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Address",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "INVOICE",
            "AS",
            "T2",
            "ON",
            "T1.CustomerId",
            "=",
            "T2.CustomerId",
            "WHERE",
            "T1.country",
            "=",
            "``",
            "Germany",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "address",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "invoice",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customerid",
            "=",
            "t2",
            ".",
            "customerid",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "Find the address of all customers that live in Germany and have invoice.",
        "question_toks": [
            "Find",
            "the",
            "address",
            "of",
            "all",
            "customers",
            "that",
            "live",
            "in",
            "Germany",
            "and",
            "have",
            "invoice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Germany\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId  =  T2.CustomerId WHERE T1.country  =  \"Germany\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Address",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "INVOICE",
            "AS",
            "T2",
            "ON",
            "T1.CustomerId",
            "=",
            "T2.CustomerId",
            "WHERE",
            "T1.country",
            "=",
            "``",
            "Germany",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "address",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "invoice",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customerid",
            "=",
            "t2",
            ".",
            "customerid",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "What are the addresses of customers living in Germany who have had an invoice?",
        "question_toks": [
            "What",
            "are",
            "the",
            "addresses",
            "of",
            "customers",
            "living",
            "in",
            "Germany",
            "who",
            "have",
            "had",
            "an",
            "invoice",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Germany\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Phone FROM EMPLOYEE",
        "query_toks": [
            "SELECT",
            "Phone",
            "FROM",
            "EMPLOYEE"
        ],
        "query_toks_no_value": [
            "select",
            "phone",
            "from",
            "employee"
        ],
        "question": "List the phone numbers of all employees.",
        "question_toks": [
            "List",
            "the",
            "phone",
            "numbers",
            "of",
            "all",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Phone FROM EMPLOYEE",
        "query_toks": [
            "SELECT",
            "Phone",
            "FROM",
            "EMPLOYEE"
        ],
        "query_toks_no_value": [
            "select",
            "phone",
            "from",
            "employee"
        ],
        "question": "What are the phone numbers for each employee?",
        "question_toks": [
            "What",
            "are",
            "the",
            "phone",
            "numbers",
            "for",
            "each",
            "employee",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId  =  T2.MediaTypeId WHERE T1.Name  =  \"AAC audio file\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "MEDIATYPE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.MediaTypeId",
            "=",
            "T2.MediaTypeId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "AAC",
            "audio",
            "file",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "mediatype",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mediatypeid",
            "=",
            "t2",
            ".",
            "mediatypeid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many tracks are in the AAC audio file media type?",
        "question_toks": [
            "How",
            "many",
            "tracks",
            "are",
            "in",
            "the",
            "AAC",
            "audio",
            "file",
            "media",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            59,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ],
                    "\"AAC audio file\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId  =  T2.MediaTypeId WHERE T1.Name  =  \"AAC audio file\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "MEDIATYPE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.MediaTypeId",
            "=",
            "T2.MediaTypeId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "AAC",
            "audio",
            "file",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "mediatype",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mediatypeid",
            "=",
            "t2",
            ".",
            "mediatypeid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Count the number of tracks that are of the media type \"AAC audio file\".",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "tracks",
            "that",
            "are",
            "of",
            "the",
            "media",
            "type",
            "``",
            "AAC",
            "audio",
            "file",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            59,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ],
                    "\"AAC audio file\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Latin\" OR T1.Name  =  \"Pop\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "Milliseconds",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Latin",
            "''",
            "OR",
            "T1.Name",
            "=",
            "``",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "milliseconds",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the average duration in milliseconds of tracks that belong to Latin or Pop genre?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "duration",
            "in",
            "milliseconds",
            "of",
            "tracks",
            "that",
            "belong",
            "to",
            "Latin",
            "or",
            "Pop",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Latin\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Latin\" OR T1.Name  =  \"Pop\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "Milliseconds",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Latin",
            "''",
            "OR",
            "T1.Name",
            "=",
            "``",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "milliseconds",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the average millisecond length of Latin and Pop tracks.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "millisecond",
            "length",
            "of",
            "Latin",
            "and",
            "Pop",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Latin\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.FirstName ,  T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId  =  T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*)  >=  10",
        "query_toks": [
            "SELECT",
            "T1.FirstName",
            ",",
            "T1.SupportRepId",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "EMPLOYEE",
            "AS",
            "T2",
            "ON",
            "T1.SupportRepId",
            "=",
            "T2.EmployeeId",
            "GROUP",
            "BY",
            "T1.SupportRepId",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "supportrepid",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supportrepid",
            "=",
            "t2",
            ".",
            "employeeid",
            "group",
            "by",
            "t1",
            ".",
            "supportrepid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Please show the employee first names and ids of employees who serve at least 10 customers.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "employee",
            "first",
            "names",
            "and",
            "ids",
            "of",
            "employees",
            "who",
            "serve",
            "at",
            "least",
            "10",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.FirstName ,  T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId  =  T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*)  >=  10",
        "query_toks": [
            "SELECT",
            "T1.FirstName",
            ",",
            "T1.SupportRepId",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "EMPLOYEE",
            "AS",
            "T2",
            "ON",
            "T1.SupportRepId",
            "=",
            "T2.EmployeeId",
            "GROUP",
            "BY",
            "T1.SupportRepId",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "supportrepid",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supportrepid",
            "=",
            "t2",
            ".",
            "employeeid",
            "group",
            "by",
            "t1",
            ".",
            "supportrepid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the first names and support rep ids for employees serving 10 or more customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "support",
            "rep",
            "ids",
            "for",
            "employees",
            "serving",
            "10",
            "or",
            "more",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId  =  T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*)  <=  20",
        "query_toks": [
            "SELECT",
            "T1.LastName",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "EMPLOYEE",
            "AS",
            "T2",
            "ON",
            "T1.SupportRepId",
            "=",
            "T2.EmployeeId",
            "GROUP",
            "BY",
            "T1.SupportRepId",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "<",
            "=",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lastname",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supportrepid",
            "=",
            "t2",
            ".",
            "employeeid",
            "group",
            "by",
            "t1",
            ".",
            "supportrepid",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "Please show the employee last names that serves no more than 20 customers.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "employee",
            "last",
            "names",
            "that",
            "serves",
            "no",
            "more",
            "than",
            "20",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId  =  T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*)  <=  20",
        "query_toks": [
            "SELECT",
            "T1.LastName",
            "FROM",
            "CUSTOMER",
            "AS",
            "T1",
            "JOIN",
            "EMPLOYEE",
            "AS",
            "T2",
            "ON",
            "T1.SupportRepId",
            "=",
            "T2.EmployeeId",
            "GROUP",
            "BY",
            "T1.SupportRepId",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "<",
            "=",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lastname",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supportrepid",
            "=",
            "t2",
            ".",
            "employeeid",
            "group",
            "by",
            "t1",
            ".",
            "supportrepid",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "What are the last names of employees who serve at most 20 customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "employees",
            "who",
            "serve",
            "at",
            "most",
            "20",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Title FROM ALBUM ORDER BY Title",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "ALBUM",
            "ORDER",
            "BY",
            "Title"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "album",
            "order",
            "by",
            "title"
        ],
        "question": "Please list all album titles in alphabetical order.",
        "question_toks": [
            "Please",
            "list",
            "all",
            "album",
            "titles",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Title FROM ALBUM ORDER BY Title",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "ALBUM",
            "ORDER",
            "BY",
            "Title"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "album",
            "order",
            "by",
            "title"
        ],
        "question": "What are all the album titles, in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "album",
            "titles",
            ",",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.Name ,  T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistID GROUP BY T1.ArtistId HAVING COUNT(*)  >=  3 ORDER BY T2.Name",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.ArtistId",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistID",
            "GROUP",
            "BY",
            "T1.ArtistId",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3",
            "ORDER",
            "BY",
            "T2.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "artistid",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "group",
            "by",
            "t1",
            ".",
            "artistid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "Please list the name and id of all artists that have at least 3 albums in alphabetical order.",
        "question_toks": [
            "Please",
            "list",
            "the",
            "name",
            "and",
            "id",
            "of",
            "all",
            "artists",
            "that",
            "have",
            "at",
            "least",
            "3",
            "albums",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T2.Name ,  T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistID GROUP BY T1.ArtistId HAVING COUNT(*)  >=  3 ORDER BY T2.Name",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.ArtistId",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistID",
            "GROUP",
            "BY",
            "T1.ArtistId",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3",
            "ORDER",
            "BY",
            "T2.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "artistid",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid",
            "group",
            "by",
            "t1",
            ".",
            "artistid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "What are the names and ids of artists with 3 or more albums, listed in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "artists",
            "with",
            "3",
            "or",
            "more",
            "albums",
            ",",
            "listed",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ARTIST",
            "EXCEPT",
            "SELECT",
            "T2.Name",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid"
        ],
        "question": "Find the names of artists that do not have any albums.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "artists",
            "that",
            "do",
            "not",
            "have",
            "any",
            "albums",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId  =  T2.ArtistId",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ARTIST",
            "EXCEPT",
            "SELECT",
            "T2.Name",
            "FROM",
            "ALBUM",
            "AS",
            "T1",
            "JOIN",
            "ARTIST",
            "AS",
            "T2",
            "ON",
            "T1.ArtistId",
            "=",
            "T2.ArtistId"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artistid",
            "=",
            "t2",
            ".",
            "artistid"
        ],
        "question": "What are the names of artists who have not released any albums?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "artists",
            "who",
            "have",
            "not",
            "released",
            "any",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Rock\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "T2.UnitPrice",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Rock",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "unitprice",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the average unit price of rock tracks?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "unit",
            "price",
            "of",
            "rock",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Rock\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "T2.UnitPrice",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Rock",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "unitprice",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the average unit price of tracks from the Rock genre.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "unit",
            "price",
            "of",
            "tracks",
            "from",
            "the",
            "Rock",
            "genre",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Rock\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT max(Milliseconds) ,  min(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Pop\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Milliseconds",
            ")",
            ",",
            "min",
            "(",
            "Milliseconds",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "milliseconds",
            ")",
            ",",
            "min",
            "(",
            "milliseconds",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the duration of the longest and shortest pop tracks in milliseconds?",
        "question_toks": [
            "What",
            "are",
            "the",
            "duration",
            "of",
            "the",
            "longest",
            "and",
            "shortest",
            "pop",
            "tracks",
            "in",
            "milliseconds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT max(Milliseconds) ,  min(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId  =  T2.GenreId WHERE T1.Name  =  \"Pop\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Milliseconds",
            ")",
            ",",
            "min",
            "(",
            "Milliseconds",
            ")",
            "FROM",
            "GENRE",
            "AS",
            "T1",
            "JOIN",
            "TRACK",
            "AS",
            "T2",
            "ON",
            "T1.GenreId",
            "=",
            "T2.GenreId",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "milliseconds",
            ")",
            ",",
            "min",
            "(",
            "milliseconds",
            ")",
            "from",
            "genre",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "genreid",
            "=",
            "t2",
            ".",
            "genreid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the maximum and minimum millisecond lengths of pop tracks.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "and",
            "minimum",
            "millisecond",
            "lengths",
            "of",
            "pop",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT BirthDate FROM EMPLOYEE WHERE City  =  \"Edmonton\"",
        "query_toks": [
            "SELECT",
            "BirthDate",
            "FROM",
            "EMPLOYEE",
            "WHERE",
            "City",
            "=",
            "``",
            "Edmonton",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "birthdate",
            "from",
            "employee",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What are the birth dates of employees living in Edmonton?",
        "question_toks": [
            "What",
            "are",
            "the",
            "birth",
            "dates",
            "of",
            "employees",
            "living",
            "in",
            "Edmonton",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Edmonton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT BirthDate FROM EMPLOYEE WHERE City  =  \"Edmonton\"",
        "query_toks": [
            "SELECT",
            "BirthDate",
            "FROM",
            "EMPLOYEE",
            "WHERE",
            "City",
            "=",
            "``",
            "Edmonton",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "birthdate",
            "from",
            "employee",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "Find the birth dates corresponding to employees who live in the city of Edmonton.",
        "question_toks": [
            "Find",
            "the",
            "birth",
            "dates",
            "corresponding",
            "to",
            "employees",
            "who",
            "live",
            "in",
            "the",
            "city",
            "of",
            "Edmonton",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Edmonton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT distinct(UnitPrice) FROM TRACK",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "UnitPrice",
            ")",
            "FROM",
            "TRACK"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "unitprice",
            ")",
            "from",
            "track"
        ],
        "question": "What are the distinct unit prices of all tracks?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "unit",
            "prices",
            "of",
            "all",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT distinct(UnitPrice) FROM TRACK",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "UnitPrice",
            ")",
            "FROM",
            "TRACK"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "unitprice",
            ")",
            "from",
            "track"
        ],
        "question": "Find the distinct unit prices for tracks.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "unit",
            "prices",
            "for",
            "tracks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT count(*) FROM ARTIST WHERE artistid NOT IN(SELECT artistid FROM ALBUM)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ARTIST",
            "WHERE",
            "artistid",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "artistid",
            "FROM",
            "ALBUM",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "where",
            "artistid",
            "not",
            "in",
            "(",
            "select",
            "artistid",
            "from",
            "album",
            ")"
        ],
        "question": "How many artists do not have any album?",
        "question_toks": [
            "How",
            "many",
            "artists",
            "do",
            "not",
            "have",
            "any",
            "album",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT count(*) FROM ARTIST WHERE artistid NOT IN(SELECT artistid FROM ALBUM)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ARTIST",
            "WHERE",
            "artistid",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "artistid",
            "FROM",
            "ALBUM",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "where",
            "artistid",
            "not",
            "in",
            "(",
            "select",
            "artistid",
            "from",
            "album",
            ")"
        ],
        "question": "Cound the number of artists who have not released an album.",
        "question_toks": [
            "Cound",
            "the",
            "number",
            "of",
            "artists",
            "who",
            "have",
            "not",
            "released",
            "an",
            "album",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId  =  T2.AlbumId JOIN Genre AS T3 ON T2.GenreID  =  T3.GenreID WHERE T3.Name  =  'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId  =  T2.AlbumId JOIN Genre AS T3 ON T2.GenreID  =  T3.GenreID WHERE T3.Name  =  'Rock'",
        "query_toks": [
            "SELECT",
            "T1.Title",
            "FROM",
            "Album",
            "AS",
            "T1",
            "JOIN",
            "Track",
            "AS",
            "T2",
            "ON",
            "T1.AlbumId",
            "=",
            "T2.AlbumId",
            "JOIN",
            "Genre",
            "AS",
            "T3",
            "ON",
            "T2.GenreID",
            "=",
            "T3.GenreID",
            "WHERE",
            "T3.Name",
            "=",
            "'Reggae",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.Title",
            "FROM",
            "Album",
            "AS",
            "T1",
            "JOIN",
            "Track",
            "AS",
            "T2",
            "ON",
            "T1.AlbumId",
            "=",
            "T2.AlbumId",
            "JOIN",
            "Genre",
            "AS",
            "T3",
            "ON",
            "T2.GenreID",
            "=",
            "T3.GenreID",
            "WHERE",
            "T3.Name",
            "=",
            "'Rock",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "albumid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "genre",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "genreid",
            "=",
            "t3",
            ".",
            "genreid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "title",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "albumid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "genre",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "genreid",
            "=",
            "t3",
            ".",
            "genreid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks?",
        "question_toks": [
            "What",
            "are",
            "the",
            "album",
            "titles",
            "for",
            "albums",
            "containing",
            "both",
            "'Reggae",
            "'",
            "and",
            "'Rock",
            "'",
            "genre",
            "tracks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                60,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Reggae\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            10
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                58,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    60,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        "\"Rock\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "chinook_1",
        "query": "SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId  =  T2.AlbumId JOIN Genre AS T3 ON T2.GenreID  =  T3.GenreID WHERE T3.Name  =  'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId  =  T2.AlbumId JOIN Genre AS T3 ON T2.GenreID  =  T3.GenreID WHERE T3.Name  =  'Rock'",
        "query_toks": [
            "SELECT",
            "T1.Title",
            "FROM",
            "Album",
            "AS",
            "T1",
            "JOIN",
            "Track",
            "AS",
            "T2",
            "ON",
            "T1.AlbumId",
            "=",
            "T2.AlbumId",
            "JOIN",
            "Genre",
            "AS",
            "T3",
            "ON",
            "T2.GenreID",
            "=",
            "T3.GenreID",
            "WHERE",
            "T3.Name",
            "=",
            "'Reggae",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.Title",
            "FROM",
            "Album",
            "AS",
            "T1",
            "JOIN",
            "Track",
            "AS",
            "T2",
            "ON",
            "T1.AlbumId",
            "=",
            "T2.AlbumId",
            "JOIN",
            "Genre",
            "AS",
            "T3",
            "ON",
            "T2.GenreID",
            "=",
            "T3.GenreID",
            "WHERE",
            "T3.Name",
            "=",
            "'Rock",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "albumid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "genre",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "genreid",
            "=",
            "t3",
            ".",
            "genreid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "title",
            "from",
            "album",
            "as",
            "t1",
            "join",
            "track",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "albumid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "genre",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "genreid",
            "=",
            "t3",
            ".",
            "genreid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the titles of albums that contain tracks of both the Reggae and Rock genres.",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "albums",
            "that",
            "contain",
            "tracks",
            "of",
            "both",
            "the",
            "Reggae",
            "and",
            "Rock",
            "genres",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                60,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Reggae\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            10
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                58,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    60,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        "\"Rock\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_phone FROM available_policies",
        "query_toks": [
            "SELECT",
            "customer_phone",
            "FROM",
            "available_policies"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "available_policies"
        ],
        "question": "Find all the phone numbers.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "phone",
            "numbers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_phone FROM available_policies",
        "query_toks": [
            "SELECT",
            "customer_phone",
            "FROM",
            "available_policies"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "available_policies"
        ],
        "question": "What are all the phone numbers?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "phone",
            "numbers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_phone FROM available_policies WHERE policy_type_code  =  \"Life Insurance\"",
        "query_toks": [
            "SELECT",
            "customer_phone",
            "FROM",
            "available_policies",
            "WHERE",
            "policy_type_code",
            "=",
            "``",
            "Life",
            "Insurance",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "available_policies",
            "where",
            "policy_type_code",
            "=",
            "value"
        ],
        "question": "What are the customer phone numbers under the policy \"Life Insurance\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "customer",
            "phone",
            "numbers",
            "under",
            "the",
            "policy",
            "``",
            "Life",
            "Insurance",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Life Insurance\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_phone FROM available_policies WHERE policy_type_code  =  \"Life Insurance\"",
        "query_toks": [
            "SELECT",
            "customer_phone",
            "FROM",
            "available_policies",
            "WHERE",
            "policy_type_code",
            "=",
            "``",
            "Life",
            "Insurance",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "available_policies",
            "where",
            "policy_type_code",
            "=",
            "value"
        ],
        "question": "What are the phone numbers of customers using the policy with the code \"Life Insurance\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "phone",
            "numbers",
            "of",
            "customers",
            "using",
            "the",
            "policy",
            "with",
            "the",
            "code",
            "``",
            "Life",
            "Insurance",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Life Insurance\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "available_policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "available_policies",
            "group",
            "by",
            "policy_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which policy type has the most records in the database?",
        "question_toks": [
            "Which",
            "policy",
            "type",
            "has",
            "the",
            "most",
            "records",
            "in",
            "the",
            "database",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "available_policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "available_policies",
            "group",
            "by",
            "policy_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which policy type appears most frequently in the available policies?",
        "question_toks": [
            "Which",
            "policy",
            "type",
            "appears",
            "most",
            "frequently",
            "in",
            "the",
            "available",
            "policies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_phone FROM available_policies WHERE policy_type_code  =  (SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "customer_phone",
            "FROM",
            "available_policies",
            "WHERE",
            "policy_type_code",
            "=",
            "(",
            "SELECT",
            "policy_type_code",
            "FROM",
            "available_policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "available_policies",
            "where",
            "policy_type_code",
            "=",
            "(",
            "select",
            "policy_type_code",
            "from",
            "available_policies",
            "group",
            "by",
            "policy_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are all the customer phone numbers under the most popular policy type?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "customer",
            "phone",
            "numbers",
            "under",
            "the",
            "most",
            "popular",
            "policy",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                6,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_phone FROM available_policies WHERE policy_type_code  =  (SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "customer_phone",
            "FROM",
            "available_policies",
            "WHERE",
            "policy_type_code",
            "=",
            "(",
            "SELECT",
            "policy_type_code",
            "FROM",
            "available_policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "available_policies",
            "where",
            "policy_type_code",
            "=",
            "(",
            "select",
            "policy_type_code",
            "from",
            "available_policies",
            "group",
            "by",
            "policy_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the phone numbers of customers using the most common policy type among the available policies.",
        "question_toks": [
            "Find",
            "the",
            "phone",
            "numbers",
            "of",
            "customers",
            "using",
            "the",
            "most",
            "common",
            "policy",
            "type",
            "among",
            "the",
            "available",
            "policies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                6,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT policy_type_code FROM available_policies GROUP BY policy_type_code HAVING count(*)  >  4",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "available_policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "available_policies",
            "group",
            "by",
            "policy_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the policy type used by more than 4 customers.",
        "question_toks": [
            "Find",
            "the",
            "policy",
            "type",
            "used",
            "by",
            "more",
            "than",
            "4",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT policy_type_code FROM available_policies GROUP BY policy_type_code HAVING count(*)  >  4",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "available_policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "available_policies",
            "group",
            "by",
            "policy_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the policy types more than 4 customers use. Show their type code.",
        "question_toks": [
            "Find",
            "the",
            "policy",
            "types",
            "more",
            "than",
            "4",
            "customers",
            "use",
            ".",
            "Show",
            "their",
            "type",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT sum(settlement_amount) ,  avg(settlement_amount) FROM settlements",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "settlement_amount",
            ")",
            ",",
            "avg",
            "(",
            "settlement_amount",
            ")",
            "FROM",
            "settlements"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "settlement_amount",
            ")",
            ",",
            "avg",
            "(",
            "settlement_amount",
            ")",
            "from",
            "settlements"
        ],
        "question": "Find the total and average amount of settlements.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "and",
            "average",
            "amount",
            "of",
            "settlements",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT sum(settlement_amount) ,  avg(settlement_amount) FROM settlements",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "settlement_amount",
            ")",
            ",",
            "avg",
            "(",
            "settlement_amount",
            ")",
            "FROM",
            "settlements"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "settlement_amount",
            ")",
            ",",
            "avg",
            "(",
            "settlement_amount",
            ")",
            "from",
            "settlements"
        ],
        "question": "Return the sum and average of all settlement amounts.",
        "question_toks": [
            "Return",
            "the",
            "sum",
            "and",
            "average",
            "of",
            "all",
            "settlement",
            "amounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t2.service_name FROM first_notification_of_loss AS t1 JOIN services AS t2 ON t1.service_id  =  t2.service_id GROUP BY t1.service_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "t2.service_name",
            "FROM",
            "first_notification_of_loss",
            "AS",
            "t1",
            "JOIN",
            "services",
            "AS",
            "t2",
            "ON",
            "t1.service_id",
            "=",
            "t2.service_id",
            "GROUP",
            "BY",
            "t1.service_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "service_name",
            "from",
            "first_notification_of_loss",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_id",
            "=",
            "t2",
            ".",
            "service_id",
            "group",
            "by",
            "t1",
            ".",
            "service_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name of services that have been used for more than 2 times in first notification of loss.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "services",
            "that",
            "have",
            "been",
            "used",
            "for",
            "more",
            "than",
            "2",
            "times",
            "in",
            "first",
            "notification",
            "of",
            "loss",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t2.service_name FROM first_notification_of_loss AS t1 JOIN services AS t2 ON t1.service_id  =  t2.service_id GROUP BY t1.service_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "t2.service_name",
            "FROM",
            "first_notification_of_loss",
            "AS",
            "t1",
            "JOIN",
            "services",
            "AS",
            "t2",
            "ON",
            "t1.service_id",
            "=",
            "t2.service_id",
            "GROUP",
            "BY",
            "t1.service_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "service_name",
            "from",
            "first_notification_of_loss",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_id",
            "=",
            "t2",
            ".",
            "service_id",
            "group",
            "by",
            "t1",
            ".",
            "service_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which services have been used more than twice in first notification of loss? Return the service name.",
        "question_toks": [
            "Which",
            "services",
            "have",
            "been",
            "used",
            "more",
            "than",
            "twice",
            "in",
            "first",
            "notification",
            "of",
            "loss",
            "?",
            "Return",
            "the",
            "service",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t1.Effective_Date FROM claims AS t1 JOIN settlements AS t2 ON t1.claim_id  =  t2.claim_id GROUP BY t1.claim_id ORDER BY sum(t2.settlement_amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.Effective_Date",
            "FROM",
            "claims",
            "AS",
            "t1",
            "JOIN",
            "settlements",
            "AS",
            "t2",
            "ON",
            "t1.claim_id",
            "=",
            "t2.claim_id",
            "GROUP",
            "BY",
            "t1.claim_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t2.settlement_amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "effective_date",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "settlement_amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the effective date of the claim that has the largest amount of total settlement?",
        "question_toks": [
            "What",
            "is",
            "the",
            "effective",
            "date",
            "of",
            "the",
            "claim",
            "that",
            "has",
            "the",
            "largest",
            "amount",
            "of",
            "total",
            "settlement",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t1.Effective_Date FROM claims AS t1 JOIN settlements AS t2 ON t1.claim_id  =  t2.claim_id GROUP BY t1.claim_id ORDER BY sum(t2.settlement_amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.Effective_Date",
            "FROM",
            "claims",
            "AS",
            "t1",
            "JOIN",
            "settlements",
            "AS",
            "t2",
            "ON",
            "t1.claim_id",
            "=",
            "t2.claim_id",
            "GROUP",
            "BY",
            "t1.claim_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t2.settlement_amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "effective_date",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "settlement_amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the claim that has the largest total settlement amount. Return the effective date of the claim.",
        "question_toks": [
            "Find",
            "the",
            "claim",
            "that",
            "has",
            "the",
            "largest",
            "total",
            "settlement",
            "amount",
            ".",
            "Return",
            "the",
            "effective",
            "date",
            "of",
            "the",
            "claim",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT count(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.customer_name  =  \"Dayana Robel\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Dayana",
            "Robel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "How many policies are listed for the customer named \"Dayana Robel\"?",
        "question_toks": [
            "How",
            "many",
            "policies",
            "are",
            "listed",
            "for",
            "the",
            "customer",
            "named",
            "``",
            "Dayana",
            "Robel",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Dayana Robel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT count(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.customer_name  =  \"Dayana Robel\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Dayana",
            "Robel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Count the total number of policies used by the customer named \"Dayana Robel\".",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "policies",
            "used",
            "by",
            "the",
            "customer",
            "named",
            "``",
            "Dayana",
            "Robel",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Dayana Robel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id GROUP BY t1.customer_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t1.customer_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the customer who has the most policies listed?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "most",
            "policies",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id GROUP BY t1.customer_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t1.customer_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which customer uses the most policies? Give me the customer name.",
        "question_toks": [
            "Which",
            "customer",
            "uses",
            "the",
            "most",
            "policies",
            "?",
            "Give",
            "me",
            "the",
            "customer",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id JOIN available_policies AS t3 ON t2.policy_id  =  t3.policy_id WHERE t1.customer_name  =  \"Dayana Robel\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.policy_type_code",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "available_policies",
            "AS",
            "t3",
            "ON",
            "t2.policy_id",
            "=",
            "t3.policy_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Dayana",
            "Robel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "policy_type_code",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "available_policies",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "policy_id",
            "=",
            "t3",
            ".",
            "policy_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "What are all the policy types of the customer named \"Dayana Robel\"?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "policy",
            "types",
            "of",
            "the",
            "customer",
            "named",
            "``",
            "Dayana",
            "Robel",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Dayana Robel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id JOIN available_policies AS t3 ON t2.policy_id  =  t3.policy_id WHERE t1.customer_name  =  \"Dayana Robel\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.policy_type_code",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "available_policies",
            "AS",
            "t3",
            "ON",
            "t2.policy_id",
            "=",
            "t3.policy_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Dayana",
            "Robel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "policy_type_code",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "available_policies",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "policy_id",
            "=",
            "t3",
            ".",
            "policy_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Tell me the types of the policy used by the customer named \"Dayana Robel\".",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "types",
            "of",
            "the",
            "policy",
            "used",
            "by",
            "the",
            "customer",
            "named",
            "``",
            "Dayana",
            "Robel",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Dayana Robel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id JOIN available_policies AS t3 ON t2.policy_id  =  t3.policy_id WHERE t1.customer_name  =  (SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id GROUP BY t1.customer_name ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.policy_type_code",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "available_policies",
            "AS",
            "t3",
            "ON",
            "t2.policy_id",
            "=",
            "t3.policy_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "(",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t1.customer_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "policy_type_code",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "available_policies",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "policy_id",
            "=",
            "t3",
            ".",
            "policy_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "(",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are all the policy types of the customer that has the most policies listed?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "policy",
            "types",
            "of",
            "the",
            "customer",
            "that",
            "has",
            "the",
            "most",
            "policies",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                2,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id JOIN available_policies AS t3 ON t2.policy_id  =  t3.policy_id WHERE t1.customer_name  =  (SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id GROUP BY t1.customer_name ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.policy_type_code",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "available_policies",
            "AS",
            "t3",
            "ON",
            "t2.policy_id",
            "=",
            "t3.policy_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "(",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t1.customer_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "policy_type_code",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "available_policies",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "policy_id",
            "=",
            "t3",
            ".",
            "policy_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "(",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "List all the policy types used by the customer enrolled in the most policies.",
        "question_toks": [
            "List",
            "all",
            "the",
            "policy",
            "types",
            "used",
            "by",
            "the",
            "customer",
            "enrolled",
            "in",
            "the",
            "most",
            "policies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                2,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT service_name FROM services ORDER BY service_name",
        "query_toks": [
            "SELECT",
            "service_name",
            "FROM",
            "services",
            "ORDER",
            "BY",
            "service_name"
        ],
        "query_toks_no_value": [
            "select",
            "service_name",
            "from",
            "services",
            "order",
            "by",
            "service_name"
        ],
        "question": "List all the services in the alphabetical order.",
        "question_toks": [
            "List",
            "all",
            "the",
            "services",
            "in",
            "the",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT service_name FROM services ORDER BY service_name",
        "query_toks": [
            "SELECT",
            "service_name",
            "FROM",
            "services",
            "ORDER",
            "BY",
            "service_name"
        ],
        "query_toks_no_value": [
            "select",
            "service_name",
            "from",
            "services",
            "order",
            "by",
            "service_name"
        ],
        "question": "Give me a list of all the service names sorted alphabetically.",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "all",
            "the",
            "service",
            "names",
            "sorted",
            "alphabetically",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT count(*) FROM services",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "services"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "services"
        ],
        "question": "How many services are there?",
        "question_toks": [
            "How",
            "many",
            "services",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT count(*) FROM services",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "services"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "services"
        ],
        "question": "Count the total number of available services.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "available",
            "services",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id  =  t2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "first_notification_of_loss",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "first_notification_of_loss",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Find the names of users who do not have a first notification of loss record.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "users",
            "who",
            "do",
            "not",
            "have",
            "a",
            "first",
            "notification",
            "of",
            "loss",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id  =  t2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "first_notification_of_loss",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "first_notification_of_loss",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Which customers do not have a first notification of loss record? Give me the customer names.",
        "question_toks": [
            "Which",
            "customers",
            "do",
            "not",
            "have",
            "a",
            "first",
            "notification",
            "of",
            "loss",
            "record",
            "?",
            "Give",
            "me",
            "the",
            "customer",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id  =  t2.customer_id JOIN services AS t3 ON t2.service_id  =  t3.service_id WHERE t3.service_name  =  \"Close a policy\" OR t3.service_name  =  \"Upgrade a policy\"",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "first_notification_of_loss",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "services",
            "AS",
            "t3",
            "ON",
            "t2.service_id",
            "=",
            "t3.service_id",
            "WHERE",
            "t3.service_name",
            "=",
            "``",
            "Close",
            "a",
            "policy",
            "''",
            "OR",
            "t3.service_name",
            "=",
            "``",
            "Upgrade",
            "a",
            "policy",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "first_notification_of_loss",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "services",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "service_id",
            "=",
            "t3",
            ".",
            "service_id",
            "where",
            "t3",
            ".",
            "service_name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "service_name",
            "=",
            "value"
        ],
        "question": "Find the names of customers who have used either the service \"Close a policy\" or the service \"Upgrade a policy\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "used",
            "either",
            "the",
            "service",
            "``",
            "Close",
            "a",
            "policy",
            "''",
            "or",
            "the",
            "service",
            "``",
            "Upgrade",
            "a",
            "policy",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Close a policy\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Upgrade a policy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id  =  t2.customer_id JOIN services AS t3 ON t2.service_id  =  t3.service_id WHERE t3.service_name  =  \"Close a policy\" OR t3.service_name  =  \"Upgrade a policy\"",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "first_notification_of_loss",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "services",
            "AS",
            "t3",
            "ON",
            "t2.service_id",
            "=",
            "t3.service_id",
            "WHERE",
            "t3.service_name",
            "=",
            "``",
            "Close",
            "a",
            "policy",
            "''",
            "OR",
            "t3.service_name",
            "=",
            "``",
            "Upgrade",
            "a",
            "policy",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "first_notification_of_loss",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "services",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "service_id",
            "=",
            "t3",
            ".",
            "service_id",
            "where",
            "t3",
            ".",
            "service_name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "service_name",
            "=",
            "value"
        ],
        "question": "Which customers have used the service named \"Close a policy\" or \"Upgrade a policy\"? Give me the customer names.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "used",
            "the",
            "service",
            "named",
            "``",
            "Close",
            "a",
            "policy",
            "''",
            "or",
            "``",
            "Upgrade",
            "a",
            "policy",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "customer",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Close a policy\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Upgrade a policy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id  =  t2.customer_id JOIN services AS t3 ON t2.service_id  =  t3.service_id WHERE t3.service_name  =  \"Close a policy\" INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id  =  t2.customer_id JOIN services AS t3 ON t2.service_id  =  t3.service_id WHERE t3.service_name  =  \"New policy application\"",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "first_notification_of_loss",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "services",
            "AS",
            "t3",
            "ON",
            "t2.service_id",
            "=",
            "t3.service_id",
            "WHERE",
            "t3.service_name",
            "=",
            "``",
            "Close",
            "a",
            "policy",
            "''",
            "INTERSECT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "first_notification_of_loss",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "services",
            "AS",
            "t3",
            "ON",
            "t2.service_id",
            "=",
            "t3.service_id",
            "WHERE",
            "t3.service_name",
            "=",
            "``",
            "New",
            "policy",
            "application",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "first_notification_of_loss",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "services",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "service_id",
            "=",
            "t3",
            ".",
            "service_id",
            "where",
            "t3",
            ".",
            "service_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "first_notification_of_loss",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "services",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "service_id",
            "=",
            "t3",
            ".",
            "service_id",
            "where",
            "t3",
            ".",
            "service_name",
            "=",
            "value"
        ],
        "question": "Find the names of customers who have used both the service \"Close a policy\" and the service \"New policy application\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "used",
            "both",
            "the",
            "service",
            "``",
            "Close",
            "a",
            "policy",
            "''",
            "and",
            "the",
            "service",
            "``",
            "New",
            "policy",
            "application",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Close a policy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"New policy application\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id  =  t2.customer_id JOIN services AS t3 ON t2.service_id  =  t3.service_id WHERE t3.service_name  =  \"Close a policy\" INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id  =  t2.customer_id JOIN services AS t3 ON t2.service_id  =  t3.service_id WHERE t3.service_name  =  \"New policy application\"",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "first_notification_of_loss",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "services",
            "AS",
            "t3",
            "ON",
            "t2.service_id",
            "=",
            "t3.service_id",
            "WHERE",
            "t3.service_name",
            "=",
            "``",
            "Close",
            "a",
            "policy",
            "''",
            "INTERSECT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "first_notification_of_loss",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "services",
            "AS",
            "t3",
            "ON",
            "t2.service_id",
            "=",
            "t3.service_id",
            "WHERE",
            "t3.service_name",
            "=",
            "``",
            "New",
            "policy",
            "application",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "first_notification_of_loss",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "services",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "service_id",
            "=",
            "t3",
            ".",
            "service_id",
            "where",
            "t3",
            ".",
            "service_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "first_notification_of_loss",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "services",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "service_id",
            "=",
            "t3",
            ".",
            "service_id",
            "where",
            "t3",
            ".",
            "service_name",
            "=",
            "value"
        ],
        "question": "Which customers have used both the service named \"Close a policy\" and the service named \"Upgrade a policy\"? Give me the customer names.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "used",
            "both",
            "the",
            "service",
            "named",
            "``",
            "Close",
            "a",
            "policy",
            "''",
            "and",
            "the",
            "service",
            "named",
            "``",
            "Upgrade",
            "a",
            "policy",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "customer",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Close a policy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"New policy application\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_id FROM customers WHERE customer_name LIKE \"%Diana%\"",
        "query_toks": [
            "SELECT",
            "customer_id",
            "FROM",
            "customers",
            "WHERE",
            "customer_name",
            "LIKE",
            "``",
            "%",
            "Diana",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            "from",
            "customers",
            "where",
            "customer_name",
            "like",
            "value"
        ],
        "question": "Find the IDs of customers whose name contains \"Diana\".",
        "question_toks": [
            "Find",
            "the",
            "IDs",
            "of",
            "customers",
            "whose",
            "name",
            "contains",
            "``",
            "Diana",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Diana%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_id FROM customers WHERE customer_name LIKE \"%Diana%\"",
        "query_toks": [
            "SELECT",
            "customer_id",
            "FROM",
            "customers",
            "WHERE",
            "customer_name",
            "LIKE",
            "``",
            "%",
            "Diana",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            "from",
            "customers",
            "where",
            "customer_name",
            "like",
            "value"
        ],
        "question": "What are the IDs of customers who have \"Diana\" in part of their names?",
        "question_toks": [
            "What",
            "are",
            "the",
            "IDs",
            "of",
            "customers",
            "who",
            "have",
            "``",
            "Diana",
            "''",
            "in",
            "part",
            "of",
            "their",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Diana%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT max(settlement_amount) ,  min(settlement_amount) FROM settlements",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "settlement_amount",
            ")",
            ",",
            "min",
            "(",
            "settlement_amount",
            ")",
            "FROM",
            "settlements"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "settlement_amount",
            ")",
            ",",
            "min",
            "(",
            "settlement_amount",
            ")",
            "from",
            "settlements"
        ],
        "question": "What are the maximum and minimum settlement amount on record?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "settlement",
            "amount",
            "on",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT max(settlement_amount) ,  min(settlement_amount) FROM settlements",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "settlement_amount",
            ")",
            ",",
            "min",
            "(",
            "settlement_amount",
            ")",
            "FROM",
            "settlements"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "settlement_amount",
            ")",
            ",",
            "min",
            "(",
            "settlement_amount",
            ")",
            "from",
            "settlements"
        ],
        "question": "Find the maximum and minimum settlement amount.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "and",
            "minimum",
            "settlement",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_id ,  customer_name FROM customers ORDER BY customer_id ASC",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "customer_name",
            "FROM",
            "customers",
            "ORDER",
            "BY",
            "customer_id",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "customer_name",
            "from",
            "customers",
            "order",
            "by",
            "customer_id",
            "asc"
        ],
        "question": "List all the customers in increasing order of IDs.",
        "question_toks": [
            "List",
            "all",
            "the",
            "customers",
            "in",
            "increasing",
            "order",
            "of",
            "IDs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT customer_id ,  customer_name FROM customers ORDER BY customer_id ASC",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "customer_name",
            "FROM",
            "customers",
            "ORDER",
            "BY",
            "customer_id",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "customer_name",
            "from",
            "customers",
            "order",
            "by",
            "customer_id",
            "asc"
        ],
        "question": "What is the ordered list of customer ids?",
        "question_toks": [
            "What",
            "is",
            "the",
            "ordered",
            "list",
            "of",
            "customer",
            "ids",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t2.date_opened ,  t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.customer_name LIKE \"%Diana%\"",
        "query_toks": [
            "SELECT",
            "t2.date_opened",
            ",",
            "t2.date_closed",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.customer_name",
            "LIKE",
            "``",
            "%",
            "Diana",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_opened",
            ",",
            "t2",
            ".",
            "date_closed",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "like",
            "value"
        ],
        "question": "Retrieve the open and close dates of all the policies associated with the customer whose name contains \"Diana\"",
        "question_toks": [
            "Retrieve",
            "the",
            "open",
            "and",
            "close",
            "dates",
            "of",
            "all",
            "the",
            "policies",
            "associated",
            "with",
            "the",
            "customer",
            "whose",
            "name",
            "contains",
            "``",
            "Diana",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Diana%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_fnol",
        "query": "SELECT t2.date_opened ,  t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.customer_name LIKE \"%Diana%\"",
        "query_toks": [
            "SELECT",
            "t2.date_opened",
            ",",
            "t2.date_closed",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customers_policies",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.customer_name",
            "LIKE",
            "``",
            "%",
            "Diana",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_opened",
            ",",
            "t2",
            ".",
            "date_closed",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customers_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "like",
            "value"
        ],
        "question": "What are the open and close dates of all the policies used by the customer who have \"Diana\" in part of their names?",
        "question_toks": [
            "What",
            "are",
            "the",
            "open",
            "and",
            "close",
            "dates",
            "of",
            "all",
            "the",
            "policies",
            "used",
            "by",
            "the",
            "customer",
            "who",
            "have",
            "``",
            "Diana",
            "''",
            "in",
            "part",
            "of",
            "their",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Diana%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT count(*) FROM enzyme",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "enzyme"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "enzyme"
        ],
        "question": "How many kinds of enzymes are there?",
        "question_toks": [
            "How",
            "many",
            "kinds",
            "of",
            "enzymes",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT count(*) FROM enzyme",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "enzyme"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "enzyme"
        ],
        "question": "What is the total count of enzymes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "count",
            "of",
            "enzymes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name FROM enzyme ORDER BY name DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "enzyme",
            "ORDER",
            "BY",
            "name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "enzyme",
            "order",
            "by",
            "name",
            "desc"
        ],
        "question": "List the name of enzymes in descending lexicographical order.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "enzymes",
            "in",
            "descending",
            "lexicographical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name FROM enzyme ORDER BY name DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "enzyme",
            "ORDER",
            "BY",
            "name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "enzyme",
            "order",
            "by",
            "name",
            "desc"
        ],
        "question": "What are the names of enzymes in descending order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "enzymes",
            "in",
            "descending",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name ,  LOCATION FROM enzyme",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            "FROM",
            "enzyme"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "enzyme"
        ],
        "question": "List the names and the locations that the enzymes can make an effect.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "the",
            "locations",
            "that",
            "the",
            "enzymes",
            "can",
            "make",
            "an",
            "effect",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name ,  LOCATION FROM enzyme",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            "FROM",
            "enzyme"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "enzyme"
        ],
        "question": "What are the names and locations of all enzymes listed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "all",
            "enzymes",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT max(OMIM) FROM enzyme",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "OMIM",
            ")",
            "FROM",
            "enzyme"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "omim",
            ")",
            "from",
            "enzyme"
        ],
        "question": "What is the maximum Online Mendelian Inheritance in Man (OMIM) value of the enzymes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "Online",
            "Mendelian",
            "Inheritance",
            "in",
            "Man",
            "(",
            "OMIM",
            ")",
            "value",
            "of",
            "the",
            "enzymes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT max(OMIM) FROM enzyme",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "OMIM",
            ")",
            "FROM",
            "enzyme"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "omim",
            ")",
            "from",
            "enzyme"
        ],
        "question": "What is the maximum OMIM value in the database?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "OMIM",
            "value",
            "in",
            "the",
            "database",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT product ,  chromosome ,  porphyria FROM enzyme WHERE LOCATION  =  'Cytosol'",
        "query_toks": [
            "SELECT",
            "product",
            ",",
            "chromosome",
            ",",
            "porphyria",
            "FROM",
            "enzyme",
            "WHERE",
            "LOCATION",
            "=",
            "'Cytosol",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            ",",
            "chromosome",
            ",",
            "porphyria",
            "from",
            "enzyme",
            "where",
            "location",
            "=",
            "value"
        ],
        "question": "What is the product, chromosome and porphyria related to the enzymes which take effect at the location 'Cytosol'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "product",
            ",",
            "chromosome",
            "and",
            "porphyria",
            "related",
            "to",
            "the",
            "enzymes",
            "which",
            "take",
            "effect",
            "at",
            "the",
            "location",
            "'Cytosol",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Cytosol\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT product ,  chromosome ,  porphyria FROM enzyme WHERE LOCATION  =  'Cytosol'",
        "query_toks": [
            "SELECT",
            "product",
            ",",
            "chromosome",
            ",",
            "porphyria",
            "FROM",
            "enzyme",
            "WHERE",
            "LOCATION",
            "=",
            "'Cytosol",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            ",",
            "chromosome",
            ",",
            "porphyria",
            "from",
            "enzyme",
            "where",
            "location",
            "=",
            "value"
        ],
        "question": "What is the product, chromosome, and porphyria of the enzymes located at 'Cytosol'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "product",
            ",",
            "chromosome",
            ",",
            "and",
            "porphyria",
            "of",
            "the",
            "enzymes",
            "located",
            "at",
            "'Cytosol",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Cytosol\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name FROM enzyme WHERE product != 'Heme'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "enzyme",
            "WHERE",
            "product",
            "!",
            "=",
            "'Heme",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "enzyme",
            "where",
            "product",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of enzymes who does not produce 'Heme'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "enzymes",
            "who",
            "does",
            "not",
            "produce",
            "'Heme",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Heme\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name FROM enzyme WHERE product != 'Heme'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "enzyme",
            "WHERE",
            "product",
            "!",
            "=",
            "'Heme",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "enzyme",
            "where",
            "product",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of enzymes whose product is not 'Heme'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "enzymes",
            "whose",
            "product",
            "is",
            "not",
            "'Heme",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Heme\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name ,  trade_name FROM medicine WHERE FDA_approved  =  'Yes'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "trade_name",
            "FROM",
            "medicine",
            "WHERE",
            "FDA_approved",
            "=",
            "'Yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "trade_name",
            "from",
            "medicine",
            "where",
            "fda_approved",
            "=",
            "value"
        ],
        "question": "What are the names and trade names of the medicines which has 'Yes' value in the FDA record?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "trade",
            "names",
            "of",
            "the",
            "medicines",
            "which",
            "has",
            "'Yes",
            "'",
            "value",
            "in",
            "the",
            "FDA",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name ,  trade_name FROM medicine WHERE FDA_approved  =  'Yes'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "trade_name",
            "FROM",
            "medicine",
            "WHERE",
            "FDA_approved",
            "=",
            "'Yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "trade_name",
            "from",
            "medicine",
            "where",
            "fda_approved",
            "=",
            "value"
        ],
        "question": "What are the names and trade names of the medcines that are FDA approved?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "trade",
            "names",
            "of",
            "the",
            "medcines",
            "that",
            "are",
            "FDA",
            "approved",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id  =  T2.enzyme_id JOIN medicine AS T3 ON T2.medicine_id  =  T3.id WHERE T3.name  =  'Amisulpride' AND T2.interaction_type  =  'inhibitor'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "enzyme",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.enzyme_id",
            "JOIN",
            "medicine",
            "AS",
            "T3",
            "ON",
            "T2.medicine_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Amisulpride",
            "'",
            "AND",
            "T2.interaction_type",
            "=",
            "'inhibitor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "enzyme",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "enzyme_id",
            "join",
            "medicine",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "interaction_type",
            "=",
            "value"
        ],
        "question": "What are the names of enzymes in the medicine named 'Amisulpride' that can serve as an 'inhibitor'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "enzymes",
            "in",
            "the",
            "medicine",
            "named",
            "'Amisulpride",
            "'",
            "that",
            "can",
            "serve",
            "as",
            "an",
            "'inhibitor",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Amisulpride\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"inhibitor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id  =  T2.enzyme_id JOIN medicine AS T3 ON T2.medicine_id  =  T3.id WHERE T3.name  =  'Amisulpride' AND T2.interaction_type  =  'inhibitor'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "enzyme",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.enzyme_id",
            "JOIN",
            "medicine",
            "AS",
            "T3",
            "ON",
            "T2.medicine_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Amisulpride",
            "'",
            "AND",
            "T2.interaction_type",
            "=",
            "'inhibitor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "enzyme",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "enzyme_id",
            "join",
            "medicine",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "interaction_type",
            "=",
            "value"
        ],
        "question": "What are the names of the enzymes used in the medicine  Amisulpride that acts as inhibitors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "enzymes",
            "used",
            "in",
            "the",
            "medicine",
            "Amisulpride",
            "that",
            "acts",
            "as",
            "inhibitors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Amisulpride\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"inhibitor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.id ,  T1.Name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id GROUP BY T1.id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.Name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the ids and names of the medicine that can interact with two or more enzymes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "the",
            "medicine",
            "that",
            "can",
            "interact",
            "with",
            "two",
            "or",
            "more",
            "enzymes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.id ,  T1.Name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id GROUP BY T1.id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.Name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "For every medicine id, what are the names of the medicines that can interact with more than one enzyme?",
        "question_toks": [
            "For",
            "every",
            "medicine",
            "id",
            ",",
            "what",
            "are",
            "the",
            "names",
            "of",
            "the",
            "medicines",
            "that",
            "can",
            "interact",
            "with",
            "more",
            "than",
            "one",
            "enzyme",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.id ,  T1.Name ,  T1.FDA_approved FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id GROUP BY T1.id ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.Name",
            ",",
            "T1.FDA_approved",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "fda_approved",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "What are the ids, names and FDA approval status of medicines in descending order of the number of enzymes that it can interact with.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "names",
            "and",
            "FDA",
            "approval",
            "status",
            "of",
            "medicines",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "number",
            "of",
            "enzymes",
            "that",
            "it",
            "can",
            "interact",
            "with",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.id ,  T1.Name ,  T1.FDA_approved FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id GROUP BY T1.id ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.Name",
            ",",
            "T1.FDA_approved",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "fda_approved",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "What are the ids, names, and FDA approval status for medicines ordered by descending number of possible enzyme interactions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "names",
            ",",
            "and",
            "FDA",
            "approval",
            "status",
            "for",
            "medicines",
            "ordered",
            "by",
            "descending",
            "number",
            "of",
            "possible",
            "enzyme",
            "interactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.id ,  T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id  =  T2.enzyme_id WHERE T2.interaction_type  =  'activitor' GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "enzyme",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.enzyme_id",
            "WHERE",
            "T2.interaction_type",
            "=",
            "'activitor",
            "'",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "enzyme",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "enzyme_id",
            "where",
            "t2",
            ".",
            "interaction_type",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and name of the enzyme with most number of medicines that can interact as 'activator'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "enzyme",
            "with",
            "most",
            "number",
            "of",
            "medicines",
            "that",
            "can",
            "interact",
            "as",
            "'activator",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"activitor\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.id ,  T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id  =  T2.enzyme_id WHERE T2.interaction_type  =  'activitor' GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "enzyme",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.enzyme_id",
            "WHERE",
            "T2.interaction_type",
            "=",
            "'activitor",
            "'",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "enzyme",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "enzyme_id",
            "where",
            "t2",
            ".",
            "interaction_type",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and name of the enzyme that can interact with the most medicines as an activator?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "enzyme",
            "that",
            "can",
            "interact",
            "with",
            "the",
            "most",
            "medicines",
            "as",
            "an",
            "activator",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"activitor\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.interaction_type FROM medicine_enzyme_interaction AS T1 JOIN medicine AS T2 ON T1.medicine_id  =  T2.id JOIN enzyme AS T3 ON T1.enzyme_id  =  T3.id WHERE T3.name  =  'ALA synthase' AND T2.name  =  'Aripiprazole'",
        "query_toks": [
            "SELECT",
            "T1.interaction_type",
            "FROM",
            "medicine_enzyme_interaction",
            "AS",
            "T1",
            "JOIN",
            "medicine",
            "AS",
            "T2",
            "ON",
            "T1.medicine_id",
            "=",
            "T2.id",
            "JOIN",
            "enzyme",
            "AS",
            "T3",
            "ON",
            "T1.enzyme_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'ALA",
            "synthase",
            "'",
            "AND",
            "T2.name",
            "=",
            "'Aripiprazole",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "interaction_type",
            "from",
            "medicine_enzyme_interaction",
            "as",
            "t1",
            "join",
            "medicine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "medicine_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "enzyme",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "enzyme_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "interaction",
            "type",
            "of",
            "the",
            "enzyme",
            "named",
            "'ALA",
            "synthase",
            "'",
            "and",
            "the",
            "medicine",
            "named",
            "'Aripiprazole",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ALA synthase\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Aripiprazole\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.interaction_type FROM medicine_enzyme_interaction AS T1 JOIN medicine AS T2 ON T1.medicine_id  =  T2.id JOIN enzyme AS T3 ON T1.enzyme_id  =  T3.id WHERE T3.name  =  'ALA synthase' AND T2.name  =  'Aripiprazole'",
        "query_toks": [
            "SELECT",
            "T1.interaction_type",
            "FROM",
            "medicine_enzyme_interaction",
            "AS",
            "T1",
            "JOIN",
            "medicine",
            "AS",
            "T2",
            "ON",
            "T1.medicine_id",
            "=",
            "T2.id",
            "JOIN",
            "enzyme",
            "AS",
            "T3",
            "ON",
            "T1.enzyme_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'ALA",
            "synthase",
            "'",
            "AND",
            "T2.name",
            "=",
            "'Aripiprazole",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "interaction_type",
            "from",
            "medicine_enzyme_interaction",
            "as",
            "t1",
            "join",
            "medicine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "medicine_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "enzyme",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "enzyme_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the type of interaction for the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "of",
            "interaction",
            "for",
            "the",
            "enzyme",
            "named",
            "'ALA",
            "synthase",
            "'",
            "and",
            "the",
            "medicine",
            "named",
            "'Aripiprazole",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ALA synthase\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Aripiprazole\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT interaction_type ,  count(*) FROM medicine_enzyme_interaction GROUP BY interaction_type ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "interaction_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "medicine_enzyme_interaction",
            "GROUP",
            "BY",
            "interaction_type",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "interaction_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "medicine_enzyme_interaction",
            "group",
            "by",
            "interaction_type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common interaction type between enzymes and medicine? And how many are there?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "interaction",
            "type",
            "between",
            "enzymes",
            "and",
            "medicine",
            "?",
            "And",
            "how",
            "many",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT interaction_type ,  count(*) FROM medicine_enzyme_interaction GROUP BY interaction_type ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "interaction_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "medicine_enzyme_interaction",
            "GROUP",
            "BY",
            "interaction_type",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "interaction_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "medicine_enzyme_interaction",
            "group",
            "by",
            "interaction_type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the most common types of interactions between enzymes and medicine, and how many types are there?",
        "question_toks": [
            "What",
            "are",
            "the",
            "most",
            "common",
            "types",
            "of",
            "interactions",
            "between",
            "enzymes",
            "and",
            "medicine",
            ",",
            "and",
            "how",
            "many",
            "types",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT count(*) FROM medicine WHERE FDA_approved  =  'No'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "medicine",
            "WHERE",
            "FDA_approved",
            "=",
            "'No",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "medicine",
            "where",
            "fda_approved",
            "=",
            "value"
        ],
        "question": "How many medicines have the FDA approval status 'No' ?",
        "question_toks": [
            "How",
            "many",
            "medicines",
            "have",
            "the",
            "FDA",
            "approval",
            "status",
            "'No",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"No\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT count(*) FROM medicine WHERE FDA_approved  =  'No'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "medicine",
            "WHERE",
            "FDA_approved",
            "=",
            "'No",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "medicine",
            "where",
            "fda_approved",
            "=",
            "value"
        ],
        "question": "How many medicines were not approved by the FDA?",
        "question_toks": [
            "How",
            "many",
            "medicines",
            "were",
            "not",
            "approved",
            "by",
            "the",
            "FDA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"No\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT count(*) FROM enzyme WHERE id NOT IN ( SELECT enzyme_id FROM medicine_enzyme_interaction );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "enzyme",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "enzyme_id",
            "FROM",
            "medicine_enzyme_interaction",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "enzyme",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "enzyme_id",
            "from",
            "medicine_enzyme_interaction",
            ")"
        ],
        "question": "How many enzymes do not have any interactions?",
        "question_toks": [
            "How",
            "many",
            "enzymes",
            "do",
            "not",
            "have",
            "any",
            "interactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT count(*) FROM enzyme WHERE id NOT IN ( SELECT enzyme_id FROM medicine_enzyme_interaction );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "enzyme",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "enzyme_id",
            "FROM",
            "medicine_enzyme_interaction",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "enzyme",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "enzyme_id",
            "from",
            "medicine_enzyme_interaction",
            ")"
        ],
        "question": "What is the count of enzymes without any interactions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "enzymes",
            "without",
            "any",
            "interactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.id ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id GROUP BY T1.id HAVING COUNT(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.trade_name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "trade_name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the id and trade name of the medicines can interact with at least 3 enzymes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "trade",
            "name",
            "of",
            "the",
            "medicines",
            "can",
            "interact",
            "with",
            "at",
            "least",
            "3",
            "enzymes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.id ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id GROUP BY T1.id HAVING COUNT(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.trade_name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "trade_name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the ids and trade names of the medicine that can interact with at least 3 enzymes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "trade",
            "names",
            "of",
            "the",
            "medicine",
            "that",
            "can",
            "interact",
            "with",
            "at",
            "least",
            "3",
            "enzymes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT DISTINCT T1.name ,  T1.location ,  T1.product FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.enzyme_id  =  T1.id WHERE T2.interaction_type  =  'inhibitor'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            ",",
            "T1.location",
            ",",
            "T1.product",
            "FROM",
            "enzyme",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.enzyme_id",
            "=",
            "T1.id",
            "WHERE",
            "T2.interaction_type",
            "=",
            "'inhibitor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "location",
            ",",
            "t1",
            ".",
            "product",
            "from",
            "enzyme",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "enzyme_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "interaction_type",
            "=",
            "value"
        ],
        "question": "What are the distinct name, location and products of the enzymes which has any 'inhibitor' interaction?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "name",
            ",",
            "location",
            "and",
            "products",
            "of",
            "the",
            "enzymes",
            "which",
            "has",
            "any",
            "'inhibitor",
            "'",
            "interaction",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"inhibitor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT DISTINCT T1.name ,  T1.location ,  T1.product FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.enzyme_id  =  T1.id WHERE T2.interaction_type  =  'inhibitor'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            ",",
            "T1.location",
            ",",
            "T1.product",
            "FROM",
            "enzyme",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.enzyme_id",
            "=",
            "T1.id",
            "WHERE",
            "T2.interaction_type",
            "=",
            "'inhibitor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "location",
            ",",
            "t1",
            ".",
            "product",
            "from",
            "enzyme",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "enzyme_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "interaction_type",
            "=",
            "value"
        ],
        "question": "What are the different names, locations, and products of the enzymes that are capable inhibitor interactions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            ",",
            "locations",
            ",",
            "and",
            "products",
            "of",
            "the",
            "enzymes",
            "that",
            "are",
            "capable",
            "inhibitor",
            "interactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"inhibitor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id WHERE interaction_type  =  'inhibitor' INTERSECT SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id WHERE interaction_type  =  'activitor'",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.trade_name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "WHERE",
            "interaction_type",
            "=",
            "'inhibitor",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            ",",
            "T1.trade_name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "WHERE",
            "interaction_type",
            "=",
            "'activitor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "trade_name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "interaction_type",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "trade_name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "interaction_type",
            "=",
            "value"
        ],
        "question": "List the medicine name and trade name which can both interact as 'inhibitor' and 'activitor' with enzymes.",
        "question_toks": [
            "List",
            "the",
            "medicine",
            "name",
            "and",
            "trade",
            "name",
            "which",
            "can",
            "both",
            "interact",
            "as",
            "'inhibitor",
            "'",
            "and",
            "'activitor",
            "'",
            "with",
            "enzymes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"inhibitor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"activitor\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id WHERE interaction_type  =  'inhibitor' INTERSECT SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id WHERE interaction_type  =  'activitor'",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.trade_name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "WHERE",
            "interaction_type",
            "=",
            "'inhibitor",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            ",",
            "T1.trade_name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "WHERE",
            "interaction_type",
            "=",
            "'activitor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "trade_name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "interaction_type",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "trade_name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "interaction_type",
            "=",
            "value"
        ],
        "question": "What are the medicine and trade names that can interact as an inhibitor and activitor with enzymes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "medicine",
            "and",
            "trade",
            "names",
            "that",
            "can",
            "interact",
            "as",
            "an",
            "inhibitor",
            "and",
            "activitor",
            "with",
            "enzymes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"inhibitor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"activitor\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name ,  trade_name FROM medicine EXCEPT SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id JOIN enzyme AS T3 ON T3.id  =  T2.enzyme_id WHERE T3.product  =  'Protoporphyrinogen IX'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "trade_name",
            "FROM",
            "medicine",
            "EXCEPT",
            "SELECT",
            "T1.name",
            ",",
            "T1.trade_name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "JOIN",
            "enzyme",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.enzyme_id",
            "WHERE",
            "T3.product",
            "=",
            "'Protoporphyrinogen",
            "IX",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "trade_name",
            "from",
            "medicine",
            "except",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "trade_name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "enzyme",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "enzyme_id",
            "where",
            "t3",
            ".",
            "product",
            "=",
            "value"
        ],
        "question": "Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.",
        "question_toks": [
            "Show",
            "the",
            "medicine",
            "names",
            "and",
            "trade",
            "names",
            "that",
            "can",
            "not",
            "interact",
            "with",
            "the",
            "enzyme",
            "with",
            "product",
            "'Heme",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"Protoporphyrinogen IX\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name ,  trade_name FROM medicine EXCEPT SELECT T1.name ,  T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id  =  T1.id JOIN enzyme AS T3 ON T3.id  =  T2.enzyme_id WHERE T3.product  =  'Protoporphyrinogen IX'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "trade_name",
            "FROM",
            "medicine",
            "EXCEPT",
            "SELECT",
            "T1.name",
            ",",
            "T1.trade_name",
            "FROM",
            "medicine",
            "AS",
            "T1",
            "JOIN",
            "medicine_enzyme_interaction",
            "AS",
            "T2",
            "ON",
            "T2.medicine_id",
            "=",
            "T1.id",
            "JOIN",
            "enzyme",
            "AS",
            "T3",
            "ON",
            "T3.id",
            "=",
            "T2.enzyme_id",
            "WHERE",
            "T3.product",
            "=",
            "'Protoporphyrinogen",
            "IX",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "trade_name",
            "from",
            "medicine",
            "except",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "trade_name",
            "from",
            "medicine",
            "as",
            "t1",
            "join",
            "medicine_enzyme_interaction",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "medicine_id",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "enzyme",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "enzyme_id",
            "where",
            "t3",
            ".",
            "product",
            "=",
            "value"
        ],
        "question": "What are the medicine and trade names that cannot interact with the enzyme with the product 'Heme'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "medicine",
            "and",
            "trade",
            "names",
            "that",
            "can",
            "not",
            "interact",
            "with",
            "the",
            "enzyme",
            "with",
            "the",
            "product",
            "'Heme",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"Protoporphyrinogen IX\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT count(DISTINCT FDA_approved) FROM medicine",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "FDA_approved",
            ")",
            "FROM",
            "medicine"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "fda_approved",
            ")",
            "from",
            "medicine"
        ],
        "question": "How many distinct FDA approval statuses are there for the medicines?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "FDA",
            "approval",
            "statuses",
            "are",
            "there",
            "for",
            "the",
            "medicines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT count(DISTINCT FDA_approved) FROM medicine",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "FDA_approved",
            ")",
            "FROM",
            "medicine"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "fda_approved",
            ")",
            "from",
            "medicine"
        ],
        "question": "How many different FDA approval statuses exist for medicines?",
        "question_toks": [
            "How",
            "many",
            "different",
            "FDA",
            "approval",
            "statuses",
            "exist",
            "for",
            "medicines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name FROM enzyme WHERE name LIKE \"%ALA%\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "enzyme",
            "WHERE",
            "name",
            "LIKE",
            "``",
            "%",
            "ALA",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "enzyme",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Which enzyme names have the substring \"ALA\"?",
        "question_toks": [
            "Which",
            "enzyme",
            "names",
            "have",
            "the",
            "substring",
            "``",
            "ALA",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"%ALA%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT name FROM enzyme WHERE name LIKE \"%ALA%\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "enzyme",
            "WHERE",
            "name",
            "LIKE",
            "``",
            "%",
            "ALA",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "enzyme",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "What are the names of enzymes that include the string 'ALA'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "enzymes",
            "that",
            "include",
            "the",
            "string",
            "'ALA",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"%ALA%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT trade_name ,  count(*) FROM medicine GROUP BY trade_name",
        "query_toks": [
            "SELECT",
            "trade_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "medicine",
            "GROUP",
            "BY",
            "trade_name"
        ],
        "query_toks_no_value": [
            "select",
            "trade_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "medicine",
            "group",
            "by",
            "trade_name"
        ],
        "question": "find the number of medicines offered by each trade.",
        "question_toks": [
            "find",
            "the",
            "number",
            "of",
            "medicines",
            "offered",
            "by",
            "each",
            "trade",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "medicine_enzyme_interaction",
        "query": "SELECT trade_name ,  count(*) FROM medicine GROUP BY trade_name",
        "query_toks": [
            "SELECT",
            "trade_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "medicine",
            "GROUP",
            "BY",
            "trade_name"
        ],
        "query_toks_no_value": [
            "select",
            "trade_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "medicine",
            "group",
            "by",
            "trade_name"
        ],
        "question": "How many medicines are offered by each trade name?",
        "question_toks": [
            "How",
            "many",
            "medicines",
            "are",
            "offered",
            "by",
            "each",
            "trade",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT school ,  nickname FROM university ORDER BY founded",
        "query_toks": [
            "SELECT",
            "school",
            ",",
            "nickname",
            "FROM",
            "university",
            "ORDER",
            "BY",
            "founded"
        ],
        "query_toks_no_value": [
            "select",
            "school",
            ",",
            "nickname",
            "from",
            "university",
            "order",
            "by",
            "founded"
        ],
        "question": "List all schools and their nicknames in the order of founded year.",
        "question_toks": [
            "List",
            "all",
            "schools",
            "and",
            "their",
            "nicknames",
            "in",
            "the",
            "order",
            "of",
            "founded",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT school ,  nickname FROM university ORDER BY founded",
        "query_toks": [
            "SELECT",
            "school",
            ",",
            "nickname",
            "FROM",
            "university",
            "ORDER",
            "BY",
            "founded"
        ],
        "query_toks_no_value": [
            "select",
            "school",
            ",",
            "nickname",
            "from",
            "university",
            "order",
            "by",
            "founded"
        ],
        "question": "What are the different schools and their nicknames, ordered by their founding years?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "schools",
            "and",
            "their",
            "nicknames",
            ",",
            "ordered",
            "by",
            "their",
            "founding",
            "years",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT school ,  LOCATION FROM university WHERE affiliation  =  'Public'",
        "query_toks": [
            "SELECT",
            "school",
            ",",
            "LOCATION",
            "FROM",
            "university",
            "WHERE",
            "affiliation",
            "=",
            "'Public",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "school",
            ",",
            "location",
            "from",
            "university",
            "where",
            "affiliation",
            "=",
            "value"
        ],
        "question": "List all public schools and their locations.",
        "question_toks": [
            "List",
            "all",
            "public",
            "schools",
            "and",
            "their",
            "locations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Public\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT school ,  LOCATION FROM university WHERE affiliation  =  'Public'",
        "query_toks": [
            "SELECT",
            "school",
            ",",
            "LOCATION",
            "FROM",
            "university",
            "WHERE",
            "affiliation",
            "=",
            "'Public",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "school",
            ",",
            "location",
            "from",
            "university",
            "where",
            "affiliation",
            "=",
            "value"
        ],
        "question": "What are the public schools and what are their locations?",
        "question_toks": [
            "What",
            "are",
            "the",
            "public",
            "schools",
            "and",
            "what",
            "are",
            "their",
            "locations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Public\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT founded FROM university ORDER BY enrollment DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "founded",
            "FROM",
            "university",
            "ORDER",
            "BY",
            "enrollment",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "founded",
            "from",
            "university",
            "order",
            "by",
            "enrollment",
            "desc",
            "limit",
            "value"
        ],
        "question": "When was the school with the largest enrollment founded?",
        "question_toks": [
            "When",
            "was",
            "the",
            "school",
            "with",
            "the",
            "largest",
            "enrollment",
            "founded",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT founded FROM university ORDER BY enrollment DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "founded",
            "FROM",
            "university",
            "ORDER",
            "BY",
            "enrollment",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "founded",
            "from",
            "university",
            "order",
            "by",
            "enrollment",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the founded year for the school with the largest enrollment.",
        "question_toks": [
            "Return",
            "the",
            "founded",
            "year",
            "for",
            "the",
            "school",
            "with",
            "the",
            "largest",
            "enrollment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT founded FROM university WHERE affiliation != 'Public' ORDER BY founded DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "founded",
            "FROM",
            "university",
            "WHERE",
            "affiliation",
            "!",
            "=",
            "'Public",
            "'",
            "ORDER",
            "BY",
            "founded",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "founded",
            "from",
            "university",
            "where",
            "affiliation",
            "!",
            "=",
            "value",
            "order",
            "by",
            "founded",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the founded year of the newest non public school.",
        "question_toks": [
            "Find",
            "the",
            "founded",
            "year",
            "of",
            "the",
            "newest",
            "non",
            "public",
            "school",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Public\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT founded FROM university WHERE affiliation != 'Public' ORDER BY founded DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "founded",
            "FROM",
            "university",
            "WHERE",
            "affiliation",
            "!",
            "=",
            "'Public",
            "'",
            "ORDER",
            "BY",
            "founded",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "founded",
            "from",
            "university",
            "where",
            "affiliation",
            "!",
            "=",
            "value",
            "order",
            "by",
            "founded",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the founded year of the non public school that was founded most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "founded",
            "year",
            "of",
            "the",
            "non",
            "public",
            "school",
            "that",
            "was",
            "founded",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Public\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(DISTINCT school_id) FROM basketball_match",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "school_id",
            ")",
            "FROM",
            "basketball_match"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "school_id",
            ")",
            "from",
            "basketball_match"
        ],
        "question": "How many schools are in the basketball match?",
        "question_toks": [
            "How",
            "many",
            "schools",
            "are",
            "in",
            "the",
            "basketball",
            "match",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(DISTINCT school_id) FROM basketball_match",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "school_id",
            ")",
            "FROM",
            "basketball_match"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "school_id",
            ")",
            "from",
            "basketball_match"
        ],
        "question": "Count the number of schools that have had basketball matches.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "schools",
            "that",
            "have",
            "had",
            "basketball",
            "matches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "acc_percent",
            "FROM",
            "basketball_match",
            "ORDER",
            "BY",
            "acc_percent",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "acc_percent",
            "from",
            "basketball_match",
            "order",
            "by",
            "acc_percent",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the highest acc percent score in the competition?",
        "question_toks": [
            "What",
            "is",
            "the",
            "highest",
            "acc",
            "percent",
            "score",
            "in",
            "the",
            "competition",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "acc_percent",
            "FROM",
            "basketball_match",
            "ORDER",
            "BY",
            "acc_percent",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "acc_percent",
            "from",
            "basketball_match",
            "order",
            "by",
            "acc_percent",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the highest acc percent across all basketball matches.",
        "question_toks": [
            "Return",
            "the",
            "highest",
            "acc",
            "percent",
            "across",
            "all",
            "basketball",
            "matches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT t1.Primary_conference FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id ORDER BY t2.acc_percent LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.Primary_conference",
            "FROM",
            "university",
            "AS",
            "t1",
            "JOIN",
            "basketball_match",
            "AS",
            "t2",
            "ON",
            "t1.school_id",
            "=",
            "t2.school_id",
            "ORDER",
            "BY",
            "t2.acc_percent",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "primary_conference",
            "from",
            "university",
            "as",
            "t1",
            "join",
            "basketball_match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "order",
            "by",
            "t2",
            ".",
            "acc_percent",
            "limit",
            "value"
        ],
        "question": "What is the primary conference of the school that has the lowest acc percent score in the competition?",
        "question_toks": [
            "What",
            "is",
            "the",
            "primary",
            "conference",
            "of",
            "the",
            "school",
            "that",
            "has",
            "the",
            "lowest",
            "acc",
            "percent",
            "score",
            "in",
            "the",
            "competition",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT t1.Primary_conference FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id ORDER BY t2.acc_percent LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.Primary_conference",
            "FROM",
            "university",
            "AS",
            "t1",
            "JOIN",
            "basketball_match",
            "AS",
            "t2",
            "ON",
            "t1.school_id",
            "=",
            "t2.school_id",
            "ORDER",
            "BY",
            "t2.acc_percent",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "primary_conference",
            "from",
            "university",
            "as",
            "t1",
            "join",
            "basketball_match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "order",
            "by",
            "t2",
            ".",
            "acc_percent",
            "limit",
            "value"
        ],
        "question": "Return the primary conference of the school with the lowest acc percentage score.",
        "question_toks": [
            "Return",
            "the",
            "primary",
            "conference",
            "of",
            "the",
            "school",
            "with",
            "the",
            "lowest",
            "acc",
            "percentage",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT t2.team_name ,  t2.ACC_Regular_Season FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id ORDER BY t1.founded LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.team_name",
            ",",
            "t2.ACC_Regular_Season",
            "FROM",
            "university",
            "AS",
            "t1",
            "JOIN",
            "basketball_match",
            "AS",
            "t2",
            "ON",
            "t1.school_id",
            "=",
            "t2.school_id",
            "ORDER",
            "BY",
            "t1.founded",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "team_name",
            ",",
            "t2",
            ".",
            "acc_regular_season",
            "from",
            "university",
            "as",
            "t1",
            "join",
            "basketball_match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "order",
            "by",
            "t1",
            ".",
            "founded",
            "limit",
            "value"
        ],
        "question": "What is the team name and acc regular season score of the school that was founded for the longest time?",
        "question_toks": [
            "What",
            "is",
            "the",
            "team",
            "name",
            "and",
            "acc",
            "regular",
            "season",
            "score",
            "of",
            "the",
            "school",
            "that",
            "was",
            "founded",
            "for",
            "the",
            "longest",
            "time",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT t2.team_name ,  t2.ACC_Regular_Season FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id ORDER BY t1.founded LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.team_name",
            ",",
            "t2.ACC_Regular_Season",
            "FROM",
            "university",
            "AS",
            "t1",
            "JOIN",
            "basketball_match",
            "AS",
            "t2",
            "ON",
            "t1.school_id",
            "=",
            "t2.school_id",
            "ORDER",
            "BY",
            "t1.founded",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "team_name",
            ",",
            "t2",
            ".",
            "acc_regular_season",
            "from",
            "university",
            "as",
            "t1",
            "join",
            "basketball_match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "order",
            "by",
            "t1",
            ".",
            "founded",
            "limit",
            "value"
        ],
        "question": "Return the name of the team and the acc during the regular season for the school that was founded the earliest.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "team",
            "and",
            "the",
            "acc",
            "during",
            "the",
            "regular",
            "season",
            "for",
            "the",
            "school",
            "that",
            "was",
            "founded",
            "the",
            "earliest",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT t2.All_Games ,  t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id WHERE team_name  =  'Clemson'",
        "query_toks": [
            "SELECT",
            "t2.All_Games",
            ",",
            "t1.location",
            "FROM",
            "university",
            "AS",
            "t1",
            "JOIN",
            "basketball_match",
            "AS",
            "t2",
            "ON",
            "t1.school_id",
            "=",
            "t2.school_id",
            "WHERE",
            "team_name",
            "=",
            "'Clemson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "all_games",
            ",",
            "t1",
            ".",
            "location",
            "from",
            "university",
            "as",
            "t1",
            "join",
            "basketball_match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "team_name",
            "=",
            "value"
        ],
        "question": "Find the location and all games score of the school that has Clemson as its team name.",
        "question_toks": [
            "Find",
            "the",
            "location",
            "and",
            "all",
            "games",
            "score",
            "of",
            "the",
            "school",
            "that",
            "has",
            "Clemson",
            "as",
            "its",
            "team",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Clemson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT t2.All_Games ,  t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id WHERE team_name  =  'Clemson'",
        "query_toks": [
            "SELECT",
            "t2.All_Games",
            ",",
            "t1.location",
            "FROM",
            "university",
            "AS",
            "t1",
            "JOIN",
            "basketball_match",
            "AS",
            "t2",
            "ON",
            "t1.school_id",
            "=",
            "t2.school_id",
            "WHERE",
            "team_name",
            "=",
            "'Clemson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "all_games",
            ",",
            "t1",
            ".",
            "location",
            "from",
            "university",
            "as",
            "t1",
            "join",
            "basketball_match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "team_name",
            "=",
            "value"
        ],
        "question": "What are the all games score and location of the school called Clemson?",
        "question_toks": [
            "What",
            "are",
            "the",
            "all",
            "games",
            "score",
            "and",
            "location",
            "of",
            "the",
            "school",
            "called",
            "Clemson",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Clemson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT avg(enrollment) FROM university WHERE founded  <  1850",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "enrollment",
            ")",
            "FROM",
            "university",
            "WHERE",
            "founded",
            "<",
            "1850"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enrollment",
            ")",
            "from",
            "university",
            "where",
            "founded",
            "<",
            "value"
        ],
        "question": "What are the average enrollment size of the universities that are founded before 1850?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "enrollment",
            "size",
            "of",
            "the",
            "universities",
            "that",
            "are",
            "founded",
            "before",
            "1850",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    1850.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT avg(enrollment) FROM university WHERE founded  <  1850",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "enrollment",
            ")",
            "FROM",
            "university",
            "WHERE",
            "founded",
            "<",
            "1850"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enrollment",
            ")",
            "from",
            "university",
            "where",
            "founded",
            "<",
            "value"
        ],
        "question": "Return the average enrollment of universities founded before 1850.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "enrollment",
            "of",
            "universities",
            "founded",
            "before",
            "1850",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    1850.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT enrollment ,  primary_conference FROM university ORDER BY founded LIMIT 1",
        "query_toks": [
            "SELECT",
            "enrollment",
            ",",
            "primary_conference",
            "FROM",
            "university",
            "ORDER",
            "BY",
            "founded",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "enrollment",
            ",",
            "primary_conference",
            "from",
            "university",
            "order",
            "by",
            "founded",
            "limit",
            "value"
        ],
        "question": "Show the enrollment and primary_conference of the oldest college.",
        "question_toks": [
            "Show",
            "the",
            "enrollment",
            "and",
            "primary_conference",
            "of",
            "the",
            "oldest",
            "college",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT enrollment ,  primary_conference FROM university ORDER BY founded LIMIT 1",
        "query_toks": [
            "SELECT",
            "enrollment",
            ",",
            "primary_conference",
            "FROM",
            "university",
            "ORDER",
            "BY",
            "founded",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "enrollment",
            ",",
            "primary_conference",
            "from",
            "university",
            "order",
            "by",
            "founded",
            "limit",
            "value"
        ],
        "question": "What are the enrollment and primary conference for the university which was founded the earliest?",
        "question_toks": [
            "What",
            "are",
            "the",
            "enrollment",
            "and",
            "primary",
            "conference",
            "for",
            "the",
            "university",
            "which",
            "was",
            "founded",
            "the",
            "earliest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT sum(enrollment) ,  min(enrollment) FROM university",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "min",
            "(",
            "enrollment",
            ")",
            "FROM",
            "university"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "min",
            "(",
            "enrollment",
            ")",
            "from",
            "university"
        ],
        "question": "What is the total and minimum enrollment of all schools?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "and",
            "minimum",
            "enrollment",
            "of",
            "all",
            "schools",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT sum(enrollment) ,  min(enrollment) FROM university",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "min",
            "(",
            "enrollment",
            ")",
            "FROM",
            "university"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "min",
            "(",
            "enrollment",
            ")",
            "from",
            "university"
        ],
        "question": "Return the total and minimum enrollments across all schools.",
        "question_toks": [
            "Return",
            "the",
            "total",
            "and",
            "minimum",
            "enrollments",
            "across",
            "all",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT sum(enrollment) ,  affiliation FROM university GROUP BY affiliation",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "affiliation",
            "FROM",
            "university",
            "GROUP",
            "BY",
            "affiliation"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "affiliation",
            "from",
            "university",
            "group",
            "by",
            "affiliation"
        ],
        "question": "Find the total student enrollment for different affiliation type schools.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "student",
            "enrollment",
            "for",
            "different",
            "affiliation",
            "type",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT sum(enrollment) ,  affiliation FROM university GROUP BY affiliation",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "affiliation",
            "FROM",
            "university",
            "GROUP",
            "BY",
            "affiliation"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "affiliation",
            "from",
            "university",
            "group",
            "by",
            "affiliation"
        ],
        "question": "What are the total enrollments of universities of each affiliation type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "enrollments",
            "of",
            "universities",
            "of",
            "each",
            "affiliation",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(*) FROM university WHERE school_id NOT IN (SELECT school_id FROM basketball_match)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "university",
            "WHERE",
            "school_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "school_id",
            "FROM",
            "basketball_match",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "university",
            "where",
            "school_id",
            "not",
            "in",
            "(",
            "select",
            "school_id",
            "from",
            "basketball_match",
            ")"
        ],
        "question": "How many schools do not participate in the basketball match?",
        "question_toks": [
            "How",
            "many",
            "schools",
            "do",
            "not",
            "participate",
            "in",
            "the",
            "basketball",
            "match",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(*) FROM university WHERE school_id NOT IN (SELECT school_id FROM basketball_match)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "university",
            "WHERE",
            "school_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "school_id",
            "FROM",
            "basketball_match",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "university",
            "where",
            "school_id",
            "not",
            "in",
            "(",
            "select",
            "school_id",
            "from",
            "basketball_match",
            ")"
        ],
        "question": "Count the number of universities that do not participate in the baketball match.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "universities",
            "that",
            "do",
            "not",
            "participate",
            "in",
            "the",
            "baketball",
            "match",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT school FROM university WHERE founded  >  1850 OR affiliation  =  'Public'",
        "query_toks": [
            "SELECT",
            "school",
            "FROM",
            "university",
            "WHERE",
            "founded",
            ">",
            "1850",
            "OR",
            "affiliation",
            "=",
            "'Public",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "school",
            "from",
            "university",
            "where",
            "founded",
            ">",
            "value",
            "or",
            "affiliation",
            "=",
            "value"
        ],
        "question": "Find the schools that were either founded after 1850 or public.",
        "question_toks": [
            "Find",
            "the",
            "schools",
            "that",
            "were",
            "either",
            "founded",
            "after",
            "1850",
            "or",
            "public",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    1850.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Public\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT school FROM university WHERE founded  >  1850 OR affiliation  =  'Public'",
        "query_toks": [
            "SELECT",
            "school",
            "FROM",
            "university",
            "WHERE",
            "founded",
            ">",
            "1850",
            "OR",
            "affiliation",
            "=",
            "'Public",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "school",
            "from",
            "university",
            "where",
            "founded",
            ">",
            "value",
            "or",
            "affiliation",
            "=",
            "value"
        ],
        "question": "What are the schools that were either founded before 1850 or are public?",
        "question_toks": [
            "What",
            "are",
            "the",
            "schools",
            "that",
            "were",
            "either",
            "founded",
            "before",
            "1850",
            "or",
            "are",
            "public",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    1850.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Public\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(DISTINCT affiliation) FROM university",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "affiliation",
            ")",
            "FROM",
            "university"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "affiliation",
            ")",
            "from",
            "university"
        ],
        "question": "Find how many different affiliation types there are.",
        "question_toks": [
            "Find",
            "how",
            "many",
            "different",
            "affiliation",
            "types",
            "there",
            "are",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(DISTINCT affiliation) FROM university",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "affiliation",
            ")",
            "FROM",
            "university"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "affiliation",
            ")",
            "from",
            "university"
        ],
        "question": "Count the number of different affiliation types.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "affiliation",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(*) FROM university WHERE LOCATION LIKE \"%NY%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "university",
            "WHERE",
            "LOCATION",
            "LIKE",
            "``",
            "%",
            "NY",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "university",
            "where",
            "location",
            "like",
            "value"
        ],
        "question": "Find how many school locations have the word 'NY'.",
        "question_toks": [
            "Find",
            "how",
            "many",
            "school",
            "locations",
            "have",
            "the",
            "word",
            "'NY",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%NY%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(*) FROM university WHERE LOCATION LIKE \"%NY%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "university",
            "WHERE",
            "LOCATION",
            "LIKE",
            "``",
            "%",
            "NY",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "university",
            "where",
            "location",
            "like",
            "value"
        ],
        "question": "How many universities have a location that contains NY?",
        "question_toks": [
            "How",
            "many",
            "universities",
            "have",
            "a",
            "location",
            "that",
            "contains",
            "NY",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%NY%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id WHERE enrollment  <  (SELECT avg(enrollment) FROM university)",
        "query_toks": [
            "SELECT",
            "t2.team_name",
            "FROM",
            "university",
            "AS",
            "t1",
            "JOIN",
            "basketball_match",
            "AS",
            "t2",
            "ON",
            "t1.school_id",
            "=",
            "t2.school_id",
            "WHERE",
            "enrollment",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "enrollment",
            ")",
            "FROM",
            "university",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "team_name",
            "from",
            "university",
            "as",
            "t1",
            "join",
            "basketball_match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "enrollment",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "enrollment",
            ")",
            "from",
            "university",
            ")"
        ],
        "question": "Find the team names of the universities whose enrollments are smaller than the average enrollment size.",
        "question_toks": [
            "Find",
            "the",
            "team",
            "names",
            "of",
            "the",
            "universities",
            "whose",
            "enrollments",
            "are",
            "smaller",
            "than",
            "the",
            "average",
            "enrollment",
            "size",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id  =  t2.school_id WHERE enrollment  <  (SELECT avg(enrollment) FROM university)",
        "query_toks": [
            "SELECT",
            "t2.team_name",
            "FROM",
            "university",
            "AS",
            "t1",
            "JOIN",
            "basketball_match",
            "AS",
            "t2",
            "ON",
            "t1.school_id",
            "=",
            "t2.school_id",
            "WHERE",
            "enrollment",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "enrollment",
            ")",
            "FROM",
            "university",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "team_name",
            "from",
            "university",
            "as",
            "t1",
            "join",
            "basketball_match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "enrollment",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "enrollment",
            ")",
            "from",
            "university",
            ")"
        ],
        "question": "What are the names of teams from universities that have a below average enrollment?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "teams",
            "from",
            "universities",
            "that",
            "have",
            "a",
            "below",
            "average",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(*) ,  affiliation FROM university WHERE enrollment  >  20000 GROUP BY affiliation",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "affiliation",
            "FROM",
            "university",
            "WHERE",
            "enrollment",
            ">",
            "20000",
            "GROUP",
            "BY",
            "affiliation"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "affiliation",
            "from",
            "university",
            "where",
            "enrollment",
            ">",
            "value",
            "group",
            "by",
            "affiliation"
        ],
        "question": "Find the number of universities that have over a 20000 enrollment size for each affiliation type.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "universities",
            "that",
            "have",
            "over",
            "a",
            "20000",
            "enrollment",
            "size",
            "for",
            "each",
            "affiliation",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    20000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT count(*) ,  affiliation FROM university WHERE enrollment  >  20000 GROUP BY affiliation",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "affiliation",
            "FROM",
            "university",
            "WHERE",
            "enrollment",
            ">",
            "20000",
            "GROUP",
            "BY",
            "affiliation"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "affiliation",
            "from",
            "university",
            "where",
            "enrollment",
            ">",
            "value",
            "group",
            "by",
            "affiliation"
        ],
        "question": "What are the different affiliations, and how many schools with each have an enrollment size of above 20000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "affiliations",
            ",",
            "and",
            "how",
            "many",
            "schools",
            "with",
            "each",
            "have",
            "an",
            "enrollment",
            "size",
            "of",
            "above",
            "20000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    20000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT sum(Enrollment) ,  affiliation FROM university WHERE founded  >  1850 GROUP BY affiliation",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Enrollment",
            ")",
            ",",
            "affiliation",
            "FROM",
            "university",
            "WHERE",
            "founded",
            ">",
            "1850",
            "GROUP",
            "BY",
            "affiliation"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "affiliation",
            "from",
            "university",
            "where",
            "founded",
            ">",
            "value",
            "group",
            "by",
            "affiliation"
        ],
        "question": "Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "students",
            "enrolled",
            "in",
            "the",
            "colleges",
            "that",
            "were",
            "founded",
            "after",
            "the",
            "year",
            "of",
            "1850",
            "for",
            "each",
            "affiliation",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    1850.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT sum(Enrollment) ,  affiliation FROM university WHERE founded  >  1850 GROUP BY affiliation",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Enrollment",
            ")",
            ",",
            "affiliation",
            "FROM",
            "university",
            "WHERE",
            "founded",
            ">",
            "1850",
            "GROUP",
            "BY",
            "affiliation"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "affiliation",
            "from",
            "university",
            "where",
            "founded",
            ">",
            "value",
            "group",
            "by",
            "affiliation"
        ],
        "question": "What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "affiliations",
            ",",
            "and",
            "what",
            "is",
            "the",
            "total",
            "enrollment",
            "of",
            "schools",
            "founded",
            "after",
            "1850",
            "for",
            "each",
            "enrollment",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    1850.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT max(Enrollment) FROM university",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Enrollment",
            ")",
            "FROM",
            "university"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "enrollment",
            ")",
            "from",
            "university"
        ],
        "question": "What is the maximum enrollment across all schools?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "enrollment",
            "across",
            "all",
            "schools",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT max(Enrollment) FROM university",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Enrollment",
            ")",
            "FROM",
            "university"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "enrollment",
            ")",
            "from",
            "university"
        ],
        "question": "Return the maximum enrollment across all schools.",
        "question_toks": [
            "Return",
            "the",
            "maximum",
            "enrollment",
            "across",
            "all",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT * FROM basketball_match",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "basketball_match"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "basketball_match"
        ],
        "question": "List all information regarding the basketball match.",
        "question_toks": [
            "List",
            "all",
            "information",
            "regarding",
            "the",
            "basketball",
            "match",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT * FROM basketball_match",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "basketball_match"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "basketball_match"
        ],
        "question": "What is all the information about the basketball match?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "about",
            "the",
            "basketball",
            "match",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT team_name FROM basketball_match ORDER BY All_Home DESC",
        "query_toks": [
            "SELECT",
            "team_name",
            "FROM",
            "basketball_match",
            "ORDER",
            "BY",
            "All_Home",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "team_name",
            "from",
            "basketball_match",
            "order",
            "by",
            "all_home",
            "desc"
        ],
        "question": "List names of all teams in the basketball competition, ordered by all home scores in descending order.",
        "question_toks": [
            "List",
            "names",
            "of",
            "all",
            "teams",
            "in",
            "the",
            "basketball",
            "competition",
            ",",
            "ordered",
            "by",
            "all",
            "home",
            "scores",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "university_basketball",
        "query": "SELECT team_name FROM basketball_match ORDER BY All_Home DESC",
        "query_toks": [
            "SELECT",
            "team_name",
            "FROM",
            "basketball_match",
            "ORDER",
            "BY",
            "All_Home",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "team_name",
            "from",
            "basketball_match",
            "order",
            "by",
            "all_home",
            "desc"
        ],
        "question": "What are the names of all the teams in the basketball competition, sorted by all home scores in descending order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "teams",
            "in",
            "the",
            "basketball",
            "competition",
            ",",
            "sorted",
            "by",
            "all",
            "home",
            "scores",
            "in",
            "descending",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 2004;",
        "query_toks": [
            "SELECT",
            "Model_name",
            "FROM",
            "chip_model",
            "WHERE",
            "Launch_year",
            "BETWEEN",
            "2002",
            "AND",
            "2004",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "model_name",
            "from",
            "chip_model",
            "where",
            "launch_year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "the names of models that launched between 2002 and 2004.",
        "question_toks": [
            "the",
            "names",
            "of",
            "models",
            "that",
            "launched",
            "between",
            "2002",
            "and",
            "2004",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    2004.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT Model_name ,  RAM_MiB FROM chip_model ORDER BY RAM_MiB ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Model_name",
            ",",
            "RAM_MiB",
            "FROM",
            "chip_model",
            "ORDER",
            "BY",
            "RAM_MiB",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "model_name",
            ",",
            "ram_mib",
            "from",
            "chip_model",
            "order",
            "by",
            "ram_mib",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which model has the least amount of RAM? List the model name and the amount of RAM.",
        "question_toks": [
            "Which",
            "model",
            "has",
            "the",
            "least",
            "amount",
            "of",
            "RAM",
            "?",
            "List",
            "the",
            "model",
            "name",
            "and",
            "the",
            "amount",
            "of",
            "RAM",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT chip_model ,  screen_mode FROM phone WHERE Hardware_Model_name = \"LG-P760\";",
        "query_toks": [
            "SELECT",
            "chip_model",
            ",",
            "screen_mode",
            "FROM",
            "phone",
            "WHERE",
            "Hardware_Model_name",
            "=",
            "``",
            "LG-P760",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "chip_model",
            ",",
            "screen_mode",
            "from",
            "phone",
            "where",
            "hardware_model_name",
            "=",
            "value"
        ],
        "question": "What are the chip model and screen mode of the phone with hardware model name \"LG-P760\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "chip",
            "model",
            "and",
            "screen",
            "mode",
            "of",
            "the",
            "phone",
            "with",
            "hardware",
            "model",
            "name",
            "``",
            "LG-P760",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"LG-P760\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT count(*) FROM phone WHERE Company_name = \"Nokia Corporation\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "phone",
            "WHERE",
            "Company_name",
            "=",
            "``",
            "Nokia",
            "Corporation",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "phone",
            "where",
            "company_name",
            "=",
            "value"
        ],
        "question": "How many phone hardware models are produced by the company named \"Nokia Corporation\"?",
        "question_toks": [
            "How",
            "many",
            "phone",
            "hardware",
            "models",
            "are",
            "produced",
            "by",
            "the",
            "company",
            "named",
            "``",
            "Nokia",
            "Corporation",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Nokia Corporation\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT max(T1.RAM_MiB) ,  min(T1.RAM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model WHERE T2.Company_name = \"Nokia Corporation\";",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.RAM_MiB",
            ")",
            ",",
            "min",
            "(",
            "T1.RAM_MiB",
            ")",
            "FROM",
            "chip_model",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Model_name",
            "=",
            "T2.chip_model",
            "WHERE",
            "T2.Company_name",
            "=",
            "``",
            "Nokia",
            "Corporation",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "ram_mib",
            ")",
            ",",
            "min",
            "(",
            "t1",
            ".",
            "ram_mib",
            ")",
            "from",
            "chip_model",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "model_name",
            "=",
            "t2",
            ".",
            "chip_model",
            "where",
            "t2",
            ".",
            "company_name",
            "=",
            "value"
        ],
        "question": "What is maximum and minimum RAM size of phone produced by company named \"Nokia Corporation\"?",
        "question_toks": [
            "What",
            "is",
            "maximum",
            "and",
            "minimum",
            "RAM",
            "size",
            "of",
            "phone",
            "produced",
            "by",
            "company",
            "named",
            "``",
            "Nokia",
            "Corporation",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Nokia Corporation\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT avg(T1.ROM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model WHERE T2.Company_name = \"Nokia Corporation\";",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.ROM_MiB",
            ")",
            "FROM",
            "chip_model",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Model_name",
            "=",
            "T2.chip_model",
            "WHERE",
            "T2.Company_name",
            "=",
            "``",
            "Nokia",
            "Corporation",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "rom_mib",
            ")",
            "from",
            "chip_model",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "model_name",
            "=",
            "t2",
            ".",
            "chip_model",
            "where",
            "t2",
            ".",
            "company_name",
            "=",
            "value"
        ],
        "question": "What is the average ROM size of phones produced by the company named \"Nokia Corporation\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "ROM",
            "size",
            "of",
            "phones",
            "produced",
            "by",
            "the",
            "company",
            "named",
            "``",
            "Nokia",
            "Corporation",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Nokia Corporation\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT T2.Hardware_Model_name ,  T2.Company_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model WHERE T1.Launch_year = 2002 OR T1.RAM_MiB  >  32;",
        "query_toks": [
            "SELECT",
            "T2.Hardware_Model_name",
            ",",
            "T2.Company_name",
            "FROM",
            "chip_model",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Model_name",
            "=",
            "T2.chip_model",
            "WHERE",
            "T1.Launch_year",
            "=",
            "2002",
            "OR",
            "T1.RAM_MiB",
            ">",
            "32",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hardware_model_name",
            ",",
            "t2",
            ".",
            "company_name",
            "from",
            "chip_model",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "model_name",
            "=",
            "t2",
            ".",
            "chip_model",
            "where",
            "t1",
            ".",
            "launch_year",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "ram_mib",
            ">",
            "value"
        ],
        "question": "List the hardware model name and company name for all the phones that were launched in year 2002 or have RAM size greater than 32.",
        "question_toks": [
            "List",
            "the",
            "hardware",
            "model",
            "name",
            "and",
            "company",
            "name",
            "for",
            "all",
            "the",
            "phones",
            "that",
            "were",
            "launched",
            "in",
            "year",
            "2002",
            "or",
            "have",
            "RAM",
            "size",
            "greater",
            "than",
            "32",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    32.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT Hardware_Model_name ,  Company_name FROM phone WHERE Accreditation_type LIKE 'Full';",
        "query_toks": [
            "SELECT",
            "Hardware_Model_name",
            ",",
            "Company_name",
            "FROM",
            "phone",
            "WHERE",
            "Accreditation_type",
            "LIKE",
            "'Full",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "hardware_model_name",
            ",",
            "company_name",
            "from",
            "phone",
            "where",
            "accreditation_type",
            "like",
            "value"
        ],
        "question": "Find all phones that have word 'Full' in their accreditation types. List the Hardware Model name and Company name.",
        "question_toks": [
            "Find",
            "all",
            "phones",
            "that",
            "have",
            "word",
            "'Full",
            "'",
            "in",
            "their",
            "accreditation",
            "types",
            ".",
            "List",
            "the",
            "Hardware",
            "Model",
            "name",
            "and",
            "Company",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Full\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT T1.Char_cells ,  T1.Pixels ,  T1.Hardware_colours FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.Hardware_Model_name = \"LG-P760\";",
        "query_toks": [
            "SELECT",
            "T1.Char_cells",
            ",",
            "T1.Pixels",
            ",",
            "T1.Hardware_colours",
            "FROM",
            "screen_mode",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Graphics_mode",
            "=",
            "T2.screen_mode",
            "WHERE",
            "T2.Hardware_Model_name",
            "=",
            "``",
            "LG-P760",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "char_cells",
            ",",
            "t1",
            ".",
            "pixels",
            ",",
            "t1",
            ".",
            "hardware_colours",
            "from",
            "screen_mode",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "graphics_mode",
            "=",
            "t2",
            ".",
            "screen_mode",
            "where",
            "t2",
            ".",
            "hardware_model_name",
            "=",
            "value"
        ],
        "question": "Find the Char cells, Pixels and Hardware colours for the screen of the phone whose hardware model name is \"LG-P760\".",
        "question_toks": [
            "Find",
            "the",
            "Char",
            "cells",
            ",",
            "Pixels",
            "and",
            "Hardware",
            "colours",
            "for",
            "the",
            "screen",
            "of",
            "the",
            "phone",
            "whose",
            "hardware",
            "model",
            "name",
            "is",
            "``",
            "LG-P760",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"LG-P760\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT T2.Hardware_Model_name ,  T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type  =  \"Graphics\";",
        "query_toks": [
            "SELECT",
            "T2.Hardware_Model_name",
            ",",
            "T2.Company_name",
            "FROM",
            "screen_mode",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Graphics_mode",
            "=",
            "T2.screen_mode",
            "WHERE",
            "T1.Type",
            "=",
            "``",
            "Graphics",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hardware_model_name",
            ",",
            "t2",
            ".",
            "company_name",
            "from",
            "screen_mode",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "graphics_mode",
            "=",
            "t2",
            ".",
            "screen_mode",
            "where",
            "t1",
            ".",
            "type",
            "=",
            "value"
        ],
        "question": "List the hardware model name and company name for the phone whose screen mode type is \"Graphics.\"",
        "question_toks": [
            "List",
            "the",
            "hardware",
            "model",
            "name",
            "and",
            "company",
            "name",
            "for",
            "the",
            "phone",
            "whose",
            "screen",
            "mode",
            "type",
            "is",
            "``",
            "Graphics",
            ".",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Graphics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT Company_name ,  count(*) FROM phone GROUP BY Company_name ORDER BY count(*) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Company_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "phone",
            "GROUP",
            "BY",
            "Company_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "company_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "phone",
            "group",
            "by",
            "company_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the name of the company that has the least number of phone models. List the company name and the number of phone model produced by that company.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "company",
            "that",
            "has",
            "the",
            "least",
            "number",
            "of",
            "phone",
            "models",
            ".",
            "List",
            "the",
            "company",
            "name",
            "and",
            "the",
            "number",
            "of",
            "phone",
            "model",
            "produced",
            "by",
            "that",
            "company",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT Company_name FROM phone GROUP BY Company_name HAVING count(*)  >  1;",
        "query_toks": [
            "SELECT",
            "Company_name",
            "FROM",
            "phone",
            "GROUP",
            "BY",
            "Company_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "company_name",
            "from",
            "phone",
            "group",
            "by",
            "company_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the name of the company that produced more than one phone model.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "company",
            "that",
            "produced",
            "more",
            "than",
            "one",
            "phone",
            "model",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT max(used_kb) , min(used_kb) , avg(used_kb) FROM screen_mode;",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "used_kb",
            ")",
            ",",
            "min",
            "(",
            "used_kb",
            ")",
            ",",
            "avg",
            "(",
            "used_kb",
            ")",
            "FROM",
            "screen_mode",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "used_kb",
            ")",
            ",",
            "min",
            "(",
            "used_kb",
            ")",
            ",",
            "avg",
            "(",
            "used_kb",
            ")",
            "from",
            "screen_mode"
        ],
        "question": "List the maximum, minimum and average number of used kb in screen mode.",
        "question_toks": [
            "List",
            "the",
            "maximum",
            ",",
            "minimum",
            "and",
            "average",
            "number",
            "of",
            "used",
            "kb",
            "in",
            "screen",
            "mode",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model WHERE T1.Launch_year = 2002 ORDER BY T1.RAM_MiB DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.Hardware_Model_name",
            "FROM",
            "chip_model",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Model_name",
            "=",
            "T2.chip_model",
            "WHERE",
            "T1.Launch_year",
            "=",
            "2002",
            "ORDER",
            "BY",
            "T1.RAM_MiB",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hardware_model_name",
            "from",
            "chip_model",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "model_name",
            "=",
            "t2",
            ".",
            "chip_model",
            "where",
            "t1",
            ".",
            "launch_year",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "ram_mib",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the name of the phone model launched in year 2002 and with the highest RAM size.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "phone",
            "model",
            "launched",
            "in",
            "year",
            "2002",
            "and",
            "with",
            "the",
            "highest",
            "RAM",
            "size",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT T1.WiFi , T3.Type FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T2.Hardware_Model_name = \"LG-P760\";",
        "query_toks": [
            "SELECT",
            "T1.WiFi",
            ",",
            "T3.Type",
            "FROM",
            "chip_model",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Model_name",
            "=",
            "T2.chip_model",
            "JOIN",
            "screen_mode",
            "AS",
            "T3",
            "ON",
            "T2.screen_mode",
            "=",
            "T3.Graphics_mode",
            "WHERE",
            "T2.Hardware_Model_name",
            "=",
            "``",
            "LG-P760",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "wifi",
            ",",
            "t3",
            ".",
            "type",
            "from",
            "chip_model",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "model_name",
            "=",
            "t2",
            ".",
            "chip_model",
            "join",
            "screen_mode",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "screen_mode",
            "=",
            "t3",
            ".",
            "graphics_mode",
            "where",
            "t2",
            ".",
            "hardware_model_name",
            "=",
            "value"
        ],
        "question": "What are the wifi and screen mode type of the hardware model named \"LG-P760\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "wifi",
            "and",
            "screen",
            "mode",
            "type",
            "of",
            "the",
            "hardware",
            "model",
            "named",
            "``",
            "LG-P760",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"LG-P760\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name  =  T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T3.Type = \"Text\" OR T1.RAM_MiB  >  32;",
        "query_toks": [
            "SELECT",
            "T2.Hardware_Model_name",
            "FROM",
            "chip_model",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Model_name",
            "=",
            "T2.chip_model",
            "JOIN",
            "screen_mode",
            "AS",
            "T3",
            "ON",
            "T2.screen_mode",
            "=",
            "T3.Graphics_mode",
            "WHERE",
            "T3.Type",
            "=",
            "``",
            "Text",
            "''",
            "OR",
            "T1.RAM_MiB",
            ">",
            "32",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hardware_model_name",
            "from",
            "chip_model",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "model_name",
            "=",
            "t2",
            ".",
            "chip_model",
            "join",
            "screen_mode",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "screen_mode",
            "=",
            "t3",
            ".",
            "graphics_mode",
            "where",
            "t3",
            ".",
            "type",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "ram_mib",
            ">",
            "value"
        ],
        "question": "List the hardware model name for the phones that have screen mode type \"Text\" or RAM size greater than 32.",
        "question_toks": [
            "List",
            "the",
            "hardware",
            "model",
            "name",
            "for",
            "the",
            "phones",
            "that",
            "have",
            "screen",
            "mode",
            "type",
            "``",
            "Text",
            "''",
            "or",
            "RAM",
            "size",
            "greater",
            "than",
            "32",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Text\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    32.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type  =  \"Graphics\" OR t2.Company_name  =  \"Nokia Corporation\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Hardware_Model_name",
            "FROM",
            "screen_mode",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Graphics_mode",
            "=",
            "T2.screen_mode",
            "WHERE",
            "T1.Type",
            "=",
            "``",
            "Graphics",
            "''",
            "OR",
            "t2.Company_name",
            "=",
            "``",
            "Nokia",
            "Corporation",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "hardware_model_name",
            "from",
            "screen_mode",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "graphics_mode",
            "=",
            "t2",
            ".",
            "screen_mode",
            "where",
            "t1",
            ".",
            "type",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "company_name",
            "=",
            "value"
        ],
        "question": "List the hardware model name for the phones that were produced by \"Nokia Corporation\" or whose screen mode type is \"Graphics.\"",
        "question_toks": [
            "List",
            "the",
            "hardware",
            "model",
            "name",
            "for",
            "the",
            "phones",
            "that",
            "were",
            "produced",
            "by",
            "``",
            "Nokia",
            "Corporation",
            "''",
            "or",
            "whose",
            "screen",
            "mode",
            "type",
            "is",
            "``",
            "Graphics",
            ".",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Graphics\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Nokia Corporation\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE t2.Company_name  =  \"Nokia Corporation\" AND T1.Type != \"Text\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Hardware_Model_name",
            "FROM",
            "screen_mode",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Graphics_mode",
            "=",
            "T2.screen_mode",
            "WHERE",
            "t2.Company_name",
            "=",
            "``",
            "Nokia",
            "Corporation",
            "''",
            "AND",
            "T1.Type",
            "!",
            "=",
            "``",
            "Text",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "hardware_model_name",
            "from",
            "screen_mode",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "graphics_mode",
            "=",
            "t2",
            ".",
            "screen_mode",
            "where",
            "t2",
            ".",
            "company_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "type",
            "!",
            "=",
            "value"
        ],
        "question": "List the hardware model name for the phons that were produced by \"Nokia Corporation\" but whose screen mode type is not Text.",
        "question_toks": [
            "List",
            "the",
            "hardware",
            "model",
            "name",
            "for",
            "the",
            "phons",
            "that",
            "were",
            "produced",
            "by",
            "``",
            "Nokia",
            "Corporation",
            "''",
            "but",
            "whose",
            "screen",
            "mode",
            "type",
            "is",
            "not",
            "Text",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Nokia Corporation\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Text\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT DISTINCT T2.Hardware_Model_name , T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.used_kb BETWEEN 10 AND 15;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Hardware_Model_name",
            ",",
            "T2.Company_name",
            "FROM",
            "screen_mode",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Graphics_mode",
            "=",
            "T2.screen_mode",
            "WHERE",
            "T1.used_kb",
            "BETWEEN",
            "10",
            "AND",
            "15",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "hardware_model_name",
            ",",
            "t2",
            ".",
            "company_name",
            "from",
            "screen_mode",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "graphics_mode",
            "=",
            "t2",
            ".",
            "screen_mode",
            "where",
            "t1",
            ".",
            "used_kb",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "List the phone hardware model and company name for the phones whose screen usage in kb is between 10 and 15.",
        "question_toks": [
            "List",
            "the",
            "phone",
            "hardware",
            "model",
            "and",
            "company",
            "name",
            "for",
            "the",
            "phones",
            "whose",
            "screen",
            "usage",
            "in",
            "kb",
            "is",
            "between",
            "10",
            "and",
            "15",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    10.0,
                    15.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT Accreditation_type ,  count(*) FROM phone GROUP BY Accreditation_type",
        "query_toks": [
            "SELECT",
            "Accreditation_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "phone",
            "GROUP",
            "BY",
            "Accreditation_type"
        ],
        "query_toks_no_value": [
            "select",
            "accreditation_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "phone",
            "group",
            "by",
            "accreditation_type"
        ],
        "question": "Find the number of phones for each accreditation type.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "phones",
            "for",
            "each",
            "accreditation",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT Accreditation_type ,  count(*) FROM phone GROUP BY Accreditation_type",
        "query_toks": [
            "SELECT",
            "Accreditation_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "phone",
            "GROUP",
            "BY",
            "Accreditation_type"
        ],
        "query_toks_no_value": [
            "select",
            "accreditation_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "phone",
            "group",
            "by",
            "accreditation_type"
        ],
        "question": "How many phones belongs to each accreditation type?",
        "question_toks": [
            "How",
            "many",
            "phones",
            "belongs",
            "to",
            "each",
            "accreditation",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "Accreditation_level",
            "FROM",
            "phone",
            "GROUP",
            "BY",
            "Accreditation_level",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "accreditation_level",
            "from",
            "phone",
            "group",
            "by",
            "accreditation_level",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the accreditation level that more than 3 phones use.",
        "question_toks": [
            "Find",
            "the",
            "accreditation",
            "level",
            "that",
            "more",
            "than",
            "3",
            "phones",
            "use",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT * FROM chip_model",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "chip_model"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "chip_model"
        ],
        "question": "Find the details for all chip models.",
        "question_toks": [
            "Find",
            "the",
            "details",
            "for",
            "all",
            "chip",
            "models",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT count(*) FROM chip_model WHERE wifi  =  'No'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "chip_model",
            "WHERE",
            "wifi",
            "=",
            "'No",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "chip_model",
            "where",
            "wifi",
            "=",
            "value"
        ],
        "question": "How many models do not have the wifi function?",
        "question_toks": [
            "How",
            "many",
            "models",
            "do",
            "not",
            "have",
            "the",
            "wifi",
            "function",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"No\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT count(*) FROM chip_model WHERE wifi  =  'No'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "chip_model",
            "WHERE",
            "wifi",
            "=",
            "'No",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "chip_model",
            "where",
            "wifi",
            "=",
            "value"
        ],
        "question": "Count the number of chip model that do not have wifi.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "chip",
            "model",
            "that",
            "do",
            "not",
            "have",
            "wifi",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"No\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT model_name FROM chip_model ORDER BY launch_year",
        "query_toks": [
            "SELECT",
            "model_name",
            "FROM",
            "chip_model",
            "ORDER",
            "BY",
            "launch_year"
        ],
        "query_toks_no_value": [
            "select",
            "model_name",
            "from",
            "chip_model",
            "order",
            "by",
            "launch_year"
        ],
        "question": "List all the model names sorted by their launch year.",
        "question_toks": [
            "List",
            "all",
            "the",
            "model",
            "names",
            "sorted",
            "by",
            "their",
            "launch",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT avg(RAM_MiB) FROM chip_model WHERE model_name NOT IN (SELECT chip_model FROM phone)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "RAM_MiB",
            ")",
            "FROM",
            "chip_model",
            "WHERE",
            "model_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "chip_model",
            "FROM",
            "phone",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "ram_mib",
            ")",
            "from",
            "chip_model",
            "where",
            "model_name",
            "not",
            "in",
            "(",
            "select",
            "chip_model",
            "from",
            "phone",
            ")"
        ],
        "question": "Find the average ram mib size of the chip models that are never used by any phone.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "ram",
            "mib",
            "size",
            "of",
            "the",
            "chip",
            "models",
            "that",
            "are",
            "never",
            "used",
            "by",
            "any",
            "phone",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            20,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT model_name FROM chip_model EXCEPT SELECT chip_model FROM phone WHERE Accreditation_type  =  'Full'",
        "query_toks": [
            "SELECT",
            "model_name",
            "FROM",
            "chip_model",
            "EXCEPT",
            "SELECT",
            "chip_model",
            "FROM",
            "phone",
            "WHERE",
            "Accreditation_type",
            "=",
            "'Full",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "model_name",
            "from",
            "chip_model",
            "except",
            "select",
            "chip_model",
            "from",
            "phone",
            "where",
            "accreditation_type",
            "=",
            "value"
        ],
        "question": "Find the names of the chip models that are not used by any phone with full accreditation type.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "chip",
            "models",
            "that",
            "are",
            "not",
            "used",
            "by",
            "any",
            "phone",
            "with",
            "full",
            "accreditation",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    20,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Full\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "phone_1",
        "query": "SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode  =  t2.screen_mode WHERE t2.Accreditation_type  =  'Provisional' INTERSECT SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode  =  t2.screen_mode WHERE t2.Accreditation_type  =  'Full'",
        "query_toks": [
            "SELECT",
            "t1.pixels",
            "FROM",
            "screen_mode",
            "AS",
            "t1",
            "JOIN",
            "phone",
            "AS",
            "t2",
            "ON",
            "t1.Graphics_mode",
            "=",
            "t2.screen_mode",
            "WHERE",
            "t2.Accreditation_type",
            "=",
            "'Provisional",
            "'",
            "INTERSECT",
            "SELECT",
            "t1.pixels",
            "FROM",
            "screen_mode",
            "AS",
            "t1",
            "JOIN",
            "phone",
            "AS",
            "t2",
            "ON",
            "t1.Graphics_mode",
            "=",
            "t2.screen_mode",
            "WHERE",
            "t2.Accreditation_type",
            "=",
            "'Full",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pixels",
            "from",
            "screen_mode",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "graphics_mode",
            "=",
            "t2",
            ".",
            "screen_mode",
            "where",
            "t2",
            ".",
            "accreditation_type",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "pixels",
            "from",
            "screen_mode",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "graphics_mode",
            "=",
            "t2",
            ".",
            "screen_mode",
            "where",
            "t2",
            ".",
            "accreditation_type",
            "=",
            "value"
        ],
        "question": "Find the pixels of the screen modes that are used by both phones with full accreditation types and phones with Provisional accreditation types.",
        "question_toks": [
            "Find",
            "the",
            "pixels",
            "of",
            "the",
            "screen",
            "modes",
            "that",
            "are",
            "used",
            "by",
            "both",
            "phones",
            "with",
            "full",
            "accreditation",
            "types",
            "and",
            "phones",
            "with",
            "Provisional",
            "accreditation",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Provisional\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Full\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT count(*) FROM country",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country"
        ],
        "question": "How many countries are there in total?",
        "question_toks": [
            "How",
            "many",
            "countries",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT count(*) FROM country",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country"
        ],
        "question": "Count the number of countries.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "countries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Country_name ,  Capital FROM country",
        "query_toks": [
            "SELECT",
            "Country_name",
            ",",
            "Capital",
            "FROM",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "country_name",
            ",",
            "capital",
            "from",
            "country"
        ],
        "question": "Show the country name and capital of all countries.",
        "question_toks": [
            "Show",
            "the",
            "country",
            "name",
            "and",
            "capital",
            "of",
            "all",
            "countries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Country_name ,  Capital FROM country",
        "query_toks": [
            "SELECT",
            "Country_name",
            ",",
            "Capital",
            "FROM",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "country_name",
            ",",
            "capital",
            "from",
            "country"
        ],
        "question": "What are the names and capitals of each country?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "capitals",
            "of",
            "each",
            "country",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Official_native_language FROM country WHERE Official_native_language LIKE \"%English%\"",
        "query_toks": [
            "SELECT",
            "Official_native_language",
            "FROM",
            "country",
            "WHERE",
            "Official_native_language",
            "LIKE",
            "``",
            "%",
            "English",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "official_native_language",
            "from",
            "country",
            "where",
            "official_native_language",
            "like",
            "value"
        ],
        "question": "Show all official native languages that contain the word \"English\".",
        "question_toks": [
            "Show",
            "all",
            "official",
            "native",
            "languages",
            "that",
            "contain",
            "the",
            "word",
            "``",
            "English",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"%English%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Official_native_language FROM country WHERE Official_native_language LIKE \"%English%\"",
        "query_toks": [
            "SELECT",
            "Official_native_language",
            "FROM",
            "country",
            "WHERE",
            "Official_native_language",
            "LIKE",
            "``",
            "%",
            "English",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "official_native_language",
            "from",
            "country",
            "where",
            "official_native_language",
            "like",
            "value"
        ],
        "question": "What are the official native languages that contain the string \"English\".",
        "question_toks": [
            "What",
            "are",
            "the",
            "official",
            "native",
            "languages",
            "that",
            "contain",
            "the",
            "string",
            "``",
            "English",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"%English%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT DISTINCT POSITION FROM match_season",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "POSITION",
            "FROM",
            "match_season"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "position",
            "from",
            "match_season"
        ],
        "question": "Show all distinct positions of matches.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "positions",
            "of",
            "matches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT DISTINCT POSITION FROM match_season",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "POSITION",
            "FROM",
            "match_season"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "position",
            "from",
            "match_season"
        ],
        "question": "What are the different positions for match season?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "positions",
            "for",
            "match",
            "season",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Player FROM match_season WHERE College  =  \"UCLA\"",
        "query_toks": [
            "SELECT",
            "Player",
            "FROM",
            "match_season",
            "WHERE",
            "College",
            "=",
            "``",
            "UCLA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "player",
            "from",
            "match_season",
            "where",
            "college",
            "=",
            "value"
        ],
        "question": "Show the players from college UCLA.",
        "question_toks": [
            "Show",
            "the",
            "players",
            "from",
            "college",
            "UCLA",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"UCLA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Player FROM match_season WHERE College  =  \"UCLA\"",
        "query_toks": [
            "SELECT",
            "Player",
            "FROM",
            "match_season",
            "WHERE",
            "College",
            "=",
            "``",
            "UCLA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "player",
            "from",
            "match_season",
            "where",
            "college",
            "=",
            "value"
        ],
        "question": "Who are the players from UCLA?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "players",
            "from",
            "UCLA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"UCLA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT DISTINCT POSITION FROM match_season WHERE College  =  \"UCLA\" OR College  =  \"Duke\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "POSITION",
            "FROM",
            "match_season",
            "WHERE",
            "College",
            "=",
            "``",
            "UCLA",
            "''",
            "OR",
            "College",
            "=",
            "``",
            "Duke",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "position",
            "from",
            "match_season",
            "where",
            "college",
            "=",
            "value",
            "or",
            "college",
            "=",
            "value"
        ],
        "question": "Show the distinct position of players from college UCLA or Duke.",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "position",
            "of",
            "players",
            "from",
            "college",
            "UCLA",
            "or",
            "Duke",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"UCLA\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Duke\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT DISTINCT POSITION FROM match_season WHERE College  =  \"UCLA\" OR College  =  \"Duke\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "POSITION",
            "FROM",
            "match_season",
            "WHERE",
            "College",
            "=",
            "``",
            "UCLA",
            "''",
            "OR",
            "College",
            "=",
            "``",
            "Duke",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "position",
            "from",
            "match_season",
            "where",
            "college",
            "=",
            "value",
            "or",
            "college",
            "=",
            "value"
        ],
        "question": "What are the different positions of players from UCLA or Duke colleges?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "positions",
            "of",
            "players",
            "from",
            "UCLA",
            "or",
            "Duke",
            "colleges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"UCLA\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Duke\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Draft_Pick_Number ,  Draft_Class FROM match_season WHERE POSITION  =  \"Defender\"",
        "query_toks": [
            "SELECT",
            "Draft_Pick_Number",
            ",",
            "Draft_Class",
            "FROM",
            "match_season",
            "WHERE",
            "POSITION",
            "=",
            "``",
            "Defender",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "draft_pick_number",
            ",",
            "draft_class",
            "from",
            "match_season",
            "where",
            "position",
            "=",
            "value"
        ],
        "question": "Show the draft pick numbers and draft classes of players whose positions are defenders.",
        "question_toks": [
            "Show",
            "the",
            "draft",
            "pick",
            "numbers",
            "and",
            "draft",
            "classes",
            "of",
            "players",
            "whose",
            "positions",
            "are",
            "defenders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Defender\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Draft_Pick_Number ,  Draft_Class FROM match_season WHERE POSITION  =  \"Defender\"",
        "query_toks": [
            "SELECT",
            "Draft_Pick_Number",
            ",",
            "Draft_Class",
            "FROM",
            "match_season",
            "WHERE",
            "POSITION",
            "=",
            "``",
            "Defender",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "draft_pick_number",
            ",",
            "draft_class",
            "from",
            "match_season",
            "where",
            "position",
            "=",
            "value"
        ],
        "question": "What are the draft pick numbers and draft classes for players who play the Defender position?",
        "question_toks": [
            "What",
            "are",
            "the",
            "draft",
            "pick",
            "numbers",
            "and",
            "draft",
            "classes",
            "for",
            "players",
            "who",
            "play",
            "the",
            "Defender",
            "position",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Defender\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT count(DISTINCT Team) FROM match_season",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Team",
            ")",
            "FROM",
            "match_season"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "team",
            ")",
            "from",
            "match_season"
        ],
        "question": "How many distinct teams are involved in match seasons?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "teams",
            "are",
            "involved",
            "in",
            "match",
            "seasons",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT count(DISTINCT Team) FROM match_season",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Team",
            ")",
            "FROM",
            "match_season"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "team",
            ")",
            "from",
            "match_season"
        ],
        "question": "Count the number of different teams involved in match season.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "teams",
            "involved",
            "in",
            "match",
            "season",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Player ,  Years_Played FROM player",
        "query_toks": [
            "SELECT",
            "Player",
            ",",
            "Years_Played",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "player",
            ",",
            "years_played",
            "from",
            "player"
        ],
        "question": "Show the players and the years played.",
        "question_toks": [
            "Show",
            "the",
            "players",
            "and",
            "the",
            "years",
            "played",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Player ,  Years_Played FROM player",
        "query_toks": [
            "SELECT",
            "Player",
            ",",
            "Years_Played",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "player",
            ",",
            "years_played",
            "from",
            "player"
        ],
        "question": "Who are the different players and how many years has each played?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "different",
            "players",
            "and",
            "how",
            "many",
            "years",
            "has",
            "each",
            "played",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Name FROM Team",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "Team"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "team"
        ],
        "question": "Show all team names.",
        "question_toks": [
            "Show",
            "all",
            "team",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Name FROM Team",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "Team"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "team"
        ],
        "question": "What are the names of all teams?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "teams",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T2.Season ,  T2.Player ,  T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country",
        "query_toks": [
            "SELECT",
            "T2.Season",
            ",",
            "T2.Player",
            ",",
            "T1.Country_name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "season",
            ",",
            "t2",
            ".",
            "player",
            ",",
            "t1",
            ".",
            "country_name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country"
        ],
        "question": "Show the season, the player, and the name of the country that player belongs to.",
        "question_toks": [
            "Show",
            "the",
            "season",
            ",",
            "the",
            "player",
            ",",
            "and",
            "the",
            "name",
            "of",
            "the",
            "country",
            "that",
            "player",
            "belongs",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T2.Season ,  T2.Player ,  T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country",
        "query_toks": [
            "SELECT",
            "T2.Season",
            ",",
            "T2.Player",
            ",",
            "T1.Country_name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "season",
            ",",
            "t2",
            ".",
            "player",
            ",",
            "t1",
            ".",
            "country_name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country"
        ],
        "question": "For each player, what are their name, season, and country that they belong to?",
        "question_toks": [
            "For",
            "each",
            "player",
            ",",
            "what",
            "are",
            "their",
            "name",
            ",",
            "season",
            ",",
            "and",
            "country",
            "that",
            "they",
            "belong",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T1.Country_name  =  \"Indonesia\"",
        "query_toks": [
            "SELECT",
            "T2.Player",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T1.Country_name",
            "=",
            "``",
            "Indonesia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "player",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t1",
            ".",
            "country_name",
            "=",
            "value"
        ],
        "question": "Which players are from Indonesia?",
        "question_toks": [
            "Which",
            "players",
            "are",
            "from",
            "Indonesia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Indonesia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T1.Country_name  =  \"Indonesia\"",
        "query_toks": [
            "SELECT",
            "T2.Player",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T1.Country_name",
            "=",
            "``",
            "Indonesia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "player",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t1",
            ".",
            "country_name",
            "=",
            "value"
        ],
        "question": "Who are the players from Indonesia?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "players",
            "from",
            "Indonesia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Indonesia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT DISTINCT T2.Position FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T1.Capital  =  \"Dublin\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Position",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T1.Capital",
            "=",
            "``",
            "Dublin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "position",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t1",
            ".",
            "capital",
            "=",
            "value"
        ],
        "question": "What are the distinct positions of the players from a country whose capital is Dublin?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "positions",
            "of",
            "the",
            "players",
            "from",
            "a",
            "country",
            "whose",
            "capital",
            "is",
            "Dublin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Dublin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT DISTINCT T2.Position FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T1.Capital  =  \"Dublin\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Position",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T1.Capital",
            "=",
            "``",
            "Dublin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "position",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t1",
            ".",
            "capital",
            "=",
            "value"
        ],
        "question": "Give the different positions of players who play for the country with the capital Dublin.",
        "question_toks": [
            "Give",
            "the",
            "different",
            "positions",
            "of",
            "players",
            "who",
            "play",
            "for",
            "the",
            "country",
            "with",
            "the",
            "capital",
            "Dublin",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Dublin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.College  =  \"Maryland\" OR T2.College  =  \"Duke\"",
        "query_toks": [
            "SELECT",
            "T1.Official_native_language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T2.College",
            "=",
            "``",
            "Maryland",
            "''",
            "OR",
            "T2.College",
            "=",
            "``",
            "Duke",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "official_native_language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t2",
            ".",
            "college",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "college",
            "=",
            "value"
        ],
        "question": "What are the official languages of the countries of players from Maryland or Duke college?",
        "question_toks": [
            "What",
            "are",
            "the",
            "official",
            "languages",
            "of",
            "the",
            "countries",
            "of",
            "players",
            "from",
            "Maryland",
            "or",
            "Duke",
            "college",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Maryland\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Duke\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.College  =  \"Maryland\" OR T2.College  =  \"Duke\"",
        "query_toks": [
            "SELECT",
            "T1.Official_native_language",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T2.College",
            "=",
            "``",
            "Maryland",
            "''",
            "OR",
            "T2.College",
            "=",
            "``",
            "Duke",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "official_native_language",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t2",
            ".",
            "college",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "college",
            "=",
            "value"
        ],
        "question": "Return the official native languages of countries who have players from Maryland or Duke colleges.",
        "question_toks": [
            "Return",
            "the",
            "official",
            "native",
            "languages",
            "of",
            "countries",
            "who",
            "have",
            "players",
            "from",
            "Maryland",
            "or",
            "Duke",
            "colleges",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Maryland\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Duke\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT count(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  \"Defender\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T1.Official_native_language",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T2.Position",
            "=",
            "``",
            "Defender",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "official_native_language",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "How many distinct official languages are there among countries of players whose positions are defenders.",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "official",
            "languages",
            "are",
            "there",
            "among",
            "countries",
            "of",
            "players",
            "whose",
            "positions",
            "are",
            "defenders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Defender\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT count(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  \"Defender\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T1.Official_native_language",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T2.Position",
            "=",
            "``",
            "Defender",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "official_native_language",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "Count the number of different official languages corresponding to countries that players who play Defender are from.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "official",
            "languages",
            "corresponding",
            "to",
            "countries",
            "that",
            "players",
            "who",
            "play",
            "Defender",
            "are",
            "from",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Defender\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Season ,  T1.Player ,  T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id",
        "query_toks": [
            "SELECT",
            "T1.Season",
            ",",
            "T1.Player",
            ",",
            "T2.Name",
            "FROM",
            "match_season",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.Team",
            "=",
            "T2.Team_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "season",
            ",",
            "t1",
            ".",
            "player",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "match_season",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team",
            "=",
            "t2",
            ".",
            "team_id"
        ],
        "question": "Show the season, the player, and the name of the team that players belong to.",
        "question_toks": [
            "Show",
            "the",
            "season",
            ",",
            "the",
            "player",
            ",",
            "and",
            "the",
            "name",
            "of",
            "the",
            "team",
            "that",
            "players",
            "belong",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Season ,  T1.Player ,  T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id",
        "query_toks": [
            "SELECT",
            "T1.Season",
            ",",
            "T1.Player",
            ",",
            "T2.Name",
            "FROM",
            "match_season",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.Team",
            "=",
            "T2.Team_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "season",
            ",",
            "t1",
            ".",
            "player",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "match_season",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team",
            "=",
            "t2",
            ".",
            "team_id"
        ],
        "question": "Who are the different players, what season do they play in, and what is the name of the team they are on?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "different",
            "players",
            ",",
            "what",
            "season",
            "do",
            "they",
            "play",
            "in",
            ",",
            "and",
            "what",
            "is",
            "the",
            "name",
            "of",
            "the",
            "team",
            "they",
            "are",
            "on",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  \"Ryley Goldner\"",
        "query_toks": [
            "SELECT",
            "T1.Position",
            "FROM",
            "match_season",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.Team",
            "=",
            "T2.Team_id",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Ryley",
            "Goldner",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "position",
            "from",
            "match_season",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team",
            "=",
            "t2",
            ".",
            "team_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show the positions of the players from the team with name \"Ryley Goldner\".",
        "question_toks": [
            "Show",
            "the",
            "positions",
            "of",
            "the",
            "players",
            "from",
            "the",
            "team",
            "with",
            "name",
            "``",
            "Ryley",
            "Goldner",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Ryley Goldner\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  \"Ryley Goldner\"",
        "query_toks": [
            "SELECT",
            "T1.Position",
            "FROM",
            "match_season",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.Team",
            "=",
            "T2.Team_id",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Ryley",
            "Goldner",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "position",
            "from",
            "match_season",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team",
            "=",
            "t2",
            ".",
            "team_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Return the positions of players on the team Ryley Goldner.",
        "question_toks": [
            "Return",
            "the",
            "positions",
            "of",
            "players",
            "on",
            "the",
            "team",
            "Ryley",
            "Goldner",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Ryley Goldner\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT count(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  \"Columbus Crew\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T1.College",
            ")",
            "FROM",
            "match_season",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.Team",
            "=",
            "T2.Team_id",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Columbus",
            "Crew",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "college",
            ")",
            "from",
            "match_season",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team",
            "=",
            "t2",
            ".",
            "team_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many distinct colleges are associated with players from the team with name \"Columbus Crew\".",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "colleges",
            "are",
            "associated",
            "with",
            "players",
            "from",
            "the",
            "team",
            "with",
            "name",
            "``",
            "Columbus",
            "Crew",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                14,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Columbus Crew\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT count(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  \"Columbus Crew\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T1.College",
            ")",
            "FROM",
            "match_season",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.Team",
            "=",
            "T2.Team_id",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Columbus",
            "Crew",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "college",
            ")",
            "from",
            "match_season",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team",
            "=",
            "t2",
            ".",
            "team_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Count the number of different colleges that players who play for Columbus Crew are from.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "colleges",
            "that",
            "players",
            "who",
            "play",
            "for",
            "Columbus",
            "Crew",
            "are",
            "from",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                14,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Columbus Crew\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Player , T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  \"Columbus Crew\"",
        "query_toks": [
            "SELECT",
            "T1.Player",
            ",",
            "T1.Years_Played",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.Team",
            "=",
            "T2.Team_id",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Columbus",
            "Crew",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "player",
            ",",
            "t1",
            ".",
            "years_played",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team",
            "=",
            "t2",
            ".",
            "team_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show the players and years played for players from team \"Columbus Crew\".",
        "question_toks": [
            "Show",
            "the",
            "players",
            "and",
            "years",
            "played",
            "for",
            "players",
            "from",
            "team",
            "``",
            "Columbus",
            "Crew",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Columbus Crew\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Player , T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team  =  T2.Team_id WHERE T2.Name  =  \"Columbus Crew\"",
        "query_toks": [
            "SELECT",
            "T1.Player",
            ",",
            "T1.Years_Played",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.Team",
            "=",
            "T2.Team_id",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Columbus",
            "Crew",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "player",
            ",",
            "t1",
            ".",
            "years_played",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team",
            "=",
            "t2",
            ".",
            "team_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the players who played for Columbus Crew, and how many years did each play for?",
        "question_toks": [
            "What",
            "are",
            "the",
            "players",
            "who",
            "played",
            "for",
            "Columbus",
            "Crew",
            ",",
            "and",
            "how",
            "many",
            "years",
            "did",
            "each",
            "play",
            "for",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Columbus Crew\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT POSITION ,  COUNT(*) FROM match_season GROUP BY POSITION",
        "query_toks": [
            "SELECT",
            "POSITION",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "POSITION"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "match_season",
            "group",
            "by",
            "position"
        ],
        "question": "Show the position of players and the corresponding number of players.",
        "question_toks": [
            "Show",
            "the",
            "position",
            "of",
            "players",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT POSITION ,  COUNT(*) FROM match_season GROUP BY POSITION",
        "query_toks": [
            "SELECT",
            "POSITION",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "POSITION"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "match_season",
            "group",
            "by",
            "position"
        ],
        "question": "How many players played each position?",
        "question_toks": [
            "How",
            "many",
            "players",
            "played",
            "each",
            "position",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Country_name ,  COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country GROUP BY T1.Country_name",
        "query_toks": [
            "SELECT",
            "Country_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "GROUP",
            "BY",
            "T1.Country_name"
        ],
        "query_toks_no_value": [
            "select",
            "country_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "group",
            "by",
            "t1",
            ".",
            "country_name"
        ],
        "question": "Show the country names and the corresponding number of players.",
        "question_toks": [
            "Show",
            "the",
            "country",
            "names",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Country_name ,  COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country GROUP BY T1.Country_name",
        "query_toks": [
            "SELECT",
            "Country_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "GROUP",
            "BY",
            "T1.Country_name"
        ],
        "query_toks_no_value": [
            "select",
            "country_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "group",
            "by",
            "t1",
            ".",
            "country_name"
        ],
        "question": "How many players are from each country?",
        "question_toks": [
            "How",
            "many",
            "players",
            "are",
            "from",
            "each",
            "country",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT player FROM match_season ORDER BY College ASC",
        "query_toks": [
            "SELECT",
            "player",
            "FROM",
            "match_season",
            "ORDER",
            "BY",
            "College",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "player",
            "from",
            "match_season",
            "order",
            "by",
            "college",
            "asc"
        ],
        "question": "Return all players sorted by college in ascending alphabetical order.",
        "question_toks": [
            "Return",
            "all",
            "players",
            "sorted",
            "by",
            "college",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT player FROM match_season ORDER BY College ASC",
        "query_toks": [
            "SELECT",
            "player",
            "FROM",
            "match_season",
            "ORDER",
            "BY",
            "College",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "player",
            "from",
            "match_season",
            "order",
            "by",
            "college",
            "asc"
        ],
        "question": "What are all the players who played in match season, sorted by college in ascending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "players",
            "who",
            "played",
            "in",
            "match",
            "season",
            ",",
            "sorted",
            "by",
            "college",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "POSITION",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "POSITION",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            "from",
            "match_season",
            "group",
            "by",
            "position",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common position of players in match seasons.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "position",
            "of",
            "players",
            "in",
            "match",
            "seasons",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "POSITION",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "POSITION",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            "from",
            "match_season",
            "group",
            "by",
            "position",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the position that is most common among players in match seasons?",
        "question_toks": [
            "What",
            "is",
            "the",
            "position",
            "that",
            "is",
            "most",
            "common",
            "among",
            "players",
            "in",
            "match",
            "seasons",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "College",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "match_season",
            "group",
            "by",
            "college",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the top 3 most common colleges of players in match seasons.",
        "question_toks": [
            "Show",
            "the",
            "top",
            "3",
            "most",
            "common",
            "colleges",
            "of",
            "players",
            "in",
            "match",
            "seasons",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "College",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "match_season",
            "group",
            "by",
            "college",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the three colleges from which the most players are from?",
        "question_toks": [
            "What",
            "are",
            "the",
            "three",
            "colleges",
            "from",
            "which",
            "the",
            "most",
            "players",
            "are",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "College",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "match_season",
            "group",
            "by",
            "college",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the name of colleges that have at least two players.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "colleges",
            "that",
            "have",
            "at",
            "least",
            "two",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "College",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "match_season",
            "group",
            "by",
            "college",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of all colleges that have two or more players?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "colleges",
            "that",
            "have",
            "two",
            "or",
            "more",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2 ORDER BY College DESC",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "College",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2",
            "ORDER",
            "BY",
            "College",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "match_season",
            "group",
            "by",
            "college",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "order",
            "by",
            "college",
            "desc"
        ],
        "question": "Show the name of colleges that have at least two players in descending alphabetical order.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "colleges",
            "that",
            "have",
            "at",
            "least",
            "two",
            "players",
            "in",
            "descending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2 ORDER BY College DESC",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "GROUP",
            "BY",
            "College",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2",
            "ORDER",
            "BY",
            "College",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "match_season",
            "group",
            "by",
            "college",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "order",
            "by",
            "college",
            "desc"
        ],
        "question": "What are the names of colleges that have two or more players, listed in descending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "colleges",
            "that",
            "have",
            "two",
            "or",
            "more",
            "players",
            ",",
            "listed",
            "in",
            "descending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Name FROM team WHERE Team_id NOT IN (SELECT Team FROM match_season)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "team",
            "WHERE",
            "Team_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Team",
            "FROM",
            "match_season",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "team",
            "where",
            "team_id",
            "not",
            "in",
            "(",
            "select",
            "team",
            "from",
            "match_season",
            ")"
        ],
        "question": "What are the names of teams that do no have match season record?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "teams",
            "that",
            "do",
            "no",
            "have",
            "match",
            "season",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT Name FROM team WHERE Team_id NOT IN (SELECT Team FROM match_season)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "team",
            "WHERE",
            "Team_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Team",
            "FROM",
            "match_season",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "team",
            "where",
            "team_id",
            "not",
            "in",
            "(",
            "select",
            "team",
            "from",
            "match_season",
            ")"
        ],
        "question": "Return the names of teams that have no match season record.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "teams",
            "that",
            "have",
            "no",
            "match",
            "season",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  \"Forward\" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  \"Defender\"",
        "query_toks": [
            "SELECT",
            "T1.Country_name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T2.Position",
            "=",
            "``",
            "Forward",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Country_name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T2.Position",
            "=",
            "``",
            "Defender",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country_name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "country_name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "What are the names of countries that have both players with position forward and players with position defender?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "countries",
            "that",
            "have",
            "both",
            "players",
            "with",
            "position",
            "forward",
            "and",
            "players",
            "with",
            "position",
            "defender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Forward\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Defender\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  \"Forward\" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  \"Defender\"",
        "query_toks": [
            "SELECT",
            "T1.Country_name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T2.Position",
            "=",
            "``",
            "Forward",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Country_name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "match_season",
            "AS",
            "T2",
            "ON",
            "T1.Country_id",
            "=",
            "T2.Country",
            "WHERE",
            "T2.Position",
            "=",
            "``",
            "Defender",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country_name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "country_name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "match_season",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "Return the names of countries that have players that play the Forward position, as well as players who play the Defender position.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "countries",
            "that",
            "have",
            "players",
            "that",
            "play",
            "the",
            "Forward",
            "position",
            ",",
            "as",
            "well",
            "as",
            "players",
            "who",
            "play",
            "the",
            "Defender",
            "position",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Forward\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Defender\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT College FROM match_season WHERE POSITION  =  \"Midfielder\" INTERSECT SELECT College FROM match_season WHERE POSITION  =  \"Defender\"",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "WHERE",
            "POSITION",
            "=",
            "``",
            "Midfielder",
            "''",
            "INTERSECT",
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "WHERE",
            "POSITION",
            "=",
            "``",
            "Defender",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "match_season",
            "where",
            "position",
            "=",
            "value",
            "intersect",
            "select",
            "college",
            "from",
            "match_season",
            "where",
            "position",
            "=",
            "value"
        ],
        "question": "Which college have both players with position midfielder and players with position defender?",
        "question_toks": [
            "Which",
            "college",
            "have",
            "both",
            "players",
            "with",
            "position",
            "midfielder",
            "and",
            "players",
            "with",
            "position",
            "defender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Midfielder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Defender\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "match_season",
        "query": "SELECT College FROM match_season WHERE POSITION  =  \"Midfielder\" INTERSECT SELECT College FROM match_season WHERE POSITION  =  \"Defender\"",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "WHERE",
            "POSITION",
            "=",
            "``",
            "Midfielder",
            "''",
            "INTERSECT",
            "SELECT",
            "College",
            "FROM",
            "match_season",
            "WHERE",
            "POSITION",
            "=",
            "``",
            "Defender",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "match_season",
            "where",
            "position",
            "=",
            "value",
            "intersect",
            "select",
            "college",
            "from",
            "match_season",
            "where",
            "position",
            "=",
            "value"
        ],
        "question": "Return the colleges that have players who play the Midfielder position, as well as players who play the Defender position.",
        "question_toks": [
            "Return",
            "the",
            "colleges",
            "that",
            "have",
            "players",
            "who",
            "play",
            "the",
            "Midfielder",
            "position",
            ",",
            "as",
            "well",
            "as",
            "players",
            "who",
            "play",
            "the",
            "Defender",
            "position",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Midfielder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Defender\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT count(*) FROM climber",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "climber"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "climber"
        ],
        "question": "How many climbers are there?",
        "question_toks": [
            "How",
            "many",
            "climbers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT count(*) FROM climber",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "climber"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "climber"
        ],
        "question": "Count the number of climbers.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "climbers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM climber ORDER BY Points DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "climber",
            "ORDER",
            "BY",
            "Points",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "climber",
            "order",
            "by",
            "points",
            "desc"
        ],
        "question": "List the names of climbers in descending order of points.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "climbers",
            "in",
            "descending",
            "order",
            "of",
            "points",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM climber ORDER BY Points DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "climber",
            "ORDER",
            "BY",
            "Points",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "climber",
            "order",
            "by",
            "points",
            "desc"
        ],
        "question": "What are the names of the climbers, ordered by points descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "climbers",
            ",",
            "ordered",
            "by",
            "points",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM climber WHERE Country != \"Switzerland\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "climber",
            "WHERE",
            "Country",
            "!",
            "=",
            "``",
            "Switzerland",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "climber",
            "where",
            "country",
            "!",
            "=",
            "value"
        ],
        "question": "List the names of climbers whose country is not Switzerland.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "climbers",
            "whose",
            "country",
            "is",
            "not",
            "Switzerland",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Switzerland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM climber WHERE Country != \"Switzerland\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "climber",
            "WHERE",
            "Country",
            "!",
            "=",
            "``",
            "Switzerland",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "climber",
            "where",
            "country",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of climbers who are not from the country of Switzerland?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "climbers",
            "who",
            "are",
            "not",
            "from",
            "the",
            "country",
            "of",
            "Switzerland",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Switzerland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT max(Points) FROM climber WHERE Country  =  \"United Kingdom\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Points",
            ")",
            "FROM",
            "climber",
            "WHERE",
            "Country",
            "=",
            "``",
            "United",
            "Kingdom",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "points",
            ")",
            "from",
            "climber",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What is the maximum point for climbers whose country is United Kingdom?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "point",
            "for",
            "climbers",
            "whose",
            "country",
            "is",
            "United",
            "Kingdom",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"United Kingdom\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT max(Points) FROM climber WHERE Country  =  \"United Kingdom\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Points",
            ")",
            "FROM",
            "climber",
            "WHERE",
            "Country",
            "=",
            "``",
            "United",
            "Kingdom",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "points",
            ")",
            "from",
            "climber",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "Return the maximum number of points for climbers from the United Kingdom.",
        "question_toks": [
            "Return",
            "the",
            "maximum",
            "number",
            "of",
            "points",
            "for",
            "climbers",
            "from",
            "the",
            "United",
            "Kingdom",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"United Kingdom\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT COUNT(DISTINCT Country) FROM climber",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Country",
            ")",
            "FROM",
            "climber"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "country",
            ")",
            "from",
            "climber"
        ],
        "question": "How many distinct countries are the climbers from?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "countries",
            "are",
            "the",
            "climbers",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT COUNT(DISTINCT Country) FROM climber",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Country",
            ")",
            "FROM",
            "climber"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "country",
            ")",
            "from",
            "climber"
        ],
        "question": "Count the number of different countries that climbers are from.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "countries",
            "that",
            "climbers",
            "are",
            "from",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM mountain ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "mountain",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mountain",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "What are the names of mountains in ascending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "mountains",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM mountain ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "mountain",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mountain",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "Give the names of mountains in alphabetical order.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "mountains",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Country FROM mountain WHERE Height  >  5000",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "mountain",
            "WHERE",
            "Height",
            ">",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "mountain",
            "where",
            "height",
            ">",
            "value"
        ],
        "question": "What are the countries of mountains with height bigger than 5000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "of",
            "mountains",
            "with",
            "height",
            "bigger",
            "than",
            "5000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Country FROM mountain WHERE Height  >  5000",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "mountain",
            "WHERE",
            "Height",
            ">",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "mountain",
            "where",
            "height",
            ">",
            "value"
        ],
        "question": "Return the countries of the mountains that have a height larger than 5000.",
        "question_toks": [
            "Return",
            "the",
            "countries",
            "of",
            "the",
            "mountains",
            "that",
            "have",
            "a",
            "height",
            "larger",
            "than",
            "5000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "mountain",
            "ORDER",
            "BY",
            "Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mountain",
            "order",
            "by",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the highest mountain?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "highest",
            "mountain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "mountain",
            "ORDER",
            "BY",
            "Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mountain",
            "order",
            "by",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name of the mountain with the greatest height.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "mountain",
            "with",
            "the",
            "greatest",
            "height",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Range",
            "FROM",
            "mountain",
            "ORDER",
            "BY",
            "Prominence",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "range",
            "from",
            "mountain",
            "order",
            "by",
            "prominence",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the distinct ranges of the mountains with the top 3 prominence.",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "ranges",
            "of",
            "the",
            "mountains",
            "with",
            "the",
            "top",
            "3",
            "prominence",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Range",
            "FROM",
            "mountain",
            "ORDER",
            "BY",
            "Prominence",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "range",
            "from",
            "mountain",
            "order",
            "by",
            "prominence",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the different ranges of the 3 mountains with the highest prominence?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "ranges",
            "of",
            "the",
            "3",
            "mountains",
            "with",
            "the",
            "highest",
            "prominence",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT T1.Name ,  T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Name",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id"
        ],
        "question": "Show names of climbers and the names of mountains they climb.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "climbers",
            "and",
            "the",
            "names",
            "of",
            "mountains",
            "they",
            "climb",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT T1.Name ,  T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Name",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id"
        ],
        "question": "What are the names of climbers and the corresponding names of mountains that they climb?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "climbers",
            "and",
            "the",
            "corresponding",
            "names",
            "of",
            "mountains",
            "that",
            "they",
            "climb",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT T1.Name ,  T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Height",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "height",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id"
        ],
        "question": "Show the names of climbers and the heights of mountains they climb.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "climbers",
            "and",
            "the",
            "heights",
            "of",
            "mountains",
            "they",
            "climb",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT T1.Name ,  T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Height",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "height",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id"
        ],
        "question": "What are the names of climbers and the corresponding heights of the mountains that they climb?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "climbers",
            "and",
            "the",
            "corresponding",
            "heights",
            "of",
            "the",
            "mountains",
            "that",
            "they",
            "climb",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Height",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID",
            "ORDER",
            "BY",
            "T1.Points",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "height",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "order",
            "by",
            "t1",
            ".",
            "points",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the height of the mountain climbed by the climber with the maximum points.",
        "question_toks": [
            "Show",
            "the",
            "height",
            "of",
            "the",
            "mountain",
            "climbed",
            "by",
            "the",
            "climber",
            "with",
            "the",
            "maximum",
            "points",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Height",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID",
            "ORDER",
            "BY",
            "T1.Points",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "height",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "order",
            "by",
            "t1",
            ".",
            "points",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the height of the mountain climbined by the climbing who had the most points?",
        "question_toks": [
            "What",
            "is",
            "the",
            "height",
            "of",
            "the",
            "mountain",
            "climbined",
            "by",
            "the",
            "climbing",
            "who",
            "had",
            "the",
            "most",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID WHERE T1.Country  =  \"West Germany\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Name",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID",
            "WHERE",
            "T1.Country",
            "=",
            "``",
            "West",
            "Germany",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "Show the distinct names of mountains climbed by climbers from country \"West Germany\".",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "names",
            "of",
            "mountains",
            "climbed",
            "by",
            "climbers",
            "from",
            "country",
            "``",
            "West",
            "Germany",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"West Germany\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID WHERE T1.Country  =  \"West Germany\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Name",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID",
            "WHERE",
            "T1.Country",
            "=",
            "``",
            "West",
            "Germany",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "What are the different names of mountains ascended by climbers from the country of West Germany?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "of",
            "mountains",
            "ascended",
            "by",
            "climbers",
            "from",
            "the",
            "country",
            "of",
            "West",
            "Germany",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"West Germany\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID WHERE T2.Country  =  \"Uganda\"",
        "query_toks": [
            "SELECT",
            "T1.Time",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID",
            "WHERE",
            "T2.Country",
            "=",
            "``",
            "Uganda",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "time",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "Show the times used by climbers to climb mountains in Country Uganda.",
        "question_toks": [
            "Show",
            "the",
            "times",
            "used",
            "by",
            "climbers",
            "to",
            "climb",
            "mountains",
            "in",
            "Country",
            "Uganda",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Uganda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID  =  T2.Mountain_ID WHERE T2.Country  =  \"Uganda\"",
        "query_toks": [
            "SELECT",
            "T1.Time",
            "FROM",
            "climber",
            "AS",
            "T1",
            "JOIN",
            "mountain",
            "AS",
            "T2",
            "ON",
            "T1.Mountain_ID",
            "=",
            "T2.Mountain_ID",
            "WHERE",
            "T2.Country",
            "=",
            "``",
            "Uganda",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "time",
            "from",
            "climber",
            "as",
            "t1",
            "join",
            "mountain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mountain_id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "What are the times used by climbers who climbed mountains in the country of Uganda?",
        "question_toks": [
            "What",
            "are",
            "the",
            "times",
            "used",
            "by",
            "climbers",
            "who",
            "climbed",
            "mountains",
            "in",
            "the",
            "country",
            "of",
            "Uganda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Uganda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Country ,  COUNT(*) FROM climber GROUP BY Country",
        "query_toks": [
            "SELECT",
            "Country",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "climber",
            "GROUP",
            "BY",
            "Country"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "climber",
            "group",
            "by",
            "country"
        ],
        "question": "Please show the countries and the number of climbers from each country.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "countries",
            "and",
            "the",
            "number",
            "of",
            "climbers",
            "from",
            "each",
            "country",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Country ,  COUNT(*) FROM climber GROUP BY Country",
        "query_toks": [
            "SELECT",
            "Country",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "climber",
            "GROUP",
            "BY",
            "Country"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "climber",
            "group",
            "by",
            "country"
        ],
        "question": "How many climbers are from each country?",
        "question_toks": [
            "How",
            "many",
            "climbers",
            "are",
            "from",
            "each",
            "country",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "mountain",
            "GROUP",
            "BY",
            "Country",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "mountain",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the countries that have more than one mountain.",
        "question_toks": [
            "List",
            "the",
            "countries",
            "that",
            "have",
            "more",
            "than",
            "one",
            "mountain",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "mountain",
            "GROUP",
            "BY",
            "Country",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "mountain",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which countries have more than one mountain?",
        "question_toks": [
            "Which",
            "countries",
            "have",
            "more",
            "than",
            "one",
            "mountain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "mountain",
            "WHERE",
            "Mountain_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Mountain_ID",
            "FROM",
            "climber",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mountain",
            "where",
            "mountain_id",
            "not",
            "in",
            "(",
            "select",
            "mountain_id",
            "from",
            "climber",
            ")"
        ],
        "question": "List the names of mountains that do not have any climber.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "mountains",
            "that",
            "do",
            "not",
            "have",
            "any",
            "climber",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "mountain",
            "WHERE",
            "Mountain_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Mountain_ID",
            "FROM",
            "climber",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mountain",
            "where",
            "mountain_id",
            "not",
            "in",
            "(",
            "select",
            "mountain_id",
            "from",
            "climber",
            ")"
        ],
        "question": "What are the names of countains that no climber has climbed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "countains",
            "that",
            "no",
            "climber",
            "has",
            "climbed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Country FROM mountain WHERE Height  >  5600 INTERSECT SELECT Country FROM mountain WHERE Height  <  5200",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "mountain",
            "WHERE",
            "Height",
            ">",
            "5600",
            "INTERSECT",
            "SELECT",
            "Country",
            "FROM",
            "mountain",
            "WHERE",
            "Height",
            "<",
            "5200"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "mountain",
            "where",
            "height",
            ">",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "mountain",
            "where",
            "height",
            "<",
            "value"
        ],
        "question": "Show the countries that have mountains with height more than 5600 stories and mountains with height less than 5200.",
        "question_toks": [
            "Show",
            "the",
            "countries",
            "that",
            "have",
            "mountains",
            "with",
            "height",
            "more",
            "than",
            "5600",
            "stories",
            "and",
            "mountains",
            "with",
            "height",
            "less",
            "than",
            "5200",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        5200.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Country FROM mountain WHERE Height  >  5600 INTERSECT SELECT Country FROM mountain WHERE Height  <  5200",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "mountain",
            "WHERE",
            "Height",
            ">",
            "5600",
            "INTERSECT",
            "SELECT",
            "Country",
            "FROM",
            "mountain",
            "WHERE",
            "Height",
            "<",
            "5200"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "mountain",
            "where",
            "height",
            ">",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "mountain",
            "where",
            "height",
            "<",
            "value"
        ],
        "question": "What are the countries that have both mountains that are higher than 5600 and lower than 5200?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "that",
            "have",
            "both",
            "mountains",
            "that",
            "are",
            "higher",
            "than",
            "5600",
            "and",
            "lower",
            "than",
            "5200",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        5200.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Range",
            "FROM",
            "mountain",
            "GROUP",
            "BY",
            "Range",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "range",
            "from",
            "mountain",
            "group",
            "by",
            "range",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the range that has the most number of mountains.",
        "question_toks": [
            "Show",
            "the",
            "range",
            "that",
            "has",
            "the",
            "most",
            "number",
            "of",
            "mountains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Range",
            "FROM",
            "mountain",
            "GROUP",
            "BY",
            "Range",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "range",
            "from",
            "mountain",
            "group",
            "by",
            "range",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which range contains the most mountains?",
        "question_toks": [
            "Which",
            "range",
            "contains",
            "the",
            "most",
            "mountains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM mountain WHERE Height  >  5000 OR Prominence  >  1000",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "mountain",
            "WHERE",
            "Height",
            ">",
            "5000",
            "OR",
            "Prominence",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mountain",
            "where",
            "height",
            ">",
            "value",
            "or",
            "prominence",
            ">",
            "value"
        ],
        "question": "Show the names of mountains with height more than 5000 or prominence more than 1000.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "mountains",
            "with",
            "height",
            "more",
            "than",
            "5000",
            "or",
            "prominence",
            "more",
            "than",
            "1000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "climbing",
        "query": "SELECT Name FROM mountain WHERE Height  >  5000 OR Prominence  >  1000",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "mountain",
            "WHERE",
            "Height",
            ">",
            "5000",
            "OR",
            "Prominence",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mountain",
            "where",
            "height",
            ">",
            "value",
            "or",
            "prominence",
            ">",
            "value"
        ],
        "question": "What are the names of mountains that have a height of over 5000 or a prominence of over 1000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "mountains",
            "that",
            "have",
            "a",
            "height",
            "of",
            "over",
            "5000",
            "or",
            "a",
            "prominence",
            "of",
            "over",
            "1000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT count(*) FROM body_builder",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "body_builder"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "body_builder"
        ],
        "question": "How many body builders are there?",
        "question_toks": [
            "How",
            "many",
            "body",
            "builders",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Total FROM body_builder ORDER BY Total ASC",
        "query_toks": [
            "SELECT",
            "Total",
            "FROM",
            "body_builder",
            "ORDER",
            "BY",
            "Total",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "total",
            "from",
            "body_builder",
            "order",
            "by",
            "total",
            "asc"
        ],
        "question": "List the total scores of body builders in ascending order.",
        "question_toks": [
            "List",
            "the",
            "total",
            "scores",
            "of",
            "body",
            "builders",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Snatch ,  Clean_Jerk FROM body_builder ORDER BY Snatch ASC",
        "query_toks": [
            "SELECT",
            "Snatch",
            ",",
            "Clean_Jerk",
            "FROM",
            "body_builder",
            "ORDER",
            "BY",
            "Snatch",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "snatch",
            ",",
            "clean_jerk",
            "from",
            "body_builder",
            "order",
            "by",
            "snatch",
            "asc"
        ],
        "question": "List the snatch score and clean jerk score of body builders in ascending order of snatch score.",
        "question_toks": [
            "List",
            "the",
            "snatch",
            "score",
            "and",
            "clean",
            "jerk",
            "score",
            "of",
            "body",
            "builders",
            "in",
            "ascending",
            "order",
            "of",
            "snatch",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT avg(Snatch) FROM body_builder",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Snatch",
            ")",
            "FROM",
            "body_builder"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "snatch",
            ")",
            "from",
            "body_builder"
        ],
        "question": "What is the average snatch score of body builders?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "snatch",
            "score",
            "of",
            "body",
            "builders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Clean_Jerk",
            "FROM",
            "body_builder",
            "ORDER",
            "BY",
            "Total",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "clean_jerk",
            "from",
            "body_builder",
            "order",
            "by",
            "total",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the clean and jerk score of the body builder with the highest total score?",
        "question_toks": [
            "What",
            "are",
            "the",
            "clean",
            "and",
            "jerk",
            "score",
            "of",
            "the",
            "body",
            "builder",
            "with",
            "the",
            "highest",
            "total",
            "score",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Birth_Date FROM People ORDER BY Height ASC",
        "query_toks": [
            "SELECT",
            "Birth_Date",
            "FROM",
            "People",
            "ORDER",
            "BY",
            "Height",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "birth_date",
            "from",
            "people",
            "order",
            "by",
            "height",
            "asc"
        ],
        "question": "What are the birthdays of people in ascending order of height?",
        "question_toks": [
            "What",
            "are",
            "the",
            "birthdays",
            "of",
            "people",
            "in",
            "ascending",
            "order",
            "of",
            "height",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "What are the names of body builders?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "body",
            "builders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Total  >  300",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Total",
            ">",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "total",
            ">",
            "value"
        ],
        "question": "What are the names of body builders whose total score is higher than 300?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "body",
            "builders",
            "whose",
            "total",
            "score",
            "is",
            "higher",
            "than",
            "300",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Weight DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Weight",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "weight",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the body builder with the greatest body weight?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "body",
            "builder",
            "with",
            "the",
            "greatest",
            "body",
            "weight",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT T2.Birth_Date ,  T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Total DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Birth_Date",
            ",",
            "T2.Birth_Place",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Total",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "birth_date",
            ",",
            "t2",
            ".",
            "birth_place",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "total",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the birth date and birth place of the body builder with the highest total points?",
        "question_toks": [
            "What",
            "are",
            "the",
            "birth",
            "date",
            "and",
            "birth",
            "place",
            "of",
            "the",
            "body",
            "builder",
            "with",
            "the",
            "highest",
            "total",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Total  <  315",
        "query_toks": [
            "SELECT",
            "T2.Height",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Total",
            "<",
            "315"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "height",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "total",
            "<",
            "value"
        ],
        "question": "What are the heights of body builders with total score smaller than 315?",
        "question_toks": [
            "What",
            "are",
            "the",
            "heights",
            "of",
            "body",
            "builders",
            "with",
            "total",
            "score",
            "smaller",
            "than",
            "315",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    315.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT avg(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Height  >  200",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Total",
            ")",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T2.Height",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "total",
            ")",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "height",
            ">",
            "value"
        ],
        "question": "What is the average total score of body builders with height bigger than 200?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "total",
            "score",
            "of",
            "body",
            "builders",
            "with",
            "height",
            "bigger",
            "than",
            "200",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Total DESC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Total",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "total",
            "desc"
        ],
        "question": "What are the names of body builders in descending order of total scores?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "body",
            "builders",
            "in",
            "descending",
            "order",
            "of",
            "total",
            "scores",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Birth_Place ,  COUNT(*) FROM people GROUP BY Birth_Place",
        "query_toks": [
            "SELECT",
            "Birth_Place",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "Birth_Place"
        ],
        "query_toks_no_value": [
            "select",
            "birth_place",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "people",
            "group",
            "by",
            "birth_place"
        ],
        "question": "List each birth place along with the number of people from there.",
        "question_toks": [
            "List",
            "each",
            "birth",
            "place",
            "along",
            "with",
            "the",
            "number",
            "of",
            "people",
            "from",
            "there",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Birth_Place",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "Birth_Place",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "birth_place",
            "from",
            "people",
            "group",
            "by",
            "birth_place",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common birth place of people?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "birth",
            "place",
            "of",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Birth_Place FROM people GROUP BY Birth_Place HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Birth_Place",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "Birth_Place",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "birth_place",
            "from",
            "people",
            "group",
            "by",
            "birth_place",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the birth places that are shared by at least two people?",
        "question_toks": [
            "What",
            "are",
            "the",
            "birth",
            "places",
            "that",
            "are",
            "shared",
            "by",
            "at",
            "least",
            "two",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Height ,  Weight FROM people ORDER BY Height DESC",
        "query_toks": [
            "SELECT",
            "Height",
            ",",
            "Weight",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "Height",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "height",
            ",",
            "weight",
            "from",
            "people",
            "order",
            "by",
            "height",
            "desc"
        ],
        "question": "List the height and weight of people in descending order of height.",
        "question_toks": [
            "List",
            "the",
            "height",
            "and",
            "weight",
            "of",
            "people",
            "in",
            "descending",
            "order",
            "of",
            "height",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT * FROM body_builder",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "body_builder"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "body_builder"
        ],
        "question": "Show all information about each body builder.",
        "question_toks": [
            "Show",
            "all",
            "information",
            "about",
            "each",
            "body",
            "builder",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT Name ,  birth_place FROM people EXCEPT SELECT T1.Name ,  T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id  =  T2.people_id",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "birth_place",
            "FROM",
            "people",
            "EXCEPT",
            "SELECT",
            "T1.Name",
            ",",
            "T1.birth_place",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "body_builder",
            "AS",
            "T2",
            "ON",
            "T1.people_id",
            "=",
            "T2.people_id"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "birth_place",
            "from",
            "people",
            "except",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "birth_place",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "body_builder",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "List the names and origins of people who are not body builders.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "origins",
            "of",
            "people",
            "who",
            "are",
            "not",
            "body",
            "builders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT count(DISTINCT Birth_Place) FROM people",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Birth_Place",
            ")",
            "FROM",
            "people"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "birth_place",
            ")",
            "from",
            "people"
        ],
        "question": "How many distinct birth places are there?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "birth",
            "places",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT count(*) FROM people WHERE people_id NOT IN (SELECT People_ID FROM body_builder)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "people",
            "WHERE",
            "people_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "People_ID",
            "FROM",
            "body_builder",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "people",
            "where",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "people_id",
            "from",
            "body_builder",
            ")"
        ],
        "question": "How many persons are not body builders?",
        "question_toks": [
            "How",
            "many",
            "persons",
            "are",
            "not",
            "body",
            "builders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT T2.weight FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id  =  T2.people_id WHERE T1.snatch  >  140 OR T2.height  >  200;",
        "query_toks": [
            "SELECT",
            "T2.weight",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.people_id",
            "=",
            "T2.people_id",
            "WHERE",
            "T1.snatch",
            ">",
            "140",
            "OR",
            "T2.height",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "weight",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "snatch",
            ">",
            "value",
            "or",
            "t2",
            ".",
            "height",
            ">",
            "value"
        ],
        "question": "List the weight of the body builders who have snatch score higher than 140 or have the height greater than 200.",
        "question_toks": [
            "List",
            "the",
            "weight",
            "of",
            "the",
            "body",
            "builders",
            "who",
            "have",
            "snatch",
            "score",
            "higher",
            "than",
            "140",
            "or",
            "have",
            "the",
            "height",
            "greater",
            "than",
            "200",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    140.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id  =  T2.people_id WHERE T2.Birth_Date LIKE \"%January%\";",
        "query_toks": [
            "SELECT",
            "T1.total",
            "FROM",
            "body_builder",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.people_id",
            "=",
            "T2.people_id",
            "WHERE",
            "T2.Birth_Date",
            "LIKE",
            "``",
            "%",
            "January",
            "%",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "total",
            "from",
            "body_builder",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "birth_date",
            "like",
            "value"
        ],
        "question": "What are the total scores of the body builders whose birthday contains the string \"January\" ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "scores",
            "of",
            "the",
            "body",
            "builders",
            "whose",
            "birthday",
            "contains",
            "the",
            "string",
            "``",
            "January",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"%January%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "body_builder",
        "query": "SELECT min(snatch) FROM body_builder",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "snatch",
            ")",
            "FROM",
            "body_builder"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "snatch",
            ")",
            "from",
            "body_builder"
        ],
        "question": "What is the minimum snatch score?",
        "question_toks": [
            "What",
            "is",
            "the",
            "minimum",
            "snatch",
            "score",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT count(*) FROM election",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "election"
        ],
        "question": "How many elections are there?",
        "question_toks": [
            "How",
            "many",
            "elections",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Votes FROM election ORDER BY Votes DESC",
        "query_toks": [
            "SELECT",
            "Votes",
            "FROM",
            "election",
            "ORDER",
            "BY",
            "Votes",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "votes",
            "from",
            "election",
            "order",
            "by",
            "votes",
            "desc"
        ],
        "question": "List the votes of elections in descending order.",
        "question_toks": [
            "List",
            "the",
            "votes",
            "of",
            "elections",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Date ,  Vote_Percent FROM election",
        "query_toks": [
            "SELECT",
            "Date",
            ",",
            "Vote_Percent",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "vote_percent",
            "from",
            "election"
        ],
        "question": "List the dates and vote percents of elections.",
        "question_toks": [
            "List",
            "the",
            "dates",
            "and",
            "vote",
            "percents",
            "of",
            "elections",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT min(Vote_Percent) ,  max(Vote_Percent) FROM election",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "Vote_Percent",
            ")",
            ",",
            "max",
            "(",
            "Vote_Percent",
            ")",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "vote_percent",
            ")",
            ",",
            "max",
            "(",
            "vote_percent",
            ")",
            "from",
            "election"
        ],
        "question": "What are the minimum and maximum vote percents of elections?",
        "question_toks": [
            "What",
            "are",
            "the",
            "minimum",
            "and",
            "maximum",
            "vote",
            "percents",
            "of",
            "elections",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Name ,  Party FROM representative",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Party",
            "FROM",
            "representative"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "party",
            "from",
            "representative"
        ],
        "question": "What are the names and parties of representatives?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "parties",
            "of",
            "representatives",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Name FROM Representative WHERE Party != \"Republican\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "Representative",
            "WHERE",
            "Party",
            "!",
            "=",
            "``",
            "Republican",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "representative",
            "where",
            "party",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of representatives whose party is not \"Republican\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "representatives",
            "whose",
            "party",
            "is",
            "not",
            "``",
            "Republican",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Republican\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Lifespan FROM representative WHERE State  =  \"New York\" OR State  =  \"Indiana\"",
        "query_toks": [
            "SELECT",
            "Lifespan",
            "FROM",
            "representative",
            "WHERE",
            "State",
            "=",
            "``",
            "New",
            "York",
            "''",
            "OR",
            "State",
            "=",
            "``",
            "Indiana",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "lifespan",
            "from",
            "representative",
            "where",
            "state",
            "=",
            "value",
            "or",
            "state",
            "=",
            "value"
        ],
        "question": "What are the life spans of representatives from New York state or Indiana state?",
        "question_toks": [
            "What",
            "are",
            "the",
            "life",
            "spans",
            "of",
            "representatives",
            "from",
            "New",
            "York",
            "state",
            "or",
            "Indiana",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"New York\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Indiana\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT T2.Name ,  T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID  =  T2.Representative_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Date",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "representative",
            "AS",
            "T2",
            "ON",
            "T1.Representative_ID",
            "=",
            "T2.Representative_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "date",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "representative",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "representative_id",
            "=",
            "t2",
            ".",
            "representative_id"
        ],
        "question": "What are the names of representatives and the dates of elections they participated in.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "representatives",
            "and",
            "the",
            "dates",
            "of",
            "elections",
            "they",
            "participated",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID  =  T2.Representative_ID WHERE Votes  >  10000",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "representative",
            "AS",
            "T2",
            "ON",
            "T1.Representative_ID",
            "=",
            "T2.Representative_ID",
            "WHERE",
            "Votes",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "representative",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "representative_id",
            "=",
            "t2",
            ".",
            "representative_id",
            "where",
            "votes",
            ">",
            "value"
        ],
        "question": "What are the names of representatives with more than 10000 votes in election?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "representatives",
            "with",
            "more",
            "than",
            "10000",
            "votes",
            "in",
            "election",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID  =  T2.Representative_ID ORDER BY votes DESC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "representative",
            "AS",
            "T2",
            "ON",
            "T1.Representative_ID",
            "=",
            "T2.Representative_ID",
            "ORDER",
            "BY",
            "votes",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "representative",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "representative_id",
            "=",
            "t2",
            ".",
            "representative_id",
            "order",
            "by",
            "votes",
            "desc"
        ],
        "question": "What are the names of representatives in descending order of votes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "representatives",
            "in",
            "descending",
            "order",
            "of",
            "votes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID  =  T2.Representative_ID ORDER BY votes ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "representative",
            "AS",
            "T2",
            "ON",
            "T1.Representative_ID",
            "=",
            "T2.Representative_ID",
            "ORDER",
            "BY",
            "votes",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "representative",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "representative_id",
            "=",
            "t2",
            ".",
            "representative_id",
            "order",
            "by",
            "votes",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the party of the representative that has the smallest number of votes.",
        "question_toks": [
            "What",
            "is",
            "the",
            "party",
            "of",
            "the",
            "representative",
            "that",
            "has",
            "the",
            "smallest",
            "number",
            "of",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT T2.Lifespan FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID  =  T2.Representative_ID ORDER BY Vote_Percent DESC",
        "query_toks": [
            "SELECT",
            "T2.Lifespan",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "representative",
            "AS",
            "T2",
            "ON",
            "T1.Representative_ID",
            "=",
            "T2.Representative_ID",
            "ORDER",
            "BY",
            "Vote_Percent",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lifespan",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "representative",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "representative_id",
            "=",
            "t2",
            ".",
            "representative_id",
            "order",
            "by",
            "vote_percent",
            "desc"
        ],
        "question": "What are the lifespans of representatives in descending order of vote percent?",
        "question_toks": [
            "What",
            "are",
            "the",
            "lifespans",
            "of",
            "representatives",
            "in",
            "descending",
            "order",
            "of",
            "vote",
            "percent",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT avg(T1.Votes) FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID  =  T2.Representative_ID WHERE T2.Party  =  \"Republican\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Votes",
            ")",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "representative",
            "AS",
            "T2",
            "ON",
            "T1.Representative_ID",
            "=",
            "T2.Representative_ID",
            "WHERE",
            "T2.Party",
            "=",
            "``",
            "Republican",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "votes",
            ")",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "representative",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "representative_id",
            "=",
            "t2",
            ".",
            "representative_id",
            "where",
            "t2",
            ".",
            "party",
            "=",
            "value"
        ],
        "question": "What is the average number of votes of representatives from party \"Republican\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "votes",
            "of",
            "representatives",
            "from",
            "party",
            "``",
            "Republican",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Republican\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Party ,  COUNT(*) FROM representative GROUP BY Party",
        "query_toks": [
            "SELECT",
            "Party",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "representative",
            "GROUP",
            "BY",
            "Party"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "representative",
            "group",
            "by",
            "party"
        ],
        "question": "What are the different parties of representative? Show the party name and the number of representatives in each party.",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "parties",
            "of",
            "representative",
            "?",
            "Show",
            "the",
            "party",
            "name",
            "and",
            "the",
            "number",
            "of",
            "representatives",
            "in",
            "each",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Party ,  COUNT(*) FROM representative GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Party",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "representative",
            "GROUP",
            "BY",
            "Party",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "representative",
            "group",
            "by",
            "party",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the party that has the largest number of representatives?",
        "question_toks": [
            "What",
            "is",
            "the",
            "party",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "representatives",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Party FROM representative GROUP BY Party HAVING COUNT(*)  >=  3",
        "query_toks": [
            "SELECT",
            "Party",
            "FROM",
            "representative",
            "GROUP",
            "BY",
            "Party",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "representative",
            "group",
            "by",
            "party",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What parties have at least three representatives?",
        "question_toks": [
            "What",
            "parties",
            "have",
            "at",
            "least",
            "three",
            "representatives",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT State FROM representative GROUP BY State HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "State",
            "FROM",
            "representative",
            "GROUP",
            "BY",
            "State",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            "from",
            "representative",
            "group",
            "by",
            "state",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What states have at least two representatives?",
        "question_toks": [
            "What",
            "states",
            "have",
            "at",
            "least",
            "two",
            "representatives",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Name FROM representative WHERE Representative_ID NOT IN (SELECT Representative_ID FROM election)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "representative",
            "WHERE",
            "Representative_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Representative_ID",
            "FROM",
            "election",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "representative",
            "where",
            "representative_id",
            "not",
            "in",
            "(",
            "select",
            "representative_id",
            "from",
            "election",
            ")"
        ],
        "question": "List the names of representatives that have not participated in elections listed here.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "representatives",
            "that",
            "have",
            "not",
            "participated",
            "in",
            "elections",
            "listed",
            "here",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT Party FROM representative WHERE State  =  \"New York\" INTERSECT SELECT Party FROM representative WHERE State  =  \"Pennsylvania\"",
        "query_toks": [
            "SELECT",
            "Party",
            "FROM",
            "representative",
            "WHERE",
            "State",
            "=",
            "``",
            "New",
            "York",
            "''",
            "INTERSECT",
            "SELECT",
            "Party",
            "FROM",
            "representative",
            "WHERE",
            "State",
            "=",
            "``",
            "Pennsylvania",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "representative",
            "where",
            "state",
            "=",
            "value",
            "intersect",
            "select",
            "party",
            "from",
            "representative",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "Show the parties that have both representatives in New York state and representatives in Pennsylvania state.",
        "question_toks": [
            "Show",
            "the",
            "parties",
            "that",
            "have",
            "both",
            "representatives",
            "in",
            "New",
            "York",
            "state",
            "and",
            "representatives",
            "in",
            "Pennsylvania",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"New York\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Pennsylvania\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election_representative",
        "query": "SELECT count(DISTINCT Party) FROM representative",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Party",
            ")",
            "FROM",
            "representative"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "party",
            ")",
            "from",
            "representative"
        ],
        "question": "How many distinct parties are there for representatives?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "parties",
            "are",
            "there",
            "for",
            "representatives",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT count(*) FROM Apartment_Bookings",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Apartment_Bookings"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "apartment_bookings"
        ],
        "question": "How many apartment bookings are there in total?",
        "question_toks": [
            "How",
            "many",
            "apartment",
            "bookings",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT count(*) FROM Apartment_Bookings",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Apartment_Bookings"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "apartment_bookings"
        ],
        "question": "Count the total number of apartment bookings.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "apartment",
            "bookings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT booking_start_date ,  booking_end_date FROM Apartment_Bookings",
        "query_toks": [
            "SELECT",
            "booking_start_date",
            ",",
            "booking_end_date",
            "FROM",
            "Apartment_Bookings"
        ],
        "query_toks_no_value": [
            "select",
            "booking_start_date",
            ",",
            "booking_end_date",
            "from",
            "apartment_bookings"
        ],
        "question": "Show the start dates and end dates of all the apartment bookings.",
        "question_toks": [
            "Show",
            "the",
            "start",
            "dates",
            "and",
            "end",
            "dates",
            "of",
            "all",
            "the",
            "apartment",
            "bookings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT booking_start_date ,  booking_end_date FROM Apartment_Bookings",
        "query_toks": [
            "SELECT",
            "booking_start_date",
            ",",
            "booking_end_date",
            "FROM",
            "Apartment_Bookings"
        ],
        "query_toks_no_value": [
            "select",
            "booking_start_date",
            ",",
            "booking_end_date",
            "from",
            "apartment_bookings"
        ],
        "question": "What are the start date and end date of each apartment booking?",
        "question_toks": [
            "What",
            "are",
            "the",
            "start",
            "date",
            "and",
            "end",
            "date",
            "of",
            "each",
            "apartment",
            "booking",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT DISTINCT building_description FROM Apartment_Buildings",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "building_description",
            "FROM",
            "Apartment_Buildings"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "building_description",
            "from",
            "apartment_buildings"
        ],
        "question": "Show all distinct building descriptions.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "building",
            "descriptions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT DISTINCT building_description FROM Apartment_Buildings",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "building_description",
            "FROM",
            "Apartment_Buildings"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "building_description",
            "from",
            "apartment_buildings"
        ],
        "question": "Give me a list of all the distinct building descriptions.",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "all",
            "the",
            "distinct",
            "building",
            "descriptions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT building_short_name FROM Apartment_Buildings WHERE building_manager\t =  \"Emma\"",
        "query_toks": [
            "SELECT",
            "building_short_name",
            "FROM",
            "Apartment_Buildings",
            "WHERE",
            "building_manager",
            "=",
            "``",
            "Emma",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "building_short_name",
            "from",
            "apartment_buildings",
            "where",
            "building_manager",
            "=",
            "value"
        ],
        "question": "Show the short names of the buildings managed by \"Emma\".",
        "question_toks": [
            "Show",
            "the",
            "short",
            "names",
            "of",
            "the",
            "buildings",
            "managed",
            "by",
            "``",
            "Emma",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Emma\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT building_short_name FROM Apartment_Buildings WHERE building_manager\t =  \"Emma\"",
        "query_toks": [
            "SELECT",
            "building_short_name",
            "FROM",
            "Apartment_Buildings",
            "WHERE",
            "building_manager",
            "=",
            "``",
            "Emma",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "building_short_name",
            "from",
            "apartment_buildings",
            "where",
            "building_manager",
            "=",
            "value"
        ],
        "question": "Which buildings does \"Emma\" manage? Give me the short names of the buildings.",
        "question_toks": [
            "Which",
            "buildings",
            "does",
            "``",
            "Emma",
            "''",
            "manage",
            "?",
            "Give",
            "me",
            "the",
            "short",
            "names",
            "of",
            "the",
            "buildings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Emma\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT building_address ,  building_phone FROM Apartment_Buildings WHERE building_manager\t =  \"Brenden\"",
        "query_toks": [
            "SELECT",
            "building_address",
            ",",
            "building_phone",
            "FROM",
            "Apartment_Buildings",
            "WHERE",
            "building_manager",
            "=",
            "``",
            "Brenden",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "building_address",
            ",",
            "building_phone",
            "from",
            "apartment_buildings",
            "where",
            "building_manager",
            "=",
            "value"
        ],
        "question": "Show the addresses and phones of all the buildings managed by \"Brenden\".",
        "question_toks": [
            "Show",
            "the",
            "addresses",
            "and",
            "phones",
            "of",
            "all",
            "the",
            "buildings",
            "managed",
            "by",
            "``",
            "Brenden",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Brenden\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT building_address ,  building_phone FROM Apartment_Buildings WHERE building_manager\t =  \"Brenden\"",
        "query_toks": [
            "SELECT",
            "building_address",
            ",",
            "building_phone",
            "FROM",
            "Apartment_Buildings",
            "WHERE",
            "building_manager",
            "=",
            "``",
            "Brenden",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "building_address",
            ",",
            "building_phone",
            "from",
            "apartment_buildings",
            "where",
            "building_manager",
            "=",
            "value"
        ],
        "question": "What are the address and phone number of the buildings managed by \"Brenden\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "address",
            "and",
            "phone",
            "number",
            "of",
            "the",
            "buildings",
            "managed",
            "by",
            "``",
            "Brenden",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Brenden\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE \"%court%\"",
        "query_toks": [
            "SELECT",
            "building_full_name",
            "FROM",
            "Apartment_Buildings",
            "WHERE",
            "building_full_name",
            "LIKE",
            "``",
            "%",
            "court",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "building_full_name",
            "from",
            "apartment_buildings",
            "where",
            "building_full_name",
            "like",
            "value"
        ],
        "question": "What are the building full names that contain the word \"court\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "building",
            "full",
            "names",
            "that",
            "contain",
            "the",
            "word",
            "``",
            "court",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%court%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE \"%court%\"",
        "query_toks": [
            "SELECT",
            "building_full_name",
            "FROM",
            "Apartment_Buildings",
            "WHERE",
            "building_full_name",
            "LIKE",
            "``",
            "%",
            "court",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "building_full_name",
            "from",
            "apartment_buildings",
            "where",
            "building_full_name",
            "like",
            "value"
        ],
        "question": "Find all the building full names containing the word \"court\".",
        "question_toks": [
            "Find",
            "all",
            "the",
            "building",
            "full",
            "names",
            "containing",
            "the",
            "word",
            "``",
            "court",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%court%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT min(bathroom_count) ,  max(bathroom_count) FROM Apartments",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "bathroom_count",
            ")",
            ",",
            "max",
            "(",
            "bathroom_count",
            ")",
            "FROM",
            "Apartments"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "bathroom_count",
            ")",
            ",",
            "max",
            "(",
            "bathroom_count",
            ")",
            "from",
            "apartments"
        ],
        "question": "What is the minimum and maximum number of bathrooms of all the apartments?",
        "question_toks": [
            "What",
            "is",
            "the",
            "minimum",
            "and",
            "maximum",
            "number",
            "of",
            "bathrooms",
            "of",
            "all",
            "the",
            "apartments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT min(bathroom_count) ,  max(bathroom_count) FROM Apartments",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "bathroom_count",
            ")",
            ",",
            "max",
            "(",
            "bathroom_count",
            ")",
            "FROM",
            "Apartments"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "bathroom_count",
            ")",
            ",",
            "max",
            "(",
            "bathroom_count",
            ")",
            "from",
            "apartments"
        ],
        "question": "Give me the minimum and maximum bathroom count among all the apartments.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "minimum",
            "and",
            "maximum",
            "bathroom",
            "count",
            "among",
            "all",
            "the",
            "apartments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT avg(bedroom_count) FROM Apartments",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "bedroom_count",
            ")",
            "FROM",
            "Apartments"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "bedroom_count",
            ")",
            "from",
            "apartments"
        ],
        "question": "What is the average number of bedrooms of all apartments?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "bedrooms",
            "of",
            "all",
            "apartments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT avg(bedroom_count) FROM Apartments",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "bedroom_count",
            ")",
            "FROM",
            "Apartments"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "bedroom_count",
            ")",
            "from",
            "apartments"
        ],
        "question": "Find the average number of bedrooms of all the apartments.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "number",
            "of",
            "bedrooms",
            "of",
            "all",
            "the",
            "apartments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_number ,  room_count FROM Apartments",
        "query_toks": [
            "SELECT",
            "apt_number",
            ",",
            "room_count",
            "FROM",
            "Apartments"
        ],
        "query_toks_no_value": [
            "select",
            "apt_number",
            ",",
            "room_count",
            "from",
            "apartments"
        ],
        "question": "Return the apartment number and the number of rooms for each apartment.",
        "question_toks": [
            "Return",
            "the",
            "apartment",
            "number",
            "and",
            "the",
            "number",
            "of",
            "rooms",
            "for",
            "each",
            "apartment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_number ,  room_count FROM Apartments",
        "query_toks": [
            "SELECT",
            "apt_number",
            ",",
            "room_count",
            "FROM",
            "Apartments"
        ],
        "query_toks_no_value": [
            "select",
            "apt_number",
            ",",
            "room_count",
            "from",
            "apartments"
        ],
        "question": "What are the apartment number and the room count of each apartment?",
        "question_toks": [
            "What",
            "are",
            "the",
            "apartment",
            "number",
            "and",
            "the",
            "room",
            "count",
            "of",
            "each",
            "apartment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT avg(room_count) FROM Apartments WHERE apt_type_code  =  \"Studio\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "room_count",
            ")",
            "FROM",
            "Apartments",
            "WHERE",
            "apt_type_code",
            "=",
            "``",
            "Studio",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "room_count",
            ")",
            "from",
            "apartments",
            "where",
            "apt_type_code",
            "=",
            "value"
        ],
        "question": "What is the average number of rooms of apartments with type code \"Studio\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "rooms",
            "of",
            "apartments",
            "with",
            "type",
            "code",
            "``",
            "Studio",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Studio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT avg(room_count) FROM Apartments WHERE apt_type_code  =  \"Studio\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "room_count",
            ")",
            "FROM",
            "Apartments",
            "WHERE",
            "apt_type_code",
            "=",
            "``",
            "Studio",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "room_count",
            ")",
            "from",
            "apartments",
            "where",
            "apt_type_code",
            "=",
            "value"
        ],
        "question": "Find the average room count of the apartments that have the \"Studio\" type code.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "room",
            "count",
            "of",
            "the",
            "apartments",
            "that",
            "have",
            "the",
            "``",
            "Studio",
            "''",
            "type",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Studio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_number FROM Apartments WHERE apt_type_code  =  \"Flat\"",
        "query_toks": [
            "SELECT",
            "apt_number",
            "FROM",
            "Apartments",
            "WHERE",
            "apt_type_code",
            "=",
            "``",
            "Flat",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "apt_number",
            "from",
            "apartments",
            "where",
            "apt_type_code",
            "=",
            "value"
        ],
        "question": "Return the apartment numbers of the apartments with type code \"Flat\".",
        "question_toks": [
            "Return",
            "the",
            "apartment",
            "numbers",
            "of",
            "the",
            "apartments",
            "with",
            "type",
            "code",
            "``",
            "Flat",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Flat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_number FROM Apartments WHERE apt_type_code  =  \"Flat\"",
        "query_toks": [
            "SELECT",
            "apt_number",
            "FROM",
            "Apartments",
            "WHERE",
            "apt_type_code",
            "=",
            "``",
            "Flat",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "apt_number",
            "from",
            "apartments",
            "where",
            "apt_type_code",
            "=",
            "value"
        ],
        "question": "Which apartments have type code \"Flat\"? Give me their apartment numbers.",
        "question_toks": [
            "Which",
            "apartments",
            "have",
            "type",
            "code",
            "``",
            "Flat",
            "''",
            "?",
            "Give",
            "me",
            "their",
            "apartment",
            "numbers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Flat\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT guest_first_name ,  guest_last_name FROM Guests",
        "query_toks": [
            "SELECT",
            "guest_first_name",
            ",",
            "guest_last_name",
            "FROM",
            "Guests"
        ],
        "query_toks_no_value": [
            "select",
            "guest_first_name",
            ",",
            "guest_last_name",
            "from",
            "guests"
        ],
        "question": "Return the first names and last names of all guests",
        "question_toks": [
            "Return",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "all",
            "guests"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT guest_first_name ,  guest_last_name FROM Guests",
        "query_toks": [
            "SELECT",
            "guest_first_name",
            ",",
            "guest_last_name",
            "FROM",
            "Guests"
        ],
        "query_toks_no_value": [
            "select",
            "guest_first_name",
            ",",
            "guest_last_name",
            "from",
            "guests"
        ],
        "question": "What are the first names and last names of all the guests?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "all",
            "the",
            "guests",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT date_of_birth FROM Guests WHERE gender_code  =  \"Male\"",
        "query_toks": [
            "SELECT",
            "date_of_birth",
            "FROM",
            "Guests",
            "WHERE",
            "gender_code",
            "=",
            "``",
            "Male",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_birth",
            "from",
            "guests",
            "where",
            "gender_code",
            "=",
            "value"
        ],
        "question": "Return the date of birth for all the guests with gender code \"Male\".",
        "question_toks": [
            "Return",
            "the",
            "date",
            "of",
            "birth",
            "for",
            "all",
            "the",
            "guests",
            "with",
            "gender",
            "code",
            "``",
            "Male",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Male\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT date_of_birth FROM Guests WHERE gender_code  =  \"Male\"",
        "query_toks": [
            "SELECT",
            "date_of_birth",
            "FROM",
            "Guests",
            "WHERE",
            "gender_code",
            "=",
            "``",
            "Male",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_birth",
            "from",
            "guests",
            "where",
            "gender_code",
            "=",
            "value"
        ],
        "question": "What are dates of birth of all the guests whose gender is \"Male\"?",
        "question_toks": [
            "What",
            "are",
            "dates",
            "of",
            "birth",
            "of",
            "all",
            "the",
            "guests",
            "whose",
            "gender",
            "is",
            "``",
            "Male",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Male\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.apt_number ,  T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id",
        "query_toks": [
            "SELECT",
            "T2.apt_number",
            ",",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "apt_number",
            ",",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id"
        ],
        "question": "Show the apartment numbers, start dates, and end dates of all the apartment bookings.",
        "question_toks": [
            "Show",
            "the",
            "apartment",
            "numbers",
            ",",
            "start",
            "dates",
            ",",
            "and",
            "end",
            "dates",
            "of",
            "all",
            "the",
            "apartment",
            "bookings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.apt_number ,  T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id",
        "query_toks": [
            "SELECT",
            "T2.apt_number",
            ",",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "apt_number",
            ",",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id"
        ],
        "question": "What are the apartment number, start date, and end date of each apartment booking?",
        "question_toks": [
            "What",
            "are",
            "the",
            "apartment",
            "number",
            ",",
            "start",
            "date",
            ",",
            "and",
            "end",
            "date",
            "of",
            "each",
            "apartment",
            "booking",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.apt_type_code  =  \"Duplex\"",
        "query_toks": [
            "SELECT",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.apt_type_code",
            "=",
            "``",
            "Duplex",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "apt_type_code",
            "=",
            "value"
        ],
        "question": "What are the booking start and end dates of the apartments with type code \"Duplex\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "booking",
            "start",
            "and",
            "end",
            "dates",
            "of",
            "the",
            "apartments",
            "with",
            "type",
            "code",
            "``",
            "Duplex",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Duplex\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.apt_type_code  =  \"Duplex\"",
        "query_toks": [
            "SELECT",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.apt_type_code",
            "=",
            "``",
            "Duplex",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "apt_type_code",
            "=",
            "value"
        ],
        "question": "Return the booking start date and end date for the apartments that have type code \"Duplex\".",
        "question_toks": [
            "Return",
            "the",
            "booking",
            "start",
            "date",
            "and",
            "end",
            "date",
            "for",
            "the",
            "apartments",
            "that",
            "have",
            "type",
            "code",
            "``",
            "Duplex",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Duplex\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.bedroom_count  >  2",
        "query_toks": [
            "SELECT",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.bedroom_count",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "bedroom_count",
            ">",
            "value"
        ],
        "question": "What are the booking start and end dates of the apartments with more than 2 bedrooms?",
        "question_toks": [
            "What",
            "are",
            "the",
            "booking",
            "start",
            "and",
            "end",
            "dates",
            "of",
            "the",
            "apartments",
            "with",
            "more",
            "than",
            "2",
            "bedrooms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.bedroom_count  >  2",
        "query_toks": [
            "SELECT",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.bedroom_count",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "bedroom_count",
            ">",
            "value"
        ],
        "question": "Find the booking start date and end date for the apartments that have more than two bedrooms.",
        "question_toks": [
            "Find",
            "the",
            "booking",
            "start",
            "date",
            "and",
            "end",
            "date",
            "for",
            "the",
            "apartments",
            "that",
            "have",
            "more",
            "than",
            "two",
            "bedrooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.booking_status_code FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.apt_number  =  \"Suite 634\"",
        "query_toks": [
            "SELECT",
            "T1.booking_status_code",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.apt_number",
            "=",
            "``",
            "Suite",
            "634",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_status_code",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "apt_number",
            "=",
            "value"
        ],
        "question": "What is the booking status code of the apartment with apartment number \"Suite 634\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "booking",
            "status",
            "code",
            "of",
            "the",
            "apartment",
            "with",
            "apartment",
            "number",
            "``",
            "Suite",
            "634",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Suite 634\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.booking_status_code FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.apt_number  =  \"Suite 634\"",
        "query_toks": [
            "SELECT",
            "T1.booking_status_code",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.apt_number",
            "=",
            "``",
            "Suite",
            "634",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_status_code",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "apt_number",
            "=",
            "value"
        ],
        "question": "Tell me the booking status code for the apartment with number \"Suite 634\".",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "booking",
            "status",
            "code",
            "for",
            "the",
            "apartment",
            "with",
            "number",
            "``",
            "Suite",
            "634",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Suite 634\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.booking_status_code  =  \"Confirmed\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.apt_number",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Confirmed",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "apt_number",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value"
        ],
        "question": "Show the distinct apartment numbers of the apartments that have bookings with status code \"Confirmed\".",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "apartment",
            "numbers",
            "of",
            "the",
            "apartments",
            "that",
            "have",
            "bookings",
            "with",
            "status",
            "code",
            "``",
            "Confirmed",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Confirmed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.booking_status_code  =  \"Confirmed\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.apt_number",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Confirmed",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "apt_number",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value"
        ],
        "question": "Which apartments have bookings with status code \"Confirmed\"? Return their apartment numbers.",
        "question_toks": [
            "Which",
            "apartments",
            "have",
            "bookings",
            "with",
            "status",
            "code",
            "``",
            "Confirmed",
            "''",
            "?",
            "Return",
            "their",
            "apartment",
            "numbers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Confirmed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT avg(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.booking_status_code  =  \"Provisional\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "room_count",
            ")",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Provisional",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "room_count",
            ")",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value"
        ],
        "question": "Show the average room count of the apartments that have booking status code \"Provisional\".",
        "question_toks": [
            "Show",
            "the",
            "average",
            "room",
            "count",
            "of",
            "the",
            "apartments",
            "that",
            "have",
            "booking",
            "status",
            "code",
            "``",
            "Provisional",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Provisional\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT avg(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.booking_status_code  =  \"Provisional\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "room_count",
            ")",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Provisional",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "room_count",
            ")",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value"
        ],
        "question": "What is the average room count of the apartments whose booking status code is \"Provisional\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "room",
            "count",
            "of",
            "the",
            "apartments",
            "whose",
            "booking",
            "status",
            "code",
            "is",
            "``",
            "Provisional",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Provisional\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.guest_first_name ,  T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id  =  T2.guest_id",
        "query_toks": [
            "SELECT",
            "T2.guest_first_name",
            ",",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Guests",
            "AS",
            "T2",
            "ON",
            "T1.guest_id",
            "=",
            "T2.guest_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "guest_first_name",
            ",",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "guests",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "guest_id",
            "=",
            "t2",
            ".",
            "guest_id"
        ],
        "question": "Show the guest first names, start dates, and end dates of all the apartment bookings.",
        "question_toks": [
            "Show",
            "the",
            "guest",
            "first",
            "names",
            ",",
            "start",
            "dates",
            ",",
            "and",
            "end",
            "dates",
            "of",
            "all",
            "the",
            "apartment",
            "bookings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.guest_first_name ,  T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id  =  T2.guest_id",
        "query_toks": [
            "SELECT",
            "T2.guest_first_name",
            ",",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Guests",
            "AS",
            "T2",
            "ON",
            "T1.guest_id",
            "=",
            "T2.guest_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "guest_first_name",
            ",",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "guests",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "guest_id",
            "=",
            "t2",
            ".",
            "guest_id"
        ],
        "question": "What are the guest first name, start date, and end date of each apartment booking?",
        "question_toks": [
            "What",
            "are",
            "the",
            "guest",
            "first",
            "name",
            ",",
            "start",
            "date",
            ",",
            "and",
            "end",
            "date",
            "of",
            "each",
            "apartment",
            "booking",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id  =  T2.guest_id WHERE T2.gender_code  =  \"Female\"",
        "query_toks": [
            "SELECT",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Guests",
            "AS",
            "T2",
            "ON",
            "T1.guest_id",
            "=",
            "T2.guest_id",
            "WHERE",
            "T2.gender_code",
            "=",
            "``",
            "Female",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "guests",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "guest_id",
            "=",
            "t2",
            ".",
            "guest_id",
            "where",
            "t2",
            ".",
            "gender_code",
            "=",
            "value"
        ],
        "question": "Show the start dates and end dates of all the apartment bookings made by guests with gender code \"Female\".",
        "question_toks": [
            "Show",
            "the",
            "start",
            "dates",
            "and",
            "end",
            "dates",
            "of",
            "all",
            "the",
            "apartment",
            "bookings",
            "made",
            "by",
            "guests",
            "with",
            "gender",
            "code",
            "``",
            "Female",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.booking_start_date ,  T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id  =  T2.guest_id WHERE T2.gender_code  =  \"Female\"",
        "query_toks": [
            "SELECT",
            "T1.booking_start_date",
            ",",
            "T1.booking_start_date",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Guests",
            "AS",
            "T2",
            "ON",
            "T1.guest_id",
            "=",
            "T2.guest_id",
            "WHERE",
            "T2.gender_code",
            "=",
            "``",
            "Female",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_start_date",
            ",",
            "t1",
            ".",
            "booking_start_date",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "guests",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "guest_id",
            "=",
            "t2",
            ".",
            "guest_id",
            "where",
            "t2",
            ".",
            "gender_code",
            "=",
            "value"
        ],
        "question": "What are the start date and end date of the apartment bookings made by female guests (gender code \"Female\")?",
        "question_toks": [
            "What",
            "are",
            "the",
            "start",
            "date",
            "and",
            "end",
            "date",
            "of",
            "the",
            "apartment",
            "bookings",
            "made",
            "by",
            "female",
            "guests",
            "(",
            "gender",
            "code",
            "``",
            "Female",
            "''",
            ")",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.guest_first_name ,  T2.guest_last_name FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id  =  T2.guest_id WHERE T1.booking_status_code  =  \"Confirmed\"",
        "query_toks": [
            "SELECT",
            "T2.guest_first_name",
            ",",
            "T2.guest_last_name",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Guests",
            "AS",
            "T2",
            "ON",
            "T1.guest_id",
            "=",
            "T2.guest_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Confirmed",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "guest_first_name",
            ",",
            "t2",
            ".",
            "guest_last_name",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "guests",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "guest_id",
            "=",
            "t2",
            ".",
            "guest_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value"
        ],
        "question": "Show the first names and last names of all the guests that have apartment bookings with status code \"Confirmed\".",
        "question_toks": [
            "Show",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "all",
            "the",
            "guests",
            "that",
            "have",
            "apartment",
            "bookings",
            "with",
            "status",
            "code",
            "``",
            "Confirmed",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Confirmed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.guest_first_name ,  T2.guest_last_name FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id  =  T2.guest_id WHERE T1.booking_status_code  =  \"Confirmed\"",
        "query_toks": [
            "SELECT",
            "T2.guest_first_name",
            ",",
            "T2.guest_last_name",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Guests",
            "AS",
            "T2",
            "ON",
            "T1.guest_id",
            "=",
            "T2.guest_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Confirmed",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "guest_first_name",
            ",",
            "t2",
            ".",
            "guest_last_name",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "guests",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "guest_id",
            "=",
            "t2",
            ".",
            "guest_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value"
        ],
        "question": "Which guests have apartment bookings with status code \"Confirmed\"? Return their first names and last names.",
        "question_toks": [
            "Which",
            "guests",
            "have",
            "apartment",
            "bookings",
            "with",
            "status",
            "code",
            "``",
            "Confirmed",
            "''",
            "?",
            "Return",
            "their",
            "first",
            "names",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Confirmed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.bedroom_count  >  4",
        "query_toks": [
            "SELECT",
            "T1.facility_code",
            "FROM",
            "Apartment_Facilities",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.bedroom_count",
            ">",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "facility_code",
            "from",
            "apartment_facilities",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "bedroom_count",
            ">",
            "value"
        ],
        "question": "Show the facility codes of apartments with more than 4 bedrooms.",
        "question_toks": [
            "Show",
            "the",
            "facility",
            "codes",
            "of",
            "apartments",
            "with",
            "more",
            "than",
            "4",
            "bedrooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.bedroom_count  >  4",
        "query_toks": [
            "SELECT",
            "T1.facility_code",
            "FROM",
            "Apartment_Facilities",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.bedroom_count",
            ">",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "facility_code",
            "from",
            "apartment_facilities",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "bedroom_count",
            ">",
            "value"
        ],
        "question": "What are the facility codes of the apartments with more than four bedrooms?",
        "question_toks": [
            "What",
            "are",
            "the",
            "facility",
            "codes",
            "of",
            "the",
            "apartments",
            "with",
            "more",
            "than",
            "four",
            "bedrooms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT sum(T2.room_count) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.facility_code  =  \"Gym\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.room_count",
            ")",
            "FROM",
            "Apartment_Facilities",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.facility_code",
            "=",
            "``",
            "Gym",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "room_count",
            ")",
            "from",
            "apartment_facilities",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "facility_code",
            "=",
            "value"
        ],
        "question": "Show the total number of rooms of all apartments with facility code \"Gym\".",
        "question_toks": [
            "Show",
            "the",
            "total",
            "number",
            "of",
            "rooms",
            "of",
            "all",
            "apartments",
            "with",
            "facility",
            "code",
            "``",
            "Gym",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Gym\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT sum(T2.room_count) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.facility_code  =  \"Gym\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.room_count",
            ")",
            "FROM",
            "Apartment_Facilities",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.facility_code",
            "=",
            "``",
            "Gym",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "room_count",
            ")",
            "from",
            "apartment_facilities",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "facility_code",
            "=",
            "value"
        ],
        "question": "Find the total number of rooms in the apartments that have facility code \"Gym\".",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "rooms",
            "in",
            "the",
            "apartments",
            "that",
            "have",
            "facility",
            "code",
            "``",
            "Gym",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Gym\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT sum(T2.room_count) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id  =  T2.building_id WHERE T1.building_short_name  =  \"Columbus Square\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.room_count",
            ")",
            "FROM",
            "Apartment_Buildings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "WHERE",
            "T1.building_short_name",
            "=",
            "``",
            "Columbus",
            "Square",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "room_count",
            ")",
            "from",
            "apartment_buildings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "where",
            "t1",
            ".",
            "building_short_name",
            "=",
            "value"
        ],
        "question": "Show the total number of rooms of the apartments in the building with short name \"Columbus Square\".",
        "question_toks": [
            "Show",
            "the",
            "total",
            "number",
            "of",
            "rooms",
            "of",
            "the",
            "apartments",
            "in",
            "the",
            "building",
            "with",
            "short",
            "name",
            "``",
            "Columbus",
            "Square",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Columbus Square\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT sum(T2.room_count) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id  =  T2.building_id WHERE T1.building_short_name  =  \"Columbus Square\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.room_count",
            ")",
            "FROM",
            "Apartment_Buildings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "WHERE",
            "T1.building_short_name",
            "=",
            "``",
            "Columbus",
            "Square",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "room_count",
            ")",
            "from",
            "apartment_buildings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "where",
            "t1",
            ".",
            "building_short_name",
            "=",
            "value"
        ],
        "question": "How many rooms in total are there in the apartments in the building with short name \"Columbus Square\"?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "in",
            "total",
            "are",
            "there",
            "in",
            "the",
            "apartments",
            "in",
            "the",
            "building",
            "with",
            "short",
            "name",
            "``",
            "Columbus",
            "Square",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Columbus Square\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id  =  T2.building_id WHERE T2.bathroom_count  >  2",
        "query_toks": [
            "SELECT",
            "T1.building_address",
            "FROM",
            "Apartment_Buildings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "WHERE",
            "T2.bathroom_count",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "building_address",
            "from",
            "apartment_buildings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "where",
            "t2",
            ".",
            "bathroom_count",
            ">",
            "value"
        ],
        "question": "Show the addresses of the buildings that have apartments with more than 2 bathrooms.",
        "question_toks": [
            "Show",
            "the",
            "addresses",
            "of",
            "the",
            "buildings",
            "that",
            "have",
            "apartments",
            "with",
            "more",
            "than",
            "2",
            "bathrooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id  =  T2.building_id WHERE T2.bathroom_count  >  2",
        "query_toks": [
            "SELECT",
            "T1.building_address",
            "FROM",
            "Apartment_Buildings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "WHERE",
            "T2.bathroom_count",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "building_address",
            "from",
            "apartment_buildings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "where",
            "t2",
            ".",
            "bathroom_count",
            ">",
            "value"
        ],
        "question": "Which buildings have apartments that have more than two bathrooms? Give me the addresses of the buildings.",
        "question_toks": [
            "Which",
            "buildings",
            "have",
            "apartments",
            "that",
            "have",
            "more",
            "than",
            "two",
            "bathrooms",
            "?",
            "Give",
            "me",
            "the",
            "addresses",
            "of",
            "the",
            "buildings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.apt_type_code ,  T2.apt_number FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id  =  T2.building_id WHERE T1.building_manager  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "T2.apt_type_code",
            ",",
            "T2.apt_number",
            "FROM",
            "Apartment_Buildings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "WHERE",
            "T1.building_manager",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "apt_type_code",
            ",",
            "t2",
            ".",
            "apt_number",
            "from",
            "apartment_buildings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "where",
            "t1",
            ".",
            "building_manager",
            "=",
            "value"
        ],
        "question": "Show the apartment type codes and apartment numbers in the buildings managed by \"Kyle\".",
        "question_toks": [
            "Show",
            "the",
            "apartment",
            "type",
            "codes",
            "and",
            "apartment",
            "numbers",
            "in",
            "the",
            "buildings",
            "managed",
            "by",
            "``",
            "Kyle",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.apt_type_code ,  T2.apt_number FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id  =  T2.building_id WHERE T1.building_manager  =  \"Kyle\"",
        "query_toks": [
            "SELECT",
            "T2.apt_type_code",
            ",",
            "T2.apt_number",
            "FROM",
            "Apartment_Buildings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "WHERE",
            "T1.building_manager",
            "=",
            "``",
            "Kyle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "apt_type_code",
            ",",
            "t2",
            ".",
            "apt_number",
            "from",
            "apartment_buildings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "where",
            "t1",
            ".",
            "building_manager",
            "=",
            "value"
        ],
        "question": "What apartment type codes and apartment numbers do the buildings managed by \"Kyle\" have?",
        "question_toks": [
            "What",
            "apartment",
            "type",
            "codes",
            "and",
            "apartment",
            "numbers",
            "do",
            "the",
            "buildings",
            "managed",
            "by",
            "``",
            "Kyle",
            "''",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Kyle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT \tbooking_status_code ,  COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code",
        "query_toks": [
            "SELECT",
            "booking_status_code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Apartment_Bookings",
            "GROUP",
            "BY",
            "booking_status_code"
        ],
        "query_toks_no_value": [
            "select",
            "booking_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "apartment_bookings",
            "group",
            "by",
            "booking_status_code"
        ],
        "question": "Show the booking status code and the corresponding number of bookings.",
        "question_toks": [
            "Show",
            "the",
            "booking",
            "status",
            "code",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "bookings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT \tbooking_status_code ,  COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code",
        "query_toks": [
            "SELECT",
            "booking_status_code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Apartment_Bookings",
            "GROUP",
            "BY",
            "booking_status_code"
        ],
        "query_toks_no_value": [
            "select",
            "booking_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "apartment_bookings",
            "group",
            "by",
            "booking_status_code"
        ],
        "question": "How many bookings does each booking status have? List the booking status code and the number of corresponding bookings.",
        "question_toks": [
            "How",
            "many",
            "bookings",
            "does",
            "each",
            "booking",
            "status",
            "have",
            "?",
            "List",
            "the",
            "booking",
            "status",
            "code",
            "and",
            "the",
            "number",
            "of",
            "corresponding",
            "bookings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_number FROM Apartments ORDER BY room_count ASC",
        "query_toks": [
            "SELECT",
            "apt_number",
            "FROM",
            "Apartments",
            "ORDER",
            "BY",
            "room_count",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "apt_number",
            "from",
            "apartments",
            "order",
            "by",
            "room_count",
            "asc"
        ],
        "question": "Return all the apartment numbers sorted by the room count in ascending order.",
        "question_toks": [
            "Return",
            "all",
            "the",
            "apartment",
            "numbers",
            "sorted",
            "by",
            "the",
            "room",
            "count",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_number FROM Apartments ORDER BY room_count ASC",
        "query_toks": [
            "SELECT",
            "apt_number",
            "FROM",
            "Apartments",
            "ORDER",
            "BY",
            "room_count",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "apt_number",
            "from",
            "apartments",
            "order",
            "by",
            "room_count",
            "asc"
        ],
        "question": "Sort the apartment numbers in ascending order of room count.",
        "question_toks": [
            "Sort",
            "the",
            "apartment",
            "numbers",
            "in",
            "ascending",
            "order",
            "of",
            "room",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_number FROM Apartments ORDER BY bedroom_count DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "apt_number",
            "FROM",
            "Apartments",
            "ORDER",
            "BY",
            "bedroom_count",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "apt_number",
            "from",
            "apartments",
            "order",
            "by",
            "bedroom_count",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the apartment number with the largest number of bedrooms.",
        "question_toks": [
            "Return",
            "the",
            "apartment",
            "number",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "bedrooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_number FROM Apartments ORDER BY bedroom_count DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "apt_number",
            "FROM",
            "Apartments",
            "ORDER",
            "BY",
            "bedroom_count",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "apt_number",
            "from",
            "apartments",
            "order",
            "by",
            "bedroom_count",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the apartment number of the apartment with the most beds?",
        "question_toks": [
            "What",
            "is",
            "the",
            "apartment",
            "number",
            "of",
            "the",
            "apartment",
            "with",
            "the",
            "most",
            "beds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code ,  COUNT(*) FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*) ASC",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc"
        ],
        "question": "Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending order.",
        "question_toks": [
            "Show",
            "the",
            "apartment",
            "type",
            "codes",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "apartments",
            "sorted",
            "by",
            "the",
            "number",
            "of",
            "apartments",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code ,  COUNT(*) FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*) ASC",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc"
        ],
        "question": "Return each apartment type code with the number of apartments having that apartment type, in ascending order of the number of apartments.",
        "question_toks": [
            "Return",
            "each",
            "apartment",
            "type",
            "code",
            "with",
            "the",
            "number",
            "of",
            "apartments",
            "having",
            "that",
            "apartment",
            "type",
            ",",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "number",
            "of",
            "apartments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY avg(room_count) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "avg",
            "(",
            "room_count",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "avg",
            "(",
            "room_count",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the top 3 apartment type codes sorted by the average number of rooms in descending order.",
        "question_toks": [
            "Show",
            "the",
            "top",
            "3",
            "apartment",
            "type",
            "codes",
            "sorted",
            "by",
            "the",
            "average",
            "number",
            "of",
            "rooms",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY avg(room_count) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "avg",
            "(",
            "room_count",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "avg",
            "(",
            "room_count",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the top three apartment types in terms of the average room count? Give me the",
        "question_toks": [
            "What",
            "are",
            "the",
            "top",
            "three",
            "apartment",
            "types",
            "in",
            "terms",
            "of",
            "the",
            "average",
            "room",
            "count",
            "?",
            "Give",
            "me",
            "the"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code ,  bathroom_count ,  bedroom_count FROM Apartments GROUP BY apt_type_code ORDER BY sum(room_count) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            ",",
            "bathroom_count",
            ",",
            "bedroom_count",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "sum",
            "(",
            "room_count",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            ",",
            "bathroom_count",
            ",",
            "bedroom_count",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "sum",
            "(",
            "room_count",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the apartment type code that has the largest number of total rooms, together with the number of bathrooms and number of bedrooms.",
        "question_toks": [
            "Show",
            "the",
            "apartment",
            "type",
            "code",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "total",
            "rooms",
            ",",
            "together",
            "with",
            "the",
            "number",
            "of",
            "bathrooms",
            "and",
            "number",
            "of",
            "bedrooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code ,  bathroom_count ,  bedroom_count FROM Apartments GROUP BY apt_type_code ORDER BY sum(room_count) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            ",",
            "bathroom_count",
            ",",
            "bedroom_count",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "sum",
            "(",
            "room_count",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            ",",
            "bathroom_count",
            ",",
            "bedroom_count",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "sum",
            "(",
            "room_count",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which apartment type has the largest number of total rooms? Return the apartment type code, its number of bathrooms and number of bedrooms.",
        "question_toks": [
            "Which",
            "apartment",
            "type",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "total",
            "rooms",
            "?",
            "Return",
            "the",
            "apartment",
            "type",
            "code",
            ",",
            "its",
            "number",
            "of",
            "bathrooms",
            "and",
            "number",
            "of",
            "bedrooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common apartment type code.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "apartment",
            "type",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which apartment type code appears the most often?",
        "question_toks": [
            "Which",
            "apartment",
            "type",
            "code",
            "appears",
            "the",
            "most",
            "often",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code FROM Apartments WHERE bathroom_count  >  1 GROUP BY apt_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            "FROM",
            "Apartments",
            "WHERE",
            "bathroom_count",
            ">",
            "1",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            "from",
            "apartments",
            "where",
            "bathroom_count",
            ">",
            "value",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common apartment type code among apartments with more than 1 bathroom.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "apartment",
            "type",
            "code",
            "among",
            "apartments",
            "with",
            "more",
            "than",
            "1",
            "bathroom",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code FROM Apartments WHERE bathroom_count  >  1 GROUP BY apt_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            "FROM",
            "Apartments",
            "WHERE",
            "bathroom_count",
            ">",
            "1",
            "GROUP",
            "BY",
            "apt_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            "from",
            "apartments",
            "where",
            "bathroom_count",
            ">",
            "value",
            "group",
            "by",
            "apt_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which apartment type code is the most common among apartments with more than one bathroom?",
        "question_toks": [
            "Which",
            "apartment",
            "type",
            "code",
            "is",
            "the",
            "most",
            "common",
            "among",
            "apartments",
            "with",
            "more",
            "than",
            "one",
            "bathroom",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code ,  max(room_count) ,  min(room_count) FROM Apartments GROUP BY apt_type_code",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            ",",
            "max",
            "(",
            "room_count",
            ")",
            ",",
            "min",
            "(",
            "room_count",
            ")",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            ",",
            "max",
            "(",
            "room_count",
            ")",
            ",",
            "min",
            "(",
            "room_count",
            ")",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code"
        ],
        "question": "Show each apartment type code, and the maximum and minimum number of rooms for each type.",
        "question_toks": [
            "Show",
            "each",
            "apartment",
            "type",
            "code",
            ",",
            "and",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "rooms",
            "for",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT apt_type_code ,  max(room_count) ,  min(room_count) FROM Apartments GROUP BY apt_type_code",
        "query_toks": [
            "SELECT",
            "apt_type_code",
            ",",
            "max",
            "(",
            "room_count",
            ")",
            ",",
            "min",
            "(",
            "room_count",
            ")",
            "FROM",
            "Apartments",
            "GROUP",
            "BY",
            "apt_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "apt_type_code",
            ",",
            "max",
            "(",
            "room_count",
            ")",
            ",",
            "min",
            "(",
            "room_count",
            ")",
            "from",
            "apartments",
            "group",
            "by",
            "apt_type_code"
        ],
        "question": "Return each apartment type code along with the maximum and minimum number of rooms among each type.",
        "question_toks": [
            "Return",
            "each",
            "apartment",
            "type",
            "code",
            "along",
            "with",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "rooms",
            "among",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT gender_code ,  COUNT(*) FROM Guests GROUP BY gender_code ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "gender_code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Guests",
            "GROUP",
            "BY",
            "gender_code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "gender_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "guests",
            "group",
            "by",
            "gender_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Show each gender code and the corresponding count of guests sorted by the count in descending order.",
        "question_toks": [
            "Show",
            "each",
            "gender",
            "code",
            "and",
            "the",
            "corresponding",
            "count",
            "of",
            "guests",
            "sorted",
            "by",
            "the",
            "count",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT gender_code ,  COUNT(*) FROM Guests GROUP BY gender_code ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "gender_code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Guests",
            "GROUP",
            "BY",
            "gender_code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "gender_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "guests",
            "group",
            "by",
            "gender_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Sort the gender codes in descending order of their corresponding number of guests. Return both the gender codes and counts.",
        "question_toks": [
            "Sort",
            "the",
            "gender",
            "codes",
            "in",
            "descending",
            "order",
            "of",
            "their",
            "corresponding",
            "number",
            "of",
            "guests",
            ".",
            "Return",
            "both",
            "the",
            "gender",
            "codes",
            "and",
            "counts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT count(*) FROM Apartments WHERE apt_id NOT IN (SELECT apt_id FROM Apartment_Facilities)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Apartments",
            "WHERE",
            "apt_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "apt_id",
            "FROM",
            "Apartment_Facilities",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "apartments",
            "where",
            "apt_id",
            "not",
            "in",
            "(",
            "select",
            "apt_id",
            "from",
            "apartment_facilities",
            ")"
        ],
        "question": "How many apartments do not have any facility?",
        "question_toks": [
            "How",
            "many",
            "apartments",
            "do",
            "not",
            "have",
            "any",
            "facility",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT count(*) FROM Apartments WHERE apt_id NOT IN (SELECT apt_id FROM Apartment_Facilities)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Apartments",
            "WHERE",
            "apt_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "apt_id",
            "FROM",
            "Apartment_Facilities",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "apartments",
            "where",
            "apt_id",
            "not",
            "in",
            "(",
            "select",
            "apt_id",
            "from",
            "apartment_facilities",
            ")"
        ],
        "question": "Find the number of apartments that have no facility.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "apartments",
            "that",
            "have",
            "no",
            "facility",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.booking_status_code  =  \"Confirmed\" INTERSECT SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.booking_status_code  =  \"Provisional\"",
        "query_toks": [
            "SELECT",
            "T2.apt_number",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Confirmed",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.apt_number",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Provisional",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "apt_number",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "apt_number",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value"
        ],
        "question": "Show the apartment numbers of apartments with bookings that have status code both \"Provisional\" and \"Confirmed\"",
        "question_toks": [
            "Show",
            "the",
            "apartment",
            "numbers",
            "of",
            "apartments",
            "with",
            "bookings",
            "that",
            "have",
            "status",
            "code",
            "both",
            "``",
            "Provisional",
            "''",
            "and",
            "``",
            "Confirmed",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Confirmed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"Provisional\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.booking_status_code  =  \"Confirmed\" INTERSECT SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id  =  T2.apt_id WHERE T1.booking_status_code  =  \"Provisional\"",
        "query_toks": [
            "SELECT",
            "T2.apt_number",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Confirmed",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.apt_number",
            "FROM",
            "Apartment_Bookings",
            "AS",
            "T1",
            "JOIN",
            "Apartments",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T1.booking_status_code",
            "=",
            "``",
            "Provisional",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "apt_number",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "apt_number",
            "from",
            "apartment_bookings",
            "as",
            "t1",
            "join",
            "apartments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t1",
            ".",
            "booking_status_code",
            "=",
            "value"
        ],
        "question": "Which apartments have bookings with both status codes \"Provisional\" and \"Confirmed\"? Give me the apartment numbers.",
        "question_toks": [
            "Which",
            "apartments",
            "have",
            "bookings",
            "with",
            "both",
            "status",
            "codes",
            "``",
            "Provisional",
            "''",
            "and",
            "``",
            "Confirmed",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "apartment",
            "numbers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Confirmed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"Provisional\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.available_yn  =  0 INTERSECT SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.available_yn  =  1",
        "query_toks": [
            "SELECT",
            "T1.apt_number",
            "FROM",
            "Apartments",
            "AS",
            "T1",
            "JOIN",
            "View_Unit_Status",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.available_yn",
            "=",
            "0",
            "INTERSECT",
            "SELECT",
            "T1.apt_number",
            "FROM",
            "Apartments",
            "AS",
            "T1",
            "JOIN",
            "View_Unit_Status",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.available_yn",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "apt_number",
            "from",
            "apartments",
            "as",
            "t1",
            "join",
            "view_unit_status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "available_yn",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "apt_number",
            "from",
            "apartments",
            "as",
            "t1",
            "join",
            "view_unit_status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "available_yn",
            "=",
            "value"
        ],
        "question": "Show the apartment numbers of apartments with unit status availability of both 0 and 1.",
        "question_toks": [
            "Show",
            "the",
            "apartment",
            "numbers",
            "of",
            "apartments",
            "with",
            "unit",
            "status",
            "availability",
            "of",
            "both",
            "0",
            "and",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        1.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "apartment_rentals",
        "query": "SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.available_yn  =  0 INTERSECT SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id  =  T2.apt_id WHERE T2.available_yn  =  1",
        "query_toks": [
            "SELECT",
            "T1.apt_number",
            "FROM",
            "Apartments",
            "AS",
            "T1",
            "JOIN",
            "View_Unit_Status",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.available_yn",
            "=",
            "0",
            "INTERSECT",
            "SELECT",
            "T1.apt_number",
            "FROM",
            "Apartments",
            "AS",
            "T1",
            "JOIN",
            "View_Unit_Status",
            "AS",
            "T2",
            "ON",
            "T1.apt_id",
            "=",
            "T2.apt_id",
            "WHERE",
            "T2.available_yn",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "apt_number",
            "from",
            "apartments",
            "as",
            "t1",
            "join",
            "view_unit_status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "available_yn",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "apt_number",
            "from",
            "apartments",
            "as",
            "t1",
            "join",
            "view_unit_status",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apt_id",
            "=",
            "t2",
            ".",
            "apt_id",
            "where",
            "t2",
            ".",
            "available_yn",
            "=",
            "value"
        ],
        "question": "Which apartments have unit status availability of both 0 and 1? Return their apartment numbers.",
        "question_toks": [
            "Which",
            "apartments",
            "have",
            "unit",
            "status",
            "availability",
            "of",
            "both",
            "0",
            "and",
            "1",
            "?",
            "Return",
            "their",
            "apartment",
            "numbers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        1.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT count(*) FROM game WHERE season  >  2007",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "game",
            "WHERE",
            "season",
            ">",
            "2007"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "game",
            "where",
            "season",
            ">",
            "value"
        ],
        "question": "How many games are held after season 2007?",
        "question_toks": [
            "How",
            "many",
            "games",
            "are",
            "held",
            "after",
            "season",
            "2007",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT Date FROM game ORDER BY home_team DESC",
        "query_toks": [
            "SELECT",
            "Date",
            "FROM",
            "game",
            "ORDER",
            "BY",
            "home_team",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "game",
            "order",
            "by",
            "home_team",
            "desc"
        ],
        "question": "List the dates of games by the home team name in descending order.",
        "question_toks": [
            "List",
            "the",
            "dates",
            "of",
            "games",
            "by",
            "the",
            "home",
            "team",
            "name",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT season ,  home_team ,  away_team FROM game",
        "query_toks": [
            "SELECT",
            "season",
            ",",
            "home_team",
            ",",
            "away_team",
            "FROM",
            "game"
        ],
        "query_toks_no_value": [
            "select",
            "season",
            ",",
            "home_team",
            ",",
            "away_team",
            "from",
            "game"
        ],
        "question": "List the season, home team, away team of all the games.",
        "question_toks": [
            "List",
            "the",
            "season",
            ",",
            "home",
            "team",
            ",",
            "away",
            "team",
            "of",
            "all",
            "the",
            "games",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT max(home_games) ,  min(home_games) ,  avg(home_games) FROM stadium",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "home_games",
            ")",
            ",",
            "min",
            "(",
            "home_games",
            ")",
            ",",
            "avg",
            "(",
            "home_games",
            ")",
            "FROM",
            "stadium"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "home_games",
            ")",
            ",",
            "min",
            "(",
            "home_games",
            ")",
            ",",
            "avg",
            "(",
            "home_games",
            ")",
            "from",
            "stadium"
        ],
        "question": "What are the maximum, minimum and average home games each stadium held?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            ",",
            "minimum",
            "and",
            "average",
            "home",
            "games",
            "each",
            "stadium",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT average_attendance FROM stadium WHERE capacity_percentage  >  100",
        "query_toks": [
            "SELECT",
            "average_attendance",
            "FROM",
            "stadium",
            "WHERE",
            "capacity_percentage",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "average_attendance",
            "from",
            "stadium",
            "where",
            "capacity_percentage",
            ">",
            "value"
        ],
        "question": "What is the average attendance of stadiums with capacity percentage higher than 100%?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "attendance",
            "of",
            "stadiums",
            "with",
            "capacity",
            "percentage",
            "higher",
            "than",
            "100",
            "%",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT player ,  number_of_matches ,  SOURCE FROM injury_accident WHERE injury != 'Knee problem'",
        "query_toks": [
            "SELECT",
            "player",
            ",",
            "number_of_matches",
            ",",
            "SOURCE",
            "FROM",
            "injury_accident",
            "WHERE",
            "injury",
            "!",
            "=",
            "'Knee",
            "problem",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "player",
            ",",
            "number_of_matches",
            ",",
            "source",
            "from",
            "injury_accident",
            "where",
            "injury",
            "!",
            "=",
            "value"
        ],
        "question": "What are the player name, number of matches, and information source for players who do not suffer from injury of 'Knee problem'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "player",
            "name",
            ",",
            "number",
            "of",
            "matches",
            ",",
            "and",
            "information",
            "source",
            "for",
            "players",
            "who",
            "do",
            "not",
            "suffer",
            "from",
            "injury",
            "of",
            "'Knee",
            "problem",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Knee problem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT T1.season FROM game AS T1 JOIN injury_accident AS T2 ON T1.id  =  T2.game_id WHERE T2.player  =  'Walter Samuel'",
        "query_toks": [
            "SELECT",
            "T1.season",
            "FROM",
            "game",
            "AS",
            "T1",
            "JOIN",
            "injury_accident",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.game_id",
            "WHERE",
            "T2.player",
            "=",
            "'Walter",
            "Samuel",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "season",
            "from",
            "game",
            "as",
            "t1",
            "join",
            "injury_accident",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "game_id",
            "where",
            "t2",
            ".",
            "player",
            "=",
            "value"
        ],
        "question": "What is the season of the game which causes the player 'Walter Samuel' to get injured?",
        "question_toks": [
            "What",
            "is",
            "the",
            "season",
            "of",
            "the",
            "game",
            "which",
            "causes",
            "the",
            "player",
            "'Walter",
            "Samuel",
            "'",
            "to",
            "get",
            "injured",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Walter Samuel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT T1.id ,  T1.score ,  T1.date FROM game AS T1 JOIN injury_accident AS T2 ON T2.game_id  =  T1.id GROUP BY T1.id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.score",
            ",",
            "T1.date",
            "FROM",
            "game",
            "AS",
            "T1",
            "JOIN",
            "injury_accident",
            "AS",
            "T2",
            "ON",
            "T2.game_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "score",
            ",",
            "t1",
            ".",
            "date",
            "from",
            "game",
            "as",
            "t1",
            "join",
            "injury_accident",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "game_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the ids, scores, and dates of the games which caused at least two injury accidents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "scores",
            ",",
            "and",
            "dates",
            "of",
            "the",
            "games",
            "which",
            "caused",
            "at",
            "least",
            "two",
            "injury",
            "accidents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT T1.id ,  T1.name FROM stadium AS T1 JOIN game AS T2 ON T1.id  =  T2.stadium_id JOIN injury_accident AS T3 ON T2.id  =  T3.game_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "stadium",
            "AS",
            "T1",
            "JOIN",
            "game",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.stadium_id",
            "JOIN",
            "injury_accident",
            "AS",
            "T3",
            "ON",
            "T2.id",
            "=",
            "T3.game_id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "stadium",
            "as",
            "t1",
            "join",
            "game",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "join",
            "injury_accident",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "game_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the id and name of the stadium where the most injury accidents happened?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "stadium",
            "where",
            "the",
            "most",
            "injury",
            "accidents",
            "happened",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT T1.id ,  T1.name FROM stadium AS T1 JOIN game AS T2 ON T1.id  =  T2.stadium_id JOIN injury_accident AS T3 ON T2.id  =  T3.game_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "stadium",
            "AS",
            "T1",
            "JOIN",
            "game",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.stadium_id",
            "JOIN",
            "injury_accident",
            "AS",
            "T3",
            "ON",
            "T2.id",
            "=",
            "T3.game_id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "stadium",
            "as",
            "t1",
            "join",
            "game",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "join",
            "injury_accident",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "game_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and name of the stadium where the largest number of injury accidents occurred.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "stadium",
            "where",
            "the",
            "largest",
            "number",
            "of",
            "injury",
            "accidents",
            "occurred",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT T1.season ,  T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.id JOIN injury_accident AS T3 ON T1.id  =  T3.game_id WHERE T3.injury  =  'Foot injury' OR T3.injury  =  'Knee problem'",
        "query_toks": [
            "SELECT",
            "T1.season",
            ",",
            "T2.name",
            "FROM",
            "game",
            "AS",
            "T1",
            "JOIN",
            "stadium",
            "AS",
            "T2",
            "ON",
            "T1.stadium_id",
            "=",
            "T2.id",
            "JOIN",
            "injury_accident",
            "AS",
            "T3",
            "ON",
            "T1.id",
            "=",
            "T3.game_id",
            "WHERE",
            "T3.injury",
            "=",
            "'Foot",
            "injury",
            "'",
            "OR",
            "T3.injury",
            "=",
            "'Knee",
            "problem",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "season",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "game",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "injury_accident",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "game_id",
            "where",
            "t3",
            ".",
            "injury",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "injury",
            "=",
            "value"
        ],
        "question": "In which season and which stadium did any player have an injury of 'Foot injury' or 'Knee problem'?",
        "question_toks": [
            "In",
            "which",
            "season",
            "and",
            "which",
            "stadium",
            "did",
            "any",
            "player",
            "have",
            "an",
            "injury",
            "of",
            "'Foot",
            "injury",
            "'",
            "or",
            "'Knee",
            "problem",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Foot injury\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Knee problem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT count(DISTINCT SOURCE) FROM injury_accident",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "SOURCE",
            ")",
            "FROM",
            "injury_accident"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "source",
            ")",
            "from",
            "injury_accident"
        ],
        "question": "How many different kinds of information sources are there for injury accidents?",
        "question_toks": [
            "How",
            "many",
            "different",
            "kinds",
            "of",
            "information",
            "sources",
            "are",
            "there",
            "for",
            "injury",
            "accidents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                20,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT count(*) FROM game WHERE id NOT IN ( SELECT game_id FROM injury_accident )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "game",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "game_id",
            "FROM",
            "injury_accident",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "game",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "game_id",
            "from",
            "injury_accident",
            ")"
        ],
        "question": "How many games are free of injury accidents?",
        "question_toks": [
            "How",
            "many",
            "games",
            "are",
            "free",
            "of",
            "injury",
            "accidents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT count(DISTINCT T1.injury) FROM injury_accident AS T1 JOIN game AS T2 ON T1.game_id  =  T2.id WHERE T2.season  >  2010",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T1.injury",
            ")",
            "FROM",
            "injury_accident",
            "AS",
            "T1",
            "JOIN",
            "game",
            "AS",
            "T2",
            "ON",
            "T1.game_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.season",
            ">",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "injury",
            ")",
            "from",
            "injury_accident",
            "as",
            "t1",
            "join",
            "game",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "game_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "season",
            ">",
            "value"
        ],
        "question": "How many distinct kinds of injuries happened after season 2010?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "kinds",
            "of",
            "injuries",
            "happened",
            "after",
            "season",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.id JOIN injury_accident AS T3 ON T1.id  =  T3.game_id WHERE T3.player  =  'Walter Samuel' INTERSECT SELECT T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.id JOIN injury_accident AS T3 ON T1.id  =  T3.game_id WHERE T3.player  =  'Thiago Motta'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "game",
            "AS",
            "T1",
            "JOIN",
            "stadium",
            "AS",
            "T2",
            "ON",
            "T1.stadium_id",
            "=",
            "T2.id",
            "JOIN",
            "injury_accident",
            "AS",
            "T3",
            "ON",
            "T1.id",
            "=",
            "T3.game_id",
            "WHERE",
            "T3.player",
            "=",
            "'Walter",
            "Samuel",
            "'",
            "INTERSECT",
            "SELECT",
            "T2.name",
            "FROM",
            "game",
            "AS",
            "T1",
            "JOIN",
            "stadium",
            "AS",
            "T2",
            "ON",
            "T1.stadium_id",
            "=",
            "T2.id",
            "JOIN",
            "injury_accident",
            "AS",
            "T3",
            "ON",
            "T1.id",
            "=",
            "T3.game_id",
            "WHERE",
            "T3.player",
            "=",
            "'Thiago",
            "Motta",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "game",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "injury_accident",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "game_id",
            "where",
            "t3",
            ".",
            "player",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "game",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "injury_accident",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "game_id",
            "where",
            "t3",
            ".",
            "player",
            "=",
            "value"
        ],
        "question": "List the name of the stadium where both the player 'Walter Samuel' and the player 'Thiago Motta' got injured.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "stadium",
            "where",
            "both",
            "the",
            "player",
            "'Walter",
            "Samuel",
            "'",
            "and",
            "the",
            "player",
            "'Thiago",
            "Motta",
            "'",
            "got",
            "injured",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Walter Samuel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Thiago Motta\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT name ,  average_attendance ,  total_attendance FROM stadium EXCEPT SELECT T2.name ,  T2.average_attendance ,  T2.total_attendance FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.id JOIN injury_accident AS T3 ON T1.id  =  T3.game_id",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "average_attendance",
            ",",
            "total_attendance",
            "FROM",
            "stadium",
            "EXCEPT",
            "SELECT",
            "T2.name",
            ",",
            "T2.average_attendance",
            ",",
            "T2.total_attendance",
            "FROM",
            "game",
            "AS",
            "T1",
            "JOIN",
            "stadium",
            "AS",
            "T2",
            "ON",
            "T1.stadium_id",
            "=",
            "T2.id",
            "JOIN",
            "injury_accident",
            "AS",
            "T3",
            "ON",
            "T1.id",
            "=",
            "T3.game_id"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "average_attendance",
            ",",
            "total_attendance",
            "from",
            "stadium",
            "except",
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "average_attendance",
            ",",
            "t2",
            ".",
            "total_attendance",
            "from",
            "game",
            "as",
            "t1",
            "join",
            "stadium",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stadium_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "injury_accident",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "game_id"
        ],
        "question": "Show the name, average attendance, total attendance for stadiums where no accidents happened.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "average",
            "attendance",
            ",",
            "total",
            "attendance",
            "for",
            "stadiums",
            "where",
            "no",
            "accidents",
            "happened",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT name FROM stadium WHERE name LIKE \"%Bank%\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "stadium",
            "WHERE",
            "name",
            "LIKE",
            "``",
            "%",
            "Bank",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "stadium",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Which stadium name contains the substring \"Bank\"?",
        "question_toks": [
            "Which",
            "stadium",
            "name",
            "contains",
            "the",
            "substring",
            "``",
            "Bank",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Bank%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT T1.id ,  count(*) FROM stadium AS T1 JOIN game AS T2 ON T1.id  =  T2.stadium_id GROUP BY T1.id",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "stadium",
            "AS",
            "T1",
            "JOIN",
            "game",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.stadium_id",
            "GROUP",
            "BY",
            "T1.id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "stadium",
            "as",
            "t1",
            "join",
            "game",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "group",
            "by",
            "t1",
            ".",
            "id"
        ],
        "question": "How many games has each stadium held?",
        "question_toks": [
            "How",
            "many",
            "games",
            "has",
            "each",
            "stadium",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_injury",
        "query": "SELECT T1.date ,  T2.player FROM game AS T1 JOIN injury_accident AS T2 ON T1.id  =  T2.game_id ORDER BY T1.season DESC",
        "query_toks": [
            "SELECT",
            "T1.date",
            ",",
            "T2.player",
            "FROM",
            "game",
            "AS",
            "T1",
            "JOIN",
            "injury_accident",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.game_id",
            "ORDER",
            "BY",
            "T1.season",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date",
            ",",
            "t2",
            ".",
            "player",
            "from",
            "game",
            "as",
            "t1",
            "join",
            "injury_accident",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "game_id",
            "order",
            "by",
            "t1",
            ".",
            "season",
            "desc"
        ],
        "question": "For each injury accident, find the date of the game and the name of the injured player in the game, and sort the results in descending order of game season.",
        "question_toks": [
            "For",
            "each",
            "injury",
            "accident",
            ",",
            "find",
            "the",
            "date",
            "of",
            "the",
            "game",
            "and",
            "the",
            "name",
            "of",
            "the",
            "injured",
            "player",
            "in",
            "the",
            "game",
            ",",
            "and",
            "sort",
            "the",
            "results",
            "in",
            "descending",
            "order",
            "of",
            "game",
            "season",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT T1.name ,  T2.name FROM Country AS T1 JOIN League AS T2 ON T1.id  =  T2.country_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.name",
            "FROM",
            "Country",
            "AS",
            "T1",
            "JOIN",
            "League",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.country_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "league",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "country_id"
        ],
        "question": "List all country and league names.",
        "question_toks": [
            "List",
            "all",
            "country",
            "and",
            "league",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                56,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                54,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT count(*) FROM Country AS T1 JOIN League AS T2 ON T1.id  =  T2.country_id WHERE T1.name  =  \"England\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Country",
            "AS",
            "T1",
            "JOIN",
            "League",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.country_id",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "England",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "league",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "country_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many leagues are there in England?",
        "question_toks": [
            "How",
            "many",
            "leagues",
            "are",
            "there",
            "in",
            "England",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ],
                    "\"England\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT avg(weight) FROM Player",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "weight",
            ")",
            "FROM",
            "Player"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "weight",
            ")",
            "from",
            "player"
        ],
        "question": "What is the average weight of all players?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "weight",
            "of",
            "all",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT max(weight) ,  min(weight) FROM Player",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "weight",
            ")",
            ",",
            "min",
            "(",
            "weight",
            ")",
            "FROM",
            "Player"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "weight",
            ")",
            ",",
            "min",
            "(",
            "weight",
            ")",
            "from",
            "player"
        ],
        "question": "What is the maximum and minimum height of all players?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "and",
            "minimum",
            "height",
            "of",
            "all",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.overall_rating  >  ( SELECT avg(overall_rating) FROM Player_Attributes )",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.player_name",
            "FROM",
            "Player",
            "AS",
            "T1",
            "JOIN",
            "Player_Attributes",
            "AS",
            "T2",
            "ON",
            "T1.player_api_id",
            "=",
            "T2.player_api_id",
            "WHERE",
            "T2.overall_rating",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "overall_rating",
            ")",
            "FROM",
            "Player_Attributes",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "player_name",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_api_id",
            "=",
            "t2",
            ".",
            "player_api_id",
            "where",
            "t2",
            ".",
            "overall_rating",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "overall_rating",
            ")",
            "from",
            "player_attributes",
            ")"
        ],
        "question": "List all player names who have an overall rating higher than the average.",
        "question_toks": [
            "List",
            "all",
            "player",
            "names",
            "who",
            "have",
            "an",
            "overall",
            "rating",
            "higher",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.dribbling  =  ( SELECT max(overall_rating) FROM Player_Attributes)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.player_name",
            "FROM",
            "Player",
            "AS",
            "T1",
            "JOIN",
            "Player_Attributes",
            "AS",
            "T2",
            "ON",
            "T1.player_api_id",
            "=",
            "T2.player_api_id",
            "WHERE",
            "T2.dribbling",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "overall_rating",
            ")",
            "FROM",
            "Player_Attributes",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "player_name",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_api_id",
            "=",
            "t2",
            ".",
            "player_api_id",
            "where",
            "t2",
            ".",
            "dribbling",
            "=",
            "(",
            "select",
            "max",
            "(",
            "overall_rating",
            ")",
            "from",
            "player_attributes",
            ")"
        ],
        "question": "What are the names of players who have the best dribbling?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "players",
            "who",
            "have",
            "the",
            "best",
            "dribbling",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.crossing  >  90 AND T2.preferred_foot  =  \"right\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.player_name",
            "FROM",
            "Player",
            "AS",
            "T1",
            "JOIN",
            "Player_Attributes",
            "AS",
            "T2",
            "ON",
            "T1.player_api_id",
            "=",
            "T2.player_api_id",
            "WHERE",
            "T2.crossing",
            ">",
            "90",
            "AND",
            "T2.preferred_foot",
            "=",
            "``",
            "right",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "player_name",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_api_id",
            "=",
            "t2",
            ".",
            "player_api_id",
            "where",
            "t2",
            ".",
            "crossing",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "preferred_foot",
            "=",
            "value"
        ],
        "question": "List the names of all players who have a crossing score higher than 90 and prefer their right foot.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "players",
            "who",
            "have",
            "a",
            "crossing",
            "score",
            "higher",
            "than",
            "90",
            "and",
            "prefer",
            "their",
            "right",
            "foot",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"right\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.preferred_foot  =  \"left\" AND T2.overall_rating  >=  85 AND T2.overall_rating  <=  90",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.player_name",
            "FROM",
            "Player",
            "AS",
            "T1",
            "JOIN",
            "Player_Attributes",
            "AS",
            "T2",
            "ON",
            "T1.player_api_id",
            "=",
            "T2.player_api_id",
            "WHERE",
            "T2.preferred_foot",
            "=",
            "``",
            "left",
            "''",
            "AND",
            "T2.overall_rating",
            ">",
            "=",
            "85",
            "AND",
            "T2.overall_rating",
            "<",
            "=",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "player_name",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_api_id",
            "=",
            "t2",
            ".",
            "player_api_id",
            "where",
            "t2",
            ".",
            "preferred_foot",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "overall_rating",
            ">",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "overall_rating",
            "<",
            "=",
            "value"
        ],
        "question": "List the names of all left-footed players who have overall rating between 85 and 90.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "left-footed",
            "players",
            "who",
            "have",
            "overall",
            "rating",
            "between",
            "85",
            "and",
            "90",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"left\"",
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    85.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT preferred_foot ,  avg(overall_rating) FROM Player_Attributes GROUP BY preferred_foot",
        "query_toks": [
            "SELECT",
            "preferred_foot",
            ",",
            "avg",
            "(",
            "overall_rating",
            ")",
            "FROM",
            "Player_Attributes",
            "GROUP",
            "BY",
            "preferred_foot"
        ],
        "query_toks_no_value": [
            "select",
            "preferred_foot",
            ",",
            "avg",
            "(",
            "overall_rating",
            ")",
            "from",
            "player_attributes",
            "group",
            "by",
            "preferred_foot"
        ],
        "question": "What is the average rating for right-footed players and left-footed players?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "rating",
            "for",
            "right-footed",
            "players",
            "and",
            "left-footed",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT preferred_foot ,  count(*) FROM Player_Attributes WHERE overall_rating  >  80 GROUP BY preferred_foot",
        "query_toks": [
            "SELECT",
            "preferred_foot",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Player_Attributes",
            "WHERE",
            "overall_rating",
            ">",
            "80",
            "GROUP",
            "BY",
            "preferred_foot"
        ],
        "query_toks_no_value": [
            "select",
            "preferred_foot",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player_attributes",
            "where",
            "overall_rating",
            ">",
            "value",
            "group",
            "by",
            "preferred_foot"
        ],
        "question": "Of all players with an overall rating greater than 80, how many are right-footed and left-footed?",
        "question_toks": [
            "Of",
            "all",
            "players",
            "with",
            "an",
            "overall",
            "rating",
            "greater",
            "than",
            "80",
            ",",
            "how",
            "many",
            "are",
            "right-footed",
            "and",
            "left-footed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    80.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT player_api_id FROM Player WHERE height  >=  180 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE overall_rating  >  85",
        "query_toks": [
            "SELECT",
            "player_api_id",
            "FROM",
            "Player",
            "WHERE",
            "height",
            ">",
            "=",
            "180",
            "INTERSECT",
            "SELECT",
            "player_api_id",
            "FROM",
            "Player_Attributes",
            "WHERE",
            "overall_rating",
            ">",
            "85"
        ],
        "query_toks_no_value": [
            "select",
            "player_api_id",
            "from",
            "player",
            "where",
            "height",
            ">",
            "=",
            "value",
            "intersect",
            "select",
            "player_api_id",
            "from",
            "player_attributes",
            "where",
            "overall_rating",
            ">",
            "value"
        ],
        "question": "List all of the player ids with a height of at least 180cm and an overall rating higher than 85.",
        "question_toks": [
            "List",
            "all",
            "of",
            "the",
            "player",
            "ids",
            "with",
            "a",
            "height",
            "of",
            "at",
            "least",
            "180cm",
            "and",
            "an",
            "overall",
            "rating",
            "higher",
            "than",
            "85",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    180.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        85.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT player_api_id FROM Player WHERE height  >=  180 AND height  <=  190 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE preferred_foot  =  \"left\"",
        "query_toks": [
            "SELECT",
            "player_api_id",
            "FROM",
            "Player",
            "WHERE",
            "height",
            ">",
            "=",
            "180",
            "AND",
            "height",
            "<",
            "=",
            "190",
            "INTERSECT",
            "SELECT",
            "player_api_id",
            "FROM",
            "Player_Attributes",
            "WHERE",
            "preferred_foot",
            "=",
            "``",
            "left",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "player_api_id",
            "from",
            "player",
            "where",
            "height",
            ">",
            "=",
            "value",
            "and",
            "height",
            "<",
            "=",
            "value",
            "intersect",
            "select",
            "player_api_id",
            "from",
            "player_attributes",
            "where",
            "preferred_foot",
            "=",
            "value"
        ],
        "question": "List all of the ids for left-footed players with a height between 180cm and 190cm.",
        "question_toks": [
            "List",
            "all",
            "of",
            "the",
            "ids",
            "for",
            "left-footed",
            "players",
            "with",
            "a",
            "height",
            "between",
            "180cm",
            "and",
            "190cm",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    180.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    190.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"left\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id  =  T2.player_api_id ORDER BY overall_rating DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.player_name",
            "FROM",
            "Player",
            "AS",
            "T1",
            "JOIN",
            "Player_Attributes",
            "AS",
            "T2",
            "ON",
            "T1.player_api_id",
            "=",
            "T2.player_api_id",
            "ORDER",
            "BY",
            "overall_rating",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "player_name",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_api_id",
            "=",
            "t2",
            ".",
            "player_api_id",
            "order",
            "by",
            "overall_rating",
            "desc",
            "limit",
            "value"
        ],
        "question": "Who are the top 3 players in terms of overall rating?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "top",
            "3",
            "players",
            "in",
            "terms",
            "of",
            "overall",
            "rating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_1",
        "query": "SELECT DISTINCT T1.player_name ,  T1.birthday FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id  =  T2.player_api_id ORDER BY potential DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.player_name",
            ",",
            "T1.birthday",
            "FROM",
            "Player",
            "AS",
            "T1",
            "JOIN",
            "Player_Attributes",
            "AS",
            "T2",
            "ON",
            "T1.player_api_id",
            "=",
            "T2.player_api_id",
            "ORDER",
            "BY",
            "potential",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "player_name",
            ",",
            "t1",
            ".",
            "birthday",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_attributes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_api_id",
            "=",
            "t2",
            ".",
            "player_api_id",
            "order",
            "by",
            "potential",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the names and birthdays of the top five players in terms of potential.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "birthdays",
            "of",
            "the",
            "top",
            "five",
            "players",
            "in",
            "terms",
            "of",
            "potential",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT count(*) FROM performance",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "performance"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "performance"
        ],
        "question": "How many performances are there?",
        "question_toks": [
            "How",
            "many",
            "performances",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT HOST FROM performance ORDER BY Attendance ASC",
        "query_toks": [
            "SELECT",
            "HOST",
            "FROM",
            "performance",
            "ORDER",
            "BY",
            "Attendance",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "host",
            "from",
            "performance",
            "order",
            "by",
            "attendance",
            "asc"
        ],
        "question": "List the hosts of performances in ascending order of attendance.",
        "question_toks": [
            "List",
            "the",
            "hosts",
            "of",
            "performances",
            "in",
            "ascending",
            "order",
            "of",
            "attendance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT Date ,  LOCATION FROM performance",
        "query_toks": [
            "SELECT",
            "Date",
            ",",
            "LOCATION",
            "FROM",
            "performance"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "location",
            "from",
            "performance"
        ],
        "question": "What are the dates and locations of performances?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "and",
            "locations",
            "of",
            "performances",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT Attendance FROM performance WHERE LOCATION  =  \"TD Garden\" OR LOCATION  =  \"Bell Centre\"",
        "query_toks": [
            "SELECT",
            "Attendance",
            "FROM",
            "performance",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "TD",
            "Garden",
            "''",
            "OR",
            "LOCATION",
            "=",
            "``",
            "Bell",
            "Centre",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "attendance",
            "from",
            "performance",
            "where",
            "location",
            "=",
            "value",
            "or",
            "location",
            "=",
            "value"
        ],
        "question": "Show the attendances of the performances at location \"TD Garden\" or \"Bell Centre\"",
        "question_toks": [
            "Show",
            "the",
            "attendances",
            "of",
            "the",
            "performances",
            "at",
            "location",
            "``",
            "TD",
            "Garden",
            "''",
            "or",
            "``",
            "Bell",
            "Centre",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"TD Garden\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Bell Centre\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT avg(Attendance) FROM performance",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Attendance",
            ")",
            "FROM",
            "performance"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "attendance",
            ")",
            "from",
            "performance"
        ],
        "question": "What is the average number of attendees for performances?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "attendees",
            "for",
            "performances",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT Date FROM performance ORDER BY Attendance DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Date",
            "FROM",
            "performance",
            "ORDER",
            "BY",
            "Attendance",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "performance",
            "order",
            "by",
            "attendance",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the date of the performance with the highest number of attendees?",
        "question_toks": [
            "What",
            "is",
            "the",
            "date",
            "of",
            "the",
            "performance",
            "with",
            "the",
            "highest",
            "number",
            "of",
            "attendees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT LOCATION ,  COUNT(*) FROM performance GROUP BY LOCATION",
        "query_toks": [
            "SELECT",
            "LOCATION",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "performance",
            "GROUP",
            "BY",
            "LOCATION"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "performance",
            "group",
            "by",
            "location"
        ],
        "question": "Show different locations and the number of performances at each location.",
        "question_toks": [
            "Show",
            "different",
            "locations",
            "and",
            "the",
            "number",
            "of",
            "performances",
            "at",
            "each",
            "location",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT LOCATION FROM performance GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "performance",
            "GROUP",
            "BY",
            "LOCATION",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "performance",
            "group",
            "by",
            "location",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common location of performances.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "location",
            "of",
            "performances",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT LOCATION FROM performance GROUP BY LOCATION HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "performance",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "performance",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the locations that have at least two performances.",
        "question_toks": [
            "Show",
            "the",
            "locations",
            "that",
            "have",
            "at",
            "least",
            "two",
            "performances",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT LOCATION FROM performance WHERE Attendance  >  2000 INTERSECT SELECT LOCATION FROM performance WHERE Attendance  <  1000",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "performance",
            "WHERE",
            "Attendance",
            ">",
            "2000",
            "INTERSECT",
            "SELECT",
            "LOCATION",
            "FROM",
            "performance",
            "WHERE",
            "Attendance",
            "<",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "performance",
            "where",
            "attendance",
            ">",
            "value",
            "intersect",
            "select",
            "location",
            "from",
            "performance",
            "where",
            "attendance",
            "<",
            "value"
        ],
        "question": "Show the locations that have both performances with more than 2000 attendees and performances with less than 1000 attendees.",
        "question_toks": [
            "Show",
            "the",
            "locations",
            "that",
            "have",
            "both",
            "performances",
            "with",
            "more",
            "than",
            "2000",
            "attendees",
            "and",
            "performances",
            "with",
            "less",
            "than",
            "1000",
            "attendees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        1000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT T2.Name ,  T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID  =  T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID  =  T3.Performance_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T3.Location",
            "FROM",
            "member_attendance",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.Member_ID",
            "=",
            "T2.Member_ID",
            "JOIN",
            "performance",
            "AS",
            "T3",
            "ON",
            "T1.Performance_ID",
            "=",
            "T3.Performance_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "location",
            "from",
            "member_attendance",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "join",
            "performance",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "performance_id",
            "=",
            "t3",
            ".",
            "performance_id"
        ],
        "question": "Show the names of members and the location of the performances they attended.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "and",
            "the",
            "location",
            "of",
            "the",
            "performances",
            "they",
            "attended",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT T2.Name ,  T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID  =  T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID  =  T3.Performance_ID ORDER BY T2.Name ASC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T3.Location",
            "FROM",
            "member_attendance",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.Member_ID",
            "=",
            "T2.Member_ID",
            "JOIN",
            "performance",
            "AS",
            "T3",
            "ON",
            "T1.Performance_ID",
            "=",
            "T3.Performance_ID",
            "ORDER",
            "BY",
            "T2.Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "location",
            "from",
            "member_attendance",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "join",
            "performance",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "performance_id",
            "=",
            "t3",
            ".",
            "performance_id",
            "order",
            "by",
            "t2",
            ".",
            "name",
            "asc"
        ],
        "question": "Show the names of members and the location of performances they attended in ascending alphabetical order of their names.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "and",
            "the",
            "location",
            "of",
            "performances",
            "they",
            "attended",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "of",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT T3.Date FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID  =  T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID  =  T3.Performance_ID WHERE T2.Role  =  \"Violin\"",
        "query_toks": [
            "SELECT",
            "T3.Date",
            "FROM",
            "member_attendance",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.Member_ID",
            "=",
            "T2.Member_ID",
            "JOIN",
            "performance",
            "AS",
            "T3",
            "ON",
            "T1.Performance_ID",
            "=",
            "T3.Performance_ID",
            "WHERE",
            "T2.Role",
            "=",
            "``",
            "Violin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "date",
            "from",
            "member_attendance",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "join",
            "performance",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "performance_id",
            "=",
            "t3",
            ".",
            "performance_id",
            "where",
            "t2",
            ".",
            "role",
            "=",
            "value"
        ],
        "question": "Show the dates of performances with attending members whose roles are \"Violin\".",
        "question_toks": [
            "Show",
            "the",
            "dates",
            "of",
            "performances",
            "with",
            "attending",
            "members",
            "whose",
            "roles",
            "are",
            "``",
            "Violin",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Violin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT T2.Name ,  T3.Date FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID  =  T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID  =  T3.Performance_ID ORDER BY T3.Attendance DESC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T3.Date",
            "FROM",
            "member_attendance",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.Member_ID",
            "=",
            "T2.Member_ID",
            "JOIN",
            "performance",
            "AS",
            "T3",
            "ON",
            "T1.Performance_ID",
            "=",
            "T3.Performance_ID",
            "ORDER",
            "BY",
            "T3.Attendance",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "date",
            "from",
            "member_attendance",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "join",
            "performance",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "performance_id",
            "=",
            "t3",
            ".",
            "performance_id",
            "order",
            "by",
            "t3",
            ".",
            "attendance",
            "desc"
        ],
        "question": "Show the names of members and the dates of performances they attended in descending order of attendance of the performances.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "and",
            "the",
            "dates",
            "of",
            "performances",
            "they",
            "attended",
            "in",
            "descending",
            "order",
            "of",
            "attendance",
            "of",
            "the",
            "performances",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "performance_attendance",
        "query": "SELECT Name FROM member WHERE Member_ID NOT IN (SELECT Member_ID FROM member_attendance)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "member",
            "WHERE",
            "Member_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Member_ID",
            "FROM",
            "member_attendance",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "member",
            "where",
            "member_id",
            "not",
            "in",
            "(",
            "select",
            "member_id",
            "from",
            "member_attendance",
            ")"
        ],
        "question": "List the names of members who did not attend any performance.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "members",
            "who",
            "did",
            "not",
            "attend",
            "any",
            "performance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT DISTINCT building FROM classroom WHERE capacity  >  50",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "building",
            "FROM",
            "classroom",
            "WHERE",
            "capacity",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "building",
            "from",
            "classroom",
            "where",
            "capacity",
            ">",
            "value"
        ],
        "question": "Find the buildings which have rooms with capacity more than 50.",
        "question_toks": [
            "Find",
            "the",
            "buildings",
            "which",
            "have",
            "rooms",
            "with",
            "capacity",
            "more",
            "than",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT DISTINCT building FROM classroom WHERE capacity  >  50",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "building",
            "FROM",
            "classroom",
            "WHERE",
            "capacity",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "building",
            "from",
            "classroom",
            "where",
            "capacity",
            ">",
            "value"
        ],
        "question": "What are the distinct buildings with capacities of greater than 50?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "buildings",
            "with",
            "capacities",
            "of",
            "greater",
            "than",
            "50",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) FROM classroom WHERE building != 'Lamberton'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "classroom",
            "WHERE",
            "building",
            "!",
            "=",
            "'Lamberton",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "classroom",
            "where",
            "building",
            "!",
            "=",
            "value"
        ],
        "question": "Count the number of rooms that are not in the Lamberton building.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "rooms",
            "that",
            "are",
            "not",
            "in",
            "the",
            "Lamberton",
            "building",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Lamberton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) FROM classroom WHERE building != 'Lamberton'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "classroom",
            "WHERE",
            "building",
            "!",
            "=",
            "'Lamberton",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "classroom",
            "where",
            "building",
            "!",
            "=",
            "value"
        ],
        "question": "How many classrooms are not in Lamberton?",
        "question_toks": [
            "How",
            "many",
            "classrooms",
            "are",
            "not",
            "in",
            "Lamberton",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Lamberton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  building FROM department WHERE budget  >  (SELECT avg(budget) FROM department)",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "building",
            "FROM",
            "department",
            "WHERE",
            "budget",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "budget",
            ")",
            "FROM",
            "department",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "building",
            "from",
            "department",
            "where",
            "budget",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "budget",
            ")",
            "from",
            "department",
            ")"
        ],
        "question": "What is the name and building of the departments whose budget is more than the average budget?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "building",
            "of",
            "the",
            "departments",
            "whose",
            "budget",
            "is",
            "more",
            "than",
            "the",
            "average",
            "budget",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  building FROM department WHERE budget  >  (SELECT avg(budget) FROM department)",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "building",
            "FROM",
            "department",
            "WHERE",
            "budget",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "budget",
            ")",
            "FROM",
            "department",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "building",
            "from",
            "department",
            "where",
            "budget",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "budget",
            ")",
            "from",
            "department",
            ")"
        ],
        "question": "Give the name and building of the departments with greater than average budget.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "and",
            "building",
            "of",
            "the",
            "departments",
            "with",
            "greater",
            "than",
            "average",
            "budget",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT building ,  room_number FROM classroom WHERE capacity BETWEEN 50 AND 100",
        "query_toks": [
            "SELECT",
            "building",
            ",",
            "room_number",
            "FROM",
            "classroom",
            "WHERE",
            "capacity",
            "BETWEEN",
            "50",
            "AND",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "building",
            ",",
            "room_number",
            "from",
            "classroom",
            "where",
            "capacity",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the room number of the rooms which can sit 50 to 100 students and their buildings.",
        "question_toks": [
            "Find",
            "the",
            "room",
            "number",
            "of",
            "the",
            "rooms",
            "which",
            "can",
            "sit",
            "50",
            "to",
            "100",
            "students",
            "and",
            "their",
            "buildings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50.0,
                    100.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT building ,  room_number FROM classroom WHERE capacity BETWEEN 50 AND 100",
        "query_toks": [
            "SELECT",
            "building",
            ",",
            "room_number",
            "FROM",
            "classroom",
            "WHERE",
            "capacity",
            "BETWEEN",
            "50",
            "AND",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "building",
            ",",
            "room_number",
            "from",
            "classroom",
            "where",
            "capacity",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "room",
            "numbers",
            "and",
            "corresponding",
            "buildings",
            "for",
            "classrooms",
            "which",
            "can",
            "seat",
            "between",
            "50",
            "to",
            "100",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50.0,
                    100.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  building FROM department ORDER BY budget DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "building",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "budget",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "building",
            "from",
            "department",
            "order",
            "by",
            "budget",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and building of the department with the highest budget.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "building",
            "of",
            "the",
            "department",
            "with",
            "the",
            "highest",
            "budget",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  building FROM department ORDER BY budget DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "building",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "budget",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "building",
            "from",
            "department",
            "order",
            "by",
            "budget",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the department name and corresponding building for the department with the greatest budget?",
        "question_toks": [
            "What",
            "is",
            "the",
            "department",
            "name",
            "and",
            "corresponding",
            "building",
            "for",
            "the",
            "department",
            "with",
            "the",
            "greatest",
            "budget",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM student WHERE dept_name  =  'History' ORDER BY tot_cred DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "student",
            "WHERE",
            "dept_name",
            "=",
            "'History",
            "'",
            "ORDER",
            "BY",
            "tot_cred",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "student",
            "where",
            "dept_name",
            "=",
            "value",
            "order",
            "by",
            "tot_cred",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the student who has the highest total credits in the History department.",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "student",
            "who",
            "has",
            "the",
            "highest",
            "total",
            "credits",
            "in",
            "the",
            "History",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM student WHERE dept_name  =  'History' ORDER BY tot_cred DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "student",
            "WHERE",
            "dept_name",
            "=",
            "'History",
            "'",
            "ORDER",
            "BY",
            "tot_cred",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "student",
            "where",
            "dept_name",
            "=",
            "value",
            "order",
            "by",
            "tot_cred",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the name of the student in the History department with the most credits.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "the",
            "student",
            "in",
            "the",
            "History",
            "department",
            "with",
            "the",
            "most",
            "credits",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) FROM classroom WHERE building  =  'Lamberton'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "classroom",
            "WHERE",
            "building",
            "=",
            "'Lamberton",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "classroom",
            "where",
            "building",
            "=",
            "value"
        ],
        "question": "How many rooms does the Lamberton building have?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "does",
            "the",
            "Lamberton",
            "building",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Lamberton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) FROM classroom WHERE building  =  'Lamberton'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "classroom",
            "WHERE",
            "building",
            "=",
            "'Lamberton",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "classroom",
            "where",
            "building",
            "=",
            "value"
        ],
        "question": "Count the number of classrooms in Lamberton.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "classrooms",
            "in",
            "Lamberton",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Lamberton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(DISTINCT s_id) FROM advisor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "s_id",
            ")",
            "FROM",
            "advisor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "s_id",
            ")",
            "from",
            "advisor"
        ],
        "question": "How many students have advisors?",
        "question_toks": [
            "How",
            "many",
            "students",
            "have",
            "advisors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                37,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(DISTINCT s_id) FROM advisor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "s_id",
            ")",
            "FROM",
            "advisor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "s_id",
            ")",
            "from",
            "advisor"
        ],
        "question": "Count the number of students who have advisors.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "students",
            "who",
            "have",
            "advisors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                37,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(DISTINCT dept_name) FROM course",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            "FROM",
            "course"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            "from",
            "course"
        ],
        "question": "How many departments offer courses?",
        "question_toks": [
            "How",
            "many",
            "departments",
            "offer",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(DISTINCT dept_name) FROM course",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            "FROM",
            "course"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            "from",
            "course"
        ],
        "question": "Count the number of departments which offer courses.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "departments",
            "which",
            "offer",
            "courses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(DISTINCT course_id) FROM course WHERE dept_name  =  'Physics'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "course_id",
            ")",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Physics",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "course_id",
            ")",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "How many different courses offered by Physics department?",
        "question_toks": [
            "How",
            "many",
            "different",
            "courses",
            "offered",
            "by",
            "Physics",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Physics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(DISTINCT course_id) FROM course WHERE dept_name  =  'Physics'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "course_id",
            ")",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Physics",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "course_id",
            ")",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Count the number of courses in the Physics department.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "courses",
            "in",
            "the",
            "Physics",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Physics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id  =  T2.course_id GROUP BY T2.course_id HAVING count(*)  =  2",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "prereq",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T2.course_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "prereq",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t2",
            ".",
            "course_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Find the title of courses that have two prerequisites?",
        "question_toks": [
            "Find",
            "the",
            "title",
            "of",
            "courses",
            "that",
            "have",
            "two",
            "prerequisites",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id  =  T2.course_id GROUP BY T2.course_id HAVING count(*)  =  2",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "prereq",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T2.course_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "prereq",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t2",
            ".",
            "course_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the titles for courses with two prerequisites?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "for",
            "courses",
            "with",
            "two",
            "prerequisites",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.title ,  T1.credits , T1.dept_name FROM course AS T1 JOIN prereq AS T2 ON T1.course_id  =  T2.course_id GROUP BY T2.course_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.credits",
            ",",
            "T1.dept_name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "prereq",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T2.course_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "credits",
            ",",
            "t1",
            ".",
            "dept_name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "prereq",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t2",
            ".",
            "course_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the title, credit, and department name of courses that have more than one prerequisites?",
        "question_toks": [
            "Find",
            "the",
            "title",
            ",",
            "credit",
            ",",
            "and",
            "department",
            "name",
            "of",
            "courses",
            "that",
            "have",
            "more",
            "than",
            "one",
            "prerequisites",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.title ,  T1.credits , T1.dept_name FROM course AS T1 JOIN prereq AS T2 ON T1.course_id  =  T2.course_id GROUP BY T2.course_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.credits",
            ",",
            "T1.dept_name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "prereq",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T2.course_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "credits",
            ",",
            "t1",
            ".",
            "dept_name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "prereq",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t2",
            ".",
            "course_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What is the title, credit value, and department name for courses with more than one prerequisite?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            ",",
            "credit",
            "value",
            ",",
            "and",
            "department",
            "name",
            "for",
            "courses",
            "with",
            "more",
            "than",
            "one",
            "prerequisite",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "course_id",
            "FROM",
            "prereq",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "course",
            "where",
            "course_id",
            "not",
            "in",
            "(",
            "select",
            "course_id",
            "from",
            "prereq",
            ")"
        ],
        "question": "How many courses that do not have prerequisite?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "that",
            "do",
            "not",
            "have",
            "prerequisite",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "course_id",
            "FROM",
            "prereq",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "course",
            "where",
            "course_id",
            "not",
            "in",
            "(",
            "select",
            "course_id",
            "from",
            "prereq",
            ")"
        ],
        "question": "Count the number of courses without prerequisites.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "courses",
            "without",
            "prerequisites",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "course_id",
            "FROM",
            "prereq",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "not",
            "in",
            "(",
            "select",
            "course_id",
            "from",
            "prereq",
            ")"
        ],
        "question": "Find the name of the courses that do not have any prerequisite?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "courses",
            "that",
            "do",
            "not",
            "have",
            "any",
            "prerequisite",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "course_id",
            "FROM",
            "prereq",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "not",
            "in",
            "(",
            "select",
            "course_id",
            "from",
            "prereq",
            ")"
        ],
        "question": "What are the titles of courses without prerequisites?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "courses",
            "without",
            "prerequisites",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT COUNT (DISTINCT id) FROM teaches",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "id",
            ")",
            "FROM",
            "teaches"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "id",
            ")",
            "from",
            "teaches"
        ],
        "question": "How many different instructors have taught some course?",
        "question_toks": [
            "How",
            "many",
            "different",
            "instructors",
            "have",
            "taught",
            "some",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                22,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT COUNT (DISTINCT id) FROM teaches",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "id",
            ")",
            "FROM",
            "teaches"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "id",
            ")",
            "from",
            "teaches"
        ],
        "question": "Count the number of distinct instructors who have taught a course.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "instructors",
            "who",
            "have",
            "taught",
            "a",
            "course",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                22,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT sum(budget) FROM department WHERE dept_name  =  'Marketing' OR dept_name  =  'Finance'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "budget",
            ")",
            "FROM",
            "department",
            "WHERE",
            "dept_name",
            "=",
            "'Marketing",
            "'",
            "OR",
            "dept_name",
            "=",
            "'Finance",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "budget",
            ")",
            "from",
            "department",
            "where",
            "dept_name",
            "=",
            "value",
            "or",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the total budgets of the Marketing or Finance department.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "budgets",
            "of",
            "the",
            "Marketing",
            "or",
            "Finance",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Marketing\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Finance\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT sum(budget) FROM department WHERE dept_name  =  'Marketing' OR dept_name  =  'Finance'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "budget",
            ")",
            "FROM",
            "department",
            "WHERE",
            "dept_name",
            "=",
            "'Marketing",
            "'",
            "OR",
            "dept_name",
            "=",
            "'Finance",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "budget",
            ")",
            "from",
            "department",
            "where",
            "dept_name",
            "=",
            "value",
            "or",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What is the sum of budgets of the Marketing and Finance departments?",
        "question_toks": [
            "What",
            "is",
            "the",
            "sum",
            "of",
            "budgets",
            "of",
            "the",
            "Marketing",
            "and",
            "Finance",
            "departments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Marketing\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Finance\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%'",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "instructor",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "Soisalon",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "instructor",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Find the department name of the instructor whose name contains 'Soisalon'.",
        "question_toks": [
            "Find",
            "the",
            "department",
            "name",
            "of",
            "the",
            "instructor",
            "whose",
            "name",
            "contains",
            "'Soisalon",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"%Soisalon%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%'",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "instructor",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "Soisalon",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "instructor",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "What is the name of the department with an instructure who has a name like 'Soisalon'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "with",
            "an",
            "instructure",
            "who",
            "has",
            "a",
            "name",
            "like",
            "'Soisalon",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"%Soisalon%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) FROM classroom WHERE building  =  'Lamberton' AND capacity  <  50",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "classroom",
            "WHERE",
            "building",
            "=",
            "'Lamberton",
            "'",
            "AND",
            "capacity",
            "<",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "classroom",
            "where",
            "building",
            "=",
            "value",
            "and",
            "capacity",
            "<",
            "value"
        ],
        "question": "How many rooms whose capacity is less than 50 does the Lamberton building have?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "whose",
            "capacity",
            "is",
            "less",
            "than",
            "50",
            "does",
            "the",
            "Lamberton",
            "building",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Lamberton\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) FROM classroom WHERE building  =  'Lamberton' AND capacity  <  50",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "classroom",
            "WHERE",
            "building",
            "=",
            "'Lamberton",
            "'",
            "AND",
            "capacity",
            "<",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "classroom",
            "where",
            "building",
            "=",
            "value",
            "and",
            "capacity",
            "<",
            "value"
        ],
        "question": "Count the number of rooms in Lamberton with capacity lower than 50.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "rooms",
            "in",
            "Lamberton",
            "with",
            "capacity",
            "lower",
            "than",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Lamberton\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  budget FROM department WHERE budget  >  (SELECT avg(budget) FROM department)",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "budget",
            "FROM",
            "department",
            "WHERE",
            "budget",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "budget",
            ")",
            "FROM",
            "department",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "budget",
            "from",
            "department",
            "where",
            "budget",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "budget",
            ")",
            "from",
            "department",
            ")"
        ],
        "question": "Find the name and budget of departments whose budgets are more than the average budget.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "budget",
            "of",
            "departments",
            "whose",
            "budgets",
            "are",
            "more",
            "than",
            "the",
            "average",
            "budget",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  budget FROM department WHERE budget  >  (SELECT avg(budget) FROM department)",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "budget",
            "FROM",
            "department",
            "WHERE",
            "budget",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "budget",
            ")",
            "FROM",
            "department",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "budget",
            "from",
            "department",
            "where",
            "budget",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "budget",
            ")",
            "from",
            "department",
            ")"
        ],
        "question": "What are the names and budgets of departments with budgets greater than the average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "budgets",
            "of",
            "departments",
            "with",
            "budgets",
            "greater",
            "than",
            "the",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE dept_name  =  'Statistics' ORDER BY salary LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Statistics",
            "'",
            "ORDER",
            "BY",
            "salary",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            "order",
            "by",
            "salary",
            "limit",
            "value"
        ],
        "question": "what is the name of the instructor who is in Statistics department and earns the lowest salary?",
        "question_toks": [
            "what",
            "is",
            "the",
            "name",
            "of",
            "the",
            "instructor",
            "who",
            "is",
            "in",
            "Statistics",
            "department",
            "and",
            "earns",
            "the",
            "lowest",
            "salary",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE dept_name  =  'Statistics' ORDER BY salary LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Statistics",
            "'",
            "ORDER",
            "BY",
            "salary",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            "order",
            "by",
            "salary",
            "limit",
            "value"
        ],
        "question": "Give the name of the lowest earning instructor in the Statistics department.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "the",
            "lowest",
            "earning",
            "instructor",
            "in",
            "the",
            "Statistics",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE dept_name  =  'Statistics' INTERSECT SELECT title FROM course WHERE dept_name  =  'Psychology'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Statistics",
            "'",
            "INTERSECT",
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Psychology",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value",
            "intersect",
            "select",
            "title",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the title of course that is provided by both Statistics and Psychology departments.",
        "question_toks": [
            "Find",
            "the",
            "title",
            "of",
            "course",
            "that",
            "is",
            "provided",
            "by",
            "both",
            "Statistics",
            "and",
            "Psychology",
            "departments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Psychology\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE dept_name  =  'Statistics' INTERSECT SELECT title FROM course WHERE dept_name  =  'Psychology'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Statistics",
            "'",
            "INTERSECT",
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Psychology",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value",
            "intersect",
            "select",
            "title",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What is the title of a course that is listed in both the Statistics and Psychology departments?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "a",
            "course",
            "that",
            "is",
            "listed",
            "in",
            "both",
            "the",
            "Statistics",
            "and",
            "Psychology",
            "departments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Psychology\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE dept_name  =  'Statistics' EXCEPT SELECT title FROM course WHERE dept_name  =  'Psychology'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Statistics",
            "'",
            "EXCEPT",
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Psychology",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value",
            "except",
            "select",
            "title",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the title of course that is provided by Statistics but not Psychology departments.",
        "question_toks": [
            "Find",
            "the",
            "title",
            "of",
            "course",
            "that",
            "is",
            "provided",
            "by",
            "Statistics",
            "but",
            "not",
            "Psychology",
            "departments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Psychology\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE dept_name  =  'Statistics' EXCEPT SELECT title FROM course WHERE dept_name  =  'Psychology'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Statistics",
            "'",
            "EXCEPT",
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "dept_name",
            "=",
            "'Psychology",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value",
            "except",
            "select",
            "title",
            "from",
            "course",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the titles of courses that are in the Statistics department but not the Psychology department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "courses",
            "that",
            "are",
            "in",
            "the",
            "Statistics",
            "department",
            "but",
            "not",
            "the",
            "Psychology",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Psychology\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT id FROM teaches WHERE semester  =  'Fall' AND YEAR  =  2009 EXCEPT SELECT id FROM teaches WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "teaches",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2009",
            "EXCEPT",
            "SELECT",
            "id",
            "FROM",
            "teaches",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "teaches",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            "except",
            "select",
            "id",
            "from",
            "teaches",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "Find the id of instructors who taught a class in Fall 2009 but not in Spring 2010.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "instructors",
            "who",
            "taught",
            "a",
            "class",
            "in",
            "Fall",
            "2009",
            "but",
            "not",
            "in",
            "Spring",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"Spring\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        2010.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT id FROM teaches WHERE semester  =  'Fall' AND YEAR  =  2009 EXCEPT SELECT id FROM teaches WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "teaches",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2009",
            "EXCEPT",
            "SELECT",
            "id",
            "FROM",
            "teaches",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "teaches",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            "except",
            "select",
            "id",
            "from",
            "teaches",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "What are the ids of instructors who taught in the Fall of 2009 but not in the Spring of 2010?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "instructors",
            "who",
            "taught",
            "in",
            "the",
            "Fall",
            "of",
            "2009",
            "but",
            "not",
            "in",
            "the",
            "Spring",
            "of",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"Spring\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        2010.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id  =  T2.id WHERE YEAR  =  2009 OR YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "takes",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.id",
            "WHERE",
            "YEAR",
            "=",
            "2009",
            "OR",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "takes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "Find the name of students who took any class in the years of 2009 and 2010.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "students",
            "who",
            "took",
            "any",
            "class",
            "in",
            "the",
            "years",
            "of",
            "2009",
            "and",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id  =  T2.id WHERE YEAR  =  2009 OR YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "takes",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.id",
            "WHERE",
            "YEAR",
            "=",
            "2009",
            "OR",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "takes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "What are the names of the students who took classes in 2009 or 2010?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "students",
            "who",
            "took",
            "classes",
            "in",
            "2009",
            "or",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "dept_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "course",
            "group",
            "by",
            "dept_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the names of the top 3 departments that provide the largest amount of courses?",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "top",
            "3",
            "departments",
            "that",
            "provide",
            "the",
            "largest",
            "amount",
            "of",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "dept_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "course",
            "group",
            "by",
            "dept_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the 3 departments with the most courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "3",
            "departments",
            "with",
            "the",
            "most",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY sum(credits) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "dept_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "credits",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "course",
            "group",
            "by",
            "dept_name",
            "order",
            "by",
            "sum",
            "(",
            "credits",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the department that offers the highest total credits?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "department",
            "that",
            "offers",
            "the",
            "highest",
            "total",
            "credits",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY sum(credits) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "dept_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "credits",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "course",
            "group",
            "by",
            "dept_name",
            "order",
            "by",
            "sum",
            "(",
            "credits",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the department with the most credits?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "with",
            "the",
            "most",
            "credits",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course ORDER BY title ,  credits",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "ORDER",
            "BY",
            "title",
            ",",
            "credits"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "order",
            "by",
            "title",
            ",",
            "credits"
        ],
        "question": "List the names of all courses ordered by their titles and credits.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "courses",
            "ordered",
            "by",
            "their",
            "titles",
            "and",
            "credits",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course ORDER BY title ,  credits",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "ORDER",
            "BY",
            "title",
            ",",
            "credits"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "order",
            "by",
            "title",
            ",",
            "credits"
        ],
        "question": "Given the titles of all courses, in order of titles and credits.",
        "question_toks": [
            "Given",
            "the",
            "titles",
            "of",
            "all",
            "courses",
            ",",
            "in",
            "order",
            "of",
            "titles",
            "and",
            "credits",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM department ORDER BY budget LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "budget",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "department",
            "order",
            "by",
            "budget",
            "limit",
            "value"
        ],
        "question": "Which department has the lowest budget?",
        "question_toks": [
            "Which",
            "department",
            "has",
            "the",
            "lowest",
            "budget",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM department ORDER BY budget LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "budget",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "department",
            "order",
            "by",
            "budget",
            "limit",
            "value"
        ],
        "question": "Give the name of the department with the lowest budget.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "the",
            "department",
            "with",
            "the",
            "lowest",
            "budget",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  building FROM department ORDER BY budget DESC",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "building",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "budget",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "building",
            "from",
            "department",
            "order",
            "by",
            "budget",
            "desc"
        ],
        "question": "List the names and buildings of all departments sorted by the budget from large to small.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "buildings",
            "of",
            "all",
            "departments",
            "sorted",
            "by",
            "the",
            "budget",
            "from",
            "large",
            "to",
            "small",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  building FROM department ORDER BY budget DESC",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "building",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "budget",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "building",
            "from",
            "department",
            "order",
            "by",
            "budget",
            "desc"
        ],
        "question": "What are the names and buildings of the deparments, sorted by budget descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "buildings",
            "of",
            "the",
            "deparments",
            ",",
            "sorted",
            "by",
            "budget",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor ORDER BY salary DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "ORDER",
            "BY",
            "salary",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "order",
            "by",
            "salary",
            "desc",
            "limit",
            "value"
        ],
        "question": "Who is the instructor with the highest salary?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "instructor",
            "with",
            "the",
            "highest",
            "salary",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor ORDER BY salary DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "ORDER",
            "BY",
            "salary",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "order",
            "by",
            "salary",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the name of the highest paid instructor.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "the",
            "highest",
            "paid",
            "instructor",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT * FROM instructor ORDER BY salary",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "instructor",
            "ORDER",
            "BY",
            "salary"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "instructor",
            "order",
            "by",
            "salary"
        ],
        "question": "List the information of all instructors ordered by their salary in ascending order.",
        "question_toks": [
            "List",
            "the",
            "information",
            "of",
            "all",
            "instructors",
            "ordered",
            "by",
            "their",
            "salary",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT * FROM instructor ORDER BY salary",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "instructor",
            "ORDER",
            "BY",
            "salary"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "instructor",
            "order",
            "by",
            "salary"
        ],
        "question": "Give all information regarding instructors, in order of salary from least to greatest.",
        "question_toks": [
            "Give",
            "all",
            "information",
            "regarding",
            "instructors",
            ",",
            "in",
            "order",
            "of",
            "salary",
            "from",
            "least",
            "to",
            "greatest",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name ,  dept_name FROM student ORDER BY tot_cred",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "dept_name",
            "FROM",
            "student",
            "ORDER",
            "BY",
            "tot_cred"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "dept_name",
            "from",
            "student",
            "order",
            "by",
            "tot_cred"
        ],
        "question": "Find the name of the students and their department names sorted by their total credits in ascending order.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "students",
            "and",
            "their",
            "department",
            "names",
            "sorted",
            "by",
            "their",
            "total",
            "credits",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name ,  dept_name FROM student ORDER BY tot_cred",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "dept_name",
            "FROM",
            "student",
            "ORDER",
            "BY",
            "tot_cred"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "dept_name",
            "from",
            "student",
            "order",
            "by",
            "tot_cred"
        ],
        "question": "What are the names of students and their respective departments, ordered by number of credits from least to greatest?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "students",
            "and",
            "their",
            "respective",
            "departments",
            ",",
            "ordered",
            "by",
            "number",
            "of",
            "credits",
            "from",
            "least",
            "to",
            "greatest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.title ,  T3.name FROM course AS T1 JOIN teaches AS T2 ON T1.course_id  =  T2.course_id JOIN instructor AS T3 ON T2.id  =  T3.id WHERE YEAR  =  2008 ORDER BY T1.title",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T3.name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "teaches",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "JOIN",
            "instructor",
            "AS",
            "T3",
            "ON",
            "T2.id",
            "=",
            "T3.id",
            "WHERE",
            "YEAR",
            "=",
            "2008",
            "ORDER",
            "BY",
            "T1.title"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "teaches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "join",
            "instructor",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "title"
        ],
        "question": "list in alphabetic order all course names and their instructors' names in year 2008.",
        "question_toks": [
            "list",
            "in",
            "alphabetic",
            "order",
            "all",
            "course",
            "names",
            "and",
            "their",
            "instructors",
            "'",
            "names",
            "in",
            "year",
            "2008",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.title ,  T3.name FROM course AS T1 JOIN teaches AS T2 ON T1.course_id  =  T2.course_id JOIN instructor AS T3 ON T2.id  =  T3.id WHERE YEAR  =  2008 ORDER BY T1.title",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T3.name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "teaches",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "JOIN",
            "instructor",
            "AS",
            "T3",
            "ON",
            "T2.id",
            "=",
            "T3.id",
            "WHERE",
            "YEAR",
            "=",
            "2008",
            "ORDER",
            "BY",
            "T1.title"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "teaches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "join",
            "instructor",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "title"
        ],
        "question": "Show all titles and their instructors' names for courses in 2008, in alphabetical order by title.",
        "question_toks": [
            "Show",
            "all",
            "titles",
            "and",
            "their",
            "instructors",
            "'",
            "names",
            "for",
            "courses",
            "in",
            "2008",
            ",",
            "in",
            "alphabetical",
            "order",
            "by",
            "title",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.name FROM instructor AS T1 JOIN advisor AS T2 ON T1.id  =  T2.i_id GROUP BY T2.i_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "advisor",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.i_id",
            "GROUP",
            "BY",
            "T2.i_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "advisor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "i_id",
            "group",
            "by",
            "t2",
            ".",
            "i_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name of instructors who are advising more than one student.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "instructors",
            "who",
            "are",
            "advising",
            "more",
            "than",
            "one",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.name FROM instructor AS T1 JOIN advisor AS T2 ON T1.id  =  T2.i_id GROUP BY T2.i_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "advisor",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.i_id",
            "GROUP",
            "BY",
            "T2.i_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "advisor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "i_id",
            "group",
            "by",
            "t2",
            ".",
            "i_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of instructors who advise more than one student?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "instructors",
            "who",
            "advise",
            "more",
            "than",
            "one",
            "student",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.name FROM student AS T1 JOIN advisor AS T2 ON T1.id  =  T2.s_id GROUP BY T2.s_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "advisor",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.s_id",
            "GROUP",
            "BY",
            "T2.s_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "advisor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "s_id",
            "group",
            "by",
            "t2",
            ".",
            "s_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name of the students who have more than one advisor?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "students",
            "who",
            "have",
            "more",
            "than",
            "one",
            "advisor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.name FROM student AS T1 JOIN advisor AS T2 ON T1.id  =  T2.s_id GROUP BY T2.s_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "advisor",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.s_id",
            "GROUP",
            "BY",
            "T2.s_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "advisor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "s_id",
            "group",
            "by",
            "t2",
            ".",
            "s_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of students who have more than one advisor?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "students",
            "who",
            "have",
            "more",
            "than",
            "one",
            "advisor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) ,  building FROM classroom WHERE capacity  >  50 GROUP BY building",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "building",
            "FROM",
            "classroom",
            "WHERE",
            "capacity",
            ">",
            "50",
            "GROUP",
            "BY",
            "building"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "building",
            "from",
            "classroom",
            "where",
            "capacity",
            ">",
            "value",
            "group",
            "by",
            "building"
        ],
        "question": "Find the number of rooms with more than 50 capacity for each building.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "rooms",
            "with",
            "more",
            "than",
            "50",
            "capacity",
            "for",
            "each",
            "building",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) ,  building FROM classroom WHERE capacity  >  50 GROUP BY building",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "building",
            "FROM",
            "classroom",
            "WHERE",
            "capacity",
            ">",
            "50",
            "GROUP",
            "BY",
            "building"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "building",
            "from",
            "classroom",
            "where",
            "capacity",
            ">",
            "value",
            "group",
            "by",
            "building"
        ],
        "question": "How many rooms in each building have a capacity of over 50?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "in",
            "each",
            "building",
            "have",
            "a",
            "capacity",
            "of",
            "over",
            "50",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT max(capacity) ,  avg(capacity) ,  building FROM classroom GROUP BY building",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "capacity",
            ")",
            ",",
            "avg",
            "(",
            "capacity",
            ")",
            ",",
            "building",
            "FROM",
            "classroom",
            "GROUP",
            "BY",
            "building"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "capacity",
            ")",
            ",",
            "avg",
            "(",
            "capacity",
            ")",
            ",",
            "building",
            "from",
            "classroom",
            "group",
            "by",
            "building"
        ],
        "question": "Find the maximum and average capacity among rooms in each building.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "and",
            "average",
            "capacity",
            "among",
            "rooms",
            "in",
            "each",
            "building",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT max(capacity) ,  avg(capacity) ,  building FROM classroom GROUP BY building",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "capacity",
            ")",
            ",",
            "avg",
            "(",
            "capacity",
            ")",
            ",",
            "building",
            "FROM",
            "classroom",
            "GROUP",
            "BY",
            "building"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "capacity",
            ")",
            ",",
            "avg",
            "(",
            "capacity",
            ")",
            ",",
            "building",
            "from",
            "classroom",
            "group",
            "by",
            "building"
        ],
        "question": "What are the greatest and average capacity for rooms in each building?",
        "question_toks": [
            "What",
            "are",
            "the",
            "greatest",
            "and",
            "average",
            "capacity",
            "for",
            "rooms",
            "in",
            "each",
            "building",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course GROUP BY title HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "title",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "group",
            "by",
            "title",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the title of the course that is offered by more than one department.",
        "question_toks": [
            "Find",
            "the",
            "title",
            "of",
            "the",
            "course",
            "that",
            "is",
            "offered",
            "by",
            "more",
            "than",
            "one",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course GROUP BY title HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "title",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "group",
            "by",
            "title",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the titles of courses that are offered in more than one department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "courses",
            "that",
            "are",
            "offered",
            "in",
            "more",
            "than",
            "one",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT sum(credits) ,  dept_name FROM course GROUP BY dept_name",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "credits",
            ")",
            ",",
            "dept_name",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "dept_name"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "credits",
            ")",
            ",",
            "dept_name",
            "from",
            "course",
            "group",
            "by",
            "dept_name"
        ],
        "question": "Find the total credits of courses provided by different department.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "credits",
            "of",
            "courses",
            "provided",
            "by",
            "different",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT sum(credits) ,  dept_name FROM course GROUP BY dept_name",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "credits",
            ")",
            ",",
            "dept_name",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "dept_name"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "credits",
            ")",
            ",",
            "dept_name",
            "from",
            "course",
            "group",
            "by",
            "dept_name"
        ],
        "question": "How many total credits are offered by each department?",
        "question_toks": [
            "How",
            "many",
            "total",
            "credits",
            "are",
            "offered",
            "by",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT min(salary) ,  dept_name FROM instructor GROUP BY dept_name HAVING avg(salary)  >  (SELECT avg(salary) FROM instructor)",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "salary",
            ")",
            ",",
            "dept_name",
            "FROM",
            "instructor",
            "GROUP",
            "BY",
            "dept_name",
            "HAVING",
            "avg",
            "(",
            "salary",
            ")",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "salary",
            ")",
            ",",
            "dept_name",
            "from",
            "instructor",
            "group",
            "by",
            "dept_name",
            "having",
            "avg",
            "(",
            "salary",
            ")",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            ")"
        ],
        "question": "Find the minimum salary for the departments whose average salary is above the average payment of all instructors.",
        "question_toks": [
            "Find",
            "the",
            "minimum",
            "salary",
            "for",
            "the",
            "departments",
            "whose",
            "average",
            "salary",
            "is",
            "above",
            "the",
            "average",
            "payment",
            "of",
            "all",
            "instructors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT min(salary) ,  dept_name FROM instructor GROUP BY dept_name HAVING avg(salary)  >  (SELECT avg(salary) FROM instructor)",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "salary",
            ")",
            ",",
            "dept_name",
            "FROM",
            "instructor",
            "GROUP",
            "BY",
            "dept_name",
            "HAVING",
            "avg",
            "(",
            "salary",
            ")",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "salary",
            ")",
            ",",
            "dept_name",
            "from",
            "instructor",
            "group",
            "by",
            "dept_name",
            "having",
            "avg",
            "(",
            "salary",
            ")",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            ")"
        ],
        "question": "What is the lowest salary in departments with average salary greater than the overall average.",
        "question_toks": [
            "What",
            "is",
            "the",
            "lowest",
            "salary",
            "in",
            "departments",
            "with",
            "average",
            "salary",
            "greater",
            "than",
            "the",
            "overall",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) ,  semester ,  YEAR FROM SECTION GROUP BY semester ,  YEAR",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "semester",
            ",",
            "YEAR",
            "FROM",
            "SECTION",
            "GROUP",
            "BY",
            "semester",
            ",",
            "YEAR"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "semester",
            ",",
            "year",
            "from",
            "section",
            "group",
            "by",
            "semester",
            ",",
            "year"
        ],
        "question": "Find the number of courses provided in each semester and year.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "courses",
            "provided",
            "in",
            "each",
            "semester",
            "and",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ],
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) ,  semester ,  YEAR FROM SECTION GROUP BY semester ,  YEAR",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "semester",
            ",",
            "YEAR",
            "FROM",
            "SECTION",
            "GROUP",
            "BY",
            "semester",
            ",",
            "YEAR"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "semester",
            ",",
            "year",
            "from",
            "section",
            "group",
            "by",
            "semester",
            ",",
            "year"
        ],
        "question": "How many courses are provided in each semester and year?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "are",
            "provided",
            "in",
            "each",
            "semester",
            "and",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ],
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT YEAR FROM SECTION GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "YEAR",
            "FROM",
            "SECTION",
            "GROUP",
            "BY",
            "YEAR",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            "from",
            "section",
            "group",
            "by",
            "year",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the year which offers the largest number of courses.",
        "question_toks": [
            "Find",
            "the",
            "year",
            "which",
            "offers",
            "the",
            "largest",
            "number",
            "of",
            "courses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT YEAR FROM SECTION GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "YEAR",
            "FROM",
            "SECTION",
            "GROUP",
            "BY",
            "YEAR",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            "from",
            "section",
            "group",
            "by",
            "year",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which year had the greatest number of courses?",
        "question_toks": [
            "Which",
            "year",
            "had",
            "the",
            "greatest",
            "number",
            "of",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT semester ,  YEAR FROM SECTION GROUP BY semester ,  YEAR ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "semester",
            ",",
            "YEAR",
            "FROM",
            "SECTION",
            "GROUP",
            "BY",
            "semester",
            ",",
            "YEAR",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "semester",
            ",",
            "year",
            "from",
            "section",
            "group",
            "by",
            "semester",
            ",",
            "year",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the year and semester when offers the largest number of courses.",
        "question_toks": [
            "Find",
            "the",
            "year",
            "and",
            "semester",
            "when",
            "offers",
            "the",
            "largest",
            "number",
            "of",
            "courses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ],
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT semester ,  YEAR FROM SECTION GROUP BY semester ,  YEAR ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "semester",
            ",",
            "YEAR",
            "FROM",
            "SECTION",
            "GROUP",
            "BY",
            "semester",
            ",",
            "YEAR",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "semester",
            ",",
            "year",
            "from",
            "section",
            "group",
            "by",
            "semester",
            ",",
            "year",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the year and semester with the most courses?",
        "question_toks": [
            "What",
            "is",
            "the",
            "year",
            "and",
            "semester",
            "with",
            "the",
            "most",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ],
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM student GROUP BY dept_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "student",
            "group",
            "by",
            "dept_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of department has the highest amount of students?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "department",
            "has",
            "the",
            "highest",
            "amount",
            "of",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM student GROUP BY dept_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "student",
            "group",
            "by",
            "dept_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the deparment with the highest enrollment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "deparment",
            "with",
            "the",
            "highest",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) ,  dept_name FROM student GROUP BY dept_name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_name",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_name",
            "from",
            "student",
            "group",
            "by",
            "dept_name"
        ],
        "question": "Find the total number of students in each department.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "students",
            "in",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(*) ,  dept_name FROM student GROUP BY dept_name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_name",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_name",
            "from",
            "student",
            "group",
            "by",
            "dept_name"
        ],
        "question": "How many students are in each department?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "in",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT semester ,  YEAR FROM takes GROUP BY semester ,  YEAR ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "semester",
            ",",
            "YEAR",
            "FROM",
            "takes",
            "GROUP",
            "BY",
            "semester",
            ",",
            "YEAR",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "semester",
            ",",
            "year",
            "from",
            "takes",
            "group",
            "by",
            "semester",
            ",",
            "year",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Find the semester and year which has the least number of student taking any class.",
        "question_toks": [
            "Find",
            "the",
            "semester",
            "and",
            "year",
            "which",
            "has",
            "the",
            "least",
            "number",
            "of",
            "student",
            "taking",
            "any",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ],
                [
                    0,
                    35,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT semester ,  YEAR FROM takes GROUP BY semester ,  YEAR ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "semester",
            ",",
            "YEAR",
            "FROM",
            "takes",
            "GROUP",
            "BY",
            "semester",
            ",",
            "YEAR",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "semester",
            ",",
            "year",
            "from",
            "takes",
            "group",
            "by",
            "semester",
            ",",
            "year",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Which semeseter and year had the fewest students?",
        "question_toks": [
            "Which",
            "semeseter",
            "and",
            "year",
            "had",
            "the",
            "fewest",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ],
                [
                    0,
                    35,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id  =  T2.id WHERE T2.dept_name  =  'History'",
        "query_toks": [
            "SELECT",
            "i_id",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "student",
            "AS",
            "T2",
            "ON",
            "T1.s_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.dept_name",
            "=",
            "'History",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "i_id",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What is the id of the instructor who advises of all students from History department?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "instructor",
            "who",
            "advises",
            "of",
            "all",
            "students",
            "from",
            "History",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id  =  T2.id WHERE T2.dept_name  =  'History'",
        "query_toks": [
            "SELECT",
            "i_id",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "student",
            "AS",
            "T2",
            "ON",
            "T1.s_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.dept_name",
            "=",
            "'History",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "i_id",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Give id of the instructor who advises students in the History department.",
        "question_toks": [
            "Give",
            "id",
            "of",
            "the",
            "instructor",
            "who",
            "advises",
            "students",
            "in",
            "the",
            "History",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.name ,  T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id  =  T2.id JOIN student AS T3 ON T1.s_id  =  T3.id WHERE T3.dept_name  =  'History'",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.salary",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "instructor",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T1.s_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "salary",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "instructor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the name and salary of the instructors who are advisors of any student from History department?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "salary",
            "of",
            "the",
            "instructors",
            "who",
            "are",
            "advisors",
            "of",
            "any",
            "student",
            "from",
            "History",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.name ,  T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id  =  T2.id JOIN student AS T3 ON T1.s_id  =  T3.id WHERE T3.dept_name  =  'History'",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.salary",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "instructor",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T1.s_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "salary",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "instructor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the names and salaries of instructors who advises students in the History department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "salaries",
            "of",
            "instructors",
            "who",
            "advises",
            "students",
            "in",
            "the",
            "History",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "course",
            "EXCEPT",
            "SELECT",
            "course_id",
            "FROM",
            "prereq"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "course",
            "except",
            "select",
            "course_id",
            "from",
            "prereq"
        ],
        "question": "Find the id of the courses that do not have any prerequisite?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "courses",
            "that",
            "do",
            "not",
            "have",
            "any",
            "prerequisite",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    45,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "course",
            "EXCEPT",
            "SELECT",
            "course_id",
            "FROM",
            "prereq"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "course",
            "except",
            "select",
            "course_id",
            "from",
            "prereq"
        ],
        "question": "What are the ids of courses without prerequisites?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "courses",
            "without",
            "prerequisites",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    45,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "course_id",
            "FROM",
            "prereq",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "not",
            "in",
            "(",
            "select",
            "course_id",
            "from",
            "prereq",
            ")"
        ],
        "question": "Find the name of the courses that do not have any prerequisite?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "courses",
            "that",
            "do",
            "not",
            "have",
            "any",
            "prerequisite",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "course_id",
            "FROM",
            "prereq",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "not",
            "in",
            "(",
            "select",
            "course_id",
            "from",
            "prereq",
            ")"
        ],
        "question": "What are the names of courses without prerequisites?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "courses",
            "without",
            "prerequisites",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id  =  T2.course_id WHERE T2.title  =  'International Finance')",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "IN",
            "(",
            "SELECT",
            "T1.prereq_id",
            "FROM",
            "prereq",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.title",
            "=",
            "'International",
            "Finance",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "prereq_id",
            "from",
            "prereq",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value",
            ")"
        ],
        "question": "What is the title of the prerequisite class of International Finance course?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "the",
            "prerequisite",
            "class",
            "of",
            "International",
            "Finance",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            46,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"International Finance\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id  =  T2.course_id WHERE T2.title  =  'International Finance')",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "IN",
            "(",
            "SELECT",
            "T1.prereq_id",
            "FROM",
            "prereq",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.title",
            "=",
            "'International",
            "Finance",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "prereq_id",
            "from",
            "prereq",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value",
            ")"
        ],
        "question": "Give the title of the prerequisite to the course International Finance.",
        "question_toks": [
            "Give",
            "the",
            "title",
            "of",
            "the",
            "prerequisite",
            "to",
            "the",
            "course",
            "International",
            "Finance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            46,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"International Finance\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.course_id FROM prereq AS T1 JOIN course AS T2 ON T1.prereq_id  =  T2.course_id WHERE T2.title  =  'Differential Geometry')",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "IN",
            "(",
            "SELECT",
            "T1.course_id",
            "FROM",
            "prereq",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.prereq_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.title",
            "=",
            "'Differential",
            "Geometry",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "course_id",
            "from",
            "prereq",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prereq_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value",
            ")"
        ],
        "question": "Find the title of course whose prerequisite is course Differential Geometry.",
        "question_toks": [
            "Find",
            "the",
            "title",
            "of",
            "course",
            "whose",
            "prerequisite",
            "is",
            "course",
            "Differential",
            "Geometry",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            46,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"Differential Geometry\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.course_id FROM prereq AS T1 JOIN course AS T2 ON T1.prereq_id  =  T2.course_id WHERE T2.title  =  'Differential Geometry')",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "IN",
            "(",
            "SELECT",
            "T1.course_id",
            "FROM",
            "prereq",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.prereq_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.title",
            "=",
            "'Differential",
            "Geometry",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "course_id",
            "from",
            "prereq",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prereq_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value",
            ")"
        ],
        "question": "What is the title of the course with Differential Geometry as a prerequisite?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "the",
            "course",
            "with",
            "Differential",
            "Geometry",
            "as",
            "a",
            "prerequisite",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            46,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"Differential Geometry\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM student WHERE id IN (SELECT id FROM takes WHERE semester  =  'Fall' AND YEAR  =  2003)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "student",
            "WHERE",
            "id",
            "IN",
            "(",
            "SELECT",
            "id",
            "FROM",
            "takes",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2003",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "student",
            "where",
            "id",
            "in",
            "(",
            "select",
            "id",
            "from",
            "takes",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            ")"
        ],
        "question": "Find the names of students who have taken any course in the fall semester of year 2003.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "students",
            "who",
            "have",
            "taken",
            "any",
            "course",
            "in",
            "the",
            "fall",
            "semester",
            "of",
            "year",
            "2003",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            31,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        34,
                                        false
                                    ],
                                    null
                                ],
                                "\"Fall\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        35,
                                        false
                                    ],
                                    null
                                ],
                                2003.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM student WHERE id IN (SELECT id FROM takes WHERE semester  =  'Fall' AND YEAR  =  2003)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "student",
            "WHERE",
            "id",
            "IN",
            "(",
            "SELECT",
            "id",
            "FROM",
            "takes",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2003",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "student",
            "where",
            "id",
            "in",
            "(",
            "select",
            "id",
            "from",
            "takes",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of students who took a course in the Fall of 2003?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "students",
            "who",
            "took",
            "a",
            "course",
            "in",
            "the",
            "Fall",
            "of",
            "2003",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            31,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        34,
                                        false
                                    ],
                                    null
                                ],
                                "\"Fall\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        35,
                                        false
                                    ],
                                    null
                                ],
                                2003.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.title FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id  =  T2.course_id WHERE building  =  'Chandler' AND semester  =  'Fall' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "SECTION",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "building",
            "=",
            "'Chandler",
            "'",
            "AND",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "section",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "building",
            "=",
            "value",
            "and",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "What is the title of the course that was offered at building Chandler during the fall semester in the year of 2010?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "the",
            "course",
            "that",
            "was",
            "offered",
            "at",
            "building",
            "Chandler",
            "during",
            "the",
            "fall",
            "semester",
            "in",
            "the",
            "year",
            "of",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Chandler\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.title FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id  =  T2.course_id WHERE building  =  'Chandler' AND semester  =  'Fall' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "SECTION",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "building",
            "=",
            "'Chandler",
            "'",
            "AND",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "section",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "building",
            "=",
            "value",
            "and",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "Give the title of the course offered in Chandler during the Fall of 2010.",
        "question_toks": [
            "Give",
            "the",
            "title",
            "of",
            "the",
            "course",
            "offered",
            "in",
            "Chandler",
            "during",
            "the",
            "Fall",
            "of",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Chandler\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id  =  T2.id JOIN course AS T3 ON T2.course_id  =  T3.course_id WHERE T3.title  =  'C Programming'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "teaches",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.id",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T2.course_id",
            "=",
            "T3.course_id",
            "WHERE",
            "T3.title",
            "=",
            "'C",
            "Programming",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "teaches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "course_id",
            "=",
            "t3",
            ".",
            "course_id",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Find the name of the instructors who taught C Programming course before.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "instructors",
            "who",
            "taught",
            "C",
            "Programming",
            "course",
            "before",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"C Programming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id  =  T2.id JOIN course AS T3 ON T2.course_id  =  T3.course_id WHERE T3.title  =  'C Programming'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "teaches",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.id",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T2.course_id",
            "=",
            "T3.course_id",
            "WHERE",
            "T3.title",
            "=",
            "'C",
            "Programming",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "teaches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "course_id",
            "=",
            "t3",
            ".",
            "course_id",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the names of instructors who have taught C Programming courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "instructors",
            "who",
            "have",
            "taught",
            "C",
            "Programming",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"C Programming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.name ,  T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id  =  T2.id JOIN student AS T3 ON T1.s_id  =  T3.id WHERE T3.dept_name  =  'Math'",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.salary",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "instructor",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T1.s_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.dept_name",
            "=",
            "'Math",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "salary",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "instructor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the name and salary of instructors who are advisors of the students from the Math department.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "salary",
            "of",
            "instructors",
            "who",
            "are",
            "advisors",
            "of",
            "the",
            "students",
            "from",
            "the",
            "Math",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Math\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.name ,  T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id  =  T2.id JOIN student AS T3 ON T1.s_id  =  T3.id WHERE T3.dept_name  =  'Math'",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.salary",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "instructor",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T1.s_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.dept_name",
            "=",
            "'Math",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "salary",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "instructor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the names and salaries of instructors who advise students in the Math department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "salaries",
            "of",
            "instructors",
            "who",
            "advise",
            "students",
            "in",
            "the",
            "Math",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Math\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id  =  T2.id JOIN student AS T3 ON T1.s_id  =  T3.id WHERE T3.dept_name  =  'Math' ORDER BY T3.tot_cred",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "instructor",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T1.s_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.dept_name",
            "=",
            "'Math",
            "'",
            "ORDER",
            "BY",
            "T3.tot_cred"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "instructor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "tot_cred"
        ],
        "question": "Find the name of instructors who are advisors of the students from the Math department, and sort the results by students' total credit.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "instructors",
            "who",
            "are",
            "advisors",
            "of",
            "the",
            "students",
            "from",
            "the",
            "Math",
            "department",
            ",",
            "and",
            "sort",
            "the",
            "results",
            "by",
            "students",
            "'",
            "total",
            "credit",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Math\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id  =  T2.id JOIN student AS T3 ON T1.s_id  =  T3.id WHERE T3.dept_name  =  'Math' ORDER BY T3.tot_cred",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "instructor",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T1.s_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.dept_name",
            "=",
            "'Math",
            "'",
            "ORDER",
            "BY",
            "T3.tot_cred"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "instructor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "tot_cred"
        ],
        "question": "What are the names of all instructors who advise students in the math depart sorted by total credits of the student.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "who",
            "advise",
            "students",
            "in",
            "the",
            "math",
            "depart",
            "sorted",
            "by",
            "total",
            "credits",
            "of",
            "the",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Math\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id  =  T2.course_id WHERE T2.title  =  'Mobile Computing')",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "IN",
            "(",
            "SELECT",
            "T1.prereq_id",
            "FROM",
            "prereq",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.title",
            "=",
            "'Mobile",
            "Computing",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "prereq_id",
            "from",
            "prereq",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value",
            ")"
        ],
        "question": "What is the course title of the prerequisite of course Mobile Computing?",
        "question_toks": [
            "What",
            "is",
            "the",
            "course",
            "title",
            "of",
            "the",
            "prerequisite",
            "of",
            "course",
            "Mobile",
            "Computing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            46,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"Mobile Computing\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id  =  T2.course_id WHERE T2.title  =  'Mobile Computing')",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "course",
            "WHERE",
            "course_id",
            "IN",
            "(",
            "SELECT",
            "T1.prereq_id",
            "FROM",
            "prereq",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.title",
            "=",
            "'Mobile",
            "Computing",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "course",
            "where",
            "course_id",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "prereq_id",
            "from",
            "prereq",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value",
            ")"
        ],
        "question": "What is the title of the course that is a prerequisite for Mobile Computing?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "the",
            "course",
            "that",
            "is",
            "a",
            "prerequisite",
            "for",
            "Mobile",
            "Computing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            46,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"Mobile Computing\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id  =  T2.id JOIN student AS T3 ON T1.s_id  =  T3.id ORDER BY T3.tot_cred DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "instructor",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T1.s_id",
            "=",
            "T3.id",
            "ORDER",
            "BY",
            "T3.tot_cred",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "instructor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t3",
            ".",
            "id",
            "order",
            "by",
            "t3",
            ".",
            "tot_cred",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of instructor who is the advisor of the student who has the highest number of total credits.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "instructor",
            "who",
            "is",
            "the",
            "advisor",
            "of",
            "the",
            "student",
            "who",
            "has",
            "the",
            "highest",
            "number",
            "of",
            "total",
            "credits",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id  =  T2.id JOIN student AS T3 ON T1.s_id  =  T3.id ORDER BY T3.tot_cred DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "advisor",
            "AS",
            "T1",
            "JOIN",
            "instructor",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T1.s_id",
            "=",
            "T3.id",
            "ORDER",
            "BY",
            "T3.tot_cred",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "advisor",
            "as",
            "t1",
            "join",
            "instructor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "s_id",
            "=",
            "t3",
            ".",
            "id",
            "order",
            "by",
            "t3",
            ".",
            "tot_cred",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the instructor who advises the student with the greatest number of total credits?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "instructor",
            "who",
            "advises",
            "the",
            "student",
            "with",
            "the",
            "greatest",
            "number",
            "of",
            "total",
            "credits",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "id",
            "FROM",
            "teaches",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "id",
            "from",
            "teaches",
            ")"
        ],
        "question": "Find the name of instructors who didn't teach any courses?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "instructors",
            "who",
            "did",
            "n't",
            "teach",
            "any",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            22,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "id",
            "FROM",
            "teaches",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "id",
            "from",
            "teaches",
            ")"
        ],
        "question": "What are the names of instructors who didn't teach?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "instructors",
            "who",
            "did",
            "n't",
            "teach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            22,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT id FROM instructor EXCEPT SELECT id FROM teaches",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "instructor",
            "EXCEPT",
            "SELECT",
            "id",
            "FROM",
            "teaches"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "instructor",
            "except",
            "select",
            "id",
            "from",
            "teaches"
        ],
        "question": "Find the id of instructors who didn't teach any courses?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "instructors",
            "who",
            "did",
            "n't",
            "teach",
            "any",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT id FROM instructor EXCEPT SELECT id FROM teaches",
        "query_toks": [
            "SELECT",
            "id",
            "FROM",
            "instructor",
            "EXCEPT",
            "SELECT",
            "id",
            "FROM",
            "teaches"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            "from",
            "instructor",
            "except",
            "select",
            "id",
            "from",
            "teaches"
        ],
        "question": "What are the ids of instructors who didnt' teach?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "instructors",
            "who",
            "didnt",
            "'",
            "teach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches WHERE semester  =  'Spring')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "id",
            "FROM",
            "teaches",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "id",
            "from",
            "teaches",
            "where",
            "semester",
            "=",
            "value",
            ")"
        ],
        "question": "Find the names of instructors who didn't each any courses in any Spring semester.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "instructors",
            "who",
            "did",
            "n't",
            "each",
            "any",
            "courses",
            "in",
            "any",
            "Spring",
            "semester",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            22,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        25,
                                        false
                                    ],
                                    null
                                ],
                                "\"Spring\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches WHERE semester  =  'Spring')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "id",
            "FROM",
            "teaches",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "id",
            "from",
            "teaches",
            "where",
            "semester",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of instructors who didn't teach courses in the Spring?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "instructors",
            "who",
            "did",
            "n't",
            "teach",
            "courses",
            "in",
            "the",
            "Spring",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            22,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        25,
                                        false
                                    ],
                                    null
                                ],
                                "\"Spring\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY avg(salary) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "instructor",
            "GROUP",
            "BY",
            "dept_name",
            "ORDER",
            "BY",
            "avg",
            "(",
            "salary",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "instructor",
            "group",
            "by",
            "dept_name",
            "order",
            "by",
            "avg",
            "(",
            "salary",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the department which has the highest average salary of professors.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "department",
            "which",
            "has",
            "the",
            "highest",
            "average",
            "salary",
            "of",
            "professors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY avg(salary) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "instructor",
            "GROUP",
            "BY",
            "dept_name",
            "ORDER",
            "BY",
            "avg",
            "(",
            "salary",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "instructor",
            "group",
            "by",
            "dept_name",
            "order",
            "by",
            "avg",
            "(",
            "salary",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which department has the highest average instructor salary?",
        "question_toks": [
            "Which",
            "department",
            "has",
            "the",
            "highest",
            "average",
            "instructor",
            "salary",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT avg(T1.salary) ,  count(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name  =  T2.dept_name ORDER BY T2.budget DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.salary",
            ")",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_name",
            "=",
            "T2.dept_name",
            "ORDER",
            "BY",
            "T2.budget",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "salary",
            ")",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_name",
            "=",
            "t2",
            ".",
            "dept_name",
            "order",
            "by",
            "t2",
            ".",
            "budget",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the number and averaged salary of all instructors who are in the department with the highest budget.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "and",
            "averaged",
            "salary",
            "of",
            "all",
            "instructors",
            "who",
            "are",
            "in",
            "the",
            "department",
            "with",
            "the",
            "highest",
            "budget",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT avg(T1.salary) ,  count(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name  =  T2.dept_name ORDER BY T2.budget DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.salary",
            ")",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_name",
            "=",
            "T2.dept_name",
            "ORDER",
            "BY",
            "T2.budget",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "salary",
            ")",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_name",
            "=",
            "t2",
            ".",
            "dept_name",
            "order",
            "by",
            "t2",
            ".",
            "budget",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many instructors are in the department with the highest budget, and what is their average salary?",
        "question_toks": [
            "How",
            "many",
            "instructors",
            "are",
            "in",
            "the",
            "department",
            "with",
            "the",
            "highest",
            "budget",
            ",",
            "and",
            "what",
            "is",
            "their",
            "average",
            "salary",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T3.title ,  T3.credits FROM classroom AS T1 JOIN SECTION AS T2 ON T1.building  =  T2.building AND T1.room_number  =  T2.room_number JOIN course AS T3 ON T2.course_id  =  T3.course_id WHERE T1.capacity  =  (SELECT max(capacity) FROM classroom)",
        "query_toks": [
            "SELECT",
            "T3.title",
            ",",
            "T3.credits",
            "FROM",
            "classroom",
            "AS",
            "T1",
            "JOIN",
            "SECTION",
            "AS",
            "T2",
            "ON",
            "T1.building",
            "=",
            "T2.building",
            "AND",
            "T1.room_number",
            "=",
            "T2.room_number",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T2.course_id",
            "=",
            "T3.course_id",
            "WHERE",
            "T1.capacity",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "capacity",
            ")",
            "FROM",
            "classroom",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            ",",
            "t3",
            ".",
            "credits",
            "from",
            "classroom",
            "as",
            "t1",
            "join",
            "section",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building",
            "=",
            "t2",
            ".",
            "building",
            "and",
            "t1",
            ".",
            "room_number",
            "=",
            "t2",
            ".",
            "room_number",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "course_id",
            "=",
            "t3",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "capacity",
            "=",
            "(",
            "select",
            "max",
            "(",
            "capacity",
            ")",
            "from",
            "classroom",
            ")"
        ],
        "question": "What is the title and credits of the course that is taught in the largest classroom (with the highest capacity)?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "and",
            "credits",
            "of",
            "the",
            "course",
            "that",
            "is",
            "taught",
            "in",
            "the",
            "largest",
            "classroom",
            "(",
            "with",
            "the",
            "highest",
            "capacity",
            ")",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T3.title ,  T3.credits FROM classroom AS T1 JOIN SECTION AS T2 ON T1.building  =  T2.building AND T1.room_number  =  T2.room_number JOIN course AS T3 ON T2.course_id  =  T3.course_id WHERE T1.capacity  =  (SELECT max(capacity) FROM classroom)",
        "query_toks": [
            "SELECT",
            "T3.title",
            ",",
            "T3.credits",
            "FROM",
            "classroom",
            "AS",
            "T1",
            "JOIN",
            "SECTION",
            "AS",
            "T2",
            "ON",
            "T1.building",
            "=",
            "T2.building",
            "AND",
            "T1.room_number",
            "=",
            "T2.room_number",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T2.course_id",
            "=",
            "T3.course_id",
            "WHERE",
            "T1.capacity",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "capacity",
            ")",
            "FROM",
            "classroom",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            ",",
            "t3",
            ".",
            "credits",
            "from",
            "classroom",
            "as",
            "t1",
            "join",
            "section",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building",
            "=",
            "t2",
            ".",
            "building",
            "and",
            "t1",
            ".",
            "room_number",
            "=",
            "t2",
            ".",
            "room_number",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "course_id",
            "=",
            "t3",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "capacity",
            "=",
            "(",
            "select",
            "max",
            "(",
            "capacity",
            ")",
            "from",
            "classroom",
            ")"
        ],
        "question": "Give the title and credits for the course that is taught in the classroom with the greatest capacity.",
        "question_toks": [
            "Give",
            "the",
            "title",
            "and",
            "credits",
            "for",
            "the",
            "course",
            "that",
            "is",
            "taught",
            "in",
            "the",
            "classroom",
            "with",
            "the",
            "greatest",
            "capacity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM student WHERE id NOT IN (SELECT T1.id FROM takes AS T1 JOIN course AS T2 ON T1.course_id  =  T2.course_id WHERE T2.dept_name  =  'Biology')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "student",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.id",
            "FROM",
            "takes",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.dept_name",
            "=",
            "'Biology",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "student",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "id",
            "from",
            "takes",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "dept_name",
            "=",
            "value",
            ")"
        ],
        "question": "Find the name of students who didn't take any course from Biology department.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "students",
            "who",
            "did",
            "n't",
            "take",
            "any",
            "course",
            "from",
            "Biology",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            32,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            31,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ],
                                "\"Biology\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM student WHERE id NOT IN (SELECT T1.id FROM takes AS T1 JOIN course AS T2 ON T1.course_id  =  T2.course_id WHERE T2.dept_name  =  'Biology')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "student",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.id",
            "FROM",
            "takes",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T2.dept_name",
            "=",
            "'Biology",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "student",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "id",
            "from",
            "takes",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t2",
            ".",
            "dept_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of students who haven't taken any Biology courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "students",
            "who",
            "have",
            "n't",
            "taken",
            "any",
            "Biology",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            32,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            31,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ],
                                "\"Biology\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(DISTINCT T2.id) ,  count(DISTINCT T3.id) ,  T3.dept_name FROM department AS T1 JOIN student AS T2 ON T1.dept_name  =  T2.dept_name JOIN instructor AS T3 ON T1.dept_name  =  T3.dept_name GROUP BY T3.dept_name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T2.id",
            ")",
            ",",
            "count",
            "(",
            "DISTINCT",
            "T3.id",
            ")",
            ",",
            "T3.dept_name",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "student",
            "AS",
            "T2",
            "ON",
            "T1.dept_name",
            "=",
            "T2.dept_name",
            "JOIN",
            "instructor",
            "AS",
            "T3",
            "ON",
            "T1.dept_name",
            "=",
            "T3.dept_name",
            "GROUP",
            "BY",
            "T3.dept_name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "id",
            ")",
            ",",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "id",
            ")",
            ",",
            "t3",
            ".",
            "dept_name",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_name",
            "=",
            "t2",
            ".",
            "dept_name",
            "join",
            "instructor",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "dept_name",
            "=",
            "t3",
            ".",
            "dept_name",
            "group",
            "by",
            "t3",
            ".",
            "dept_name"
        ],
        "question": "Find the total number of students and total number of instructors for each department.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "students",
            "and",
            "total",
            "number",
            "of",
            "instructors",
            "for",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                27,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT count(DISTINCT T2.id) ,  count(DISTINCT T3.id) ,  T3.dept_name FROM department AS T1 JOIN student AS T2 ON T1.dept_name  =  T2.dept_name JOIN instructor AS T3 ON T1.dept_name  =  T3.dept_name GROUP BY T3.dept_name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T2.id",
            ")",
            ",",
            "count",
            "(",
            "DISTINCT",
            "T3.id",
            ")",
            ",",
            "T3.dept_name",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "student",
            "AS",
            "T2",
            "ON",
            "T1.dept_name",
            "=",
            "T2.dept_name",
            "JOIN",
            "instructor",
            "AS",
            "T3",
            "ON",
            "T1.dept_name",
            "=",
            "T3.dept_name",
            "GROUP",
            "BY",
            "T3.dept_name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "id",
            ")",
            ",",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "id",
            ")",
            ",",
            "t3",
            ".",
            "dept_name",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_name",
            "=",
            "t2",
            ".",
            "dept_name",
            "join",
            "instructor",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "dept_name",
            "=",
            "t3",
            ".",
            "dept_name",
            "group",
            "by",
            "t3",
            ".",
            "dept_name"
        ],
        "question": "How many students and instructors are in each department?",
        "question_toks": [
            "How",
            "many",
            "students",
            "and",
            "instructors",
            "are",
            "in",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                27,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id  =  T2.id WHERE T2.course_id IN (SELECT T4.prereq_id FROM course AS T3 JOIN prereq AS T4 ON T3.course_id  =  T4.course_id WHERE T3.title  =  'International Finance')",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "takes",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.id",
            "WHERE",
            "T2.course_id",
            "IN",
            "(",
            "SELECT",
            "T4.prereq_id",
            "FROM",
            "course",
            "AS",
            "T3",
            "JOIN",
            "prereq",
            "AS",
            "T4",
            "ON",
            "T3.course_id",
            "=",
            "T4.course_id",
            "WHERE",
            "T3.title",
            "=",
            "'International",
            "Finance",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "takes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "course_id",
            "in",
            "(",
            "select",
            "t4",
            ".",
            "prereq_id",
            "from",
            "course",
            "as",
            "t3",
            "join",
            "prereq",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "course_id",
            "=",
            "t4",
            ".",
            "course_id",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value",
            ")"
        ],
        "question": "Find the name of students who have taken the prerequisite course of the course with title International Finance.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "students",
            "who",
            "have",
            "taken",
            "the",
            "prerequisite",
            "course",
            "of",
            "the",
            "course",
            "with",
            "title",
            "International",
            "Finance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        45,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            46,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"International Finance\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id  =  T2.id WHERE T2.course_id IN (SELECT T4.prereq_id FROM course AS T3 JOIN prereq AS T4 ON T3.course_id  =  T4.course_id WHERE T3.title  =  'International Finance')",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "takes",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.id",
            "WHERE",
            "T2.course_id",
            "IN",
            "(",
            "SELECT",
            "T4.prereq_id",
            "FROM",
            "course",
            "AS",
            "T3",
            "JOIN",
            "prereq",
            "AS",
            "T4",
            "ON",
            "T3.course_id",
            "=",
            "T4.course_id",
            "WHERE",
            "T3.title",
            "=",
            "'International",
            "Finance",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "takes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "course_id",
            "in",
            "(",
            "select",
            "t4",
            ".",
            "prereq_id",
            "from",
            "course",
            "as",
            "t3",
            "join",
            "prereq",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "course_id",
            "=",
            "t4",
            ".",
            "course_id",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of students who have taken the prerequisite for the course International Finance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "students",
            "who",
            "have",
            "taken",
            "the",
            "prerequisite",
            "for",
            "the",
            "course",
            "International",
            "Finance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        45,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            46,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                "\"International Finance\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name ,  salary FROM instructor WHERE salary  <  (SELECT avg(salary) FROM instructor WHERE dept_name  =  'Physics')",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "salary",
            "FROM",
            "instructor",
            "WHERE",
            "salary",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Physics",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "salary",
            "from",
            "instructor",
            "where",
            "salary",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            ")"
        ],
        "question": "Find the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "salary",
            "of",
            "instructors",
            "whose",
            "salary",
            "is",
            "below",
            "the",
            "average",
            "salary",
            "of",
            "the",
            "instructors",
            "in",
            "the",
            "Physics",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"Physics\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name ,  salary FROM instructor WHERE salary  <  (SELECT avg(salary) FROM instructor WHERE dept_name  =  'Physics')",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "salary",
            "FROM",
            "instructor",
            "WHERE",
            "salary",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Physics",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "salary",
            "from",
            "instructor",
            "where",
            "salary",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names and salaries for instructors who earn less than the average salary of instructors in the Physics department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "salaries",
            "for",
            "instructors",
            "who",
            "earn",
            "less",
            "than",
            "the",
            "average",
            "salary",
            "of",
            "instructors",
            "in",
            "the",
            "Physics",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"Physics\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id  =  T2.course_id JOIN student AS T3 ON T2.id  =  T3.id WHERE T1.dept_name  =  'Statistics'",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "takes",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T2.id",
            "=",
            "T3.id",
            "WHERE",
            "T1.dept_name",
            "=",
            "'Statistics",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "takes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the name of students who took some course offered by Statistics department.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "students",
            "who",
            "took",
            "some",
            "course",
            "offered",
            "by",
            "Statistics",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id  =  T2.course_id JOIN student AS T3 ON T2.id  =  T3.id WHERE T1.dept_name  =  'Statistics'",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "takes",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T2.id",
            "=",
            "T3.id",
            "WHERE",
            "T1.dept_name",
            "=",
            "'Statistics",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "takes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the names of students who have taken Statistics courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "students",
            "who",
            "have",
            "taken",
            "Statistics",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Statistics\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.building ,  T2.room_number ,  T2.semester ,  T2.year FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id  =  T2.course_id WHERE T1.dept_name  =  'Psychology' ORDER BY T1.title",
        "query_toks": [
            "SELECT",
            "T2.building",
            ",",
            "T2.room_number",
            ",",
            "T2.semester",
            ",",
            "T2.year",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "SECTION",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.dept_name",
            "=",
            "'Psychology",
            "'",
            "ORDER",
            "BY",
            "T1.title"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "building",
            ",",
            "t2",
            ".",
            "room_number",
            ",",
            "t2",
            ".",
            "semester",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "section",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "dept_name",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "title"
        ],
        "question": "Find the building, room number, semester and year of all courses offered by Psychology department sorted by course titles.",
        "question_toks": [
            "Find",
            "the",
            "building",
            ",",
            "room",
            "number",
            ",",
            "semester",
            "and",
            "year",
            "of",
            "all",
            "courses",
            "offered",
            "by",
            "Psychology",
            "department",
            "sorted",
            "by",
            "course",
            "titles",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Psychology\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT T2.building ,  T2.room_number ,  T2.semester ,  T2.year FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id  =  T2.course_id WHERE T1.dept_name  =  'Psychology' ORDER BY T1.title",
        "query_toks": [
            "SELECT",
            "T2.building",
            ",",
            "T2.room_number",
            ",",
            "T2.semester",
            ",",
            "T2.year",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "SECTION",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.dept_name",
            "=",
            "'Psychology",
            "'",
            "ORDER",
            "BY",
            "T1.title"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "building",
            ",",
            "t2",
            ".",
            "room_number",
            ",",
            "t2",
            ".",
            "semester",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "section",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "dept_name",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "title"
        ],
        "question": "What are the building, room number, semester and year of courses in the Psychology department, sorted using course title?",
        "question_toks": [
            "What",
            "are",
            "the",
            "building",
            ",",
            "room",
            "number",
            ",",
            "semester",
            "and",
            "year",
            "of",
            "courses",
            "in",
            "the",
            "Psychology",
            "department",
            ",",
            "sorted",
            "using",
            "course",
            "title",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Psychology\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE dept_name  =  'Comp. Sci.'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Comp",
            ".",
            "Sci",
            ".",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the names of all instructors in computer science department",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "in",
            "computer",
            "science",
            "department"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Comp. Sci.\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE dept_name  =  'Comp. Sci.'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Comp",
            ".",
            "Sci",
            ".",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the names of all instructors in the Comp. Sci. department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "in",
            "the",
            "Comp",
            ".",
            "Sci",
            ".",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Comp. Sci.\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE dept_name  =  'Comp. Sci.'  AND salary  >  80000",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Comp",
            ".",
            "Sci",
            ".",
            "'",
            "AND",
            "salary",
            ">",
            "80000"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            "and",
            "salary",
            ">",
            "value"
        ],
        "question": "Find the names of all instructors in Comp. Sci. department with salary > 80000.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "in",
            "Comp",
            ".",
            "Sci",
            ".",
            "department",
            "with",
            "salary",
            ">",
            "80000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Comp. Sci.\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    80000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE dept_name  =  'Comp. Sci.'  AND salary  >  80000",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Comp",
            ".",
            "Sci",
            ".",
            "'",
            "AND",
            "salary",
            ">",
            "80000"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            "and",
            "salary",
            ">",
            "value"
        ],
        "question": "What are the names of the instructors in the Comp. Sci. department who earn more than 80000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "instructors",
            "in",
            "the",
            "Comp",
            ".",
            "Sci",
            ".",
            "department",
            "who",
            "earn",
            "more",
            "than",
            "80000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Comp. Sci.\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    80000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name ,  course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID  =  T2.ID",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "course_id",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "teaches",
            "AS",
            "T2",
            "ON",
            "T1.ID",
            "=",
            "T2.ID"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "course_id",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "teaches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id"
        ],
        "question": "Find the names of all instructors who have taught some course and the course_id.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "who",
            "have",
            "taught",
            "some",
            "course",
            "and",
            "the",
            "course_id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name ,  course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID  =  T2.ID",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "course_id",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "teaches",
            "AS",
            "T2",
            "ON",
            "T1.ID",
            "=",
            "T2.ID"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "course_id",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "teaches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id"
        ],
        "question": "What are the names of all instructors who have taught a course, as well as the corresponding course id?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "who",
            "have",
            "taught",
            "a",
            "course",
            ",",
            "as",
            "well",
            "as",
            "the",
            "corresponding",
            "course",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name ,  course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID  =  T2.ID WHERE T1.dept_name  =  'Art'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "course_id",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "teaches",
            "AS",
            "T2",
            "ON",
            "T1.ID",
            "=",
            "T2.ID",
            "WHERE",
            "T1.dept_name",
            "=",
            "'Art",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "course_id",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "teaches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the names of all instructors in the Art department who have taught some course and the course_id.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "in",
            "the",
            "Art",
            "department",
            "who",
            "have",
            "taught",
            "some",
            "course",
            "and",
            "the",
            "course_id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Art\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name ,  course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID  =  T2.ID WHERE T1.dept_name  =  'Art'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "course_id",
            "FROM",
            "instructor",
            "AS",
            "T1",
            "JOIN",
            "teaches",
            "AS",
            "T2",
            "ON",
            "T1.ID",
            "=",
            "T2.ID",
            "WHERE",
            "T1.dept_name",
            "=",
            "'Art",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "course_id",
            "from",
            "instructor",
            "as",
            "t1",
            "join",
            "teaches",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the names of Art instructors who have taught a course, and the corresponding course id?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "Art",
            "instructors",
            "who",
            "have",
            "taught",
            "a",
            "course",
            ",",
            "and",
            "the",
            "corresponding",
            "course",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Art\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE name LIKE '%dar%'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "dar",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Find the names of all instructors whose name includes the substring \u201cdar\u201d.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "whose",
            "name",
            "includes",
            "the",
            "substring",
            "\u201cdar\u201d",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"%dar%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE name LIKE '%dar%'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "dar",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "What are the names of all instructors with names that include \"dar\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "with",
            "names",
            "that",
            "include",
            "``",
            "dar",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"%dar%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT DISTINCT name FROM  instructor ORDER BY name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "instructor",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "instructor",
            "order",
            "by",
            "name"
        ],
        "question": "List in alphabetic order the names of all distinct instructors.",
        "question_toks": [
            "List",
            "in",
            "alphabetic",
            "order",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "instructors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT DISTINCT name FROM  instructor ORDER BY name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "instructor",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "instructor",
            "order",
            "by",
            "name"
        ],
        "question": "List the distinct names of the instructors, ordered by name.",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "names",
            "of",
            "the",
            "instructors",
            ",",
            "ordered",
            "by",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT course_id FROM SECTION WHERE semester  =  'Fall' AND YEAR  =  2009 UNION SELECT course_id FROM SECTION WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2009",
            "UNION",
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            "union",
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "Find courses that ran in Fall 2009 or in Spring 2010.",
        "question_toks": [
            "Find",
            "courses",
            "that",
            "ran",
            "in",
            "Fall",
            "2009",
            "or",
            "in",
            "Spring",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Spring\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        2010.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT course_id FROM SECTION WHERE semester  =  'Fall' AND YEAR  =  2009 UNION SELECT course_id FROM SECTION WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2009",
            "UNION",
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            "union",
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "What are the ids for courses in the Fall of 2009 or the Spring of 2010?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "for",
            "courses",
            "in",
            "the",
            "Fall",
            "of",
            "2009",
            "or",
            "the",
            "Spring",
            "of",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Spring\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        2010.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT course_id FROM SECTION WHERE semester  =  'Fall' AND YEAR  =  2009 INTERSECT SELECT course_id FROM SECTION WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2009",
            "INTERSECT",
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "Find courses that ran in Fall 2009 and in Spring 2010.",
        "question_toks": [
            "Find",
            "courses",
            "that",
            "ran",
            "in",
            "Fall",
            "2009",
            "and",
            "in",
            "Spring",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Spring\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        2010.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT course_id FROM SECTION WHERE semester  =  'Fall' AND YEAR  =  2009 INTERSECT SELECT course_id FROM SECTION WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2009",
            "INTERSECT",
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "What are the ids for courses that were offered in both Fall of 2009 and Spring of 2010?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "for",
            "courses",
            "that",
            "were",
            "offered",
            "in",
            "both",
            "Fall",
            "of",
            "2009",
            "and",
            "Spring",
            "of",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Spring\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        2010.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT course_id FROM SECTION WHERE semester  =  'Fall' AND YEAR  =  2009 EXCEPT SELECT course_id FROM SECTION WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2009",
            "EXCEPT",
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            "except",
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "Find courses that ran in Fall 2009 but not in Spring 2010.",
        "question_toks": [
            "Find",
            "courses",
            "that",
            "ran",
            "in",
            "Fall",
            "2009",
            "but",
            "not",
            "in",
            "Spring",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Spring\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        2010.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT course_id FROM SECTION WHERE semester  =  'Fall' AND YEAR  =  2009 EXCEPT SELECT course_id FROM SECTION WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Fall",
            "'",
            "AND",
            "YEAR",
            "=",
            "2009",
            "EXCEPT",
            "SELECT",
            "course_id",
            "FROM",
            "SECTION",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value",
            "except",
            "select",
            "course_id",
            "from",
            "section",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "What are the ids of courses offered in Fall of 2009 but not in Spring of 2010?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "courses",
            "offered",
            "in",
            "Fall",
            "of",
            "2009",
            "but",
            "not",
            "in",
            "Spring",
            "of",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        "\"Spring\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        2010.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT DISTINCT salary FROM instructor WHERE salary  <  (SELECT max(salary) FROM instructor)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "salary",
            "FROM",
            "instructor",
            "WHERE",
            "salary",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "salary",
            "from",
            "instructor",
            "where",
            "salary",
            "<",
            "(",
            "select",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            ")"
        ],
        "question": "Find the salaries of all distinct instructors that are less than the largest salary.",
        "question_toks": [
            "Find",
            "the",
            "salaries",
            "of",
            "all",
            "distinct",
            "instructors",
            "that",
            "are",
            "less",
            "than",
            "the",
            "largest",
            "salary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT DISTINCT salary FROM instructor WHERE salary  <  (SELECT max(salary) FROM instructor)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "salary",
            "FROM",
            "instructor",
            "WHERE",
            "salary",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "salary",
            "from",
            "instructor",
            "where",
            "salary",
            "<",
            "(",
            "select",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            ")"
        ],
        "question": "What are the distinct salaries of all instructors who earned less than the maximum salary?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "salaries",
            "of",
            "all",
            "instructors",
            "who",
            "earned",
            "less",
            "than",
            "the",
            "maximum",
            "salary",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT COUNT (DISTINCT ID) FROM teaches WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "ID",
            ")",
            "FROM",
            "teaches",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "id",
            ")",
            "from",
            "teaches",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "Find the total number of instructors who teach a course in the Spring 2010 semester.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "instructors",
            "who",
            "teach",
            "a",
            "course",
            "in",
            "the",
            "Spring",
            "2010",
            "semester",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                22,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT COUNT (DISTINCT ID) FROM teaches WHERE semester  =  'Spring' AND YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "ID",
            ")",
            "FROM",
            "teaches",
            "WHERE",
            "semester",
            "=",
            "'Spring",
            "'",
            "AND",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "id",
            ")",
            "from",
            "teaches",
            "where",
            "semester",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "How many instructors teach a course in the Spring of 2010?",
        "question_toks": [
            "How",
            "many",
            "instructors",
            "teach",
            "a",
            "course",
            "in",
            "the",
            "Spring",
            "of",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                22,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  AVG (salary) FROM instructor GROUP BY dept_name HAVING AVG (salary)  >  42000",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            "GROUP",
            "BY",
            "dept_name",
            "HAVING",
            "AVG",
            "(",
            "salary",
            ")",
            ">",
            "42000"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            "group",
            "by",
            "dept_name",
            "having",
            "avg",
            "(",
            "salary",
            ")",
            ">",
            "value"
        ],
        "question": "Find the names and average salaries of all departments whose average salary is greater than 42000.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "average",
            "salaries",
            "of",
            "all",
            "departments",
            "whose",
            "average",
            "salary",
            "is",
            "greater",
            "than",
            "42000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ],
                    42000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT dept_name ,  AVG (salary) FROM instructor GROUP BY dept_name HAVING AVG (salary)  >  42000",
        "query_toks": [
            "SELECT",
            "dept_name",
            ",",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            "GROUP",
            "BY",
            "dept_name",
            "HAVING",
            "AVG",
            "(",
            "salary",
            ")",
            ">",
            "42000"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            ",",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            "group",
            "by",
            "dept_name",
            "having",
            "avg",
            "(",
            "salary",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names and average salaries for departments with average salary higher than 42000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "average",
            "salaries",
            "for",
            "departments",
            "with",
            "average",
            "salary",
            "higher",
            "than",
            "42000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ],
                    42000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE salary  >  (SELECT min(salary) FROM instructor WHERE dept_name  =  'Biology')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Biology",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "min",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            ")"
        ],
        "question": "Find names of instructors with salary greater than that of some (at least one) instructor in the Biology department.",
        "question_toks": [
            "Find",
            "names",
            "of",
            "instructors",
            "with",
            "salary",
            "greater",
            "than",
            "that",
            "of",
            "some",
            "(",
            "at",
            "least",
            "one",
            ")",
            "instructor",
            "in",
            "the",
            "Biology",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"Biology\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE salary  >  (SELECT min(salary) FROM instructor WHERE dept_name  =  'Biology')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Biology",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "min",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of instructors who earn more than at least one instructor from the Biology department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "instructors",
            "who",
            "earn",
            "more",
            "than",
            "at",
            "least",
            "one",
            "instructor",
            "from",
            "the",
            "Biology",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"Biology\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE salary  >  (SELECT max(salary) FROM instructor WHERE dept_name  =  'Biology')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Biology",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            ")"
        ],
        "question": "Find the names of all instructors whose salary is greater than the salary of all instructors in the Biology department.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "whose",
            "salary",
            "is",
            "greater",
            "than",
            "the",
            "salary",
            "of",
            "all",
            "instructors",
            "in",
            "the",
            "Biology",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"Biology\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_2",
        "query": "SELECT name FROM instructor WHERE salary  >  (SELECT max(salary) FROM instructor WHERE dept_name  =  'Biology')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "instructor",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "salary",
            ")",
            "FROM",
            "instructor",
            "WHERE",
            "dept_name",
            "=",
            "'Biology",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "instructor",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "instructor",
            "where",
            "dept_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of all instructors with a higher salary than any of the instructors in the Biology department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "instructors",
            "with",
            "a",
            "higher",
            "salary",
            "than",
            "any",
            "of",
            "the",
            "instructors",
            "in",
            "the",
            "Biology",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"Biology\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT count(*) FROM debate",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "debate"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "debate"
        ],
        "question": "How many debates are there?",
        "question_toks": [
            "How",
            "many",
            "debates",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT Venue FROM debate ORDER BY Num_of_Audience ASC",
        "query_toks": [
            "SELECT",
            "Venue",
            "FROM",
            "debate",
            "ORDER",
            "BY",
            "Num_of_Audience",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "venue",
            "from",
            "debate",
            "order",
            "by",
            "num_of_audience",
            "asc"
        ],
        "question": "List the venues of debates in ascending order of the number of audience.",
        "question_toks": [
            "List",
            "the",
            "venues",
            "of",
            "debates",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "number",
            "of",
            "audience",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT Date ,  Venue FROM debate",
        "query_toks": [
            "SELECT",
            "Date",
            ",",
            "Venue",
            "FROM",
            "debate"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "venue",
            "from",
            "debate"
        ],
        "question": "What are the date and venue of each debate?",
        "question_toks": [
            "What",
            "are",
            "the",
            "date",
            "and",
            "venue",
            "of",
            "each",
            "debate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT Date FROM debate WHERE Num_of_Audience  >  150",
        "query_toks": [
            "SELECT",
            "Date",
            "FROM",
            "debate",
            "WHERE",
            "Num_of_Audience",
            ">",
            "150"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "debate",
            "where",
            "num_of_audience",
            ">",
            "value"
        ],
        "question": "List the dates of debates with number of audience bigger than 150",
        "question_toks": [
            "List",
            "the",
            "dates",
            "of",
            "debates",
            "with",
            "number",
            "of",
            "audience",
            "bigger",
            "than",
            "150"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    150.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT Name FROM  people WHERE Age  =  35 OR Age  =  36",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "people",
            "WHERE",
            "Age",
            "=",
            "35",
            "OR",
            "Age",
            "=",
            "36"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "age",
            "=",
            "value",
            "or",
            "age",
            "=",
            "value"
        ],
        "question": "Show the names of people aged either 35 or 36.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "people",
            "aged",
            "either",
            "35",
            "or",
            "36",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    35.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    36.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT Party FROM people ORDER BY Age ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Party",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "Age",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "people",
            "order",
            "by",
            "age",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the party of the youngest people?",
        "question_toks": [
            "What",
            "is",
            "the",
            "party",
            "of",
            "the",
            "youngest",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT Party ,  COUNT(*) FROM people GROUP BY Party",
        "query_toks": [
            "SELECT",
            "Party",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "Party"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "people",
            "group",
            "by",
            "party"
        ],
        "question": "Show different parties of people along with the number of people in each party.",
        "question_toks": [
            "Show",
            "different",
            "parties",
            "of",
            "people",
            "along",
            "with",
            "the",
            "number",
            "of",
            "people",
            "in",
            "each",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT Party FROM people GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Party",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "Party",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "people",
            "group",
            "by",
            "party",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the party that has the most people.",
        "question_toks": [
            "Show",
            "the",
            "party",
            "that",
            "has",
            "the",
            "most",
            "people",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT DISTINCT Venue FROM debate",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Venue",
            "FROM",
            "debate"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "venue",
            "from",
            "debate"
        ],
        "question": "Show the distinct venues of debates",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "venues",
            "of",
            "debates"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT T3.Name ,  T2.Date ,  T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID  =  T2.Debate_ID JOIN people AS T3 ON T1.Affirmative  =  T3.People_ID",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.Date",
            ",",
            "T2.Venue",
            "FROM",
            "debate_people",
            "AS",
            "T1",
            "JOIN",
            "debate",
            "AS",
            "T2",
            "ON",
            "T1.Debate_ID",
            "=",
            "T2.Debate_ID",
            "JOIN",
            "people",
            "AS",
            "T3",
            "ON",
            "T1.Affirmative",
            "=",
            "T3.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "date",
            ",",
            "t2",
            ".",
            "venue",
            "from",
            "debate_people",
            "as",
            "t1",
            "join",
            "debate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "debate_id",
            "=",
            "t2",
            ".",
            "debate_id",
            "join",
            "people",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "affirmative",
            "=",
            "t3",
            ".",
            "people_id"
        ],
        "question": "Show the names of people, and dates and venues of debates they are on the affirmative side.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "people",
            ",",
            "and",
            "dates",
            "and",
            "venues",
            "of",
            "debates",
            "they",
            "are",
            "on",
            "the",
            "affirmative",
            "side",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT T3.Name ,  T2.Date ,  T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID  =  T2.Debate_ID JOIN people AS T3 ON T1.Negative  =  T3.People_ID ORDER BY T3.Name ASC",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.Date",
            ",",
            "T2.Venue",
            "FROM",
            "debate_people",
            "AS",
            "T1",
            "JOIN",
            "debate",
            "AS",
            "T2",
            "ON",
            "T1.Debate_ID",
            "=",
            "T2.Debate_ID",
            "JOIN",
            "people",
            "AS",
            "T3",
            "ON",
            "T1.Negative",
            "=",
            "T3.People_ID",
            "ORDER",
            "BY",
            "T3.Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "date",
            ",",
            "t2",
            ".",
            "venue",
            "from",
            "debate_people",
            "as",
            "t1",
            "join",
            "debate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "debate_id",
            "=",
            "t2",
            ".",
            "debate_id",
            "join",
            "people",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "negative",
            "=",
            "t3",
            ".",
            "people_id",
            "order",
            "by",
            "t3",
            ".",
            "name",
            "asc"
        ],
        "question": "Show the names of people, and dates and venues of debates they are on the negative side, ordered in ascending alphabetical order of name.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "people",
            ",",
            "and",
            "dates",
            "and",
            "venues",
            "of",
            "debates",
            "they",
            "are",
            "on",
            "the",
            "negative",
            "side",
            ",",
            "ordered",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "of",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT T3.Name FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID  =  T2.Debate_ID JOIN people AS T3 ON T1.Affirmative  =  T3.People_ID WHERE T2.Num_of_Audience  >  200",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "debate_people",
            "AS",
            "T1",
            "JOIN",
            "debate",
            "AS",
            "T2",
            "ON",
            "T1.Debate_ID",
            "=",
            "T2.Debate_ID",
            "JOIN",
            "people",
            "AS",
            "T3",
            "ON",
            "T1.Affirmative",
            "=",
            "T3.People_ID",
            "WHERE",
            "T2.Num_of_Audience",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "debate_people",
            "as",
            "t1",
            "join",
            "debate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "debate_id",
            "=",
            "t2",
            ".",
            "debate_id",
            "join",
            "people",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "affirmative",
            "=",
            "t3",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "num_of_audience",
            ">",
            "value"
        ],
        "question": "Show the names of people that are on affirmative side of debates with number of audience bigger than 200.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "people",
            "that",
            "are",
            "on",
            "affirmative",
            "side",
            "of",
            "debates",
            "with",
            "number",
            "of",
            "audience",
            "bigger",
            "than",
            "200",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT T2.Name ,  COUNT(*) FROM debate_people AS T1 JOIN people AS T2 ON T1.Affirmative  =  T2.People_ID GROUP BY T2.Name",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "debate_people",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Affirmative",
            "=",
            "T2.People_ID",
            "GROUP",
            "BY",
            "T2.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "debate_people",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "affirmative",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "Show the names of people and the number of times they have been on the affirmative side of debates.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "people",
            "and",
            "the",
            "number",
            "of",
            "times",
            "they",
            "have",
            "been",
            "on",
            "the",
            "affirmative",
            "side",
            "of",
            "debates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT T2.Name FROM debate_people AS T1 JOIN people AS T2 ON T1.Negative  =  T2.People_ID GROUP BY T2.Name HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "debate_people",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Negative",
            "=",
            "T2.People_ID",
            "GROUP",
            "BY",
            "T2.Name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "debate_people",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "negative",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the names of people who have been on the negative side of debates at least twice.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "people",
            "who",
            "have",
            "been",
            "on",
            "the",
            "negative",
            "side",
            "of",
            "debates",
            "at",
            "least",
            "twice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "debate",
        "query": "SELECT Name FROM people WHERE People_id NOT IN (SELECT Affirmative FROM debate_people)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "people",
            "WHERE",
            "People_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Affirmative",
            "FROM",
            "debate_people",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "affirmative",
            "from",
            "debate_people",
            ")"
        ],
        "question": "List the names of people that have not been on the affirmative side of debates.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "people",
            "that",
            "have",
            "not",
            "been",
            "on",
            "the",
            "affirmative",
            "side",
            "of",
            "debates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT customer_details FROM customers ORDER BY customer_details",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "customers",
            "ORDER",
            "BY",
            "customer_details"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "order",
            "by",
            "customer_details"
        ],
        "question": "List the names of all the customers in alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "the",
            "customers",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT customer_details FROM customers ORDER BY customer_details",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "customers",
            "ORDER",
            "BY",
            "customer_details"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "order",
            "by",
            "customer_details"
        ],
        "question": "Sort the customer names in alphabetical order.",
        "question_toks": [
            "Sort",
            "the",
            "customer",
            "names",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT policy_type_code FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id WHERE t2.customer_details  =  \"Dayana Robel\"",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t2.customer_details",
            "=",
            "``",
            "Dayana",
            "Robel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_details",
            "=",
            "value"
        ],
        "question": "Find all the policy type codes associated with the customer \"Dayana Robel\"",
        "question_toks": [
            "Find",
            "all",
            "the",
            "policy",
            "type",
            "codes",
            "associated",
            "with",
            "the",
            "customer",
            "``",
            "Dayana",
            "Robel",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Dayana Robel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT policy_type_code FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id WHERE t2.customer_details  =  \"Dayana Robel\"",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t2.customer_details",
            "=",
            "``",
            "Dayana",
            "Robel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_details",
            "=",
            "value"
        ],
        "question": "What are the type codes of the policies used by the customer \"Dayana Robel\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "type",
            "codes",
            "of",
            "the",
            "policies",
            "used",
            "by",
            "the",
            "customer",
            "``",
            "Dayana",
            "Robel",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Dayana Robel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "policies",
            "group",
            "by",
            "policy_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which type of policy is most frequently used? Give me the policy type code.",
        "question_toks": [
            "Which",
            "type",
            "of",
            "policy",
            "is",
            "most",
            "frequently",
            "used",
            "?",
            "Give",
            "me",
            "the",
            "policy",
            "type",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "policies",
            "group",
            "by",
            "policy_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the type code of the most frequently used policy.",
        "question_toks": [
            "Find",
            "the",
            "type",
            "code",
            "of",
            "the",
            "most",
            "frequently",
            "used",
            "policy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "policies",
            "group",
            "by",
            "policy_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find all the policy types that are used by more than 2 customers.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "policy",
            "types",
            "that",
            "are",
            "used",
            "by",
            "more",
            "than",
            "2",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            "FROM",
            "policies",
            "GROUP",
            "BY",
            "policy_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "policies",
            "group",
            "by",
            "policy_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which types of policy are chosen by more than 2 customers? Give me the policy type codes.",
        "question_toks": [
            "Which",
            "types",
            "of",
            "policy",
            "are",
            "chosen",
            "by",
            "more",
            "than",
            "2",
            "customers",
            "?",
            "Give",
            "me",
            "the",
            "policy",
            "type",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT sum(amount_piad) ,  avg(amount_piad) FROM claim_headers",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "amount_piad",
            ")",
            ",",
            "avg",
            "(",
            "amount_piad",
            ")",
            "FROM",
            "claim_headers"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount_piad",
            ")",
            ",",
            "avg",
            "(",
            "amount_piad",
            ")",
            "from",
            "claim_headers"
        ],
        "question": "Find the total and average amount paid in claim headers.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "and",
            "average",
            "amount",
            "paid",
            "in",
            "claim",
            "headers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT sum(amount_piad) ,  avg(amount_piad) FROM claim_headers",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "amount_piad",
            ")",
            ",",
            "avg",
            "(",
            "amount_piad",
            ")",
            "FROM",
            "claim_headers"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount_piad",
            ")",
            ",",
            "avg",
            "(",
            "amount_piad",
            ")",
            "from",
            "claim_headers"
        ],
        "question": "What are the total amount and average amount paid in claim headers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "amount",
            "and",
            "average",
            "amount",
            "paid",
            "in",
            "claim",
            "headers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT sum(t1.amount_claimed) FROM claim_headers AS t1 JOIN claims_documents AS t2 ON t1.claim_header_id  =  t2.claim_id WHERE t2.created_date  =  (SELECT created_date FROM claims_documents ORDER BY created_date LIMIT 1)",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t1.amount_claimed",
            ")",
            "FROM",
            "claim_headers",
            "AS",
            "t1",
            "JOIN",
            "claims_documents",
            "AS",
            "t2",
            "ON",
            "t1.claim_header_id",
            "=",
            "t2.claim_id",
            "WHERE",
            "t2.created_date",
            "=",
            "(",
            "SELECT",
            "created_date",
            "FROM",
            "claims_documents",
            "ORDER",
            "BY",
            "created_date",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "amount_claimed",
            ")",
            "from",
            "claim_headers",
            "as",
            "t1",
            "join",
            "claims_documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_header_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "where",
            "t2",
            ".",
            "created_date",
            "=",
            "(",
            "select",
            "created_date",
            "from",
            "claims_documents",
            "order",
            "by",
            "created_date",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the total amount claimed in the most recently created document.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "amount",
            "claimed",
            "in",
            "the",
            "most",
            "recently",
            "created",
            "document",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "asc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        21,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT sum(t1.amount_claimed) FROM claim_headers AS t1 JOIN claims_documents AS t2 ON t1.claim_header_id  =  t2.claim_id WHERE t2.created_date  =  (SELECT created_date FROM claims_documents ORDER BY created_date LIMIT 1)",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t1.amount_claimed",
            ")",
            "FROM",
            "claim_headers",
            "AS",
            "t1",
            "JOIN",
            "claims_documents",
            "AS",
            "t2",
            "ON",
            "t1.claim_header_id",
            "=",
            "t2.claim_id",
            "WHERE",
            "t2.created_date",
            "=",
            "(",
            "SELECT",
            "created_date",
            "FROM",
            "claims_documents",
            "ORDER",
            "BY",
            "created_date",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "amount_claimed",
            ")",
            "from",
            "claim_headers",
            "as",
            "t1",
            "join",
            "claims_documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_header_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "where",
            "t2",
            ".",
            "created_date",
            "=",
            "(",
            "select",
            "created_date",
            "from",
            "claims_documents",
            "order",
            "by",
            "created_date",
            "limit",
            "value",
            ")"
        ],
        "question": "How much amount in total were claimed in the most recently created document?",
        "question_toks": [
            "How",
            "much",
            "amount",
            "in",
            "total",
            "were",
            "claimed",
            "in",
            "the",
            "most",
            "recently",
            "created",
            "document",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "asc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        21,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id  =  t2.policy_id JOIN customers AS t3 ON t2.customer_id  =  t3.customer_id WHERE t1.amount_claimed  =  (SELECT max(amount_claimed) FROM claim_headers)",
        "query_toks": [
            "SELECT",
            "t3.customer_details",
            "FROM",
            "claim_headers",
            "AS",
            "t1",
            "JOIN",
            "policies",
            "AS",
            "t2",
            "ON",
            "t1.policy_id",
            "=",
            "t2.policy_id",
            "JOIN",
            "customers",
            "AS",
            "t3",
            "ON",
            "t2.customer_id",
            "=",
            "t3.customer_id",
            "WHERE",
            "t1.amount_claimed",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "amount_claimed",
            ")",
            "FROM",
            "claim_headers",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "customer_details",
            "from",
            "claim_headers",
            "as",
            "t1",
            "join",
            "policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "policy_id",
            "=",
            "t2",
            ".",
            "policy_id",
            "join",
            "customers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t3",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "amount_claimed",
            "=",
            "(",
            "select",
            "max",
            "(",
            "amount_claimed",
            ")",
            "from",
            "claim_headers",
            ")"
        ],
        "question": "What is the name of the customer who has made the largest amount of claim in a single claim?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "made",
            "the",
            "largest",
            "amount",
            "of",
            "claim",
            "in",
            "a",
            "single",
            "claim",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id  =  t2.policy_id JOIN customers AS t3 ON t2.customer_id  =  t3.customer_id WHERE t1.amount_claimed  =  (SELECT max(amount_claimed) FROM claim_headers)",
        "query_toks": [
            "SELECT",
            "t3.customer_details",
            "FROM",
            "claim_headers",
            "AS",
            "t1",
            "JOIN",
            "policies",
            "AS",
            "t2",
            "ON",
            "t1.policy_id",
            "=",
            "t2.policy_id",
            "JOIN",
            "customers",
            "AS",
            "t3",
            "ON",
            "t2.customer_id",
            "=",
            "t3.customer_id",
            "WHERE",
            "t1.amount_claimed",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "amount_claimed",
            ")",
            "FROM",
            "claim_headers",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "customer_details",
            "from",
            "claim_headers",
            "as",
            "t1",
            "join",
            "policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "policy_id",
            "=",
            "t2",
            ".",
            "policy_id",
            "join",
            "customers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t3",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "amount_claimed",
            "=",
            "(",
            "select",
            "max",
            "(",
            "amount_claimed",
            ")",
            "from",
            "claim_headers",
            ")"
        ],
        "question": "Which customer made the largest amount of claim in a single claim? Return the customer details.",
        "question_toks": [
            "Which",
            "customer",
            "made",
            "the",
            "largest",
            "amount",
            "of",
            "claim",
            "in",
            "a",
            "single",
            "claim",
            "?",
            "Return",
            "the",
            "customer",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id  =  t2.policy_id JOIN customers AS t3 ON t2.customer_id  =  t3.customer_id WHERE t1.amount_piad  =  (SELECT min(amount_piad) FROM claim_headers)",
        "query_toks": [
            "SELECT",
            "t3.customer_details",
            "FROM",
            "claim_headers",
            "AS",
            "t1",
            "JOIN",
            "policies",
            "AS",
            "t2",
            "ON",
            "t1.policy_id",
            "=",
            "t2.policy_id",
            "JOIN",
            "customers",
            "AS",
            "t3",
            "ON",
            "t2.customer_id",
            "=",
            "t3.customer_id",
            "WHERE",
            "t1.amount_piad",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "amount_piad",
            ")",
            "FROM",
            "claim_headers",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "customer_details",
            "from",
            "claim_headers",
            "as",
            "t1",
            "join",
            "policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "policy_id",
            "=",
            "t2",
            ".",
            "policy_id",
            "join",
            "customers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t3",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "amount_piad",
            "=",
            "(",
            "select",
            "min",
            "(",
            "amount_piad",
            ")",
            "from",
            "claim_headers",
            ")"
        ],
        "question": "What is the name of the customer who has made the minimum amount of payment in one claim?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "made",
            "the",
            "minimum",
            "amount",
            "of",
            "payment",
            "in",
            "one",
            "claim",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id  =  t2.policy_id JOIN customers AS t3 ON t2.customer_id  =  t3.customer_id WHERE t1.amount_piad  =  (SELECT min(amount_piad) FROM claim_headers)",
        "query_toks": [
            "SELECT",
            "t3.customer_details",
            "FROM",
            "claim_headers",
            "AS",
            "t1",
            "JOIN",
            "policies",
            "AS",
            "t2",
            "ON",
            "t1.policy_id",
            "=",
            "t2.policy_id",
            "JOIN",
            "customers",
            "AS",
            "t3",
            "ON",
            "t2.customer_id",
            "=",
            "t3.customer_id",
            "WHERE",
            "t1.amount_piad",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "amount_piad",
            ")",
            "FROM",
            "claim_headers",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "customer_details",
            "from",
            "claim_headers",
            "as",
            "t1",
            "join",
            "policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "policy_id",
            "=",
            "t2",
            ".",
            "policy_id",
            "join",
            "customers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t3",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "amount_piad",
            "=",
            "(",
            "select",
            "min",
            "(",
            "amount_piad",
            ")",
            "from",
            "claim_headers",
            ")"
        ],
        "question": "Which customer made the smallest amount of claim in one claim? Return the customer details.",
        "question_toks": [
            "Which",
            "customer",
            "made",
            "the",
            "smallest",
            "amount",
            "of",
            "claim",
            "in",
            "one",
            "claim",
            "?",
            "Return",
            "the",
            "customer",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT customer_details FROM customers EXCEPT SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "except",
            "select",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Find the names of customers who have no policies associated.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "no",
            "policies",
            "associated",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT customer_details FROM customers EXCEPT SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "except",
            "select",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "What are the names of customers who do not have any policies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "any",
            "policies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT count(*) FROM claims_processing_stages",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "claims_processing_stages"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "claims_processing_stages"
        ],
        "question": "How many claim processing stages are there in total?",
        "question_toks": [
            "How",
            "many",
            "claim",
            "processing",
            "stages",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT count(*) FROM claims_processing_stages",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "claims_processing_stages"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "claims_processing_stages"
        ],
        "question": "Find the number of distinct stages in claim processing.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "stages",
            "in",
            "claim",
            "processing",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t2.claim_status_name FROM claims_processing AS t1 JOIN claims_processing_stages AS t2 ON t1.claim_stage_id  =  t2.claim_stage_id GROUP BY t1.claim_stage_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.claim_status_name",
            "FROM",
            "claims_processing",
            "AS",
            "t1",
            "JOIN",
            "claims_processing_stages",
            "AS",
            "t2",
            "ON",
            "t1.claim_stage_id",
            "=",
            "t2.claim_stage_id",
            "GROUP",
            "BY",
            "t1.claim_stage_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "claim_status_name",
            "from",
            "claims_processing",
            "as",
            "t1",
            "join",
            "claims_processing_stages",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_stage_id",
            "=",
            "t2",
            ".",
            "claim_stage_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_stage_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the claim processing stage that most of the claims are on?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "claim",
            "processing",
            "stage",
            "that",
            "most",
            "of",
            "the",
            "claims",
            "are",
            "on",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t2.claim_status_name FROM claims_processing AS t1 JOIN claims_processing_stages AS t2 ON t1.claim_stage_id  =  t2.claim_stage_id GROUP BY t1.claim_stage_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.claim_status_name",
            "FROM",
            "claims_processing",
            "AS",
            "t1",
            "JOIN",
            "claims_processing_stages",
            "AS",
            "t2",
            "ON",
            "t1.claim_stage_id",
            "=",
            "t2.claim_stage_id",
            "GROUP",
            "BY",
            "t1.claim_stage_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "claim_status_name",
            "from",
            "claims_processing",
            "as",
            "t1",
            "join",
            "claims_processing_stages",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_stage_id",
            "=",
            "t2",
            ".",
            "claim_stage_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_stage_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which claim processing stage has the most claims? Show the claim status name.",
        "question_toks": [
            "Which",
            "claim",
            "processing",
            "stage",
            "has",
            "the",
            "most",
            "claims",
            "?",
            "Show",
            "the",
            "claim",
            "status",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT customer_details FROM customers WHERE customer_details LIKE \"%Diana%\"",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "customers",
            "WHERE",
            "customer_details",
            "LIKE",
            "``",
            "%",
            "Diana",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "where",
            "customer_details",
            "like",
            "value"
        ],
        "question": "Find the names of customers whose name contains \"Diana\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "whose",
            "name",
            "contains",
            "``",
            "Diana",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Diana%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT customer_details FROM customers WHERE customer_details LIKE \"%Diana%\"",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "customers",
            "WHERE",
            "customer_details",
            "LIKE",
            "``",
            "%",
            "Diana",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "where",
            "customer_details",
            "like",
            "value"
        ],
        "question": "Which customers have the substring \"Diana\" in their names? Return the customer details.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "the",
            "substring",
            "``",
            "Diana",
            "''",
            "in",
            "their",
            "names",
            "?",
            "Return",
            "the",
            "customer",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Diana%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.policy_type_code  =  \"Deputy\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.policy_type_code",
            "=",
            "``",
            "Deputy",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "policy_type_code",
            "=",
            "value"
        ],
        "question": "Find the names of the customers who have an deputy policy.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "an",
            "deputy",
            "policy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Deputy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.policy_type_code  =  \"Deputy\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.policy_type_code",
            "=",
            "``",
            "Deputy",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "policy_type_code",
            "=",
            "value"
        ],
        "question": "Which customers have an insurance policy with the type code \"Deputy\"? Give me the customer details.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "an",
            "insurance",
            "policy",
            "with",
            "the",
            "type",
            "code",
            "``",
            "Deputy",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "customer",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Deputy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.policy_type_code  =  \"Deputy\" OR t1.policy_type_code  =  \"Uniform\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.policy_type_code",
            "=",
            "``",
            "Deputy",
            "''",
            "OR",
            "t1.policy_type_code",
            "=",
            "``",
            "Uniform",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "policy_type_code",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "policy_type_code",
            "=",
            "value"
        ],
        "question": "Find the names of customers who either have an deputy policy or uniformed policy.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "either",
            "have",
            "an",
            "deputy",
            "policy",
            "or",
            "uniformed",
            "policy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Deputy\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Uniform\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.policy_type_code  =  \"Deputy\" OR t1.policy_type_code  =  \"Uniform\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.policy_type_code",
            "=",
            "``",
            "Deputy",
            "''",
            "OR",
            "t1.policy_type_code",
            "=",
            "``",
            "Uniform",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "policy_type_code",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "policy_type_code",
            "=",
            "value"
        ],
        "question": "Which customers have an insurance policy with the type code \"Deputy\" or \"Uniform\"? Return the customer details.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "an",
            "insurance",
            "policy",
            "with",
            "the",
            "type",
            "code",
            "``",
            "Deputy",
            "''",
            "or",
            "``",
            "Uniform",
            "''",
            "?",
            "Return",
            "the",
            "customer",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Deputy\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Uniform\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT customer_details FROM customers UNION SELECT staff_details FROM staff",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "customers",
            "UNION",
            "SELECT",
            "staff_details",
            "FROM",
            "staff"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "union",
            "select",
            "staff_details",
            "from",
            "staff"
        ],
        "question": "Find the names of all the customers and staff members.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "the",
            "customers",
            "and",
            "staff",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT customer_details FROM customers UNION SELECT staff_details FROM staff",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "customers",
            "UNION",
            "SELECT",
            "staff_details",
            "FROM",
            "staff"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "union",
            "select",
            "staff_details",
            "from",
            "staff"
        ],
        "question": "What are the names of the customers and staff members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "customers",
            "and",
            "staff",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT policy_type_code ,  count(*) FROM policies GROUP BY policy_type_code",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "policies",
            "GROUP",
            "BY",
            "policy_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "policies",
            "group",
            "by",
            "policy_type_code"
        ],
        "question": "Find the number of records of each policy type and its type code.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "records",
            "of",
            "each",
            "policy",
            "type",
            "and",
            "its",
            "type",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT policy_type_code ,  count(*) FROM policies GROUP BY policy_type_code",
        "query_toks": [
            "SELECT",
            "policy_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "policies",
            "GROUP",
            "BY",
            "policy_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "policies",
            "group",
            "by",
            "policy_type_code"
        ],
        "question": "For each policy type, return its type code and its count in the record.",
        "question_toks": [
            "For",
            "each",
            "policy",
            "type",
            ",",
            "return",
            "its",
            "type",
            "code",
            "and",
            "its",
            "count",
            "in",
            "the",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id GROUP BY t2.customer_details ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t2.customer_details",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t2",
            ".",
            "customer_details",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the customer that has been involved in the most policies.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "that",
            "has",
            "been",
            "involved",
            "in",
            "the",
            "most",
            "policies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id GROUP BY t2.customer_details ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t2.customer_details",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t2",
            ".",
            "customer_details",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which customer have the most policies? Give me the customer details.",
        "question_toks": [
            "Which",
            "customer",
            "have",
            "the",
            "most",
            "policies",
            "?",
            "Give",
            "me",
            "the",
            "customer",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT claim_status_description FROM claims_processing_stages WHERE claim_status_name  =  \"Open\"",
        "query_toks": [
            "SELECT",
            "claim_status_description",
            "FROM",
            "claims_processing_stages",
            "WHERE",
            "claim_status_name",
            "=",
            "``",
            "Open",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "claim_status_description",
            "from",
            "claims_processing_stages",
            "where",
            "claim_status_name",
            "=",
            "value"
        ],
        "question": "What is the description of the claim status \"Open\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "claim",
            "status",
            "``",
            "Open",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Open\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT claim_status_description FROM claims_processing_stages WHERE claim_status_name  =  \"Open\"",
        "query_toks": [
            "SELECT",
            "claim_status_description",
            "FROM",
            "claims_processing_stages",
            "WHERE",
            "claim_status_name",
            "=",
            "``",
            "Open",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "claim_status_description",
            "from",
            "claims_processing_stages",
            "where",
            "claim_status_name",
            "=",
            "value"
        ],
        "question": "Find the description of the claim status \"Open\".",
        "question_toks": [
            "Find",
            "the",
            "description",
            "of",
            "the",
            "claim",
            "status",
            "``",
            "Open",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Open\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT count(DISTINCT claim_outcome_code) FROM claims_processing",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "claim_outcome_code",
            ")",
            "FROM",
            "claims_processing"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "claim_outcome_code",
            ")",
            "from",
            "claims_processing"
        ],
        "question": "How many distinct claim outcome codes are there?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "claim",
            "outcome",
            "codes",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                28,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT count(DISTINCT claim_outcome_code) FROM claims_processing",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "claim_outcome_code",
            ")",
            "FROM",
            "claims_processing"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "claim_outcome_code",
            ")",
            "from",
            "claims_processing"
        ],
        "question": "Count the number of distinct claim outcome codes.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "claim",
            "outcome",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                28,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.start_date  =  (SELECT max(start_date) FROM policies)",
        "query_toks": [
            "SELECT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.start_date",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "start_date",
            ")",
            "FROM",
            "policies",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "start_date",
            "=",
            "(",
            "select",
            "max",
            "(",
            "start_date",
            ")",
            "from",
            "policies",
            ")"
        ],
        "question": "Which customer is associated with the latest policy?",
        "question_toks": [
            "Which",
            "customer",
            "is",
            "associated",
            "with",
            "the",
            "latest",
            "policy",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_and_eClaims",
        "query": "SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.start_date  =  (SELECT max(start_date) FROM policies)",
        "query_toks": [
            "SELECT",
            "t2.customer_details",
            "FROM",
            "policies",
            "AS",
            "t1",
            "JOIN",
            "customers",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.start_date",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "start_date",
            ")",
            "FROM",
            "policies",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_details",
            "from",
            "policies",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "start_date",
            "=",
            "(",
            "select",
            "max",
            "(",
            "start_date",
            ")",
            "from",
            "policies",
            ")"
        ],
        "question": "Find the customer who started a policy most recently.",
        "question_toks": [
            "Find",
            "the",
            "customer",
            "who",
            "started",
            "a",
            "policy",
            "most",
            "recently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts"
        ],
        "question": "Show the number of accounts.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts"
        ],
        "question": "How many accounts are there?",
        "question_toks": [
            "How",
            "many",
            "accounts",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(DISTINCT customer_id) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "customer_id",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "customer_id",
            ")",
            "from",
            "accounts"
        ],
        "question": "How many customers have opened an account?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "have",
            "opened",
            "an",
            "account",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                21,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(DISTINCT customer_id) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "customer_id",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "customer_id",
            ")",
            "from",
            "accounts"
        ],
        "question": "Count the number of customers who have an account.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "who",
            "have",
            "an",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                21,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT account_id ,  date_account_opened ,  account_name ,  other_account_details FROM Accounts",
        "query_toks": [
            "SELECT",
            "account_id",
            ",",
            "date_account_opened",
            ",",
            "account_name",
            ",",
            "other_account_details",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            ",",
            "date_account_opened",
            ",",
            "account_name",
            ",",
            "other_account_details",
            "from",
            "accounts"
        ],
        "question": "Show the id, the date of account opened, the account name, and other account detail for all accounts.",
        "question_toks": [
            "Show",
            "the",
            "id",
            ",",
            "the",
            "date",
            "of",
            "account",
            "opened",
            ",",
            "the",
            "account",
            "name",
            ",",
            "and",
            "other",
            "account",
            "detail",
            "for",
            "all",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT account_id ,  date_account_opened ,  account_name ,  other_account_details FROM Accounts",
        "query_toks": [
            "SELECT",
            "account_id",
            ",",
            "date_account_opened",
            ",",
            "account_name",
            ",",
            "other_account_details",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            ",",
            "date_account_opened",
            ",",
            "account_name",
            ",",
            "other_account_details",
            "from",
            "accounts"
        ],
        "question": "What are the ids, date opened, name, and other details for all accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "date",
            "opened",
            ",",
            "name",
            ",",
            "and",
            "other",
            "details",
            "for",
            "all",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.account_id ,  T1.date_account_opened ,  T1.account_name ,  T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  'Meaghan'",
        "query_toks": [
            "SELECT",
            "T1.account_id",
            ",",
            "T1.date_account_opened",
            ",",
            "T1.account_name",
            ",",
            "T1.other_account_details",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "'Meaghan",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "account_id",
            ",",
            "t1",
            ".",
            "date_account_opened",
            ",",
            "t1",
            ".",
            "account_name",
            ",",
            "t1",
            ".",
            "other_account_details",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value"
        ],
        "question": "Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'.",
        "question_toks": [
            "Show",
            "the",
            "id",
            ",",
            "the",
            "account",
            "name",
            ",",
            "and",
            "other",
            "account",
            "details",
            "for",
            "all",
            "accounts",
            "by",
            "the",
            "customer",
            "with",
            "first",
            "name",
            "'Meaghan",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Meaghan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.account_id ,  T1.date_account_opened ,  T1.account_name ,  T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  'Meaghan'",
        "query_toks": [
            "SELECT",
            "T1.account_id",
            ",",
            "T1.date_account_opened",
            ",",
            "T1.account_name",
            ",",
            "T1.other_account_details",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "'Meaghan",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "account_id",
            ",",
            "t1",
            ".",
            "date_account_opened",
            ",",
            "t1",
            ".",
            "account_name",
            ",",
            "t1",
            ".",
            "other_account_details",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value"
        ],
        "question": "What are the ids, names, dates of opening, and other details for accounts corresponding to the customer with the first name \"Meaghan\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "names",
            ",",
            "dates",
            "of",
            "opening",
            ",",
            "and",
            "other",
            "details",
            "for",
            "accounts",
            "corresponding",
            "to",
            "the",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "``",
            "Meaghan",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Meaghan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.account_name ,  T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  \"Meaghan\" AND T2.customer_last_name  =  \"Keeling\"",
        "query_toks": [
            "SELECT",
            "T1.account_name",
            ",",
            "T1.other_account_details",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "``",
            "Meaghan",
            "''",
            "AND",
            "T2.customer_last_name",
            "=",
            "``",
            "Keeling",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "account_name",
            ",",
            "t1",
            ".",
            "other_account_details",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "customer_last_name",
            "=",
            "value"
        ],
        "question": "Show the account name and other account detail for all accounts by the customer with first name Meaghan and last name Keeling.",
        "question_toks": [
            "Show",
            "the",
            "account",
            "name",
            "and",
            "other",
            "account",
            "detail",
            "for",
            "all",
            "accounts",
            "by",
            "the",
            "customer",
            "with",
            "first",
            "name",
            "Meaghan",
            "and",
            "last",
            "name",
            "Keeling",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Meaghan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Keeling\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.account_name ,  T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.customer_first_name  =  \"Meaghan\" AND T2.customer_last_name  =  \"Keeling\"",
        "query_toks": [
            "SELECT",
            "T1.account_name",
            ",",
            "T1.other_account_details",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.customer_first_name",
            "=",
            "``",
            "Meaghan",
            "''",
            "AND",
            "T2.customer_last_name",
            "=",
            "``",
            "Keeling",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "account_name",
            ",",
            "t1",
            ".",
            "other_account_details",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "customer_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "customer_last_name",
            "=",
            "value"
        ],
        "question": "What are the names and other details for accounts corresponding to the customer named Meaghan Keeling?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "other",
            "details",
            "for",
            "accounts",
            "corresponding",
            "to",
            "the",
            "customer",
            "named",
            "Meaghan",
            "Keeling",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Meaghan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Keeling\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.customer_first_name ,  T2.customer_last_name FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.account_name  =  \"900\"",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.account_name",
            "=",
            "``",
            "900",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "account_name",
            "=",
            "value"
        ],
        "question": "Show the first name and last name for the customer with account name 900.",
        "question_toks": [
            "Show",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "for",
            "the",
            "customer",
            "with",
            "account",
            "name",
            "900",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"900\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.customer_first_name ,  T2.customer_last_name FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.account_name  =  \"900\"",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.account_name",
            "=",
            "``",
            "900",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "account_name",
            "=",
            "value"
        ],
        "question": "What are the full names of customers with the account name 900?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "customers",
            "with",
            "the",
            "account",
            "name",
            "900",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"900\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Customers WHERE customer_id NOT IN (SELECT customer_id FROM Accounts)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "Accounts",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "accounts",
            ")"
        ],
        "question": "How many customers don't have an account?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "do",
            "n't",
            "have",
            "an",
            "account",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Customers WHERE customer_id NOT IN (SELECT customer_id FROM Accounts)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "Accounts",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "accounts",
            ")"
        ],
        "question": "Count the number of customers who do not have an account.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "an",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT DISTINCT T1.customer_first_name ,  T1.customer_last_name ,  T1.phone_number FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_first_name",
            ",",
            "T1.customer_last_name",
            ",",
            "T1.phone_number",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_first_name",
            ",",
            "t1",
            ".",
            "customer_last_name",
            ",",
            "t1",
            ".",
            "phone_number",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Show the unique first names, last names, and phone numbers for all customers with any account.",
        "question_toks": [
            "Show",
            "the",
            "unique",
            "first",
            "names",
            ",",
            "last",
            "names",
            ",",
            "and",
            "phone",
            "numbers",
            "for",
            "all",
            "customers",
            "with",
            "any",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT DISTINCT T1.customer_first_name ,  T1.customer_last_name ,  T1.phone_number FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_first_name",
            ",",
            "T1.customer_last_name",
            ",",
            "T1.phone_number",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_first_name",
            ",",
            "t1",
            ".",
            "customer_last_name",
            ",",
            "t1",
            ".",
            "phone_number",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "What are the distinct first names, last names, and phone numbers for customers with accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "first",
            "names",
            ",",
            "last",
            "names",
            ",",
            "and",
            "phone",
            "numbers",
            "for",
            "customers",
            "with",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT customer_id FROM Customers EXCEPT SELECT customer_id FROM Accounts",
        "query_toks": [
            "SELECT",
            "customer_id",
            "FROM",
            "Customers",
            "EXCEPT",
            "SELECT",
            "customer_id",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            "from",
            "customers",
            "except",
            "select",
            "customer_id",
            "from",
            "accounts"
        ],
        "question": "Show customer ids who don't have an account.",
        "question_toks": [
            "Show",
            "customer",
            "ids",
            "who",
            "do",
            "n't",
            "have",
            "an",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    21,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT customer_id FROM Customers EXCEPT SELECT customer_id FROM Accounts",
        "query_toks": [
            "SELECT",
            "customer_id",
            "FROM",
            "Customers",
            "EXCEPT",
            "SELECT",
            "customer_id",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            "from",
            "customers",
            "except",
            "select",
            "customer_id",
            "from",
            "accounts"
        ],
        "question": "What are the customer ids for customers who do not have an account?",
        "question_toks": [
            "What",
            "are",
            "the",
            "customer",
            "ids",
            "for",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "an",
            "account",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    21,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) ,  customer_id FROM Accounts GROUP BY customer_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "customer_id",
            "FROM",
            "Accounts",
            "GROUP",
            "BY",
            "customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "customer_id",
            "from",
            "accounts",
            "group",
            "by",
            "customer_id"
        ],
        "question": "How many accounts does each customer have? List the number and customer id.",
        "question_toks": [
            "How",
            "many",
            "accounts",
            "does",
            "each",
            "customer",
            "have",
            "?",
            "List",
            "the",
            "number",
            "and",
            "customer",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) ,  customer_id FROM Accounts GROUP BY customer_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "customer_id",
            "FROM",
            "Accounts",
            "GROUP",
            "BY",
            "customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "customer_id",
            "from",
            "accounts",
            "group",
            "by",
            "customer_id"
        ],
        "question": "Count the number of accounts corresponding to each customer id.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "accounts",
            "corresponding",
            "to",
            "each",
            "customer",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.customer_id ,  T2.customer_first_name ,  T2.customer_last_name FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the customer id, first and last name with most number of accounts.",
        "question_toks": [
            "What",
            "is",
            "the",
            "customer",
            "id",
            ",",
            "first",
            "and",
            "last",
            "name",
            "with",
            "most",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.customer_id ,  T2.customer_first_name ,  T2.customer_last_name FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the id and full name of the customer with the most accounts.",
        "question_toks": [
            "Return",
            "the",
            "id",
            "and",
            "full",
            "name",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "most",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.customer_id ,  T2.customer_first_name ,  T2.customer_last_name ,  count(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id"
        ],
        "question": "Show id, first name and last name for all customers and the number of accounts.",
        "question_toks": [
            "Show",
            "id",
            ",",
            "first",
            "name",
            "and",
            "last",
            "name",
            "for",
            "all",
            "customers",
            "and",
            "the",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.customer_id ,  T2.customer_first_name ,  T2.customer_last_name ,  count(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T2.customer_first_name",
            ",",
            "T2.customer_last_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id"
        ],
        "question": "What are the the full names and ids for all customers, and how many accounts does each have?",
        "question_toks": [
            "What",
            "are",
            "the",
            "the",
            "full",
            "names",
            "and",
            "ids",
            "for",
            "all",
            "customers",
            ",",
            "and",
            "how",
            "many",
            "accounts",
            "does",
            "each",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.customer_first_name ,  T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T1.customer_id",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show first name and id for all customers with at least 2 accounts.",
        "question_toks": [
            "Show",
            "first",
            "name",
            "and",
            "id",
            "for",
            "all",
            "customers",
            "with",
            "at",
            "least",
            "2",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.customer_first_name ,  T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.customer_first_name",
            ",",
            "T1.customer_id",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_first_name",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the first names and ids for customers who have two or more accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "ids",
            "for",
            "customers",
            "who",
            "have",
            "two",
            "or",
            "more",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "Show the number of customers.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "Count the number of customers.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT gender ,  count(*) FROM Customers GROUP BY gender",
        "query_toks": [
            "SELECT",
            "gender",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "gender",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "group",
            "by",
            "gender"
        ],
        "question": "Show the number of customers for each gender.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "customers",
            "for",
            "each",
            "gender",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT gender ,  count(*) FROM Customers GROUP BY gender",
        "query_toks": [
            "SELECT",
            "gender",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "gender",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "group",
            "by",
            "gender"
        ],
        "question": "How many customers are there of each gender?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "are",
            "there",
            "of",
            "each",
            "gender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Financial_transactions",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions"
        ],
        "question": "How many transactions do we have?",
        "question_toks": [
            "How",
            "many",
            "transactions",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Financial_transactions",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions"
        ],
        "question": "Count the number of transactions.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) ,  account_id FROM Financial_transactions",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "account_id",
            "FROM",
            "Financial_transactions"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "account_id",
            "from",
            "financial_transactions"
        ],
        "question": "How many transaction does each account have? Show the number and account id.",
        "question_toks": [
            "How",
            "many",
            "transaction",
            "does",
            "each",
            "account",
            "have",
            "?",
            "Show",
            "the",
            "number",
            "and",
            "account",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) ,  account_id FROM Financial_transactions",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "account_id",
            "FROM",
            "Financial_transactions"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "account_id",
            "from",
            "financial_transactions"
        ],
        "question": "Count the number of financial transactions that correspond to each account id.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "financial",
            "transactions",
            "that",
            "correspond",
            "to",
            "each",
            "account",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id  =  T2.account_id WHERE T2.account_name  =  \"337\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.account_id",
            "=",
            "T2.account_id",
            "WHERE",
            "T2.account_name",
            "=",
            "``",
            "337",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "account_id",
            "=",
            "t2",
            ".",
            "account_id",
            "where",
            "t2",
            ".",
            "account_name",
            "=",
            "value"
        ],
        "question": "How many transaction does account with name 337 have?",
        "question_toks": [
            "How",
            "many",
            "transaction",
            "does",
            "account",
            "with",
            "name",
            "337",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"337\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id  =  T2.account_id WHERE T2.account_name  =  \"337\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.account_id",
            "=",
            "T2.account_id",
            "WHERE",
            "T2.account_name",
            "=",
            "``",
            "337",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "account_id",
            "=",
            "t2",
            ".",
            "account_id",
            "where",
            "t2",
            ".",
            "account_name",
            "=",
            "value"
        ],
        "question": "Count the number of financial transactions that the account with the name 337 has.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "financial",
            "transactions",
            "that",
            "the",
            "account",
            "with",
            "the",
            "name",
            "337",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"337\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT avg(transaction_amount) ,  min(transaction_amount) ,  max(transaction_amount) ,   sum(transaction_amount) FROM Financial_transactions",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "transaction_amount",
            ")",
            ",",
            "min",
            "(",
            "transaction_amount",
            ")",
            ",",
            "max",
            "(",
            "transaction_amount",
            ")",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "FROM",
            "Financial_transactions"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "transaction_amount",
            ")",
            ",",
            "min",
            "(",
            "transaction_amount",
            ")",
            ",",
            "max",
            "(",
            "transaction_amount",
            ")",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "from",
            "financial_transactions"
        ],
        "question": "What is the average, minimum, maximum, and total transaction amount?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            ",",
            "minimum",
            ",",
            "maximum",
            ",",
            "and",
            "total",
            "transaction",
            "amount",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT avg(transaction_amount) ,  min(transaction_amount) ,  max(transaction_amount) ,   sum(transaction_amount) FROM Financial_transactions",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "transaction_amount",
            ")",
            ",",
            "min",
            "(",
            "transaction_amount",
            ")",
            ",",
            "max",
            "(",
            "transaction_amount",
            ")",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "FROM",
            "Financial_transactions"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "transaction_amount",
            ")",
            ",",
            "min",
            "(",
            "transaction_amount",
            ")",
            ",",
            "max",
            "(",
            "transaction_amount",
            ")",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "from",
            "financial_transactions"
        ],
        "question": "Return the average, minimum, maximum, and total transaction amounts.",
        "question_toks": [
            "Return",
            "the",
            "average",
            ",",
            "minimum",
            ",",
            "maximum",
            ",",
            "and",
            "total",
            "transaction",
            "amounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT transaction_id FROM Financial_transactions WHERE transaction_amount  >  (SELECT avg(transaction_amount) FROM Financial_transactions)",
        "query_toks": [
            "SELECT",
            "transaction_id",
            "FROM",
            "Financial_transactions",
            "WHERE",
            "transaction_amount",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "transaction_amount",
            ")",
            "FROM",
            "Financial_transactions",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_id",
            "from",
            "financial_transactions",
            "where",
            "transaction_amount",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "transaction_amount",
            ")",
            "from",
            "financial_transactions",
            ")"
        ],
        "question": "Show ids for all transactions whose amounts are greater than the average.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "transactions",
            "whose",
            "amounts",
            "are",
            "greater",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            40,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT transaction_id FROM Financial_transactions WHERE transaction_amount  >  (SELECT avg(transaction_amount) FROM Financial_transactions)",
        "query_toks": [
            "SELECT",
            "transaction_id",
            "FROM",
            "Financial_transactions",
            "WHERE",
            "transaction_amount",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "transaction_amount",
            ")",
            "FROM",
            "Financial_transactions",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_id",
            "from",
            "financial_transactions",
            "where",
            "transaction_amount",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "transaction_amount",
            ")",
            "from",
            "financial_transactions",
            ")"
        ],
        "question": "What are the ids for transactions that have an amount greater than the average amount of a transaction?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "for",
            "transactions",
            "that",
            "have",
            "an",
            "amount",
            "greater",
            "than",
            "the",
            "average",
            "amount",
            "of",
            "a",
            "transaction",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            40,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT transaction_type ,  sum(transaction_amount) FROM Financial_transactions GROUP BY transaction_type",
        "query_toks": [
            "SELECT",
            "transaction_type",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "transaction_type"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "from",
            "financial_transactions",
            "group",
            "by",
            "transaction_type"
        ],
        "question": "Show the transaction types and the total amount of transactions.",
        "question_toks": [
            "Show",
            "the",
            "transaction",
            "types",
            "and",
            "the",
            "total",
            "amount",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT transaction_type ,  sum(transaction_amount) FROM Financial_transactions GROUP BY transaction_type",
        "query_toks": [
            "SELECT",
            "transaction_type",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "transaction_type"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type",
            ",",
            "sum",
            "(",
            "transaction_amount",
            ")",
            "from",
            "financial_transactions",
            "group",
            "by",
            "transaction_type"
        ],
        "question": "What are total transaction amounts for each transaction type?",
        "question_toks": [
            "What",
            "are",
            "total",
            "transaction",
            "amounts",
            "for",
            "each",
            "transaction",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.account_name ,  T1.account_id ,  count(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id  =  T2.account_id GROUP BY T1.account_id",
        "query_toks": [
            "SELECT",
            "T2.account_name",
            ",",
            "T1.account_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.account_id",
            "=",
            "T2.account_id",
            "GROUP",
            "BY",
            "T1.account_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "account_name",
            ",",
            "t1",
            ".",
            "account_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "account_id",
            "=",
            "t2",
            ".",
            "account_id",
            "group",
            "by",
            "t1",
            ".",
            "account_id"
        ],
        "question": "Show the account name, id and the number of transactions for each account.",
        "question_toks": [
            "Show",
            "the",
            "account",
            "name",
            ",",
            "id",
            "and",
            "the",
            "number",
            "of",
            "transactions",
            "for",
            "each",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.account_name ,  T1.account_id ,  count(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id  =  T2.account_id GROUP BY T1.account_id",
        "query_toks": [
            "SELECT",
            "T2.account_name",
            ",",
            "T1.account_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.account_id",
            "=",
            "T2.account_id",
            "GROUP",
            "BY",
            "T1.account_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "account_name",
            ",",
            "t1",
            ".",
            "account_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "account_id",
            "=",
            "t2",
            ".",
            "account_id",
            "group",
            "by",
            "t1",
            ".",
            "account_id"
        ],
        "question": "Return the names and ids of each account, as well as the number of transactions.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "each",
            "account",
            ",",
            "as",
            "well",
            "as",
            "the",
            "number",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT account_id FROM Financial_transactions GROUP BY account_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "account_id",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "account_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            "from",
            "financial_transactions",
            "group",
            "by",
            "account_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the account id with most number of transactions.",
        "question_toks": [
            "Show",
            "the",
            "account",
            "id",
            "with",
            "most",
            "number",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT account_id FROM Financial_transactions GROUP BY account_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "account_id",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "account_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            "from",
            "financial_transactions",
            "group",
            "by",
            "account_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the account with the most transactions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "account",
            "with",
            "the",
            "most",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.account_id ,  T2.account_name FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id  =  T2.account_id GROUP BY T1.account_id HAVING count(*)  >=  4",
        "query_toks": [
            "SELECT",
            "T1.account_id",
            ",",
            "T2.account_name",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.account_id",
            "=",
            "T2.account_id",
            "GROUP",
            "BY",
            "T1.account_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "account_id",
            ",",
            "t2",
            ".",
            "account_name",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "account_id",
            "=",
            "t2",
            ".",
            "account_id",
            "group",
            "by",
            "t1",
            ".",
            "account_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the account id and name with at least 4 transactions.",
        "question_toks": [
            "Show",
            "the",
            "account",
            "id",
            "and",
            "name",
            "with",
            "at",
            "least",
            "4",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.account_id ,  T2.account_name FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id  =  T2.account_id GROUP BY T1.account_id HAVING count(*)  >=  4",
        "query_toks": [
            "SELECT",
            "T1.account_id",
            ",",
            "T2.account_name",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Accounts",
            "AS",
            "T2",
            "ON",
            "T1.account_id",
            "=",
            "T2.account_id",
            "GROUP",
            "BY",
            "T1.account_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "account_id",
            ",",
            "t2",
            ".",
            "account_name",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "accounts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "account_id",
            "=",
            "t2",
            ".",
            "account_id",
            "group",
            "by",
            "t1",
            ".",
            "account_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the ids and names of accounts with 4 or more transactions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "accounts",
            "with",
            "4",
            "or",
            "more",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT DISTINCT product_size FROM Products",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_size",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_size",
            "from",
            "products"
        ],
        "question": "Show all product sizes.",
        "question_toks": [
            "Show",
            "all",
            "product",
            "sizes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT DISTINCT product_size FROM Products",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_size",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_size",
            "from",
            "products"
        ],
        "question": "What are the different product sizes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "product",
            "sizes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT DISTINCT product_color FROM Products",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_color",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_color",
            "from",
            "products"
        ],
        "question": "Show all product colors.",
        "question_toks": [
            "Show",
            "all",
            "product",
            "colors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT DISTINCT product_color FROM Products",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_color",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_color",
            "from",
            "products"
        ],
        "question": "What are the different product colors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "product",
            "colors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT invoice_number ,  count(*) FROM Financial_transactions GROUP BY invoice_number",
        "query_toks": [
            "SELECT",
            "invoice_number",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "invoice_number"
        ],
        "query_toks_no_value": [
            "select",
            "invoice_number",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "group",
            "by",
            "invoice_number"
        ],
        "question": "Show the invoice number and the number of transactions for each invoice.",
        "question_toks": [
            "Show",
            "the",
            "invoice",
            "number",
            "and",
            "the",
            "number",
            "of",
            "transactions",
            "for",
            "each",
            "invoice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT invoice_number ,  count(*) FROM Financial_transactions GROUP BY invoice_number",
        "query_toks": [
            "SELECT",
            "invoice_number",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Financial_transactions",
            "GROUP",
            "BY",
            "invoice_number"
        ],
        "query_toks_no_value": [
            "select",
            "invoice_number",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "financial_transactions",
            "group",
            "by",
            "invoice_number"
        ],
        "question": "How many transactions correspond to each invoice number?",
        "question_toks": [
            "How",
            "many",
            "transactions",
            "correspond",
            "to",
            "each",
            "invoice",
            "number",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.invoice_number ,  T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number  =  T2.invoice_number GROUP BY T1.invoice_number ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.invoice_number",
            ",",
            "T2.invoice_date",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Invoices",
            "AS",
            "T2",
            "ON",
            "T1.invoice_number",
            "=",
            "T2.invoice_number",
            "GROUP",
            "BY",
            "T1.invoice_number",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "invoice_number",
            ",",
            "t2",
            ".",
            "invoice_date",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "invoice_number",
            "=",
            "t2",
            ".",
            "invoice_number",
            "group",
            "by",
            "t1",
            ".",
            "invoice_number",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the invoice number and invoice date for the invoice with most number of transactions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "invoice",
            "number",
            "and",
            "invoice",
            "date",
            "for",
            "the",
            "invoice",
            "with",
            "most",
            "number",
            "of",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.invoice_number ,  T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number  =  T2.invoice_number GROUP BY T1.invoice_number ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.invoice_number",
            ",",
            "T2.invoice_date",
            "FROM",
            "Financial_transactions",
            "AS",
            "T1",
            "JOIN",
            "Invoices",
            "AS",
            "T2",
            "ON",
            "T1.invoice_number",
            "=",
            "T2.invoice_number",
            "GROUP",
            "BY",
            "T1.invoice_number",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "invoice_number",
            ",",
            "t2",
            ".",
            "invoice_date",
            "from",
            "financial_transactions",
            "as",
            "t1",
            "join",
            "invoices",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "invoice_number",
            "=",
            "t2",
            ".",
            "invoice_number",
            "group",
            "by",
            "t1",
            ".",
            "invoice_number",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the invoice number and invoice date corresponding to the invoice with the greatest number of transactions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "invoice",
            "number",
            "and",
            "invoice",
            "date",
            "corresponding",
            "to",
            "the",
            "invoice",
            "with",
            "the",
            "greatest",
            "number",
            "of",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Invoices",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Invoices"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices"
        ],
        "question": "How many invoices do we have?",
        "question_toks": [
            "How",
            "many",
            "invoices",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM Invoices",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Invoices"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices"
        ],
        "question": "Count the number of invoices.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.invoice_date ,  T1.order_id ,  T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id  =  T2.order_id",
        "query_toks": [
            "SELECT",
            "T1.invoice_date",
            ",",
            "T1.order_id",
            ",",
            "T2.order_details",
            "FROM",
            "Invoices",
            "AS",
            "T1",
            "JOIN",
            "Orders",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "invoice_date",
            ",",
            "t1",
            ".",
            "order_id",
            ",",
            "t2",
            ".",
            "order_details",
            "from",
            "invoices",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id"
        ],
        "question": "Show invoice dates and order id and details for all invoices.",
        "question_toks": [
            "Show",
            "invoice",
            "dates",
            "and",
            "order",
            "id",
            "and",
            "details",
            "for",
            "all",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T1.invoice_date ,  T1.order_id ,  T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id  =  T2.order_id",
        "query_toks": [
            "SELECT",
            "T1.invoice_date",
            ",",
            "T1.order_id",
            ",",
            "T2.order_details",
            "FROM",
            "Invoices",
            "AS",
            "T1",
            "JOIN",
            "Orders",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "invoice_date",
            ",",
            "t1",
            ".",
            "order_id",
            ",",
            "t2",
            ".",
            "order_details",
            "from",
            "invoices",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id"
        ],
        "question": "What are the invoice dates, order ids, and order details for all invoices?",
        "question_toks": [
            "What",
            "are",
            "the",
            "invoice",
            "dates",
            ",",
            "order",
            "ids",
            ",",
            "and",
            "order",
            "details",
            "for",
            "all",
            "invoices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT order_id ,  count(*) FROM Invoices GROUP BY order_id",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Invoices",
            "GROUP",
            "BY",
            "order_id"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "order_id"
        ],
        "question": "Show the order ids and the number of invoices for each order.",
        "question_toks": [
            "Show",
            "the",
            "order",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "invoices",
            "for",
            "each",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT order_id ,  count(*) FROM Invoices GROUP BY order_id",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Invoices",
            "GROUP",
            "BY",
            "order_id"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "order_id"
        ],
        "question": "How many invoices correspond to each order id?",
        "question_toks": [
            "How",
            "many",
            "invoices",
            "correspond",
            "to",
            "each",
            "order",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.order_id ,  T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id  =  T2.order_id GROUP BY T2.order_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "T2.order_id",
            ",",
            "T2.order_details",
            "FROM",
            "Invoices",
            "AS",
            "T1",
            "JOIN",
            "Orders",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "GROUP",
            "BY",
            "T2.order_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "order_id",
            ",",
            "t2",
            ".",
            "order_details",
            "from",
            "invoices",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "group",
            "by",
            "t2",
            ".",
            "order_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What is the order id and order details for the order more than two invoices.",
        "question_toks": [
            "What",
            "is",
            "the",
            "order",
            "id",
            "and",
            "order",
            "details",
            "for",
            "the",
            "order",
            "more",
            "than",
            "two",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.order_id ,  T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id  =  T2.order_id GROUP BY T2.order_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "T2.order_id",
            ",",
            "T2.order_details",
            "FROM",
            "Invoices",
            "AS",
            "T1",
            "JOIN",
            "Orders",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "GROUP",
            "BY",
            "T2.order_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "order_id",
            ",",
            "t2",
            ".",
            "order_details",
            "from",
            "invoices",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "group",
            "by",
            "t2",
            ".",
            "order_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Return the order ids and details for orderes with two or more invoices.",
        "question_toks": [
            "Return",
            "the",
            "order",
            "ids",
            "and",
            "details",
            "for",
            "orderes",
            "with",
            "two",
            "or",
            "more",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.customer_last_name ,  T1.customer_id ,  T2.phone_number FROM Orders AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.customer_last_name",
            ",",
            "T1.customer_id",
            ",",
            "T2.phone_number",
            "FROM",
            "Orders",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "phone_number",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the customer last name, id and phone number with most number of orders?",
        "question_toks": [
            "What",
            "is",
            "the",
            "customer",
            "last",
            "name",
            ",",
            "id",
            "and",
            "phone",
            "number",
            "with",
            "most",
            "number",
            "of",
            "orders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.customer_last_name ,  T1.customer_id ,  T2.phone_number FROM Orders AS T1 JOIN Customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.customer_last_name",
            ",",
            "T1.customer_id",
            ",",
            "T2.phone_number",
            "FROM",
            "Orders",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_last_name",
            ",",
            "t1",
            ".",
            "customer_id",
            ",",
            "t2",
            ".",
            "phone_number",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the last name, id and phone number of the customer who has made the greatest number of orders.",
        "question_toks": [
            "Return",
            "the",
            "last",
            "name",
            ",",
            "id",
            "and",
            "phone",
            "number",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "made",
            "the",
            "greatest",
            "number",
            "of",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id  =  T2.product_id",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "Products",
            "EXCEPT",
            "SELECT",
            "T1.product_name",
            "FROM",
            "Products",
            "AS",
            "T1",
            "JOIN",
            "Order_items",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "except",
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id"
        ],
        "question": "Show all product names without an order.",
        "question_toks": [
            "Show",
            "all",
            "product",
            "names",
            "without",
            "an",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    28,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id  =  T2.product_id",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "Products",
            "EXCEPT",
            "SELECT",
            "T1.product_name",
            "FROM",
            "Products",
            "AS",
            "T1",
            "JOIN",
            "Order_items",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "except",
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id"
        ],
        "question": "What are the names of products that have never been ordered?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "products",
            "that",
            "have",
            "never",
            "been",
            "ordered",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    28,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.product_name ,  sum(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id  =  T2.product_id GROUP BY T2.product_name",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            ",",
            "sum",
            "(",
            "T1.product_quantity",
            ")",
            "FROM",
            "Order_items",
            "AS",
            "T1",
            "JOIN",
            "Products",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T2.product_name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            ",",
            "sum",
            "(",
            "t1",
            ".",
            "product_quantity",
            ")",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t2",
            ".",
            "product_name"
        ],
        "question": "Show all product names and the total quantity ordered for each product name.",
        "question_toks": [
            "Show",
            "all",
            "product",
            "names",
            "and",
            "the",
            "total",
            "quantity",
            "ordered",
            "for",
            "each",
            "product",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.product_name ,  sum(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id  =  T2.product_id GROUP BY T2.product_name",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            ",",
            "sum",
            "(",
            "T1.product_quantity",
            ")",
            "FROM",
            "Order_items",
            "AS",
            "T1",
            "JOIN",
            "Products",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T2.product_name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            ",",
            "sum",
            "(",
            "t1",
            ".",
            "product_quantity",
            ")",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t2",
            ".",
            "product_name"
        ],
        "question": "What are the different product names, and what is the sum of quantity ordered for each product?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "product",
            "names",
            ",",
            "and",
            "what",
            "is",
            "the",
            "sum",
            "of",
            "quantity",
            "ordered",
            "for",
            "each",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT order_id ,  count(*) FROM Order_items GROUP BY order_id",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Order_items",
            "GROUP",
            "BY",
            "order_id"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "order_items",
            "group",
            "by",
            "order_id"
        ],
        "question": "Show the order ids and the number of items in each order.",
        "question_toks": [
            "Show",
            "the",
            "order",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "items",
            "in",
            "each",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT order_id ,  count(*) FROM Order_items GROUP BY order_id",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Order_items",
            "GROUP",
            "BY",
            "order_id"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "order_items",
            "group",
            "by",
            "order_id"
        ],
        "question": "How many order items correspond to each order id?",
        "question_toks": [
            "How",
            "many",
            "order",
            "items",
            "correspond",
            "to",
            "each",
            "order",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT product_id ,  count(DISTINCT order_id) FROM Order_items GROUP BY product_id",
        "query_toks": [
            "SELECT",
            "product_id",
            ",",
            "count",
            "(",
            "DISTINCT",
            "order_id",
            ")",
            "FROM",
            "Order_items",
            "GROUP",
            "BY",
            "product_id"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            ",",
            "count",
            "(",
            "distinct",
            "order_id",
            ")",
            "from",
            "order_items",
            "group",
            "by",
            "product_id"
        ],
        "question": "Show the product ids and the number of unique orders containing each product.",
        "question_toks": [
            "Show",
            "the",
            "product",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "unique",
            "orders",
            "containing",
            "each",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                44,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT product_id ,  count(DISTINCT order_id) FROM Order_items GROUP BY product_id",
        "query_toks": [
            "SELECT",
            "product_id",
            ",",
            "count",
            "(",
            "DISTINCT",
            "order_id",
            ")",
            "FROM",
            "Order_items",
            "GROUP",
            "BY",
            "product_id"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            ",",
            "count",
            "(",
            "distinct",
            "order_id",
            ")",
            "from",
            "order_items",
            "group",
            "by",
            "product_id"
        ],
        "question": "How many distinct order ids correspond to each product?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "order",
            "ids",
            "correspond",
            "to",
            "each",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                44,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.product_name ,  count(*) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id  =  T2.product_id JOIN Orders AS T3 ON T3.order_id  =  T1.order_id GROUP BY T2.product_name",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Order_items",
            "AS",
            "T1",
            "JOIN",
            "Products",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "JOIN",
            "Orders",
            "AS",
            "T3",
            "ON",
            "T3.order_id",
            "=",
            "T1.order_id",
            "GROUP",
            "BY",
            "T2.product_name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "orders",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "order_id",
            "=",
            "t1",
            ".",
            "order_id",
            "group",
            "by",
            "t2",
            ".",
            "product_name"
        ],
        "question": "Show all product names and the number of customers having an order on each product.",
        "question_toks": [
            "Show",
            "all",
            "product",
            "names",
            "and",
            "the",
            "number",
            "of",
            "customers",
            "having",
            "an",
            "order",
            "on",
            "each",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT T2.product_name ,  count(*) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id  =  T2.product_id JOIN Orders AS T3 ON T3.order_id  =  T1.order_id GROUP BY T2.product_name",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Order_items",
            "AS",
            "T1",
            "JOIN",
            "Products",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "JOIN",
            "Orders",
            "AS",
            "T3",
            "ON",
            "T3.order_id",
            "=",
            "T1.order_id",
            "GROUP",
            "BY",
            "T2.product_name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "orders",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "order_id",
            "=",
            "t1",
            ".",
            "order_id",
            "group",
            "by",
            "t2",
            ".",
            "product_name"
        ],
        "question": "What are teh names of the different products, as well as the number of customers who have ordered each product.",
        "question_toks": [
            "What",
            "are",
            "teh",
            "names",
            "of",
            "the",
            "different",
            "products",
            ",",
            "as",
            "well",
            "as",
            "the",
            "number",
            "of",
            "customers",
            "who",
            "have",
            "ordered",
            "each",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT order_id ,  count(DISTINCT product_id) FROM Order_items GROUP BY order_id",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "count",
            "(",
            "DISTINCT",
            "product_id",
            ")",
            "FROM",
            "Order_items",
            "GROUP",
            "BY",
            "order_id"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "count",
            "(",
            "distinct",
            "product_id",
            ")",
            "from",
            "order_items",
            "group",
            "by",
            "order_id"
        ],
        "question": "Show order ids and the number of products in each order.",
        "question_toks": [
            "Show",
            "order",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "products",
            "in",
            "each",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                45,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT order_id ,  count(DISTINCT product_id) FROM Order_items GROUP BY order_id",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "count",
            "(",
            "DISTINCT",
            "product_id",
            ")",
            "FROM",
            "Order_items",
            "GROUP",
            "BY",
            "order_id"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "count",
            "(",
            "distinct",
            "product_id",
            ")",
            "from",
            "order_items",
            "group",
            "by",
            "order_id"
        ],
        "question": "How many different products correspond to each order id?",
        "question_toks": [
            "How",
            "many",
            "different",
            "products",
            "correspond",
            "to",
            "each",
            "order",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                45,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT order_id ,  sum(product_quantity) FROM Order_items GROUP BY order_id",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "sum",
            "(",
            "product_quantity",
            ")",
            "FROM",
            "Order_items",
            "GROUP",
            "BY",
            "order_id"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "sum",
            "(",
            "product_quantity",
            ")",
            "from",
            "order_items",
            "group",
            "by",
            "order_id"
        ],
        "question": "Show order ids and the total quantity in each order.",
        "question_toks": [
            "Show",
            "order",
            "ids",
            "and",
            "the",
            "total",
            "quantity",
            "in",
            "each",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT order_id ,  sum(product_quantity) FROM Order_items GROUP BY order_id",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "sum",
            "(",
            "product_quantity",
            ")",
            "FROM",
            "Order_items",
            "GROUP",
            "BY",
            "order_id"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "sum",
            "(",
            "product_quantity",
            ")",
            "from",
            "order_items",
            "group",
            "by",
            "order_id"
        ],
        "question": "Give the order ids for all orders, as well as the total product quantity in each.",
        "question_toks": [
            "Give",
            "the",
            "order",
            "ids",
            "for",
            "all",
            "orders",
            ",",
            "as",
            "well",
            "as",
            "the",
            "total",
            "product",
            "quantity",
            "in",
            "each",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM products WHERE product_id NOT IN ( SELECT product_id FROM Order_items )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "product_id",
            "FROM",
            "Order_items",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "product_id",
            "not",
            "in",
            "(",
            "select",
            "product_id",
            "from",
            "order_items",
            ")"
        ],
        "question": "How many products were not included in any order?",
        "question_toks": [
            "How",
            "many",
            "products",
            "were",
            "not",
            "included",
            "in",
            "any",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_invoices",
        "query": "SELECT count(*) FROM products WHERE product_id NOT IN ( SELECT product_id FROM Order_items )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "product_id",
            "FROM",
            "Order_items",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "product_id",
            "not",
            "in",
            "(",
            "select",
            "product_id",
            "from",
            "order_items",
            ")"
        ],
        "question": "Count the number of products that were never ordered.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "products",
            "that",
            "were",
            "never",
            "ordered",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            45,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT count(*) FROM Church WHERE Open_Date  <  1850",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Church",
            "WHERE",
            "Open_Date",
            "<",
            "1850"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "church",
            "where",
            "open_date",
            "<",
            "value"
        ],
        "question": "How many churches opened before 1850 are there?",
        "question_toks": [
            "How",
            "many",
            "churches",
            "opened",
            "before",
            "1850",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1850.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT name ,  open_date ,  organized_by FROM Church",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "open_date",
            ",",
            "organized_by",
            "FROM",
            "Church"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "open_date",
            ",",
            "organized_by",
            "from",
            "church"
        ],
        "question": "Show the name, open date, and organizer for all churches.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "open",
            "date",
            ",",
            "and",
            "organizer",
            "for",
            "all",
            "churches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT name FROM church ORDER BY open_date DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "church",
            "ORDER",
            "BY",
            "open_date",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "church",
            "order",
            "by",
            "open_date",
            "desc"
        ],
        "question": "List all church names in descending order of opening date.",
        "question_toks": [
            "List",
            "all",
            "church",
            "names",
            "in",
            "descending",
            "order",
            "of",
            "opening",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT open_date FROM church GROUP BY open_date HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "open_date",
            "FROM",
            "church",
            "GROUP",
            "BY",
            "open_date",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "open_date",
            "from",
            "church",
            "group",
            "by",
            "open_date",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the opening year in whcih at least two churches opened.",
        "question_toks": [
            "Show",
            "the",
            "opening",
            "year",
            "in",
            "whcih",
            "at",
            "least",
            "two",
            "churches",
            "opened",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT organized_by ,  name FROM church WHERE open_date BETWEEN 1830 AND 1840",
        "query_toks": [
            "SELECT",
            "organized_by",
            ",",
            "name",
            "FROM",
            "church",
            "WHERE",
            "open_date",
            "BETWEEN",
            "1830",
            "AND",
            "1840"
        ],
        "query_toks_no_value": [
            "select",
            "organized_by",
            ",",
            "name",
            "from",
            "church",
            "where",
            "open_date",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Show the organizer and name for churches that opened between 1830 and 1840.",
        "question_toks": [
            "Show",
            "the",
            "organizer",
            "and",
            "name",
            "for",
            "churches",
            "that",
            "opened",
            "between",
            "1830",
            "and",
            "1840",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1830.0,
                    1840.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT open_date ,  count(*) FROM church GROUP BY open_date",
        "query_toks": [
            "SELECT",
            "open_date",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "church",
            "GROUP",
            "BY",
            "open_date"
        ],
        "query_toks_no_value": [
            "select",
            "open_date",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "church",
            "group",
            "by",
            "open_date"
        ],
        "question": "Show all opening years and the number of churches that opened in that year.",
        "question_toks": [
            "Show",
            "all",
            "opening",
            "years",
            "and",
            "the",
            "number",
            "of",
            "churches",
            "that",
            "opened",
            "in",
            "that",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT name ,  open_date FROM church ORDER BY open_date DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "open_date",
            "FROM",
            "church",
            "ORDER",
            "BY",
            "open_date",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "open_date",
            "from",
            "church",
            "order",
            "by",
            "open_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name and opening year for three churches that opened most recently.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "opening",
            "year",
            "for",
            "three",
            "churches",
            "that",
            "opened",
            "most",
            "recently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT count(*) FROM people WHERE is_male  =  'F' AND age  >  30",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "people",
            "WHERE",
            "is_male",
            "=",
            "'F",
            "'",
            "AND",
            "age",
            ">",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "people",
            "where",
            "is_male",
            "=",
            "value",
            "and",
            "age",
            ">",
            "value"
        ],
        "question": "How many female people are older than 30 in our record?",
        "question_toks": [
            "How",
            "many",
            "female",
            "people",
            "are",
            "older",
            "than",
            "30",
            "in",
            "our",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT country FROM people WHERE age  <  25 INTERSECT SELECT country FROM people WHERE age  >  30",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "people",
            "WHERE",
            "age",
            "<",
            "25",
            "INTERSECT",
            "SELECT",
            "country",
            "FROM",
            "people",
            "WHERE",
            "age",
            ">",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "people",
            "where",
            "age",
            "<",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "people",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "Show the country where people older than 30 and younger than 25 are from.",
        "question_toks": [
            "Show",
            "the",
            "country",
            "where",
            "people",
            "older",
            "than",
            "30",
            "and",
            "younger",
            "than",
            "25",
            "are",
            "from",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        30.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT min(age) ,  max(age) ,  avg(age) FROM people",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "people"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "people"
        ],
        "question": "Show the minimum, maximum, and average age for all people.",
        "question_toks": [
            "Show",
            "the",
            "minimum",
            ",",
            "maximum",
            ",",
            "and",
            "average",
            "age",
            "for",
            "all",
            "people",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT name ,  country FROM people WHERE age  <  (SELECT avg(age) FROM people)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "country",
            "FROM",
            "people",
            "WHERE",
            "age",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "people",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "country",
            "from",
            "people",
            "where",
            "age",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "people",
            ")"
        ],
        "question": "Show the name and country for all people whose age is smaller than the average.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "country",
            "for",
            "all",
            "people",
            "whose",
            "age",
            "is",
            "smaller",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT T2.name ,  T3.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id  =  T2.people_id JOIN people AS T3 ON T1.female_id  =  T3.people_id WHERE T1.year  >  2014",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T3.name",
            "FROM",
            "wedding",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.male_id",
            "=",
            "T2.people_id",
            "JOIN",
            "people",
            "AS",
            "T3",
            "ON",
            "T1.female_id",
            "=",
            "T3.people_id",
            "WHERE",
            "T1.year",
            ">",
            "2014"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "wedding",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "male_id",
            "=",
            "t2",
            ".",
            "people_id",
            "join",
            "people",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "female_id",
            "=",
            "t3",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "Show the pair of male and female names in all weddings after year 2014",
        "question_toks": [
            "Show",
            "the",
            "pair",
            "of",
            "male",
            "and",
            "female",
            "names",
            "in",
            "all",
            "weddings",
            "after",
            "year",
            "2014"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT name ,  age FROM people WHERE is_male  =  'T' AND people_id NOT IN (SELECT male_id FROM wedding)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "age",
            "FROM",
            "people",
            "WHERE",
            "is_male",
            "=",
            "'T",
            "'",
            "AND",
            "people_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "male_id",
            "FROM",
            "wedding",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "age",
            "from",
            "people",
            "where",
            "is_male",
            "=",
            "value",
            "and",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "male_id",
            "from",
            "wedding",
            ")"
        ],
        "question": "Show the name and age for all male people who don't have a wedding.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "age",
            "for",
            "all",
            "male",
            "people",
            "who",
            "do",
            "n't",
            "have",
            "a",
            "wedding",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"T\"",
                    null
                ],
                "and",
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT name FROM church EXCEPT SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id  =  T2.church_id WHERE T2.year  =  2015",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "church",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "church",
            "AS",
            "T1",
            "JOIN",
            "wedding",
            "AS",
            "T2",
            "ON",
            "T1.church_id",
            "=",
            "T2.church_id",
            "WHERE",
            "T2.year",
            "=",
            "2015"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "church",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "church",
            "as",
            "t1",
            "join",
            "wedding",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "church_id",
            "=",
            "t2",
            ".",
            "church_id",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Show all church names except for those that had a wedding in year 2015.",
        "question_toks": [
            "Show",
            "all",
            "church",
            "names",
            "except",
            "for",
            "those",
            "that",
            "had",
            "a",
            "wedding",
            "in",
            "year",
            "2015",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        2015.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id  =  T2.church_id GROUP BY T1.church_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "church",
            "AS",
            "T1",
            "JOIN",
            "wedding",
            "AS",
            "T2",
            "ON",
            "T1.church_id",
            "=",
            "T2.church_id",
            "GROUP",
            "BY",
            "T1.church_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "church",
            "as",
            "t1",
            "join",
            "wedding",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "church_id",
            "=",
            "t2",
            ".",
            "church_id",
            "group",
            "by",
            "t1",
            ".",
            "church_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show all church names that have hosted least two weddings.",
        "question_toks": [
            "Show",
            "all",
            "church",
            "names",
            "that",
            "have",
            "hosted",
            "least",
            "two",
            "weddings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT T2.name FROM wedding AS T1 JOIN people AS T2 ON T1.female_id  =  T2.people_id WHERE T1.year  =  2016 AND T2.is_male  =  'F' AND T2.country  =  'Canada'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "wedding",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.female_id",
            "=",
            "T2.people_id",
            "WHERE",
            "T1.year",
            "=",
            "2016",
            "AND",
            "T2.is_male",
            "=",
            "'F",
            "'",
            "AND",
            "T2.country",
            "=",
            "'Canada",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "wedding",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "female_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "is_male",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "Show the names for all females from Canada having a wedding in year 2016.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "for",
            "all",
            "females",
            "from",
            "Canada",
            "having",
            "a",
            "wedding",
            "in",
            "year",
            "2016",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT count(*) FROM wedding WHERE YEAR  =  2016",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "wedding",
            "WHERE",
            "YEAR",
            "=",
            "2016"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "wedding",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "How many weddings are there in year 2016?",
        "question_toks": [
            "How",
            "many",
            "weddings",
            "are",
            "there",
            "in",
            "year",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT T4.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id  =  T2.people_id JOIN people AS T3 ON T1.female_id  =  T3.people_id JOIN church AS T4 ON T4.church_id  =  T1.church_id WHERE T2.age  >  30 OR T3.age  >  30",
        "query_toks": [
            "SELECT",
            "T4.name",
            "FROM",
            "wedding",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.male_id",
            "=",
            "T2.people_id",
            "JOIN",
            "people",
            "AS",
            "T3",
            "ON",
            "T1.female_id",
            "=",
            "T3.people_id",
            "JOIN",
            "church",
            "AS",
            "T4",
            "ON",
            "T4.church_id",
            "=",
            "T1.church_id",
            "WHERE",
            "T2.age",
            ">",
            "30",
            "OR",
            "T3.age",
            ">",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "name",
            "from",
            "wedding",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "male_id",
            "=",
            "t2",
            ".",
            "people_id",
            "join",
            "people",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "female_id",
            "=",
            "t3",
            ".",
            "people_id",
            "join",
            "church",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "church_id",
            "=",
            "t1",
            ".",
            "church_id",
            "where",
            "t2",
            ".",
            "age",
            ">",
            "value",
            "or",
            "t3",
            ".",
            "age",
            ">",
            "value"
        ],
        "question": "Show the church names for the weddings of all people older than 30.",
        "question_toks": [
            "Show",
            "the",
            "church",
            "names",
            "for",
            "the",
            "weddings",
            "of",
            "all",
            "people",
            "older",
            "than",
            "30",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT country ,  count(*) FROM people GROUP BY country",
        "query_toks": [
            "SELECT",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "people",
            "group",
            "by",
            "country"
        ],
        "question": "Show all countries and the number of people from each country.",
        "question_toks": [
            "Show",
            "all",
            "countries",
            "and",
            "the",
            "number",
            "of",
            "people",
            "from",
            "each",
            "country",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wedding",
        "query": "SELECT COUNT (DISTINCT church_id) FROM wedding WHERE YEAR  =  2016",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "church_id",
            ")",
            "FROM",
            "wedding",
            "WHERE",
            "YEAR",
            "=",
            "2016"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "church_id",
            ")",
            "from",
            "wedding",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "How many churches have a wedding in year 2016?",
        "question_toks": [
            "How",
            "many",
            "churches",
            "have",
            "a",
            "wedding",
            "in",
            "year",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT count(*) FROM artist",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist"
        ],
        "question": "How many artists do we have?",
        "question_toks": [
            "How",
            "many",
            "artists",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT count(*) FROM artist",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist"
        ],
        "question": "Count the number of artists.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "artists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name ,  age ,  country FROM artist ORDER BY Year_Join",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "age",
            ",",
            "country",
            "FROM",
            "artist",
            "ORDER",
            "BY",
            "Year_Join"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "age",
            ",",
            "country",
            "from",
            "artist",
            "order",
            "by",
            "year_join"
        ],
        "question": "Show all artist name, age, and country ordered by the yeared they joined.",
        "question_toks": [
            "Show",
            "all",
            "artist",
            "name",
            ",",
            "age",
            ",",
            "and",
            "country",
            "ordered",
            "by",
            "the",
            "yeared",
            "they",
            "joined",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name ,  age ,  country FROM artist ORDER BY Year_Join",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "age",
            ",",
            "country",
            "FROM",
            "artist",
            "ORDER",
            "BY",
            "Year_Join"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "age",
            ",",
            "country",
            "from",
            "artist",
            "order",
            "by",
            "year_join"
        ],
        "question": "What are the names, ages, and countries of artists, sorted by the year they joined?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "ages",
            ",",
            "and",
            "countries",
            "of",
            "artists",
            ",",
            "sorted",
            "by",
            "the",
            "year",
            "they",
            "joined",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT DISTINCT country FROM artist",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "country",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "country",
            "from",
            "artist"
        ],
        "question": "What are all distinct country for artists?",
        "question_toks": [
            "What",
            "are",
            "all",
            "distinct",
            "country",
            "for",
            "artists",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT DISTINCT country FROM artist",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "country",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "country",
            "from",
            "artist"
        ],
        "question": "Return the different countries for artists.",
        "question_toks": [
            "Return",
            "the",
            "different",
            "countries",
            "for",
            "artists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name ,  year_join FROM artist WHERE country != 'United States'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "year_join",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "!",
            "=",
            "'United",
            "States",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "year_join",
            "from",
            "artist",
            "where",
            "country",
            "!",
            "=",
            "value"
        ],
        "question": "Show all artist names and the year joined who are not from United States.",
        "question_toks": [
            "Show",
            "all",
            "artist",
            "names",
            "and",
            "the",
            "year",
            "joined",
            "who",
            "are",
            "not",
            "from",
            "United",
            "States",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name ,  year_join FROM artist WHERE country != 'United States'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "year_join",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "!",
            "=",
            "'United",
            "States",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "year_join",
            "from",
            "artist",
            "where",
            "country",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names and year of joining for artists that do not have the country \"United States\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "year",
            "of",
            "joining",
            "for",
            "artists",
            "that",
            "do",
            "not",
            "have",
            "the",
            "country",
            "``",
            "United",
            "States",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT count(*) FROM artist WHERE age  >  46 AND year_join  >  1990",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist",
            "WHERE",
            "age",
            ">",
            "46",
            "AND",
            "year_join",
            ">",
            "1990"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "where",
            "age",
            ">",
            "value",
            "and",
            "year_join",
            ">",
            "value"
        ],
        "question": "How many artists are above age 46 and joined after 1990?",
        "question_toks": [
            "How",
            "many",
            "artists",
            "are",
            "above",
            "age",
            "46",
            "and",
            "joined",
            "after",
            "1990",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    46.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    1990.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT count(*) FROM artist WHERE age  >  46 AND year_join  >  1990",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist",
            "WHERE",
            "age",
            ">",
            "46",
            "AND",
            "year_join",
            ">",
            "1990"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "where",
            "age",
            ">",
            "value",
            "and",
            "year_join",
            ">",
            "value"
        ],
        "question": "Count the number of artists who are older than 46 and joined after 1990.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "artists",
            "who",
            "are",
            "older",
            "than",
            "46",
            "and",
            "joined",
            "after",
            "1990",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    46.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    1990.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT avg(age) ,  min(age) FROM artist WHERE country  =  'United States'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What is the average and minimum age of all artists from United States.",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "and",
            "minimum",
            "age",
            "of",
            "all",
            "artists",
            "from",
            "United",
            "States",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT avg(age) ,  min(age) FROM artist WHERE country  =  'United States'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "Return the average and minimum ages across artists from the United States.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "and",
            "minimum",
            "ages",
            "across",
            "artists",
            "from",
            "the",
            "United",
            "States",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name FROM artist ORDER BY year_join DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "artist",
            "ORDER",
            "BY",
            "year_join",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "order",
            "by",
            "year_join",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the artist who joined latest?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "artist",
            "who",
            "joined",
            "latest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name FROM artist ORDER BY year_join DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "artist",
            "ORDER",
            "BY",
            "year_join",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "order",
            "by",
            "year_join",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name of the artist who has the latest join year.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "artist",
            "who",
            "has",
            "the",
            "latest",
            "join",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT count(*) FROM exhibition WHERE YEAR  >=  2005",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "exhibition",
            "WHERE",
            "YEAR",
            ">",
            "=",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "exhibition",
            "where",
            "year",
            ">",
            "=",
            "value"
        ],
        "question": "How many exhibition are there in year 2005 or after?",
        "question_toks": [
            "How",
            "many",
            "exhibition",
            "are",
            "there",
            "in",
            "year",
            "2005",
            "or",
            "after",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT count(*) FROM exhibition WHERE YEAR  >=  2005",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "exhibition",
            "WHERE",
            "YEAR",
            ">",
            "=",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "exhibition",
            "where",
            "year",
            ">",
            "=",
            "value"
        ],
        "question": "Count the number of exhibitions that happened in or after 2005.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "exhibitions",
            "that",
            "happened",
            "in",
            "or",
            "after",
            "2005",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT theme ,  YEAR FROM exhibition WHERE ticket_price  <  15",
        "query_toks": [
            "SELECT",
            "theme",
            ",",
            "YEAR",
            "FROM",
            "exhibition",
            "WHERE",
            "ticket_price",
            "<",
            "15"
        ],
        "query_toks_no_value": [
            "select",
            "theme",
            ",",
            "year",
            "from",
            "exhibition",
            "where",
            "ticket_price",
            "<",
            "value"
        ],
        "question": "Show theme and year for all exhibitions with ticket prices lower than 15.",
        "question_toks": [
            "Show",
            "theme",
            "and",
            "year",
            "for",
            "all",
            "exhibitions",
            "with",
            "ticket",
            "prices",
            "lower",
            "than",
            "15",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    15.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT theme ,  YEAR FROM exhibition WHERE ticket_price  <  15",
        "query_toks": [
            "SELECT",
            "theme",
            ",",
            "YEAR",
            "FROM",
            "exhibition",
            "WHERE",
            "ticket_price",
            "<",
            "15"
        ],
        "query_toks_no_value": [
            "select",
            "theme",
            ",",
            "year",
            "from",
            "exhibition",
            "where",
            "ticket_price",
            "<",
            "value"
        ],
        "question": "What are the theme and year for all exhibitions that have a ticket price under 15?",
        "question_toks": [
            "What",
            "are",
            "the",
            "theme",
            "and",
            "year",
            "for",
            "all",
            "exhibitions",
            "that",
            "have",
            "a",
            "ticket",
            "price",
            "under",
            "15",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    15.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T2.name ,  count(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "exhibition",
            "AS",
            "T1",
            "JOIN",
            "artist",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.artist_id",
            "GROUP",
            "BY",
            "T1.artist_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "exhibition",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "group",
            "by",
            "t1",
            ".",
            "artist_id"
        ],
        "question": "Show all artist names and the number of exhibitions for each artist.",
        "question_toks": [
            "Show",
            "all",
            "artist",
            "names",
            "and",
            "the",
            "number",
            "of",
            "exhibitions",
            "for",
            "each",
            "artist",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T2.name ,  count(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "exhibition",
            "AS",
            "T1",
            "JOIN",
            "artist",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.artist_id",
            "GROUP",
            "BY",
            "T1.artist_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "exhibition",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "group",
            "by",
            "t1",
            ".",
            "artist_id"
        ],
        "question": "How many exhibitions has each artist had?",
        "question_toks": [
            "How",
            "many",
            "exhibitions",
            "has",
            "each",
            "artist",
            "had",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T2.name , T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.country",
            "FROM",
            "exhibition",
            "AS",
            "T1",
            "JOIN",
            "artist",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.artist_id",
            "GROUP",
            "BY",
            "T1.artist_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "country",
            "from",
            "exhibition",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "group",
            "by",
            "t1",
            ".",
            "artist_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and country for the artist with most number of exhibitions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "country",
            "for",
            "the",
            "artist",
            "with",
            "most",
            "number",
            "of",
            "exhibitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T2.name , T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.country",
            "FROM",
            "exhibition",
            "AS",
            "T1",
            "JOIN",
            "artist",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.artist_id",
            "GROUP",
            "BY",
            "T1.artist_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "country",
            "from",
            "exhibition",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "group",
            "by",
            "t1",
            ".",
            "artist_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name and country corresponding to the artist who has had the most exhibitions.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "and",
            "country",
            "corresponding",
            "to",
            "the",
            "artist",
            "who",
            "has",
            "had",
            "the",
            "most",
            "exhibitions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name FROM artist WHERE artist_id NOT IN (SELECT artist_id FROM exhibition)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "artist",
            "WHERE",
            "artist_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "artist_id",
            "FROM",
            "exhibition",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "where",
            "artist_id",
            "not",
            "in",
            "(",
            "select",
            "artist_id",
            "from",
            "exhibition",
            ")"
        ],
        "question": "Show names for artists without any exhibition.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "artists",
            "without",
            "any",
            "exhibition",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name FROM artist WHERE artist_id NOT IN (SELECT artist_id FROM exhibition)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "artist",
            "WHERE",
            "artist_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "artist_id",
            "FROM",
            "exhibition",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "where",
            "artist_id",
            "not",
            "in",
            "(",
            "select",
            "artist_id",
            "from",
            "exhibition",
            ")"
        ],
        "question": "What are the names of artists that have not had any exhibitions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "artists",
            "that",
            "have",
            "not",
            "had",
            "any",
            "exhibitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T1.theme ,  T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id WHERE T1.ticket_price  >  (SELECT avg(ticket_price) FROM exhibition)",
        "query_toks": [
            "SELECT",
            "T1.theme",
            ",",
            "T2.name",
            "FROM",
            "exhibition",
            "AS",
            "T1",
            "JOIN",
            "artist",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.artist_id",
            "WHERE",
            "T1.ticket_price",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "ticket_price",
            ")",
            "FROM",
            "exhibition",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "theme",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "exhibition",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "ticket_price",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "ticket_price",
            ")",
            "from",
            "exhibition",
            ")"
        ],
        "question": "What is the theme and artist name for the exhibition with a ticket price higher than the average?",
        "question_toks": [
            "What",
            "is",
            "the",
            "theme",
            "and",
            "artist",
            "name",
            "for",
            "the",
            "exhibition",
            "with",
            "a",
            "ticket",
            "price",
            "higher",
            "than",
            "the",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T1.theme ,  T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id WHERE T1.ticket_price  >  (SELECT avg(ticket_price) FROM exhibition)",
        "query_toks": [
            "SELECT",
            "T1.theme",
            ",",
            "T2.name",
            "FROM",
            "exhibition",
            "AS",
            "T1",
            "JOIN",
            "artist",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.artist_id",
            "WHERE",
            "T1.ticket_price",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "ticket_price",
            ")",
            "FROM",
            "exhibition",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "theme",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "exhibition",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "ticket_price",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "ticket_price",
            ")",
            "from",
            "exhibition",
            ")"
        ],
        "question": "Return the names of artists and the themes of their exhibitions that had a ticket price higher than average.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "artists",
            "and",
            "the",
            "themes",
            "of",
            "their",
            "exhibitions",
            "that",
            "had",
            "a",
            "ticket",
            "price",
            "higher",
            "than",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT avg(ticket_price) ,  min(ticket_price) ,  max(ticket_price) FROM exhibition WHERE YEAR  <  2009",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "ticket_price",
            ")",
            ",",
            "min",
            "(",
            "ticket_price",
            ")",
            ",",
            "max",
            "(",
            "ticket_price",
            ")",
            "FROM",
            "exhibition",
            "WHERE",
            "YEAR",
            "<",
            "2009"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "ticket_price",
            ")",
            ",",
            "min",
            "(",
            "ticket_price",
            ")",
            ",",
            "max",
            "(",
            "ticket_price",
            ")",
            "from",
            "exhibition",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009.",
        "question_toks": [
            "Show",
            "the",
            "average",
            ",",
            "minimum",
            ",",
            "and",
            "maximum",
            "ticket",
            "prices",
            "for",
            "exhibitions",
            "for",
            "all",
            "years",
            "before",
            "2009",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT avg(ticket_price) ,  min(ticket_price) ,  max(ticket_price) FROM exhibition WHERE YEAR  <  2009",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "ticket_price",
            ")",
            ",",
            "min",
            "(",
            "ticket_price",
            ")",
            ",",
            "max",
            "(",
            "ticket_price",
            ")",
            "FROM",
            "exhibition",
            "WHERE",
            "YEAR",
            "<",
            "2009"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "ticket_price",
            ")",
            ",",
            "min",
            "(",
            "ticket_price",
            ")",
            ",",
            "max",
            "(",
            "ticket_price",
            ")",
            "from",
            "exhibition",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "What are the average, minimum, and maximum ticket prices for exhibitions that happened prior to 2009?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            ",",
            "minimum",
            ",",
            "and",
            "maximum",
            "ticket",
            "prices",
            "for",
            "exhibitions",
            "that",
            "happened",
            "prior",
            "to",
            "2009",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT theme ,  YEAR FROM exhibition ORDER BY ticket_price DESC",
        "query_toks": [
            "SELECT",
            "theme",
            ",",
            "YEAR",
            "FROM",
            "exhibition",
            "ORDER",
            "BY",
            "ticket_price",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "theme",
            ",",
            "year",
            "from",
            "exhibition",
            "order",
            "by",
            "ticket_price",
            "desc"
        ],
        "question": "Show theme and year for all exhibitions in an descending order of ticket price.",
        "question_toks": [
            "Show",
            "theme",
            "and",
            "year",
            "for",
            "all",
            "exhibitions",
            "in",
            "an",
            "descending",
            "order",
            "of",
            "ticket",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT theme ,  YEAR FROM exhibition ORDER BY ticket_price DESC",
        "query_toks": [
            "SELECT",
            "theme",
            ",",
            "YEAR",
            "FROM",
            "exhibition",
            "ORDER",
            "BY",
            "ticket_price",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "theme",
            ",",
            "year",
            "from",
            "exhibition",
            "order",
            "by",
            "ticket_price",
            "desc"
        ],
        "question": "What are the themes and years for exhibitions, sorted by ticket price descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "themes",
            "and",
            "years",
            "for",
            "exhibitions",
            ",",
            "sorted",
            "by",
            "ticket",
            "price",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T2.theme ,  T1.date ,  T1.attendance FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id WHERE T2.year  =  2004",
        "query_toks": [
            "SELECT",
            "T2.theme",
            ",",
            "T1.date",
            ",",
            "T1.attendance",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "WHERE",
            "T2.year",
            "=",
            "2004"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "theme",
            ",",
            "t1",
            ".",
            "date",
            ",",
            "t1",
            ".",
            "attendance",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the theme, date, and attendance for the exhibition in year 2004?",
        "question_toks": [
            "What",
            "is",
            "the",
            "theme",
            ",",
            "date",
            ",",
            "and",
            "attendance",
            "for",
            "the",
            "exhibition",
            "in",
            "year",
            "2004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T2.theme ,  T1.date ,  T1.attendance FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id WHERE T2.year  =  2004",
        "query_toks": [
            "SELECT",
            "T2.theme",
            ",",
            "T1.date",
            ",",
            "T1.attendance",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "WHERE",
            "T2.year",
            "=",
            "2004"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "theme",
            ",",
            "t1",
            ".",
            "date",
            ",",
            "t1",
            ".",
            "attendance",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Return the themes, dates, and attendance for exhibitions that happened in 2004.",
        "question_toks": [
            "Return",
            "the",
            "themes",
            ",",
            "dates",
            ",",
            "and",
            "attendance",
            "for",
            "exhibitions",
            "that",
            "happened",
            "in",
            "2004",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id WHERE T1.year  =  2004",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "artist",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "exhibition",
            "AS",
            "T1",
            "JOIN",
            "artist",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.artist_id",
            "WHERE",
            "T1.year",
            "=",
            "2004"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "exhibition",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Show all artist names who didn't have an exhibition in 2004.",
        "question_toks": [
            "Show",
            "all",
            "artist",
            "names",
            "who",
            "did",
            "n't",
            "have",
            "an",
            "exhibition",
            "in",
            "2004",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        2004.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id WHERE T1.year  =  2004",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "artist",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "exhibition",
            "AS",
            "T1",
            "JOIN",
            "artist",
            "AS",
            "T2",
            "ON",
            "T1.artist_id",
            "=",
            "T2.artist_id",
            "WHERE",
            "T1.year",
            "=",
            "2004"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artist",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "exhibition",
            "as",
            "t1",
            "join",
            "artist",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What are the names of artists who did not have an exhibition in 2004?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "artists",
            "who",
            "did",
            "not",
            "have",
            "an",
            "exhibition",
            "in",
            "2004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        2004.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id WHERE T1.attendance  <  100 INTERSECT SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id WHERE T1.attendance  >  500",
        "query_toks": [
            "SELECT",
            "T2.theme",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "WHERE",
            "T1.attendance",
            "<",
            "100",
            "INTERSECT",
            "SELECT",
            "T2.theme",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "WHERE",
            "T1.attendance",
            ">",
            "500"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "theme",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "where",
            "t1",
            ".",
            "attendance",
            "<",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "theme",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "where",
            "t1",
            ".",
            "attendance",
            ">",
            "value"
        ],
        "question": "Show the theme for exhibitions with both records of an attendance below 100 and above 500.",
        "question_toks": [
            "Show",
            "the",
            "theme",
            "for",
            "exhibitions",
            "with",
            "both",
            "records",
            "of",
            "an",
            "attendance",
            "below",
            "100",
            "and",
            "above",
            "500",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        500.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id WHERE T1.attendance  <  100 INTERSECT SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id WHERE T1.attendance  >  500",
        "query_toks": [
            "SELECT",
            "T2.theme",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "WHERE",
            "T1.attendance",
            "<",
            "100",
            "INTERSECT",
            "SELECT",
            "T2.theme",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "WHERE",
            "T1.attendance",
            ">",
            "500"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "theme",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "where",
            "t1",
            ".",
            "attendance",
            "<",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "theme",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "where",
            "t1",
            ".",
            "attendance",
            ">",
            "value"
        ],
        "question": "Which themes have had corresponding exhibitions that have had attendance both below 100 and above 500?",
        "question_toks": [
            "Which",
            "themes",
            "have",
            "had",
            "corresponding",
            "exhibitions",
            "that",
            "have",
            "had",
            "attendance",
            "both",
            "below",
            "100",
            "and",
            "above",
            "500",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        500.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT count(*) FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id WHERE T1.attendance  >  100 OR T2.ticket_price  <  10",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "WHERE",
            "T1.attendance",
            ">",
            "100",
            "OR",
            "T2.ticket_price",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "where",
            "t1",
            ".",
            "attendance",
            ">",
            "value",
            "or",
            "t2",
            ".",
            "ticket_price",
            "<",
            "value"
        ],
        "question": "How many exhibitions have a attendance more than 100 or have a ticket price below 10?",
        "question_toks": [
            "How",
            "many",
            "exhibitions",
            "have",
            "a",
            "attendance",
            "more",
            "than",
            "100",
            "or",
            "have",
            "a",
            "ticket",
            "price",
            "below",
            "10",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT count(*) FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id WHERE T1.attendance  >  100 OR T2.ticket_price  <  10",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "WHERE",
            "T1.attendance",
            ">",
            "100",
            "OR",
            "T2.ticket_price",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "where",
            "t1",
            ".",
            "attendance",
            ">",
            "value",
            "or",
            "t2",
            ".",
            "ticket_price",
            "<",
            "value"
        ],
        "question": "Count the number of exhibitions that have had an attendnance of over 100 or a ticket prices under 10.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "exhibitions",
            "that",
            "have",
            "had",
            "an",
            "attendnance",
            "of",
            "over",
            "100",
            "or",
            "a",
            "ticket",
            "prices",
            "under",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T3.name FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id JOIN artist AS T3 ON T3.artist_id  =  T2.artist_id GROUP BY T3.artist_id HAVING avg(T1.attendance)  >  200",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "JOIN",
            "artist",
            "AS",
            "T3",
            "ON",
            "T3.artist_id",
            "=",
            "T2.artist_id",
            "GROUP",
            "BY",
            "T3.artist_id",
            "HAVING",
            "avg",
            "(",
            "T1.attendance",
            ")",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "join",
            "artist",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "group",
            "by",
            "t3",
            ".",
            "artist_id",
            "having",
            "avg",
            "(",
            "t1",
            ".",
            "attendance",
            ")",
            ">",
            "value"
        ],
        "question": "Show all artist names with an average exhibition attendance over 200.",
        "question_toks": [
            "Show",
            "all",
            "artist",
            "names",
            "with",
            "an",
            "average",
            "exhibition",
            "attendance",
            "over",
            "200",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            13,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "theme_gallery",
        "query": "SELECT T3.name FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id  =  T2.exhibition_id JOIN artist AS T3 ON T3.artist_id  =  T2.artist_id GROUP BY T3.artist_id HAVING avg(T1.attendance)  >  200",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "exhibition_record",
            "AS",
            "T1",
            "JOIN",
            "exhibition",
            "AS",
            "T2",
            "ON",
            "T1.exhibition_id",
            "=",
            "T2.exhibition_id",
            "JOIN",
            "artist",
            "AS",
            "T3",
            "ON",
            "T3.artist_id",
            "=",
            "T2.artist_id",
            "GROUP",
            "BY",
            "T3.artist_id",
            "HAVING",
            "avg",
            "(",
            "T1.attendance",
            ")",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "exhibition_record",
            "as",
            "t1",
            "join",
            "exhibition",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "exhibition_id",
            "=",
            "t2",
            ".",
            "exhibition_id",
            "join",
            "artist",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "group",
            "by",
            "t3",
            ".",
            "artist_id",
            "having",
            "avg",
            "(",
            "t1",
            ".",
            "attendance",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of artist whose exhibitions draw over 200 attendees on average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "artist",
            "whose",
            "exhibitions",
            "draw",
            "over",
            "200",
            "attendees",
            "on",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            13,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT i_id FROM item WHERE title  =  \"orange\"",
        "query_toks": [
            "SELECT",
            "i_id",
            "FROM",
            "item",
            "WHERE",
            "title",
            "=",
            "``",
            "orange",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "i_id",
            "from",
            "item",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "Find the id of the item whose title is \"orange\".",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "item",
            "whose",
            "title",
            "is",
            "``",
            "orange",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"orange\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT * FROM item",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "item"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "item"
        ],
        "question": "List all information in the item table.",
        "question_toks": [
            "List",
            "all",
            "information",
            "in",
            "the",
            "item",
            "table",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT count(*) FROM review",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "review"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "review"
        ],
        "question": "Find the number of reviews.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "reviews",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT count(*) FROM useracct",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "useracct"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "useracct"
        ],
        "question": "How many users are there?",
        "question_toks": [
            "How",
            "many",
            "users",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT avg(rating) ,  max(rating) FROM review",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "max",
            "(",
            "rating",
            ")",
            "FROM",
            "review"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "max",
            "(",
            "rating",
            ")",
            "from",
            "review"
        ],
        "question": "Find the average and maximum rating of all reviews.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "and",
            "maximum",
            "rating",
            "of",
            "all",
            "reviews",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT min(rank) FROM review",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "rank",
            ")",
            "FROM",
            "review"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "rank",
            ")",
            "from",
            "review"
        ],
        "question": "Find the highest rank of all reviews.",
        "question_toks": [
            "Find",
            "the",
            "highest",
            "rank",
            "of",
            "all",
            "reviews",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT count(DISTINCT u_id) FROM review",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "u_id",
            ")",
            "FROM",
            "review"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "u_id",
            ")",
            "from",
            "review"
        ],
        "question": "How many different users wrote some reviews?",
        "question_toks": [
            "How",
            "many",
            "different",
            "users",
            "wrote",
            "some",
            "reviews",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT count(DISTINCT i_id) FROM review",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "i_id",
            ")",
            "FROM",
            "review"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "i_id",
            ")",
            "from",
            "review"
        ],
        "question": "How many different items were reviewed by some users?",
        "question_toks": [
            "How",
            "many",
            "different",
            "items",
            "were",
            "reviewed",
            "by",
            "some",
            "users",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT count(*) FROM item WHERE i_id NOT IN (SELECT i_id FROM review)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "item",
            "WHERE",
            "i_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "i_id",
            "FROM",
            "review",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "item",
            "where",
            "i_id",
            "not",
            "in",
            "(",
            "select",
            "i_id",
            "from",
            "review",
            ")"
        ],
        "question": "Find the number of items that did not receive any review.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "items",
            "that",
            "did",
            "not",
            "receive",
            "any",
            "review",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT name FROM useracct WHERE u_id NOT IN (SELECT u_id FROM review)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "useracct",
            "WHERE",
            "u_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "u_id",
            "FROM",
            "review",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "useracct",
            "where",
            "u_id",
            "not",
            "in",
            "(",
            "select",
            "u_id",
            "from",
            "review",
            ")"
        ],
        "question": "Find the names of users who did not leave any review.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "users",
            "who",
            "did",
            "not",
            "leave",
            "any",
            "review",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id WHERE T2.rating  =  10",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "WHERE",
            "T2.rating",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "where",
            "t2",
            ".",
            "rating",
            "=",
            "value"
        ],
        "question": "Find the names of goods that receive a rating of 10.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "goods",
            "that",
            "receive",
            "a",
            "rating",
            "of",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id WHERE T2.rating  >  (SELECT avg(rating) FROM review)",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "WHERE",
            "T2.rating",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "rating",
            ")",
            "FROM",
            "review",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "where",
            "t2",
            ".",
            "rating",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "rating",
            ")",
            "from",
            "review",
            ")"
        ],
        "question": "Find the titles of items whose rating is higher than the average review rating of all items.",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "items",
            "whose",
            "rating",
            "is",
            "higher",
            "than",
            "the",
            "average",
            "review",
            "rating",
            "of",
            "all",
            "items",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id WHERE T2.rating  <  5",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "WHERE",
            "T2.rating",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "where",
            "t2",
            ".",
            "rating",
            "<",
            "value"
        ],
        "question": "Find the titles of items that received any rating below 5.",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "items",
            "that",
            "received",
            "any",
            "rating",
            "below",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id WHERE T2.rating  >  8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id WHERE T2.rating  <  5",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "WHERE",
            "T2.rating",
            ">",
            "8",
            "INTERSECT",
            "SELECT",
            "T1.title",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "WHERE",
            "T2.rating",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "where",
            "t2",
            ".",
            "rating",
            ">",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "title",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "where",
            "t2",
            ".",
            "rating",
            "<",
            "value"
        ],
        "question": "Find the titles of items that received both a rating higher than 8 and a rating below 5.",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "items",
            "that",
            "received",
            "both",
            "a",
            "rating",
            "higher",
            "than",
            "8",
            "and",
            "a",
            "rating",
            "below",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        5.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id WHERE T2.rank  >  3 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id GROUP BY T2.i_id HAVING avg(T2.rating)  >  5",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "WHERE",
            "T2.rank",
            ">",
            "3",
            "INTERSECT",
            "SELECT",
            "T1.title",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "GROUP",
            "BY",
            "T2.i_id",
            "HAVING",
            "avg",
            "(",
            "T2.rating",
            ")",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "where",
            "t2",
            ".",
            "rank",
            ">",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "title",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "group",
            "by",
            "t2",
            ".",
            "i_id",
            "having",
            "avg",
            "(",
            "t2",
            ".",
            "rating",
            ")",
            ">",
            "value"
        ],
        "question": "Find the names of items whose rank is higher than 3 and whose average rating is above 5.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "items",
            "whose",
            "rank",
            "is",
            "higher",
            "than",
            "3",
            "and",
            "whose",
            "average",
            "rating",
            "is",
            "above",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        5,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                5,
                                6,
                                false
                            ],
                            null
                        ],
                        5.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id GROUP BY T2.i_id ORDER BY avg(T2.rating) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.title",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "GROUP",
            "BY",
            "T2.i_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T2.rating",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "group",
            "by",
            "t2",
            ".",
            "i_id",
            "order",
            "by",
            "avg",
            "(",
            "t2",
            ".",
            "rating",
            ")",
            "limit",
            "value"
        ],
        "question": "Find the name of the item with the lowest average rating.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "item",
            "with",
            "the",
            "lowest",
            "average",
            "rating",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT title FROM item ORDER BY title",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "item",
            "ORDER",
            "BY",
            "title"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "item",
            "order",
            "by",
            "title"
        ],
        "question": "List the titles of all items in alphabetic order .",
        "question_toks": [
            "List",
            "the",
            "titles",
            "of",
            "all",
            "items",
            "in",
            "alphabetic",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id  =  T2.u_id GROUP BY T2.u_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "useracct",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.u_id",
            "=",
            "T2.u_id",
            "GROUP",
            "BY",
            "T2.u_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "useracct",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "u_id",
            "=",
            "t2",
            ".",
            "u_id",
            "group",
            "by",
            "t2",
            ".",
            "u_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the user who gives the most reviews.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "user",
            "who",
            "gives",
            "the",
            "most",
            "reviews",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.title ,  T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id GROUP BY T2.i_id ORDER BY avg(T2.rating) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.i_id",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "GROUP",
            "BY",
            "T2.i_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T2.rating",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "i_id",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "group",
            "by",
            "t2",
            ".",
            "i_id",
            "order",
            "by",
            "avg",
            "(",
            "t2",
            ".",
            "rating",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and id of the item with the highest average rating.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "item",
            "with",
            "the",
            "highest",
            "average",
            "rating",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.title ,  T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id  =  T2.i_id GROUP BY T2.i_id ORDER BY avg(T2.rank) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.i_id",
            "FROM",
            "item",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.i_id",
            "=",
            "T2.i_id",
            "GROUP",
            "BY",
            "T2.i_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T2.rank",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "i_id",
            "from",
            "item",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "i_id",
            "=",
            "t2",
            ".",
            "i_id",
            "group",
            "by",
            "t2",
            ".",
            "i_id",
            "order",
            "by",
            "avg",
            "(",
            "t2",
            ".",
            "rank",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and id of the good with the highest average rank.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "good",
            "with",
            "the",
            "highest",
            "average",
            "rank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.name ,  avg(T2.rating) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id  =  T2.u_id GROUP BY T2.u_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "avg",
            "(",
            "T2.rating",
            ")",
            "FROM",
            "useracct",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.u_id",
            "=",
            "T2.u_id",
            "GROUP",
            "BY",
            "T2.u_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "avg",
            "(",
            "t2",
            ".",
            "rating",
            ")",
            "from",
            "useracct",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "u_id",
            "=",
            "t2",
            ".",
            "u_id",
            "group",
            "by",
            "t2",
            ".",
            "u_id"
        ],
        "question": "For each user, return the name and the average rating of reviews given by them.",
        "question_toks": [
            "For",
            "each",
            "user",
            ",",
            "return",
            "the",
            "name",
            "and",
            "the",
            "average",
            "rating",
            "of",
            "reviews",
            "given",
            "by",
            "them",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.name ,  count(*) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id  =  T2.u_id GROUP BY T2.u_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "useracct",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.u_id",
            "=",
            "T2.u_id",
            "GROUP",
            "BY",
            "T2.u_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "useracct",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "u_id",
            "=",
            "t2",
            ".",
            "u_id",
            "group",
            "by",
            "t2",
            ".",
            "u_id"
        ],
        "question": "For each user, find their name and the number of reviews written by them.",
        "question_toks": [
            "For",
            "each",
            "user",
            ",",
            "find",
            "their",
            "name",
            "and",
            "the",
            "number",
            "of",
            "reviews",
            "written",
            "by",
            "them",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id  =  T2.u_id ORDER BY T2.rating DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "useracct",
            "AS",
            "T1",
            "JOIN",
            "review",
            "AS",
            "T2",
            "ON",
            "T1.u_id",
            "=",
            "T2.u_id",
            "ORDER",
            "BY",
            "T2.rating",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "useracct",
            "as",
            "t1",
            "join",
            "review",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "u_id",
            "=",
            "t2",
            ".",
            "u_id",
            "order",
            "by",
            "t2",
            ".",
            "rating",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the user who gave the highest rating.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "user",
            "who",
            "gave",
            "the",
            "highest",
            "rating",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id  =  T2.source_u_id GROUP BY T2.source_u_id ORDER BY avg(trust) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "useracct",
            "AS",
            "T1",
            "JOIN",
            "trust",
            "AS",
            "T2",
            "ON",
            "T1.u_id",
            "=",
            "T2.source_u_id",
            "GROUP",
            "BY",
            "T2.source_u_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "trust",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "useracct",
            "as",
            "t1",
            "join",
            "trust",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "u_id",
            "=",
            "t2",
            ".",
            "source_u_id",
            "group",
            "by",
            "t2",
            ".",
            "source_u_id",
            "order",
            "by",
            "avg",
            "(",
            "trust",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the source user with the highest average trust score.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "source",
            "user",
            "with",
            "the",
            "highest",
            "average",
            "trust",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.name ,  avg(trust) FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id  =  T2.target_u_id GROUP BY T2.target_u_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "avg",
            "(",
            "trust",
            ")",
            "FROM",
            "useracct",
            "AS",
            "T1",
            "JOIN",
            "trust",
            "AS",
            "T2",
            "ON",
            "T1.u_id",
            "=",
            "T2.target_u_id",
            "GROUP",
            "BY",
            "T2.target_u_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "avg",
            "(",
            "trust",
            ")",
            "from",
            "useracct",
            "as",
            "t1",
            "join",
            "trust",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "u_id",
            "=",
            "t2",
            ".",
            "target_u_id",
            "group",
            "by",
            "t2",
            ".",
            "target_u_id"
        ],
        "question": "Find each target user's name and average trust score.",
        "question_toks": [
            "Find",
            "each",
            "target",
            "user",
            "'s",
            "name",
            "and",
            "average",
            "trust",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id  =  T2.target_u_id ORDER BY trust LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "useracct",
            "AS",
            "T1",
            "JOIN",
            "trust",
            "AS",
            "T2",
            "ON",
            "T1.u_id",
            "=",
            "T2.target_u_id",
            "ORDER",
            "BY",
            "trust",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "useracct",
            "as",
            "t1",
            "join",
            "trust",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "u_id",
            "=",
            "t2",
            ".",
            "target_u_id",
            "order",
            "by",
            "trust",
            "limit",
            "value"
        ],
        "question": "Find the name of the target user with the lowest trust score.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "target",
            "user",
            "with",
            "the",
            "lowest",
            "trust",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT title FROM item WHERE i_id NOT IN (SELECT i_id FROM review)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "item",
            "WHERE",
            "i_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "i_id",
            "FROM",
            "review",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "item",
            "where",
            "i_id",
            "not",
            "in",
            "(",
            "select",
            "i_id",
            "from",
            "review",
            ")"
        ],
        "question": "Find the names of the items that did not receive any review.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "items",
            "that",
            "did",
            "not",
            "receive",
            "any",
            "review",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT name FROM useracct WHERE u_id NOT IN (SELECT u_id FROM review)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "useracct",
            "WHERE",
            "u_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "u_id",
            "FROM",
            "review",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "useracct",
            "where",
            "u_id",
            "not",
            "in",
            "(",
            "select",
            "u_id",
            "from",
            "review",
            ")"
        ],
        "question": "Find the names of users who did not leave any review.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "users",
            "who",
            "did",
            "not",
            "leave",
            "any",
            "review",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT count(*) FROM useracct WHERE u_id NOT IN (SELECT u_id FROM review)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "useracct",
            "WHERE",
            "u_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "u_id",
            "FROM",
            "review",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "useracct",
            "where",
            "u_id",
            "not",
            "in",
            "(",
            "select",
            "u_id",
            "from",
            "review",
            ")"
        ],
        "question": "Find the number of users who did not write any review.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "users",
            "who",
            "did",
            "not",
            "write",
            "any",
            "review",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "epinions_1",
        "query": "SELECT count(*) FROM item WHERE i_id NOT IN (SELECT i_id FROM review)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "item",
            "WHERE",
            "i_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "i_id",
            "FROM",
            "review",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "item",
            "where",
            "i_id",
            "not",
            "in",
            "(",
            "select",
            "i_id",
            "from",
            "review",
            ")"
        ],
        "question": "Find the number of items without any review.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "items",
            "without",
            "any",
            "review",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT count(*) FROM player",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player"
        ],
        "question": "How many players are there?",
        "question_toks": [
            "How",
            "many",
            "players",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Player_name FROM player ORDER BY Votes ASC",
        "query_toks": [
            "SELECT",
            "Player_name",
            "FROM",
            "player",
            "ORDER",
            "BY",
            "Votes",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "player_name",
            "from",
            "player",
            "order",
            "by",
            "votes",
            "asc"
        ],
        "question": "List the names of players in ascending order of votes.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "players",
            "in",
            "ascending",
            "order",
            "of",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Gender ,  Occupation FROM player",
        "query_toks": [
            "SELECT",
            "Gender",
            ",",
            "Occupation",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "gender",
            ",",
            "occupation",
            "from",
            "player"
        ],
        "question": "What are the gender and occupation of players?",
        "question_toks": [
            "What",
            "are",
            "the",
            "gender",
            "and",
            "occupation",
            "of",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Player_name ,  residence FROM player WHERE Occupation != \"Researcher\"",
        "query_toks": [
            "SELECT",
            "Player_name",
            ",",
            "residence",
            "FROM",
            "player",
            "WHERE",
            "Occupation",
            "!",
            "=",
            "``",
            "Researcher",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "player_name",
            ",",
            "residence",
            "from",
            "player",
            "where",
            "occupation",
            "!",
            "=",
            "value"
        ],
        "question": "List the name and residence for players whose occupation is not \"Researcher\".",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "residence",
            "for",
            "players",
            "whose",
            "occupation",
            "is",
            "not",
            "``",
            "Researcher",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Researcher\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Sponsor_name FROM player WHERE Residence  =  \"Brandon\" OR Residence  =  \"Birtle\"",
        "query_toks": [
            "SELECT",
            "Sponsor_name",
            "FROM",
            "player",
            "WHERE",
            "Residence",
            "=",
            "``",
            "Brandon",
            "''",
            "OR",
            "Residence",
            "=",
            "``",
            "Birtle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sponsor_name",
            "from",
            "player",
            "where",
            "residence",
            "=",
            "value",
            "or",
            "residence",
            "=",
            "value"
        ],
        "question": "Show the names of sponsors of players whose residence is either \"Brandon\" or \"Birtle\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "sponsors",
            "of",
            "players",
            "whose",
            "residence",
            "is",
            "either",
            "``",
            "Brandon",
            "''",
            "or",
            "``",
            "Birtle",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Brandon\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Birtle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Player_name FROM player ORDER BY Votes DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Player_name",
            "FROM",
            "player",
            "ORDER",
            "BY",
            "Votes",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "player_name",
            "from",
            "player",
            "order",
            "by",
            "votes",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the player with the largest number of votes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "player",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "votes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Occupation ,  COUNT(*) FROM player GROUP BY Occupation",
        "query_toks": [
            "SELECT",
            "Occupation",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "Occupation"
        ],
        "query_toks_no_value": [
            "select",
            "occupation",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player",
            "group",
            "by",
            "occupation"
        ],
        "question": "Show different occupations along with the number of players in each occupation.",
        "question_toks": [
            "Show",
            "different",
            "occupations",
            "along",
            "with",
            "the",
            "number",
            "of",
            "players",
            "in",
            "each",
            "occupation",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Occupation FROM player GROUP BY Occupation ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Occupation",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "Occupation",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "occupation",
            "from",
            "player",
            "group",
            "by",
            "occupation",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the most common occupation of players.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "most",
            "common",
            "occupation",
            "of",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Residence FROM player GROUP BY Residence HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Residence",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "Residence",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "residence",
            "from",
            "player",
            "group",
            "by",
            "residence",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the residences that have at least two players.",
        "question_toks": [
            "Show",
            "the",
            "residences",
            "that",
            "have",
            "at",
            "least",
            "two",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT T3.Player_name ,  T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID  =  T2.Coach_ID JOIN player AS T3 ON T1.Player_ID  =  T3.Player_ID",
        "query_toks": [
            "SELECT",
            "T3.Player_name",
            ",",
            "T2.coach_name",
            "FROM",
            "player_coach",
            "AS",
            "T1",
            "JOIN",
            "coach",
            "AS",
            "T2",
            "ON",
            "T1.Coach_ID",
            "=",
            "T2.Coach_ID",
            "JOIN",
            "player",
            "AS",
            "T3",
            "ON",
            "T1.Player_ID",
            "=",
            "T3.Player_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "player_name",
            ",",
            "t2",
            ".",
            "coach_name",
            "from",
            "player_coach",
            "as",
            "t1",
            "join",
            "coach",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "coach_id",
            "=",
            "t2",
            ".",
            "coach_id",
            "join",
            "player",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t3",
            ".",
            "player_id"
        ],
        "question": "Show the names of players and names of their coaches.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "players",
            "and",
            "names",
            "of",
            "their",
            "coaches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT T3.Player_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID  =  T2.Coach_ID JOIN player AS T3 ON T1.Player_ID  =  T3.Player_ID WHERE T2.Rank  =  1",
        "query_toks": [
            "SELECT",
            "T3.Player_name",
            "FROM",
            "player_coach",
            "AS",
            "T1",
            "JOIN",
            "coach",
            "AS",
            "T2",
            "ON",
            "T1.Coach_ID",
            "=",
            "T2.Coach_ID",
            "JOIN",
            "player",
            "AS",
            "T3",
            "ON",
            "T1.Player_ID",
            "=",
            "T3.Player_ID",
            "WHERE",
            "T2.Rank",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "player_name",
            "from",
            "player_coach",
            "as",
            "t1",
            "join",
            "coach",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "coach_id",
            "=",
            "t2",
            ".",
            "coach_id",
            "join",
            "player",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t3",
            ".",
            "player_id",
            "where",
            "t2",
            ".",
            "rank",
            "=",
            "value"
        ],
        "question": "Show the names of players coached by the rank 1 coach.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "players",
            "coached",
            "by",
            "the",
            "rank",
            "1",
            "coach",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT T3.Player_name ,  T3.gender FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID  =  T2.Coach_ID JOIN player AS T3 ON T1.Player_ID  =  T3.Player_ID WHERE T1.Starting_year  >  2011",
        "query_toks": [
            "SELECT",
            "T3.Player_name",
            ",",
            "T3.gender",
            "FROM",
            "player_coach",
            "AS",
            "T1",
            "JOIN",
            "coach",
            "AS",
            "T2",
            "ON",
            "T1.Coach_ID",
            "=",
            "T2.Coach_ID",
            "JOIN",
            "player",
            "AS",
            "T3",
            "ON",
            "T1.Player_ID",
            "=",
            "T3.Player_ID",
            "WHERE",
            "T1.Starting_year",
            ">",
            "2011"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "player_name",
            ",",
            "t3",
            ".",
            "gender",
            "from",
            "player_coach",
            "as",
            "t1",
            "join",
            "coach",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "coach_id",
            "=",
            "t2",
            ".",
            "coach_id",
            "join",
            "player",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t3",
            ".",
            "player_id",
            "where",
            "t1",
            ".",
            "starting_year",
            ">",
            "value"
        ],
        "question": "Show the names and genders of players with a coach starting after 2011.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "genders",
            "of",
            "players",
            "with",
            "a",
            "coach",
            "starting",
            "after",
            "2011",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT T3.Player_name ,  T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID  =  T2.Coach_ID JOIN player AS T3 ON T1.Player_ID  =  T3.Player_ID ORDER BY T3.Votes DESC",
        "query_toks": [
            "SELECT",
            "T3.Player_name",
            ",",
            "T2.coach_name",
            "FROM",
            "player_coach",
            "AS",
            "T1",
            "JOIN",
            "coach",
            "AS",
            "T2",
            "ON",
            "T1.Coach_ID",
            "=",
            "T2.Coach_ID",
            "JOIN",
            "player",
            "AS",
            "T3",
            "ON",
            "T1.Player_ID",
            "=",
            "T3.Player_ID",
            "ORDER",
            "BY",
            "T3.Votes",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "player_name",
            ",",
            "t2",
            ".",
            "coach_name",
            "from",
            "player_coach",
            "as",
            "t1",
            "join",
            "coach",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "coach_id",
            "=",
            "t2",
            ".",
            "coach_id",
            "join",
            "player",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t3",
            ".",
            "player_id",
            "order",
            "by",
            "t3",
            ".",
            "votes",
            "desc"
        ],
        "question": "Show the names of players and names of their coaches in descending order of the votes of players.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "players",
            "and",
            "names",
            "of",
            "their",
            "coaches",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "votes",
            "of",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Player_name FROM player WHERE Player_ID NOT IN (SELECT Player_ID FROM player_coach)",
        "query_toks": [
            "SELECT",
            "Player_name",
            "FROM",
            "player",
            "WHERE",
            "Player_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Player_ID",
            "FROM",
            "player_coach",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "player_name",
            "from",
            "player",
            "where",
            "player_id",
            "not",
            "in",
            "(",
            "select",
            "player_id",
            "from",
            "player_coach",
            ")"
        ],
        "question": "List the names of players that do not have coaches.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "players",
            "that",
            "do",
            "not",
            "have",
            "coaches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT Residence FROM player WHERE gender  =  \"M\" INTERSECT SELECT Residence FROM player WHERE gender  =  \"F\"",
        "query_toks": [
            "SELECT",
            "Residence",
            "FROM",
            "player",
            "WHERE",
            "gender",
            "=",
            "``",
            "M",
            "''",
            "INTERSECT",
            "SELECT",
            "Residence",
            "FROM",
            "player",
            "WHERE",
            "gender",
            "=",
            "``",
            "F",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "residence",
            "from",
            "player",
            "where",
            "gender",
            "=",
            "value",
            "intersect",
            "select",
            "residence",
            "from",
            "player",
            "where",
            "gender",
            "=",
            "value"
        ],
        "question": "Show the residences that have both a player of gender \"M\" and a player of gender \"F\".",
        "question_toks": [
            "Show",
            "the",
            "residences",
            "that",
            "have",
            "both",
            "a",
            "player",
            "of",
            "gender",
            "``",
            "M",
            "''",
            "and",
            "a",
            "player",
            "of",
            "gender",
            "``",
            "F",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"F\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT T1.club_id ,  T1.club_name, count(*) FROM club AS T1 JOIN coach AS T2 ON T1.club_id  =  T2.club_id GROUP BY T1.club_id",
        "query_toks": [
            "SELECT",
            "T1.club_id",
            ",",
            "T1.club_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "T1",
            "JOIN",
            "coach",
            "AS",
            "T2",
            "ON",
            "T1.club_id",
            "=",
            "T2.club_id",
            "GROUP",
            "BY",
            "T1.club_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "club_id",
            ",",
            "t1",
            ".",
            "club_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "coach",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "club_id",
            "=",
            "t2",
            ".",
            "club_id",
            "group",
            "by",
            "t1",
            ".",
            "club_id"
        ],
        "question": "How many coaches does each club has? List the club id, name and the number of coaches.",
        "question_toks": [
            "How",
            "many",
            "coaches",
            "does",
            "each",
            "club",
            "has",
            "?",
            "List",
            "the",
            "club",
            "id",
            ",",
            "name",
            "and",
            "the",
            "number",
            "of",
            "coaches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "riding_club",
        "query": "SELECT T1.club_id ,  T1.gold FROM match_result AS T1 JOIN coach AS T2 ON T1.club_id  =  T2.club_id GROUP BY T1.club_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.club_id",
            ",",
            "T1.gold",
            "FROM",
            "match_result",
            "AS",
            "T1",
            "JOIN",
            "coach",
            "AS",
            "T2",
            "ON",
            "T1.club_id",
            "=",
            "T2.club_id",
            "GROUP",
            "BY",
            "T1.club_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "club_id",
            ",",
            "t1",
            ".",
            "gold",
            "from",
            "match_result",
            "as",
            "t1",
            "join",
            "coach",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "club_id",
            "=",
            "t2",
            ".",
            "club_id",
            "group",
            "by",
            "t1",
            ".",
            "club_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many gold medals has the club with the most coaches won?",
        "question_toks": [
            "How",
            "many",
            "gold",
            "medals",
            "has",
            "the",
            "club",
            "with",
            "the",
            "most",
            "coaches",
            "won",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT count(*) FROM gymnast",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "gymnast"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "gymnast"
        ],
        "question": "How many gymnasts are there?",
        "question_toks": [
            "How",
            "many",
            "gymnasts",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT count(*) FROM gymnast",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "gymnast"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "gymnast"
        ],
        "question": "Count the number of gymnasts.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "gymnasts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Total_Points FROM gymnast ORDER BY Total_Points DESC",
        "query_toks": [
            "SELECT",
            "Total_Points",
            "FROM",
            "gymnast",
            "ORDER",
            "BY",
            "Total_Points",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "total_points",
            "from",
            "gymnast",
            "order",
            "by",
            "total_points",
            "desc"
        ],
        "question": "List the total points of gymnasts in descending order.",
        "question_toks": [
            "List",
            "the",
            "total",
            "points",
            "of",
            "gymnasts",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Total_Points FROM gymnast ORDER BY Total_Points DESC",
        "query_toks": [
            "SELECT",
            "Total_Points",
            "FROM",
            "gymnast",
            "ORDER",
            "BY",
            "Total_Points",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "total_points",
            "from",
            "gymnast",
            "order",
            "by",
            "total_points",
            "desc"
        ],
        "question": "What are the total points for all gymnasts, ordered by total points descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "points",
            "for",
            "all",
            "gymnasts",
            ",",
            "ordered",
            "by",
            "total",
            "points",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Total_Points FROM gymnast ORDER BY Floor_Exercise_Points DESC",
        "query_toks": [
            "SELECT",
            "Total_Points",
            "FROM",
            "gymnast",
            "ORDER",
            "BY",
            "Floor_Exercise_Points",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "total_points",
            "from",
            "gymnast",
            "order",
            "by",
            "floor_exercise_points",
            "desc"
        ],
        "question": "List the total points of gymnasts in descending order of floor exercise points.",
        "question_toks": [
            "List",
            "the",
            "total",
            "points",
            "of",
            "gymnasts",
            "in",
            "descending",
            "order",
            "of",
            "floor",
            "exercise",
            "points",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Total_Points FROM gymnast ORDER BY Floor_Exercise_Points DESC",
        "query_toks": [
            "SELECT",
            "Total_Points",
            "FROM",
            "gymnast",
            "ORDER",
            "BY",
            "Floor_Exercise_Points",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "total_points",
            "from",
            "gymnast",
            "order",
            "by",
            "floor_exercise_points",
            "desc"
        ],
        "question": "What are the total points of gymnasts, ordered by their floor exercise points descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "points",
            "of",
            "gymnasts",
            ",",
            "ordered",
            "by",
            "their",
            "floor",
            "exercise",
            "points",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT avg(Horizontal_Bar_Points) FROM gymnast",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Horizontal_Bar_Points",
            ")",
            "FROM",
            "gymnast"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "horizontal_bar_points",
            ")",
            "from",
            "gymnast"
        ],
        "question": "What is the average horizontal bar points for all gymnasts?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "horizontal",
            "bar",
            "points",
            "for",
            "all",
            "gymnasts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT avg(Horizontal_Bar_Points) FROM gymnast",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Horizontal_Bar_Points",
            ")",
            "FROM",
            "gymnast"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "horizontal_bar_points",
            ")",
            "from",
            "gymnast"
        ],
        "question": "Return the average horizontal bar points across all gymnasts.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "horizontal",
            "bar",
            "points",
            "across",
            "all",
            "gymnasts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Name FROM People ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "People",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "What are the names of people in ascending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "people",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Name FROM People ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "People",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "Return the names of people, ordered alphabetically.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "people",
            ",",
            "ordered",
            "alphabetically",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "What are the names of gymnasts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "gymnasts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "Return the names of the gymnasts.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "the",
            "gymnasts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID WHERE T2.Hometown != \"Santo Domingo\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T2.Hometown",
            "!",
            "=",
            "``",
            "Santo",
            "Domingo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "hometown",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of gymnasts whose hometown is not \"Santo Domingo\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "gymnasts",
            "whose",
            "hometown",
            "is",
            "not",
            "``",
            "Santo",
            "Domingo",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Santo Domingo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID WHERE T2.Hometown != \"Santo Domingo\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T2.Hometown",
            "!",
            "=",
            "``",
            "Santo",
            "Domingo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "hometown",
            "!",
            "=",
            "value"
        ],
        "question": "Return the names of gymnasts who did not grow up in Santo Domingo.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "gymnasts",
            "who",
            "did",
            "not",
            "grow",
            "up",
            "in",
            "Santo",
            "Domingo",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Santo Domingo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Age FROM people ORDER BY Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Age",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            "from",
            "people",
            "order",
            "by",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the age of the tallest person?",
        "question_toks": [
            "What",
            "is",
            "the",
            "age",
            "of",
            "the",
            "tallest",
            "person",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Age FROM people ORDER BY Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Age",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            "from",
            "people",
            "order",
            "by",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the age of the person with the greatest height.",
        "question_toks": [
            "Return",
            "the",
            "age",
            "of",
            "the",
            "person",
            "with",
            "the",
            "greatest",
            "height",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Name FROM People ORDER BY Age DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "People",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the names of the top 5 oldest people.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "the",
            "top",
            "5",
            "oldest",
            "people",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Name FROM People ORDER BY Age DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "People",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the five oldest people?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "five",
            "oldest",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID ORDER BY T2.Age ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Total_Points",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Age",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "total_points",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "age",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the total point count of the youngest gymnast?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "point",
            "count",
            "of",
            "the",
            "youngest",
            "gymnast",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID ORDER BY T2.Age ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Total_Points",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Age",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "total_points",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "age",
            "asc",
            "limit",
            "value"
        ],
        "question": "Return the total points of the gymnast with the lowest age.",
        "question_toks": [
            "Return",
            "the",
            "total",
            "points",
            "of",
            "the",
            "gymnast",
            "with",
            "the",
            "lowest",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT avg(T2.Age) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Age",
            ")",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "age",
            ")",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "What is the average age of all gymnasts?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "of",
            "all",
            "gymnasts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT avg(T2.Age) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Age",
            ")",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "age",
            ")",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "Return the average age across all gymnasts.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "age",
            "across",
            "all",
            "gymnasts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID WHERE T1.Total_Points  >  57.5",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Hometown",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Total_Points",
            ">",
            "57.5"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "hometown",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "total_points",
            ">",
            "value"
        ],
        "question": "What are the distinct hometowns of gymnasts with total points more than 57.5?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "hometowns",
            "of",
            "gymnasts",
            "with",
            "total",
            "points",
            "more",
            "than",
            "57.5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    57.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID WHERE T1.Total_Points  >  57.5",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Hometown",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Total_Points",
            ">",
            "57.5"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "hometown",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "total_points",
            ">",
            "value"
        ],
        "question": "Give the different hometowns of gymnasts that have a total point score of above 57.5.",
        "question_toks": [
            "Give",
            "the",
            "different",
            "hometowns",
            "of",
            "gymnasts",
            "that",
            "have",
            "a",
            "total",
            "point",
            "score",
            "of",
            "above",
            "57.5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    57.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Hometown ,  COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID GROUP BY T2.Hometown",
        "query_toks": [
            "SELECT",
            "T2.Hometown",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "GROUP",
            "BY",
            "T2.Hometown"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hometown",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t2",
            ".",
            "hometown"
        ],
        "question": "What are the hometowns of gymnasts and the corresponding number of gymnasts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "hometowns",
            "of",
            "gymnasts",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "gymnasts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Hometown ,  COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID GROUP BY T2.Hometown",
        "query_toks": [
            "SELECT",
            "T2.Hometown",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "GROUP",
            "BY",
            "T2.Hometown"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hometown",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t2",
            ".",
            "hometown"
        ],
        "question": "How many gymnasts are from each hometown?",
        "question_toks": [
            "How",
            "many",
            "gymnasts",
            "are",
            "from",
            "each",
            "hometown",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Hometown",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "GROUP",
            "BY",
            "T2.Hometown",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hometown",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t2",
            ".",
            "hometown",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common hometown of gymnasts?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "hometown",
            "of",
            "gymnasts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Hometown",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "GROUP",
            "BY",
            "T2.Hometown",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hometown",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t2",
            ".",
            "hometown",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the hometown that is most common among gymnasts.",
        "question_toks": [
            "Return",
            "the",
            "hometown",
            "that",
            "is",
            "most",
            "common",
            "among",
            "gymnasts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID GROUP BY T2.Hometown HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.Hometown",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "GROUP",
            "BY",
            "T2.Hometown",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hometown",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t2",
            ".",
            "hometown",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the hometowns that are shared by at least two gymnasts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "hometowns",
            "that",
            "are",
            "shared",
            "by",
            "at",
            "least",
            "two",
            "gymnasts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID GROUP BY T2.Hometown HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.Hometown",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "GROUP",
            "BY",
            "T2.Hometown",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "hometown",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t2",
            ".",
            "hometown",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Give the hometowns from which two or more gymnasts are from.",
        "question_toks": [
            "Give",
            "the",
            "hometowns",
            "from",
            "which",
            "two",
            "or",
            "more",
            "gymnasts",
            "are",
            "from",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID ORDER BY T2.Height ASC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Height",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "height",
            "asc"
        ],
        "question": "List the names of gymnasts in ascending order by their heights.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "gymnasts",
            "in",
            "ascending",
            "order",
            "by",
            "their",
            "heights",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID ORDER BY T2.Height ASC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Height",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "height",
            "asc"
        ],
        "question": "What are the names of gymnasts, ordered by their heights ascending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "gymnasts",
            ",",
            "ordered",
            "by",
            "their",
            "heights",
            "ascending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT DISTINCT Hometown FROM people EXCEPT SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Hometown",
            "FROM",
            "people",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "T2.Hometown",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "hometown",
            "from",
            "people",
            "except",
            "select",
            "distinct",
            "t2",
            ".",
            "hometown",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "List the distinct hometowns that are not associated with any gymnast.",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "hometowns",
            "that",
            "are",
            "not",
            "associated",
            "with",
            "any",
            "gymnast",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT DISTINCT Hometown FROM people EXCEPT SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Hometown",
            "FROM",
            "people",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "T2.Hometown",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "hometown",
            "from",
            "people",
            "except",
            "select",
            "distinct",
            "t2",
            ".",
            "hometown",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "From which hometowns did no gymnasts come from?",
        "question_toks": [
            "From",
            "which",
            "hometowns",
            "did",
            "no",
            "gymnasts",
            "come",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Hometown FROM people WHERE Age  >  23 INTERSECT SELECT Hometown FROM people WHERE Age  <  20",
        "query_toks": [
            "SELECT",
            "Hometown",
            "FROM",
            "people",
            "WHERE",
            "Age",
            ">",
            "23",
            "INTERSECT",
            "SELECT",
            "Hometown",
            "FROM",
            "people",
            "WHERE",
            "Age",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "hometown",
            "from",
            "people",
            "where",
            "age",
            ">",
            "value",
            "intersect",
            "select",
            "hometown",
            "from",
            "people",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "Show the hometowns shared by people older than 23 and younger than 20.",
        "question_toks": [
            "Show",
            "the",
            "hometowns",
            "shared",
            "by",
            "people",
            "older",
            "than",
            "23",
            "and",
            "younger",
            "than",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    23.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT Hometown FROM people WHERE Age  >  23 INTERSECT SELECT Hometown FROM people WHERE Age  <  20",
        "query_toks": [
            "SELECT",
            "Hometown",
            "FROM",
            "people",
            "WHERE",
            "Age",
            ">",
            "23",
            "INTERSECT",
            "SELECT",
            "Hometown",
            "FROM",
            "people",
            "WHERE",
            "Age",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "hometown",
            "from",
            "people",
            "where",
            "age",
            ">",
            "value",
            "intersect",
            "select",
            "hometown",
            "from",
            "people",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "From which hometowns did both people older than 23 and younger than 20 come from?",
        "question_toks": [
            "From",
            "which",
            "hometowns",
            "did",
            "both",
            "people",
            "older",
            "than",
            "23",
            "and",
            "younger",
            "than",
            "20",
            "come",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    23.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT count(DISTINCT Hometown) FROM people",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Hometown",
            ")",
            "FROM",
            "people"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "hometown",
            ")",
            "from",
            "people"
        ],
        "question": "How many distinct hometowns did these people have?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "hometowns",
            "did",
            "these",
            "people",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT count(DISTINCT Hometown) FROM people",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Hometown",
            ")",
            "FROM",
            "people"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "hometown",
            ")",
            "from",
            "people"
        ],
        "question": "Count the number of different hometowns of these people.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "hometowns",
            "of",
            "these",
            "people",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID ORDER BY T1.Total_Points DESC",
        "query_toks": [
            "SELECT",
            "T2.Age",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Total_Points",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "age",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "total_points",
            "desc"
        ],
        "question": "Show the ages of gymnasts in descending order of total points.",
        "question_toks": [
            "Show",
            "the",
            "ages",
            "of",
            "gymnasts",
            "in",
            "descending",
            "order",
            "of",
            "total",
            "points",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gymnast",
        "query": "SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID  =  T2.People_ID ORDER BY T1.Total_Points DESC",
        "query_toks": [
            "SELECT",
            "T2.Age",
            "FROM",
            "gymnast",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.Gymnast_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Total_Points",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "age",
            "from",
            "gymnast",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gymnast_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "total_points",
            "desc"
        ],
        "question": "What are the ages of the gymnasts, ordered descending by their total points?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ages",
            "of",
            "the",
            "gymnasts",
            ",",
            "ordered",
            "descending",
            "by",
            "their",
            "total",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT sum(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid WHERE T1.name != 'Brown'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.balance",
            ")",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T1.name",
            "!",
            "=",
            "'Brown",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "balance",
            ")",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t1",
            ".",
            "name",
            "!",
            "=",
            "value"
        ],
        "question": "Find the total savings balance of all accounts except the account with name \u2018Brown\u2019.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "savings",
            "balance",
            "of",
            "all",
            "accounts",
            "except",
            "the",
            "account",
            "with",
            "name",
            "\u2018Brown\u2019",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Brown\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT sum(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid WHERE T1.name != 'Brown'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.balance",
            ")",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T1.name",
            "!",
            "=",
            "'Brown",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "balance",
            ")",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t1",
            ".",
            "name",
            "!",
            "=",
            "value"
        ],
        "question": "What is the total balance of savings accounts not belonging to someone with the name Brown?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "balance",
            "of",
            "savings",
            "accounts",
            "not",
            "belonging",
            "to",
            "someone",
            "with",
            "the",
            "name",
            "Brown",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Brown\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT count(*) FROM accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts"
        ],
        "question": "How many accounts are there in total?",
        "question_toks": [
            "How",
            "many",
            "accounts",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT count(*) FROM accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts"
        ],
        "question": "Count the number of accounts.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT sum(balance) FROM checking",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "balance",
            ")",
            "FROM",
            "checking"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "balance",
            ")",
            "from",
            "checking"
        ],
        "question": "What is the total checking balance in all accounts?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "checking",
            "balance",
            "in",
            "all",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT sum(balance) FROM checking",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "balance",
            ")",
            "FROM",
            "checking"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "balance",
            ")",
            "from",
            "checking"
        ],
        "question": "Find the total balance across checking accounts.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "balance",
            "across",
            "checking",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT avg(balance) FROM checking",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "checking"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "checking"
        ],
        "question": "Find the average checking balance.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "checking",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT avg(balance) FROM checking",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "checking"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "checking"
        ],
        "question": "What is the average balance in checking accounts?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "balance",
            "in",
            "checking",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT count(*) FROM savings WHERE balance  >  (SELECT avg(balance) FROM savings)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "savings",
            "WHERE",
            "balance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "savings",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "savings",
            "where",
            "balance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "savings",
            ")"
        ],
        "question": "How many accounts have a savings balance above the average savings balance?",
        "question_toks": [
            "How",
            "many",
            "accounts",
            "have",
            "a",
            "savings",
            "balance",
            "above",
            "the",
            "average",
            "savings",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT count(*) FROM savings WHERE balance  >  (SELECT avg(balance) FROM savings)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "savings",
            "WHERE",
            "balance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "savings",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "savings",
            "where",
            "balance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "savings",
            ")"
        ],
        "question": "Find the number of accounts with a savings balance that is higher than the average savings balance.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "accounts",
            "with",
            "a",
            "savings",
            "balance",
            "that",
            "is",
            "higher",
            "than",
            "the",
            "average",
            "savings",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.custid ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  <  (SELECT max(balance) FROM checking)",
        "query_toks": [
            "SELECT",
            "T1.custid",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "balance",
            ")",
            "FROM",
            "checking",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "custid",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            "<",
            "(",
            "select",
            "max",
            "(",
            "balance",
            ")",
            "from",
            "checking",
            ")"
        ],
        "question": "Find the name and id of accounts whose checking balance is below the maximum checking balance.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "id",
            "of",
            "accounts",
            "whose",
            "checking",
            "balance",
            "is",
            "below",
            "the",
            "maximum",
            "checking",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.custid ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  <  (SELECT max(balance) FROM checking)",
        "query_toks": [
            "SELECT",
            "T1.custid",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "balance",
            ")",
            "FROM",
            "checking",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "custid",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            "<",
            "(",
            "select",
            "max",
            "(",
            "balance",
            ")",
            "from",
            "checking",
            ")"
        ],
        "question": "What are the customer id and name corresponding to accounts with a checking balance less than the largest checking balance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "customer",
            "id",
            "and",
            "name",
            "corresponding",
            "to",
            "accounts",
            "with",
            "a",
            "checking",
            "balance",
            "less",
            "than",
            "the",
            "largest",
            "checking",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T1.name LIKE '%ee%'",
        "query_toks": [
            "SELECT",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T1.name",
            "LIKE",
            "'",
            "%",
            "ee",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t1",
            ".",
            "name",
            "like",
            "value"
        ],
        "question": "What is the checking balance of the account whose owner\u2019s name contains the substring \u2018ee\u2019?",
        "question_toks": [
            "What",
            "is",
            "the",
            "checking",
            "balance",
            "of",
            "the",
            "account",
            "whose",
            "owner\u2019s",
            "name",
            "contains",
            "the",
            "substring",
            "\u2018ee\u2019",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%ee%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T1.name LIKE '%ee%'",
        "query_toks": [
            "SELECT",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T1.name",
            "LIKE",
            "'",
            "%",
            "ee",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t1",
            ".",
            "name",
            "like",
            "value"
        ],
        "question": "Find the balance of the checking account belonging to an owner whose name contains 'ee'.",
        "question_toks": [
            "Find",
            "the",
            "balance",
            "of",
            "the",
            "checking",
            "account",
            "belonging",
            "to",
            "an",
            "owner",
            "whose",
            "name",
            "contains",
            "'ee",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%ee%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance ,  T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T1.name  =  'Brown'",
        "query_toks": [
            "SELECT",
            "T2.balance",
            ",",
            "T3.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "WHERE",
            "T1.name",
            "=",
            "'Brown",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            ",",
            "t3",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the checking balance and saving balance in the Brown\u2019s account.",
        "question_toks": [
            "Find",
            "the",
            "checking",
            "balance",
            "and",
            "saving",
            "balance",
            "in",
            "the",
            "Brown\u2019s",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Brown\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance ,  T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T1.name  =  'Brown'",
        "query_toks": [
            "SELECT",
            "T2.balance",
            ",",
            "T3.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "WHERE",
            "T1.name",
            "=",
            "'Brown",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            ",",
            "t3",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the checking and savings balances in accounts belonging to Brown?",
        "question_toks": [
            "What",
            "are",
            "the",
            "checking",
            "and",
            "savings",
            "balances",
            "in",
            "accounts",
            "belonging",
            "to",
            "Brown",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Brown\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  >  (SELECT avg(balance) FROM checking) INTERSECT SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  <  (SELECT avg(balance) FROM savings)",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "checking",
            ")",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "savings",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "checking",
            ")",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "savings",
            ")"
        ],
        "question": "Find the names of accounts whose checking balance is above the average checking balance, but savings balance is below the average savings balance.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "accounts",
            "whose",
            "checking",
            "balance",
            "is",
            "above",
            "the",
            "average",
            "checking",
            "balance",
            ",",
            "but",
            "savings",
            "balance",
            "is",
            "below",
            "the",
            "average",
            "savings",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        5,
                                        [
                                            0,
                                            [
                                                0,
                                                4,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  >  (SELECT avg(balance) FROM checking) INTERSECT SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  <  (SELECT avg(balance) FROM savings)",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "checking",
            ")",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "savings",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "checking",
            ")",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "savings",
            ")"
        ],
        "question": "What are the names of accounts with checking balances greater than the average checking balance and savings balances below the average savings balance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "accounts",
            "with",
            "checking",
            "balances",
            "greater",
            "than",
            "the",
            "average",
            "checking",
            "balance",
            "and",
            "savings",
            "balances",
            "below",
            "the",
            "average",
            "savings",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        5,
                                        [
                                            0,
                                            [
                                                0,
                                                4,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  >  (SELECT avg(balance) FROM savings))",
        "query_toks": [
            "SELECT",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T1.name",
            "IN",
            "(",
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "savings",
            ")",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t1",
            ".",
            "name",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "savings",
            ")",
            ")"
        ],
        "question": "Find the checking balance of the accounts whose savings balance is higher than the average savings balance.",
        "question_toks": [
            "Find",
            "the",
            "checking",
            "balance",
            "of",
            "the",
            "accounts",
            "whose",
            "savings",
            "balance",
            "is",
            "higher",
            "than",
            "the",
            "average",
            "savings",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                1
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                5,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        4,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  >  (SELECT avg(balance) FROM savings))",
        "query_toks": [
            "SELECT",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T1.name",
            "IN",
            "(",
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "savings",
            ")",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t1",
            ".",
            "name",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "savings",
            ")",
            ")"
        ],
        "question": "What are the balances of checking accounts belonging to people with savings balances greater than the average savings balance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "balances",
            "of",
            "checking",
            "accounts",
            "belonging",
            "to",
            "people",
            "with",
            "savings",
            "balances",
            "greater",
            "than",
            "the",
            "average",
            "savings",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                1
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                5,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        4,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT name FROM accounts ORDER BY name",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "accounts",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "accounts",
            "order",
            "by",
            "name"
        ],
        "question": "List all customers\u2019 names in the alphabetical order.",
        "question_toks": [
            "List",
            "all",
            "customers\u2019",
            "names",
            "in",
            "the",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT name FROM accounts ORDER BY name",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "accounts",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "accounts",
            "order",
            "by",
            "name"
        ],
        "question": "What are the names of all the customers in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "customers",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T2.balance + T3.balance LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T2.balance",
            "+",
            "T3.balance",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t2",
            ".",
            "balance",
            "+",
            "t3",
            ".",
            "balance",
            "limit",
            "value"
        ],
        "question": "Find the name of account that has the lowest total checking and saving balance.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "account",
            "that",
            "has",
            "the",
            "lowest",
            "total",
            "checking",
            "and",
            "saving",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        2,
                        [
                            0,
                            6,
                            false
                        ],
                        [
                            0,
                            4,
                            false
                        ]
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T2.balance + T3.balance LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T2.balance",
            "+",
            "T3.balance",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t2",
            ".",
            "balance",
            "+",
            "t3",
            ".",
            "balance",
            "limit",
            "value"
        ],
        "question": "What is the name corresponding to the accoung with the lowest sum of checking and savings balances?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "corresponding",
            "to",
            "the",
            "accoung",
            "with",
            "the",
            "lowest",
            "sum",
            "of",
            "checking",
            "and",
            "savings",
            "balances",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        2,
                        [
                            0,
                            6,
                            false
                        ],
                        [
                            0,
                            4,
                            false
                        ]
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name ,  T2.balance + T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T3.balance  >  (SELECT avg(balance) FROM savings)",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.balance",
            "+",
            "T3.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "WHERE",
            "T3.balance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "savings",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "balance",
            "+",
            "t3",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "where",
            "t3",
            ".",
            "balance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "savings",
            ")"
        ],
        "question": "Find the names and total checking and savings balances of accounts whose savings balance is higher than the average savings balance.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "total",
            "checking",
            "and",
            "savings",
            "balances",
            "of",
            "accounts",
            "whose",
            "savings",
            "balance",
            "is",
            "higher",
            "than",
            "the",
            "average",
            "savings",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            2,
                            [
                                0,
                                6,
                                false
                            ],
                            [
                                0,
                                4,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name ,  T2.balance + T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T3.balance  >  (SELECT avg(balance) FROM savings)",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.balance",
            "+",
            "T3.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "WHERE",
            "T3.balance",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "savings",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "balance",
            "+",
            "t3",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "where",
            "t3",
            ".",
            "balance",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "savings",
            ")"
        ],
        "question": "What are the names and sum of checking and savings balances for accounts with savings balances higher than the average savings balance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "sum",
            "of",
            "checking",
            "and",
            "savings",
            "balances",
            "for",
            "accounts",
            "with",
            "savings",
            "balances",
            "higher",
            "than",
            "the",
            "average",
            "savings",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            2,
                            [
                                0,
                                6,
                                false
                            ],
                            [
                                0,
                                4,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name ,  T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T3.balance LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T3.balance",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t3",
            ".",
            "balance",
            "limit",
            "value"
        ],
        "question": "Find the name and checking balance of the account with the lowest savings balance.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "checking",
            "balance",
            "of",
            "the",
            "account",
            "with",
            "the",
            "lowest",
            "savings",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name ,  T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T3.balance LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T3.balance",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t3",
            ".",
            "balance",
            "limit",
            "value"
        ],
        "question": "What are the names and balances of checking accounts belonging to the customer with the lowest savings balance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "balances",
            "of",
            "checking",
            "accounts",
            "belonging",
            "to",
            "the",
            "customer",
            "with",
            "the",
            "lowest",
            "savings",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT count(*) ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "Find the number of checking accounts for each account name.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "checking",
            "accounts",
            "for",
            "each",
            "account",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT count(*) ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "What are the names of customers with accounts, and how many checking accounts do each of them have?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "with",
            "accounts",
            ",",
            "and",
            "how",
            "many",
            "checking",
            "accounts",
            "do",
            "each",
            "of",
            "them",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT sum(T2.balance) ,  T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.balance",
            ")",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "balance",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "Find the total saving balance for each account name.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "saving",
            "balance",
            "for",
            "each",
            "account",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT sum(T2.balance) ,  T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.balance",
            ")",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "balance",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "What are the names of customers with accounts, and what are the total savings balances for each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "with",
            "accounts",
            ",",
            "and",
            "what",
            "are",
            "the",
            "total",
            "savings",
            "balances",
            "for",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  <  (SELECT avg(balance) FROM checking)",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "checking",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "checking",
            ")"
        ],
        "question": "Find the name of accounts whose checking balance is below the average checking balance.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "accounts",
            "whose",
            "checking",
            "balance",
            "is",
            "below",
            "the",
            "average",
            "checking",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid WHERE T2.balance  <  (SELECT avg(balance) FROM checking)",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "WHERE",
            "T2.balance",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "balance",
            ")",
            "FROM",
            "checking",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "balance",
            ")",
            "from",
            "checking",
            ")"
        ],
        "question": "What are the names of customers with checking balances lower than the average checking balance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "with",
            "checking",
            "balances",
            "lower",
            "than",
            "the",
            "average",
            "checking",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T2.balance DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T3.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T2.balance",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t2",
            ".",
            "balance",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the saving balance of the account with the highest checking balance.",
        "question_toks": [
            "Find",
            "the",
            "saving",
            "balance",
            "of",
            "the",
            "account",
            "with",
            "the",
            "highest",
            "checking",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T2.balance DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T3.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T2.balance",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t2",
            ".",
            "balance",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the savings balance of the account belonging to the customer with the highest checking balance?",
        "question_toks": [
            "What",
            "is",
            "the",
            "savings",
            "balance",
            "of",
            "the",
            "account",
            "belonging",
            "to",
            "the",
            "customer",
            "with",
            "the",
            "highest",
            "checking",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid ORDER BY T1.balance + T2.balance",
        "query_toks": [
            "SELECT",
            "T1.balance",
            "+",
            "T2.balance",
            "FROM",
            "checking",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "ORDER",
            "BY",
            "T1.balance",
            "+",
            "T2.balance"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "balance",
            "+",
            "t2",
            ".",
            "balance",
            "from",
            "checking",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "order",
            "by",
            "t1",
            ".",
            "balance",
            "+",
            "t2",
            ".",
            "balance"
        ],
        "question": "Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "checking",
            "and",
            "saving",
            "balance",
            "of",
            "all",
            "accounts",
            "sorted",
            "by",
            "the",
            "total",
            "balance",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            2,
                            [
                                0,
                                6,
                                false
                            ],
                            [
                                0,
                                4,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        2,
                        [
                            0,
                            6,
                            false
                        ],
                        [
                            0,
                            4,
                            false
                        ]
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid ORDER BY T1.balance + T2.balance",
        "query_toks": [
            "SELECT",
            "T1.balance",
            "+",
            "T2.balance",
            "FROM",
            "checking",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "ORDER",
            "BY",
            "T1.balance",
            "+",
            "T2.balance"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "balance",
            "+",
            "t2",
            ".",
            "balance",
            "from",
            "checking",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "order",
            "by",
            "t1",
            ".",
            "balance",
            "+",
            "t2",
            ".",
            "balance"
        ],
        "question": "What is the sum of checking and savings balances for all customers, ordered by the total balance?",
        "question_toks": [
            "What",
            "is",
            "the",
            "sum",
            "of",
            "checking",
            "and",
            "savings",
            "balances",
            "for",
            "all",
            "customers",
            ",",
            "ordered",
            "by",
            "the",
            "total",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            2,
                            [
                                0,
                                6,
                                false
                            ],
                            [
                                0,
                                4,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        2,
                        [
                            0,
                            6,
                            false
                        ],
                        [
                            0,
                            4,
                            false
                        ]
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T3.balance LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.balance",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T3.balance",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t3",
            ".",
            "balance",
            "limit",
            "value"
        ],
        "question": "Find the name and checking balance of the account with the lowest saving balance.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "checking",
            "balance",
            "of",
            "the",
            "account",
            "with",
            "the",
            "lowest",
            "saving",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T3.balance LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.balance",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T3.balance",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t3",
            ".",
            "balance",
            "limit",
            "value"
        ],
        "question": "What is the name and checking balance of the account which has the lowest savings balance?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "checking",
            "balance",
            "of",
            "the",
            "account",
            "which",
            "has",
            "the",
            "lowest",
            "savings",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance ,  T3.balance ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid",
        "query_toks": [
            "SELECT",
            "T2.balance",
            ",",
            "T3.balance",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            ",",
            "t3",
            ".",
            "balance",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid"
        ],
        "question": "Find the name, checking balance and saving balance of all accounts in the bank.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "checking",
            "balance",
            "and",
            "saving",
            "balance",
            "of",
            "all",
            "accounts",
            "in",
            "the",
            "bank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance ,  T3.balance ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid",
        "query_toks": [
            "SELECT",
            "T2.balance",
            ",",
            "T3.balance",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            ",",
            "t3",
            ".",
            "balance",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid"
        ],
        "question": "What are the names, checking balances, and savings balances for all customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "checking",
            "balances",
            ",",
            "and",
            "savings",
            "balances",
            "for",
            "all",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance ,  T3.balance ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T2.balance + T3.balance DESC",
        "query_toks": [
            "SELECT",
            "T2.balance",
            ",",
            "T3.balance",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T2.balance",
            "+",
            "T3.balance",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            ",",
            "t3",
            ".",
            "balance",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t2",
            ".",
            "balance",
            "+",
            "t3",
            ".",
            "balance",
            "desc"
        ],
        "question": "Find the name, checking balance and savings balance of all accounts in the bank sorted by their total checking and savings balance in descending order.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "checking",
            "balance",
            "and",
            "savings",
            "balance",
            "of",
            "all",
            "accounts",
            "in",
            "the",
            "bank",
            "sorted",
            "by",
            "their",
            "total",
            "checking",
            "and",
            "savings",
            "balance",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        2,
                        [
                            0,
                            6,
                            false
                        ],
                        [
                            0,
                            4,
                            false
                        ]
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T2.balance ,  T3.balance ,  T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid ORDER BY T2.balance + T3.balance DESC",
        "query_toks": [
            "SELECT",
            "T2.balance",
            ",",
            "T3.balance",
            ",",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "ORDER",
            "BY",
            "T2.balance",
            "+",
            "T3.balance",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "balance",
            ",",
            "t3",
            ".",
            "balance",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "order",
            "by",
            "t2",
            ".",
            "balance",
            "+",
            "t3",
            ".",
            "balance",
            "desc"
        ],
        "question": "What are the names, checking balances, and savings balances of customers, ordered by the total of checking and savings balances descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "checking",
            "balances",
            ",",
            "and",
            "savings",
            "balances",
            "of",
            "customers",
            ",",
            "ordered",
            "by",
            "the",
            "total",
            "of",
            "checking",
            "and",
            "savings",
            "balances",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        2,
                        [
                            0,
                            6,
                            false
                        ],
                        [
                            0,
                            4,
                            false
                        ]
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T2.balance  >  T3.balance",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "WHERE",
            "T2.balance",
            ">",
            "T3.balance"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            ">",
            "t3",
            ".",
            "balance"
        ],
        "question": "Find the name of accounts whose checking balance is higher than corresponding saving balance.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "accounts",
            "whose",
            "checking",
            "balance",
            "is",
            "higher",
            "than",
            "corresponding",
            "saving",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        4,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T2.balance  >  T3.balance",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "WHERE",
            "T2.balance",
            ">",
            "T3.balance"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "where",
            "t2",
            ".",
            "balance",
            ">",
            "t3",
            ".",
            "balance"
        ],
        "question": "What are the names of customers with a higher checking balance than savings balance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "with",
            "a",
            "higher",
            "checking",
            "balance",
            "than",
            "savings",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        4,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name ,  T3.balance + T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T3.balance  <  T2.balance",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T3.balance",
            "+",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "WHERE",
            "T3.balance",
            "<",
            "T2.balance"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "balance",
            "+",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "where",
            "t3",
            ".",
            "balance",
            "<",
            "t2",
            ".",
            "balance"
        ],
        "question": "Find the name and total checking and savings balance of the accounts whose savings balance is lower than corresponding checking balance.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "total",
            "checking",
            "and",
            "savings",
            "balance",
            "of",
            "the",
            "accounts",
            "whose",
            "savings",
            "balance",
            "is",
            "lower",
            "than",
            "corresponding",
            "checking",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            2,
                            [
                                0,
                                4,
                                false
                            ],
                            [
                                0,
                                6,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        6,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name ,  T3.balance + T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T3.balance  <  T2.balance",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T3.balance",
            "+",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "checking",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "JOIN",
            "savings",
            "AS",
            "T3",
            "ON",
            "T1.custid",
            "=",
            "T3.custid",
            "WHERE",
            "T3.balance",
            "<",
            "T2.balance"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "balance",
            "+",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "checking",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "join",
            "savings",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t3",
            ".",
            "custid",
            "where",
            "t3",
            ".",
            "balance",
            "<",
            "t2",
            ".",
            "balance"
        ],
        "question": "What are the names of customers who have a savings balance lower than their checking balance, and what is the total of their checking and savings balances?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "a",
            "savings",
            "balance",
            "lower",
            "than",
            "their",
            "checking",
            "balance",
            ",",
            "and",
            "what",
            "is",
            "the",
            "total",
            "of",
            "their",
            "checking",
            "and",
            "savings",
            "balances",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            2,
                            [
                                0,
                                4,
                                false
                            ],
                            [
                                0,
                                6,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        6,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name ,  T2.balance FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid ORDER BY T2.balance DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "ORDER",
            "BY",
            "T2.balance",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "order",
            "by",
            "t2",
            ".",
            "balance",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and savings balance of the top 3 accounts with the highest saving balance sorted by savings balance in descending order.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "savings",
            "balance",
            "of",
            "the",
            "top",
            "3",
            "accounts",
            "with",
            "the",
            "highest",
            "saving",
            "balance",
            "sorted",
            "by",
            "savings",
            "balance",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "small_bank_1",
        "query": "SELECT T1.name ,  T2.balance FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid ORDER BY T2.balance DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.balance",
            "FROM",
            "accounts",
            "AS",
            "T1",
            "JOIN",
            "savings",
            "AS",
            "T2",
            "ON",
            "T1.custid",
            "=",
            "T2.custid",
            "ORDER",
            "BY",
            "T2.balance",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "balance",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "savings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "custid",
            "=",
            "t2",
            ".",
            "custid",
            "order",
            "by",
            "t2",
            ".",
            "balance",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are names and savings balances of the three accounts with the highest savings balances?",
        "question_toks": [
            "What",
            "are",
            "names",
            "and",
            "savings",
            "balances",
            "of",
            "the",
            "three",
            "accounts",
            "with",
            "the",
            "highest",
            "savings",
            "balances",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT count(*) FROM browser WHERE market_share  >=  5",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "browser",
            "WHERE",
            "market_share",
            ">",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "browser",
            "where",
            "market_share",
            ">",
            "=",
            "value"
        ],
        "question": "How many main stream browsers whose market share is at least 5 exist?",
        "question_toks": [
            "How",
            "many",
            "main",
            "stream",
            "browsers",
            "whose",
            "market",
            "share",
            "is",
            "at",
            "least",
            "5",
            "exist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT name FROM browser ORDER BY market_share DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "browser",
            "ORDER",
            "BY",
            "market_share",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "browser",
            "order",
            "by",
            "market_share",
            "desc"
        ],
        "question": "List the name of browsers in descending order by market share.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "browsers",
            "in",
            "descending",
            "order",
            "by",
            "market",
            "share",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT id ,  name ,  market_share FROM browser",
        "query_toks": [
            "SELECT",
            "id",
            ",",
            "name",
            ",",
            "market_share",
            "FROM",
            "browser"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            ",",
            "name",
            ",",
            "market_share",
            "from",
            "browser"
        ],
        "question": "List the ids, names and market shares of all browsers.",
        "question_toks": [
            "List",
            "the",
            "ids",
            ",",
            "names",
            "and",
            "market",
            "shares",
            "of",
            "all",
            "browsers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT max(market_share) ,  min(market_share) ,  avg(market_share) FROM browser",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "market_share",
            ")",
            ",",
            "min",
            "(",
            "market_share",
            ")",
            ",",
            "avg",
            "(",
            "market_share",
            ")",
            "FROM",
            "browser"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "market_share",
            ")",
            ",",
            "min",
            "(",
            "market_share",
            ")",
            ",",
            "avg",
            "(",
            "market_share",
            ")",
            "from",
            "browser"
        ],
        "question": "What is the maximum, minimum and average market share of the listed browsers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            ",",
            "minimum",
            "and",
            "average",
            "market",
            "share",
            "of",
            "the",
            "listed",
            "browsers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT id ,  market_share FROM browser WHERE name  =  'Safari'",
        "query_toks": [
            "SELECT",
            "id",
            ",",
            "market_share",
            "FROM",
            "browser",
            "WHERE",
            "name",
            "=",
            "'Safari",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            ",",
            "market_share",
            "from",
            "browser",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the id and market share of the browser Safari?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "market",
            "share",
            "of",
            "the",
            "browser",
            "Safari",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Safari\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT name ,  operating_system FROM web_client_accelerator WHERE CONNECTION != 'Broadband'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "operating_system",
            "FROM",
            "web_client_accelerator",
            "WHERE",
            "CONNECTION",
            "!",
            "=",
            "'Broadband",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "operating_system",
            "from",
            "web_client_accelerator",
            "where",
            "connection",
            "!",
            "=",
            "value"
        ],
        "question": "What are the name and os of web client accelerators that do not work with only a 'Broadband' type connection?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "os",
            "of",
            "web",
            "client",
            "accelerators",
            "that",
            "do",
            "not",
            "work",
            "with",
            "only",
            "a",
            "'Broadband",
            "'",
            "type",
            "connection",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Broadband\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id  =  T2.browser_id JOIN web_client_accelerator AS T3 ON T2.accelerator_id  =  T3.id WHERE T3.name  =  'CProxy' AND T2.compatible_since_year  >  1998",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "browser",
            "AS",
            "T1",
            "JOIN",
            "accelerator_compatible_browser",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.browser_id",
            "JOIN",
            "web_client_accelerator",
            "AS",
            "T3",
            "ON",
            "T2.accelerator_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'CProxy",
            "'",
            "AND",
            "T2.compatible_since_year",
            ">",
            "1998"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "browser",
            "as",
            "t1",
            "join",
            "accelerator_compatible_browser",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "browser_id",
            "join",
            "web_client_accelerator",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "accelerator_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "compatible_since_year",
            ">",
            "value"
        ],
        "question": "What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "browser",
            "that",
            "became",
            "compatible",
            "with",
            "the",
            "accelerator",
            "'CProxy",
            "'",
            "after",
            "year",
            "1998",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CProxy\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    1998.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT T1.id ,  T1.Name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id  =  T1.id GROUP BY T1.id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.Name",
            "FROM",
            "web_client_accelerator",
            "AS",
            "T1",
            "JOIN",
            "accelerator_compatible_browser",
            "AS",
            "T2",
            "ON",
            "T2.accelerator_id",
            "=",
            "T1.id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "web_client_accelerator",
            "as",
            "t1",
            "join",
            "accelerator_compatible_browser",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "accelerator_id",
            "=",
            "t1",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the ids and names of the web accelerators that are compatible with two or more browsers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "the",
            "web",
            "accelerators",
            "that",
            "are",
            "compatible",
            "with",
            "two",
            "or",
            "more",
            "browsers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT T1.id ,  T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id  =  T2.browser_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "browser",
            "AS",
            "T1",
            "JOIN",
            "accelerator_compatible_browser",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.browser_id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "browser",
            "as",
            "t1",
            "join",
            "accelerator_compatible_browser",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "browser_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and name of the browser that is compatible with the most web accelerators?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "browser",
            "that",
            "is",
            "compatible",
            "with",
            "the",
            "most",
            "web",
            "accelerators",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id  =  T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id  =  T3.id WHERE T3.name  =  'CACHEbox' AND T2.name  =  'Internet Explorer'",
        "query_toks": [
            "SELECT",
            "T1.compatible_since_year",
            "FROM",
            "accelerator_compatible_browser",
            "AS",
            "T1",
            "JOIN",
            "browser",
            "AS",
            "T2",
            "ON",
            "T1.browser_id",
            "=",
            "T2.id",
            "JOIN",
            "web_client_accelerator",
            "AS",
            "T3",
            "ON",
            "T1.accelerator_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'CACHEbox",
            "'",
            "AND",
            "T2.name",
            "=",
            "'Internet",
            "Explorer",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "compatible_since_year",
            "from",
            "accelerator_compatible_browser",
            "as",
            "t1",
            "join",
            "browser",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "browser_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "web_client_accelerator",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "accelerator_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?",
        "question_toks": [
            "When",
            "did",
            "the",
            "web",
            "accelerator",
            "'CACHEbox",
            "'",
            "and",
            "browser",
            "'Internet",
            "Explorer",
            "'",
            "become",
            "compatible",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CACHEbox\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Internet Explorer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT count(DISTINCT client) FROM web_client_accelerator",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "client",
            ")",
            "FROM",
            "web_client_accelerator"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "client",
            ")",
            "from",
            "web_client_accelerator"
        ],
        "question": "How many different kinds of clients are supported by the web clients accelerators?",
        "question_toks": [
            "How",
            "many",
            "different",
            "kinds",
            "of",
            "clients",
            "are",
            "supported",
            "by",
            "the",
            "web",
            "clients",
            "accelerators",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT count(*) FROM web_client_accelerator WHERE id NOT IN ( SELECT accelerator_id FROM accelerator_compatible_browser );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "web_client_accelerator",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "accelerator_id",
            "FROM",
            "accelerator_compatible_browser",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "web_client_accelerator",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "accelerator_id",
            "from",
            "accelerator_compatible_browser",
            ")"
        ],
        "question": "How many accelerators are not compatible with the browsers listed ?",
        "question_toks": [
            "How",
            "many",
            "accelerators",
            "are",
            "not",
            "compatible",
            "with",
            "the",
            "browsers",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT DISTINCT T1.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id  =  T1.id JOIN browser AS T3 ON T2.browser_id  =  T3.id WHERE T3.market_share  >  15;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "web_client_accelerator",
            "AS",
            "T1",
            "JOIN",
            "accelerator_compatible_browser",
            "AS",
            "T2",
            "ON",
            "T2.accelerator_id",
            "=",
            "T1.id",
            "JOIN",
            "browser",
            "AS",
            "T3",
            "ON",
            "T2.browser_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.market_share",
            ">",
            "15",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "web_client_accelerator",
            "as",
            "t1",
            "join",
            "accelerator_compatible_browser",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "accelerator_id",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "browser",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "browser_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "market_share",
            ">",
            "value"
        ],
        "question": "What distinct accelerator names are compatible with the browswers that have market share higher than 15?",
        "question_toks": [
            "What",
            "distinct",
            "accelerator",
            "names",
            "are",
            "compatible",
            "with",
            "the",
            "browswers",
            "that",
            "have",
            "market",
            "share",
            "higher",
            "than",
            "15",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    15.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id  =  T1.id JOIN browser AS T3 ON T2.browser_id  =  T3.id WHERE T1.name  =  'CACHEbox' INTERSECT SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id  =  T1.id JOIN browser AS T3 ON T2.browser_id  =  T3.id WHERE T1.name  =  'Fasterfox'",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "web_client_accelerator",
            "AS",
            "T1",
            "JOIN",
            "accelerator_compatible_browser",
            "AS",
            "T2",
            "ON",
            "T2.accelerator_id",
            "=",
            "T1.id",
            "JOIN",
            "browser",
            "AS",
            "T3",
            "ON",
            "T2.browser_id",
            "=",
            "T3.id",
            "WHERE",
            "T1.name",
            "=",
            "'CACHEbox",
            "'",
            "INTERSECT",
            "SELECT",
            "T3.name",
            "FROM",
            "web_client_accelerator",
            "AS",
            "T1",
            "JOIN",
            "accelerator_compatible_browser",
            "AS",
            "T2",
            "ON",
            "T2.accelerator_id",
            "=",
            "T1.id",
            "JOIN",
            "browser",
            "AS",
            "T3",
            "ON",
            "T2.browser_id",
            "=",
            "T3.id",
            "WHERE",
            "T1.name",
            "=",
            "'Fasterfox",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "web_client_accelerator",
            "as",
            "t1",
            "join",
            "accelerator_compatible_browser",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "accelerator_id",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "browser",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "browser_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "web_client_accelerator",
            "as",
            "t1",
            "join",
            "accelerator_compatible_browser",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "accelerator_id",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "browser",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "browser_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "the",
            "browser",
            "that",
            "are",
            "compatible",
            "with",
            "both",
            "'CACHEbox",
            "'",
            "and",
            "'Fasterfox",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CACHEbox\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Fasterfox\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT name ,  operating_system FROM web_client_accelerator EXCEPT SELECT T1.name ,  T1.operating_system FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id  =  T1.id JOIN browser AS T3 ON T2.browser_id  =  T3.id WHERE T3.name  =  'Opera'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "operating_system",
            "FROM",
            "web_client_accelerator",
            "EXCEPT",
            "SELECT",
            "T1.name",
            ",",
            "T1.operating_system",
            "FROM",
            "web_client_accelerator",
            "AS",
            "T1",
            "JOIN",
            "accelerator_compatible_browser",
            "AS",
            "T2",
            "ON",
            "T2.accelerator_id",
            "=",
            "T1.id",
            "JOIN",
            "browser",
            "AS",
            "T3",
            "ON",
            "T2.browser_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.name",
            "=",
            "'Opera",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "operating_system",
            "from",
            "web_client_accelerator",
            "except",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "operating_system",
            "from",
            "web_client_accelerator",
            "as",
            "t1",
            "join",
            "accelerator_compatible_browser",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "accelerator_id",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "browser",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "browser_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'.",
        "question_toks": [
            "Show",
            "the",
            "accelerator",
            "names",
            "and",
            "supporting",
            "operating",
            "systems",
            "that",
            "are",
            "not",
            "compatible",
            "with",
            "the",
            "browser",
            "named",
            "'Opera",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"Opera\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT name FROM web_client_accelerator WHERE name LIKE \"%Opera%\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "web_client_accelerator",
            "WHERE",
            "name",
            "LIKE",
            "``",
            "%",
            "Opera",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "web_client_accelerator",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Which accelerator name contains substring \"Opera\"?",
        "question_toks": [
            "Which",
            "accelerator",
            "name",
            "contains",
            "substring",
            "``",
            "Opera",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Opera%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT Operating_system ,  count(*) FROM web_client_accelerator GROUP BY Operating_system",
        "query_toks": [
            "SELECT",
            "Operating_system",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "web_client_accelerator",
            "GROUP",
            "BY",
            "Operating_system"
        ],
        "query_toks_no_value": [
            "select",
            "operating_system",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "web_client_accelerator",
            "group",
            "by",
            "operating_system"
        ],
        "question": "Find the number of web accelerators used for each Operating system.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "web",
            "accelerators",
            "used",
            "for",
            "each",
            "Operating",
            "system",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "browser_web",
        "query": "SELECT T2.name ,  T3.name FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id  =  T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id  =  T3.id ORDER BY T1.compatible_since_year DESC",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T3.name",
            "FROM",
            "accelerator_compatible_browser",
            "AS",
            "T1",
            "JOIN",
            "browser",
            "AS",
            "T2",
            "ON",
            "T1.browser_id",
            "=",
            "T2.id",
            "JOIN",
            "web_client_accelerator",
            "AS",
            "T3",
            "ON",
            "T1.accelerator_id",
            "=",
            "T3.id",
            "ORDER",
            "BY",
            "T1.compatible_since_year",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "accelerator_compatible_browser",
            "as",
            "t1",
            "join",
            "browser",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "browser_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "web_client_accelerator",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "accelerator_id",
            "=",
            "t3",
            ".",
            "id",
            "order",
            "by",
            "t1",
            ".",
            "compatible_since_year",
            "desc"
        ],
        "question": "give me names of all compatible browsers and accelerators in the descending order of compatible year",
        "question_toks": [
            "give",
            "me",
            "names",
            "of",
            "all",
            "compatible",
            "browsers",
            "and",
            "accelerators",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "compatible",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT count(*) FROM wrestler",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "wrestler"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "wrestler"
        ],
        "question": "How many wrestlers are there?",
        "question_toks": [
            "How",
            "many",
            "wrestlers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT count(*) FROM wrestler",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "wrestler"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "wrestler"
        ],
        "question": "Count the number of wrestlers.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "wrestlers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name FROM wrestler ORDER BY Days_held DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "wrestler",
            "ORDER",
            "BY",
            "Days_held",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wrestler",
            "order",
            "by",
            "days_held",
            "desc"
        ],
        "question": "List the names of wrestlers in descending order of days held.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "wrestlers",
            "in",
            "descending",
            "order",
            "of",
            "days",
            "held",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name FROM wrestler ORDER BY Days_held DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "wrestler",
            "ORDER",
            "BY",
            "Days_held",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wrestler",
            "order",
            "by",
            "days_held",
            "desc"
        ],
        "question": "What are the names of the wrestlers, ordered descending by days held?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "wrestlers",
            ",",
            "ordered",
            "descending",
            "by",
            "days",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name FROM wrestler ORDER BY Days_held ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "wrestler",
            "ORDER",
            "BY",
            "Days_held",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wrestler",
            "order",
            "by",
            "days_held",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the name of the wrestler with the fewest days held?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "wrestler",
            "with",
            "the",
            "fewest",
            "days",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name FROM wrestler ORDER BY Days_held ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "wrestler",
            "ORDER",
            "BY",
            "Days_held",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wrestler",
            "order",
            "by",
            "days_held",
            "asc",
            "limit",
            "value"
        ],
        "question": "Return the name of the wrestler who had the lowest number of days held.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "wrestler",
            "who",
            "had",
            "the",
            "lowest",
            "number",
            "of",
            "days",
            "held",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT DISTINCT Reign FROM wrestler WHERE LOCATION != \"Tokyo , Japan\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Reign",
            "FROM",
            "wrestler",
            "WHERE",
            "LOCATION",
            "!",
            "=",
            "``",
            "Tokyo",
            ",",
            "Japan",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "reign",
            "from",
            "wrestler",
            "where",
            "location",
            "!",
            "=",
            "value"
        ],
        "question": "What are the distinct reigns of wrestlers whose location is not \"Tokyo,Japan\" ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "reigns",
            "of",
            "wrestlers",
            "whose",
            "location",
            "is",
            "not",
            "``",
            "Tokyo",
            ",",
            "Japan",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Tokyo , Japan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT DISTINCT Reign FROM wrestler WHERE LOCATION != \"Tokyo , Japan\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Reign",
            "FROM",
            "wrestler",
            "WHERE",
            "LOCATION",
            "!",
            "=",
            "``",
            "Tokyo",
            ",",
            "Japan",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "reign",
            "from",
            "wrestler",
            "where",
            "location",
            "!",
            "=",
            "value"
        ],
        "question": "Give the different reigns of wrestlers who are not located in Tokyo, Japan.",
        "question_toks": [
            "Give",
            "the",
            "different",
            "reigns",
            "of",
            "wrestlers",
            "who",
            "are",
            "not",
            "located",
            "in",
            "Tokyo",
            ",",
            "Japan",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Tokyo , Japan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name ,  LOCATION FROM wrestler",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "LOCATION",
            "FROM",
            "wrestler"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "wrestler"
        ],
        "question": "What are the names and location of the wrestlers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "location",
            "of",
            "the",
            "wrestlers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name ,  LOCATION FROM wrestler",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "LOCATION",
            "FROM",
            "wrestler"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "wrestler"
        ],
        "question": "Give the names and locations of all wrestlers.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "all",
            "wrestlers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Elimination_Move FROM Elimination WHERE Team  =  \"Team Orton\"",
        "query_toks": [
            "SELECT",
            "Elimination_Move",
            "FROM",
            "Elimination",
            "WHERE",
            "Team",
            "=",
            "``",
            "Team",
            "Orton",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "elimination_move",
            "from",
            "elimination",
            "where",
            "team",
            "=",
            "value"
        ],
        "question": "What are the elimination moves of wrestlers whose team is \"Team Orton\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "elimination",
            "moves",
            "of",
            "wrestlers",
            "whose",
            "team",
            "is",
            "``",
            "Team",
            "Orton",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Team Orton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Elimination_Move FROM Elimination WHERE Team  =  \"Team Orton\"",
        "query_toks": [
            "SELECT",
            "Elimination_Move",
            "FROM",
            "Elimination",
            "WHERE",
            "Team",
            "=",
            "``",
            "Team",
            "Orton",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "elimination_move",
            "from",
            "elimination",
            "where",
            "team",
            "=",
            "value"
        ],
        "question": "Return the elimination movies of wrestlers on Team Orton.",
        "question_toks": [
            "Return",
            "the",
            "elimination",
            "movies",
            "of",
            "wrestlers",
            "on",
            "Team",
            "Orton",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Team Orton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT T2.Name ,  T1.Elimination_Move FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Elimination_Move",
            "FROM",
            "elimination",
            "AS",
            "T1",
            "JOIN",
            "wrestler",
            "AS",
            "T2",
            "ON",
            "T1.Wrestler_ID",
            "=",
            "T2.Wrestler_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "elimination_move",
            "from",
            "elimination",
            "as",
            "t1",
            "join",
            "wrestler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "wrestler_id",
            "=",
            "t2",
            ".",
            "wrestler_id"
        ],
        "question": "What are the names of wrestlers and the elimination moves?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wrestlers",
            "and",
            "the",
            "elimination",
            "moves",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT T2.Name ,  T1.Elimination_Move FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Elimination_Move",
            "FROM",
            "elimination",
            "AS",
            "T1",
            "JOIN",
            "wrestler",
            "AS",
            "T2",
            "ON",
            "T1.Wrestler_ID",
            "=",
            "T2.Wrestler_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "elimination_move",
            "from",
            "elimination",
            "as",
            "t1",
            "join",
            "wrestler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "wrestler_id",
            "=",
            "t2",
            ".",
            "wrestler_id"
        ],
        "question": "Give the names of wrestlers and their elimination moves.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "wrestlers",
            "and",
            "their",
            "elimination",
            "moves",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT T2.Name ,  T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID ORDER BY T2.Days_held DESC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Team",
            "FROM",
            "elimination",
            "AS",
            "T1",
            "JOIN",
            "wrestler",
            "AS",
            "T2",
            "ON",
            "T1.Wrestler_ID",
            "=",
            "T2.Wrestler_ID",
            "ORDER",
            "BY",
            "T2.Days_held",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "team",
            "from",
            "elimination",
            "as",
            "t1",
            "join",
            "wrestler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "wrestler_id",
            "=",
            "t2",
            ".",
            "wrestler_id",
            "order",
            "by",
            "t2",
            ".",
            "days_held",
            "desc"
        ],
        "question": "List the names of wrestlers and the teams in elimination in descending order of days held.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "wrestlers",
            "and",
            "the",
            "teams",
            "in",
            "elimination",
            "in",
            "descending",
            "order",
            "of",
            "days",
            "held",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT T2.Name ,  T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID ORDER BY T2.Days_held DESC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Team",
            "FROM",
            "elimination",
            "AS",
            "T1",
            "JOIN",
            "wrestler",
            "AS",
            "T2",
            "ON",
            "T1.Wrestler_ID",
            "=",
            "T2.Wrestler_ID",
            "ORDER",
            "BY",
            "T2.Days_held",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "team",
            "from",
            "elimination",
            "as",
            "t1",
            "join",
            "wrestler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "wrestler_id",
            "=",
            "t2",
            ".",
            "wrestler_id",
            "order",
            "by",
            "t2",
            ".",
            "days_held",
            "desc"
        ],
        "question": "What are the names of wrestlers and their teams in elimination, ordered descending by days held?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wrestlers",
            "and",
            "their",
            "teams",
            "in",
            "elimination",
            ",",
            "ordered",
            "descending",
            "by",
            "days",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID ORDER BY T2.Days_held DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Time",
            "FROM",
            "elimination",
            "AS",
            "T1",
            "JOIN",
            "wrestler",
            "AS",
            "T2",
            "ON",
            "T1.Wrestler_ID",
            "=",
            "T2.Wrestler_ID",
            "ORDER",
            "BY",
            "T2.Days_held",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "time",
            "from",
            "elimination",
            "as",
            "t1",
            "join",
            "wrestler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "wrestler_id",
            "=",
            "t2",
            ".",
            "wrestler_id",
            "order",
            "by",
            "t2",
            ".",
            "days_held",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the time of elimination of the wrestlers with largest days held.",
        "question_toks": [
            "List",
            "the",
            "time",
            "of",
            "elimination",
            "of",
            "the",
            "wrestlers",
            "with",
            "largest",
            "days",
            "held",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID ORDER BY T2.Days_held DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Time",
            "FROM",
            "elimination",
            "AS",
            "T1",
            "JOIN",
            "wrestler",
            "AS",
            "T2",
            "ON",
            "T1.Wrestler_ID",
            "=",
            "T2.Wrestler_ID",
            "ORDER",
            "BY",
            "T2.Days_held",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "time",
            "from",
            "elimination",
            "as",
            "t1",
            "join",
            "wrestler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "wrestler_id",
            "=",
            "t2",
            ".",
            "wrestler_id",
            "order",
            "by",
            "t2",
            ".",
            "days_held",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the time of elimination for the wrestler with the most days held?",
        "question_toks": [
            "What",
            "is",
            "the",
            "time",
            "of",
            "elimination",
            "for",
            "the",
            "wrestler",
            "with",
            "the",
            "most",
            "days",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID WHERE T2.Days_held  >  50",
        "query_toks": [
            "SELECT",
            "T1.Time",
            "FROM",
            "elimination",
            "AS",
            "T1",
            "JOIN",
            "wrestler",
            "AS",
            "T2",
            "ON",
            "T1.Wrestler_ID",
            "=",
            "T2.Wrestler_ID",
            "WHERE",
            "T2.Days_held",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "time",
            "from",
            "elimination",
            "as",
            "t1",
            "join",
            "wrestler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "wrestler_id",
            "=",
            "t2",
            ".",
            "wrestler_id",
            "where",
            "t2",
            ".",
            "days_held",
            ">",
            "value"
        ],
        "question": "Show times of elimination of wrestlers with days held more than 50.",
        "question_toks": [
            "Show",
            "times",
            "of",
            "elimination",
            "of",
            "wrestlers",
            "with",
            "days",
            "held",
            "more",
            "than",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID WHERE T2.Days_held  >  50",
        "query_toks": [
            "SELECT",
            "T1.Time",
            "FROM",
            "elimination",
            "AS",
            "T1",
            "JOIN",
            "wrestler",
            "AS",
            "T2",
            "ON",
            "T1.Wrestler_ID",
            "=",
            "T2.Wrestler_ID",
            "WHERE",
            "T2.Days_held",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "time",
            "from",
            "elimination",
            "as",
            "t1",
            "join",
            "wrestler",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "wrestler_id",
            "=",
            "t2",
            ".",
            "wrestler_id",
            "where",
            "t2",
            ".",
            "days_held",
            ">",
            "value"
        ],
        "question": "What are the times of elimination for wrestlers with over 50 days held?",
        "question_toks": [
            "What",
            "are",
            "the",
            "times",
            "of",
            "elimination",
            "for",
            "wrestlers",
            "with",
            "over",
            "50",
            "days",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Team ,  COUNT(*) FROM elimination GROUP BY Team",
        "query_toks": [
            "SELECT",
            "Team",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "elimination",
            "GROUP",
            "BY",
            "Team"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "elimination",
            "group",
            "by",
            "team"
        ],
        "question": "Show different teams in eliminations and the number of eliminations from each team.",
        "question_toks": [
            "Show",
            "different",
            "teams",
            "in",
            "eliminations",
            "and",
            "the",
            "number",
            "of",
            "eliminations",
            "from",
            "each",
            "team",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Team ,  COUNT(*) FROM elimination GROUP BY Team",
        "query_toks": [
            "SELECT",
            "Team",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "elimination",
            "GROUP",
            "BY",
            "Team"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "elimination",
            "group",
            "by",
            "team"
        ],
        "question": "How many eliminations did each team have?",
        "question_toks": [
            "How",
            "many",
            "eliminations",
            "did",
            "each",
            "team",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*)  >  3",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "elimination",
            "GROUP",
            "BY",
            "Team",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "elimination",
            "group",
            "by",
            "team",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show teams that have suffered more than three eliminations.",
        "question_toks": [
            "Show",
            "teams",
            "that",
            "have",
            "suffered",
            "more",
            "than",
            "three",
            "eliminations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*)  >  3",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "elimination",
            "GROUP",
            "BY",
            "Team",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "elimination",
            "group",
            "by",
            "team",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which teams had more than 3 eliminations?",
        "question_toks": [
            "Which",
            "teams",
            "had",
            "more",
            "than",
            "3",
            "eliminations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Reign ,  Days_held FROM wrestler",
        "query_toks": [
            "SELECT",
            "Reign",
            ",",
            "Days_held",
            "FROM",
            "wrestler"
        ],
        "query_toks_no_value": [
            "select",
            "reign",
            ",",
            "days_held",
            "from",
            "wrestler"
        ],
        "question": "Show the reign and days held of wrestlers.",
        "question_toks": [
            "Show",
            "the",
            "reign",
            "and",
            "days",
            "held",
            "of",
            "wrestlers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Reign ,  Days_held FROM wrestler",
        "query_toks": [
            "SELECT",
            "Reign",
            ",",
            "Days_held",
            "FROM",
            "wrestler"
        ],
        "query_toks_no_value": [
            "select",
            "reign",
            ",",
            "days_held",
            "from",
            "wrestler"
        ],
        "question": "What are the reigns and days held of all wrestlers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "reigns",
            "and",
            "days",
            "held",
            "of",
            "all",
            "wrestlers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name FROM wrestler WHERE Days_held  <  100",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "wrestler",
            "WHERE",
            "Days_held",
            "<",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wrestler",
            "where",
            "days_held",
            "<",
            "value"
        ],
        "question": "What are the names of wrestlers days held less than 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wrestlers",
            "days",
            "held",
            "less",
            "than",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name FROM wrestler WHERE Days_held  <  100",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "wrestler",
            "WHERE",
            "Days_held",
            "<",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wrestler",
            "where",
            "days_held",
            "<",
            "value"
        ],
        "question": "Return the names of wrestlers with fewer than 100 days held.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "wrestlers",
            "with",
            "fewer",
            "than",
            "100",
            "days",
            "held",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Reign FROM wrestler GROUP BY Reign ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Reign",
            "FROM",
            "wrestler",
            "GROUP",
            "BY",
            "Reign",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "reign",
            "from",
            "wrestler",
            "group",
            "by",
            "reign",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the most common reigns of wrestlers.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "most",
            "common",
            "reigns",
            "of",
            "wrestlers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Reign FROM wrestler GROUP BY Reign ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Reign",
            "FROM",
            "wrestler",
            "GROUP",
            "BY",
            "Reign",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "reign",
            "from",
            "wrestler",
            "group",
            "by",
            "reign",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which reign is the most common among wrestlers?",
        "question_toks": [
            "Which",
            "reign",
            "is",
            "the",
            "most",
            "common",
            "among",
            "wrestlers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT LOCATION FROM wrestler GROUP BY LOCATION HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "wrestler",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "wrestler",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the locations that are shared by more than two wrestlers.",
        "question_toks": [
            "List",
            "the",
            "locations",
            "that",
            "are",
            "shared",
            "by",
            "more",
            "than",
            "two",
            "wrestlers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT LOCATION FROM wrestler GROUP BY LOCATION HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "wrestler",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "wrestler",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which locations are shared by more than two wrestlers?",
        "question_toks": [
            "Which",
            "locations",
            "are",
            "shared",
            "by",
            "more",
            "than",
            "two",
            "wrestlers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name FROM wrestler WHERE Wrestler_ID NOT IN (SELECT Wrestler_ID FROM elimination)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "wrestler",
            "WHERE",
            "Wrestler_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Wrestler_ID",
            "FROM",
            "elimination",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wrestler",
            "where",
            "wrestler_id",
            "not",
            "in",
            "(",
            "select",
            "wrestler_id",
            "from",
            "elimination",
            ")"
        ],
        "question": "List the names of wrestlers that have not been eliminated.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "wrestlers",
            "that",
            "have",
            "not",
            "been",
            "eliminated",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Name FROM wrestler WHERE Wrestler_ID NOT IN (SELECT Wrestler_ID FROM elimination)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "wrestler",
            "WHERE",
            "Wrestler_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Wrestler_ID",
            "FROM",
            "elimination",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wrestler",
            "where",
            "wrestler_id",
            "not",
            "in",
            "(",
            "select",
            "wrestler_id",
            "from",
            "elimination",
            ")"
        ],
        "question": "What are the names of wrestlers who have never been eliminated?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wrestlers",
            "who",
            "have",
            "never",
            "been",
            "eliminated",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Team FROM Elimination WHERE Eliminated_By  =  \"Orton\" INTERSECT SELECT Team FROM Elimination WHERE Eliminated_By  =  \"Benjamin\"",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "Elimination",
            "WHERE",
            "Eliminated_By",
            "=",
            "``",
            "Orton",
            "''",
            "INTERSECT",
            "SELECT",
            "Team",
            "FROM",
            "Elimination",
            "WHERE",
            "Eliminated_By",
            "=",
            "``",
            "Benjamin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "elimination",
            "where",
            "eliminated_by",
            "=",
            "value",
            "intersect",
            "select",
            "team",
            "from",
            "elimination",
            "where",
            "eliminated_by",
            "=",
            "value"
        ],
        "question": "Show the teams that have both wrestlers eliminated by \"Orton\" and wrestlers eliminated by \"Benjamin\".",
        "question_toks": [
            "Show",
            "the",
            "teams",
            "that",
            "have",
            "both",
            "wrestlers",
            "eliminated",
            "by",
            "``",
            "Orton",
            "''",
            "and",
            "wrestlers",
            "eliminated",
            "by",
            "``",
            "Benjamin",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Orton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Benjamin\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT Team FROM Elimination WHERE Eliminated_By  =  \"Orton\" INTERSECT SELECT Team FROM Elimination WHERE Eliminated_By  =  \"Benjamin\"",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "Elimination",
            "WHERE",
            "Eliminated_By",
            "=",
            "``",
            "Orton",
            "''",
            "INTERSECT",
            "SELECT",
            "Team",
            "FROM",
            "Elimination",
            "WHERE",
            "Eliminated_By",
            "=",
            "``",
            "Benjamin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "elimination",
            "where",
            "eliminated_by",
            "=",
            "value",
            "intersect",
            "select",
            "team",
            "from",
            "elimination",
            "where",
            "eliminated_by",
            "=",
            "value"
        ],
        "question": "What are the teams that have both wrestlers eliminated by Orton and wrestlers eliminated by Benjamin?",
        "question_toks": [
            "What",
            "are",
            "the",
            "teams",
            "that",
            "have",
            "both",
            "wrestlers",
            "eliminated",
            "by",
            "Orton",
            "and",
            "wrestlers",
            "eliminated",
            "by",
            "Benjamin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Orton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Benjamin\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT COUNT (DISTINCT team) FROM elimination",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "team",
            ")",
            "FROM",
            "elimination"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "team",
            ")",
            "from",
            "elimination"
        ],
        "question": "What is the number of distinct teams that suffer elimination?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "distinct",
            "teams",
            "that",
            "suffer",
            "elimination",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT COUNT (DISTINCT team) FROM elimination",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "team",
            ")",
            "FROM",
            "elimination"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "team",
            ")",
            "from",
            "elimination"
        ],
        "question": "How many different teams have had eliminated wrestlers?",
        "question_toks": [
            "How",
            "many",
            "different",
            "teams",
            "have",
            "had",
            "eliminated",
            "wrestlers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT TIME FROM elimination WHERE Eliminated_By  =  \"Punk\" OR Eliminated_By  =  \"Orton\"",
        "query_toks": [
            "SELECT",
            "TIME",
            "FROM",
            "elimination",
            "WHERE",
            "Eliminated_By",
            "=",
            "``",
            "Punk",
            "''",
            "OR",
            "Eliminated_By",
            "=",
            "``",
            "Orton",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "time",
            "from",
            "elimination",
            "where",
            "eliminated_by",
            "=",
            "value",
            "or",
            "eliminated_by",
            "=",
            "value"
        ],
        "question": "Show the times of elimination by \"Punk\" or \"Orton\".",
        "question_toks": [
            "Show",
            "the",
            "times",
            "of",
            "elimination",
            "by",
            "``",
            "Punk",
            "''",
            "or",
            "``",
            "Orton",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Punk\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Orton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wrestler",
        "query": "SELECT TIME FROM elimination WHERE Eliminated_By  =  \"Punk\" OR Eliminated_By  =  \"Orton\"",
        "query_toks": [
            "SELECT",
            "TIME",
            "FROM",
            "elimination",
            "WHERE",
            "Eliminated_By",
            "=",
            "``",
            "Punk",
            "''",
            "OR",
            "Eliminated_By",
            "=",
            "``",
            "Orton",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "time",
            "from",
            "elimination",
            "where",
            "eliminated_by",
            "=",
            "value",
            "or",
            "eliminated_by",
            "=",
            "value"
        ],
        "question": "What are the times of elimination for any instances in which the elimination was done by Punk or Orton?",
        "question_toks": [
            "What",
            "are",
            "the",
            "times",
            "of",
            "elimination",
            "for",
            "any",
            "instances",
            "in",
            "which",
            "the",
            "elimination",
            "was",
            "done",
            "by",
            "Punk",
            "or",
            "Orton",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Punk\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Orton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT count(*) FROM school",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school"
        ],
        "question": "How many schools are there?",
        "question_toks": [
            "How",
            "many",
            "schools",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT count(*) FROM school",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school"
        ],
        "question": "Count the number of schools.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT school_name FROM school ORDER BY school_name",
        "query_toks": [
            "SELECT",
            "school_name",
            "FROM",
            "school",
            "ORDER",
            "BY",
            "school_name"
        ],
        "query_toks_no_value": [
            "select",
            "school_name",
            "from",
            "school",
            "order",
            "by",
            "school_name"
        ],
        "question": "Show all school names in alphabetical order.",
        "question_toks": [
            "Show",
            "all",
            "school",
            "names",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT school_name ,  LOCATION ,  mascot FROM school",
        "query_toks": [
            "SELECT",
            "school_name",
            ",",
            "LOCATION",
            ",",
            "mascot",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "school_name",
            ",",
            "location",
            ",",
            "mascot",
            "from",
            "school"
        ],
        "question": "List the name, location, mascot for all schools.",
        "question_toks": [
            "List",
            "the",
            "name",
            ",",
            "location",
            ",",
            "mascot",
            "for",
            "all",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT sum(enrollment) ,  avg(enrollment) FROM school",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "avg",
            "(",
            "enrollment",
            ")",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enrollment",
            ")",
            ",",
            "avg",
            "(",
            "enrollment",
            ")",
            "from",
            "school"
        ],
        "question": "What are the total and average enrollment of all schools?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "and",
            "average",
            "enrollment",
            "of",
            "all",
            "schools",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT mascot FROM school WHERE enrollment  >  (SELECT avg(enrollment) FROM school)",
        "query_toks": [
            "SELECT",
            "mascot",
            "FROM",
            "school",
            "WHERE",
            "enrollment",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "enrollment",
            ")",
            "FROM",
            "school",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "mascot",
            "from",
            "school",
            "where",
            "enrollment",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "enrollment",
            ")",
            "from",
            "school",
            ")"
        ],
        "question": "What are the mascots for schools with enrollments above the average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "mascots",
            "for",
            "schools",
            "with",
            "enrollments",
            "above",
            "the",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT school_name FROM school ORDER BY enrollment LIMIT 1",
        "query_toks": [
            "SELECT",
            "school_name",
            "FROM",
            "school",
            "ORDER",
            "BY",
            "enrollment",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "school_name",
            "from",
            "school",
            "order",
            "by",
            "enrollment",
            "limit",
            "value"
        ],
        "question": "List the name of the school with the smallest enrollment.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "school",
            "with",
            "the",
            "smallest",
            "enrollment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT avg(enrollment) ,  max(enrollment) ,  min(enrollment) FROM school",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "enrollment",
            ")",
            ",",
            "max",
            "(",
            "enrollment",
            ")",
            ",",
            "min",
            "(",
            "enrollment",
            ")",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enrollment",
            ")",
            ",",
            "max",
            "(",
            "enrollment",
            ")",
            ",",
            "min",
            "(",
            "enrollment",
            ")",
            "from",
            "school"
        ],
        "question": "Show the average, maximum, minimum enrollment of all schools.",
        "question_toks": [
            "Show",
            "the",
            "average",
            ",",
            "maximum",
            ",",
            "minimum",
            "enrollment",
            "of",
            "all",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT county ,  count(*) ,  sum(enrollment) FROM school GROUP BY county",
        "query_toks": [
            "SELECT",
            "county",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "enrollment",
            ")",
            "FROM",
            "school",
            "GROUP",
            "BY",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "county",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "enrollment",
            ")",
            "from",
            "school",
            "group",
            "by",
            "county"
        ],
        "question": "Show each county along with the number of schools and total enrollment in each county.",
        "question_toks": [
            "Show",
            "each",
            "county",
            "along",
            "with",
            "the",
            "number",
            "of",
            "schools",
            "and",
            "total",
            "enrollment",
            "in",
            "each",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT count(DISTINCT T1.donator_name) FROM endowment AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id WHERE T2.school_name  =  \"Glenn\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T1.donator_name",
            ")",
            "FROM",
            "endowment",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "WHERE",
            "T2.school_name",
            "=",
            "``",
            "Glenn",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "donator_name",
            ")",
            "from",
            "endowment",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "t2",
            ".",
            "school_name",
            "=",
            "value"
        ],
        "question": "How many donors have endowment for school named \"Glenn\"?",
        "question_toks": [
            "How",
            "many",
            "donors",
            "have",
            "endowment",
            "for",
            "school",
            "named",
            "``",
            "Glenn",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Glenn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT donator_name ,  sum(amount) FROM endowment GROUP BY donator_name ORDER BY sum(amount) DESC",
        "query_toks": [
            "SELECT",
            "donator_name",
            ",",
            "sum",
            "(",
            "amount",
            ")",
            "FROM",
            "endowment",
            "GROUP",
            "BY",
            "donator_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "amount",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "donator_name",
            ",",
            "sum",
            "(",
            "amount",
            ")",
            "from",
            "endowment",
            "group",
            "by",
            "donator_name",
            "order",
            "by",
            "sum",
            "(",
            "amount",
            ")",
            "desc"
        ],
        "question": "List each donator name and the amount of endowment in descending order of the amount of endowment.",
        "question_toks": [
            "List",
            "each",
            "donator",
            "name",
            "and",
            "the",
            "amount",
            "of",
            "endowment",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "amount",
            "of",
            "endowment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT school_name FROM school WHERE school_id NOT IN (SELECT school_id FROM endowment)",
        "query_toks": [
            "SELECT",
            "school_name",
            "FROM",
            "school",
            "WHERE",
            "school_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "school_id",
            "FROM",
            "endowment",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "school_name",
            "from",
            "school",
            "where",
            "school_id",
            "not",
            "in",
            "(",
            "select",
            "school_id",
            "from",
            "endowment",
            ")"
        ],
        "question": "List the names of the schools without any endowment.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "the",
            "schools",
            "without",
            "any",
            "endowment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id GROUP BY T1.school_id HAVING sum(T1.amount)  <=  10",
        "query_toks": [
            "SELECT",
            "T2.school_name",
            "FROM",
            "endowment",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "GROUP",
            "BY",
            "T1.school_id",
            "HAVING",
            "sum",
            "(",
            "T1.amount",
            ")",
            "<",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "school_name",
            "from",
            "endowment",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "group",
            "by",
            "t1",
            ".",
            "school_id",
            "having",
            "sum",
            "(",
            "t1",
            ".",
            "amount",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "List all the names of schools with an endowment amount smaller than or equal to 10.",
        "question_toks": [
            "List",
            "all",
            "the",
            "names",
            "of",
            "schools",
            "with",
            "an",
            "endowment",
            "amount",
            "smaller",
            "than",
            "or",
            "equal",
            "to",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            4,
                            19,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id WHERE T2.school_name  =  'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id WHERE T2.school_name  =  'Triton'",
        "query_toks": [
            "SELECT",
            "T1.donator_name",
            "FROM",
            "endowment",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "WHERE",
            "T2.school_name",
            "=",
            "'Glenn",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.donator_name",
            "FROM",
            "endowment",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "WHERE",
            "T2.school_name",
            "=",
            "'Triton",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "donator_name",
            "from",
            "endowment",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "t2",
            ".",
            "school_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "donator_name",
            "from",
            "endowment",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "t2",
            ".",
            "school_name",
            "=",
            "value"
        ],
        "question": "Show the names of donors who donated to both school \"Glenn\" and \"Triton.\"",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "donors",
            "who",
            "donated",
            "to",
            "both",
            "school",
            "``",
            "Glenn",
            "''",
            "and",
            "``",
            "Triton",
            ".",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Glenn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Triton\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT donator_name FROM endowment EXCEPT SELECT donator_name FROM endowment WHERE amount  <  9",
        "query_toks": [
            "SELECT",
            "donator_name",
            "FROM",
            "endowment",
            "EXCEPT",
            "SELECT",
            "donator_name",
            "FROM",
            "endowment",
            "WHERE",
            "amount",
            "<",
            "9"
        ],
        "query_toks_no_value": [
            "select",
            "donator_name",
            "from",
            "endowment",
            "except",
            "select",
            "donator_name",
            "from",
            "endowment",
            "where",
            "amount",
            "<",
            "value"
        ],
        "question": "Show the names of all the donors except those whose donation amount less than 9.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "all",
            "the",
            "donors",
            "except",
            "those",
            "whose",
            "donation",
            "amount",
            "less",
            "than",
            "9",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        9.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT amount ,  donator_name FROM endowment ORDER BY amount DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "amount",
            ",",
            "donator_name",
            "FROM",
            "endowment",
            "ORDER",
            "BY",
            "amount",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "amount",
            ",",
            "donator_name",
            "from",
            "endowment",
            "order",
            "by",
            "amount",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the amount and donor name for the largest amount of donation.",
        "question_toks": [
            "List",
            "the",
            "amount",
            "and",
            "donor",
            "name",
            "for",
            "the",
            "largest",
            "amount",
            "of",
            "donation",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT count(*) FROM budget WHERE budgeted  >  3000 AND YEAR  <=  2001",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "budget",
            "WHERE",
            "budgeted",
            ">",
            "3000",
            "AND",
            "YEAR",
            "<",
            "=",
            "2001"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "budget",
            "where",
            "budgeted",
            ">",
            "value",
            "and",
            "year",
            "<",
            "=",
            "value"
        ],
        "question": "How many budgets are above 3000 in year 2001 or before?",
        "question_toks": [
            "How",
            "many",
            "budgets",
            "are",
            "above",
            "3000",
            "in",
            "year",
            "2001",
            "or",
            "before",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT count(*) FROM budget WHERE budgeted  >  3000 AND YEAR  <=  2001",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "budget",
            "WHERE",
            "budgeted",
            ">",
            "3000",
            "AND",
            "YEAR",
            "<",
            "=",
            "2001"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "budget",
            "where",
            "budgeted",
            ">",
            "value",
            "and",
            "year",
            "<",
            "=",
            "value"
        ],
        "question": "Count the number of budgets in year 2001 or before whose budgeted amount is greater than 3000",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "budgets",
            "in",
            "year",
            "2001",
            "or",
            "before",
            "whose",
            "budgeted",
            "amount",
            "is",
            "greater",
            "than",
            "3000"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT T2.school_name ,  T1.budgeted ,  T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id WHERE T1.year  >=  2002",
        "query_toks": [
            "SELECT",
            "T2.school_name",
            ",",
            "T1.budgeted",
            ",",
            "T1.invested",
            "FROM",
            "budget",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "WHERE",
            "T1.year",
            ">",
            "=",
            "2002"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "school_name",
            ",",
            "t1",
            ".",
            "budgeted",
            ",",
            "t1",
            ".",
            "invested",
            "from",
            "budget",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "t1",
            ".",
            "year",
            ">",
            "=",
            "value"
        ],
        "question": "Show each school name, its budgeted amount, and invested amount in year 2002 or after.",
        "question_toks": [
            "Show",
            "each",
            "school",
            "name",
            ",",
            "its",
            "budgeted",
            "amount",
            ",",
            "and",
            "invested",
            "amount",
            "in",
            "year",
            "2002",
            "or",
            "after",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT DISTINCT donator_name FROM endowment",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "donator_name",
            "FROM",
            "endowment"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "donator_name",
            "from",
            "endowment"
        ],
        "question": "Show all donor names.",
        "question_toks": [
            "Show",
            "all",
            "donor",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT count(*) FROM budget WHERE budgeted  <  invested",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "budget",
            "WHERE",
            "budgeted",
            "<",
            "invested"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "budget",
            "where",
            "budgeted",
            "<",
            "invested"
        ],
        "question": "How many budget record has a budget amount smaller than the invested amount?",
        "question_toks": [
            "How",
            "many",
            "budget",
            "record",
            "has",
            "a",
            "budget",
            "amount",
            "smaller",
            "than",
            "the",
            "invested",
            "amount",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        13,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT sum(T1.budgeted) FROM budget AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id WHERE T2.school_name  =  'Glenn'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.budgeted",
            ")",
            "FROM",
            "budget",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "WHERE",
            "T2.school_name",
            "=",
            "'Glenn",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "budgeted",
            ")",
            "from",
            "budget",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "t2",
            ".",
            "school_name",
            "=",
            "value"
        ],
        "question": "What is the total budget amount for school \"Glenn\" in all years?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "budget",
            "amount",
            "for",
            "school",
            "``",
            "Glenn",
            "''",
            "in",
            "all",
            "years",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Glenn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT T2.school_name FROM budget AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id JOIN endowment AS T3 ON T2.school_id  =  T3.school_id GROUP BY T2.school_name HAVING sum(T1.budgeted)  >  100 OR sum(T3.amount)  >  10",
        "query_toks": [
            "SELECT",
            "T2.school_name",
            "FROM",
            "budget",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "JOIN",
            "endowment",
            "AS",
            "T3",
            "ON",
            "T2.school_id",
            "=",
            "T3.school_id",
            "GROUP",
            "BY",
            "T2.school_name",
            "HAVING",
            "sum",
            "(",
            "T1.budgeted",
            ")",
            ">",
            "100",
            "OR",
            "sum",
            "(",
            "T3.amount",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "school_name",
            "from",
            "budget",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "join",
            "endowment",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "school_id",
            "=",
            "t3",
            ".",
            "school_id",
            "group",
            "by",
            "t2",
            ".",
            "school_name",
            "having",
            "sum",
            "(",
            "t1",
            ".",
            "budgeted",
            ")",
            ">",
            "value",
            "or",
            "sum",
            "(",
            "t3",
            ".",
            "amount",
            ")",
            ">",
            "value"
        ],
        "question": "Show the names of schools with a total budget amount greater than 100 or a total endowment greater than 10.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "schools",
            "with",
            "a",
            "total",
            "budget",
            "amount",
            "greater",
            "than",
            "100",
            "or",
            "a",
            "total",
            "endowment",
            "greater",
            "than",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            19,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT T2.School_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id WHERE T1.amount  >  8.5 GROUP BY T1.school_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.School_name",
            "FROM",
            "endowment",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "WHERE",
            "T1.amount",
            ">",
            "8.5",
            "GROUP",
            "BY",
            "T1.school_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "school_name",
            "from",
            "endowment",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "t1",
            ".",
            "amount",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "school_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the names of schools that have more than one donator with donation amount above 8.5.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "schools",
            "that",
            "have",
            "more",
            "than",
            "one",
            "donator",
            "with",
            "donation",
            "amount",
            "above",
            "8.5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    8.5,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT count(*) FROM (SELECT * FROM endowment WHERE amount  >  8.5 GROUP BY school_id HAVING count(*)  >  1)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "*",
            "FROM",
            "endowment",
            "WHERE",
            "amount",
            ">",
            "8.5",
            "GROUP",
            "BY",
            "school_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "*",
            "from",
            "endowment",
            "where",
            "amount",
            ">",
            "value",
            "group",
            "by",
            "school_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            ")"
        ],
        "question": "Find the number of schools that have more than one donator whose donation amount is less than 8.5.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "schools",
            "that",
            "have",
            "more",
            "than",
            "one",
            "donator",
            "whose",
            "donation",
            "amount",
            "is",
            "less",
            "than",
            "8.5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                0,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    3,
                                    [
                                        0,
                                        [
                                            0,
                                            19,
                                            false
                                        ],
                                        null
                                    ],
                                    8.5,
                                    null
                                ]
                            ],
                            "groupBy": [
                                [
                                    0,
                                    17,
                                    false
                                ]
                            ],
                            "having": [
                                [
                                    false,
                                    3,
                                    [
                                        0,
                                        [
                                            3,
                                            0,
                                            false
                                        ],
                                        null
                                    ],
                                    1.0,
                                    null
                                ]
                            ],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_finance",
        "query": "SELECT T1.School_name ,  T1.Mascot ,  T1.IHSAA_Football_Class FROM school AS T1 JOIN budget AS T2 ON T1.school_id  =  T2.school_id WHERE Budgeted  >  6000 OR YEAR  <  2003 ORDER BY T2.total_budget_percent_invested ,  T2.total_budget_percent_budgeted",
        "query_toks": [
            "SELECT",
            "T1.School_name",
            ",",
            "T1.Mascot",
            ",",
            "T1.IHSAA_Football_Class",
            "FROM",
            "school",
            "AS",
            "T1",
            "JOIN",
            "budget",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "WHERE",
            "Budgeted",
            ">",
            "6000",
            "OR",
            "YEAR",
            "<",
            "2003",
            "ORDER",
            "BY",
            "T2.total_budget_percent_invested",
            ",",
            "T2.total_budget_percent_budgeted"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "school_name",
            ",",
            "t1",
            ".",
            "mascot",
            ",",
            "t1",
            ".",
            "ihsaa_football_class",
            "from",
            "school",
            "as",
            "t1",
            "join",
            "budget",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "where",
            "budgeted",
            ">",
            "value",
            "or",
            "year",
            "<",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "total_budget_percent_invested",
            ",",
            "t2",
            ".",
            "total_budget_percent_budgeted"
        ],
        "question": "List the name, IHSAA Football Class, and Mascot of the schools that have more than 6000 of budgeted amount or were founded before 2003, in the order of percent of total invested budget and total budgeted budget.",
        "question_toks": [
            "List",
            "the",
            "name",
            ",",
            "IHSAA",
            "Football",
            "Class",
            ",",
            "and",
            "Mascot",
            "of",
            "the",
            "schools",
            "that",
            "have",
            "more",
            "than",
            "6000",
            "of",
            "budgeted",
            "amount",
            "or",
            "were",
            "founded",
            "before",
            "2003",
            ",",
            "in",
            "the",
            "order",
            "of",
            "percent",
            "of",
            "total",
            "invested",
            "budget",
            "and",
            "total",
            "budgeted",
            "budget",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    6000.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2003.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT count(*) FROM building",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "building"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "building"
        ],
        "question": "How many buildings are there?",
        "question_toks": [
            "How",
            "many",
            "buildings",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT name ,  street_address ,  floors FROM building ORDER BY floors",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "street_address",
            ",",
            "floors",
            "FROM",
            "building",
            "ORDER",
            "BY",
            "floors"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "street_address",
            ",",
            "floors",
            "from",
            "building",
            "order",
            "by",
            "floors"
        ],
        "question": "Show the name, street address, and number of floors for all buildings ordered by the number of floors.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "street",
            "address",
            ",",
            "and",
            "number",
            "of",
            "floors",
            "for",
            "all",
            "buildings",
            "ordered",
            "by",
            "the",
            "number",
            "of",
            "floors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT name FROM building ORDER BY height_feet DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "building",
            "ORDER",
            "BY",
            "height_feet",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "building",
            "order",
            "by",
            "height_feet",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the tallest building?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "tallest",
            "building",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT avg(floors) ,  max(floors) ,  min(floors) FROM building",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "floors",
            ")",
            ",",
            "max",
            "(",
            "floors",
            ")",
            ",",
            "min",
            "(",
            "floors",
            ")",
            "FROM",
            "building"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "floors",
            ")",
            ",",
            "max",
            "(",
            "floors",
            ")",
            ",",
            "min",
            "(",
            "floors",
            ")",
            "from",
            "building"
        ],
        "question": "What are the average, maximum, and minimum number of floors for all buildings?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            ",",
            "maximum",
            ",",
            "and",
            "minimum",
            "number",
            "of",
            "floors",
            "for",
            "all",
            "buildings",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT count(*) FROM building WHERE height_feet  >  (SELECT avg(height_feet) FROM building) OR floors  >  (SELECT avg(floors) FROM building)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "building",
            "WHERE",
            "height_feet",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "height_feet",
            ")",
            "FROM",
            "building",
            ")",
            "OR",
            "floors",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "floors",
            ")",
            "FROM",
            "building",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "building",
            "where",
            "height_feet",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "height_feet",
            ")",
            "from",
            "building",
            ")",
            "or",
            "floors",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "floors",
            ")",
            "from",
            "building",
            ")"
        ],
        "question": "Show the number of buildings with a height above the average or a number of floors above the average.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "buildings",
            "with",
            "a",
            "height",
            "above",
            "the",
            "average",
            "or",
            "a",
            "number",
            "of",
            "floors",
            "above",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT name FROM building WHERE height_feet  >=  200 AND floors  >=  20",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "building",
            "WHERE",
            "height_feet",
            ">",
            "=",
            "200",
            "AND",
            "floors",
            ">",
            "=",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "building",
            "where",
            "height_feet",
            ">",
            "=",
            "value",
            "and",
            "floors",
            ">",
            "=",
            "value"
        ],
        "question": "List the names of buildings with at least 200 feet of height and with at least 20 floors.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "buildings",
            "with",
            "at",
            "least",
            "200",
            "feet",
            "of",
            "height",
            "and",
            "with",
            "at",
            "least",
            "20",
            "floors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT institution ,  LOCATION FROM institution WHERE founded  >  1990 AND TYPE  =  'Private'",
        "query_toks": [
            "SELECT",
            "institution",
            ",",
            "LOCATION",
            "FROM",
            "institution",
            "WHERE",
            "founded",
            ">",
            "1990",
            "AND",
            "TYPE",
            "=",
            "'Private",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "institution",
            ",",
            "location",
            "from",
            "institution",
            "where",
            "founded",
            ">",
            "value",
            "and",
            "type",
            "=",
            "value"
        ],
        "question": "Show the names and locations of institutions that are founded after 1990 and have the type \"Private\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "institutions",
            "that",
            "are",
            "founded",
            "after",
            "1990",
            "and",
            "have",
            "the",
            "type",
            "``",
            "Private",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1990.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Private\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT TYPE ,  count(*) ,  sum(enrollment) FROM institution GROUP BY TYPE",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "enrollment",
            ")",
            "FROM",
            "institution",
            "GROUP",
            "BY",
            "TYPE"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "enrollment",
            ")",
            "from",
            "institution",
            "group",
            "by",
            "type"
        ],
        "question": "Show institution types, along with the number of institutions and total enrollment for each type.",
        "question_toks": [
            "Show",
            "institution",
            "types",
            ",",
            "along",
            "with",
            "the",
            "number",
            "of",
            "institutions",
            "and",
            "total",
            "enrollment",
            "for",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT TYPE FROM institution GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "institution",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "institution",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the institution type with the largest number of institutions.",
        "question_toks": [
            "Show",
            "the",
            "institution",
            "type",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "institutions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT TYPE FROM institution WHERE founded  >  1990 AND enrollment  >=  1000",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "institution",
            "WHERE",
            "founded",
            ">",
            "1990",
            "AND",
            "enrollment",
            ">",
            "=",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "institution",
            "where",
            "founded",
            ">",
            "value",
            "and",
            "enrollment",
            ">",
            "=",
            "value"
        ],
        "question": "Show the institution type with an institution founded after 1990 and an institution with at least 1000 enrollment.",
        "question_toks": [
            "Show",
            "the",
            "institution",
            "type",
            "with",
            "an",
            "institution",
            "founded",
            "after",
            "1990",
            "and",
            "an",
            "institution",
            "with",
            "at",
            "least",
            "1000",
            "enrollment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1990.0,
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT name FROM building WHERE building_id NOT IN (SELECT building_id FROM institution)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "building",
            "WHERE",
            "building_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "building_id",
            "FROM",
            "institution",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "building",
            "where",
            "building_id",
            "not",
            "in",
            "(",
            "select",
            "building_id",
            "from",
            "institution",
            ")"
        ],
        "question": "Show the name of buildings that do not have any institution.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "buildings",
            "that",
            "do",
            "not",
            "have",
            "any",
            "institution",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT name FROM building EXCEPT SELECT T1.name FROM building AS T1 JOIN institution AS T2 ON T1.building_id  =  T2.building_id WHERE T2.founded  =  2003",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "building",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "building",
            "AS",
            "T1",
            "JOIN",
            "institution",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "WHERE",
            "T2.founded",
            "=",
            "2003"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "building",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "building",
            "as",
            "t1",
            "join",
            "institution",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "where",
            "t2",
            ".",
            "founded",
            "=",
            "value"
        ],
        "question": "Show the names of buildings except for those having an institution founded in 2003.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "buildings",
            "except",
            "for",
            "those",
            "having",
            "an",
            "institution",
            "founded",
            "in",
            "2003",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        2003.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT T1.name ,  count(*) FROM building AS T1 JOIN institution AS T2 ON T1.building_id  =  T2.building_id GROUP BY T1.building_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "building",
            "AS",
            "T1",
            "JOIN",
            "institution",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "GROUP",
            "BY",
            "T1.building_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "building",
            "as",
            "t1",
            "join",
            "institution",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "group",
            "by",
            "t1",
            ".",
            "building_id"
        ],
        "question": "For each building, show the name of the building and the number of institutions in it.",
        "question_toks": [
            "For",
            "each",
            "building",
            ",",
            "show",
            "the",
            "name",
            "of",
            "the",
            "building",
            "and",
            "the",
            "number",
            "of",
            "institutions",
            "in",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT T1.name ,  T1.height_feet FROM building AS T1 JOIN institution AS T2 ON T1.building_id  =  T2.building_id WHERE T2.founded  >  1880 GROUP BY T1.building_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.height_feet",
            "FROM",
            "building",
            "AS",
            "T1",
            "JOIN",
            "institution",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.building_id",
            "WHERE",
            "T2.founded",
            ">",
            "1880",
            "GROUP",
            "BY",
            "T1.building_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "height_feet",
            "from",
            "building",
            "as",
            "t1",
            "join",
            "institution",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "building_id",
            "where",
            "t2",
            ".",
            "founded",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "building_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the names and heights of buildings with at least two institutions founded after 1880.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "heights",
            "of",
            "buildings",
            "with",
            "at",
            "least",
            "two",
            "institutions",
            "founded",
            "after",
            "1880",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1880.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT DISTINCT TYPE FROM institution",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "TYPE",
            "FROM",
            "institution"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "type",
            "from",
            "institution"
        ],
        "question": "Show all the distinct institution types.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "distinct",
            "institution",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT T1.institution ,  count(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id  =  T2.institution_id GROUP BY T1.institution_id",
        "query_toks": [
            "SELECT",
            "T1.institution",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "institution",
            "AS",
            "T1",
            "JOIN",
            "protein",
            "AS",
            "T2",
            "ON",
            "T1.institution_id",
            "=",
            "T2.institution_id",
            "GROUP",
            "BY",
            "T1.institution_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "institution",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "institution",
            "as",
            "t1",
            "join",
            "protein",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "institution_id",
            "=",
            "t2",
            ".",
            "institution_id",
            "group",
            "by",
            "t1",
            ".",
            "institution_id"
        ],
        "question": "Show institution names along with the number of proteins for each institution.",
        "question_toks": [
            "Show",
            "institution",
            "names",
            "along",
            "with",
            "the",
            "number",
            "of",
            "proteins",
            "for",
            "each",
            "institution",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT count(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id  =  T2.institution_id WHERE T1.founded  >  1880 OR T1.type  =  'Private'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "institution",
            "AS",
            "T1",
            "JOIN",
            "protein",
            "AS",
            "T2",
            "ON",
            "T1.institution_id",
            "=",
            "T2.institution_id",
            "WHERE",
            "T1.founded",
            ">",
            "1880",
            "OR",
            "T1.type",
            "=",
            "'Private",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "institution",
            "as",
            "t1",
            "join",
            "protein",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "institution_id",
            "=",
            "t2",
            ".",
            "institution_id",
            "where",
            "t1",
            ".",
            "founded",
            ">",
            "value",
            "or",
            "t1",
            ".",
            "type",
            "=",
            "value"
        ],
        "question": "How many proteins are associated with an institution founded after 1880 or an institution with type \"Private\"?",
        "question_toks": [
            "How",
            "many",
            "proteins",
            "are",
            "associated",
            "with",
            "an",
            "institution",
            "founded",
            "after",
            "1880",
            "or",
            "an",
            "institution",
            "with",
            "type",
            "``",
            "Private",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1880.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Private\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT T2.protein_name ,  T1.institution FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id  =  T2.institution_id",
        "query_toks": [
            "SELECT",
            "T2.protein_name",
            ",",
            "T1.institution",
            "FROM",
            "institution",
            "AS",
            "T1",
            "JOIN",
            "protein",
            "AS",
            "T2",
            "ON",
            "T1.institution_id",
            "=",
            "T2.institution_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "protein_name",
            ",",
            "t1",
            ".",
            "institution",
            "from",
            "institution",
            "as",
            "t1",
            "join",
            "protein",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "institution_id",
            "=",
            "t2",
            ".",
            "institution_id"
        ],
        "question": "Show the protein name and the institution name.",
        "question_toks": [
            "Show",
            "the",
            "protein",
            "name",
            "and",
            "the",
            "institution",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT count(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id  =  T2.institution_id JOIN building AS T3 ON T3.building_id  =  T1.building_id WHERE T3.floors  >=  20",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "institution",
            "AS",
            "T1",
            "JOIN",
            "protein",
            "AS",
            "T2",
            "ON",
            "T1.institution_id",
            "=",
            "T2.institution_id",
            "JOIN",
            "building",
            "AS",
            "T3",
            "ON",
            "T3.building_id",
            "=",
            "T1.building_id",
            "WHERE",
            "T3.floors",
            ">",
            "=",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "institution",
            "as",
            "t1",
            "join",
            "protein",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "institution_id",
            "=",
            "t2",
            ".",
            "institution_id",
            "join",
            "building",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "building_id",
            "=",
            "t1",
            ".",
            "building_id",
            "where",
            "t3",
            ".",
            "floors",
            ">",
            "=",
            "value"
        ],
        "question": "How many proteins are associated with an institution in a building with at least 20 floors?",
        "question_toks": [
            "How",
            "many",
            "proteins",
            "are",
            "associated",
            "with",
            "an",
            "institution",
            "in",
            "a",
            "building",
            "with",
            "at",
            "least",
            "20",
            "floors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "protein_institute",
        "query": "SELECT count(*) FROM institution WHERE institution_id NOT IN (SELECT institution_id FROM protein)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "institution",
            "WHERE",
            "institution_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "institution_id",
            "FROM",
            "protein",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "institution",
            "where",
            "institution_id",
            "not",
            "in",
            "(",
            "select",
            "institution_id",
            "from",
            "protein",
            ")"
        ],
        "question": "How many institutions do not have an associated protein in our record?",
        "question_toks": [
            "How",
            "many",
            "institutions",
            "do",
            "not",
            "have",
            "an",
            "associated",
            "protein",
            "in",
            "our",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            22,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT LOCATION FROM cinema EXCEPT SELECT LOCATION FROM cinema WHERE capacity  >  800",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "EXCEPT",
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "capacity",
            ">",
            "800"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "cinema",
            "except",
            "select",
            "location",
            "from",
            "cinema",
            "where",
            "capacity",
            ">",
            "value"
        ],
        "question": "Show all the locations where no cinema has capacity over 800.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "locations",
            "where",
            "no",
            "cinema",
            "has",
            "capacity",
            "over",
            "800",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        800.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT LOCATION FROM cinema WHERE openning_year  =  2010 INTERSECT SELECT LOCATION FROM cinema WHERE openning_year  =  2011",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "openning_year",
            "=",
            "2010",
            "INTERSECT",
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "openning_year",
            "=",
            "2011"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "cinema",
            "where",
            "openning_year",
            "=",
            "value",
            "intersect",
            "select",
            "location",
            "from",
            "cinema",
            "where",
            "openning_year",
            "=",
            "value"
        ],
        "question": "Show all the locations where some cinemas were opened in both year 2010 and year 2011.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "locations",
            "where",
            "some",
            "cinemas",
            "were",
            "opened",
            "in",
            "both",
            "year",
            "2010",
            "and",
            "year",
            "2011",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        2011.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT count(*) FROM cinema",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "cinema"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cinema"
        ],
        "question": "How many cinema do we have?",
        "question_toks": [
            "How",
            "many",
            "cinema",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT count(*) FROM cinema",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "cinema"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cinema"
        ],
        "question": "Count the number of cinemas.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "cinemas",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT name ,  openning_year ,  capacity FROM cinema",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "openning_year",
            ",",
            "capacity",
            "FROM",
            "cinema"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "openning_year",
            ",",
            "capacity",
            "from",
            "cinema"
        ],
        "question": "Show name, opening year, and capacity for each cinema.",
        "question_toks": [
            "Show",
            "name",
            ",",
            "opening",
            "year",
            ",",
            "and",
            "capacity",
            "for",
            "each",
            "cinema",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT name ,  LOCATION FROM cinema WHERE capacity  >  (SELECT avg(capacity) FROM cinema)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "capacity",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "capacity",
            ")",
            "FROM",
            "cinema",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "cinema",
            "where",
            "capacity",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "capacity",
            ")",
            "from",
            "cinema",
            ")"
        ],
        "question": "Show the cinema name and location for cinemas with capacity above average.",
        "question_toks": [
            "Show",
            "the",
            "cinema",
            "name",
            "and",
            "location",
            "for",
            "cinemas",
            "with",
            "capacity",
            "above",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT DISTINCT LOCATION FROM cinema",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "LOCATION",
            "FROM",
            "cinema"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location",
            "from",
            "cinema"
        ],
        "question": "What are all the locations with a cinema?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "locations",
            "with",
            "a",
            "cinema",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT DISTINCT LOCATION FROM cinema",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "LOCATION",
            "FROM",
            "cinema"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location",
            "from",
            "cinema"
        ],
        "question": "Find the distinct locations that has a cinema.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "locations",
            "that",
            "has",
            "a",
            "cinema",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT name ,  openning_year FROM cinema ORDER BY openning_year DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "openning_year",
            "FROM",
            "cinema",
            "ORDER",
            "BY",
            "openning_year",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "openning_year",
            "from",
            "cinema",
            "order",
            "by",
            "openning_year",
            "desc"
        ],
        "question": "Show all the cinema names and opening years in descending order of opening year.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "cinema",
            "names",
            "and",
            "opening",
            "years",
            "in",
            "descending",
            "order",
            "of",
            "opening",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT name ,  LOCATION FROM cinema ORDER BY capacity DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            "FROM",
            "cinema",
            "ORDER",
            "BY",
            "capacity",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "cinema",
            "order",
            "by",
            "capacity",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the name and location of the cinema with the largest capacity?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "location",
            "of",
            "the",
            "cinema",
            "with",
            "the",
            "largest",
            "capacity",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT avg(capacity) ,  min(capacity) ,  max(capacity) FROM cinema WHERE openning_year  >=  2011",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "capacity",
            ")",
            ",",
            "min",
            "(",
            "capacity",
            ")",
            ",",
            "max",
            "(",
            "capacity",
            ")",
            "FROM",
            "cinema",
            "WHERE",
            "openning_year",
            ">",
            "=",
            "2011"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "capacity",
            ")",
            ",",
            "min",
            "(",
            "capacity",
            ")",
            ",",
            "max",
            "(",
            "capacity",
            ")",
            "from",
            "cinema",
            "where",
            "openning_year",
            ">",
            "=",
            "value"
        ],
        "question": "Show the average, minimum, and maximum capacity for all the cinemas opened in year 2011 or later.",
        "question_toks": [
            "Show",
            "the",
            "average",
            ",",
            "minimum",
            ",",
            "and",
            "maximum",
            "capacity",
            "for",
            "all",
            "the",
            "cinemas",
            "opened",
            "in",
            "year",
            "2011",
            "or",
            "later",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT LOCATION ,  count(*) FROM cinema GROUP BY LOCATION",
        "query_toks": [
            "SELECT",
            "LOCATION",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "cinema",
            "GROUP",
            "BY",
            "LOCATION"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "cinema",
            "group",
            "by",
            "location"
        ],
        "question": "Show each location and the number of cinemas there.",
        "question_toks": [
            "Show",
            "each",
            "location",
            "and",
            "the",
            "number",
            "of",
            "cinemas",
            "there",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT LOCATION FROM cinema WHERE openning_year  >=  2010 GROUP BY LOCATION ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "openning_year",
            ">",
            "=",
            "2010",
            "GROUP",
            "BY",
            "LOCATION",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "cinema",
            "where",
            "openning_year",
            ">",
            "=",
            "value",
            "group",
            "by",
            "location",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the location with the most cinemas opened in year 2010 or later?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "with",
            "the",
            "most",
            "cinemas",
            "opened",
            "in",
            "year",
            "2010",
            "or",
            "later",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT LOCATION FROM cinema WHERE capacity  >  300 GROUP BY LOCATION HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "capacity",
            ">",
            "300",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "cinema",
            "where",
            "capacity",
            ">",
            "value",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show all the locations with at least two cinemas with capacity above 300.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "locations",
            "with",
            "at",
            "least",
            "two",
            "cinemas",
            "with",
            "capacity",
            "above",
            "300",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT LOCATION FROM cinema WHERE capacity  >  300 GROUP BY LOCATION HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "capacity",
            ">",
            "300",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "cinema",
            "where",
            "capacity",
            ">",
            "value",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which locations have 2 or more cinemas with capacity over 300?",
        "question_toks": [
            "Which",
            "locations",
            "have",
            "2",
            "or",
            "more",
            "cinemas",
            "with",
            "capacity",
            "over",
            "300",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT title ,  directed_by FROM film",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "directed_by",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "directed_by",
            "from",
            "film"
        ],
        "question": "Show the title and director for all films.",
        "question_toks": [
            "Show",
            "the",
            "title",
            "and",
            "director",
            "for",
            "all",
            "films",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT title ,  directed_by FROM film",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "directed_by",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "directed_by",
            "from",
            "film"
        ],
        "question": "What are the title and director of each film?",
        "question_toks": [
            "What",
            "are",
            "the",
            "title",
            "and",
            "director",
            "of",
            "each",
            "film",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT DISTINCT directed_by FROM film",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "directed_by",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "directed_by",
            "from",
            "film"
        ],
        "question": "Show all directors.",
        "question_toks": [
            "Show",
            "all",
            "directors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT DISTINCT directed_by FROM film",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "directed_by",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "directed_by",
            "from",
            "film"
        ],
        "question": "Who are all the directors?",
        "question_toks": [
            "Who",
            "are",
            "all",
            "the",
            "directors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT directed_by ,  count(*) FROM film GROUP BY directed_by",
        "query_toks": [
            "SELECT",
            "directed_by",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "directed_by"
        ],
        "query_toks_no_value": [
            "select",
            "directed_by",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film",
            "group",
            "by",
            "directed_by"
        ],
        "question": "List all directors along with the number of films directed by each director.",
        "question_toks": [
            "List",
            "all",
            "directors",
            "along",
            "with",
            "the",
            "number",
            "of",
            "films",
            "directed",
            "by",
            "each",
            "director",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT T2.name ,  sum(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id  =  T2.cinema_id GROUP BY T1.cinema_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "sum",
            "(",
            "T1.show_times_per_day",
            ")",
            "FROM",
            "schedule",
            "AS",
            "T1",
            "JOIN",
            "cinema",
            "AS",
            "T2",
            "ON",
            "T1.cinema_id",
            "=",
            "T2.cinema_id",
            "GROUP",
            "BY",
            "T1.cinema_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "sum",
            "(",
            "t1",
            ".",
            "show_times_per_day",
            ")",
            "from",
            "schedule",
            "as",
            "t1",
            "join",
            "cinema",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cinema_id",
            "=",
            "t2",
            ".",
            "cinema_id",
            "group",
            "by",
            "t1",
            ".",
            "cinema_id"
        ],
        "question": "What is total number of show times per dat for each cinema?",
        "question_toks": [
            "What",
            "is",
            "total",
            "number",
            "of",
            "show",
            "times",
            "per",
            "dat",
            "for",
            "each",
            "cinema",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT T2.title ,  max(T1.price) FROM schedule AS T1 JOIN film AS T2 ON T1.film_id  =  T2.film_id GROUP BY T1.film_id",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "max",
            "(",
            "T1.price",
            ")",
            "FROM",
            "schedule",
            "AS",
            "T1",
            "JOIN",
            "film",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T1.film_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "max",
            "(",
            "t1",
            ".",
            "price",
            ")",
            "from",
            "schedule",
            "as",
            "t1",
            "join",
            "film",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t1",
            ".",
            "film_id"
        ],
        "question": "What are the title and maximum price of each film?",
        "question_toks": [
            "What",
            "are",
            "the",
            "title",
            "and",
            "maximum",
            "price",
            "of",
            "each",
            "film",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT T2.title ,  max(T1.price) FROM schedule AS T1 JOIN film AS T2 ON T1.film_id  =  T2.film_id GROUP BY T1.film_id",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "max",
            "(",
            "T1.price",
            ")",
            "FROM",
            "schedule",
            "AS",
            "T1",
            "JOIN",
            "film",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T1.film_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "max",
            "(",
            "t1",
            ".",
            "price",
            ")",
            "from",
            "schedule",
            "as",
            "t1",
            "join",
            "film",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t1",
            ".",
            "film_id"
        ],
        "question": "Give me the title and highest price for each film.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "title",
            "and",
            "highest",
            "price",
            "for",
            "each",
            "film",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT T3.name ,  T2.title ,  T1.date ,  T1.price FROM schedule AS T1 JOIN film AS T2 ON T1.film_id  =  T2.film_id JOIN cinema AS T3 ON T1.cinema_id  =  T3.cinema_id",
        "query_toks": [
            "SELECT",
            "T3.name",
            ",",
            "T2.title",
            ",",
            "T1.date",
            ",",
            "T1.price",
            "FROM",
            "schedule",
            "AS",
            "T1",
            "JOIN",
            "film",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "JOIN",
            "cinema",
            "AS",
            "T3",
            "ON",
            "T1.cinema_id",
            "=",
            "T3.cinema_id"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "date",
            ",",
            "t1",
            ".",
            "price",
            "from",
            "schedule",
            "as",
            "t1",
            "join",
            "film",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "join",
            "cinema",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "cinema_id",
            "=",
            "t3",
            ".",
            "cinema_id"
        ],
        "question": "Show cinema name, film title, date, and price for each record in schedule.",
        "question_toks": [
            "Show",
            "cinema",
            "name",
            ",",
            "film",
            "title",
            ",",
            "date",
            ",",
            "and",
            "price",
            "for",
            "each",
            "record",
            "in",
            "schedule",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT title ,  directed_by FROM film WHERE film_id NOT IN (SELECT film_id FROM schedule)",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "directed_by",
            "FROM",
            "film",
            "WHERE",
            "film_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "film_id",
            "FROM",
            "schedule",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "directed_by",
            "from",
            "film",
            "where",
            "film_id",
            "not",
            "in",
            "(",
            "select",
            "film_id",
            "from",
            "schedule",
            ")"
        ],
        "question": "What are the title and director of the films without any schedule?",
        "question_toks": [
            "What",
            "are",
            "the",
            "title",
            "and",
            "director",
            "of",
            "the",
            "films",
            "without",
            "any",
            "schedule",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT T2.directed_by FROM schedule AS T1 JOIN film AS T2 ON T1.film_id  =  T2.film_id GROUP BY T2.directed_by ORDER BY sum(T1.show_times_per_day) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.directed_by",
            "FROM",
            "schedule",
            "AS",
            "T1",
            "JOIN",
            "film",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T2.directed_by",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T1.show_times_per_day",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "directed_by",
            "from",
            "schedule",
            "as",
            "t1",
            "join",
            "film",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t2",
            ".",
            "directed_by",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "show_times_per_day",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show director with the largest number of show times in total.",
        "question_toks": [
            "Show",
            "director",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "show",
            "times",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT LOCATION FROM cinema WHERE capacity  >  300 GROUP BY LOCATION HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "capacity",
            ">",
            "300",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "cinema",
            "where",
            "capacity",
            ">",
            "value",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the locations that have more than one movie theater with capacity above 300.",
        "question_toks": [
            "Find",
            "the",
            "locations",
            "that",
            "have",
            "more",
            "than",
            "one",
            "movie",
            "theater",
            "with",
            "capacity",
            "above",
            "300",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT LOCATION FROM cinema WHERE capacity  >  300 GROUP BY LOCATION HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "cinema",
            "WHERE",
            "capacity",
            ">",
            "300",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "cinema",
            "where",
            "capacity",
            ">",
            "value",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "In which locations are there more than one movie theater with capacity above 300?",
        "question_toks": [
            "In",
            "which",
            "locations",
            "are",
            "there",
            "more",
            "than",
            "one",
            "movie",
            "theater",
            "with",
            "capacity",
            "above",
            "300",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT count(*) FROM film WHERE title LIKE \"%Dummy%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "film",
            "WHERE",
            "title",
            "LIKE",
            "``",
            "%",
            "Dummy",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film",
            "where",
            "title",
            "like",
            "value"
        ],
        "question": "How many films have the word 'Dummy' in their titles?",
        "question_toks": [
            "How",
            "many",
            "films",
            "have",
            "the",
            "word",
            "'Dummy",
            "'",
            "in",
            "their",
            "titles",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"%Dummy%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cinema",
        "query": "SELECT count(*) FROM film WHERE title LIKE \"%Dummy%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "film",
            "WHERE",
            "title",
            "LIKE",
            "``",
            "%",
            "Dummy",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film",
            "where",
            "title",
            "like",
            "value"
        ],
        "question": "Count the number of films whose title contains the word 'Dummy'.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "films",
            "whose",
            "title",
            "contains",
            "the",
            "word",
            "'Dummy",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"%Dummy%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT T1.good_or_bad_customer FROM customers AS T1 JOIN discount_coupons AS T2 ON T1.coupon_id  =  T2.coupon_id WHERE T2.coupon_amount  =  500",
        "query_toks": [
            "SELECT",
            "T1.good_or_bad_customer",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "discount_coupons",
            "AS",
            "T2",
            "ON",
            "T1.coupon_id",
            "=",
            "T2.coupon_id",
            "WHERE",
            "T2.coupon_amount",
            "=",
            "500"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "good_or_bad_customer",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "discount_coupons",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "coupon_id",
            "=",
            "t2",
            ".",
            "coupon_id",
            "where",
            "t2",
            ".",
            "coupon_amount",
            "=",
            "value"
        ],
        "question": "Are the customers holding coupons with amount 500 bad or good?",
        "question_toks": [
            "Are",
            "the",
            "customers",
            "holding",
            "coupons",
            "with",
            "amount",
            "500",
            "bad",
            "or",
            "good",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT T1.customer_id ,  T1.first_name ,  count(*) FROM Customers AS T1 JOIN bookings AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T1.first_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "bookings",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t1",
            ".",
            "first_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "bookings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id"
        ],
        "question": "How many bookings did each customer make? List the customer id, first name, and the count.",
        "question_toks": [
            "How",
            "many",
            "bookings",
            "did",
            "each",
            "customer",
            "make",
            "?",
            "List",
            "the",
            "customer",
            "id",
            ",",
            "first",
            "name",
            ",",
            "and",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT customer_id ,  sum(amount_paid) FROM Payments GROUP BY customer_id ORDER BY sum(amount_paid) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "sum",
            "(",
            "amount_paid",
            ")",
            "FROM",
            "Payments",
            "GROUP",
            "BY",
            "customer_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "amount_paid",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "sum",
            "(",
            "amount_paid",
            ")",
            "from",
            "payments",
            "group",
            "by",
            "customer_id",
            "order",
            "by",
            "sum",
            "(",
            "amount_paid",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the maximum total amount paid by a customer? List the customer id and amount.",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "total",
            "amount",
            "paid",
            "by",
            "a",
            "customer",
            "?",
            "List",
            "the",
            "customer",
            "id",
            "and",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT T1.booking_id ,  T1.amount_of_refund FROM Bookings AS T1 JOIN Payments AS T2 ON T1.booking_id  =  T2.booking_id GROUP BY T1.booking_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.booking_id",
            ",",
            "T1.amount_of_refund",
            "FROM",
            "Bookings",
            "AS",
            "T1",
            "JOIN",
            "Payments",
            "AS",
            "T2",
            "ON",
            "T1.booking_id",
            "=",
            "T2.booking_id",
            "GROUP",
            "BY",
            "T1.booking_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "booking_id",
            ",",
            "t1",
            ".",
            "amount_of_refund",
            "from",
            "bookings",
            "as",
            "t1",
            "join",
            "payments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "booking_id",
            "=",
            "t2",
            ".",
            "booking_id",
            "group",
            "by",
            "t1",
            ".",
            "booking_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the id and the amount of refund of the booking that incurred the most times of payments?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "the",
            "amount",
            "of",
            "refund",
            "of",
            "the",
            "booking",
            "that",
            "incurred",
            "the",
            "most",
            "times",
            "of",
            "payments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT product_id FROM products_booked GROUP BY product_id HAVING count(*)  =  3",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "products_booked",
            "GROUP",
            "BY",
            "product_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "products_booked",
            "group",
            "by",
            "product_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What is the id of the product that is booked for 3 times?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "product",
            "that",
            "is",
            "booked",
            "for",
            "3",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT T2.product_description FROM products_booked AS T1 JOIN products_for_hire AS T2 ON T1.product_id  =  T2.product_id WHERE T1.booked_amount  =  102.76",
        "query_toks": [
            "SELECT",
            "T2.product_description",
            "FROM",
            "products_booked",
            "AS",
            "T1",
            "JOIN",
            "products_for_hire",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.booked_amount",
            "=",
            "102.76"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_description",
            "from",
            "products_booked",
            "as",
            "t1",
            "join",
            "products_for_hire",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "booked_amount",
            "=",
            "value"
        ],
        "question": "What is the product description of the product booked with an amount of 102.76?",
        "question_toks": [
            "What",
            "is",
            "the",
            "product",
            "description",
            "of",
            "the",
            "product",
            "booked",
            "with",
            "an",
            "amount",
            "of",
            "102.76",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ],
                    102.76,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT T3.booking_start_date ,   T3.booking_end_date FROM Products_for_hire AS T1 JOIN products_booked AS T2 ON T1.product_id  =  T2.product_id JOIN bookings AS T3 ON T2.booking_id  =  T3.booking_id WHERE T1.product_name  =  'Book collection A'",
        "query_toks": [
            "SELECT",
            "T3.booking_start_date",
            ",",
            "T3.booking_end_date",
            "FROM",
            "Products_for_hire",
            "AS",
            "T1",
            "JOIN",
            "products_booked",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "JOIN",
            "bookings",
            "AS",
            "T3",
            "ON",
            "T2.booking_id",
            "=",
            "T3.booking_id",
            "WHERE",
            "T1.product_name",
            "=",
            "'Book",
            "collection",
            "A",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "booking_start_date",
            ",",
            "t3",
            ".",
            "booking_end_date",
            "from",
            "products_for_hire",
            "as",
            "t1",
            "join",
            "products_booked",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "bookings",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "booking_id",
            "=",
            "t3",
            ".",
            "booking_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What are the start date and end date of the booking that has booked the product named 'Book collection A'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "start",
            "date",
            "and",
            "end",
            "date",
            "of",
            "the",
            "booking",
            "that",
            "has",
            "booked",
            "the",
            "product",
            "named",
            "'Book",
            "collection",
            "A",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"Book collection A\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT T2.product_name FROM view_product_availability AS T1 JOIN products_for_hire AS T2 ON T1.product_id  =  T2.product_id WHERE T1.available_yn  =  1",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            "FROM",
            "view_product_availability",
            "AS",
            "T1",
            "JOIN",
            "products_for_hire",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.available_yn",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            "from",
            "view_product_availability",
            "as",
            "t1",
            "join",
            "products_for_hire",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "available_yn",
            "=",
            "value"
        ],
        "question": "What are the names of products whose availability equals to 1?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "products",
            "whose",
            "availability",
            "equals",
            "to",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT count(DISTINCT product_type_code) FROM products_for_hire",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "product_type_code",
            ")",
            "FROM",
            "products_for_hire"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "product_type_code",
            ")",
            "from",
            "products_for_hire"
        ],
        "question": "How many different product types are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "product",
            "types",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT first_name ,  last_name ,  gender_mf FROM customers WHERE good_or_bad_customer  =  'good' ORDER BY last_name",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "gender_mf",
            "FROM",
            "customers",
            "WHERE",
            "good_or_bad_customer",
            "=",
            "'good",
            "'",
            "ORDER",
            "BY",
            "last_name"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "gender_mf",
            "from",
            "customers",
            "where",
            "good_or_bad_customer",
            "=",
            "value",
            "order",
            "by",
            "last_name"
        ],
        "question": "What are the first name, last name, and gender of all the good customers? Order by their last name.",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            ",",
            "last",
            "name",
            ",",
            "and",
            "gender",
            "of",
            "all",
            "the",
            "good",
            "customers",
            "?",
            "Order",
            "by",
            "their",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"good\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT avg(amount_due) FROM payments",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "amount_due",
            ")",
            "FROM",
            "payments"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "amount_due",
            ")",
            "from",
            "payments"
        ],
        "question": "What is the average amount due for all the payments?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "amount",
            "due",
            "for",
            "all",
            "the",
            "payments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT max(booked_count) ,  min(booked_count) ,  avg(booked_count) FROM products_booked",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "booked_count",
            ")",
            ",",
            "min",
            "(",
            "booked_count",
            ")",
            ",",
            "avg",
            "(",
            "booked_count",
            ")",
            "FROM",
            "products_booked"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "booked_count",
            ")",
            ",",
            "min",
            "(",
            "booked_count",
            ")",
            ",",
            "avg",
            "(",
            "booked_count",
            ")",
            "from",
            "products_booked"
        ],
        "question": "What are the maximum, minimum, and average booked count for the products booked?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            ",",
            "minimum",
            ",",
            "and",
            "average",
            "booked",
            "count",
            "for",
            "the",
            "products",
            "booked",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT DISTINCT payment_type_code FROM payments",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "payment_type_code",
            "FROM",
            "payments"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "payment_type_code",
            "from",
            "payments"
        ],
        "question": "What are all the distinct payment types?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "distinct",
            "payment",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT daily_hire_cost FROM Products_for_hire WHERE product_name LIKE '%Book%'",
        "query_toks": [
            "SELECT",
            "daily_hire_cost",
            "FROM",
            "Products_for_hire",
            "WHERE",
            "product_name",
            "LIKE",
            "'",
            "%",
            "Book",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "daily_hire_cost",
            "from",
            "products_for_hire",
            "where",
            "product_name",
            "like",
            "value"
        ],
        "question": "What are the daily hire costs for the products with substring 'Book' in its name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "daily",
            "hire",
            "costs",
            "for",
            "the",
            "products",
            "with",
            "substring",
            "'Book",
            "'",
            "in",
            "its",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"%Book%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT count(*) FROM Products_for_hire WHERE product_id NOT IN ( SELECT product_id FROM products_booked WHERE booked_amount  >  200 )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Products_for_hire",
            "WHERE",
            "product_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "product_id",
            "FROM",
            "products_booked",
            "WHERE",
            "booked_amount",
            ">",
            "200",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products_for_hire",
            "where",
            "product_id",
            "not",
            "in",
            "(",
            "select",
            "product_id",
            "from",
            "products_booked",
            "where",
            "booked_amount",
            ">",
            "value",
            ")"
        ],
        "question": "How many products are never booked with amount higher than 200?",
        "question_toks": [
            "How",
            "many",
            "products",
            "are",
            "never",
            "booked",
            "with",
            "amount",
            "higher",
            "than",
            "200",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            37,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        41,
                                        false
                                    ],
                                    null
                                ],
                                200.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id  =  T2.coupon_id WHERE T2.good_or_bad_customer  =  'good' INTERSECT SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id  =  T2.coupon_id WHERE T2.good_or_bad_customer  =  'bad'",
        "query_toks": [
            "SELECT",
            "T1.coupon_amount",
            "FROM",
            "Discount_Coupons",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.coupon_id",
            "=",
            "T2.coupon_id",
            "WHERE",
            "T2.good_or_bad_customer",
            "=",
            "'good",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.coupon_amount",
            "FROM",
            "Discount_Coupons",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.coupon_id",
            "=",
            "T2.coupon_id",
            "WHERE",
            "T2.good_or_bad_customer",
            "=",
            "'bad",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "coupon_amount",
            "from",
            "discount_coupons",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "coupon_id",
            "=",
            "t2",
            ".",
            "coupon_id",
            "where",
            "t2",
            ".",
            "good_or_bad_customer",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "coupon_amount",
            "from",
            "discount_coupons",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "coupon_id",
            "=",
            "t2",
            ".",
            "coupon_id",
            "where",
            "t2",
            ".",
            "good_or_bad_customer",
            "=",
            "value"
        ],
        "question": "What are the coupon amount of the coupons owned by both good and bad customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "coupon",
            "amount",
            "of",
            "the",
            "coupons",
            "owned",
            "by",
            "both",
            "good",
            "and",
            "bad",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"good\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"bad\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT payment_date FROM payments WHERE amount_paid  >  300 OR payment_type_code  =  'Check'",
        "query_toks": [
            "SELECT",
            "payment_date",
            "FROM",
            "payments",
            "WHERE",
            "amount_paid",
            ">",
            "300",
            "OR",
            "payment_type_code",
            "=",
            "'Check",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "payment_date",
            "from",
            "payments",
            "where",
            "amount_paid",
            ">",
            "value",
            "or",
            "payment_type_code",
            "=",
            "value"
        ],
        "question": "What are the payment date of the payment with amount paid higher than 300 or with payment type is 'Check'",
        "question_toks": [
            "What",
            "are",
            "the",
            "payment",
            "date",
            "of",
            "the",
            "payment",
            "with",
            "amount",
            "paid",
            "higher",
            "than",
            "300",
            "or",
            "with",
            "payment",
            "type",
            "is",
            "'Check",
            "'"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Check\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_for_hire",
        "query": "SELECT product_name ,  product_description FROM products_for_hire WHERE product_type_code  =  'Cutlery' AND daily_hire_cost  <  20",
        "query_toks": [
            "SELECT",
            "product_name",
            ",",
            "product_description",
            "FROM",
            "products_for_hire",
            "WHERE",
            "product_type_code",
            "=",
            "'Cutlery",
            "'",
            "AND",
            "daily_hire_cost",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "product_description",
            "from",
            "products_for_hire",
            "where",
            "product_type_code",
            "=",
            "value",
            "and",
            "daily_hire_cost",
            "<",
            "value"
        ],
        "question": "What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "descriptions",
            "of",
            "the",
            "products",
            "that",
            "are",
            "of",
            "'Cutlery",
            "'",
            "type",
            "and",
            "have",
            "daily",
            "hire",
            "cost",
            "lower",
            "than",
            "20",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Cutlery\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT count(*) FROM phone",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "phone"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "phone"
        ],
        "question": "How many phones are there?",
        "question_toks": [
            "How",
            "many",
            "phones",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT Name FROM phone ORDER BY Price ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "phone",
            "ORDER",
            "BY",
            "Price",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "phone",
            "order",
            "by",
            "price",
            "asc"
        ],
        "question": "List the names of phones in ascending order of price.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "phones",
            "in",
            "ascending",
            "order",
            "of",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT Memory_in_G ,  Carrier FROM phone",
        "query_toks": [
            "SELECT",
            "Memory_in_G",
            ",",
            "Carrier",
            "FROM",
            "phone"
        ],
        "query_toks_no_value": [
            "select",
            "memory_in_g",
            ",",
            "carrier",
            "from",
            "phone"
        ],
        "question": "What are the memories and carriers of phones?",
        "question_toks": [
            "What",
            "are",
            "the",
            "memories",
            "and",
            "carriers",
            "of",
            "phones",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT DISTINCT Carrier FROM phone WHERE Memory_in_G  >  32",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Carrier",
            "FROM",
            "phone",
            "WHERE",
            "Memory_in_G",
            ">",
            "32"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "carrier",
            "from",
            "phone",
            "where",
            "memory_in_g",
            ">",
            "value"
        ],
        "question": "List the distinct carriers of phones with memories bigger than 32.",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "carriers",
            "of",
            "phones",
            "with",
            "memories",
            "bigger",
            "than",
            "32",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    32.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT Name FROM phone WHERE Carrier  =  \"Sprint\" OR Carrier  =  \"TMobile\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "phone",
            "WHERE",
            "Carrier",
            "=",
            "``",
            "Sprint",
            "''",
            "OR",
            "Carrier",
            "=",
            "``",
            "TMobile",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "phone",
            "where",
            "carrier",
            "=",
            "value",
            "or",
            "carrier",
            "=",
            "value"
        ],
        "question": "Show the names of phones with carrier either \"Sprint\" or \"TMobile\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "phones",
            "with",
            "carrier",
            "either",
            "``",
            "Sprint",
            "''",
            "or",
            "``",
            "TMobile",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Sprint\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"TMobile\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT Carrier FROM phone ORDER BY Price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "phone",
            "ORDER",
            "BY",
            "Price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "phone",
            "order",
            "by",
            "price",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the carrier of the most expensive phone?",
        "question_toks": [
            "What",
            "is",
            "the",
            "carrier",
            "of",
            "the",
            "most",
            "expensive",
            "phone",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT Carrier ,  COUNT(*) FROM phone GROUP BY Carrier",
        "query_toks": [
            "SELECT",
            "Carrier",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "phone",
            "GROUP",
            "BY",
            "Carrier"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "phone",
            "group",
            "by",
            "carrier"
        ],
        "question": "Show different carriers of phones together with the number of phones with each carrier.",
        "question_toks": [
            "Show",
            "different",
            "carriers",
            "of",
            "phones",
            "together",
            "with",
            "the",
            "number",
            "of",
            "phones",
            "with",
            "each",
            "carrier",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT Carrier FROM phone GROUP BY Carrier ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "phone",
            "GROUP",
            "BY",
            "Carrier",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "phone",
            "group",
            "by",
            "carrier",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most frequently used carrier of the phones.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "frequently",
            "used",
            "carrier",
            "of",
            "the",
            "phones",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT Carrier FROM phone WHERE Memory_in_G  <  32 INTERSECT SELECT Carrier FROM phone WHERE Memory_in_G  >  64",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "phone",
            "WHERE",
            "Memory_in_G",
            "<",
            "32",
            "INTERSECT",
            "SELECT",
            "Carrier",
            "FROM",
            "phone",
            "WHERE",
            "Memory_in_G",
            ">",
            "64"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "phone",
            "where",
            "memory_in_g",
            "<",
            "value",
            "intersect",
            "select",
            "carrier",
            "from",
            "phone",
            "where",
            "memory_in_g",
            ">",
            "value"
        ],
        "question": "Show the carriers that have both phones with memory smaller than 32 and phones with memory bigger than 64.",
        "question_toks": [
            "Show",
            "the",
            "carriers",
            "that",
            "have",
            "both",
            "phones",
            "with",
            "memory",
            "smaller",
            "than",
            "32",
            "and",
            "phones",
            "with",
            "memory",
            "bigger",
            "than",
            "64",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    32.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        64.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT T3.Name ,  T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID  =  T3.Phone_ID",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.District",
            "FROM",
            "phone_market",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID",
            "JOIN",
            "phone",
            "AS",
            "T3",
            "ON",
            "T1.Phone_ID",
            "=",
            "T3.Phone_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "district",
            "from",
            "phone_market",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "join",
            "phone",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "phone_id",
            "=",
            "t3",
            ".",
            "phone_id"
        ],
        "question": "Show the names of phones and the districts of markets they are on.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "phones",
            "and",
            "the",
            "districts",
            "of",
            "markets",
            "they",
            "are",
            "on",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT T3.Name ,  T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID  =  T3.Phone_ID ORDER BY T2.Ranking",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.District",
            "FROM",
            "phone_market",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID",
            "JOIN",
            "phone",
            "AS",
            "T3",
            "ON",
            "T1.Phone_ID",
            "=",
            "T3.Phone_ID",
            "ORDER",
            "BY",
            "T2.Ranking"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "district",
            "from",
            "phone_market",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "join",
            "phone",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "phone_id",
            "=",
            "t3",
            ".",
            "phone_id",
            "order",
            "by",
            "t2",
            ".",
            "ranking"
        ],
        "question": "Show the names of phones and the districts of markets they are on, in ascending order of the ranking of the market.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "phones",
            "and",
            "the",
            "districts",
            "of",
            "markets",
            "they",
            "are",
            "on",
            ",",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "ranking",
            "of",
            "the",
            "market",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT T3.Name FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID  =  T3.Phone_ID WHERE T2.Num_of_shops  >  50",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "phone_market",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID",
            "JOIN",
            "phone",
            "AS",
            "T3",
            "ON",
            "T1.Phone_ID",
            "=",
            "T3.Phone_ID",
            "WHERE",
            "T2.Num_of_shops",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "phone_market",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "join",
            "phone",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "phone_id",
            "=",
            "t3",
            ".",
            "phone_id",
            "where",
            "t2",
            ".",
            "num_of_shops",
            ">",
            "value"
        ],
        "question": "Show the names of phones that are on market with number of shops greater than 50.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "phones",
            "that",
            "are",
            "on",
            "market",
            "with",
            "number",
            "of",
            "shops",
            "greater",
            "than",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT T2.Name ,  sum(T1.Num_of_stock) FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID  =  T2.Phone_ID GROUP BY T2.Name",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "sum",
            "(",
            "T1.Num_of_stock",
            ")",
            "FROM",
            "phone_market",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Phone_ID",
            "=",
            "T2.Phone_ID",
            "GROUP",
            "BY",
            "T2.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "sum",
            "(",
            "t1",
            ".",
            "num_of_stock",
            ")",
            "from",
            "phone_market",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "phone_id",
            "=",
            "t2",
            ".",
            "phone_id",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "For each phone, show its names and total number of stocks.",
        "question_toks": [
            "For",
            "each",
            "phone",
            ",",
            "show",
            "its",
            "names",
            "and",
            "total",
            "number",
            "of",
            "stocks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID  =  T2.Phone_ID GROUP BY T2.Name HAVING sum(T1.Num_of_stock)  >=  2000 ORDER BY sum(T1.Num_of_stock) DESC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "phone_market",
            "AS",
            "T1",
            "JOIN",
            "phone",
            "AS",
            "T2",
            "ON",
            "T1.Phone_ID",
            "=",
            "T2.Phone_ID",
            "GROUP",
            "BY",
            "T2.Name",
            "HAVING",
            "sum",
            "(",
            "T1.Num_of_stock",
            ")",
            ">",
            "=",
            "2000",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T1.Num_of_stock",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "phone_market",
            "as",
            "t1",
            "join",
            "phone",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "phone_id",
            "=",
            "t2",
            ".",
            "phone_id",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "sum",
            "(",
            "t1",
            ".",
            "num_of_stock",
            ")",
            ">",
            "=",
            "value",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "num_of_stock",
            ")",
            "desc"
        ],
        "question": "Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "phones",
            "that",
            "have",
            "total",
            "number",
            "of",
            "stocks",
            "bigger",
            "than",
            "2000",
            ",",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "total",
            "number",
            "of",
            "stocks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            4,
                            13,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "phone_market",
        "query": "SELECT Name FROM phone WHERE Phone_id NOT IN (SELECT Phone_ID FROM phone_market)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "phone",
            "WHERE",
            "Phone_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Phone_ID",
            "FROM",
            "phone_market",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "phone",
            "where",
            "phone_id",
            "not",
            "in",
            "(",
            "select",
            "phone_id",
            "from",
            "phone_market",
            ")"
        ],
        "question": "List the names of phones that are not on any market.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "phones",
            "that",
            "are",
            "not",
            "on",
            "any",
            "market",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT count(*) FROM company",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "company"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "company"
        ],
        "question": "How many gas companies are there?",
        "question_toks": [
            "How",
            "many",
            "gas",
            "companies",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT count(*) FROM company",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "company"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "company"
        ],
        "question": "What is the total number of companies?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT company ,  rank FROM company ORDER BY Sales_billion DESC",
        "query_toks": [
            "SELECT",
            "company",
            ",",
            "rank",
            "FROM",
            "company",
            "ORDER",
            "BY",
            "Sales_billion",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "rank",
            "from",
            "company",
            "order",
            "by",
            "sales_billion",
            "desc"
        ],
        "question": "List the company name and rank for all companies in the decreasing order of their sales.",
        "question_toks": [
            "List",
            "the",
            "company",
            "name",
            "and",
            "rank",
            "for",
            "all",
            "companies",
            "in",
            "the",
            "decreasing",
            "order",
            "of",
            "their",
            "sales",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT company ,  rank FROM company ORDER BY Sales_billion DESC",
        "query_toks": [
            "SELECT",
            "company",
            ",",
            "rank",
            "FROM",
            "company",
            "ORDER",
            "BY",
            "Sales_billion",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "rank",
            "from",
            "company",
            "order",
            "by",
            "sales_billion",
            "desc"
        ],
        "question": "What is the name and rank of every company ordered by descending number of sales?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "rank",
            "of",
            "every",
            "company",
            "ordered",
            "by",
            "descending",
            "number",
            "of",
            "sales",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT company ,  main_industry FROM company WHERE headquarters != 'USA'",
        "query_toks": [
            "SELECT",
            "company",
            ",",
            "main_industry",
            "FROM",
            "company",
            "WHERE",
            "headquarters",
            "!",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "main_industry",
            "from",
            "company",
            "where",
            "headquarters",
            "!",
            "=",
            "value"
        ],
        "question": "Show the company name and the main industry for all companies whose headquarters are not from USA.",
        "question_toks": [
            "Show",
            "the",
            "company",
            "name",
            "and",
            "the",
            "main",
            "industry",
            "for",
            "all",
            "companies",
            "whose",
            "headquarters",
            "are",
            "not",
            "from",
            "USA",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT company ,  main_industry FROM company WHERE headquarters != 'USA'",
        "query_toks": [
            "SELECT",
            "company",
            ",",
            "main_industry",
            "FROM",
            "company",
            "WHERE",
            "headquarters",
            "!",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "main_industry",
            "from",
            "company",
            "where",
            "headquarters",
            "!",
            "=",
            "value"
        ],
        "question": "What are the companies and main industries of all companies that are not headquartered in the United States?",
        "question_toks": [
            "What",
            "are",
            "the",
            "companies",
            "and",
            "main",
            "industries",
            "of",
            "all",
            "companies",
            "that",
            "are",
            "not",
            "headquartered",
            "in",
            "the",
            "United",
            "States",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT company ,  headquarters FROM company ORDER BY market_value DESC",
        "query_toks": [
            "SELECT",
            "company",
            ",",
            "headquarters",
            "FROM",
            "company",
            "ORDER",
            "BY",
            "market_value",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "headquarters",
            "from",
            "company",
            "order",
            "by",
            "market_value",
            "desc"
        ],
        "question": "Show all company names and headquarters in the descending order of market value.",
        "question_toks": [
            "Show",
            "all",
            "company",
            "names",
            "and",
            "headquarters",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "market",
            "value",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT company ,  headquarters FROM company ORDER BY market_value DESC",
        "query_toks": [
            "SELECT",
            "company",
            ",",
            "headquarters",
            "FROM",
            "company",
            "ORDER",
            "BY",
            "market_value",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "headquarters",
            "from",
            "company",
            "order",
            "by",
            "market_value",
            "desc"
        ],
        "question": "What are the names and headquarters of all companies ordered by descending market value?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "headquarters",
            "of",
            "all",
            "companies",
            "ordered",
            "by",
            "descending",
            "market",
            "value",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT min(market_value) ,  max(market_value) ,  avg(market_value) FROM company",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "market_value",
            ")",
            ",",
            "max",
            "(",
            "market_value",
            ")",
            ",",
            "avg",
            "(",
            "market_value",
            ")",
            "FROM",
            "company"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "market_value",
            ")",
            ",",
            "max",
            "(",
            "market_value",
            ")",
            ",",
            "avg",
            "(",
            "market_value",
            ")",
            "from",
            "company"
        ],
        "question": "Show minimum, maximum, and average market value for all companies.",
        "question_toks": [
            "Show",
            "minimum",
            ",",
            "maximum",
            ",",
            "and",
            "average",
            "market",
            "value",
            "for",
            "all",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT min(market_value) ,  max(market_value) ,  avg(market_value) FROM company",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "market_value",
            ")",
            ",",
            "max",
            "(",
            "market_value",
            ")",
            ",",
            "avg",
            "(",
            "market_value",
            ")",
            "FROM",
            "company"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "market_value",
            ")",
            ",",
            "max",
            "(",
            "market_value",
            ")",
            ",",
            "avg",
            "(",
            "market_value",
            ")",
            "from",
            "company"
        ],
        "question": "What is the minimum, maximum, and average market value for every company?",
        "question_toks": [
            "What",
            "is",
            "the",
            "minimum",
            ",",
            "maximum",
            ",",
            "and",
            "average",
            "market",
            "value",
            "for",
            "every",
            "company",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT DISTINCT main_industry FROM company",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "main_industry",
            "FROM",
            "company"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "main_industry",
            "from",
            "company"
        ],
        "question": "Show all main industry for all companies.",
        "question_toks": [
            "Show",
            "all",
            "main",
            "industry",
            "for",
            "all",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT DISTINCT main_industry FROM company",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "main_industry",
            "FROM",
            "company"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "main_industry",
            "from",
            "company"
        ],
        "question": "What are the different main industries for all companies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "main",
            "industries",
            "for",
            "all",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT headquarters ,  count(*) FROM company GROUP BY headquarters",
        "query_toks": [
            "SELECT",
            "headquarters",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "headquarters"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "company",
            "group",
            "by",
            "headquarters"
        ],
        "question": "List all headquarters and the number of companies in each headquarter.",
        "question_toks": [
            "List",
            "all",
            "headquarters",
            "and",
            "the",
            "number",
            "of",
            "companies",
            "in",
            "each",
            "headquarter",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT headquarters ,  count(*) FROM company GROUP BY headquarters",
        "query_toks": [
            "SELECT",
            "headquarters",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "headquarters"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "company",
            "group",
            "by",
            "headquarters"
        ],
        "question": "For each headquarter, what are the headquarter and how many companies are centered there?",
        "question_toks": [
            "For",
            "each",
            "headquarter",
            ",",
            "what",
            "are",
            "the",
            "headquarter",
            "and",
            "how",
            "many",
            "companies",
            "are",
            "centered",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT main_industry ,  sum(market_value) FROM company GROUP BY main_industry",
        "query_toks": [
            "SELECT",
            "main_industry",
            ",",
            "sum",
            "(",
            "market_value",
            ")",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "main_industry"
        ],
        "query_toks_no_value": [
            "select",
            "main_industry",
            ",",
            "sum",
            "(",
            "market_value",
            ")",
            "from",
            "company",
            "group",
            "by",
            "main_industry"
        ],
        "question": "Show all main industry and total market value in each industry.",
        "question_toks": [
            "Show",
            "all",
            "main",
            "industry",
            "and",
            "total",
            "market",
            "value",
            "in",
            "each",
            "industry",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT main_industry ,  sum(market_value) FROM company GROUP BY main_industry",
        "query_toks": [
            "SELECT",
            "main_industry",
            ",",
            "sum",
            "(",
            "market_value",
            ")",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "main_industry"
        ],
        "query_toks_no_value": [
            "select",
            "main_industry",
            ",",
            "sum",
            "(",
            "market_value",
            ")",
            "from",
            "company",
            "group",
            "by",
            "main_industry"
        ],
        "question": "What are the main indstries and total market value for each industry?",
        "question_toks": [
            "What",
            "are",
            "the",
            "main",
            "indstries",
            "and",
            "total",
            "market",
            "value",
            "for",
            "each",
            "industry",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT main_industry ,  count(*) FROM company GROUP BY main_industry ORDER BY sum(market_value) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "main_industry",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "main_industry",
            "ORDER",
            "BY",
            "sum",
            "(",
            "market_value",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "main_industry",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "company",
            "group",
            "by",
            "main_industry",
            "order",
            "by",
            "sum",
            "(",
            "market_value",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the main industry with highest total market value and its number of companies.",
        "question_toks": [
            "List",
            "the",
            "main",
            "industry",
            "with",
            "highest",
            "total",
            "market",
            "value",
            "and",
            "its",
            "number",
            "of",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT main_industry ,  count(*) FROM company GROUP BY main_industry ORDER BY sum(market_value) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "main_industry",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "main_industry",
            "ORDER",
            "BY",
            "sum",
            "(",
            "market_value",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "main_industry",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "company",
            "group",
            "by",
            "main_industry",
            "order",
            "by",
            "sum",
            "(",
            "market_value",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "For each main industry, what is the total number of companies for the industry with the highest total market value?",
        "question_toks": [
            "For",
            "each",
            "main",
            "industry",
            ",",
            "what",
            "is",
            "the",
            "total",
            "number",
            "of",
            "companies",
            "for",
            "the",
            "industry",
            "with",
            "the",
            "highest",
            "total",
            "market",
            "value",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT headquarters FROM company WHERE main_industry  =  'Banking' GROUP BY headquarters HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Banking",
            "'",
            "GROUP",
            "BY",
            "headquarters",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value",
            "group",
            "by",
            "headquarters",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show headquarters with at least two companies in the banking industry.",
        "question_toks": [
            "Show",
            "headquarters",
            "with",
            "at",
            "least",
            "two",
            "companies",
            "in",
            "the",
            "banking",
            "industry",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT headquarters FROM company WHERE main_industry  =  'Banking' GROUP BY headquarters HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Banking",
            "'",
            "GROUP",
            "BY",
            "headquarters",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value",
            "group",
            "by",
            "headquarters",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the headquarters with at least two companies in the banking industry?",
        "question_toks": [
            "What",
            "are",
            "the",
            "headquarters",
            "with",
            "at",
            "least",
            "two",
            "companies",
            "in",
            "the",
            "banking",
            "industry",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT station_id ,  LOCATION ,  manager_name FROM gas_station ORDER BY open_year",
        "query_toks": [
            "SELECT",
            "station_id",
            ",",
            "LOCATION",
            ",",
            "manager_name",
            "FROM",
            "gas_station",
            "ORDER",
            "BY",
            "open_year"
        ],
        "query_toks_no_value": [
            "select",
            "station_id",
            ",",
            "location",
            ",",
            "manager_name",
            "from",
            "gas_station",
            "order",
            "by",
            "open_year"
        ],
        "question": "Show gas station id, location, and manager_name for all gas stations ordered by open year.",
        "question_toks": [
            "Show",
            "gas",
            "station",
            "id",
            ",",
            "location",
            ",",
            "and",
            "manager_name",
            "for",
            "all",
            "gas",
            "stations",
            "ordered",
            "by",
            "open",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT station_id ,  LOCATION ,  manager_name FROM gas_station ORDER BY open_year",
        "query_toks": [
            "SELECT",
            "station_id",
            ",",
            "LOCATION",
            ",",
            "manager_name",
            "FROM",
            "gas_station",
            "ORDER",
            "BY",
            "open_year"
        ],
        "query_toks_no_value": [
            "select",
            "station_id",
            ",",
            "location",
            ",",
            "manager_name",
            "from",
            "gas_station",
            "order",
            "by",
            "open_year"
        ],
        "question": "What are the gas station ids, locations, and manager names for the gas stations ordered by opening year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "gas",
            "station",
            "ids",
            ",",
            "locations",
            ",",
            "and",
            "manager",
            "names",
            "for",
            "the",
            "gas",
            "stations",
            "ordered",
            "by",
            "opening",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT count(*) FROM gas_station WHERE open_year BETWEEN 2000 AND 2005",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "gas_station",
            "WHERE",
            "open_year",
            "BETWEEN",
            "2000",
            "AND",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "gas_station",
            "where",
            "open_year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "How many gas station are opened between 2000 and 2005?",
        "question_toks": [
            "How",
            "many",
            "gas",
            "station",
            "are",
            "opened",
            "between",
            "2000",
            "and",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    2005.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT count(*) FROM gas_station WHERE open_year BETWEEN 2000 AND 2005",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "gas_station",
            "WHERE",
            "open_year",
            "BETWEEN",
            "2000",
            "AND",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "gas_station",
            "where",
            "open_year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What is the total number of gas stations that opened between 2000 and 2005?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "gas",
            "stations",
            "that",
            "opened",
            "between",
            "2000",
            "and",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    2005.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT LOCATION ,  count(*) FROM gas_station GROUP BY LOCATION ORDER BY count(*)",
        "query_toks": [
            "SELECT",
            "LOCATION",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "gas_station",
            "GROUP",
            "BY",
            "LOCATION",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "gas_station",
            "group",
            "by",
            "location",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")"
        ],
        "question": "Show all locations and the number of gas stations in each location ordered by the count.",
        "question_toks": [
            "Show",
            "all",
            "locations",
            "and",
            "the",
            "number",
            "of",
            "gas",
            "stations",
            "in",
            "each",
            "location",
            "ordered",
            "by",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT LOCATION ,  count(*) FROM gas_station GROUP BY LOCATION ORDER BY count(*)",
        "query_toks": [
            "SELECT",
            "LOCATION",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "gas_station",
            "GROUP",
            "BY",
            "LOCATION",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "gas_station",
            "group",
            "by",
            "location",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")"
        ],
        "question": "For each location, how many gas stations are there in order?",
        "question_toks": [
            "For",
            "each",
            "location",
            ",",
            "how",
            "many",
            "gas",
            "stations",
            "are",
            "there",
            "in",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT headquarters FROM company WHERE main_industry  =  'Banking' INTERSECT SELECT headquarters FROM company WHERE main_industry  =  'Oil and gas'",
        "query_toks": [
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Banking",
            "'",
            "INTERSECT",
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Oil",
            "and",
            "gas",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value",
            "intersect",
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value"
        ],
        "question": "Show all headquarters with both a company in banking industry and a company in Oil and gas.",
        "question_toks": [
            "Show",
            "all",
            "headquarters",
            "with",
            "both",
            "a",
            "company",
            "in",
            "banking",
            "industry",
            "and",
            "a",
            "company",
            "in",
            "Oil",
            "and",
            "gas",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Oil and gas\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT headquarters FROM company WHERE main_industry  =  'Banking' INTERSECT SELECT headquarters FROM company WHERE main_industry  =  'Oil and gas'",
        "query_toks": [
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Banking",
            "'",
            "INTERSECT",
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Oil",
            "and",
            "gas",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value",
            "intersect",
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value"
        ],
        "question": "What are the headquarters that have both a company in the banking and 'oil and gas' industries?",
        "question_toks": [
            "What",
            "are",
            "the",
            "headquarters",
            "that",
            "have",
            "both",
            "a",
            "company",
            "in",
            "the",
            "banking",
            "and",
            "'oil",
            "and",
            "gas",
            "'",
            "industries",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Oil and gas\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT headquarters FROM company EXCEPT SELECT headquarters FROM company WHERE main_industry  =  'Banking'",
        "query_toks": [
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "EXCEPT",
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Banking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "except",
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value"
        ],
        "question": "Show all headquarters without a company in banking industry.",
        "question_toks": [
            "Show",
            "all",
            "headquarters",
            "without",
            "a",
            "company",
            "in",
            "banking",
            "industry",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Banking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT headquarters FROM company EXCEPT SELECT headquarters FROM company WHERE main_industry  =  'Banking'",
        "query_toks": [
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "EXCEPT",
            "SELECT",
            "headquarters",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Banking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "except",
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value"
        ],
        "question": "What are the headquarters without companies that are in the banking industry?",
        "question_toks": [
            "What",
            "are",
            "the",
            "headquarters",
            "without",
            "companies",
            "that",
            "are",
            "in",
            "the",
            "banking",
            "industry",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Banking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT T2.company ,  count(*) FROM station_company AS T1 JOIN company AS T2 ON T1.company_id  =  T2.company_id GROUP BY T1.company_id",
        "query_toks": [
            "SELECT",
            "T2.company",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "station_company",
            "AS",
            "T1",
            "JOIN",
            "company",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "GROUP",
            "BY",
            "T1.company_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "company",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station_company",
            "as",
            "t1",
            "join",
            "company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "group",
            "by",
            "t1",
            ".",
            "company_id"
        ],
        "question": "Show the company name with the number of gas station.",
        "question_toks": [
            "Show",
            "the",
            "company",
            "name",
            "with",
            "the",
            "number",
            "of",
            "gas",
            "station",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT T2.company ,  count(*) FROM station_company AS T1 JOIN company AS T2 ON T1.company_id  =  T2.company_id GROUP BY T1.company_id",
        "query_toks": [
            "SELECT",
            "T2.company",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "station_company",
            "AS",
            "T1",
            "JOIN",
            "company",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "GROUP",
            "BY",
            "T1.company_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "company",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station_company",
            "as",
            "t1",
            "join",
            "company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "group",
            "by",
            "t1",
            ".",
            "company_id"
        ],
        "question": "For each company id, what are the companies and how many gas stations does each one operate?",
        "question_toks": [
            "For",
            "each",
            "company",
            "id",
            ",",
            "what",
            "are",
            "the",
            "companies",
            "and",
            "how",
            "many",
            "gas",
            "stations",
            "does",
            "each",
            "one",
            "operate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT company ,  main_industry FROM company WHERE company_id NOT IN (SELECT company_id FROM station_company)",
        "query_toks": [
            "SELECT",
            "company",
            ",",
            "main_industry",
            "FROM",
            "company",
            "WHERE",
            "company_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "company_id",
            "FROM",
            "station_company",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "main_industry",
            "from",
            "company",
            "where",
            "company_id",
            "not",
            "in",
            "(",
            "select",
            "company_id",
            "from",
            "station_company",
            ")"
        ],
        "question": "Show company name and main industry without a gas station.",
        "question_toks": [
            "Show",
            "company",
            "name",
            "and",
            "main",
            "industry",
            "without",
            "a",
            "gas",
            "station",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT company ,  main_industry FROM company WHERE company_id NOT IN (SELECT company_id FROM station_company)",
        "query_toks": [
            "SELECT",
            "company",
            ",",
            "main_industry",
            "FROM",
            "company",
            "WHERE",
            "company_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "company_id",
            "FROM",
            "station_company",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "main_industry",
            "from",
            "company",
            "where",
            "company_id",
            "not",
            "in",
            "(",
            "select",
            "company_id",
            "from",
            "station_company",
            ")"
        ],
        "question": "What are the main industries of the companies without gas stations and what are the companies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "main",
            "industries",
            "of",
            "the",
            "companies",
            "without",
            "gas",
            "stations",
            "and",
            "what",
            "are",
            "the",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT T3.manager_name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id  =  T2.company_id JOIN gas_station AS T3 ON T1.station_id  =  T3.station_id WHERE T2.company  =  'ExxonMobil'",
        "query_toks": [
            "SELECT",
            "T3.manager_name",
            "FROM",
            "station_company",
            "AS",
            "T1",
            "JOIN",
            "company",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "JOIN",
            "gas_station",
            "AS",
            "T3",
            "ON",
            "T1.station_id",
            "=",
            "T3.station_id",
            "WHERE",
            "T2.company",
            "=",
            "'ExxonMobil",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "manager_name",
            "from",
            "station_company",
            "as",
            "t1",
            "join",
            "company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "join",
            "gas_station",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t3",
            ".",
            "station_id",
            "where",
            "t2",
            ".",
            "company",
            "=",
            "value"
        ],
        "question": "Show the manager name for gas stations belonging to the ExxonMobil company.",
        "question_toks": [
            "Show",
            "the",
            "manager",
            "name",
            "for",
            "gas",
            "stations",
            "belonging",
            "to",
            "the",
            "ExxonMobil",
            "company",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"ExxonMobil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT T3.manager_name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id  =  T2.company_id JOIN gas_station AS T3 ON T1.station_id  =  T3.station_id WHERE T2.company  =  'ExxonMobil'",
        "query_toks": [
            "SELECT",
            "T3.manager_name",
            "FROM",
            "station_company",
            "AS",
            "T1",
            "JOIN",
            "company",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "JOIN",
            "gas_station",
            "AS",
            "T3",
            "ON",
            "T1.station_id",
            "=",
            "T3.station_id",
            "WHERE",
            "T2.company",
            "=",
            "'ExxonMobil",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "manager_name",
            "from",
            "station_company",
            "as",
            "t1",
            "join",
            "company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "join",
            "gas_station",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t3",
            ".",
            "station_id",
            "where",
            "t2",
            ".",
            "company",
            "=",
            "value"
        ],
        "question": "What are the names of the managers for gas stations that are operated by the ExxonMobil company?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "managers",
            "for",
            "gas",
            "stations",
            "that",
            "are",
            "operated",
            "by",
            "the",
            "ExxonMobil",
            "company",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"ExxonMobil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT T3.location FROM station_company AS T1 JOIN company AS T2 ON T1.company_id  =  T2.company_id JOIN gas_station AS T3 ON T1.station_id  =  T3.station_id WHERE T2.market_value  >  100",
        "query_toks": [
            "SELECT",
            "T3.location",
            "FROM",
            "station_company",
            "AS",
            "T1",
            "JOIN",
            "company",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "JOIN",
            "gas_station",
            "AS",
            "T3",
            "ON",
            "T1.station_id",
            "=",
            "T3.station_id",
            "WHERE",
            "T2.market_value",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location",
            "from",
            "station_company",
            "as",
            "t1",
            "join",
            "company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "join",
            "gas_station",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t3",
            ".",
            "station_id",
            "where",
            "t2",
            ".",
            "market_value",
            ">",
            "value"
        ],
        "question": "Show all locations where a gas station for company with market value greater than 100 is located.",
        "question_toks": [
            "Show",
            "all",
            "locations",
            "where",
            "a",
            "gas",
            "station",
            "for",
            "company",
            "with",
            "market",
            "value",
            "greater",
            "than",
            "100",
            "is",
            "located",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT T3.location FROM station_company AS T1 JOIN company AS T2 ON T1.company_id  =  T2.company_id JOIN gas_station AS T3 ON T1.station_id  =  T3.station_id WHERE T2.market_value  >  100",
        "query_toks": [
            "SELECT",
            "T3.location",
            "FROM",
            "station_company",
            "AS",
            "T1",
            "JOIN",
            "company",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "JOIN",
            "gas_station",
            "AS",
            "T3",
            "ON",
            "T1.station_id",
            "=",
            "T3.station_id",
            "WHERE",
            "T2.market_value",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location",
            "from",
            "station_company",
            "as",
            "t1",
            "join",
            "company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "join",
            "gas_station",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t3",
            ".",
            "station_id",
            "where",
            "t2",
            ".",
            "market_value",
            ">",
            "value"
        ],
        "question": "What are the locations that have gas stations owned by a company with a market value greater than 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "locations",
            "that",
            "have",
            "gas",
            "stations",
            "owned",
            "by",
            "a",
            "company",
            "with",
            "a",
            "market",
            "value",
            "greater",
            "than",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT manager_name FROM gas_station WHERE open_year  >  2000 GROUP BY manager_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "manager_name",
            "FROM",
            "gas_station",
            "WHERE",
            "open_year",
            ">",
            "2000",
            "GROUP",
            "BY",
            "manager_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "manager_name",
            "from",
            "gas_station",
            "where",
            "open_year",
            ">",
            "value",
            "group",
            "by",
            "manager_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the manager name with most number of gas stations opened after 2000.",
        "question_toks": [
            "Show",
            "the",
            "manager",
            "name",
            "with",
            "most",
            "number",
            "of",
            "gas",
            "stations",
            "opened",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT manager_name FROM gas_station WHERE open_year  >  2000 GROUP BY manager_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "manager_name",
            "FROM",
            "gas_station",
            "WHERE",
            "open_year",
            ">",
            "2000",
            "GROUP",
            "BY",
            "manager_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "manager_name",
            "from",
            "gas_station",
            "where",
            "open_year",
            ">",
            "value",
            "group",
            "by",
            "manager_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the manager with the most gas stations that opened after 2000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "manager",
            "with",
            "the",
            "most",
            "gas",
            "stations",
            "that",
            "opened",
            "after",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT LOCATION FROM gas_station ORDER BY open_year",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "gas_station",
            "ORDER",
            "BY",
            "open_year"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "gas_station",
            "order",
            "by",
            "open_year"
        ],
        "question": "order all gas station locations by the opening year.",
        "question_toks": [
            "order",
            "all",
            "gas",
            "station",
            "locations",
            "by",
            "the",
            "opening",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT LOCATION FROM gas_station ORDER BY open_year",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "gas_station",
            "ORDER",
            "BY",
            "open_year"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "gas_station",
            "order",
            "by",
            "open_year"
        ],
        "question": "What are the locations of all the gas stations ordered by opening year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "locations",
            "of",
            "all",
            "the",
            "gas",
            "stations",
            "ordered",
            "by",
            "opening",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT rank ,  company ,  market_value FROM company WHERE main_industry  =  'Banking' ORDER BY sales_billion ,  profits_billion",
        "query_toks": [
            "SELECT",
            "rank",
            ",",
            "company",
            ",",
            "market_value",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Banking",
            "'",
            "ORDER",
            "BY",
            "sales_billion",
            ",",
            "profits_billion"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            ",",
            "company",
            ",",
            "market_value",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value",
            "order",
            "by",
            "sales_billion",
            ",",
            "profits_billion"
        ],
        "question": "find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion.",
        "question_toks": [
            "find",
            "the",
            "rank",
            ",",
            "company",
            "names",
            ",",
            "market",
            "values",
            "of",
            "the",
            "companies",
            "in",
            "the",
            "banking",
            "industry",
            "order",
            "by",
            "their",
            "sales",
            "and",
            "profits",
            "in",
            "billion",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT rank ,  company ,  market_value FROM company WHERE main_industry  =  'Banking' ORDER BY sales_billion ,  profits_billion",
        "query_toks": [
            "SELECT",
            "rank",
            ",",
            "company",
            ",",
            "market_value",
            "FROM",
            "company",
            "WHERE",
            "main_industry",
            "=",
            "'Banking",
            "'",
            "ORDER",
            "BY",
            "sales_billion",
            ",",
            "profits_billion"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            ",",
            "company",
            ",",
            "market_value",
            "from",
            "company",
            "where",
            "main_industry",
            "=",
            "value",
            "order",
            "by",
            "sales_billion",
            ",",
            "profits_billion"
        ],
        "question": "What is the rank, company, and market value of every comapny in the banking industry ordered by sales and profits?",
        "question_toks": [
            "What",
            "is",
            "the",
            "rank",
            ",",
            "company",
            ",",
            "and",
            "market",
            "value",
            "of",
            "every",
            "comapny",
            "in",
            "the",
            "banking",
            "industry",
            "ordered",
            "by",
            "sales",
            "and",
            "profits",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT T3.location ,  T3.Representative_Name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id  =  T2.company_id JOIN gas_station AS T3 ON T1.station_id  =  T3.station_id ORDER BY T2.Assets_billion DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T3.location",
            ",",
            "T3.Representative_Name",
            "FROM",
            "station_company",
            "AS",
            "T1",
            "JOIN",
            "company",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "JOIN",
            "gas_station",
            "AS",
            "T3",
            "ON",
            "T1.station_id",
            "=",
            "T3.station_id",
            "ORDER",
            "BY",
            "T2.Assets_billion",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location",
            ",",
            "t3",
            ".",
            "representative_name",
            "from",
            "station_company",
            "as",
            "t1",
            "join",
            "company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "join",
            "gas_station",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t3",
            ".",
            "station_id",
            "order",
            "by",
            "t2",
            ".",
            "assets_billion",
            "desc",
            "limit",
            "value"
        ],
        "question": "find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts.",
        "question_toks": [
            "find",
            "the",
            "location",
            "and",
            "Representative",
            "name",
            "of",
            "the",
            "gas",
            "stations",
            "owned",
            "by",
            "the",
            "companies",
            "with",
            "top",
            "3",
            "Asset",
            "amounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "gas_company",
        "query": "SELECT T3.location ,  T3.Representative_Name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id  =  T2.company_id JOIN gas_station AS T3 ON T1.station_id  =  T3.station_id ORDER BY T2.Assets_billion DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T3.location",
            ",",
            "T3.Representative_Name",
            "FROM",
            "station_company",
            "AS",
            "T1",
            "JOIN",
            "company",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "JOIN",
            "gas_station",
            "AS",
            "T3",
            "ON",
            "T1.station_id",
            "=",
            "T3.station_id",
            "ORDER",
            "BY",
            "T2.Assets_billion",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location",
            ",",
            "t3",
            ".",
            "representative_name",
            "from",
            "station_company",
            "as",
            "t1",
            "join",
            "company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "join",
            "gas_station",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t3",
            ".",
            "station_id",
            "order",
            "by",
            "t2",
            ".",
            "assets_billion",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the locations and representatives' names of the gas stations owned by the companies with the 3 largest amounts of assets?",
        "question_toks": [
            "What",
            "are",
            "the",
            "locations",
            "and",
            "representatives",
            "'",
            "names",
            "of",
            "the",
            "gas",
            "stations",
            "owned",
            "by",
            "the",
            "companies",
            "with",
            "the",
            "3",
            "largest",
            "amounts",
            "of",
            "assets",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT count(*) FROM region",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "region"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "region"
        ],
        "question": "How many regions do we have?",
        "question_toks": [
            "How",
            "many",
            "regions",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT count(*) FROM region",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "region"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "region"
        ],
        "question": "Count the number of regions.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "regions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT DISTINCT region_name FROM region ORDER BY Label",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "region_name",
            "FROM",
            "region",
            "ORDER",
            "BY",
            "Label"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "region_name",
            "from",
            "region",
            "order",
            "by",
            "label"
        ],
        "question": "Show all distinct region names ordered by their labels.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "region",
            "names",
            "ordered",
            "by",
            "their",
            "labels",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT DISTINCT region_name FROM region ORDER BY Label",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "region_name",
            "FROM",
            "region",
            "ORDER",
            "BY",
            "Label"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "region_name",
            "from",
            "region",
            "order",
            "by",
            "label"
        ],
        "question": "What are the different region names, ordered by labels?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "region",
            "names",
            ",",
            "ordered",
            "by",
            "labels",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT count(DISTINCT party_name) FROM party",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "party_name",
            ")",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "party_name",
            ")",
            "from",
            "party"
        ],
        "question": "How many parties do we have?",
        "question_toks": [
            "How",
            "many",
            "parties",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT count(DISTINCT party_name) FROM party",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "party_name",
            ")",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "party_name",
            ")",
            "from",
            "party"
        ],
        "question": "Count the number of different parties.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "parties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister ,  took_office ,  left_office FROM party ORDER BY left_office",
        "query_toks": [
            "SELECT",
            "minister",
            ",",
            "took_office",
            ",",
            "left_office",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "left_office"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            ",",
            "took_office",
            ",",
            "left_office",
            "from",
            "party",
            "order",
            "by",
            "left_office"
        ],
        "question": "Show the ministers and the time they took and left office, listed by the time they left office.",
        "question_toks": [
            "Show",
            "the",
            "ministers",
            "and",
            "the",
            "time",
            "they",
            "took",
            "and",
            "left",
            "office",
            ",",
            "listed",
            "by",
            "the",
            "time",
            "they",
            "left",
            "office",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister ,  took_office ,  left_office FROM party ORDER BY left_office",
        "query_toks": [
            "SELECT",
            "minister",
            ",",
            "took_office",
            ",",
            "left_office",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "left_office"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            ",",
            "took_office",
            ",",
            "left_office",
            "from",
            "party",
            "order",
            "by",
            "left_office"
        ],
        "question": "Who are the ministers, when did they take office, and when did they leave office, ordered by when they left office?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "ministers",
            ",",
            "when",
            "did",
            "they",
            "take",
            "office",
            ",",
            "and",
            "when",
            "did",
            "they",
            "leave",
            "office",
            ",",
            "ordered",
            "by",
            "when",
            "they",
            "left",
            "office",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister FROM party WHERE took_office  >  1961 OR took_office  <  1959",
        "query_toks": [
            "SELECT",
            "minister",
            "FROM",
            "party",
            "WHERE",
            "took_office",
            ">",
            "1961",
            "OR",
            "took_office",
            "<",
            "1959"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            "from",
            "party",
            "where",
            "took_office",
            ">",
            "value",
            "or",
            "took_office",
            "<",
            "value"
        ],
        "question": "Show the minister who took office after 1961 or before 1959.",
        "question_toks": [
            "Show",
            "the",
            "minister",
            "who",
            "took",
            "office",
            "after",
            "1961",
            "or",
            "before",
            "1959",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1961.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1959.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister FROM party WHERE took_office  >  1961 OR took_office  <  1959",
        "query_toks": [
            "SELECT",
            "minister",
            "FROM",
            "party",
            "WHERE",
            "took_office",
            ">",
            "1961",
            "OR",
            "took_office",
            "<",
            "1959"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            "from",
            "party",
            "where",
            "took_office",
            ">",
            "value",
            "or",
            "took_office",
            "<",
            "value"
        ],
        "question": "Who are the ministers who took office after 1961 or before 1959?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "ministers",
            "who",
            "took",
            "office",
            "after",
            "1961",
            "or",
            "before",
            "1959",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1961.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1959.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister FROM party WHERE party_name != 'Progress Party'",
        "query_toks": [
            "SELECT",
            "minister",
            "FROM",
            "party",
            "WHERE",
            "party_name",
            "!",
            "=",
            "'Progress",
            "Party",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            "from",
            "party",
            "where",
            "party_name",
            "!",
            "=",
            "value"
        ],
        "question": "Show all ministers who do not belong to Progress Party.",
        "question_toks": [
            "Show",
            "all",
            "ministers",
            "who",
            "do",
            "not",
            "belong",
            "to",
            "Progress",
            "Party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Progress Party\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister FROM party WHERE party_name != 'Progress Party'",
        "query_toks": [
            "SELECT",
            "minister",
            "FROM",
            "party",
            "WHERE",
            "party_name",
            "!",
            "=",
            "'Progress",
            "Party",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            "from",
            "party",
            "where",
            "party_name",
            "!",
            "=",
            "value"
        ],
        "question": "Which ministers are not a part of the Progress Party?",
        "question_toks": [
            "Which",
            "ministers",
            "are",
            "not",
            "a",
            "part",
            "of",
            "the",
            "Progress",
            "Party",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Progress Party\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister ,  party_name FROM party ORDER BY took_office DESC",
        "query_toks": [
            "SELECT",
            "minister",
            ",",
            "party_name",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "took_office",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            ",",
            "party_name",
            "from",
            "party",
            "order",
            "by",
            "took_office",
            "desc"
        ],
        "question": "Show all ministers and parties they belong to in descending order of the time they took office.",
        "question_toks": [
            "Show",
            "all",
            "ministers",
            "and",
            "parties",
            "they",
            "belong",
            "to",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "time",
            "they",
            "took",
            "office",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister ,  party_name FROM party ORDER BY took_office DESC",
        "query_toks": [
            "SELECT",
            "minister",
            ",",
            "party_name",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "took_office",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            ",",
            "party_name",
            "from",
            "party",
            "order",
            "by",
            "took_office",
            "desc"
        ],
        "question": "Who are the ministers and what parties do they belong to, listed descending by the times they took office?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "ministers",
            "and",
            "what",
            "parties",
            "do",
            "they",
            "belong",
            "to",
            ",",
            "listed",
            "descending",
            "by",
            "the",
            "times",
            "they",
            "took",
            "office",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister FROM party ORDER BY left_office DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "minister",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "left_office",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            "from",
            "party",
            "order",
            "by",
            "left_office",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the minister who left office at the latest time.",
        "question_toks": [
            "Return",
            "the",
            "minister",
            "who",
            "left",
            "office",
            "at",
            "the",
            "latest",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT minister FROM party ORDER BY left_office DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "minister",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "left_office",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "minister",
            "from",
            "party",
            "order",
            "by",
            "left_office",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which minister left office the latest?",
        "question_toks": [
            "Which",
            "minister",
            "left",
            "office",
            "the",
            "latest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T1.member_name ,  T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id",
        "query_toks": [
            "SELECT",
            "T1.member_name",
            ",",
            "T2.party_name",
            "FROM",
            "Member",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "member_name",
            ",",
            "t2",
            ".",
            "party_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id"
        ],
        "question": "List member names and their party names.",
        "question_toks": [
            "List",
            "member",
            "names",
            "and",
            "their",
            "party",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T1.member_name ,  T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id",
        "query_toks": [
            "SELECT",
            "T1.member_name",
            ",",
            "T2.party_name",
            "FROM",
            "Member",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "member_name",
            ",",
            "t2",
            ".",
            "party_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id"
        ],
        "question": "What are the names of members and their corresponding parties?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "members",
            "and",
            "their",
            "corresponding",
            "parties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T2.party_name ,  count(*) FROM Member AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id GROUP BY T1.party_id",
        "query_toks": [
            "SELECT",
            "T2.party_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Member",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "GROUP",
            "BY",
            "T1.party_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party_id"
        ],
        "question": "Show all party names and the number of members in each party.",
        "question_toks": [
            "Show",
            "all",
            "party",
            "names",
            "and",
            "the",
            "number",
            "of",
            "members",
            "in",
            "each",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T2.party_name ,  count(*) FROM Member AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id GROUP BY T1.party_id",
        "query_toks": [
            "SELECT",
            "T2.party_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Member",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "GROUP",
            "BY",
            "T1.party_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party_id"
        ],
        "question": "How many members are in each party?",
        "question_toks": [
            "How",
            "many",
            "members",
            "are",
            "in",
            "each",
            "party",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id GROUP BY T1.party_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.party_name",
            "FROM",
            "Member",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "GROUP",
            "BY",
            "T1.party_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of party with most number of members?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "party",
            "with",
            "most",
            "number",
            "of",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id GROUP BY T1.party_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.party_name",
            "FROM",
            "Member",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "GROUP",
            "BY",
            "T1.party_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name of the party with the most members.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "party",
            "with",
            "the",
            "most",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T1.party_name ,  T2.region_name FROM party AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id",
        "query_toks": [
            "SELECT",
            "T1.party_name",
            ",",
            "T2.region_name",
            "FROM",
            "party",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "party_name",
            ",",
            "t2",
            ".",
            "region_name",
            "from",
            "party",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id"
        ],
        "question": "Show all party names and their region names.",
        "question_toks": [
            "Show",
            "all",
            "party",
            "names",
            "and",
            "their",
            "region",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T1.party_name ,  T2.region_name FROM party AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id",
        "query_toks": [
            "SELECT",
            "T1.party_name",
            ",",
            "T2.region_name",
            "FROM",
            "party",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "party_name",
            ",",
            "t2",
            ".",
            "region_name",
            "from",
            "party",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id"
        ],
        "question": "What are the names of parties and their respective regions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "parties",
            "and",
            "their",
            "respective",
            "regions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT party_name FROM party WHERE party_id NOT IN (SELECT party_id FROM Member)",
        "query_toks": [
            "SELECT",
            "party_name",
            "FROM",
            "party",
            "WHERE",
            "party_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "party_id",
            "FROM",
            "Member",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "party_name",
            "from",
            "party",
            "where",
            "party_id",
            "not",
            "in",
            "(",
            "select",
            "party_id",
            "from",
            "member",
            ")"
        ],
        "question": "Show names of parties that does not have any members.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "parties",
            "that",
            "does",
            "not",
            "have",
            "any",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT party_name FROM party WHERE party_id NOT IN (SELECT party_id FROM Member)",
        "query_toks": [
            "SELECT",
            "party_name",
            "FROM",
            "party",
            "WHERE",
            "party_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "party_id",
            "FROM",
            "Member",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "party_name",
            "from",
            "party",
            "where",
            "party_id",
            "not",
            "in",
            "(",
            "select",
            "party_id",
            "from",
            "member",
            ")"
        ],
        "question": "What are the names of parties that have no members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "parties",
            "that",
            "have",
            "no",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT member_name FROM member WHERE party_id  =  3 INTERSECT SELECT member_name FROM member WHERE party_id  =  1",
        "query_toks": [
            "SELECT",
            "member_name",
            "FROM",
            "member",
            "WHERE",
            "party_id",
            "=",
            "3",
            "INTERSECT",
            "SELECT",
            "member_name",
            "FROM",
            "member",
            "WHERE",
            "party_id",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "member_name",
            "from",
            "member",
            "where",
            "party_id",
            "=",
            "value",
            "intersect",
            "select",
            "member_name",
            "from",
            "member",
            "where",
            "party_id",
            "=",
            "value"
        ],
        "question": "Show the member names which are in both the party with id 3 and the party with id 1.",
        "question_toks": [
            "Show",
            "the",
            "member",
            "names",
            "which",
            "are",
            "in",
            "both",
            "the",
            "party",
            "with",
            "id",
            "3",
            "and",
            "the",
            "party",
            "with",
            "id",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        1.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT member_name FROM member WHERE party_id  =  3 INTERSECT SELECT member_name FROM member WHERE party_id  =  1",
        "query_toks": [
            "SELECT",
            "member_name",
            "FROM",
            "member",
            "WHERE",
            "party_id",
            "=",
            "3",
            "INTERSECT",
            "SELECT",
            "member_name",
            "FROM",
            "member",
            "WHERE",
            "party_id",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "member_name",
            "from",
            "member",
            "where",
            "party_id",
            "=",
            "value",
            "intersect",
            "select",
            "member_name",
            "from",
            "member",
            "where",
            "party_id",
            "=",
            "value"
        ],
        "question": "Which member names are shared among members in the party with the id 3 and the party with the id 1?",
        "question_toks": [
            "Which",
            "member",
            "names",
            "are",
            "shared",
            "among",
            "members",
            "in",
            "the",
            "party",
            "with",
            "the",
            "id",
            "3",
            "and",
            "the",
            "party",
            "with",
            "the",
            "id",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        1.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T1.member_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id WHERE T2.Party_name != \"Progress Party\"",
        "query_toks": [
            "SELECT",
            "T1.member_name",
            "FROM",
            "Member",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "WHERE",
            "T2.Party_name",
            "!",
            "=",
            "``",
            "Progress",
            "Party",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "member_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "party_name",
            "!",
            "=",
            "value"
        ],
        "question": "Show member names that are not in the Progress Party.",
        "question_toks": [
            "Show",
            "member",
            "names",
            "that",
            "are",
            "not",
            "in",
            "the",
            "Progress",
            "Party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Progress Party\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T1.member_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id WHERE T2.Party_name != \"Progress Party\"",
        "query_toks": [
            "SELECT",
            "T1.member_name",
            "FROM",
            "Member",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "WHERE",
            "T2.Party_name",
            "!",
            "=",
            "``",
            "Progress",
            "Party",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "member_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "party_name",
            "!",
            "=",
            "value"
        ],
        "question": "Which member names corresponding to members who are not in the Progress Party?",
        "question_toks": [
            "Which",
            "member",
            "names",
            "corresponding",
            "to",
            "members",
            "who",
            "are",
            "not",
            "in",
            "the",
            "Progress",
            "Party",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Progress Party\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT count(*) FROM party_events",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "party_events"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "party_events"
        ],
        "question": "How many party events do we have?",
        "question_toks": [
            "How",
            "many",
            "party",
            "events",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT count(*) FROM party_events",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "party_events"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "party_events"
        ],
        "question": "Count the number of party events.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "party",
            "events",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T2.party_name ,  count(*) FROM party_events AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id GROUP BY T1.party_id",
        "query_toks": [
            "SELECT",
            "T2.party_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "party_events",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "GROUP",
            "BY",
            "T1.party_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "party_events",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party_id"
        ],
        "question": "Show party names and the number of events for each party.",
        "question_toks": [
            "Show",
            "party",
            "names",
            "and",
            "the",
            "number",
            "of",
            "events",
            "for",
            "each",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T2.party_name ,  count(*) FROM party_events AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id GROUP BY T1.party_id",
        "query_toks": [
            "SELECT",
            "T2.party_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "party_events",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "GROUP",
            "BY",
            "T1.party_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "party_events",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party_id"
        ],
        "question": "How many events are there for each party?",
        "question_toks": [
            "How",
            "many",
            "events",
            "are",
            "there",
            "for",
            "each",
            "party",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT member_name FROM member EXCEPT SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id  =  T2.member_in_charge_id",
        "query_toks": [
            "SELECT",
            "member_name",
            "FROM",
            "member",
            "EXCEPT",
            "SELECT",
            "T1.member_name",
            "FROM",
            "member",
            "AS",
            "T1",
            "JOIN",
            "party_events",
            "AS",
            "T2",
            "ON",
            "T1.member_id",
            "=",
            "T2.member_in_charge_id"
        ],
        "query_toks_no_value": [
            "select",
            "member_name",
            "from",
            "member",
            "except",
            "select",
            "t1",
            ".",
            "member_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_in_charge_id"
        ],
        "question": "Show all member names who are not in charge of any event.",
        "question_toks": [
            "Show",
            "all",
            "member",
            "names",
            "who",
            "are",
            "not",
            "in",
            "charge",
            "of",
            "any",
            "event",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT member_name FROM member EXCEPT SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id  =  T2.member_in_charge_id",
        "query_toks": [
            "SELECT",
            "member_name",
            "FROM",
            "member",
            "EXCEPT",
            "SELECT",
            "T1.member_name",
            "FROM",
            "member",
            "AS",
            "T1",
            "JOIN",
            "party_events",
            "AS",
            "T2",
            "ON",
            "T1.member_id",
            "=",
            "T2.member_in_charge_id"
        ],
        "query_toks_no_value": [
            "select",
            "member_name",
            "from",
            "member",
            "except",
            "select",
            "t1",
            ".",
            "member_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_in_charge_id"
        ],
        "question": "What are the names of members who are not in charge of any events?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "members",
            "who",
            "are",
            "not",
            "in",
            "charge",
            "of",
            "any",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T2.party_name FROM party_events AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id GROUP BY T1.party_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.party_name",
            "FROM",
            "party_events",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "GROUP",
            "BY",
            "T1.party_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party_name",
            "from",
            "party_events",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of parties with at least 2 events?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "parties",
            "with",
            "at",
            "least",
            "2",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T2.party_name FROM party_events AS T1 JOIN party AS T2 ON T1.party_id  =  T2.party_id GROUP BY T1.party_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.party_name",
            "FROM",
            "party_events",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.party_id",
            "=",
            "T2.party_id",
            "GROUP",
            "BY",
            "T1.party_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party_name",
            "from",
            "party_events",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Return the names of parties that have two or more events.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "parties",
            "that",
            "have",
            "two",
            "or",
            "more",
            "events",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id  =  T2.member_in_charge_id GROUP BY T2.member_in_charge_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.member_name",
            "FROM",
            "member",
            "AS",
            "T1",
            "JOIN",
            "party_events",
            "AS",
            "T2",
            "ON",
            "T1.member_id",
            "=",
            "T2.member_in_charge_id",
            "GROUP",
            "BY",
            "T2.member_in_charge_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "member_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_in_charge_id",
            "group",
            "by",
            "t2",
            ".",
            "member_in_charge_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of member in charge of greatest number of events?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "member",
            "in",
            "charge",
            "of",
            "greatest",
            "number",
            "of",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id  =  T2.member_in_charge_id GROUP BY T2.member_in_charge_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.member_name",
            "FROM",
            "member",
            "AS",
            "T1",
            "JOIN",
            "party_events",
            "AS",
            "T2",
            "ON",
            "T1.member_id",
            "=",
            "T2.member_in_charge_id",
            "GROUP",
            "BY",
            "T2.member_in_charge_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "member_name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "party_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_in_charge_id",
            "group",
            "by",
            "t2",
            ".",
            "member_in_charge_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name of the member who is in charge of the most events.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "member",
            "who",
            "is",
            "in",
            "charge",
            "of",
            "the",
            "most",
            "events",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT event_name FROM party_events GROUP BY event_name HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "event_name",
            "FROM",
            "party_events",
            "GROUP",
            "BY",
            "event_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "event_name",
            "from",
            "party_events",
            "group",
            "by",
            "event_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "find the event names that have more than 2 records.",
        "question_toks": [
            "find",
            "the",
            "event",
            "names",
            "that",
            "have",
            "more",
            "than",
            "2",
            "records",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT event_name FROM party_events GROUP BY event_name HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "event_name",
            "FROM",
            "party_events",
            "GROUP",
            "BY",
            "event_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "event_name",
            "from",
            "party_events",
            "group",
            "by",
            "event_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which event names were used more than twice for party events?",
        "question_toks": [
            "Which",
            "event",
            "names",
            "were",
            "used",
            "more",
            "than",
            "twice",
            "for",
            "party",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT count(*) FROM region AS t1 JOIN party AS t2 ON t1.region_id  =  t2.region_id JOIN party_events AS t3 ON t2.party_id  =  t3.party_id WHERE t1.region_name  =  \"United Kingdom\" AND t3.Event_Name  =  \"Annaual Meeting\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "region",
            "AS",
            "t1",
            "JOIN",
            "party",
            "AS",
            "t2",
            "ON",
            "t1.region_id",
            "=",
            "t2.region_id",
            "JOIN",
            "party_events",
            "AS",
            "t3",
            "ON",
            "t2.party_id",
            "=",
            "t3.party_id",
            "WHERE",
            "t1.region_name",
            "=",
            "``",
            "United",
            "Kingdom",
            "''",
            "AND",
            "t3.Event_Name",
            "=",
            "``",
            "Annaual",
            "Meeting",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "region",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "party_events",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "region_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "event_name",
            "=",
            "value"
        ],
        "question": "How many Annual Meeting events happened in the United Kingdom region?",
        "question_toks": [
            "How",
            "many",
            "Annual",
            "Meeting",
            "events",
            "happened",
            "in",
            "the",
            "United",
            "Kingdom",
            "region",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Kingdom\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Annaual Meeting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_people",
        "query": "SELECT count(*) FROM region AS t1 JOIN party AS t2 ON t1.region_id  =  t2.region_id JOIN party_events AS t3 ON t2.party_id  =  t3.party_id WHERE t1.region_name  =  \"United Kingdom\" AND t3.Event_Name  =  \"Annaual Meeting\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "region",
            "AS",
            "t1",
            "JOIN",
            "party",
            "AS",
            "t2",
            "ON",
            "t1.region_id",
            "=",
            "t2.region_id",
            "JOIN",
            "party_events",
            "AS",
            "t3",
            "ON",
            "t2.party_id",
            "=",
            "t3.party_id",
            "WHERE",
            "t1.region_name",
            "=",
            "``",
            "United",
            "Kingdom",
            "''",
            "AND",
            "t3.Event_Name",
            "=",
            "``",
            "Annaual",
            "Meeting",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "region",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "party_events",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "region_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "event_name",
            "=",
            "value"
        ],
        "question": "Count the number of Annual Meeting events that took place in the region of the United Kingdom.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "Annual",
            "Meeting",
            "events",
            "that",
            "took",
            "place",
            "in",
            "the",
            "region",
            "of",
            "the",
            "United",
            "Kingdom",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"United Kingdom\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Annaual Meeting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT count(*) FROM pilot",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "pilot"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "pilot"
        ],
        "question": "How many pilots are there?",
        "question_toks": [
            "How",
            "many",
            "pilots",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT Pilot_name FROM pilot ORDER BY Rank ASC",
        "query_toks": [
            "SELECT",
            "Pilot_name",
            "FROM",
            "pilot",
            "ORDER",
            "BY",
            "Rank",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "pilot_name",
            "from",
            "pilot",
            "order",
            "by",
            "rank",
            "asc"
        ],
        "question": "List the names of pilots in ascending order of rank.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "pilots",
            "in",
            "ascending",
            "order",
            "of",
            "rank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT POSITION ,  Team FROM pilot",
        "query_toks": [
            "SELECT",
            "POSITION",
            ",",
            "Team",
            "FROM",
            "pilot"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            ",",
            "team",
            "from",
            "pilot"
        ],
        "question": "What are the positions and teams of pilots?",
        "question_toks": [
            "What",
            "are",
            "the",
            "positions",
            "and",
            "teams",
            "of",
            "pilots",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT DISTINCT POSITION FROM pilot WHERE Age  >  30",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "POSITION",
            "FROM",
            "pilot",
            "WHERE",
            "Age",
            ">",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "position",
            "from",
            "pilot",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "List the distinct positions of pilots older than 30.",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "positions",
            "of",
            "pilots",
            "older",
            "than",
            "30",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT Pilot_name FROM pilot WHERE Team  =  \"Bradley\" OR Team  =  \"Fordham\"",
        "query_toks": [
            "SELECT",
            "Pilot_name",
            "FROM",
            "pilot",
            "WHERE",
            "Team",
            "=",
            "``",
            "Bradley",
            "''",
            "OR",
            "Team",
            "=",
            "``",
            "Fordham",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "pilot_name",
            "from",
            "pilot",
            "where",
            "team",
            "=",
            "value",
            "or",
            "team",
            "=",
            "value"
        ],
        "question": "Show the names of pilots from team \"Bradley\" or \"Fordham\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "pilots",
            "from",
            "team",
            "``",
            "Bradley",
            "''",
            "or",
            "``",
            "Fordham",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Bradley\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Fordham\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT Join_Year FROM pilot ORDER BY Rank ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Join_Year",
            "FROM",
            "pilot",
            "ORDER",
            "BY",
            "Rank",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "join_year",
            "from",
            "pilot",
            "order",
            "by",
            "rank",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the joined year of the pilot of the highest rank?",
        "question_toks": [
            "What",
            "is",
            "the",
            "joined",
            "year",
            "of",
            "the",
            "pilot",
            "of",
            "the",
            "highest",
            "rank",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT Nationality ,  COUNT(*) FROM pilot GROUP BY Nationality",
        "query_toks": [
            "SELECT",
            "Nationality",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "pilot",
            "GROUP",
            "BY",
            "Nationality"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "pilot",
            "group",
            "by",
            "nationality"
        ],
        "question": "What are the different nationalities of pilots? Show each nationality and the number of pilots of each nationality.",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "nationalities",
            "of",
            "pilots",
            "?",
            "Show",
            "each",
            "nationality",
            "and",
            "the",
            "number",
            "of",
            "pilots",
            "of",
            "each",
            "nationality",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT Nationality FROM pilot GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "pilot",
            "GROUP",
            "BY",
            "Nationality",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "pilot",
            "group",
            "by",
            "nationality",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common nationality of pilots.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "nationality",
            "of",
            "pilots",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT POSITION FROM pilot WHERE Join_Year\t <  2000 INTERSECT SELECT POSITION FROM pilot WHERE Join_Year\t >  2005",
        "query_toks": [
            "SELECT",
            "POSITION",
            "FROM",
            "pilot",
            "WHERE",
            "Join_Year",
            "<",
            "2000",
            "INTERSECT",
            "SELECT",
            "POSITION",
            "FROM",
            "pilot",
            "WHERE",
            "Join_Year",
            ">",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            "from",
            "pilot",
            "where",
            "join_year",
            "<",
            "value",
            "intersect",
            "select",
            "position",
            "from",
            "pilot",
            "where",
            "join_year",
            ">",
            "value"
        ],
        "question": "Show the pilot positions that have both pilots joining after year 2005 and pilots joining before 2000.",
        "question_toks": [
            "Show",
            "the",
            "pilot",
            "positions",
            "that",
            "have",
            "both",
            "pilots",
            "joining",
            "after",
            "year",
            "2005",
            "and",
            "pilots",
            "joining",
            "before",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        2005.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT T3.Pilot_name ,  T2.Model FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID  =  T3.Pilot_ID",
        "query_toks": [
            "SELECT",
            "T3.Pilot_name",
            ",",
            "T2.Model",
            "FROM",
            "pilot_record",
            "AS",
            "T1",
            "JOIN",
            "aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "pilot",
            "AS",
            "T3",
            "ON",
            "T1.Pilot_ID",
            "=",
            "T3.Pilot_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "pilot_name",
            ",",
            "t2",
            ".",
            "model",
            "from",
            "pilot_record",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "pilot",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t3",
            ".",
            "pilot_id"
        ],
        "question": "Show the names of pilots and models of aircrafts they have flied with.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "pilots",
            "and",
            "models",
            "of",
            "aircrafts",
            "they",
            "have",
            "flied",
            "with",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT T3.Pilot_name ,  T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID  =  T3.Pilot_ID ORDER BY T3.Rank",
        "query_toks": [
            "SELECT",
            "T3.Pilot_name",
            ",",
            "T2.Fleet_Series",
            "FROM",
            "pilot_record",
            "AS",
            "T1",
            "JOIN",
            "aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "pilot",
            "AS",
            "T3",
            "ON",
            "T1.Pilot_ID",
            "=",
            "T3.Pilot_ID",
            "ORDER",
            "BY",
            "T3.Rank"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "pilot_name",
            ",",
            "t2",
            ".",
            "fleet_series",
            "from",
            "pilot_record",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "pilot",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t3",
            ".",
            "pilot_id",
            "order",
            "by",
            "t3",
            ".",
            "rank"
        ],
        "question": "Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "pilots",
            "and",
            "fleet",
            "series",
            "of",
            "the",
            "aircrafts",
            "they",
            "have",
            "flied",
            "with",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "rank",
            "of",
            "the",
            "pilot",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID  =  T3.Pilot_ID WHERE T3.Age  <  34",
        "query_toks": [
            "SELECT",
            "T2.Fleet_Series",
            "FROM",
            "pilot_record",
            "AS",
            "T1",
            "JOIN",
            "aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "pilot",
            "AS",
            "T3",
            "ON",
            "T1.Pilot_ID",
            "=",
            "T3.Pilot_ID",
            "WHERE",
            "T3.Age",
            "<",
            "34"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fleet_series",
            "from",
            "pilot_record",
            "as",
            "t1",
            "join",
            "aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "pilot",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t3",
            ".",
            "pilot_id",
            "where",
            "t3",
            ".",
            "age",
            "<",
            "value"
        ],
        "question": "Show the fleet series of the aircrafts flied by pilots younger than 34",
        "question_toks": [
            "Show",
            "the",
            "fleet",
            "series",
            "of",
            "the",
            "aircrafts",
            "flied",
            "by",
            "pilots",
            "younger",
            "than",
            "34"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    34.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT T2.Pilot_name ,  COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID  =  T2.pilot_ID GROUP BY T2.Pilot_name",
        "query_toks": [
            "SELECT",
            "T2.Pilot_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "pilot_record",
            "AS",
            "T1",
            "JOIN",
            "pilot",
            "AS",
            "T2",
            "ON",
            "T1.pilot_ID",
            "=",
            "T2.pilot_ID",
            "GROUP",
            "BY",
            "T2.Pilot_name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "pilot_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "pilot_record",
            "as",
            "t1",
            "join",
            "pilot",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t2",
            ".",
            "pilot_id",
            "group",
            "by",
            "t2",
            ".",
            "pilot_name"
        ],
        "question": "Show the names of pilots and the number of records they have.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "pilots",
            "and",
            "the",
            "number",
            "of",
            "records",
            "they",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT T2.Pilot_name ,  COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID  =  T2.pilot_ID GROUP BY T2.Pilot_name HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Pilot_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "pilot_record",
            "AS",
            "T1",
            "JOIN",
            "pilot",
            "AS",
            "T2",
            "ON",
            "T1.pilot_ID",
            "=",
            "T2.pilot_ID",
            "GROUP",
            "BY",
            "T2.Pilot_name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "pilot_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "pilot_record",
            "as",
            "t1",
            "join",
            "pilot",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t2",
            ".",
            "pilot_id",
            "group",
            "by",
            "t2",
            ".",
            "pilot_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show names of pilots that have more than one record.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "pilots",
            "that",
            "have",
            "more",
            "than",
            "one",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "pilot_record",
        "query": "SELECT Pilot_name FROM pilot WHERE Pilot_ID NOT IN (SELECT Pilot_ID FROM pilot_record)",
        "query_toks": [
            "SELECT",
            "Pilot_name",
            "FROM",
            "pilot",
            "WHERE",
            "Pilot_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Pilot_ID",
            "FROM",
            "pilot_record",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "pilot_name",
            "from",
            "pilot",
            "where",
            "pilot_id",
            "not",
            "in",
            "(",
            "select",
            "pilot_id",
            "from",
            "pilot_record",
            ")"
        ],
        "question": "List the names of pilots that do not have any record.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "pilots",
            "that",
            "do",
            "not",
            "have",
            "any",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_status_code FROM Ref_Document_Status;",
        "query_toks": [
            "SELECT",
            "document_status_code",
            "FROM",
            "Ref_Document_Status",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_status_code",
            "from",
            "ref_document_status"
        ],
        "question": "What document status codes do we have?",
        "question_toks": [
            "What",
            "document",
            "status",
            "codes",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_status_description FROM Ref_Document_Status WHERE document_status_code = \"working\";",
        "query_toks": [
            "SELECT",
            "document_status_description",
            "FROM",
            "Ref_Document_Status",
            "WHERE",
            "document_status_code",
            "=",
            "``",
            "working",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_status_description",
            "from",
            "ref_document_status",
            "where",
            "document_status_code",
            "=",
            "value"
        ],
        "question": "What is the description of document status code 'working'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "document",
            "status",
            "code",
            "'working",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"working\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_type_code FROM Ref_Document_Types;",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Ref_Document_Types",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "ref_document_types"
        ],
        "question": "What document type codes do we have?",
        "question_toks": [
            "What",
            "document",
            "type",
            "codes",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_type_description FROM Ref_Document_Types WHERE document_type_code = \"Paper\";",
        "query_toks": [
            "SELECT",
            "document_type_description",
            "FROM",
            "Ref_Document_Types",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "Paper",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_description",
            "from",
            "ref_document_types",
            "where",
            "document_type_code",
            "=",
            "value"
        ],
        "question": "What is the description of document type 'Paper'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "document",
            "type",
            "'Paper",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Paper\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT shipping_agent_name FROM Ref_Shipping_Agents;",
        "query_toks": [
            "SELECT",
            "shipping_agent_name",
            "FROM",
            "Ref_Shipping_Agents",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "shipping_agent_name",
            "from",
            "ref_shipping_agents"
        ],
        "question": "What are the shipping agent names?",
        "question_toks": [
            "What",
            "are",
            "the",
            "shipping",
            "agent",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT shipping_agent_code FROM Ref_Shipping_Agents WHERE shipping_agent_name = \"UPS\";",
        "query_toks": [
            "SELECT",
            "shipping_agent_code",
            "FROM",
            "Ref_Shipping_Agents",
            "WHERE",
            "shipping_agent_name",
            "=",
            "``",
            "UPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "shipping_agent_code",
            "from",
            "ref_shipping_agents",
            "where",
            "shipping_agent_name",
            "=",
            "value"
        ],
        "question": "What is the shipping agent code of shipping agent UPS?",
        "question_toks": [
            "What",
            "is",
            "the",
            "shipping",
            "agent",
            "code",
            "of",
            "shipping",
            "agent",
            "UPS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"UPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT role_code FROM ROLES;",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "ROLES",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "roles"
        ],
        "question": "What are all role codes?",
        "question_toks": [
            "What",
            "are",
            "all",
            "role",
            "codes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT role_description FROM ROLES WHERE role_code = \"ED\";",
        "query_toks": [
            "SELECT",
            "role_description",
            "FROM",
            "ROLES",
            "WHERE",
            "role_code",
            "=",
            "``",
            "ED",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "role_description",
            "from",
            "roles",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "What is the description of role code ED?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "role",
            "code",
            "ED",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"ED\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT count(*) FROM Employees;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employees",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees"
        ],
        "question": "How many employees do we have?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT T1.role_description FROM ROLES AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code WHERE T2.employee_name = \"Koby\";",
        "query_toks": [
            "SELECT",
            "T1.role_description",
            "FROM",
            "ROLES",
            "AS",
            "T1",
            "JOIN",
            "Employees",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "WHERE",
            "T2.employee_name",
            "=",
            "``",
            "Koby",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "role_description",
            "from",
            "roles",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "where",
            "t2",
            ".",
            "employee_name",
            "=",
            "value"
        ],
        "question": "What is the role of the employee named Koby?",
        "question_toks": [
            "What",
            "is",
            "the",
            "role",
            "of",
            "the",
            "employee",
            "named",
            "Koby",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Koby\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_id ,  receipt_date FROM Documents;",
        "query_toks": [
            "SELECT",
            "document_id",
            ",",
            "receipt_date",
            "FROM",
            "Documents",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            ",",
            "receipt_date",
            "from",
            "documents"
        ],
        "question": "List all document ids and receipt dates of documents.",
        "question_toks": [
            "List",
            "all",
            "document",
            "ids",
            "and",
            "receipt",
            "dates",
            "of",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT T1.role_description ,  T2.role_code ,  count(*) FROM ROLES AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code GROUP BY T2.role_code;",
        "query_toks": [
            "SELECT",
            "T1.role_description",
            ",",
            "T2.role_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ROLES",
            "AS",
            "T1",
            "JOIN",
            "Employees",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "GROUP",
            "BY",
            "T2.role_code",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "role_description",
            ",",
            "t2",
            ".",
            "role_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "roles",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "group",
            "by",
            "t2",
            ".",
            "role_code"
        ],
        "question": "How many employees does each role have? List role description, id and number of employees.",
        "question_toks": [
            "How",
            "many",
            "employees",
            "does",
            "each",
            "role",
            "have",
            "?",
            "List",
            "role",
            "description",
            ",",
            "id",
            "and",
            "number",
            "of",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT Roles.role_description , count(Employees.employee_id) FROM ROLES JOIN Employees ON Employees.role_code = Roles.role_code GROUP BY Employees.role_code HAVING count(Employees.employee_id)  >  1;",
        "query_toks": [
            "SELECT",
            "Roles.role_description",
            ",",
            "count",
            "(",
            "Employees.employee_id",
            ")",
            "FROM",
            "ROLES",
            "JOIN",
            "Employees",
            "ON",
            "Employees.role_code",
            "=",
            "Roles.role_code",
            "GROUP",
            "BY",
            "Employees.role_code",
            "HAVING",
            "count",
            "(",
            "Employees.employee_id",
            ")",
            ">",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roles.role_description",
            ",",
            "count",
            "(",
            "employees.employee_id",
            ")",
            "from",
            "roles",
            "join",
            "employees",
            "on",
            "employees.role_code",
            "=",
            "roles.role_code",
            "group",
            "by",
            "employees.role_code",
            "having",
            "count",
            "(",
            "employees.employee_id",
            ")",
            ">",
            "value"
        ],
        "question": "List roles that have more than one employee. List the role description and number of employees.",
        "question_toks": [
            "List",
            "roles",
            "that",
            "have",
            "more",
            "than",
            "one",
            "employee",
            ".",
            "List",
            "the",
            "role",
            "description",
            "and",
            "number",
            "of",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT Ref_Document_Status.document_status_description FROM Ref_Document_Status JOIN Documents ON Documents.document_status_code = Ref_Document_Status.document_status_code WHERE Documents.document_id = 1;",
        "query_toks": [
            "SELECT",
            "Ref_Document_Status.document_status_description",
            "FROM",
            "Ref_Document_Status",
            "JOIN",
            "Documents",
            "ON",
            "Documents.document_status_code",
            "=",
            "Ref_Document_Status.document_status_code",
            "WHERE",
            "Documents.document_id",
            "=",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "ref_document_status.document_status_description",
            "from",
            "ref_document_status",
            "join",
            "documents",
            "on",
            "documents.document_status_code",
            "=",
            "ref_document_status.document_status_code",
            "where",
            "documents.document_id",
            "=",
            "value"
        ],
        "question": "What is the document status description of the document with id 1?",
        "question_toks": [
            "What",
            "is",
            "the",
            "document",
            "status",
            "description",
            "of",
            "the",
            "document",
            "with",
            "id",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT count(*) FROM Documents WHERE document_status_code = \"done\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "WHERE",
            "document_status_code",
            "=",
            "``",
            "done",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "where",
            "document_status_code",
            "=",
            "value"
        ],
        "question": "How many documents have the status code done?",
        "question_toks": [
            "How",
            "many",
            "documents",
            "have",
            "the",
            "status",
            "code",
            "done",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"done\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_type_code FROM Documents WHERE document_id = 2;",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Documents",
            "WHERE",
            "document_id",
            "=",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "where",
            "document_id",
            "=",
            "value"
        ],
        "question": "List the document type code for the document with the id 2.",
        "question_toks": [
            "List",
            "the",
            "document",
            "type",
            "code",
            "for",
            "the",
            "document",
            "with",
            "the",
            "id",
            "2",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_id FROM Documents WHERE document_status_code = \"done\" AND document_type_code = \"Paper\";",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_status_code",
            "=",
            "``",
            "done",
            "''",
            "AND",
            "document_type_code",
            "=",
            "``",
            "Paper",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents",
            "where",
            "document_status_code",
            "=",
            "value",
            "and",
            "document_type_code",
            "=",
            "value"
        ],
        "question": "List the document ids for any documents with the status code done and the type code paper.",
        "question_toks": [
            "List",
            "the",
            "document",
            "ids",
            "for",
            "any",
            "documents",
            "with",
            "the",
            "status",
            "code",
            "done",
            "and",
            "the",
            "type",
            "code",
            "paper",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"done\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Paper\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT Ref_Shipping_Agents.shipping_agent_name FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Documents.document_id = 2;",
        "query_toks": [
            "SELECT",
            "Ref_Shipping_Agents.shipping_agent_name",
            "FROM",
            "Ref_Shipping_Agents",
            "JOIN",
            "Documents",
            "ON",
            "Documents.shipping_agent_code",
            "=",
            "Ref_Shipping_Agents.shipping_agent_code",
            "WHERE",
            "Documents.document_id",
            "=",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "ref_shipping_agents.shipping_agent_name",
            "from",
            "ref_shipping_agents",
            "join",
            "documents",
            "on",
            "documents.shipping_agent_code",
            "=",
            "ref_shipping_agents.shipping_agent_code",
            "where",
            "documents.document_id",
            "=",
            "value"
        ],
        "question": "What is the name of the shipping agent of the document with id 2?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "shipping",
            "agent",
            "of",
            "the",
            "document",
            "with",
            "id",
            "2",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT count(*) FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = \"USPS\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_Shipping_Agents",
            "JOIN",
            "Documents",
            "ON",
            "Documents.shipping_agent_code",
            "=",
            "Ref_Shipping_Agents.shipping_agent_code",
            "WHERE",
            "Ref_Shipping_Agents.shipping_agent_name",
            "=",
            "``",
            "USPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_shipping_agents",
            "join",
            "documents",
            "on",
            "documents.shipping_agent_code",
            "=",
            "ref_shipping_agents.shipping_agent_code",
            "where",
            "ref_shipping_agents.shipping_agent_name",
            "=",
            "value"
        ],
        "question": "How many documents were shipped by USPS?",
        "question_toks": [
            "How",
            "many",
            "documents",
            "were",
            "shipped",
            "by",
            "USPS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"USPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT Ref_Shipping_Agents.shipping_agent_name , count(Documents.document_id) FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code GROUP BY Ref_Shipping_Agents.shipping_agent_code ORDER BY count(Documents.document_id) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Ref_Shipping_Agents.shipping_agent_name",
            ",",
            "count",
            "(",
            "Documents.document_id",
            ")",
            "FROM",
            "Ref_Shipping_Agents",
            "JOIN",
            "Documents",
            "ON",
            "Documents.shipping_agent_code",
            "=",
            "Ref_Shipping_Agents.shipping_agent_code",
            "GROUP",
            "BY",
            "Ref_Shipping_Agents.shipping_agent_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "Documents.document_id",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "ref_shipping_agents.shipping_agent_name",
            ",",
            "count",
            "(",
            "documents.document_id",
            ")",
            "from",
            "ref_shipping_agents",
            "join",
            "documents",
            "on",
            "documents.shipping_agent_code",
            "=",
            "ref_shipping_agents.shipping_agent_code",
            "group",
            "by",
            "ref_shipping_agents.shipping_agent_code",
            "order",
            "by",
            "count",
            "(",
            "documents.document_id",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which shipping agent shipped the most documents? List the shipping agent name and the number of documents.",
        "question_toks": [
            "Which",
            "shipping",
            "agent",
            "shipped",
            "the",
            "most",
            "documents",
            "?",
            "List",
            "the",
            "shipping",
            "agent",
            "name",
            "and",
            "the",
            "number",
            "of",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT receipt_date FROM Documents WHERE document_id = 3;",
        "query_toks": [
            "SELECT",
            "receipt_date",
            "FROM",
            "Documents",
            "WHERE",
            "document_id",
            "=",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "receipt_date",
            "from",
            "documents",
            "where",
            "document_id",
            "=",
            "value"
        ],
        "question": "What is the receipt date of the document with id 3?",
        "question_toks": [
            "What",
            "is",
            "the",
            "receipt",
            "date",
            "of",
            "the",
            "document",
            "with",
            "id",
            "3",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT Addresses.address_details FROM Addresses JOIN Documents_Mailed ON Documents_Mailed.mailed_to_address_id = Addresses.address_id WHERE document_id = 4;",
        "query_toks": [
            "SELECT",
            "Addresses.address_details",
            "FROM",
            "Addresses",
            "JOIN",
            "Documents_Mailed",
            "ON",
            "Documents_Mailed.mailed_to_address_id",
            "=",
            "Addresses.address_id",
            "WHERE",
            "document_id",
            "=",
            "4",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "addresses.address_details",
            "from",
            "addresses",
            "join",
            "documents_mailed",
            "on",
            "documents_mailed.mailed_to_address_id",
            "=",
            "addresses.address_id",
            "where",
            "document_id",
            "=",
            "value"
        ],
        "question": "What address was the document with id 4 mailed to?",
        "question_toks": [
            "What",
            "address",
            "was",
            "the",
            "document",
            "with",
            "id",
            "4",
            "mailed",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT mailing_date FROM Documents_Mailed WHERE document_id = 7;",
        "query_toks": [
            "SELECT",
            "mailing_date",
            "FROM",
            "Documents_Mailed",
            "WHERE",
            "document_id",
            "=",
            "7",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "mailing_date",
            "from",
            "documents_mailed",
            "where",
            "document_id",
            "=",
            "value"
        ],
        "question": "What is the mail date of the document with id 7?",
        "question_toks": [
            "What",
            "is",
            "the",
            "mail",
            "date",
            "of",
            "the",
            "document",
            "with",
            "id",
            "7",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    7.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_id FROM Documents WHERE document_status_code  =  \"done\" AND document_type_code = \"Paper\" EXCEPT SELECT document_id FROM Documents JOIN Ref_Shipping_Agents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = \"USPS\";",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_status_code",
            "=",
            "``",
            "done",
            "''",
            "AND",
            "document_type_code",
            "=",
            "``",
            "Paper",
            "''",
            "EXCEPT",
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "JOIN",
            "Ref_Shipping_Agents",
            "ON",
            "Documents.shipping_agent_code",
            "=",
            "Ref_Shipping_Agents.shipping_agent_code",
            "WHERE",
            "Ref_Shipping_Agents.shipping_agent_name",
            "=",
            "``",
            "USPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents",
            "where",
            "document_status_code",
            "=",
            "value",
            "and",
            "document_type_code",
            "=",
            "value",
            "except",
            "select",
            "document_id",
            "from",
            "documents",
            "join",
            "ref_shipping_agents",
            "on",
            "documents.shipping_agent_code",
            "=",
            "ref_shipping_agents.shipping_agent_code",
            "where",
            "ref_shipping_agents.shipping_agent_name",
            "=",
            "value"
        ],
        "question": "List the document ids of documents with the status done and type Paper, which not shipped by the shipping agent named USPS.",
        "question_toks": [
            "List",
            "the",
            "document",
            "ids",
            "of",
            "documents",
            "with",
            "the",
            "status",
            "done",
            "and",
            "type",
            "Paper",
            ",",
            "which",
            "not",
            "shipped",
            "by",
            "the",
            "shipping",
            "agent",
            "named",
            "USPS",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"done\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Paper\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"USPS\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_id FROM Documents WHERE document_status_code  =  \"done\" AND document_type_code = \"Paper\" INTERSECT SELECT document_id FROM Documents JOIN Ref_Shipping_Agents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = \"USPS\";",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_status_code",
            "=",
            "``",
            "done",
            "''",
            "AND",
            "document_type_code",
            "=",
            "``",
            "Paper",
            "''",
            "INTERSECT",
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "JOIN",
            "Ref_Shipping_Agents",
            "ON",
            "Documents.shipping_agent_code",
            "=",
            "Ref_Shipping_Agents.shipping_agent_code",
            "WHERE",
            "Ref_Shipping_Agents.shipping_agent_name",
            "=",
            "``",
            "USPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents",
            "where",
            "document_status_code",
            "=",
            "value",
            "and",
            "document_type_code",
            "=",
            "value",
            "intersect",
            "select",
            "document_id",
            "from",
            "documents",
            "join",
            "ref_shipping_agents",
            "on",
            "documents.shipping_agent_code",
            "=",
            "ref_shipping_agents.shipping_agent_code",
            "where",
            "ref_shipping_agents.shipping_agent_name",
            "=",
            "value"
        ],
        "question": "List document id of documents status is done and document type is Paper and the document is shipped by shipping agent named USPS.",
        "question_toks": [
            "List",
            "document",
            "id",
            "of",
            "documents",
            "status",
            "is",
            "done",
            "and",
            "document",
            "type",
            "is",
            "Paper",
            "and",
            "the",
            "document",
            "is",
            "shipped",
            "by",
            "shipping",
            "agent",
            "named",
            "USPS",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"done\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Paper\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"USPS\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT draft_details FROM Document_Drafts WHERE document_id = 7;",
        "query_toks": [
            "SELECT",
            "draft_details",
            "FROM",
            "Document_Drafts",
            "WHERE",
            "document_id",
            "=",
            "7",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "draft_details",
            "from",
            "document_drafts",
            "where",
            "document_id",
            "=",
            "value"
        ],
        "question": "What is draft detail of the document with id 7?",
        "question_toks": [
            "What",
            "is",
            "draft",
            "detail",
            "of",
            "the",
            "document",
            "with",
            "id",
            "7",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    7.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT count(*) FROM Draft_Copies WHERE document_id = 2;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Draft_Copies",
            "WHERE",
            "document_id",
            "=",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "draft_copies",
            "where",
            "document_id",
            "=",
            "value"
        ],
        "question": "How many draft copies does the document with id 2 have?",
        "question_toks": [
            "How",
            "many",
            "draft",
            "copies",
            "does",
            "the",
            "document",
            "with",
            "id",
            "2",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_id , count(copy_number) FROM Draft_Copies GROUP BY document_id ORDER BY count(copy_number) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "document_id",
            ",",
            "count",
            "(",
            "copy_number",
            ")",
            "FROM",
            "Draft_Copies",
            "GROUP",
            "BY",
            "document_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "copy_number",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            ",",
            "count",
            "(",
            "copy_number",
            ")",
            "from",
            "draft_copies",
            "group",
            "by",
            "document_id",
            "order",
            "by",
            "count",
            "(",
            "copy_number",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which document has the most draft copies? List its document id and number of draft copies.",
        "question_toks": [
            "Which",
            "document",
            "has",
            "the",
            "most",
            "draft",
            "copies",
            "?",
            "List",
            "its",
            "document",
            "id",
            "and",
            "number",
            "of",
            "draft",
            "copies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_id , count(*) FROM Draft_Copies GROUP BY document_id HAVING count(*)  >  1;",
        "query_toks": [
            "SELECT",
            "document_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Draft_Copies",
            "GROUP",
            "BY",
            "document_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "draft_copies",
            "group",
            "by",
            "document_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which documents have more than 1 draft copies? List document id and number of draft copies.",
        "question_toks": [
            "Which",
            "documents",
            "have",
            "more",
            "than",
            "1",
            "draft",
            "copies",
            "?",
            "List",
            "document",
            "id",
            "and",
            "number",
            "of",
            "draft",
            "copies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id WHERE Circulation_History.document_id = 1;",
        "query_toks": [
            "SELECT",
            "Employees.employee_name",
            "FROM",
            "Employees",
            "JOIN",
            "Circulation_History",
            "ON",
            "Circulation_History.employee_id",
            "=",
            "Employees.employee_id",
            "WHERE",
            "Circulation_History.document_id",
            "=",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "employees.employee_name",
            "from",
            "employees",
            "join",
            "circulation_history",
            "on",
            "circulation_history.employee_id",
            "=",
            "employees.employee_id",
            "where",
            "circulation_history.document_id",
            "=",
            "value"
        ],
        "question": "List all employees in the circulation history of the document with id 1. List the employee's name.",
        "question_toks": [
            "List",
            "all",
            "employees",
            "in",
            "the",
            "circulation",
            "history",
            "of",
            "the",
            "document",
            "with",
            "id",
            "1",
            ".",
            "List",
            "the",
            "employee",
            "'s",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT employee_name FROM Employees EXCEPT SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id",
        "query_toks": [
            "SELECT",
            "employee_name",
            "FROM",
            "Employees",
            "EXCEPT",
            "SELECT",
            "Employees.employee_name",
            "FROM",
            "Employees",
            "JOIN",
            "Circulation_History",
            "ON",
            "Circulation_History.employee_id",
            "=",
            "Employees.employee_id"
        ],
        "query_toks_no_value": [
            "select",
            "employee_name",
            "from",
            "employees",
            "except",
            "select",
            "employees.employee_name",
            "from",
            "employees",
            "join",
            "circulation_history",
            "on",
            "circulation_history.employee_id",
            "=",
            "employees.employee_id"
        ],
        "question": "List the employees who have not showed up in any circulation history of documents. List the employee's name.",
        "question_toks": [
            "List",
            "the",
            "employees",
            "who",
            "have",
            "not",
            "showed",
            "up",
            "in",
            "any",
            "circulation",
            "history",
            "of",
            "documents",
            ".",
            "List",
            "the",
            "employee",
            "'s",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            9
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    21,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT Employees.employee_name , count(*) FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id GROUP BY Circulation_History.document_id , Circulation_History.draft_number , Circulation_History.copy_number ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Employees.employee_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employees",
            "JOIN",
            "Circulation_History",
            "ON",
            "Circulation_History.employee_id",
            "=",
            "Employees.employee_id",
            "GROUP",
            "BY",
            "Circulation_History.document_id",
            ",",
            "Circulation_History.draft_number",
            ",",
            "Circulation_History.copy_number",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "employees.employee_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "join",
            "circulation_history",
            "on",
            "circulation_history.employee_id",
            "=",
            "employees.employee_id",
            "group",
            "by",
            "circulation_history.document_id",
            ",",
            "circulation_history.draft_number",
            ",",
            "circulation_history.copy_number",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which employee has showed up in most circulation history documents. List the employee's name and the number of drafts and copies.",
        "question_toks": [
            "Which",
            "employee",
            "has",
            "showed",
            "up",
            "in",
            "most",
            "circulation",
            "history",
            "documents",
            ".",
            "List",
            "the",
            "employee",
            "'s",
            "name",
            "and",
            "the",
            "number",
            "of",
            "drafts",
            "and",
            "copies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ],
                [
                    0,
                    30,
                    false
                ],
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Control_Systems",
        "query": "SELECT document_id ,  count(DISTINCT employee_id) FROM Circulation_History GROUP BY document_id;",
        "query_toks": [
            "SELECT",
            "document_id",
            ",",
            "count",
            "(",
            "DISTINCT",
            "employee_id",
            ")",
            "FROM",
            "Circulation_History",
            "GROUP",
            "BY",
            "document_id",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            ",",
            "count",
            "(",
            "distinct",
            "employee_id",
            ")",
            "from",
            "circulation_history",
            "group",
            "by",
            "document_id"
        ],
        "question": "For each document, list the number of employees who have showed up in the circulation history of that document. List the document ids and number of employees.",
        "question_toks": [
            "For",
            "each",
            "document",
            ",",
            "list",
            "the",
            "number",
            "of",
            "employees",
            "who",
            "have",
            "showed",
            "up",
            "in",
            "the",
            "circulation",
            "history",
            "of",
            "that",
            "document",
            ".",
            "List",
            "the",
            "document",
            "ids",
            "and",
            "number",
            "of",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                32,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_1",
        "query": "SELECT dname FROM department ORDER BY mgr_start_date",
        "query_toks": [
            "SELECT",
            "dname",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "mgr_start_date"
        ],
        "query_toks_no_value": [
            "select",
            "dname",
            "from",
            "department",
            "order",
            "by",
            "mgr_start_date"
        ],
        "question": "List all department names ordered by their starting date.",
        "question_toks": [
            "List",
            "all",
            "department",
            "names",
            "ordered",
            "by",
            "their",
            "starting",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_1",
        "query": "SELECT Dependent_name FROM dependent WHERE relationship  =  'Spouse'",
        "query_toks": [
            "SELECT",
            "Dependent_name",
            "FROM",
            "dependent",
            "WHERE",
            "relationship",
            "=",
            "'Spouse",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dependent_name",
            "from",
            "dependent",
            "where",
            "relationship",
            "=",
            "value"
        ],
        "question": "find all dependent names who have a spouse relation with some employee.",
        "question_toks": [
            "find",
            "all",
            "dependent",
            "names",
            "who",
            "have",
            "a",
            "spouse",
            "relation",
            "with",
            "some",
            "employee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"Spouse\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_1",
        "query": "SELECT count(*) FROM dependent WHERE sex  =  'F'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "dependent",
            "WHERE",
            "sex",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "dependent",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "how many female dependents are there?",
        "question_toks": [
            "how",
            "many",
            "female",
            "dependents",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_1",
        "query": "SELECT t1.dname FROM department AS t1 JOIN dept_locations AS t2 ON t1.dnumber  =  t2.dnumber WHERE t2.dlocation  =  'Houston'",
        "query_toks": [
            "SELECT",
            "t1.dname",
            "FROM",
            "department",
            "AS",
            "t1",
            "JOIN",
            "dept_locations",
            "AS",
            "t2",
            "ON",
            "t1.dnumber",
            "=",
            "t2.dnumber",
            "WHERE",
            "t2.dlocation",
            "=",
            "'Houston",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "dept_locations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dnumber",
            "=",
            "t2",
            ".",
            "dnumber",
            "where",
            "t2",
            ".",
            "dlocation",
            "=",
            "value"
        ],
        "question": "Find the names of departments that are located in Houston.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "departments",
            "that",
            "are",
            "located",
            "in",
            "Houston",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"Houston\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_1",
        "query": "SELECT fname ,  lname FROM employee WHERE salary  >  30000",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "employee",
            "WHERE",
            "salary",
            ">",
            "30000"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "employee",
            "where",
            "salary",
            ">",
            "value"
        ],
        "question": "Return the first names and last names of employees who earn more than 30000 in salary.",
        "question_toks": [
            "Return",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "employees",
            "who",
            "earn",
            "more",
            "than",
            "30000",
            "in",
            "salary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    30000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_1",
        "query": "SELECT count(*) ,  sex FROM employee WHERE salary  <  50000 GROUP BY sex",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "FROM",
            "employee",
            "WHERE",
            "salary",
            "<",
            "50000",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "from",
            "employee",
            "where",
            "salary",
            "<",
            "value",
            "group",
            "by",
            "sex"
        ],
        "question": "Find the number of employees of each gender whose salary is lower than 50000.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "employees",
            "of",
            "each",
            "gender",
            "whose",
            "salary",
            "is",
            "lower",
            "than",
            "50000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    50000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_1",
        "query": "SELECT fname ,  lname ,  address FROM employee ORDER BY Bdate",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            ",",
            "address",
            "FROM",
            "employee",
            "ORDER",
            "BY",
            "Bdate"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            ",",
            "address",
            "from",
            "employee",
            "order",
            "by",
            "bdate"
        ],
        "question": "list the first and last names, and the addresses of all employees in the ascending order of their birth date.",
        "question_toks": [
            "list",
            "the",
            "first",
            "and",
            "last",
            "names",
            ",",
            "and",
            "the",
            "addresses",
            "of",
            "all",
            "employees",
            "in",
            "the",
            "ascending",
            "order",
            "of",
            "their",
            "birth",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT T1.event_details FROM EVENTS AS T1 JOIN Services AS T2 ON T1.Service_ID  =  T2.Service_ID WHERE T2.Service_Type_Code  =  'Marriage'",
        "query_toks": [
            "SELECT",
            "T1.event_details",
            "FROM",
            "EVENTS",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_ID",
            "=",
            "T2.Service_ID",
            "WHERE",
            "T2.Service_Type_Code",
            "=",
            "'Marriage",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "event_details",
            "from",
            "events",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_id",
            "=",
            "t2",
            ".",
            "service_id",
            "where",
            "t2",
            ".",
            "service_type_code",
            "=",
            "value"
        ],
        "question": "what are the event details of the services that have the type code 'Marriage'?",
        "question_toks": [
            "what",
            "are",
            "the",
            "event",
            "details",
            "of",
            "the",
            "services",
            "that",
            "have",
            "the",
            "type",
            "code",
            "'Marriage",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Marriage\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT T1.event_id ,  T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID  =  T2.Event_ID GROUP BY T1.Event_ID HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.event_id",
            ",",
            "T1.event_details",
            "FROM",
            "EVENTS",
            "AS",
            "T1",
            "JOIN",
            "Participants_in_Events",
            "AS",
            "T2",
            "ON",
            "T1.Event_ID",
            "=",
            "T2.Event_ID",
            "GROUP",
            "BY",
            "T1.Event_ID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "event_id",
            ",",
            "t1",
            ".",
            "event_details",
            "from",
            "events",
            "as",
            "t1",
            "join",
            "participants_in_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "event_id",
            "=",
            "t2",
            ".",
            "event_id",
            "group",
            "by",
            "t1",
            ".",
            "event_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the ids and details of events that have more than one participants?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "details",
            "of",
            "events",
            "that",
            "have",
            "more",
            "than",
            "one",
            "participants",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT T1.Participant_ID ,  T1.Participant_Type_Code ,  count(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID GROUP BY T1.Participant_ID",
        "query_toks": [
            "SELECT",
            "T1.Participant_ID",
            ",",
            "T1.Participant_Type_Code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Participants",
            "AS",
            "T1",
            "JOIN",
            "Participants_in_Events",
            "AS",
            "T2",
            "ON",
            "T1.Participant_ID",
            "=",
            "T2.Participant_ID",
            "GROUP",
            "BY",
            "T1.Participant_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "participant_id",
            ",",
            "t1",
            ".",
            "participant_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "participants",
            "as",
            "t1",
            "join",
            "participants_in_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "participant_id",
            "=",
            "t2",
            ".",
            "participant_id",
            "group",
            "by",
            "t1",
            ".",
            "participant_id"
        ],
        "question": "How many events have each participants attended? List the participant id, type and the number.",
        "question_toks": [
            "How",
            "many",
            "events",
            "have",
            "each",
            "participants",
            "attended",
            "?",
            "List",
            "the",
            "participant",
            "id",
            ",",
            "type",
            "and",
            "the",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT Participant_ID ,  Participant_Type_Code ,  Participant_Details FROM  Participants",
        "query_toks": [
            "SELECT",
            "Participant_ID",
            ",",
            "Participant_Type_Code",
            ",",
            "Participant_Details",
            "FROM",
            "Participants"
        ],
        "query_toks_no_value": [
            "select",
            "participant_id",
            ",",
            "participant_type_code",
            ",",
            "participant_details",
            "from",
            "participants"
        ],
        "question": "What are all the the participant ids, type code and details?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "the",
            "participant",
            "ids",
            ",",
            "type",
            "code",
            "and",
            "details",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT count(*) FROM participants WHERE participant_type_code  =  'Organizer'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "participants",
            "WHERE",
            "participant_type_code",
            "=",
            "'Organizer",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "participants",
            "where",
            "participant_type_code",
            "=",
            "value"
        ],
        "question": "How many participants belong to the type 'Organizer'?",
        "question_toks": [
            "How",
            "many",
            "participants",
            "belong",
            "to",
            "the",
            "type",
            "'Organizer",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Organizer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT service_type_code FROM services ORDER BY service_type_code",
        "query_toks": [
            "SELECT",
            "service_type_code",
            "FROM",
            "services",
            "ORDER",
            "BY",
            "service_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "service_type_code",
            "from",
            "services",
            "order",
            "by",
            "service_type_code"
        ],
        "question": "List the type of the services in alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "type",
            "of",
            "the",
            "services",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT service_id ,  event_details FROM EVENTS",
        "query_toks": [
            "SELECT",
            "service_id",
            ",",
            "event_details",
            "FROM",
            "EVENTS"
        ],
        "query_toks_no_value": [
            "select",
            "service_id",
            ",",
            "event_details",
            "from",
            "events"
        ],
        "question": "List the service id and details for the events.",
        "question_toks": [
            "List",
            "the",
            "service",
            "id",
            "and",
            "details",
            "for",
            "the",
            "events",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT count(*) FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE T1.participant_details LIKE '%Dr.%'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "participants",
            "AS",
            "T1",
            "JOIN",
            "Participants_in_Events",
            "AS",
            "T2",
            "ON",
            "T1.Participant_ID",
            "=",
            "T2.Participant_ID",
            "WHERE",
            "T1.participant_details",
            "LIKE",
            "'",
            "%",
            "Dr.",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "participants",
            "as",
            "t1",
            "join",
            "participants_in_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "participant_id",
            "=",
            "t2",
            ".",
            "participant_id",
            "where",
            "t1",
            ".",
            "participant_details",
            "like",
            "value"
        ],
        "question": "How many events had participants whose details had the substring 'Dr.'",
        "question_toks": [
            "How",
            "many",
            "events",
            "had",
            "participants",
            "whose",
            "details",
            "had",
            "the",
            "substring",
            "'Dr",
            ".",
            "'"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%Dr.%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT participant_type_code FROM participants GROUP BY participant_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "participant_type_code",
            "FROM",
            "participants",
            "GROUP",
            "BY",
            "participant_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "participant_type_code",
            "from",
            "participants",
            "group",
            "by",
            "participant_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common participant type?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "participant",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT T3.service_id ,  T4.Service_Type_Code FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID  =  T2.Participant_ID JOIN EVENTS AS T3 ON T2.Event_ID   =  T3.Event_ID JOIN services AS T4 ON T3.service_id  =  T4.service_id GROUP BY T3.service_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T3.service_id",
            ",",
            "T4.Service_Type_Code",
            "FROM",
            "participants",
            "AS",
            "T1",
            "JOIN",
            "Participants_in_Events",
            "AS",
            "T2",
            "ON",
            "T1.Participant_ID",
            "=",
            "T2.Participant_ID",
            "JOIN",
            "EVENTS",
            "AS",
            "T3",
            "ON",
            "T2.Event_ID",
            "=",
            "T3.Event_ID",
            "JOIN",
            "services",
            "AS",
            "T4",
            "ON",
            "T3.service_id",
            "=",
            "T4.service_id",
            "GROUP",
            "BY",
            "T3.service_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "service_id",
            ",",
            "t4",
            ".",
            "service_type_code",
            "from",
            "participants",
            "as",
            "t1",
            "join",
            "participants_in_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "participant_id",
            "=",
            "t2",
            ".",
            "participant_id",
            "join",
            "events",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "event_id",
            "=",
            "t3",
            ".",
            "event_id",
            "join",
            "services",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "service_id",
            "=",
            "t4",
            ".",
            "service_id",
            "group",
            "by",
            "t3",
            ".",
            "service_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which service id and type has the least number of participants?",
        "question_toks": [
            "Which",
            "service",
            "id",
            "and",
            "type",
            "has",
            "the",
            "least",
            "number",
            "of",
            "participants",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT Event_ID FROM Participants_in_Events GROUP BY Event_ID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Event_ID",
            "FROM",
            "Participants_in_Events",
            "GROUP",
            "BY",
            "Event_ID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "event_id",
            "from",
            "participants_in_events",
            "group",
            "by",
            "event_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the event with the most participants?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "event",
            "with",
            "the",
            "most",
            "participants",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT event_id FROM EVENTS EXCEPT SELECT T1.event_id FROM Participants_in_Events AS T1 JOIN Participants AS T2 ON T1.Participant_ID  =  T2.Participant_ID WHERE Participant_Details  =  'Kenyatta Kuhn'",
        "query_toks": [
            "SELECT",
            "event_id",
            "FROM",
            "EVENTS",
            "EXCEPT",
            "SELECT",
            "T1.event_id",
            "FROM",
            "Participants_in_Events",
            "AS",
            "T1",
            "JOIN",
            "Participants",
            "AS",
            "T2",
            "ON",
            "T1.Participant_ID",
            "=",
            "T2.Participant_ID",
            "WHERE",
            "Participant_Details",
            "=",
            "'Kenyatta",
            "Kuhn",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "event_id",
            "from",
            "events",
            "except",
            "select",
            "t1",
            ".",
            "event_id",
            "from",
            "participants_in_events",
            "as",
            "t1",
            "join",
            "participants",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "participant_id",
            "=",
            "t2",
            ".",
            "participant_id",
            "where",
            "participant_details",
            "=",
            "value"
        ],
        "question": "Which events id does not have any participant with detail 'Kenyatta Kuhn'?",
        "question_toks": [
            "Which",
            "events",
            "id",
            "does",
            "not",
            "have",
            "any",
            "participant",
            "with",
            "detail",
            "'Kenyatta",
            "Kuhn",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Kenyatta Kuhn\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id  =  T2.service_id WHERE T2.event_details  =  'Success' INTERSECT SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id  =  T2.service_id WHERE T2.event_details  =  'Fail'",
        "query_toks": [
            "SELECT",
            "T1.service_type_code",
            "FROM",
            "services",
            "AS",
            "T1",
            "JOIN",
            "EVENTS",
            "AS",
            "T2",
            "ON",
            "T1.service_id",
            "=",
            "T2.service_id",
            "WHERE",
            "T2.event_details",
            "=",
            "'Success",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.service_type_code",
            "FROM",
            "services",
            "AS",
            "T1",
            "JOIN",
            "EVENTS",
            "AS",
            "T2",
            "ON",
            "T1.service_id",
            "=",
            "T2.service_id",
            "WHERE",
            "T2.event_details",
            "=",
            "'Fail",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_code",
            "from",
            "services",
            "as",
            "t1",
            "join",
            "events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_id",
            "=",
            "t2",
            ".",
            "service_id",
            "where",
            "t2",
            ".",
            "event_details",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "service_type_code",
            "from",
            "services",
            "as",
            "t1",
            "join",
            "events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_id",
            "=",
            "t2",
            ".",
            "service_id",
            "where",
            "t2",
            ".",
            "event_details",
            "=",
            "value"
        ],
        "question": "Which services type had both successful and failure event details?",
        "question_toks": [
            "Which",
            "services",
            "type",
            "had",
            "both",
            "successful",
            "and",
            "failure",
            "event",
            "details",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Success\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"Fail\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT count(*) FROM EVENTS WHERE event_id NOT IN (SELECT event_id FROM Participants_in_Events)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "EVENTS",
            "WHERE",
            "event_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "event_id",
            "FROM",
            "Participants_in_Events",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "events",
            "where",
            "event_id",
            "not",
            "in",
            "(",
            "select",
            "event_id",
            "from",
            "participants_in_events",
            ")"
        ],
        "question": "How many events did not have any participants?",
        "question_toks": [
            "How",
            "many",
            "events",
            "did",
            "not",
            "have",
            "any",
            "participants",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_in_alabama",
        "query": "SELECT count(DISTINCT participant_id) FROM participants_in_Events",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "participant_id",
            ")",
            "FROM",
            "participants_in_Events"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "participant_id",
            ")",
            "from",
            "participants_in_events"
        ],
        "question": "What are all the distinct participant ids who attended any events?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "distinct",
            "participant",
            "ids",
            "who",
            "attended",
            "any",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM races ORDER BY date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "races",
            "ORDER",
            "BY",
            "date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "races",
            "order",
            "by",
            "date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the race held most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "race",
            "held",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM races ORDER BY date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "races",
            "ORDER",
            "BY",
            "date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "races",
            "order",
            "by",
            "date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the race that occurred most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "race",
            "that",
            "occurred",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name ,  date FROM races ORDER BY date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "date",
            "FROM",
            "races",
            "ORDER",
            "BY",
            "date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "date",
            "from",
            "races",
            "order",
            "by",
            "date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and date of the most recent race?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "date",
            "of",
            "the",
            "most",
            "recent",
            "race",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name ,  date FROM races ORDER BY date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "date",
            "FROM",
            "races",
            "ORDER",
            "BY",
            "date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "date",
            "from",
            "races",
            "order",
            "by",
            "date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and date of the race that occurred most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "date",
            "of",
            "the",
            "race",
            "that",
            "occurred",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM races WHERE YEAR = 2017",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "races",
            "WHERE",
            "YEAR",
            "=",
            "2017"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "races",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Find the names of all races held in 2017.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "races",
            "held",
            "in",
            "2017",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2017.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM races WHERE YEAR = 2017",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "races",
            "WHERE",
            "YEAR",
            "=",
            "2017"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "races",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are the names of all the races that occurred in the year 2017?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "races",
            "that",
            "occurred",
            "in",
            "the",
            "year",
            "2017",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2017.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT name FROM races WHERE YEAR BETWEEN 2014 AND 2017",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "races",
            "WHERE",
            "YEAR",
            "BETWEEN",
            "2014",
            "AND",
            "2017"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "races",
            "where",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the distinct names of all races held between 2014 and 2017?",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "names",
            "of",
            "all",
            "races",
            "held",
            "between",
            "2014",
            "and",
            "2017",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    2017.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT name FROM races WHERE YEAR BETWEEN 2014 AND 2017",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "races",
            "WHERE",
            "YEAR",
            "BETWEEN",
            "2014",
            "AND",
            "2017"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "races",
            "where",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the unique names of all race held between 2014 and 2017?",
        "question_toks": [
            "What",
            "are",
            "the",
            "unique",
            "names",
            "of",
            "all",
            "race",
            "held",
            "between",
            "2014",
            "and",
            "2017",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    2017.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.forename ,  T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds < 93000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.forename",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "T2.milliseconds",
            "<",
            "93000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "t2",
            ".",
            "milliseconds",
            "<",
            "value"
        ],
        "question": "List the forename and surname of all distinct drivers who once had laptime less than 93000 milliseconds?",
        "question_toks": [
            "List",
            "the",
            "forename",
            "and",
            "surname",
            "of",
            "all",
            "distinct",
            "drivers",
            "who",
            "once",
            "had",
            "laptime",
            "less",
            "than",
            "93000",
            "milliseconds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            94,
                            false
                        ],
                        null
                    ],
                    93000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.forename ,  T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds < 93000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.forename",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "T2.milliseconds",
            "<",
            "93000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "t2",
            ".",
            "milliseconds",
            "<",
            "value"
        ],
        "question": "What are the forenames and surnames of all unique drivers who had a lap time of less than 93000 milliseconds?",
        "question_toks": [
            "What",
            "are",
            "the",
            "forenames",
            "and",
            "surnames",
            "of",
            "all",
            "unique",
            "drivers",
            "who",
            "had",
            "a",
            "lap",
            "time",
            "of",
            "less",
            "than",
            "93000",
            "milliseconds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            94,
                            false
                        ],
                        null
                    ],
                    93000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.driverid ,  T1.nationality FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds >  100000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.driverid",
            ",",
            "T1.nationality",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "T2.milliseconds",
            ">",
            "100000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "nationality",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "t2",
            ".",
            "milliseconds",
            ">",
            "value"
        ],
        "question": "Find all the distinct id and nationality of drivers who have had laptime more than 100000 milliseconds?",
        "question_toks": [
            "Find",
            "all",
            "the",
            "distinct",
            "id",
            "and",
            "nationality",
            "of",
            "drivers",
            "who",
            "have",
            "had",
            "laptime",
            "more",
            "than",
            "100000",
            "milliseconds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            94,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.driverid ,  T1.nationality FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds >  100000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.driverid",
            ",",
            "T1.nationality",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "T2.milliseconds",
            ">",
            "100000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "nationality",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "t2",
            ".",
            "milliseconds",
            ">",
            "value"
        ],
        "question": "What are the different driver ids and nationalities of all drivers who had a laptime of more than 100000 milliseconds?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "driver",
            "ids",
            "and",
            "nationalities",
            "of",
            "all",
            "drivers",
            "who",
            "had",
            "a",
            "laptime",
            "of",
            "more",
            "than",
            "100000",
            "milliseconds",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            94,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.forename ,  T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid ORDER BY T2.milliseconds LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.forename",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "ORDER",
            "BY",
            "T2.milliseconds",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "order",
            "by",
            "t2",
            ".",
            "milliseconds",
            "limit",
            "value"
        ],
        "question": "What are the forename and surname of the driver who has the smallest laptime?",
        "question_toks": [
            "What",
            "are",
            "the",
            "forename",
            "and",
            "surname",
            "of",
            "the",
            "driver",
            "who",
            "has",
            "the",
            "smallest",
            "laptime",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            94,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.forename ,  T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid ORDER BY T2.milliseconds LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.forename",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "ORDER",
            "BY",
            "T2.milliseconds",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "order",
            "by",
            "t2",
            ".",
            "milliseconds",
            "limit",
            "value"
        ],
        "question": "What is the forename and surname of the driver with the shortest laptime?",
        "question_toks": [
            "What",
            "is",
            "the",
            "forename",
            "and",
            "surname",
            "of",
            "the",
            "driver",
            "with",
            "the",
            "shortest",
            "laptime",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            94,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid ORDER BY T2.milliseconds DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "ORDER",
            "BY",
            "T2.milliseconds",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "order",
            "by",
            "t2",
            ".",
            "milliseconds",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and family name of the driver who has the longest laptime?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "family",
            "name",
            "of",
            "the",
            "driver",
            "who",
            "has",
            "the",
            "longest",
            "laptime",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            94,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid ORDER BY T2.milliseconds DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "ORDER",
            "BY",
            "T2.milliseconds",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "order",
            "by",
            "t2",
            ".",
            "milliseconds",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and last name of the driver with the longest laptime?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "last",
            "name",
            "of",
            "the",
            "driver",
            "with",
            "the",
            "longest",
            "laptime",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            94,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.forename ,  T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE POSITION  =  '1' GROUP BY T1.driverid HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.forename",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "POSITION",
            "=",
            "'1",
            "'",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "position",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the id, forname and surname of the driver who had the first position in terms of laptime at least twice?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            ",",
            "forname",
            "and",
            "surname",
            "of",
            "the",
            "driver",
            "who",
            "had",
            "the",
            "first",
            "position",
            "in",
            "terms",
            "of",
            "laptime",
            "at",
            "least",
            "twice",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            92,
                            false
                        ],
                        null
                    ],
                    "\"1\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.forename ,  T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE POSITION  =  '1' GROUP BY T1.driverid HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.forename",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "laptimes",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "POSITION",
            "=",
            "'1",
            "'",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "laptimes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "position",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the id, first name, and last name of the driver who was in the first position for laptime at least twice?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            ",",
            "first",
            "name",
            ",",
            "and",
            "last",
            "name",
            "of",
            "the",
            "driver",
            "who",
            "was",
            "in",
            "the",
            "first",
            "position",
            "for",
            "laptime",
            "at",
            "least",
            "twice",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            90,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            92,
                            false
                        ],
                        null
                    ],
                    "\"1\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT count(*) FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid WHERE T2.name = \"Australian Grand Prix\" AND YEAR = 2009",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "results",
            "AS",
            "T1",
            "JOIN",
            "races",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Australian",
            "Grand",
            "Prix",
            "''",
            "AND",
            "YEAR",
            "=",
            "2009"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "results",
            "as",
            "t1",
            "join",
            "races",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "How many drivers participated in the race Australian Grand Prix held in 2009?",
        "question_toks": [
            "How",
            "many",
            "drivers",
            "participated",
            "in",
            "the",
            "race",
            "Australian",
            "Grand",
            "Prix",
            "held",
            "in",
            "2009",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Australian Grand Prix\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT count(*) FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid WHERE T2.name = \"Australian Grand Prix\" AND YEAR = 2009",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "results",
            "AS",
            "T1",
            "JOIN",
            "races",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Australian",
            "Grand",
            "Prix",
            "''",
            "AND",
            "YEAR",
            "=",
            "2009"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "results",
            "as",
            "t1",
            "join",
            "races",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "year",
            "=",
            "value"
        ],
        "question": "How many drivers were in the Australian Grand Prix held in 2009?",
        "question_toks": [
            "How",
            "many",
            "drivers",
            "were",
            "in",
            "the",
            "Australian",
            "Grand",
            "Prix",
            "held",
            "in",
            "2009",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Australian Grand Prix\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT count(DISTINCT driverId) FROM results WHERE raceId NOT IN( SELECT raceId FROM races WHERE YEAR != 2009 )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "driverId",
            ")",
            "FROM",
            "results",
            "WHERE",
            "raceId",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "raceId",
            "FROM",
            "races",
            "WHERE",
            "YEAR",
            "!",
            "=",
            "2009",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "driverid",
            ")",
            "from",
            "results",
            "where",
            "raceid",
            "not",
            "in",
            "(",
            "select",
            "raceid",
            "from",
            "races",
            "where",
            "year",
            "!",
            "=",
            "value",
            ")"
        ],
        "question": "How many drivers did not participate in the races held in 2009?",
        "question_toks": [
            "How",
            "many",
            "drivers",
            "did",
            "not",
            "participate",
            "in",
            "the",
            "races",
            "held",
            "in",
            "2009",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                45,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                7,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                2009.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT count(DISTINCT driverId) FROM results WHERE raceId NOT IN( SELECT raceId FROM races WHERE YEAR != 2009 )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "driverId",
            ")",
            "FROM",
            "results",
            "WHERE",
            "raceId",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "raceId",
            "FROM",
            "races",
            "WHERE",
            "YEAR",
            "!",
            "=",
            "2009",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "driverid",
            ")",
            "from",
            "results",
            "where",
            "raceid",
            "not",
            "in",
            "(",
            "select",
            "raceid",
            "from",
            "races",
            "where",
            "year",
            "!",
            "=",
            "value",
            ")"
        ],
        "question": "How many drivers did not race in 2009?",
        "question_toks": [
            "How",
            "many",
            "drivers",
            "did",
            "not",
            "race",
            "in",
            "2009",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                45,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                7,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                2009.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T2.name ,  T2.year FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T1.driverid = T3.driverid WHERE T3.forename = \"Lewis\"",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.year",
            "FROM",
            "results",
            "AS",
            "T1",
            "JOIN",
            "races",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T1.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T3.forename",
            "=",
            "``",
            "Lewis",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "results",
            "as",
            "t1",
            "join",
            "races",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t3",
            ".",
            "forename",
            "=",
            "value"
        ],
        "question": "Give me a list of names and years of races that had any driver whose forename is Lewis?",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "names",
            "and",
            "years",
            "of",
            "races",
            "that",
            "had",
            "any",
            "driver",
            "whose",
            "forename",
            "is",
            "Lewis",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"Lewis\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T2.name ,  T2.year FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T1.driverid = T3.driverid WHERE T3.forename = \"Lewis\"",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.year",
            "FROM",
            "results",
            "AS",
            "T1",
            "JOIN",
            "races",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T1.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T3.forename",
            "=",
            "``",
            "Lewis",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "results",
            "as",
            "t1",
            "join",
            "races",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t3",
            ".",
            "forename",
            "=",
            "value"
        ],
        "question": "What are the names and years of all races that had a driver with the last name Lewis?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "years",
            "of",
            "all",
            "races",
            "that",
            "had",
            "a",
            "driver",
            "with",
            "the",
            "last",
            "name",
            "Lewis",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"Lewis\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT forename ,  surname FROM drivers WHERE nationality = \"German\"",
        "query_toks": [
            "SELECT",
            "forename",
            ",",
            "surname",
            "FROM",
            "drivers",
            "WHERE",
            "nationality",
            "=",
            "``",
            "German",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "forename",
            ",",
            "surname",
            "from",
            "drivers",
            "where",
            "nationality",
            "=",
            "value"
        ],
        "question": "Find the forename and surname of drivers whose nationality is German?",
        "question_toks": [
            "Find",
            "the",
            "forename",
            "and",
            "surname",
            "of",
            "drivers",
            "whose",
            "nationality",
            "is",
            "German",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"German\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT forename ,  surname FROM drivers WHERE nationality = \"German\"",
        "query_toks": [
            "SELECT",
            "forename",
            ",",
            "surname",
            "FROM",
            "drivers",
            "WHERE",
            "nationality",
            "=",
            "``",
            "German",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "forename",
            ",",
            "surname",
            "from",
            "drivers",
            "where",
            "nationality",
            "=",
            "value"
        ],
        "question": "What is the first and last name of all the German drivers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "the",
            "German",
            "drivers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"German\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T2.driverid ,  T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid  =  T3.driverid WHERE T1.name = \"Australian Grand Prix\" INTERSECT SELECT T2.driverid ,  T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid  =  T3.driverid WHERE T1.name = \"Chinese Grand Prix\"",
        "query_toks": [
            "SELECT",
            "T2.driverid",
            ",",
            "T3.forename",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T2.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Australian",
            "Grand",
            "Prix",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.driverid",
            ",",
            "T3.forename",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T2.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Chinese",
            "Grand",
            "Prix",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "driverid",
            ",",
            "t3",
            ".",
            "forename",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "driverid",
            ",",
            "t3",
            ".",
            "forename",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the id and forenames of drivers who participated both the races with name Australian Grand Prix and the races with name Chinese Grand Prix?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "forenames",
            "of",
            "drivers",
            "who",
            "participated",
            "both",
            "the",
            "races",
            "with",
            "name",
            "Australian",
            "Grand",
            "Prix",
            "and",
            "the",
            "races",
            "with",
            "name",
            "Chinese",
            "Grand",
            "Prix",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Australian Grand Prix\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    45,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    45,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Chinese Grand Prix\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T2.driverid ,  T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid  =  T3.driverid WHERE T1.name = \"Australian Grand Prix\" INTERSECT SELECT T2.driverid ,  T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid  =  T3.driverid WHERE T1.name = \"Chinese Grand Prix\"",
        "query_toks": [
            "SELECT",
            "T2.driverid",
            ",",
            "T3.forename",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T2.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Australian",
            "Grand",
            "Prix",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.driverid",
            ",",
            "T3.forename",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T2.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Chinese",
            "Grand",
            "Prix",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "driverid",
            ",",
            "t3",
            ".",
            "forename",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "driverid",
            ",",
            "t3",
            ".",
            "forename",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the id and first name of all the drivers who participated in the Australian Grand Prix and the Chinese Grand Prix?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "first",
            "name",
            "of",
            "all",
            "the",
            "drivers",
            "who",
            "participated",
            "in",
            "the",
            "Australian",
            "Grand",
            "Prix",
            "and",
            "the",
            "Chinese",
            "Grand",
            "Prix",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Australian Grand Prix\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    45,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    45,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Chinese Grand Prix\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T3.forename ,  T3.surname FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = \"Australian Grand Prix\" EXCEPT SELECT T3.forename ,  T3.surname FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = \"Chinese Grand Prix\"",
        "query_toks": [
            "SELECT",
            "T3.forename",
            ",",
            "T3.surname",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T2.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Australian",
            "Grand",
            "Prix",
            "''",
            "EXCEPT",
            "SELECT",
            "T3.forename",
            ",",
            "T3.surname",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T2.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Chinese",
            "Grand",
            "Prix",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "forename",
            ",",
            "t3",
            ".",
            "surname",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "except",
            "select",
            "t3",
            ".",
            "forename",
            ",",
            "t3",
            ".",
            "surname",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the forenames and surnames of drivers who participated in the races named Australian Grand Prix but not the races named Chinese Grand Prix?",
        "question_toks": [
            "What",
            "are",
            "the",
            "forenames",
            "and",
            "surnames",
            "of",
            "drivers",
            "who",
            "participated",
            "in",
            "the",
            "races",
            "named",
            "Australian",
            "Grand",
            "Prix",
            "but",
            "not",
            "the",
            "races",
            "named",
            "Chinese",
            "Grand",
            "Prix",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Australian Grand Prix\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    45,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Chinese Grand Prix\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T3.forename ,  T3.surname FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = \"Australian Grand Prix\" EXCEPT SELECT T3.forename ,  T3.surname FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = \"Chinese Grand Prix\"",
        "query_toks": [
            "SELECT",
            "T3.forename",
            ",",
            "T3.surname",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T2.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Australian",
            "Grand",
            "Prix",
            "''",
            "EXCEPT",
            "SELECT",
            "T3.forename",
            ",",
            "T3.surname",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "JOIN",
            "drivers",
            "AS",
            "T3",
            "ON",
            "T2.driverid",
            "=",
            "T3.driverid",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "Chinese",
            "Grand",
            "Prix",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "forename",
            ",",
            "t3",
            ".",
            "surname",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "except",
            "select",
            "t3",
            ".",
            "forename",
            ",",
            "t3",
            ".",
            "surname",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "join",
            "drivers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "driverid",
            "=",
            "t3",
            ".",
            "driverid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the first and last names of all drivers who participated in the Australian Grand Prix but not the Chinese Grand Prix?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "drivers",
            "who",
            "participated",
            "in",
            "the",
            "Australian",
            "Grand",
            "Prix",
            "but",
            "not",
            "the",
            "Chinese",
            "Grand",
            "Prix",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Australian Grand Prix\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    45,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Chinese Grand Prix\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.forename",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "driverstandings",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "T2.position",
            "=",
            "1",
            "AND",
            "T2.wins",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "forename",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "driverstandings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "wins",
            "=",
            "value"
        ],
        "question": "Find all the forenames of distinct drivers who was in position 1 as standing and won?",
        "question_toks": [
            "Find",
            "all",
            "the",
            "forenames",
            "of",
            "distinct",
            "drivers",
            "who",
            "was",
            "in",
            "position",
            "1",
            "as",
            "standing",
            "and",
            "won",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            67,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.forename",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "driverstandings",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "T2.position",
            "=",
            "1",
            "AND",
            "T2.wins",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "forename",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "driverstandings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "wins",
            "=",
            "value"
        ],
        "question": "What are all the different first names of the drivers who are in position as standing and won?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "different",
            "first",
            "names",
            "of",
            "the",
            "drivers",
            "who",
            "are",
            "in",
            "position",
            "as",
            "standing",
            "and",
            "won",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            67,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1 AND T2.points > 20",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.forename",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "driverstandings",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "T2.position",
            "=",
            "1",
            "AND",
            "T2.wins",
            "=",
            "1",
            "AND",
            "T2.points",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "forename",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "driverstandings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "wins",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "points",
            ">",
            "value"
        ],
        "question": "Find all the forenames of distinct drivers who won in position 1 as driver standing and had more than 20 points?",
        "question_toks": [
            "Find",
            "all",
            "the",
            "forenames",
            "of",
            "distinct",
            "drivers",
            "who",
            "won",
            "in",
            "position",
            "1",
            "as",
            "driver",
            "standing",
            "and",
            "had",
            "more",
            "than",
            "20",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            67,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1 AND T2.points > 20",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.forename",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "driverstandings",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "WHERE",
            "T2.position",
            "=",
            "1",
            "AND",
            "T2.wins",
            "=",
            "1",
            "AND",
            "T2.points",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "forename",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "driverstandings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "wins",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "points",
            ">",
            "value"
        ],
        "question": "What are the first names of the different drivers who won in position 1 as driver standing and had more than 20 points?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "the",
            "different",
            "drivers",
            "who",
            "won",
            "in",
            "position",
            "1",
            "as",
            "driver",
            "standing",
            "and",
            "had",
            "more",
            "than",
            "20",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            67,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT count(*) ,  nationality FROM constructors GROUP BY nationality",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "nationality",
            "FROM",
            "constructors",
            "GROUP",
            "BY",
            "nationality"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "nationality",
            "from",
            "constructors",
            "group",
            "by",
            "nationality"
        ],
        "question": "What are the numbers of constructors for different nationalities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "numbers",
            "of",
            "constructors",
            "for",
            "different",
            "nationalities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT count(*) ,  nationality FROM constructors GROUP BY nationality",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "nationality",
            "FROM",
            "constructors",
            "GROUP",
            "BY",
            "nationality"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "nationality",
            "from",
            "constructors",
            "group",
            "by",
            "nationality"
        ],
        "question": "For each nationality, how many different constructors are there?",
        "question_toks": [
            "For",
            "each",
            "nationality",
            ",",
            "how",
            "many",
            "different",
            "constructors",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT count(*) ,  constructorid FROM constructorStandings GROUP BY constructorid",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "constructorid",
            "FROM",
            "constructorStandings",
            "GROUP",
            "BY",
            "constructorid"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "constructorid",
            "from",
            "constructorstandings",
            "group",
            "by",
            "constructorid"
        ],
        "question": "What are the numbers of races for each constructor id?",
        "question_toks": [
            "What",
            "are",
            "the",
            "numbers",
            "of",
            "races",
            "for",
            "each",
            "constructor",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT count(*) ,  constructorid FROM constructorStandings GROUP BY constructorid",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "constructorid",
            "FROM",
            "constructorStandings",
            "GROUP",
            "BY",
            "constructorid"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "constructorid",
            "from",
            "constructorstandings",
            "group",
            "by",
            "constructorid"
        ],
        "question": "For each constructor id, how many races are there?",
        "question_toks": [
            "For",
            "each",
            "constructor",
            "id",
            ",",
            "how",
            "many",
            "races",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = \"Spain\" AND T1.year > 2017",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "circuits",
            "AS",
            "T2",
            "ON",
            "T1.circuitid",
            "=",
            "T2.circuitid",
            "WHERE",
            "T2.country",
            "=",
            "``",
            "Spain",
            "''",
            "AND",
            "T1.year",
            ">",
            "2017"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "circuits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "circuitid",
            "=",
            "t2",
            ".",
            "circuitid",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "What are the names of races that were held after 2017 and the circuits were in the country of Spain?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "races",
            "that",
            "were",
            "held",
            "after",
            "2017",
            "and",
            "the",
            "circuits",
            "were",
            "in",
            "the",
            "country",
            "of",
            "Spain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Spain\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2017.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = \"Spain\" AND T1.year > 2017",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "circuits",
            "AS",
            "T2",
            "ON",
            "T1.circuitid",
            "=",
            "T2.circuitid",
            "WHERE",
            "T2.country",
            "=",
            "``",
            "Spain",
            "''",
            "AND",
            "T1.year",
            ">",
            "2017"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "circuits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "circuitid",
            "=",
            "t2",
            ".",
            "circuitid",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "What are the names of the races held after 2017 in Spain?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "races",
            "held",
            "after",
            "2017",
            "in",
            "Spain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Spain\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2017.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = \"Spain\" AND T1.year > 2000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "circuits",
            "AS",
            "T2",
            "ON",
            "T1.circuitid",
            "=",
            "T2.circuitid",
            "WHERE",
            "T2.country",
            "=",
            "``",
            "Spain",
            "''",
            "AND",
            "T1.year",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "circuits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "circuitid",
            "=",
            "t2",
            ".",
            "circuitid",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "What are the unique names of races that held after 2000 and the circuits were in Spain?",
        "question_toks": [
            "What",
            "are",
            "the",
            "unique",
            "names",
            "of",
            "races",
            "that",
            "held",
            "after",
            "2000",
            "and",
            "the",
            "circuits",
            "were",
            "in",
            "Spain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Spain\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = \"Spain\" AND T1.year > 2000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "circuits",
            "AS",
            "T2",
            "ON",
            "T1.circuitid",
            "=",
            "T2.circuitid",
            "WHERE",
            "T2.country",
            "=",
            "``",
            "Spain",
            "''",
            "AND",
            "T1.year",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "circuits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "circuitid",
            "=",
            "t2",
            ".",
            "circuitid",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "What are the names of all races held after 2000 in Spain?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "races",
            "held",
            "after",
            "2000",
            "in",
            "Spain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Spain\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT driverid ,  STOP FROM pitstops WHERE duration  <  (SELECT max(duration) FROM pitstops WHERE raceid  =  841)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "driverid",
            ",",
            "STOP",
            "FROM",
            "pitstops",
            "WHERE",
            "duration",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "duration",
            ")",
            "FROM",
            "pitstops",
            "WHERE",
            "raceid",
            "=",
            "841",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "driverid",
            ",",
            "stop",
            "from",
            "pitstops",
            "where",
            "duration",
            "<",
            "(",
            "select",
            "max",
            "(",
            "duration",
            ")",
            "from",
            "pitstops",
            "where",
            "raceid",
            "=",
            "value",
            ")"
        ],
        "question": "Find the distinct driver id and the stop number of all drivers that have a shorter pit stop duration than some drivers in the race with id 841.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "driver",
            "id",
            "and",
            "the",
            "stop",
            "number",
            "of",
            "all",
            "drivers",
            "that",
            "have",
            "a",
            "shorter",
            "pit",
            "stop",
            "duration",
            "than",
            "some",
            "drivers",
            "in",
            "the",
            "race",
            "with",
            "id",
            "841",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                83,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                84,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            87,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    11
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            87,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        82,
                                        false
                                    ],
                                    null
                                ],
                                841.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT driverid ,  STOP FROM pitstops WHERE duration  <  (SELECT max(duration) FROM pitstops WHERE raceid  =  841)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "driverid",
            ",",
            "STOP",
            "FROM",
            "pitstops",
            "WHERE",
            "duration",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "duration",
            ")",
            "FROM",
            "pitstops",
            "WHERE",
            "raceid",
            "=",
            "841",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "driverid",
            ",",
            "stop",
            "from",
            "pitstops",
            "where",
            "duration",
            "<",
            "(",
            "select",
            "max",
            "(",
            "duration",
            ")",
            "from",
            "pitstops",
            "where",
            "raceid",
            "=",
            "value",
            ")"
        ],
        "question": "What is the id and stop number for each driver that has a shorter pit stop than the driver in the race with id 841?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "stop",
            "number",
            "for",
            "each",
            "driver",
            "that",
            "has",
            "a",
            "shorter",
            "pit",
            "stop",
            "than",
            "the",
            "driver",
            "in",
            "the",
            "race",
            "with",
            "id",
            "841",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                83,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                84,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            87,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    11
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            87,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        82,
                                        false
                                    ],
                                    null
                                ],
                                841.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT driverid ,  STOP FROM pitstops WHERE duration  >  (SELECT min(duration) FROM pitstops WHERE raceid  =  841)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "driverid",
            ",",
            "STOP",
            "FROM",
            "pitstops",
            "WHERE",
            "duration",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "duration",
            ")",
            "FROM",
            "pitstops",
            "WHERE",
            "raceid",
            "=",
            "841",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "driverid",
            ",",
            "stop",
            "from",
            "pitstops",
            "where",
            "duration",
            ">",
            "(",
            "select",
            "min",
            "(",
            "duration",
            ")",
            "from",
            "pitstops",
            "where",
            "raceid",
            "=",
            "value",
            ")"
        ],
        "question": "Find the distinct driver id of all drivers that have a longer stop duration than some drivers in the race whose id is 841?",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "driver",
            "id",
            "of",
            "all",
            "drivers",
            "that",
            "have",
            "a",
            "longer",
            "stop",
            "duration",
            "than",
            "some",
            "drivers",
            "in",
            "the",
            "race",
            "whose",
            "id",
            "is",
            "841",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                83,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                84,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            87,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    11
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            87,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        82,
                                        false
                                    ],
                                    null
                                ],
                                841.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT driverid ,  STOP FROM pitstops WHERE duration  >  (SELECT min(duration) FROM pitstops WHERE raceid  =  841)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "driverid",
            ",",
            "STOP",
            "FROM",
            "pitstops",
            "WHERE",
            "duration",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "duration",
            ")",
            "FROM",
            "pitstops",
            "WHERE",
            "raceid",
            "=",
            "841",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "driverid",
            ",",
            "stop",
            "from",
            "pitstops",
            "where",
            "duration",
            ">",
            "(",
            "select",
            "min",
            "(",
            "duration",
            ")",
            "from",
            "pitstops",
            "where",
            "raceid",
            "=",
            "value",
            ")"
        ],
        "question": "What are the different ids and stop durations of all the drivers whose stop lasted longer than the driver in the race with the id 841?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "ids",
            "and",
            "stop",
            "durations",
            "of",
            "all",
            "the",
            "drivers",
            "whose",
            "stop",
            "lasted",
            "longer",
            "than",
            "the",
            "driver",
            "in",
            "the",
            "race",
            "with",
            "the",
            "id",
            "841",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                83,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                84,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            87,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    11
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            87,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        82,
                                        false
                                    ],
                                    null
                                ],
                                841.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT forename FROM drivers ORDER BY forename ASC",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "forename",
            "FROM",
            "drivers",
            "ORDER",
            "BY",
            "forename",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "forename",
            "from",
            "drivers",
            "order",
            "by",
            "forename",
            "asc"
        ],
        "question": "List the forenames of all distinct drivers in alphabetical order?",
        "question_toks": [
            "List",
            "the",
            "forenames",
            "of",
            "all",
            "distinct",
            "drivers",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT forename FROM drivers ORDER BY forename ASC",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "forename",
            "FROM",
            "drivers",
            "ORDER",
            "BY",
            "forename",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "forename",
            "from",
            "drivers",
            "order",
            "by",
            "forename",
            "asc"
        ],
        "question": "What are the first names of all the different drivers in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "the",
            "different",
            "drivers",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT name FROM races ORDER BY name DESC",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "races",
            "ORDER",
            "BY",
            "name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "races",
            "order",
            "by",
            "name",
            "desc"
        ],
        "question": "List the names of all distinct races in reversed  lexicographic order?",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "races",
            "in",
            "reversed",
            "lexicographic",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT DISTINCT name FROM races ORDER BY name DESC",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "races",
            "ORDER",
            "BY",
            "name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "races",
            "order",
            "by",
            "name",
            "desc"
        ],
        "question": "What are the different names of all the races in reverse alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "of",
            "all",
            "the",
            "races",
            "in",
            "reverse",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM races WHERE YEAR BETWEEN 2009 AND 2011",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "races",
            "WHERE",
            "YEAR",
            "BETWEEN",
            "2009",
            "AND",
            "2011"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "races",
            "where",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names of races held between 2009 and 2011?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "races",
            "held",
            "between",
            "2009",
            "and",
            "2011",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    2011.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM races WHERE YEAR BETWEEN 2009 AND 2011",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "races",
            "WHERE",
            "YEAR",
            "BETWEEN",
            "2009",
            "AND",
            "2011"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "races",
            "where",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names of all races held between 2009 and 2011?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "races",
            "held",
            "between",
            "2009",
            "and",
            "2011",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    2011.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM races WHERE TIME > \"12:00:00\" OR TIME < \"09:00:00\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "races",
            "WHERE",
            "TIME",
            ">",
            "``",
            "12:00:00",
            "''",
            "OR",
            "TIME",
            "<",
            "``",
            "09:00:00",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "races",
            "where",
            "time",
            ">",
            "value",
            "or",
            "time",
            "<",
            "value"
        ],
        "question": "What are the names of races held after 12:00:00 or before 09:00:00?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "races",
            "held",
            "after",
            "12:00:00",
            "or",
            "before",
            "09:00:00",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"12:00:00\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"09:00:00\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM races WHERE TIME > \"12:00:00\" OR TIME < \"09:00:00\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "races",
            "WHERE",
            "TIME",
            ">",
            "``",
            "12:00:00",
            "''",
            "OR",
            "TIME",
            "<",
            "``",
            "09:00:00",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "races",
            "where",
            "time",
            ">",
            "value",
            "or",
            "time",
            "<",
            "value"
        ],
        "question": "What are the names of all races that occurred after 12:00:00 or before 09:00:00?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "races",
            "that",
            "occurred",
            "after",
            "12:00:00",
            "or",
            "before",
            "09:00:00",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"12:00:00\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"09:00:00\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.forename ,  T1.surname ,  T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  >  8 UNION SELECT T1.forename ,  T1.surname ,  T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  >  5",
        "query_toks": [
            "SELECT",
            "T1.forename",
            ",",
            "T1.surname",
            ",",
            "T1.driverid",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "pitstops",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "8",
            "UNION",
            "SELECT",
            "T1.forename",
            ",",
            "T1.surname",
            ",",
            "T1.driverid",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            ",",
            "t1",
            ".",
            "driverid",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "pitstops",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            ",",
            "t1",
            ".",
            "driverid",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the drivers' first, last names and id who had more than 8 pit stops or participated in more than 5 race results?",
        "question_toks": [
            "What",
            "are",
            "the",
            "drivers",
            "'",
            "first",
            ",",
            "last",
            "names",
            "and",
            "id",
            "who",
            "had",
            "more",
            "than",
            "8",
            "pit",
            "stops",
            "or",
            "participated",
            "in",
            "more",
            "than",
            "5",
            "race",
            "results",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        18,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        5.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.forename ,  T1.surname ,  T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  >  8 UNION SELECT T1.forename ,  T1.surname ,  T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  >  5",
        "query_toks": [
            "SELECT",
            "T1.forename",
            ",",
            "T1.surname",
            ",",
            "T1.driverid",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "pitstops",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "8",
            "UNION",
            "SELECT",
            "T1.forename",
            ",",
            "T1.surname",
            ",",
            "T1.driverid",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            ",",
            "t1",
            ".",
            "driverid",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "pitstops",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "forename",
            ",",
            "t1",
            ".",
            "surname",
            ",",
            "t1",
            ".",
            "driverid",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the drivers' first names,last names, and ids for all those that had more than 8 stops or participated in more than 5 races?",
        "question_toks": [
            "What",
            "are",
            "the",
            "drivers",
            "'",
            "first",
            "names",
            ",",
            "last",
            "names",
            ",",
            "and",
            "ids",
            "for",
            "all",
            "those",
            "that",
            "had",
            "more",
            "than",
            "8",
            "stops",
            "or",
            "participated",
            "in",
            "more",
            "than",
            "5",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    8.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        18,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        5.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.surname ,  T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  =  11 INTERSECT SELECT T1.surname ,  T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  >  5",
        "query_toks": [
            "SELECT",
            "T1.surname",
            ",",
            "T1.driverid",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "pitstops",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "11",
            "INTERSECT",
            "SELECT",
            "T1.surname",
            ",",
            "T1.driverid",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "surname",
            ",",
            "t1",
            ".",
            "driverid",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "pitstops",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "surname",
            ",",
            "t1",
            ".",
            "driverid",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the drivers' last names and id who had 11 pit stops and participated in more than 5 race results?",
        "question_toks": [
            "What",
            "are",
            "the",
            "drivers",
            "'",
            "last",
            "names",
            "and",
            "id",
            "who",
            "had",
            "11",
            "pit",
            "stops",
            "and",
            "participated",
            "in",
            "more",
            "than",
            "5",
            "race",
            "results",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    11.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        18,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        5.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.surname ,  T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  =  11 INTERSECT SELECT T1.surname ,  T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  >  5",
        "query_toks": [
            "SELECT",
            "T1.surname",
            ",",
            "T1.driverid",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "pitstops",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "11",
            "INTERSECT",
            "SELECT",
            "T1.surname",
            ",",
            "T1.driverid",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "surname",
            ",",
            "t1",
            ".",
            "driverid",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "pitstops",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "surname",
            ",",
            "t1",
            ".",
            "driverid",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the last names and ids of all drivers who had 11 pit stops and participated in more than 5 races?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "and",
            "ids",
            "of",
            "all",
            "drivers",
            "who",
            "had",
            "11",
            "pit",
            "stops",
            "and",
            "participated",
            "in",
            "more",
            "than",
            "5",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    11.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        18,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        5.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid  =  T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid WHERE T3.year > 2010 GROUP BY T1.driverid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "JOIN",
            "races",
            "AS",
            "T3",
            "ON",
            "T2.raceid",
            "=",
            "T3.raceid",
            "WHERE",
            "T3.year",
            ">",
            "2010",
            "GROUP",
            "BY",
            "T1.driverid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "join",
            "races",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "raceid",
            "=",
            "t3",
            ".",
            "raceid",
            "where",
            "t3",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and last name of the driver who participated in the most races after 2010?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "last",
            "name",
            "of",
            "the",
            "driver",
            "who",
            "participated",
            "in",
            "the",
            "most",
            "races",
            "after",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid  =  T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid WHERE T3.year > 2010 GROUP BY T1.driverid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "JOIN",
            "races",
            "AS",
            "T3",
            "ON",
            "T2.raceid",
            "=",
            "T3.raceid",
            "WHERE",
            "T3.year",
            ">",
            "2010",
            "GROUP",
            "BY",
            "T1.driverid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "join",
            "races",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "raceid",
            "=",
            "t3",
            ".",
            "raceid",
            "where",
            "t3",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and last name of the driver who participated in the most races after 2010?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "last",
            "name",
            "of",
            "the",
            "driver",
            "who",
            "participated",
            "in",
            "the",
            "most",
            "races",
            "after",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM circuits WHERE country = \"UK\" OR country = \"Malaysia\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "circuits",
            "WHERE",
            "country",
            "=",
            "``",
            "UK",
            "''",
            "OR",
            "country",
            "=",
            "``",
            "Malaysia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "circuits",
            "where",
            "country",
            "=",
            "value",
            "or",
            "country",
            "=",
            "value"
        ],
        "question": "What are the names of circuits that belong to UK or Malaysia?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "circuits",
            "that",
            "belong",
            "to",
            "UK",
            "or",
            "Malaysia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"UK\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Malaysia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT name FROM circuits WHERE country = \"UK\" OR country = \"Malaysia\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "circuits",
            "WHERE",
            "country",
            "=",
            "``",
            "UK",
            "''",
            "OR",
            "country",
            "=",
            "``",
            "Malaysia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "circuits",
            "where",
            "country",
            "=",
            "value",
            "or",
            "country",
            "=",
            "value"
        ],
        "question": "What are the names of all the circuits that are in the UK or Malaysia?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "circuits",
            "that",
            "are",
            "in",
            "the",
            "UK",
            "or",
            "Malaysia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"UK\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Malaysia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT circuitid ,  LOCATION FROM circuits WHERE country = \"France\" OR country = \"Belgium\"",
        "query_toks": [
            "SELECT",
            "circuitid",
            ",",
            "LOCATION",
            "FROM",
            "circuits",
            "WHERE",
            "country",
            "=",
            "``",
            "France",
            "''",
            "OR",
            "country",
            "=",
            "``",
            "Belgium",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "circuitid",
            ",",
            "location",
            "from",
            "circuits",
            "where",
            "country",
            "=",
            "value",
            "or",
            "country",
            "=",
            "value"
        ],
        "question": "Find the id and location of circuits that belong to France or Belgium?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "location",
            "of",
            "circuits",
            "that",
            "belong",
            "to",
            "France",
            "or",
            "Belgium",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"France\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Belgium\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT circuitid ,  LOCATION FROM circuits WHERE country = \"France\" OR country = \"Belgium\"",
        "query_toks": [
            "SELECT",
            "circuitid",
            ",",
            "LOCATION",
            "FROM",
            "circuits",
            "WHERE",
            "country",
            "=",
            "``",
            "France",
            "''",
            "OR",
            "country",
            "=",
            "``",
            "Belgium",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "circuitid",
            ",",
            "location",
            "from",
            "circuits",
            "where",
            "country",
            "=",
            "value",
            "or",
            "country",
            "=",
            "value"
        ],
        "question": "What are the ids and locations of all circuits in France or Belgium?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "locations",
            "of",
            "all",
            "circuits",
            "in",
            "France",
            "or",
            "Belgium",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"France\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Belgium\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.name FROM constructors AS T1 JOIN constructorstandings AS T2 ON T1.constructorid = T2.constructorid WHERE T1.nationality = \"Japanese\" AND T2.points > 5",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "constructors",
            "AS",
            "T1",
            "JOIN",
            "constructorstandings",
            "AS",
            "T2",
            "ON",
            "T1.constructorid",
            "=",
            "T2.constructorid",
            "WHERE",
            "T1.nationality",
            "=",
            "``",
            "Japanese",
            "''",
            "AND",
            "T2.points",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "constructors",
            "as",
            "t1",
            "join",
            "constructorstandings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "constructorid",
            "=",
            "t2",
            ".",
            "constructorid",
            "where",
            "t1",
            ".",
            "nationality",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "points",
            ">",
            "value"
        ],
        "question": "Find the names of Japanese constructors that have once earned more than 5 points?",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "Japanese",
            "constructors",
            "that",
            "have",
            "once",
            "earned",
            "more",
            "than",
            "5",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    "\"Japanese\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.name FROM constructors AS T1 JOIN constructorstandings AS T2 ON T1.constructorid = T2.constructorid WHERE T1.nationality = \"Japanese\" AND T2.points > 5",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "constructors",
            "AS",
            "T1",
            "JOIN",
            "constructorstandings",
            "AS",
            "T2",
            "ON",
            "T1.constructorid",
            "=",
            "T2.constructorid",
            "WHERE",
            "T1.nationality",
            "=",
            "``",
            "Japanese",
            "''",
            "AND",
            "T2.points",
            ">",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "constructors",
            "as",
            "t1",
            "join",
            "constructorstandings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "constructorid",
            "=",
            "t2",
            ".",
            "constructorid",
            "where",
            "t1",
            ".",
            "nationality",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "points",
            ">",
            "value"
        ],
        "question": "What are the names of all the Japanese constructors that have earned more than 5 points?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "Japanese",
            "constructors",
            "that",
            "have",
            "earned",
            "more",
            "than",
            "5",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    "\"Japanese\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT avg(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = \"Monaco Grand Prix\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.fastestlapspeed",
            ")",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T1.year",
            "=",
            "2008",
            "AND",
            "T1.name",
            "=",
            "``",
            "Monaco",
            "Grand",
            "Prix",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "fastestlapspeed",
            ")",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the average fastest lap speed in race named 'Monaco Grand Prix' in 2008 ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "fastest",
            "lap",
            "speed",
            "in",
            "race",
            "named",
            "'Monaco",
            "Grand",
            "Prix",
            "'",
            "in",
            "2008",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Monaco Grand Prix\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT avg(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = \"Monaco Grand Prix\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.fastestlapspeed",
            ")",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T1.year",
            "=",
            "2008",
            "AND",
            "T1.name",
            "=",
            "``",
            "Monaco",
            "Grand",
            "Prix",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "fastestlapspeed",
            ")",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the average fastest lap speed for the Monaco Grand Prix in 2008?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "fastest",
            "lap",
            "speed",
            "for",
            "the",
            "Monaco",
            "Grand",
            "Prix",
            "in",
            "2008",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Monaco Grand Prix\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT max(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = \"Monaco Grand Prix\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.fastestlapspeed",
            ")",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T1.year",
            "=",
            "2008",
            "AND",
            "T1.name",
            "=",
            "``",
            "Monaco",
            "Grand",
            "Prix",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "fastestlapspeed",
            ")",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the maximum fastest lap speed in race named 'Monaco Grand Prix' in 2008 ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "fastest",
            "lap",
            "speed",
            "in",
            "race",
            "named",
            "'Monaco",
            "Grand",
            "Prix",
            "'",
            "in",
            "2008",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Monaco Grand Prix\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT max(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = \"Monaco Grand Prix\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.fastestlapspeed",
            ")",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T1.year",
            "=",
            "2008",
            "AND",
            "T1.name",
            "=",
            "``",
            "Monaco",
            "Grand",
            "Prix",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "fastestlapspeed",
            ")",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the maximum fastest lap speed in the Monaco Grand Prix in 2008?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "fastest",
            "lap",
            "speed",
            "in",
            "the",
            "Monaco",
            "Grand",
            "Prix",
            "in",
            "2008",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Monaco Grand Prix\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT max(T2.fastestlapspeed) ,  T1.name ,  T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.fastestlapspeed",
            ")",
            ",",
            "T1.name",
            ",",
            "T1.year",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T1.year",
            ">",
            "2014",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "T1.year"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "fastestlapspeed",
            ")",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t1",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "t1",
            ".",
            "year"
        ],
        "question": "What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "fastest",
            "lap",
            "speed",
            "in",
            "races",
            "held",
            "after",
            "2004",
            "grouped",
            "by",
            "race",
            "name",
            "and",
            "ordered",
            "by",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT max(T2.fastestlapspeed) ,  T1.name ,  T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.fastestlapspeed",
            ")",
            ",",
            "T1.name",
            ",",
            "T1.year",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T1.year",
            ">",
            "2014",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "T1.year"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "fastestlapspeed",
            ")",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t1",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "t1",
            ".",
            "year"
        ],
        "question": "For each race name, What is the maximum fastest lap speed for races after 2004 ordered by year?",
        "question_toks": [
            "For",
            "each",
            "race",
            "name",
            ",",
            "What",
            "is",
            "the",
            "maximum",
            "fastest",
            "lap",
            "speed",
            "for",
            "races",
            "after",
            "2004",
            "ordered",
            "by",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT avg(T2.fastestlapspeed) ,  T1.name ,  T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.fastestlapspeed",
            ")",
            ",",
            "T1.name",
            ",",
            "T1.year",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T1.year",
            ">",
            "2014",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "T1.year"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "fastestlapspeed",
            ")",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t1",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "t1",
            ".",
            "year"
        ],
        "question": "What are the average fastest lap speed in races held after 2004 grouped by race name and ordered by year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "fastest",
            "lap",
            "speed",
            "in",
            "races",
            "held",
            "after",
            "2004",
            "grouped",
            "by",
            "race",
            "name",
            "and",
            "ordered",
            "by",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT avg(T2.fastestlapspeed) ,  T1.name ,  T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.fastestlapspeed",
            ")",
            ",",
            "T1.name",
            ",",
            "T1.year",
            "FROM",
            "races",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.raceid",
            "=",
            "T2.raceid",
            "WHERE",
            "T1.year",
            ">",
            "2014",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "T1.year"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "fastestlapspeed",
            ")",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "races",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "raceid",
            "=",
            "t2",
            ".",
            "raceid",
            "where",
            "t1",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "t1",
            ".",
            "year"
        ],
        "question": "What is the average fastest lap speed for races held after 2004, for each race, ordered by year?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "fastest",
            "lap",
            "speed",
            "for",
            "races",
            "held",
            "after",
            "2004",
            ",",
            "for",
            "each",
            "race",
            ",",
            "ordered",
            "by",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.forename ,  count(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.forename",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "JOIN",
            "races",
            "AS",
            "T3",
            "ON",
            "T2.raceid",
            "=",
            "T3.raceid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "forename",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "join",
            "races",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "raceid",
            "=",
            "t3",
            ".",
            "raceid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the id, forename and number of races of all drivers who have at least participated in two races?",
        "question_toks": [
            "Find",
            "the",
            "id",
            ",",
            "forename",
            "and",
            "number",
            "of",
            "races",
            "of",
            "all",
            "drivers",
            "who",
            "have",
            "at",
            "least",
            "participated",
            "in",
            "two",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.forename ,  count(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.forename",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "JOIN",
            "races",
            "AS",
            "T3",
            "ON",
            "T2.raceid",
            "=",
            "T3.raceid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "forename",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "join",
            "races",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "raceid",
            "=",
            "t3",
            ".",
            "raceid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the id, forename, and number of races for all drivers that have participated in at least 2 races?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            ",",
            "forename",
            ",",
            "and",
            "number",
            "of",
            "races",
            "for",
            "all",
            "drivers",
            "that",
            "have",
            "participated",
            "in",
            "at",
            "least",
            "2",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  count(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING count(*)  <=  30",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "JOIN",
            "races",
            "AS",
            "T3",
            "ON",
            "T2.raceid",
            "=",
            "T3.raceid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "join",
            "races",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "raceid",
            "=",
            "t3",
            ".",
            "raceid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "Find the driver id and number of races of all drivers who have at most participated in 30 races?",
        "question_toks": [
            "Find",
            "the",
            "driver",
            "id",
            "and",
            "number",
            "of",
            "races",
            "of",
            "all",
            "drivers",
            "who",
            "have",
            "at",
            "most",
            "participated",
            "in",
            "30",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  count(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING count(*)  <=  30",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "JOIN",
            "races",
            "AS",
            "T3",
            "ON",
            "T2.raceid",
            "=",
            "T3.raceid",
            "GROUP",
            "BY",
            "T1.driverid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "join",
            "races",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "raceid",
            "=",
            "t3",
            ".",
            "raceid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "For each id of a driver who participated in at most 30 races, how many races did they participate in?",
        "question_toks": [
            "For",
            "each",
            "id",
            "of",
            "a",
            "driver",
            "who",
            "participated",
            "in",
            "at",
            "most",
            "30",
            "races",
            ",",
            "how",
            "many",
            "races",
            "did",
            "they",
            "participate",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "JOIN",
            "races",
            "AS",
            "T3",
            "ON",
            "T2.raceid",
            "=",
            "T3.raceid",
            "GROUP",
            "BY",
            "T1.driverid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "join",
            "races",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "raceid",
            "=",
            "t3",
            ".",
            "raceid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and surname of the driver who participated the most number of races?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "surname",
            "of",
            "the",
            "driver",
            "who",
            "participated",
            "the",
            "most",
            "number",
            "of",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "formula_1",
        "query": "SELECT T1.driverid ,  T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.driverid",
            ",",
            "T1.surname",
            "FROM",
            "drivers",
            "AS",
            "T1",
            "JOIN",
            "results",
            "AS",
            "T2",
            "ON",
            "T1.driverid",
            "=",
            "T2.driverid",
            "JOIN",
            "races",
            "AS",
            "T3",
            "ON",
            "T2.raceid",
            "=",
            "T3.raceid",
            "GROUP",
            "BY",
            "T1.driverid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "driverid",
            ",",
            "t1",
            ".",
            "surname",
            "from",
            "drivers",
            "as",
            "t1",
            "join",
            "results",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driverid",
            "=",
            "t2",
            ".",
            "driverid",
            "join",
            "races",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "raceid",
            "=",
            "t3",
            ".",
            "raceid",
            "group",
            "by",
            "t1",
            ".",
            "driverid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the ids and last names of all drivers who participated in the most races?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "last",
            "names",
            "of",
            "all",
            "drivers",
            "who",
            "participated",
            "in",
            "the",
            "most",
            "races",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT count(*) FROM technician",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "technician"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "technician"
        ],
        "question": "How many technicians are there?",
        "question_toks": [
            "How",
            "many",
            "technicians",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT count(*) FROM technician",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "technician"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "technician"
        ],
        "question": "What is the number of technicians?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "technicians",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Name FROM technician ORDER BY Age ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "technician",
            "ORDER",
            "BY",
            "Age",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "technician",
            "order",
            "by",
            "age",
            "asc"
        ],
        "question": "List the names of technicians in ascending order of age.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "technicians",
            "in",
            "ascending",
            "order",
            "of",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Name FROM technician ORDER BY Age ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "technician",
            "ORDER",
            "BY",
            "Age",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "technician",
            "order",
            "by",
            "age",
            "asc"
        ],
        "question": "What are the names of the technicians by ascending order of age?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "technicians",
            "by",
            "ascending",
            "order",
            "of",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Team ,  Starting_Year FROM technician",
        "query_toks": [
            "SELECT",
            "Team",
            ",",
            "Starting_Year",
            "FROM",
            "technician"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            ",",
            "starting_year",
            "from",
            "technician"
        ],
        "question": "What are the team and starting year of technicians?",
        "question_toks": [
            "What",
            "are",
            "the",
            "team",
            "and",
            "starting",
            "year",
            "of",
            "technicians",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Team ,  Starting_Year FROM technician",
        "query_toks": [
            "SELECT",
            "Team",
            ",",
            "Starting_Year",
            "FROM",
            "technician"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            ",",
            "starting_year",
            "from",
            "technician"
        ],
        "question": "What is the team and starting year for each technician?",
        "question_toks": [
            "What",
            "is",
            "the",
            "team",
            "and",
            "starting",
            "year",
            "for",
            "each",
            "technician",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Name FROM technician WHERE Team != \"NYY\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "technician",
            "WHERE",
            "Team",
            "!",
            "=",
            "``",
            "NYY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "technician",
            "where",
            "team",
            "!",
            "=",
            "value"
        ],
        "question": "List the name of technicians whose team is not \"NYY\".",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "technicians",
            "whose",
            "team",
            "is",
            "not",
            "``",
            "NYY",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"NYY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Name FROM technician WHERE Team != \"NYY\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "technician",
            "WHERE",
            "Team",
            "!",
            "=",
            "``",
            "NYY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "technician",
            "where",
            "team",
            "!",
            "=",
            "value"
        ],
        "question": "What is the name of the technician whose team is not 'NYY'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "technician",
            "whose",
            "team",
            "is",
            "not",
            "'NYY",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"NYY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Name FROM technician WHERE Age  =  36 OR Age  =  37",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "technician",
            "WHERE",
            "Age",
            "=",
            "36",
            "OR",
            "Age",
            "=",
            "37"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "technician",
            "where",
            "age",
            "=",
            "value",
            "or",
            "age",
            "=",
            "value"
        ],
        "question": "Show the name of technicians aged either 36 or 37",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "technicians",
            "aged",
            "either",
            "36",
            "or",
            "37"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    36.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    37.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Name FROM technician WHERE Age  =  36 OR Age  =  37",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "technician",
            "WHERE",
            "Age",
            "=",
            "36",
            "OR",
            "Age",
            "=",
            "37"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "technician",
            "where",
            "age",
            "=",
            "value",
            "or",
            "age",
            "=",
            "value"
        ],
        "question": "What are the names of the technicians aged either 36 or 37?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "technicians",
            "aged",
            "either",
            "36",
            "or",
            "37",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    36.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    37.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Starting_Year FROM technician ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Starting_Year",
            "FROM",
            "technician",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "starting_year",
            "from",
            "technician",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the starting year of the oldest technicians?",
        "question_toks": [
            "What",
            "is",
            "the",
            "starting",
            "year",
            "of",
            "the",
            "oldest",
            "technicians",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Starting_Year FROM technician ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Starting_Year",
            "FROM",
            "technician",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "starting_year",
            "from",
            "technician",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the starting year for the oldest technician?",
        "question_toks": [
            "What",
            "is",
            "the",
            "starting",
            "year",
            "for",
            "the",
            "oldest",
            "technician",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Team ,  COUNT(*) FROM technician GROUP BY Team",
        "query_toks": [
            "SELECT",
            "Team",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "technician",
            "GROUP",
            "BY",
            "Team"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "technician",
            "group",
            "by",
            "team"
        ],
        "question": "Show different teams of technicians and the number of technicians in each team.",
        "question_toks": [
            "Show",
            "different",
            "teams",
            "of",
            "technicians",
            "and",
            "the",
            "number",
            "of",
            "technicians",
            "in",
            "each",
            "team",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Team ,  COUNT(*) FROM technician GROUP BY Team",
        "query_toks": [
            "SELECT",
            "Team",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "technician",
            "GROUP",
            "BY",
            "Team"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "technician",
            "group",
            "by",
            "team"
        ],
        "question": "For each team, how many technicians are there?",
        "question_toks": [
            "For",
            "each",
            "team",
            ",",
            "how",
            "many",
            "technicians",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Team FROM technician GROUP BY Team ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "technician",
            "GROUP",
            "BY",
            "Team",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "technician",
            "group",
            "by",
            "team",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the team that has the most number of technicians.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "team",
            "that",
            "has",
            "the",
            "most",
            "number",
            "of",
            "technicians",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Team FROM technician GROUP BY Team ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "technician",
            "GROUP",
            "BY",
            "Team",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "technician",
            "group",
            "by",
            "team",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the teams with the most technicians?",
        "question_toks": [
            "What",
            "are",
            "the",
            "teams",
            "with",
            "the",
            "most",
            "technicians",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Team FROM technician GROUP BY Team HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "technician",
            "GROUP",
            "BY",
            "Team",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "technician",
            "group",
            "by",
            "team",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the team that have at least two technicians.",
        "question_toks": [
            "Show",
            "the",
            "team",
            "that",
            "have",
            "at",
            "least",
            "two",
            "technicians",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Team FROM technician GROUP BY Team HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "technician",
            "GROUP",
            "BY",
            "Team",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "technician",
            "group",
            "by",
            "team",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the team with at least 2 technicians?",
        "question_toks": [
            "What",
            "is",
            "the",
            "team",
            "with",
            "at",
            "least",
            "2",
            "technicians",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT T3.Name ,  T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id  =  T2.machine_id JOIN technician AS T3 ON T1.technician_ID  =  T3.technician_ID",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.Machine_series",
            "FROM",
            "repair_assignment",
            "AS",
            "T1",
            "JOIN",
            "machine",
            "AS",
            "T2",
            "ON",
            "T1.machine_id",
            "=",
            "T2.machine_id",
            "JOIN",
            "technician",
            "AS",
            "T3",
            "ON",
            "T1.technician_ID",
            "=",
            "T3.technician_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "machine_series",
            "from",
            "repair_assignment",
            "as",
            "t1",
            "join",
            "machine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "machine_id",
            "=",
            "t2",
            ".",
            "machine_id",
            "join",
            "technician",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "technician_id",
            "=",
            "t3",
            ".",
            "technician_id"
        ],
        "question": "Show names of technicians and series of machines they are assigned to repair.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "technicians",
            "and",
            "series",
            "of",
            "machines",
            "they",
            "are",
            "assigned",
            "to",
            "repair",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT T3.Name ,  T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id  =  T2.machine_id JOIN technician AS T3 ON T1.technician_ID  =  T3.technician_ID",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.Machine_series",
            "FROM",
            "repair_assignment",
            "AS",
            "T1",
            "JOIN",
            "machine",
            "AS",
            "T2",
            "ON",
            "T1.machine_id",
            "=",
            "T2.machine_id",
            "JOIN",
            "technician",
            "AS",
            "T3",
            "ON",
            "T1.technician_ID",
            "=",
            "T3.technician_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "machine_series",
            "from",
            "repair_assignment",
            "as",
            "t1",
            "join",
            "machine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "machine_id",
            "=",
            "t2",
            ".",
            "machine_id",
            "join",
            "technician",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "technician_id",
            "=",
            "t3",
            ".",
            "technician_id"
        ],
        "question": "What are the names of technicians and the machine series that they repair?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "technicians",
            "and",
            "the",
            "machine",
            "series",
            "that",
            "they",
            "repair",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id  =  T2.machine_id JOIN technician AS T3 ON T1.technician_ID  =  T3.technician_ID ORDER BY T2.quality_rank",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "repair_assignment",
            "AS",
            "T1",
            "JOIN",
            "machine",
            "AS",
            "T2",
            "ON",
            "T1.machine_id",
            "=",
            "T2.machine_id",
            "JOIN",
            "technician",
            "AS",
            "T3",
            "ON",
            "T1.technician_ID",
            "=",
            "T3.technician_ID",
            "ORDER",
            "BY",
            "T2.quality_rank"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "repair_assignment",
            "as",
            "t1",
            "join",
            "machine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "machine_id",
            "=",
            "t2",
            ".",
            "machine_id",
            "join",
            "technician",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "technician_id",
            "=",
            "t3",
            ".",
            "technician_id",
            "order",
            "by",
            "t2",
            ".",
            "quality_rank"
        ],
        "question": "Show names of technicians in ascending order of quality rank of the machine they are assigned.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "technicians",
            "in",
            "ascending",
            "order",
            "of",
            "quality",
            "rank",
            "of",
            "the",
            "machine",
            "they",
            "are",
            "assigned",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id  =  T2.machine_id JOIN technician AS T3 ON T1.technician_ID  =  T3.technician_ID ORDER BY T2.quality_rank",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "repair_assignment",
            "AS",
            "T1",
            "JOIN",
            "machine",
            "AS",
            "T2",
            "ON",
            "T1.machine_id",
            "=",
            "T2.machine_id",
            "JOIN",
            "technician",
            "AS",
            "T3",
            "ON",
            "T1.technician_ID",
            "=",
            "T3.technician_ID",
            "ORDER",
            "BY",
            "T2.quality_rank"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "repair_assignment",
            "as",
            "t1",
            "join",
            "machine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "machine_id",
            "=",
            "t2",
            ".",
            "machine_id",
            "join",
            "technician",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "technician_id",
            "=",
            "t3",
            ".",
            "technician_id",
            "order",
            "by",
            "t2",
            ".",
            "quality_rank"
        ],
        "question": "What are the names of the technicians by ascending order of quality rank for the machine they are assigned?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "technicians",
            "by",
            "ascending",
            "order",
            "of",
            "quality",
            "rank",
            "for",
            "the",
            "machine",
            "they",
            "are",
            "assigned",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id  =  T2.machine_id JOIN technician AS T3 ON T1.technician_ID  =  T3.technician_ID WHERE T2.value_points  >  70",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "repair_assignment",
            "AS",
            "T1",
            "JOIN",
            "machine",
            "AS",
            "T2",
            "ON",
            "T1.machine_id",
            "=",
            "T2.machine_id",
            "JOIN",
            "technician",
            "AS",
            "T3",
            "ON",
            "T1.technician_ID",
            "=",
            "T3.technician_ID",
            "WHERE",
            "T2.value_points",
            ">",
            "70"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "repair_assignment",
            "as",
            "t1",
            "join",
            "machine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "machine_id",
            "=",
            "t2",
            ".",
            "machine_id",
            "join",
            "technician",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "technician_id",
            "=",
            "t3",
            ".",
            "technician_id",
            "where",
            "t2",
            ".",
            "value_points",
            ">",
            "value"
        ],
        "question": "Show names of technicians who are assigned to repair machines with value point more than 70.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "technicians",
            "who",
            "are",
            "assigned",
            "to",
            "repair",
            "machines",
            "with",
            "value",
            "point",
            "more",
            "than",
            "70",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    70.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id  =  T2.machine_id JOIN technician AS T3 ON T1.technician_ID  =  T3.technician_ID WHERE T2.value_points  >  70",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "repair_assignment",
            "AS",
            "T1",
            "JOIN",
            "machine",
            "AS",
            "T2",
            "ON",
            "T1.machine_id",
            "=",
            "T2.machine_id",
            "JOIN",
            "technician",
            "AS",
            "T3",
            "ON",
            "T1.technician_ID",
            "=",
            "T3.technician_ID",
            "WHERE",
            "T2.value_points",
            ">",
            "70"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "repair_assignment",
            "as",
            "t1",
            "join",
            "machine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "machine_id",
            "=",
            "t2",
            ".",
            "machine_id",
            "join",
            "technician",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "technician_id",
            "=",
            "t3",
            ".",
            "technician_id",
            "where",
            "t2",
            ".",
            "value_points",
            ">",
            "value"
        ],
        "question": "What are the names of the technicians that are assigned to repair machines with more point values than 70?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "technicians",
            "that",
            "are",
            "assigned",
            "to",
            "repair",
            "machines",
            "with",
            "more",
            "point",
            "values",
            "than",
            "70",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    70.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT T2.Name ,  COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID  =  T2.technician_ID GROUP BY T2.Name",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "repair_assignment",
            "AS",
            "T1",
            "JOIN",
            "technician",
            "AS",
            "T2",
            "ON",
            "T1.technician_ID",
            "=",
            "T2.technician_ID",
            "GROUP",
            "BY",
            "T2.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "repair_assignment",
            "as",
            "t1",
            "join",
            "technician",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "technician_id",
            "=",
            "t2",
            ".",
            "technician_id",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "Show names of technicians and the number of machines they are assigned to repair.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "technicians",
            "and",
            "the",
            "number",
            "of",
            "machines",
            "they",
            "are",
            "assigned",
            "to",
            "repair",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT T2.Name ,  COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID  =  T2.technician_ID GROUP BY T2.Name",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "repair_assignment",
            "AS",
            "T1",
            "JOIN",
            "technician",
            "AS",
            "T2",
            "ON",
            "T1.technician_ID",
            "=",
            "T2.technician_ID",
            "GROUP",
            "BY",
            "T2.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "repair_assignment",
            "as",
            "t1",
            "join",
            "technician",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "technician_id",
            "=",
            "t2",
            ".",
            "technician_id",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "What are the names of the technicians  and how many machines are they assigned to repair?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "technicians",
            "and",
            "how",
            "many",
            "machines",
            "are",
            "they",
            "assigned",
            "to",
            "repair",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Name FROM technician WHERE technician_id NOT IN (SELECT technician_id FROM repair_assignment)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "technician",
            "WHERE",
            "technician_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "technician_id",
            "FROM",
            "repair_assignment",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "technician",
            "where",
            "technician_id",
            "not",
            "in",
            "(",
            "select",
            "technician_id",
            "from",
            "repair_assignment",
            ")"
        ],
        "question": "List the names of technicians who have not been assigned to repair machines.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "technicians",
            "who",
            "have",
            "not",
            "been",
            "assigned",
            "to",
            "repair",
            "machines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Name FROM technician WHERE technician_id NOT IN (SELECT technician_id FROM repair_assignment)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "technician",
            "WHERE",
            "technician_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "technician_id",
            "FROM",
            "repair_assignment",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "technician",
            "where",
            "technician_id",
            "not",
            "in",
            "(",
            "select",
            "technician_id",
            "from",
            "repair_assignment",
            ")"
        ],
        "question": "What are the names of the technicians that have not been assigned to repair machines?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "technicians",
            "that",
            "have",
            "not",
            "been",
            "assigned",
            "to",
            "repair",
            "machines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Starting_Year FROM technician WHERE Team  =  \"CLE\" INTERSECT SELECT Starting_Year FROM technician WHERE Team  =  \"CWS\"",
        "query_toks": [
            "SELECT",
            "Starting_Year",
            "FROM",
            "technician",
            "WHERE",
            "Team",
            "=",
            "``",
            "CLE",
            "''",
            "INTERSECT",
            "SELECT",
            "Starting_Year",
            "FROM",
            "technician",
            "WHERE",
            "Team",
            "=",
            "``",
            "CWS",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "starting_year",
            "from",
            "technician",
            "where",
            "team",
            "=",
            "value",
            "intersect",
            "select",
            "starting_year",
            "from",
            "technician",
            "where",
            "team",
            "=",
            "value"
        ],
        "question": "Show the starting years shared by technicians from team \"CLE\" and \"CWS\".",
        "question_toks": [
            "Show",
            "the",
            "starting",
            "years",
            "shared",
            "by",
            "technicians",
            "from",
            "team",
            "``",
            "CLE",
            "''",
            "and",
            "``",
            "CWS",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"CLE\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"CWS\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "machine_repair",
        "query": "SELECT Starting_Year FROM technician WHERE Team  =  \"CLE\" INTERSECT SELECT Starting_Year FROM technician WHERE Team  =  \"CWS\"",
        "query_toks": [
            "SELECT",
            "Starting_Year",
            "FROM",
            "technician",
            "WHERE",
            "Team",
            "=",
            "``",
            "CLE",
            "''",
            "INTERSECT",
            "SELECT",
            "Starting_Year",
            "FROM",
            "technician",
            "WHERE",
            "Team",
            "=",
            "``",
            "CWS",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "starting_year",
            "from",
            "technician",
            "where",
            "team",
            "=",
            "value",
            "intersect",
            "select",
            "starting_year",
            "from",
            "technician",
            "where",
            "team",
            "=",
            "value"
        ],
        "question": "What are the starting years shared by the technicians from the team \"CLE\" or \"CWS\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "starting",
            "years",
            "shared",
            "by",
            "the",
            "technicians",
            "from",
            "the",
            "team",
            "``",
            "CLE",
            "''",
            "or",
            "``",
            "CWS",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"CLE\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"CWS\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT count(*) FROM entrepreneur",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "entrepreneur"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "entrepreneur"
        ],
        "question": "How many entrepreneurs are there?",
        "question_toks": [
            "How",
            "many",
            "entrepreneurs",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT count(*) FROM entrepreneur",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "entrepreneur"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "entrepreneur"
        ],
        "question": "Count the number of entrepreneurs.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "entrepreneurs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Company FROM entrepreneur ORDER BY Money_Requested DESC",
        "query_toks": [
            "SELECT",
            "Company",
            "FROM",
            "entrepreneur",
            "ORDER",
            "BY",
            "Money_Requested",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            "from",
            "entrepreneur",
            "order",
            "by",
            "money_requested",
            "desc"
        ],
        "question": "List the companies of entrepreneurs in descending order of money requested.",
        "question_toks": [
            "List",
            "the",
            "companies",
            "of",
            "entrepreneurs",
            "in",
            "descending",
            "order",
            "of",
            "money",
            "requested",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Company FROM entrepreneur ORDER BY Money_Requested DESC",
        "query_toks": [
            "SELECT",
            "Company",
            "FROM",
            "entrepreneur",
            "ORDER",
            "BY",
            "Money_Requested",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            "from",
            "entrepreneur",
            "order",
            "by",
            "money_requested",
            "desc"
        ],
        "question": "What are the companies of entrepreneurs, ordered descending by amount of money requested?",
        "question_toks": [
            "What",
            "are",
            "the",
            "companies",
            "of",
            "entrepreneurs",
            ",",
            "ordered",
            "descending",
            "by",
            "amount",
            "of",
            "money",
            "requested",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Company ,  Investor FROM entrepreneur",
        "query_toks": [
            "SELECT",
            "Company",
            ",",
            "Investor",
            "FROM",
            "entrepreneur"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "investor",
            "from",
            "entrepreneur"
        ],
        "question": "List the companies and the investors of entrepreneurs.",
        "question_toks": [
            "List",
            "the",
            "companies",
            "and",
            "the",
            "investors",
            "of",
            "entrepreneurs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Company ,  Investor FROM entrepreneur",
        "query_toks": [
            "SELECT",
            "Company",
            ",",
            "Investor",
            "FROM",
            "entrepreneur"
        ],
        "query_toks_no_value": [
            "select",
            "company",
            ",",
            "investor",
            "from",
            "entrepreneur"
        ],
        "question": "What are the companies and investors that correspond to each entrepreneur?",
        "question_toks": [
            "What",
            "are",
            "the",
            "companies",
            "and",
            "investors",
            "that",
            "correspond",
            "to",
            "each",
            "entrepreneur",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT avg(Money_Requested) FROM entrepreneur",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Money_Requested",
            ")",
            "FROM",
            "entrepreneur"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "money_requested",
            ")",
            "from",
            "entrepreneur"
        ],
        "question": "What is the average money requested by all entrepreneurs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "money",
            "requested",
            "by",
            "all",
            "entrepreneurs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT avg(Money_Requested) FROM entrepreneur",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Money_Requested",
            ")",
            "FROM",
            "entrepreneur"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "money_requested",
            ")",
            "from",
            "entrepreneur"
        ],
        "question": "Return the average money requested across all entrepreneurs.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "money",
            "requested",
            "across",
            "all",
            "entrepreneurs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Name FROM People ORDER BY Weight ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "People",
            "ORDER",
            "BY",
            "Weight",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "weight",
            "asc"
        ],
        "question": "What are the names of people in ascending order of weight?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "people",
            "in",
            "ascending",
            "order",
            "of",
            "weight",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Name FROM People ORDER BY Weight ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "People",
            "ORDER",
            "BY",
            "Weight",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "weight",
            "asc"
        ],
        "question": "Return the names of people, ordered by weight ascending.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "people",
            ",",
            "ordered",
            "by",
            "weight",
            "ascending",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "What are the names of entrepreneurs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "entrepreneurs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "Return the names of entrepreneurs.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "entrepreneurs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Investor != \"Rachel Elnaugh\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Investor",
            "!",
            "=",
            "``",
            "Rachel",
            "Elnaugh",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "investor",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of entrepreneurs whose investor is not \"Rachel Elnaugh\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "entrepreneurs",
            "whose",
            "investor",
            "is",
            "not",
            "``",
            "Rachel",
            "Elnaugh",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Rachel Elnaugh\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Investor != \"Rachel Elnaugh\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Investor",
            "!",
            "=",
            "``",
            "Rachel",
            "Elnaugh",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "investor",
            "!",
            "=",
            "value"
        ],
        "question": "Return the names of entrepreneurs do no not have the investor Rachel Elnaugh.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "entrepreneurs",
            "do",
            "no",
            "not",
            "have",
            "the",
            "investor",
            "Rachel",
            "Elnaugh",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Rachel Elnaugh\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Weight FROM people ORDER BY Height ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Weight",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "Height",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "weight",
            "from",
            "people",
            "order",
            "by",
            "height",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the weight of the shortest person?",
        "question_toks": [
            "What",
            "is",
            "the",
            "weight",
            "of",
            "the",
            "shortest",
            "person",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Weight FROM people ORDER BY Height ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Weight",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "Height",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "weight",
            "from",
            "people",
            "order",
            "by",
            "height",
            "asc",
            "limit",
            "value"
        ],
        "question": "Return the weight of the shortest person.",
        "question_toks": [
            "Return",
            "the",
            "weight",
            "of",
            "the",
            "shortest",
            "person",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Weight DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Weight",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "weight",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the entrepreneur with the greatest weight?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "entrepreneur",
            "with",
            "the",
            "greatest",
            "weight",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Weight DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Weight",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "weight",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name of the heaviest entrepreneur.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "heaviest",
            "entrepreneur",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT sum(T1.Money_Requested) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Height  >  1.85",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.Money_Requested",
            ")",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T2.Height",
            ">",
            "1.85"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "money_requested",
            ")",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "height",
            ">",
            "value"
        ],
        "question": "What is the total money requested by entrepreneurs with height more than 1.85?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "money",
            "requested",
            "by",
            "entrepreneurs",
            "with",
            "height",
            "more",
            "than",
            "1.85",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    1.85,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT sum(T1.Money_Requested) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Height  >  1.85",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.Money_Requested",
            ")",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T2.Height",
            ">",
            "1.85"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "money_requested",
            ")",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "height",
            ">",
            "value"
        ],
        "question": "Give the total money requested by entrepreneurs who are taller than 1.85.",
        "question_toks": [
            "Give",
            "the",
            "total",
            "money",
            "requested",
            "by",
            "entrepreneurs",
            "who",
            "are",
            "taller",
            "than",
            "1.85",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    1.85,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Investor  =  \"Simon Woodroffe\" OR T1.Investor  =  \"Peter Jones\"",
        "query_toks": [
            "SELECT",
            "T2.Date_of_Birth",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Investor",
            "=",
            "``",
            "Simon",
            "Woodroffe",
            "''",
            "OR",
            "T1.Investor",
            "=",
            "``",
            "Peter",
            "Jones",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_of_birth",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "investor",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "investor",
            "=",
            "value"
        ],
        "question": "What are the dates of birth of entrepreneurs with investor \"Simon Woodroffe\" or \"Peter Jones\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "of",
            "birth",
            "of",
            "entrepreneurs",
            "with",
            "investor",
            "``",
            "Simon",
            "Woodroffe",
            "''",
            "or",
            "``",
            "Peter",
            "Jones",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Simon Woodroffe\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Peter Jones\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Investor  =  \"Simon Woodroffe\" OR T1.Investor  =  \"Peter Jones\"",
        "query_toks": [
            "SELECT",
            "T2.Date_of_Birth",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Investor",
            "=",
            "``",
            "Simon",
            "Woodroffe",
            "''",
            "OR",
            "T1.Investor",
            "=",
            "``",
            "Peter",
            "Jones",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_of_birth",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "investor",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "investor",
            "=",
            "value"
        ],
        "question": "Return the dates of birth for entrepreneurs who have either the investor Simon Woodroffe or Peter Jones.",
        "question_toks": [
            "Return",
            "the",
            "dates",
            "of",
            "birth",
            "for",
            "entrepreneurs",
            "who",
            "have",
            "either",
            "the",
            "investor",
            "Simon",
            "Woodroffe",
            "or",
            "Peter",
            "Jones",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Simon Woodroffe\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Peter Jones\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Weight FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Money_Requested DESC",
        "query_toks": [
            "SELECT",
            "T2.Weight",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Money_Requested",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "weight",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "money_requested",
            "desc"
        ],
        "question": "What are the weights of entrepreneurs in descending order of money requested?",
        "question_toks": [
            "What",
            "are",
            "the",
            "weights",
            "of",
            "entrepreneurs",
            "in",
            "descending",
            "order",
            "of",
            "money",
            "requested",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Weight FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Money_Requested DESC",
        "query_toks": [
            "SELECT",
            "T2.Weight",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Money_Requested",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "weight",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "money_requested",
            "desc"
        ],
        "question": "Return the weights of entrepreneurs, ordered descending by amount of money requested.",
        "question_toks": [
            "Return",
            "the",
            "weights",
            "of",
            "entrepreneurs",
            ",",
            "ordered",
            "descending",
            "by",
            "amount",
            "of",
            "money",
            "requested",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Investor ,  COUNT(*) FROM entrepreneur GROUP BY Investor",
        "query_toks": [
            "SELECT",
            "Investor",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "entrepreneur",
            "GROUP",
            "BY",
            "Investor"
        ],
        "query_toks_no_value": [
            "select",
            "investor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "entrepreneur",
            "group",
            "by",
            "investor"
        ],
        "question": "What are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor?",
        "question_toks": [
            "What",
            "are",
            "the",
            "investors",
            "of",
            "entrepreneurs",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "entrepreneurs",
            "invested",
            "by",
            "each",
            "investor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Investor ,  COUNT(*) FROM entrepreneur GROUP BY Investor",
        "query_toks": [
            "SELECT",
            "Investor",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "entrepreneur",
            "GROUP",
            "BY",
            "Investor"
        ],
        "query_toks_no_value": [
            "select",
            "investor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "entrepreneur",
            "group",
            "by",
            "investor"
        ],
        "question": "How many entrepreneurs correspond to each investor?",
        "question_toks": [
            "How",
            "many",
            "entrepreneurs",
            "correspond",
            "to",
            "each",
            "investor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Investor FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Investor",
            "FROM",
            "entrepreneur",
            "GROUP",
            "BY",
            "Investor",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "investor",
            "from",
            "entrepreneur",
            "group",
            "by",
            "investor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the investor that has invested in the most number of entrepreneurs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "investor",
            "that",
            "has",
            "invested",
            "in",
            "the",
            "most",
            "number",
            "of",
            "entrepreneurs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Investor FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Investor",
            "FROM",
            "entrepreneur",
            "GROUP",
            "BY",
            "Investor",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "investor",
            "from",
            "entrepreneur",
            "group",
            "by",
            "investor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the investor who have invested in the greatest number of entrepreneurs.",
        "question_toks": [
            "Return",
            "the",
            "investor",
            "who",
            "have",
            "invested",
            "in",
            "the",
            "greatest",
            "number",
            "of",
            "entrepreneurs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Investor FROM entrepreneur GROUP BY Investor HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Investor",
            "FROM",
            "entrepreneur",
            "GROUP",
            "BY",
            "Investor",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "investor",
            "from",
            "entrepreneur",
            "group",
            "by",
            "investor",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the investors that have invested in at least two entrepreneurs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "investors",
            "that",
            "have",
            "invested",
            "in",
            "at",
            "least",
            "two",
            "entrepreneurs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Investor FROM entrepreneur GROUP BY Investor HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Investor",
            "FROM",
            "entrepreneur",
            "GROUP",
            "BY",
            "Investor",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "investor",
            "from",
            "entrepreneur",
            "group",
            "by",
            "investor",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Return the investors who have invested in two or more entrepreneurs.",
        "question_toks": [
            "Return",
            "the",
            "investors",
            "who",
            "have",
            "invested",
            "in",
            "two",
            "or",
            "more",
            "entrepreneurs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Name ,  T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Money_Requested",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Company",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Money_Requested"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "company",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "money_requested"
        ],
        "question": "List the names of entrepreneurs and their companies in descending order of money requested?",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "entrepreneurs",
            "and",
            "their",
            "companies",
            "in",
            "descending",
            "order",
            "of",
            "money",
            "requested",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T2.Name ,  T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Money_Requested",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Company",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Money_Requested"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "company",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "money_requested"
        ],
        "question": "What are the names of entrepreneurs and their corresponding investors, ordered descending by the amount of money requested?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "entrepreneurs",
            "and",
            "their",
            "corresponding",
            "investors",
            ",",
            "ordered",
            "descending",
            "by",
            "the",
            "amount",
            "of",
            "money",
            "requested",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM entrepreneur)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "people",
            "WHERE",
            "People_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "People_ID",
            "FROM",
            "entrepreneur",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "people_id",
            "from",
            "entrepreneur",
            ")"
        ],
        "question": "List the names of people that are not entrepreneurs.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "people",
            "that",
            "are",
            "not",
            "entrepreneurs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM entrepreneur)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "people",
            "WHERE",
            "People_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "People_ID",
            "FROM",
            "entrepreneur",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "people_id",
            "from",
            "entrepreneur",
            ")"
        ],
        "question": "What are the names of people who are not entrepreneurs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "people",
            "who",
            "are",
            "not",
            "entrepreneurs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Investor FROM entrepreneur WHERE Money_Requested  >  140000 INTERSECT SELECT Investor FROM entrepreneur WHERE Money_Requested  <  120000",
        "query_toks": [
            "SELECT",
            "Investor",
            "FROM",
            "entrepreneur",
            "WHERE",
            "Money_Requested",
            ">",
            "140000",
            "INTERSECT",
            "SELECT",
            "Investor",
            "FROM",
            "entrepreneur",
            "WHERE",
            "Money_Requested",
            "<",
            "120000"
        ],
        "query_toks_no_value": [
            "select",
            "investor",
            "from",
            "entrepreneur",
            "where",
            "money_requested",
            ">",
            "value",
            "intersect",
            "select",
            "investor",
            "from",
            "entrepreneur",
            "where",
            "money_requested",
            "<",
            "value"
        ],
        "question": "Show the investors shared by entrepreneurs that requested more than 140000 and entrepreneurs that requested less than 120000.",
        "question_toks": [
            "Show",
            "the",
            "investors",
            "shared",
            "by",
            "entrepreneurs",
            "that",
            "requested",
            "more",
            "than",
            "140000",
            "and",
            "entrepreneurs",
            "that",
            "requested",
            "less",
            "than",
            "120000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    140000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        120000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT Investor FROM entrepreneur WHERE Money_Requested  >  140000 INTERSECT SELECT Investor FROM entrepreneur WHERE Money_Requested  <  120000",
        "query_toks": [
            "SELECT",
            "Investor",
            "FROM",
            "entrepreneur",
            "WHERE",
            "Money_Requested",
            ">",
            "140000",
            "INTERSECT",
            "SELECT",
            "Investor",
            "FROM",
            "entrepreneur",
            "WHERE",
            "Money_Requested",
            "<",
            "120000"
        ],
        "query_toks_no_value": [
            "select",
            "investor",
            "from",
            "entrepreneur",
            "where",
            "money_requested",
            ">",
            "value",
            "intersect",
            "select",
            "investor",
            "from",
            "entrepreneur",
            "where",
            "money_requested",
            "<",
            "value"
        ],
        "question": "What are the investors who have invested in both entrepreneurs who requested more than 140000 and entrepreneurs who requested less than 120000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "investors",
            "who",
            "have",
            "invested",
            "in",
            "both",
            "entrepreneurs",
            "who",
            "requested",
            "more",
            "than",
            "140000",
            "and",
            "entrepreneurs",
            "who",
            "requested",
            "less",
            "than",
            "120000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    140000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        120000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT count(DISTINCT Company) FROM entrepreneur",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Company",
            ")",
            "FROM",
            "entrepreneur"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "company",
            ")",
            "from",
            "entrepreneur"
        ],
        "question": "How many distinct companies are there?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "companies",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT count(DISTINCT Company) FROM entrepreneur",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Company",
            ")",
            "FROM",
            "entrepreneur"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "company",
            ")",
            "from",
            "entrepreneur"
        ],
        "question": "Count the number of different companies.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Company",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "company",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the company of the tallest entrepreneur.",
        "question_toks": [
            "Show",
            "the",
            "company",
            "of",
            "the",
            "tallest",
            "entrepreneur",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entrepreneur",
        "query": "SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Company",
            "FROM",
            "entrepreneur",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "company",
            "from",
            "entrepreneur",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which company was started by the entrepreneur with the greatest height?",
        "question_toks": [
            "Which",
            "company",
            "was",
            "started",
            "by",
            "the",
            "entrepreneur",
            "with",
            "the",
            "greatest",
            "height",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT count(*) FROM perpetrator",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "perpetrator"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "perpetrator"
        ],
        "question": "How many perpetrators are there?",
        "question_toks": [
            "How",
            "many",
            "perpetrators",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT Date FROM perpetrator ORDER BY Killed DESC",
        "query_toks": [
            "SELECT",
            "Date",
            "FROM",
            "perpetrator",
            "ORDER",
            "BY",
            "Killed",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            "from",
            "perpetrator",
            "order",
            "by",
            "killed",
            "desc"
        ],
        "question": "List the date of perpetrators in descending order of the number of people killed.",
        "question_toks": [
            "List",
            "the",
            "date",
            "of",
            "perpetrators",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "number",
            "of",
            "people",
            "killed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT Injured FROM perpetrator ORDER BY Injured ASC",
        "query_toks": [
            "SELECT",
            "Injured",
            "FROM",
            "perpetrator",
            "ORDER",
            "BY",
            "Injured",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "injured",
            "from",
            "perpetrator",
            "order",
            "by",
            "injured",
            "asc"
        ],
        "question": "List the number of people injured by perpetrators in ascending order.",
        "question_toks": [
            "List",
            "the",
            "number",
            "of",
            "people",
            "injured",
            "by",
            "perpetrators",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT avg(Injured) FROM perpetrator",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Injured",
            ")",
            "FROM",
            "perpetrator"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "injured",
            ")",
            "from",
            "perpetrator"
        ],
        "question": "What is the average number of people injured by all perpetrators?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "people",
            "injured",
            "by",
            "all",
            "perpetrators",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT LOCATION FROM perpetrator ORDER BY Killed DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "perpetrator",
            "ORDER",
            "BY",
            "Killed",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "perpetrator",
            "order",
            "by",
            "killed",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the location of the perpetrator with the largest kills.",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "of",
            "the",
            "perpetrator",
            "with",
            "the",
            "largest",
            "kills",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT Name FROM People ORDER BY Height ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "People",
            "ORDER",
            "BY",
            "Height",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "height",
            "asc"
        ],
        "question": "What are the names of people in ascending order of height?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "people",
            "in",
            "ascending",
            "order",
            "of",
            "height",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "perpetrator",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "perpetrator",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id"
        ],
        "question": "What are the names of perpetrators?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "perpetrators",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country != \"China\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "perpetrator",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T2.Country",
            "!",
            "=",
            "``",
            "China",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "perpetrator",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "country",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of perpetrators whose country is not \"China\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "perpetrators",
            "whose",
            "country",
            "is",
            "not",
            "``",
            "China",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Weight DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "perpetrator",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Weight",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "perpetrator",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "weight",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the perpetrator with the biggest weight.",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "perpetrator",
            "with",
            "the",
            "biggest",
            "weight",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT sum(T2.Killed) FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  1.84",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.Killed",
            ")",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "perpetrator",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T1.Height",
            ">",
            "1.84"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "killed",
            ")",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "perpetrator",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "height",
            ">",
            "value"
        ],
        "question": "What is the total kills of the perpetrators with height more than 1.84.",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "kills",
            "of",
            "the",
            "perpetrators",
            "with",
            "height",
            "more",
            "than",
            "1.84",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    1.84,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country  =  \"China\" OR T2.Country  =  \"Japan\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "perpetrator",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "WHERE",
            "T2.Country",
            "=",
            "``",
            "China",
            "''",
            "OR",
            "T2.Country",
            "=",
            "``",
            "Japan",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "perpetrator",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "What are the names of perpetrators in country \"China\" or \"Japan\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "perpetrators",
            "in",
            "country",
            "``",
            "China",
            "''",
            "or",
            "``",
            "Japan",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Japan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Injured DESC",
        "query_toks": [
            "SELECT",
            "T1.Height",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "perpetrator",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Injured",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "height",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "perpetrator",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "injured",
            "desc"
        ],
        "question": "What are the heights of perpetrators in descending order of the number of people they injured?",
        "question_toks": [
            "What",
            "are",
            "the",
            "heights",
            "of",
            "perpetrators",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "number",
            "of",
            "people",
            "they",
            "injured",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT Country ,  COUNT(*) FROM perpetrator GROUP BY Country",
        "query_toks": [
            "SELECT",
            "Country",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "perpetrator",
            "GROUP",
            "BY",
            "Country"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "perpetrator",
            "group",
            "by",
            "country"
        ],
        "question": "What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there.",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "of",
            "perpetrators",
            "?",
            "Show",
            "each",
            "country",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "perpetrators",
            "there",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT Country ,  COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Country",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "perpetrator",
            "GROUP",
            "BY",
            "Country",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "perpetrator",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the country that has the most perpetrators?",
        "question_toks": [
            "What",
            "is",
            "the",
            "country",
            "that",
            "has",
            "the",
            "most",
            "perpetrators",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT Country ,  COUNT(*) FROM perpetrator GROUP BY Country HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Country",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "perpetrator",
            "GROUP",
            "BY",
            "Country",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "perpetrator",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the countries that have at least two perpetrators?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "that",
            "have",
            "at",
            "least",
            "two",
            "perpetrators",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Year DESC",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "perpetrator",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T2.Year",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "perpetrator",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "year",
            "desc"
        ],
        "question": "List the names of perpetrators in descending order of the year.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "perpetrators",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM perpetrator)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "people",
            "WHERE",
            "People_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "People_ID",
            "FROM",
            "perpetrator",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "people_id",
            "from",
            "perpetrator",
            ")"
        ],
        "question": "List the names of people that are not perpetrators.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "people",
            "that",
            "are",
            "not",
            "perpetrators",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT Country FROM perpetrator WHERE Injured  >  50 INTERSECT SELECT Country FROM perpetrator WHERE Injured  <  20",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "perpetrator",
            "WHERE",
            "Injured",
            ">",
            "50",
            "INTERSECT",
            "SELECT",
            "Country",
            "FROM",
            "perpetrator",
            "WHERE",
            "Injured",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "perpetrator",
            "where",
            "injured",
            ">",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "perpetrator",
            "where",
            "injured",
            "<",
            "value"
        ],
        "question": "Show the countries that have both perpetrators with injures more than 50 and perpetrators with injures smaller than 20.",
        "question_toks": [
            "Show",
            "the",
            "countries",
            "that",
            "have",
            "both",
            "perpetrators",
            "with",
            "injures",
            "more",
            "than",
            "50",
            "and",
            "perpetrators",
            "with",
            "injures",
            "smaller",
            "than",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT count(DISTINCT LOCATION) FROM perpetrator",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "LOCATION",
            ")",
            "FROM",
            "perpetrator"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "location",
            ")",
            "from",
            "perpetrator"
        ],
        "question": "How many distinct locations of perpetrators are there?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "locations",
            "of",
            "perpetrators",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT T2.Date FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Date",
            "FROM",
            "people",
            "AS",
            "T1",
            "JOIN",
            "perpetrator",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "ORDER",
            "BY",
            "T1.Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "perpetrator",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t1",
            ".",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the date of the tallest perpetrator.",
        "question_toks": [
            "Show",
            "the",
            "date",
            "of",
            "the",
            "tallest",
            "perpetrator",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "perpetrator",
        "query": "SELECT max(YEAR) FROM perpetrator;",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "perpetrator",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "perpetrator"
        ],
        "question": "In which year did the most recent crime happen?",
        "question_toks": [
            "In",
            "which",
            "year",
            "did",
            "the",
            "most",
            "recent",
            "crime",
            "happen",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE county  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "county",
            "=",
            "value"
        ],
        "question": "Report the name of all campuses in Los Angeles county.",
        "question_toks": [
            "Report",
            "the",
            "name",
            "of",
            "all",
            "campuses",
            "in",
            "Los",
            "Angeles",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE county  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "county",
            "=",
            "value"
        ],
        "question": "What campuses are located in the county of Los Angeles?",
        "question_toks": [
            "What",
            "campuses",
            "are",
            "located",
            "in",
            "the",
            "county",
            "of",
            "Los",
            "Angeles",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE LOCATION  =  \"Chico\"",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "Chico",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "location",
            "=",
            "value"
        ],
        "question": "What are the names of all campuses located at Chico?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "campuses",
            "located",
            "at",
            "Chico",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Chico\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE LOCATION  =  \"Chico\"",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "Chico",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "location",
            "=",
            "value"
        ],
        "question": "What campuses are located in Chico?",
        "question_toks": [
            "What",
            "campuses",
            "are",
            "located",
            "in",
            "Chico",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Chico\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE YEAR  =  1958",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "YEAR",
            "=",
            "1958"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Find all the campuses opened in 1958.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "campuses",
            "opened",
            "in",
            "1958",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1958.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE YEAR  =  1958",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "YEAR",
            "=",
            "1958"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are the campuses that opened in 1958?",
        "question_toks": [
            "What",
            "are",
            "the",
            "campuses",
            "that",
            "opened",
            "in",
            "1958",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1958.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE YEAR  <  1800",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "YEAR",
            "<",
            "1800"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "Find the name of the campuses opened before 1800.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "campuses",
            "opened",
            "before",
            "1800",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1800.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE YEAR  <  1800",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "YEAR",
            "<",
            "1800"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "What campuses opened before 1800?",
        "question_toks": [
            "What",
            "campuses",
            "opened",
            "before",
            "1800",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1800.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE YEAR  >=  1935 AND YEAR  <=  1939",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "YEAR",
            ">",
            "=",
            "1935",
            "AND",
            "YEAR",
            "<",
            "=",
            "1939"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "year",
            ">",
            "=",
            "value",
            "and",
            "year",
            "<",
            "=",
            "value"
        ],
        "question": "Which campus was opened between 1935 and 1939?",
        "question_toks": [
            "Which",
            "campus",
            "was",
            "opened",
            "between",
            "1935",
            "and",
            "1939",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1935.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1939.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE YEAR  >=  1935 AND YEAR  <=  1939",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "YEAR",
            ">",
            "=",
            "1935",
            "AND",
            "YEAR",
            "<",
            "=",
            "1939"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "year",
            ">",
            "=",
            "value",
            "and",
            "year",
            "<",
            "=",
            "value"
        ],
        "question": "What campuses opened between 1935 and 1939?",
        "question_toks": [
            "What",
            "campuses",
            "opened",
            "between",
            "1935",
            "and",
            "1939",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1935.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1939.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE LOCATION  =  \"Northridge\" AND county  =  \"Los Angeles\" UNION SELECT campus FROM campuses WHERE LOCATION  =  \"San Francisco\" AND county  =  \"San Francisco\"",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "Northridge",
            "''",
            "AND",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "UNION",
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "San",
            "Francisco",
            "''",
            "AND",
            "county",
            "=",
            "``",
            "San",
            "Francisco",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "location",
            "=",
            "value",
            "and",
            "county",
            "=",
            "value",
            "union",
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "location",
            "=",
            "value",
            "and",
            "county",
            "=",
            "value"
        ],
        "question": "Find the name of the campuses that is in Northridge, Los Angeles or in San Francisco, San Francisco.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "campuses",
            "that",
            "is",
            "in",
            "Northridge",
            ",",
            "Los",
            "Angeles",
            "or",
            "in",
            "San",
            "Francisco",
            ",",
            "San",
            "Francisco",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Northridge\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "\"San Francisco\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"San Francisco\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE LOCATION  =  \"Northridge\" AND county  =  \"Los Angeles\" UNION SELECT campus FROM campuses WHERE LOCATION  =  \"San Francisco\" AND county  =  \"San Francisco\"",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "Northridge",
            "''",
            "AND",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "UNION",
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "San",
            "Francisco",
            "''",
            "AND",
            "county",
            "=",
            "``",
            "San",
            "Francisco",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "location",
            "=",
            "value",
            "and",
            "county",
            "=",
            "value",
            "union",
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "location",
            "=",
            "value",
            "and",
            "county",
            "=",
            "value"
        ],
        "question": "What campuses are located in Northridge, Los Angeles or in San Francisco, San Francisco?",
        "question_toks": [
            "What",
            "campuses",
            "are",
            "located",
            "in",
            "Northridge",
            ",",
            "Los",
            "Angeles",
            "or",
            "in",
            "San",
            "Francisco",
            ",",
            "San",
            "Francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Northridge\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "\"San Francisco\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"San Francisco\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id  =  t2.campus WHERE t1.campus  =  \"San Jose State University\" AND T2.year  =  1996",
        "query_toks": [
            "SELECT",
            "campusfee",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "csu_fees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t1.campus",
            "=",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "AND",
            "T2.year",
            "=",
            "1996"
        ],
        "query_toks_no_value": [
            "select",
            "campusfee",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "csu_fees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the campus fee of \"San Jose State University\" in year 1996?",
        "question_toks": [
            "What",
            "is",
            "the",
            "campus",
            "fee",
            "of",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "in",
            "year",
            "1996",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Jose State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1996.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id  =  t2.campus WHERE t1.campus  =  \"San Jose State University\" AND T2.year  =  1996",
        "query_toks": [
            "SELECT",
            "campusfee",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "csu_fees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t1.campus",
            "=",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "AND",
            "T2.year",
            "=",
            "1996"
        ],
        "query_toks_no_value": [
            "select",
            "campusfee",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "csu_fees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the campus fee for San Jose State University in 1996?",
        "question_toks": [
            "What",
            "is",
            "the",
            "campus",
            "fee",
            "for",
            "San",
            "Jose",
            "State",
            "University",
            "in",
            "1996",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Jose State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1996.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id  =  t2.campus WHERE t1.campus  =  \"San Francisco State University\" AND T2.year  =  1996",
        "query_toks": [
            "SELECT",
            "campusfee",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "csu_fees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t1.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "AND",
            "T2.year",
            "=",
            "1996"
        ],
        "query_toks_no_value": [
            "select",
            "campusfee",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "csu_fees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the campus fee of \"San Francisco State University\" in year 1996?",
        "question_toks": [
            "What",
            "is",
            "the",
            "campus",
            "fee",
            "of",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "in",
            "year",
            "1996",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1996.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id  =  t2.campus WHERE t1.campus  =  \"San Francisco State University\" AND T2.year  =  1996",
        "query_toks": [
            "SELECT",
            "campusfee",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "csu_fees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t1.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "AND",
            "T2.year",
            "=",
            "1996"
        ],
        "query_toks_no_value": [
            "select",
            "campusfee",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "csu_fees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the campus fee for San Francisco State University in 1996?",
        "question_toks": [
            "What",
            "is",
            "the",
            "campus",
            "fee",
            "for",
            "San",
            "Francisco",
            "State",
            "University",
            "in",
            "1996",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1996.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT count(*) FROM csu_fees WHERE campusfee  >  (SELECT avg(campusfee) FROM csu_fees)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "csu_fees",
            "WHERE",
            "campusfee",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "campusfee",
            ")",
            "FROM",
            "csu_fees",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "csu_fees",
            "where",
            "campusfee",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "campusfee",
            ")",
            "from",
            "csu_fees",
            ")"
        ],
        "question": "Find the count of universities whose campus fee is greater than the average campus fee.",
        "question_toks": [
            "Find",
            "the",
            "count",
            "of",
            "universities",
            "whose",
            "campus",
            "fee",
            "is",
            "greater",
            "than",
            "the",
            "average",
            "campus",
            "fee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT count(*) FROM csu_fees WHERE campusfee  >  (SELECT avg(campusfee) FROM csu_fees)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "csu_fees",
            "WHERE",
            "campusfee",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "campusfee",
            ")",
            "FROM",
            "csu_fees",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "csu_fees",
            "where",
            "campusfee",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "campusfee",
            ")",
            "from",
            "csu_fees",
            ")"
        ],
        "question": "How many universities have a campus fee higher than average?",
        "question_toks": [
            "How",
            "many",
            "universities",
            "have",
            "a",
            "campus",
            "fee",
            "higher",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT count(*) FROM csu_fees WHERE campusfee  >  (SELECT avg(campusfee) FROM csu_fees)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "csu_fees",
            "WHERE",
            "campusfee",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "campusfee",
            ")",
            "FROM",
            "csu_fees",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "csu_fees",
            "where",
            "campusfee",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "campusfee",
            ")",
            "from",
            "csu_fees",
            ")"
        ],
        "question": "Find the count of universities whose campus fee is greater than the average campus fee.",
        "question_toks": [
            "Find",
            "the",
            "count",
            "of",
            "universities",
            "whose",
            "campus",
            "fee",
            "is",
            "greater",
            "than",
            "the",
            "average",
            "campus",
            "fee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT count(*) FROM csu_fees WHERE campusfee  >  (SELECT avg(campusfee) FROM csu_fees)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "csu_fees",
            "WHERE",
            "campusfee",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "campusfee",
            ")",
            "FROM",
            "csu_fees",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "csu_fees",
            "where",
            "campusfee",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "campusfee",
            ")",
            "from",
            "csu_fees",
            ")"
        ],
        "question": "How many universities have a campus fee greater than the average?",
        "question_toks": [
            "How",
            "many",
            "universities",
            "have",
            "a",
            "campus",
            "fee",
            "greater",
            "than",
            "the",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE county  =  \"Los Angeles\" AND YEAR  >  1950",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "YEAR",
            ">",
            "1950"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "county",
            "=",
            "value",
            "and",
            "year",
            ">",
            "value"
        ],
        "question": "Which university is in Los Angeles county and opened after 1950?",
        "question_toks": [
            "Which",
            "university",
            "is",
            "in",
            "Los",
            "Angeles",
            "county",
            "and",
            "opened",
            "after",
            "1950",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1950.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE county  =  \"Los Angeles\" AND YEAR  >  1950",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "YEAR",
            ">",
            "1950"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "county",
            "=",
            "value",
            "and",
            "year",
            ">",
            "value"
        ],
        "question": "What campuses are located in Los Angeles county and opened after 1950?",
        "question_toks": [
            "What",
            "campuses",
            "are",
            "located",
            "in",
            "Los",
            "Angeles",
            "county",
            "and",
            "opened",
            "after",
            "1950",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1950.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY sum(degrees) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "YEAR",
            "FROM",
            "degrees",
            "GROUP",
            "BY",
            "YEAR",
            "ORDER",
            "BY",
            "sum",
            "(",
            "degrees",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            "from",
            "degrees",
            "group",
            "by",
            "year",
            "order",
            "by",
            "sum",
            "(",
            "degrees",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which year has the most degrees conferred?",
        "question_toks": [
            "Which",
            "year",
            "has",
            "the",
            "most",
            "degrees",
            "conferred",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY sum(degrees) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "YEAR",
            "FROM",
            "degrees",
            "GROUP",
            "BY",
            "YEAR",
            "ORDER",
            "BY",
            "sum",
            "(",
            "degrees",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            "from",
            "degrees",
            "group",
            "by",
            "year",
            "order",
            "by",
            "sum",
            "(",
            "degrees",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "In what year was the most degrees conferred?",
        "question_toks": [
            "In",
            "what",
            "year",
            "was",
            "the",
            "most",
            "degrees",
            "conferred",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "degrees",
            "GROUP",
            "BY",
            "campus",
            "ORDER",
            "BY",
            "sum",
            "(",
            "degrees",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "degrees",
            "group",
            "by",
            "campus",
            "order",
            "by",
            "sum",
            "(",
            "degrees",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which campus has the most degrees conferred in all times?",
        "question_toks": [
            "Which",
            "campus",
            "has",
            "the",
            "most",
            "degrees",
            "conferred",
            "in",
            "all",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "degrees",
            "GROUP",
            "BY",
            "campus",
            "ORDER",
            "BY",
            "sum",
            "(",
            "degrees",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "degrees",
            "group",
            "by",
            "campus",
            "order",
            "by",
            "sum",
            "(",
            "degrees",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What campus has the most degrees  conferrred over its entire existence?",
        "question_toks": [
            "What",
            "campus",
            "has",
            "the",
            "most",
            "degrees",
            "conferrred",
            "over",
            "its",
            "entire",
            "existence",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2003 ORDER BY T2.faculty DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.campus",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T2.year",
            "=",
            "2003",
            "ORDER",
            "BY",
            "T2.faculty",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "faculty",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which campus has the most faculties in year 2003?",
        "question_toks": [
            "Which",
            "campus",
            "has",
            "the",
            "most",
            "faculties",
            "in",
            "year",
            "2003",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2003.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2003 ORDER BY T2.faculty DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.campus",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T2.year",
            "=",
            "2003",
            "ORDER",
            "BY",
            "T2.faculty",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "faculty",
            "desc",
            "limit",
            "value"
        ],
        "question": "What campus has the most faculties in 2003?",
        "question_toks": [
            "What",
            "campus",
            "has",
            "the",
            "most",
            "faculties",
            "in",
            "2003",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2003.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR  =  1996",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "campusfee",
            ")",
            "FROM",
            "csu_fees",
            "WHERE",
            "YEAR",
            "=",
            "1996"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "campusfee",
            ")",
            "from",
            "csu_fees",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Find the average fee on a CSU campus in 1996",
        "question_toks": [
            "Find",
            "the",
            "average",
            "fee",
            "on",
            "a",
            "CSU",
            "campus",
            "in",
            "1996"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1996.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR  =  1996",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "campusfee",
            ")",
            "FROM",
            "csu_fees",
            "WHERE",
            "YEAR",
            "=",
            "1996"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "campusfee",
            ")",
            "from",
            "csu_fees",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What is the average fee for a CSU campus in the year of 1996?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "fee",
            "for",
            "a",
            "CSU",
            "campus",
            "in",
            "the",
            "year",
            "of",
            "1996",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1996.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR  =  2005",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "campusfee",
            ")",
            "FROM",
            "csu_fees",
            "WHERE",
            "YEAR",
            "=",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "campusfee",
            ")",
            "from",
            "csu_fees",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What is the average fee on a CSU campus in 2005?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "fee",
            "on",
            "a",
            "CSU",
            "campus",
            "in",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT avg(campusfee) FROM csu_fees WHERE YEAR  =  2005",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "campusfee",
            ")",
            "FROM",
            "csu_fees",
            "WHERE",
            "YEAR",
            "=",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "campusfee",
            ")",
            "from",
            "csu_fees",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What is the average fee for a CSU campus in the year of 2005?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "fee",
            "for",
            "a",
            "CSU",
            "campus",
            "in",
            "the",
            "year",
            "of",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus ,  sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id  =  T2.campus WHERE T2.year  >=  1998 AND T2.year  <=  2002 GROUP BY T1.campus",
        "query_toks": [
            "SELECT",
            "T1.campus",
            ",",
            "sum",
            "(",
            "T2.degrees",
            ")",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "degrees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T2.year",
            ">",
            "=",
            "1998",
            "AND",
            "T2.year",
            "<",
            "=",
            "2002",
            "GROUP",
            "BY",
            "T1.campus"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "degrees",
            ")",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "degrees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            ">",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "campus"
        ],
        "question": "report the total number of degrees granted between 1998 and 2002.",
        "question_toks": [
            "report",
            "the",
            "total",
            "number",
            "of",
            "degrees",
            "granted",
            "between",
            "1998",
            "and",
            "2002",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1998.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus ,  sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id  =  T2.campus WHERE T2.year  >=  1998 AND T2.year  <=  2002 GROUP BY T1.campus",
        "query_toks": [
            "SELECT",
            "T1.campus",
            ",",
            "sum",
            "(",
            "T2.degrees",
            ")",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "degrees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T2.year",
            ">",
            "=",
            "1998",
            "AND",
            "T2.year",
            "<",
            "=",
            "2002",
            "GROUP",
            "BY",
            "T1.campus"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "degrees",
            ")",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "degrees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            ">",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "campus"
        ],
        "question": "how many degrees were conferred between 1998 and 2002?",
        "question_toks": [
            "how",
            "many",
            "degrees",
            "were",
            "conferred",
            "between",
            "1998",
            "and",
            "2002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1998.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus ,  sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id  =  T2.campus WHERE T1.county  =  \"Orange\" AND T2.year  >=  2000 GROUP BY T1.campus",
        "query_toks": [
            "SELECT",
            "T1.campus",
            ",",
            "sum",
            "(",
            "T2.degrees",
            ")",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "degrees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T1.county",
            "=",
            "``",
            "Orange",
            "''",
            "AND",
            "T2.year",
            ">",
            "=",
            "2000",
            "GROUP",
            "BY",
            "T1.campus"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "degrees",
            ")",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "degrees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "county",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "campus"
        ],
        "question": "For each Orange county campus, report the number of degrees granted after 2000.",
        "question_toks": [
            "For",
            "each",
            "Orange",
            "county",
            "campus",
            ",",
            "report",
            "the",
            "number",
            "of",
            "degrees",
            "granted",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Orange\"",
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus ,  sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id  =  T2.campus WHERE T1.county  =  \"Orange\" AND T2.year  >=  2000 GROUP BY T1.campus",
        "query_toks": [
            "SELECT",
            "T1.campus",
            ",",
            "sum",
            "(",
            "T2.degrees",
            ")",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "degrees",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T1.county",
            "=",
            "``",
            "Orange",
            "''",
            "AND",
            "T2.year",
            ">",
            "=",
            "2000",
            "GROUP",
            "BY",
            "T1.campus"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "degrees",
            ")",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "degrees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "county",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "campus"
        ],
        "question": "What is the total number of degrees granted after 2000 for each Orange county campus?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "degrees",
            "granted",
            "after",
            "2000",
            "for",
            "each",
            "Orange",
            "county",
            "campus",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Orange\"",
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2002 AND faculty  >  (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2002 AND T1.county  =  \"Orange\")",
        "query_toks": [
            "SELECT",
            "T1.campus",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T2.year",
            "=",
            "2002",
            "AND",
            "faculty",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "faculty",
            ")",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T2.year",
            "=",
            "2002",
            "AND",
            "T1.county",
            "=",
            "``",
            "Orange",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "faculty",
            ">",
            "(",
            "select",
            "max",
            "(",
            "faculty",
            ")",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "county",
            "=",
            "value",
            ")"
        ],
        "question": "Find the names of the campus which has more faculties in 2002 than every campus in Orange county.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "campus",
            "which",
            "has",
            "more",
            "faculties",
            "in",
            "2002",
            "than",
            "every",
            "campus",
            "in",
            "Orange",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        21,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        22,
                                        false
                                    ],
                                    null
                                ],
                                2002.0,
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Orange\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2002 AND faculty  >  (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  T2.campus WHERE T2.year  =  2002 AND T1.county  =  \"Orange\")",
        "query_toks": [
            "SELECT",
            "T1.campus",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T2.year",
            "=",
            "2002",
            "AND",
            "faculty",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "faculty",
            ")",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.campus",
            "WHERE",
            "T2.year",
            "=",
            "2002",
            "AND",
            "T1.county",
            "=",
            "``",
            "Orange",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "faculty",
            ">",
            "(",
            "select",
            "max",
            "(",
            "faculty",
            ")",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "county",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of the campus that have more faculties in 2002 than the maximum number in Orange county?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "campus",
            "that",
            "have",
            "more",
            "faculties",
            "in",
            "2002",
            "than",
            "the",
            "maximum",
            "number",
            "in",
            "Orange",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        21,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        22,
                                        false
                                    ],
                                    null
                                ],
                                2002.0,
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Orange\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id  =  t2.campus WHERE t2.year  =  1956 AND totalenrollment_ay  >  400 AND FTE_AY  >  200",
        "query_toks": [
            "SELECT",
            "T1.campus",
            "FROM",
            "campuses",
            "AS",
            "t1",
            "JOIN",
            "enrollments",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t2.year",
            "=",
            "1956",
            "AND",
            "totalenrollment_ay",
            ">",
            "400",
            "AND",
            "FTE_AY",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "enrollments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "totalenrollment_ay",
            ">",
            "value",
            "and",
            "fte_ay",
            ">",
            "value"
        ],
        "question": "What campus had more than 400 total enrollment but more than 200 full time enrollment in year 1956?",
        "question_toks": [
            "What",
            "campus",
            "had",
            "more",
            "than",
            "400",
            "total",
            "enrollment",
            "but",
            "more",
            "than",
            "200",
            "full",
            "time",
            "enrollment",
            "in",
            "year",
            "1956",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    1956.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    400.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id  =  t2.campus WHERE t2.year  =  1956 AND totalenrollment_ay  >  400 AND FTE_AY  >  200",
        "query_toks": [
            "SELECT",
            "T1.campus",
            "FROM",
            "campuses",
            "AS",
            "t1",
            "JOIN",
            "enrollments",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t2.year",
            "=",
            "1956",
            "AND",
            "totalenrollment_ay",
            ">",
            "400",
            "AND",
            "FTE_AY",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "enrollments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "totalenrollment_ay",
            ">",
            "value",
            "and",
            "fte_ay",
            ">",
            "value"
        ],
        "question": "What campus started in year 1956, has more than 200 full time students, and more than 400 students enrolled?",
        "question_toks": [
            "What",
            "campus",
            "started",
            "in",
            "year",
            "1956",
            ",",
            "has",
            "more",
            "than",
            "200",
            "full",
            "time",
            "students",
            ",",
            "and",
            "more",
            "than",
            "400",
            "students",
            "enrolled",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    1956.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    400.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT count(*) FROM campuses WHERE county  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "campuses",
            "WHERE",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "campuses",
            "where",
            "county",
            "=",
            "value"
        ],
        "question": "How many campuses are there in Los Angeles county?",
        "question_toks": [
            "How",
            "many",
            "campuses",
            "are",
            "there",
            "in",
            "Los",
            "Angeles",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT count(*) FROM campuses WHERE county  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "campuses",
            "WHERE",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "campuses",
            "where",
            "county",
            "=",
            "value"
        ],
        "question": "How many campuses exist are in the county of LA?",
        "question_toks": [
            "How",
            "many",
            "campuses",
            "exist",
            "are",
            "in",
            "the",
            "county",
            "of",
            "LA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE county  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "county",
            "=",
            "value"
        ],
        "question": "List the campuses in Los Angeles county.",
        "question_toks": [
            "List",
            "the",
            "campuses",
            "in",
            "Los",
            "Angeles",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT campus FROM campuses WHERE county  =  \"Los Angeles\"",
        "query_toks": [
            "SELECT",
            "campus",
            "FROM",
            "campuses",
            "WHERE",
            "county",
            "=",
            "``",
            "Los",
            "Angeles",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "campus",
            "from",
            "campuses",
            "where",
            "county",
            "=",
            "value"
        ],
        "question": "What campuses are in Los Angeles county?",
        "question_toks": [
            "What",
            "campuses",
            "are",
            "in",
            "Los",
            "Angeles",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id  =  t2.campus WHERE t1.campus  =  \"San Jose State University\" AND t2.year  =  2000",
        "query_toks": [
            "SELECT",
            "degrees",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "degrees",
            "AS",
            "T2",
            "ON",
            "t1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t1.campus",
            "=",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "AND",
            "t2.year",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "degrees",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "degrees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many degrees were conferred in \"San Jose State University\" in 2000?",
        "question_toks": [
            "How",
            "many",
            "degrees",
            "were",
            "conferred",
            "in",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "in",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Jose State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id  =  t2.campus WHERE t1.campus  =  \"San Jose State University\" AND t2.year  =  2000",
        "query_toks": [
            "SELECT",
            "degrees",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "degrees",
            "AS",
            "T2",
            "ON",
            "t1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t1.campus",
            "=",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "AND",
            "t2.year",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "degrees",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "degrees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many degrees were conferred at San Jose State University in 2000?",
        "question_toks": [
            "How",
            "many",
            "degrees",
            "were",
            "conferred",
            "at",
            "San",
            "Jose",
            "State",
            "University",
            "in",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Jose State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id  =  t2.campus WHERE t1.campus  =  \"San Francisco State University\" AND t2.year  =  2001",
        "query_toks": [
            "SELECT",
            "degrees",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "degrees",
            "AS",
            "T2",
            "ON",
            "t1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t1.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "AND",
            "t2.year",
            "=",
            "2001"
        ],
        "query_toks_no_value": [
            "select",
            "degrees",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "degrees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What are the degrees conferred in \"San Francisco State University\" in 2001.",
        "question_toks": [
            "What",
            "are",
            "the",
            "degrees",
            "conferred",
            "in",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "in",
            "2001",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id  =  t2.campus WHERE t1.campus  =  \"San Francisco State University\" AND t2.year  =  2001",
        "query_toks": [
            "SELECT",
            "degrees",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "degrees",
            "AS",
            "T2",
            "ON",
            "t1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t1.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "AND",
            "t2.year",
            "=",
            "2001"
        ],
        "query_toks_no_value": [
            "select",
            "degrees",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "degrees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t1",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What degrees were conferred in San Francisco State University in the year 2001?",
        "question_toks": [
            "What",
            "degrees",
            "were",
            "conferred",
            "in",
            "San",
            "Francisco",
            "State",
            "University",
            "in",
            "the",
            "year",
            "2001",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT sum(faculty) FROM faculty WHERE YEAR  =  2002",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "faculty",
            ")",
            "FROM",
            "faculty",
            "WHERE",
            "YEAR",
            "=",
            "2002"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "faculty",
            ")",
            "from",
            "faculty",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "How many faculty is there in total in the year of 2002?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "is",
            "there",
            "in",
            "total",
            "in",
            "the",
            "year",
            "of",
            "2002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT sum(faculty) FROM faculty WHERE YEAR  =  2002",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "faculty",
            ")",
            "FROM",
            "faculty",
            "WHERE",
            "YEAR",
            "=",
            "2002"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "faculty",
            ")",
            "from",
            "faculty",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "How many faculty, in total, are there in the year 2002?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            ",",
            "in",
            "total",
            ",",
            "are",
            "there",
            "in",
            "the",
            "year",
            "2002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus  =  T2.id WHERE T1.year  =  2002 AND T2.campus  =  \"Long Beach State University\"",
        "query_toks": [
            "SELECT",
            "faculty",
            "FROM",
            "faculty",
            "AS",
            "T1",
            "JOIN",
            "campuses",
            "AS",
            "T2",
            "ON",
            "T1.campus",
            "=",
            "T2.id",
            "WHERE",
            "T1.year",
            "=",
            "2002",
            "AND",
            "T2.campus",
            "=",
            "``",
            "Long",
            "Beach",
            "State",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "faculty",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "campus",
            "=",
            "value"
        ],
        "question": "What is the number of faculty lines in campus \"Long Beach State University\" in 2002?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "faculty",
            "lines",
            "in",
            "campus",
            "``",
            "Long",
            "Beach",
            "State",
            "University",
            "''",
            "in",
            "2002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Long Beach State University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus  =  T2.id WHERE T1.year  =  2002 AND T2.campus  =  \"Long Beach State University\"",
        "query_toks": [
            "SELECT",
            "faculty",
            "FROM",
            "faculty",
            "AS",
            "T1",
            "JOIN",
            "campuses",
            "AS",
            "T2",
            "ON",
            "T1.campus",
            "=",
            "T2.id",
            "WHERE",
            "T1.year",
            "=",
            "2002",
            "AND",
            "T2.campus",
            "=",
            "``",
            "Long",
            "Beach",
            "State",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "faculty",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "campus",
            "=",
            "value"
        ],
        "question": "What is the number of faculty at Long Beach State University in 2002?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "faculty",
            "at",
            "Long",
            "Beach",
            "State",
            "University",
            "in",
            "2002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Long Beach State University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus  =  T2.id WHERE T1.year  =  2004 AND T2.campus  =  \"San Francisco State University\"",
        "query_toks": [
            "SELECT",
            "faculty",
            "FROM",
            "faculty",
            "AS",
            "T1",
            "JOIN",
            "campuses",
            "AS",
            "T2",
            "ON",
            "T1.campus",
            "=",
            "T2.id",
            "WHERE",
            "T1.year",
            "=",
            "2004",
            "AND",
            "T2.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "faculty",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "campus",
            "=",
            "value"
        ],
        "question": "How many faculty lines are there in \"San Francisco State University\" in year 2004?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "lines",
            "are",
            "there",
            "in",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "in",
            "year",
            "2004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus  =  T2.id WHERE T1.year  =  2004 AND T2.campus  =  \"San Francisco State University\"",
        "query_toks": [
            "SELECT",
            "faculty",
            "FROM",
            "faculty",
            "AS",
            "T1",
            "JOIN",
            "campuses",
            "AS",
            "T2",
            "ON",
            "T1.campus",
            "=",
            "T2.id",
            "WHERE",
            "T1.year",
            "=",
            "2004",
            "AND",
            "T2.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "faculty",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "campus",
            "=",
            "value"
        ],
        "question": "How many faculty lines are there at San Francisco State University in 2004?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "lines",
            "are",
            "there",
            "at",
            "San",
            "Francisco",
            "State",
            "University",
            "in",
            "2004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id  =  t2.campus WHERE t2.faculty  >=  600 AND t2.faculty  <=  1000 AND T1.year  =  2004",
        "query_toks": [
            "SELECT",
            "T1.campus",
            "FROM",
            "campuses",
            "AS",
            "t1",
            "JOIN",
            "faculty",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t2.faculty",
            ">",
            "=",
            "600",
            "AND",
            "t2.faculty",
            "<",
            "=",
            "1000",
            "AND",
            "T1.year",
            "=",
            "2004"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "faculty",
            ">",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "faculty",
            "<",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "List the campus that have between 600 and 1000 faculty lines in year 2004.",
        "question_toks": [
            "List",
            "the",
            "campus",
            "that",
            "have",
            "between",
            "600",
            "and",
            "1000",
            "faculty",
            "lines",
            "in",
            "year",
            "2004",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id  =  t2.campus WHERE t2.faculty  >=  600 AND t2.faculty  <=  1000 AND T1.year  =  2004",
        "query_toks": [
            "SELECT",
            "T1.campus",
            "FROM",
            "campuses",
            "AS",
            "t1",
            "JOIN",
            "faculty",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.campus",
            "WHERE",
            "t2.faculty",
            ">",
            "=",
            "600",
            "AND",
            "t2.faculty",
            "<",
            "=",
            "1000",
            "AND",
            "T1.year",
            "=",
            "2004"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campus",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "where",
            "t2",
            ".",
            "faculty",
            ">",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "faculty",
            "<",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What are the campuses that had between 600 and 1000 faculty members in 2004?",
        "question_toks": [
            "What",
            "are",
            "the",
            "campuses",
            "that",
            "had",
            "between",
            "600",
            "and",
            "1000",
            "faculty",
            "members",
            "in",
            "2004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  t2.campus JOIN degrees AS T3 ON T1.id  =  t3.campus AND t2.year  =  t3.year WHERE t2.year  =  2002 ORDER BY t3.degrees DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.faculty",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "t2.campus",
            "JOIN",
            "degrees",
            "AS",
            "T3",
            "ON",
            "T1.id",
            "=",
            "t3.campus",
            "AND",
            "t2.year",
            "=",
            "t3.year",
            "WHERE",
            "t2.year",
            "=",
            "2002",
            "ORDER",
            "BY",
            "t3.degrees",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "faculty",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "join",
            "degrees",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "campus",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "t3",
            ".",
            "year",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "degrees",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many faculty lines are there in the university that conferred the most number of degrees in year 2002?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "lines",
            "are",
            "there",
            "in",
            "the",
            "university",
            "that",
            "conferred",
            "the",
            "most",
            "number",
            "of",
            "degrees",
            "in",
            "year",
            "2002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  t2.campus JOIN degrees AS T3 ON T1.id  =  t3.campus AND t2.year  =  t3.year WHERE t2.year  =  2002 ORDER BY t3.degrees DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.faculty",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "t2.campus",
            "JOIN",
            "degrees",
            "AS",
            "T3",
            "ON",
            "T1.id",
            "=",
            "t3.campus",
            "AND",
            "t2.year",
            "=",
            "t3.year",
            "WHERE",
            "t2.year",
            "=",
            "2002",
            "ORDER",
            "BY",
            "t3.degrees",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "faculty",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "join",
            "degrees",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "campus",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "t3",
            ".",
            "year",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "degrees",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many faculty members did the university that conferred the most degrees in 2002 have?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "members",
            "did",
            "the",
            "university",
            "that",
            "conferred",
            "the",
            "most",
            "degrees",
            "in",
            "2002",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  t2.campus JOIN degrees AS T3 ON T1.id  =  t3.campus AND t2.year  =  t3.year WHERE t2.year  =  2001 ORDER BY t3.degrees LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.faculty",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "t2.campus",
            "JOIN",
            "degrees",
            "AS",
            "T3",
            "ON",
            "T1.id",
            "=",
            "t3.campus",
            "AND",
            "t2.year",
            "=",
            "t3.year",
            "WHERE",
            "t2.year",
            "=",
            "2001",
            "ORDER",
            "BY",
            "t3.degrees",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "faculty",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "join",
            "degrees",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "campus",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "t3",
            ".",
            "year",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "degrees",
            "limit",
            "value"
        ],
        "question": "How many faculty lines are there in the university that conferred the least number of degrees in year 2001?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "lines",
            "are",
            "there",
            "in",
            "the",
            "university",
            "that",
            "conferred",
            "the",
            "least",
            "number",
            "of",
            "degrees",
            "in",
            "year",
            "2001",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id  =  t2.campus JOIN degrees AS T3 ON T1.id  =  t3.campus AND t2.year  =  t3.year WHERE t2.year  =  2001 ORDER BY t3.degrees LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.faculty",
            "FROM",
            "campuses",
            "AS",
            "T1",
            "JOIN",
            "faculty",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "t2.campus",
            "JOIN",
            "degrees",
            "AS",
            "T3",
            "ON",
            "T1.id",
            "=",
            "t3.campus",
            "AND",
            "t2.year",
            "=",
            "t3.year",
            "WHERE",
            "t2.year",
            "=",
            "2001",
            "ORDER",
            "BY",
            "t3.degrees",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "faculty",
            "from",
            "campuses",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "campus",
            "join",
            "degrees",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "campus",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "t3",
            ".",
            "year",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "degrees",
            "limit",
            "value"
        ],
        "question": "How many faculty members are at the university that gave the least number of degrees in 2001?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "members",
            "are",
            "at",
            "the",
            "university",
            "that",
            "gave",
            "the",
            "least",
            "number",
            "of",
            "degrees",
            "in",
            "2001",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT sum(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t1.year  =  2004 AND t2.campus  =  \"San Jose State University\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t1.undergraduate",
            ")",
            "FROM",
            "discipline_enrollments",
            "AS",
            "t1",
            "JOIN",
            "campuses",
            "AS",
            "t2",
            "ON",
            "t1.campus",
            "=",
            "t2.id",
            "WHERE",
            "t1.year",
            "=",
            "2004",
            "AND",
            "t2.campus",
            "=",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "undergraduate",
            ")",
            "from",
            "discipline_enrollments",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "campus",
            "=",
            "value"
        ],
        "question": "How many undergraduates are there in \"San Jose State University\" in year 2004?",
        "question_toks": [
            "How",
            "many",
            "undergraduates",
            "are",
            "there",
            "in",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "in",
            "year",
            "2004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Jose State University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT sum(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t1.year  =  2004 AND t2.campus  =  \"San Jose State University\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t1.undergraduate",
            ")",
            "FROM",
            "discipline_enrollments",
            "AS",
            "t1",
            "JOIN",
            "campuses",
            "AS",
            "t2",
            "ON",
            "t1.campus",
            "=",
            "t2.id",
            "WHERE",
            "t1.year",
            "=",
            "2004",
            "AND",
            "t2.campus",
            "=",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "undergraduate",
            ")",
            "from",
            "discipline_enrollments",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "campus",
            "=",
            "value"
        ],
        "question": "How many undergraduates are there at San Jose State",
        "question_toks": [
            "How",
            "many",
            "undergraduates",
            "are",
            "there",
            "at",
            "San",
            "Jose",
            "State"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Jose State University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT sum(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t1.year  =  2004 AND t2.campus  =  \"San Francisco State University\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t1.graduate",
            ")",
            "FROM",
            "discipline_enrollments",
            "AS",
            "t1",
            "JOIN",
            "campuses",
            "AS",
            "t2",
            "ON",
            "t1.campus",
            "=",
            "t2.id",
            "WHERE",
            "t1.year",
            "=",
            "2004",
            "AND",
            "t2.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "graduate",
            ")",
            "from",
            "discipline_enrollments",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "campus",
            "=",
            "value"
        ],
        "question": "What is the number of graduates in \"San Francisco State University\" in year 2004?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "graduates",
            "in",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "in",
            "year",
            "2004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT sum(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t1.year  =  2004 AND t2.campus  =  \"San Francisco State University\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t1.graduate",
            ")",
            "FROM",
            "discipline_enrollments",
            "AS",
            "t1",
            "JOIN",
            "campuses",
            "AS",
            "t2",
            "ON",
            "t1.campus",
            "=",
            "t2.id",
            "WHERE",
            "t1.year",
            "=",
            "2004",
            "AND",
            "t2.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "graduate",
            ")",
            "from",
            "discipline_enrollments",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "campus",
            "=",
            "value"
        ],
        "question": "How many people graduated from San Francisco State University in 2004?",
        "question_toks": [
            "How",
            "many",
            "people",
            "graduated",
            "from",
            "San",
            "Francisco",
            "State",
            "University",
            "in",
            "2004",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2004.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t2.campus  =  \"San Francisco State University\" AND t1.year  =  2000",
        "query_toks": [
            "SELECT",
            "t1.campusfee",
            "FROM",
            "csu_fees",
            "AS",
            "t1",
            "JOIN",
            "campuses",
            "AS",
            "t2",
            "ON",
            "t1.campus",
            "=",
            "t2.id",
            "WHERE",
            "t2.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "AND",
            "t1.year",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campusfee",
            "from",
            "csu_fees",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the campus fee of \"San Francisco State University\" in year 2000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "campus",
            "fee",
            "of",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "in",
            "year",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t2.campus  =  \"San Francisco State University\" AND t1.year  =  2000",
        "query_toks": [
            "SELECT",
            "t1.campusfee",
            "FROM",
            "csu_fees",
            "AS",
            "t1",
            "JOIN",
            "campuses",
            "AS",
            "t2",
            "ON",
            "t1.campus",
            "=",
            "t2.id",
            "WHERE",
            "t2.campus",
            "=",
            "``",
            "San",
            "Francisco",
            "State",
            "University",
            "''",
            "AND",
            "t1.year",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campusfee",
            "from",
            "csu_fees",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "In the year 2000, what is the campus fee for San Francisco State University?",
        "question_toks": [
            "In",
            "the",
            "year",
            "2000",
            ",",
            "what",
            "is",
            "the",
            "campus",
            "fee",
            "for",
            "San",
            "Francisco",
            "State",
            "University",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Francisco State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t2.campus  =  \"San Jose State University\" AND t1.year  =  2000",
        "query_toks": [
            "SELECT",
            "t1.campusfee",
            "FROM",
            "csu_fees",
            "AS",
            "t1",
            "JOIN",
            "campuses",
            "AS",
            "t2",
            "ON",
            "t1.campus",
            "=",
            "t2.id",
            "WHERE",
            "t2.campus",
            "=",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "AND",
            "t1.year",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campusfee",
            "from",
            "csu_fees",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Find the campus fee of \"San Jose State University\" in year 2000.",
        "question_toks": [
            "Find",
            "the",
            "campus",
            "fee",
            "of",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "in",
            "year",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Jose State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t2.campus  =  \"San Jose State University\" AND t1.year  =  2000",
        "query_toks": [
            "SELECT",
            "t1.campusfee",
            "FROM",
            "csu_fees",
            "AS",
            "t1",
            "JOIN",
            "campuses",
            "AS",
            "t2",
            "ON",
            "t1.campus",
            "=",
            "t2.id",
            "WHERE",
            "t2.campus",
            "=",
            "``",
            "San",
            "Jose",
            "State",
            "University",
            "''",
            "AND",
            "t1.year",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "campusfee",
            "from",
            "csu_fees",
            "as",
            "t1",
            "join",
            "campuses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "campus",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "campus",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the campus fee in the year 2000 for San Jose State University?",
        "question_toks": [
            "What",
            "is",
            "the",
            "campus",
            "fee",
            "in",
            "the",
            "year",
            "2000",
            "for",
            "San",
            "Jose",
            "State",
            "University",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"San Jose State University\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT count(*) FROM campuses",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "campuses"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "campuses"
        ],
        "question": "How many CSU campuses are there?",
        "question_toks": [
            "How",
            "many",
            "CSU",
            "campuses",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "csu_1",
        "query": "SELECT count(*) FROM campuses",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "campuses"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "campuses"
        ],
        "question": "What is the total number of campuses?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "campuses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT count(*) FROM candidate",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "candidate"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "candidate"
        ],
        "question": "How many candidates are there?",
        "question_toks": [
            "How",
            "many",
            "candidates",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT count(*) FROM candidate",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "candidate"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "candidate"
        ],
        "question": "Count the number of candidates.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "candidates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "poll_source",
            "FROM",
            "candidate",
            "GROUP",
            "BY",
            "poll_source",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "poll_source",
            "from",
            "candidate",
            "group",
            "by",
            "poll_source",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which poll resource provided the most number of candidate information?",
        "question_toks": [
            "Which",
            "poll",
            "resource",
            "provided",
            "the",
            "most",
            "number",
            "of",
            "candidate",
            "information",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "poll_source",
            "FROM",
            "candidate",
            "GROUP",
            "BY",
            "poll_source",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "poll_source",
            "from",
            "candidate",
            "group",
            "by",
            "poll_source",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the poll resource associated with the most candidates.",
        "question_toks": [
            "Return",
            "the",
            "poll",
            "resource",
            "associated",
            "with",
            "the",
            "most",
            "candidates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT support_rate FROM candidate ORDER BY support_rate DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "support_rate",
            "FROM",
            "candidate",
            "ORDER",
            "BY",
            "support_rate",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "support_rate",
            "from",
            "candidate",
            "order",
            "by",
            "support_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "what are the top 3 highest support rates?",
        "question_toks": [
            "what",
            "are",
            "the",
            "top",
            "3",
            "highest",
            "support",
            "rates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT support_rate FROM candidate ORDER BY support_rate DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "support_rate",
            "FROM",
            "candidate",
            "ORDER",
            "BY",
            "support_rate",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "support_rate",
            "from",
            "candidate",
            "order",
            "by",
            "support_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the top 3 greatest support rates.",
        "question_toks": [
            "Return",
            "the",
            "top",
            "3",
            "greatest",
            "support",
            "rates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1",
        "query_toks": [
            "SELECT",
            "Candidate_ID",
            "FROM",
            "candidate",
            "ORDER",
            "BY",
            "oppose_rate",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "candidate_id",
            "from",
            "candidate",
            "order",
            "by",
            "oppose_rate",
            "limit",
            "value"
        ],
        "question": "Find the id of the candidate who got the lowest oppose rate.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "candidate",
            "who",
            "got",
            "the",
            "lowest",
            "oppose",
            "rate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1",
        "query_toks": [
            "SELECT",
            "Candidate_ID",
            "FROM",
            "candidate",
            "ORDER",
            "BY",
            "oppose_rate",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "candidate_id",
            "from",
            "candidate",
            "order",
            "by",
            "oppose_rate",
            "limit",
            "value"
        ],
        "question": "What is the id of the candidate with the lowest oppose rate?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "candidate",
            "with",
            "the",
            "lowest",
            "oppose",
            "rate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT Support_rate ,  Consider_rate ,  Oppose_rate FROM candidate ORDER BY unsure_rate",
        "query_toks": [
            "SELECT",
            "Support_rate",
            ",",
            "Consider_rate",
            ",",
            "Oppose_rate",
            "FROM",
            "candidate",
            "ORDER",
            "BY",
            "unsure_rate"
        ],
        "query_toks_no_value": [
            "select",
            "support_rate",
            ",",
            "consider_rate",
            ",",
            "oppose_rate",
            "from",
            "candidate",
            "order",
            "by",
            "unsure_rate"
        ],
        "question": "Please list support, consider, and oppose rates for each candidate in ascending order by unsure rate.",
        "question_toks": [
            "Please",
            "list",
            "support",
            ",",
            "consider",
            ",",
            "and",
            "oppose",
            "rates",
            "for",
            "each",
            "candidate",
            "in",
            "ascending",
            "order",
            "by",
            "unsure",
            "rate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT Support_rate ,  Consider_rate ,  Oppose_rate FROM candidate ORDER BY unsure_rate",
        "query_toks": [
            "SELECT",
            "Support_rate",
            ",",
            "Consider_rate",
            ",",
            "Oppose_rate",
            "FROM",
            "candidate",
            "ORDER",
            "BY",
            "unsure_rate"
        ],
        "query_toks_no_value": [
            "select",
            "support_rate",
            ",",
            "consider_rate",
            ",",
            "oppose_rate",
            "from",
            "candidate",
            "order",
            "by",
            "unsure_rate"
        ],
        "question": "What are the support, consider, and oppose rates of each candidate, ordered ascending by their unsure rate?",
        "question_toks": [
            "What",
            "are",
            "the",
            "support",
            ",",
            "consider",
            ",",
            "and",
            "oppose",
            "rates",
            "of",
            "each",
            "candidate",
            ",",
            "ordered",
            "ascending",
            "by",
            "their",
            "unsure",
            "rate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT poll_source FROM candidate ORDER BY oppose_rate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "poll_source",
            "FROM",
            "candidate",
            "ORDER",
            "BY",
            "oppose_rate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "poll_source",
            "from",
            "candidate",
            "order",
            "by",
            "oppose_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "which poll source does the highest oppose rate come from?",
        "question_toks": [
            "which",
            "poll",
            "source",
            "does",
            "the",
            "highest",
            "oppose",
            "rate",
            "come",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT poll_source FROM candidate ORDER BY oppose_rate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "poll_source",
            "FROM",
            "candidate",
            "ORDER",
            "BY",
            "oppose_rate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "poll_source",
            "from",
            "candidate",
            "order",
            "by",
            "oppose_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the poll source corresponding to the candidate who has the oppose rate.",
        "question_toks": [
            "Return",
            "the",
            "poll",
            "source",
            "corresponding",
            "to",
            "the",
            "candidate",
            "who",
            "has",
            "the",
            "oppose",
            "rate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT name FROM people ORDER BY date_of_birth",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "date_of_birth"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "date_of_birth"
        ],
        "question": "List all people names in the order of their date of birth from old to young.",
        "question_toks": [
            "List",
            "all",
            "people",
            "names",
            "in",
            "the",
            "order",
            "of",
            "their",
            "date",
            "of",
            "birth",
            "from",
            "old",
            "to",
            "young",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT name FROM people ORDER BY date_of_birth",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "people",
            "ORDER",
            "BY",
            "date_of_birth"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "order",
            "by",
            "date_of_birth"
        ],
        "question": "What are the names of all people, ordered by their date of birth?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "people",
            ",",
            "ordered",
            "by",
            "their",
            "date",
            "of",
            "birth",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT avg(height) ,  avg(weight) FROM people WHERE sex  =  'M'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "height",
            ")",
            ",",
            "avg",
            "(",
            "weight",
            ")",
            "FROM",
            "people",
            "WHERE",
            "sex",
            "=",
            "'M",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "height",
            ")",
            ",",
            "avg",
            "(",
            "weight",
            ")",
            "from",
            "people",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "Find the average height and weight for all males (sex is M).",
        "question_toks": [
            "Find",
            "the",
            "average",
            "height",
            "and",
            "weight",
            "for",
            "all",
            "males",
            "(",
            "sex",
            "is",
            "M",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT avg(height) ,  avg(weight) FROM people WHERE sex  =  'M'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "height",
            ")",
            ",",
            "avg",
            "(",
            "weight",
            ")",
            "FROM",
            "people",
            "WHERE",
            "sex",
            "=",
            "'M",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "height",
            ")",
            ",",
            "avg",
            "(",
            "weight",
            ")",
            "from",
            "people",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "What are the average height and weight across males (sex is M)?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "height",
            "and",
            "weight",
            "across",
            "males",
            "(",
            "sex",
            "is",
            "M",
            ")",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT name FROM people WHERE height  >  200 OR height  <  190",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "people",
            "WHERE",
            "height",
            ">",
            "200",
            "OR",
            "height",
            "<",
            "190"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "height",
            ">",
            "value",
            "or",
            "height",
            "<",
            "value"
        ],
        "question": "find the names of people who are taller than 200 or lower than 190.",
        "question_toks": [
            "find",
            "the",
            "names",
            "of",
            "people",
            "who",
            "are",
            "taller",
            "than",
            "200",
            "or",
            "lower",
            "than",
            "190",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    190.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT name FROM people WHERE height  >  200 OR height  <  190",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "people",
            "WHERE",
            "height",
            ">",
            "200",
            "OR",
            "height",
            "<",
            "190"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "height",
            ">",
            "value",
            "or",
            "height",
            "<",
            "value"
        ],
        "question": "What are the names of people who have a height greater than 200 or less than 190?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "people",
            "who",
            "have",
            "a",
            "height",
            "greater",
            "than",
            "200",
            "or",
            "less",
            "than",
            "190",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    190.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT avg(weight) ,  min(weight) ,  sex FROM people GROUP BY sex",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "weight",
            ")",
            ",",
            "min",
            "(",
            "weight",
            ")",
            ",",
            "sex",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "weight",
            ")",
            ",",
            "min",
            "(",
            "weight",
            ")",
            ",",
            "sex",
            "from",
            "people",
            "group",
            "by",
            "sex"
        ],
        "question": "Find the average and minimum weight for each gender.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "and",
            "minimum",
            "weight",
            "for",
            "each",
            "gender",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT avg(weight) ,  min(weight) ,  sex FROM people GROUP BY sex",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "weight",
            ")",
            ",",
            "min",
            "(",
            "weight",
            ")",
            ",",
            "sex",
            "FROM",
            "people",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "weight",
            ")",
            ",",
            "min",
            "(",
            "weight",
            ")",
            ",",
            "sex",
            "from",
            "people",
            "group",
            "by",
            "sex"
        ],
        "question": "What are the average and minimum weights for people of each sex?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "and",
            "minimum",
            "weights",
            "for",
            "people",
            "of",
            "each",
            "sex",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.name ,  t1.sex FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id ORDER BY t2.support_rate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.sex",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "ORDER",
            "BY",
            "t2.support_rate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "sex",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "support_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and gender of the candidate who got the highest support rate.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "gender",
            "of",
            "the",
            "candidate",
            "who",
            "got",
            "the",
            "highest",
            "support",
            "rate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.name ,  t1.sex FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id ORDER BY t2.support_rate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.sex",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "ORDER",
            "BY",
            "t2.support_rate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "sex",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "order",
            "by",
            "t2",
            ".",
            "support_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and sex of the candidate with the highest support rate?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "sex",
            "of",
            "the",
            "candidate",
            "with",
            "the",
            "highest",
            "support",
            "rate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.name ,  t1.sex ,  min(oppose_rate) FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id GROUP BY t1.sex",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.sex",
            ",",
            "min",
            "(",
            "oppose_rate",
            ")",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "GROUP",
            "BY",
            "t1.sex"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "sex",
            ",",
            "min",
            "(",
            "oppose_rate",
            ")",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t1",
            ".",
            "sex"
        ],
        "question": "Find the name of the candidates whose oppose percentage is the lowest for each sex.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "candidates",
            "whose",
            "oppose",
            "percentage",
            "is",
            "the",
            "lowest",
            "for",
            "each",
            "sex",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.name ,  t1.sex ,  min(oppose_rate) FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id GROUP BY t1.sex",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.sex",
            ",",
            "min",
            "(",
            "oppose_rate",
            ")",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "GROUP",
            "BY",
            "t1.sex"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "sex",
            ",",
            "min",
            "(",
            "oppose_rate",
            ")",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t1",
            ".",
            "sex"
        ],
        "question": "For each sex, what is the name and sex of the candidate with the oppose rate for their sex?",
        "question_toks": [
            "For",
            "each",
            "sex",
            ",",
            "what",
            "is",
            "the",
            "name",
            "and",
            "sex",
            "of",
            "the",
            "candidate",
            "with",
            "the",
            "oppose",
            "rate",
            "for",
            "their",
            "sex",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.sex FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id GROUP BY t1.sex ORDER BY avg(t2.unsure_rate) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.sex",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "GROUP",
            "BY",
            "t1.sex",
            "ORDER",
            "BY",
            "avg",
            "(",
            "t2.unsure_rate",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "sex",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t1",
            ".",
            "sex",
            "order",
            "by",
            "avg",
            "(",
            "t2",
            ".",
            "unsure_rate",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which gender got the highest average uncertain ratio.",
        "question_toks": [
            "which",
            "gender",
            "got",
            "the",
            "highest",
            "average",
            "uncertain",
            "ratio",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.sex FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id GROUP BY t1.sex ORDER BY avg(t2.unsure_rate) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.sex",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "GROUP",
            "BY",
            "t1.sex",
            "ORDER",
            "BY",
            "avg",
            "(",
            "t2.unsure_rate",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "sex",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "group",
            "by",
            "t1",
            ".",
            "sex",
            "order",
            "by",
            "avg",
            "(",
            "t2",
            ".",
            "unsure_rate",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the sex of the candidate who had the highest unsure rate?",
        "question_toks": [
            "What",
            "is",
            "the",
            "sex",
            "of",
            "the",
            "candidate",
            "who",
            "had",
            "the",
            "highest",
            "unsure",
            "rate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT name FROM people WHERE people_id NOT IN (SELECT people_id FROM candidate)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "people",
            "WHERE",
            "people_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "people_id",
            "FROM",
            "candidate",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "people_id",
            "from",
            "candidate",
            ")"
        ],
        "question": "what are the names of people who did not participate in the candidate election.",
        "question_toks": [
            "what",
            "are",
            "the",
            "names",
            "of",
            "people",
            "who",
            "did",
            "not",
            "participate",
            "in",
            "the",
            "candidate",
            "election",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT name FROM people WHERE people_id NOT IN (SELECT people_id FROM candidate)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "people",
            "WHERE",
            "people_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "people_id",
            "FROM",
            "candidate",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "people_id",
            "from",
            "candidate",
            ")"
        ],
        "question": "Give the names of people who did not participate in the candidate election.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "people",
            "who",
            "did",
            "not",
            "participate",
            "in",
            "the",
            "candidate",
            "election",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id WHERE t2.support_rate  <  t2.oppose_rate",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "WHERE",
            "t2.support_rate",
            "<",
            "t2.oppose_rate"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "support_rate",
            "<",
            "t2",
            ".",
            "oppose_rate"
        ],
        "question": "Find the names of the candidates whose support percentage is lower than their oppose rate.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "candidates",
            "whose",
            "support",
            "percentage",
            "is",
            "lower",
            "than",
            "their",
            "oppose",
            "rate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        7,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id WHERE t2.support_rate  <  t2.oppose_rate",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "WHERE",
            "t2.support_rate",
            "<",
            "t2.oppose_rate"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t2",
            ".",
            "support_rate",
            "<",
            "t2",
            ".",
            "oppose_rate"
        ],
        "question": "What are the names of candidates who have a lower support rate than oppose rate?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "candidates",
            "who",
            "have",
            "a",
            "lower",
            "support",
            "rate",
            "than",
            "oppose",
            "rate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        7,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT count(*) ,  sex FROM people WHERE weight  >  85 GROUP BY sex",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "FROM",
            "people",
            "WHERE",
            "weight",
            ">",
            "85",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "from",
            "people",
            "where",
            "weight",
            ">",
            "value",
            "group",
            "by",
            "sex"
        ],
        "question": "how many people are there whose weight is higher than 85 for each gender?",
        "question_toks": [
            "how",
            "many",
            "people",
            "are",
            "there",
            "whose",
            "weight",
            "is",
            "higher",
            "than",
            "85",
            "for",
            "each",
            "gender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    85.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT count(*) ,  sex FROM people WHERE weight  >  85 GROUP BY sex",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "FROM",
            "people",
            "WHERE",
            "weight",
            ">",
            "85",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "from",
            "people",
            "where",
            "weight",
            ">",
            "value",
            "group",
            "by",
            "sex"
        ],
        "question": "Count the number of people of each sex who have a weight higher than 85.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "people",
            "of",
            "each",
            "sex",
            "who",
            "have",
            "a",
            "weight",
            "higher",
            "than",
            "85",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    85.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT max(support_rate) ,  min(consider_rate) ,  min(oppose_rate) FROM candidate",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "support_rate",
            ")",
            ",",
            "min",
            "(",
            "consider_rate",
            ")",
            ",",
            "min",
            "(",
            "oppose_rate",
            ")",
            "FROM",
            "candidate"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "support_rate",
            ")",
            ",",
            "min",
            "(",
            "consider_rate",
            ")",
            ",",
            "min",
            "(",
            "oppose_rate",
            ")",
            "from",
            "candidate"
        ],
        "question": "find the highest support percentage, lowest consider rate and oppose rate of all candidates.",
        "question_toks": [
            "find",
            "the",
            "highest",
            "support",
            "percentage",
            ",",
            "lowest",
            "consider",
            "rate",
            "and",
            "oppose",
            "rate",
            "of",
            "all",
            "candidates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT max(support_rate) ,  min(consider_rate) ,  min(oppose_rate) FROM candidate",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "support_rate",
            ")",
            ",",
            "min",
            "(",
            "consider_rate",
            ")",
            ",",
            "min",
            "(",
            "oppose_rate",
            ")",
            "FROM",
            "candidate"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "support_rate",
            ")",
            ",",
            "min",
            "(",
            "consider_rate",
            ")",
            ",",
            "min",
            "(",
            "oppose_rate",
            ")",
            "from",
            "candidate"
        ],
        "question": "Return the maximum support rate, minimum consider rate, and minimum oppose rate across all candidates?",
        "question_toks": [
            "Return",
            "the",
            "maximum",
            "support",
            "rate",
            ",",
            "minimum",
            "consider",
            "rate",
            ",",
            "and",
            "minimum",
            "oppose",
            "rate",
            "across",
            "all",
            "candidates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id WHERE t1.sex  =  'F' ORDER BY t1.name",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "WHERE",
            "t1.sex",
            "=",
            "'F",
            "'",
            "ORDER",
            "BY",
            "t1.name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "sex",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "list all female (sex is F) candidate names in the alphabetical order.",
        "question_toks": [
            "list",
            "all",
            "female",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "candidate",
            "names",
            "in",
            "the",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id  =  t2.people_id WHERE t1.sex  =  'F' ORDER BY t1.name",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "people",
            "AS",
            "t1",
            "JOIN",
            "candidate",
            "AS",
            "t2",
            "ON",
            "t1.people_id",
            "=",
            "t2.people_id",
            "WHERE",
            "t1.sex",
            "=",
            "'F",
            "'",
            "ORDER",
            "BY",
            "t1.name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "people",
            "as",
            "t1",
            "join",
            "candidate",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "where",
            "t1",
            ".",
            "sex",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "What are the names of all female candidates in alphabetical order (sex is F)?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "female",
            "candidates",
            "in",
            "alphabetical",
            "order",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT name FROM people WHERE height  <  (SELECT avg(height) FROM people)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "people",
            "WHERE",
            "height",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "height",
            ")",
            "FROM",
            "people",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "height",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "height",
            ")",
            "from",
            "people",
            ")"
        ],
        "question": "find the name of people whose height is lower than the average.",
        "question_toks": [
            "find",
            "the",
            "name",
            "of",
            "people",
            "whose",
            "height",
            "is",
            "lower",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT name FROM people WHERE height  <  (SELECT avg(height) FROM people)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "people",
            "WHERE",
            "height",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "height",
            ")",
            "FROM",
            "people",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "height",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "height",
            ")",
            "from",
            "people",
            ")"
        ],
        "question": "What are the names of people who are shorter than average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "people",
            "who",
            "are",
            "shorter",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT * FROM people",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "people"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "people"
        ],
        "question": "List all info about all people.",
        "question_toks": [
            "List",
            "all",
            "info",
            "about",
            "all",
            "people",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "candidate_poll",
        "query": "SELECT * FROM people",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "people"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "people"
        ],
        "question": "What is all the information about all people?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "about",
            "all",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE director = 'Steven Spielberg'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "=",
            "'Steven",
            "Spielberg",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "director",
            "=",
            "value"
        ],
        "question": "Find the titles of all movies directed by steven spielberg.",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "directed",
            "by",
            "steven",
            "spielberg",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Steven Spielberg\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE director = 'Steven Spielberg'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "=",
            "'Steven",
            "Spielberg",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "director",
            "=",
            "value"
        ],
        "question": "What are the names of all movies directed by Steven Spielberg?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "movies",
            "directed",
            "by",
            "Steven",
            "Spielberg",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Steven Spielberg\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE director = 'James Cameron' AND YEAR  >  2000",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "=",
            "'James",
            "Cameron",
            "'",
            "AND",
            "YEAR",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "director",
            "=",
            "value",
            "and",
            "year",
            ">",
            "value"
        ],
        "question": "What is the name of the movie produced after 2000 and directed by James Cameron?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "movie",
            "produced",
            "after",
            "2000",
            "and",
            "directed",
            "by",
            "James",
            "Cameron",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"James Cameron\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE director = 'James Cameron' AND YEAR  >  2000",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "=",
            "'James",
            "Cameron",
            "'",
            "AND",
            "YEAR",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "director",
            "=",
            "value",
            "and",
            "year",
            ">",
            "value"
        ],
        "question": "What are the titles of all movies that James Cameron directed after 2000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "that",
            "James",
            "Cameron",
            "directed",
            "after",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"James Cameron\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT count(*) FROM Movie WHERE YEAR  <  2000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Movie",
            "WHERE",
            "YEAR",
            "<",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "movie",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "How many movies were made before 2000?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "were",
            "made",
            "before",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT count(*) FROM Movie WHERE YEAR  <  2000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Movie",
            "WHERE",
            "YEAR",
            "<",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "movie",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "How many movies were made before 2000?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "were",
            "made",
            "before",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT director FROM Movie WHERE title  = 'Avatar'",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "Movie",
            "WHERE",
            "title",
            "=",
            "'Avatar",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "Who is the director of movie Avatar?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "director",
            "of",
            "movie",
            "Avatar",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Avatar\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT director FROM Movie WHERE title  = 'Avatar'",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "Movie",
            "WHERE",
            "title",
            "=",
            "'Avatar",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "Who directed Avatar?",
        "question_toks": [
            "Who",
            "directed",
            "Avatar",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Avatar\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT count(*) FROM Reviewer",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Reviewer"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "reviewer"
        ],
        "question": "How many reviewers listed?",
        "question_toks": [
            "How",
            "many",
            "reviewers",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT count(*) FROM Reviewer",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Reviewer"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "reviewer"
        ],
        "question": "How many reviewers are there?",
        "question_toks": [
            "How",
            "many",
            "reviewers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT rID FROM Reviewer WHERE name LIKE \"%Mike%\"",
        "query_toks": [
            "SELECT",
            "rID",
            "FROM",
            "Reviewer",
            "WHERE",
            "name",
            "LIKE",
            "``",
            "%",
            "Mike",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "reviewer",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "What is the id of the reviewer whose name has substring \u201cMike\u201d?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "reviewer",
            "whose",
            "name",
            "has",
            "substring",
            "\u201cMike\u201d",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"%Mike%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT rID FROM Reviewer WHERE name LIKE \"%Mike%\"",
        "query_toks": [
            "SELECT",
            "rID",
            "FROM",
            "Reviewer",
            "WHERE",
            "name",
            "LIKE",
            "``",
            "%",
            "Mike",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "reviewer",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "What is the id of the reviewer whose name includes the word \"Mike\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "reviewer",
            "whose",
            "name",
            "includes",
            "the",
            "word",
            "``",
            "Mike",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"%Mike%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT rID FROM Reviewer WHERE name  =  \"Daniel Lewis\"",
        "query_toks": [
            "SELECT",
            "rID",
            "FROM",
            "Reviewer",
            "WHERE",
            "name",
            "=",
            "``",
            "Daniel",
            "Lewis",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "reviewer",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the reviewer id of Daniel Lewis?",
        "question_toks": [
            "What",
            "is",
            "the",
            "reviewer",
            "id",
            "of",
            "Daniel",
            "Lewis",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Daniel Lewis\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT rID FROM Reviewer WHERE name  =  \"Daniel Lewis\"",
        "query_toks": [
            "SELECT",
            "rID",
            "FROM",
            "Reviewer",
            "WHERE",
            "name",
            "=",
            "``",
            "Daniel",
            "Lewis",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "reviewer",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the id of the reviewer named Daniel Lewis?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "reviewer",
            "named",
            "Daniel",
            "Lewis",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Daniel Lewis\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT count(*) FROM Rating WHERE stars  >  3",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rating",
            "WHERE",
            "stars",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rating",
            "where",
            "stars",
            ">",
            "value"
        ],
        "question": "What is the total number of ratings that has more than 3 stars?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "ratings",
            "that",
            "has",
            "more",
            "than",
            "3",
            "stars",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT count(*) FROM Rating WHERE stars  >  3",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rating",
            "WHERE",
            "stars",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rating",
            "where",
            "stars",
            ">",
            "value"
        ],
        "question": "How many movie ratings have more than 3 stars?",
        "question_toks": [
            "How",
            "many",
            "movie",
            "ratings",
            "have",
            "more",
            "than",
            "3",
            "stars",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT max(stars) ,  min(stars) FROM Rating",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "stars",
            ")",
            ",",
            "min",
            "(",
            "stars",
            ")",
            "FROM",
            "Rating"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "stars",
            ")",
            ",",
            "min",
            "(",
            "stars",
            ")",
            "from",
            "rating"
        ],
        "question": "What is the lowest and highest rating star?",
        "question_toks": [
            "What",
            "is",
            "the",
            "lowest",
            "and",
            "highest",
            "rating",
            "star",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT max(stars) ,  min(stars) FROM Rating",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "stars",
            ")",
            ",",
            "min",
            "(",
            "stars",
            ")",
            "FROM",
            "Rating"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "stars",
            ")",
            ",",
            "min",
            "(",
            "stars",
            ")",
            "from",
            "rating"
        ],
        "question": "What is the maximum and mininum number of stars a rating can receive?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "and",
            "mininum",
            "number",
            "of",
            "stars",
            "a",
            "rating",
            "can",
            "receive",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT YEAR FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID  =  T2.mID WHERE T2.stars  >=  4 ORDER BY T1.year",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "YEAR",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Rating",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.stars",
            ">",
            "=",
            "4",
            "ORDER",
            "BY",
            "T1.year"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "year",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "rating",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "stars",
            ">",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "year"
        ],
        "question": "Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order of year.",
        "question_toks": [
            "Find",
            "all",
            "years",
            "that",
            "have",
            "a",
            "movie",
            "that",
            "received",
            "a",
            "rating",
            "of",
            "4",
            "or",
            "5",
            ",",
            "and",
            "sort",
            "them",
            "in",
            "increasing",
            "order",
            "of",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT YEAR FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID  =  T2.mID WHERE T2.stars  >=  4 ORDER BY T1.year",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "YEAR",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Rating",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.stars",
            ">",
            "=",
            "4",
            "ORDER",
            "BY",
            "T1.year"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "year",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "rating",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "stars",
            ">",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "year"
        ],
        "question": "In what years did a movie receive a 4 or 5 star rating, and list the years from oldest to most recently?",
        "question_toks": [
            "In",
            "what",
            "years",
            "did",
            "a",
            "movie",
            "receive",
            "a",
            "4",
            "or",
            "5",
            "star",
            "rating",
            ",",
            "and",
            "list",
            "the",
            "years",
            "from",
            "oldest",
            "to",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T1.director ,  T1.title FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID  =  T2.mID WHERE T2.stars  =  5",
        "query_toks": [
            "SELECT",
            "T1.director",
            ",",
            "T1.title",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Rating",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.stars",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "director",
            ",",
            "t1",
            ".",
            "title",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "rating",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "stars",
            "=",
            "value"
        ],
        "question": "What are the names of directors who directed movies with 5 star rating? Also return the title of these movies.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "directors",
            "who",
            "directed",
            "movies",
            "with",
            "5",
            "star",
            "rating",
            "?",
            "Also",
            "return",
            "the",
            "title",
            "of",
            "these",
            "movies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T1.director ,  T1.title FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID  =  T2.mID WHERE T2.stars  =  5",
        "query_toks": [
            "SELECT",
            "T1.director",
            ",",
            "T1.title",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Rating",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.stars",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "director",
            ",",
            "t1",
            ".",
            "title",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "rating",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "stars",
            "=",
            "value"
        ],
        "question": "What are the names of the directors who created a movie with a 5 star rating, and what was the name of those movies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "directors",
            "who",
            "created",
            "a",
            "movie",
            "with",
            "a",
            "5",
            "star",
            "rating",
            ",",
            "and",
            "what",
            "was",
            "the",
            "name",
            "of",
            "those",
            "movies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.name ,  avg(T1.stars) FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "avg",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "What is the average rating star for each reviewer?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "rating",
            "star",
            "for",
            "each",
            "reviewer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.name ,  avg(T1.stars) FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "avg",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "What is the average number of stars that each reviewer awards for a movie?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "stars",
            "that",
            "each",
            "reviewer",
            "awards",
            "for",
            "a",
            "movie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE mID NOT IN (SELECT mID FROM Rating)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "mID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "mID",
            "FROM",
            "Rating",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "mid",
            "not",
            "in",
            "(",
            "select",
            "mid",
            "from",
            "rating",
            ")"
        ],
        "question": "Find the titles of all movies that have no ratings.",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "that",
            "have",
            "no",
            "ratings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE mID NOT IN (SELECT mID FROM Rating)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "mID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "mID",
            "FROM",
            "Rating",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "mid",
            "not",
            "in",
            "(",
            "select",
            "mid",
            "from",
            "rating",
            ")"
        ],
        "question": "What are the titles of all movies that have not been rated?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "that",
            "have",
            "not",
            "been",
            "rated",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT name FROM Reviewer AS T1 JOIN Rating AS T2 ON T1.rID  =  T2.rID WHERE ratingDate  =  \"null\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "Reviewer",
            "AS",
            "T1",
            "JOIN",
            "Rating",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "ratingDate",
            "=",
            "``",
            "null",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "reviewer",
            "as",
            "t1",
            "join",
            "rating",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "ratingdate",
            "=",
            "value"
        ],
        "question": "Find the names of all reviewers who have ratings with a NULL value for the date.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "reviewers",
            "who",
            "have",
            "ratings",
            "with",
            "a",
            "NULL",
            "value",
            "for",
            "the",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT name FROM Reviewer AS T1 JOIN Rating AS T2 ON T1.rID  =  T2.rID WHERE ratingDate  =  \"null\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "Reviewer",
            "AS",
            "T1",
            "JOIN",
            "Rating",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "ratingDate",
            "=",
            "``",
            "null",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "reviewer",
            "as",
            "t1",
            "join",
            "rating",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "ratingdate",
            "=",
            "value"
        ],
        "question": "What are the different names of all reviewers whose ratings do not have a date field?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "of",
            "all",
            "reviewers",
            "whose",
            "ratings",
            "do",
            "not",
            "have",
            "a",
            "date",
            "field",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT avg(T1.stars) ,  T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T2.year  =  (SELECT min(YEAR) FROM Movie)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.stars",
            ")",
            ",",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.year",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "YEAR",
            ")",
            "FROM",
            "Movie",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            ",",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "(",
            "select",
            "min",
            "(",
            "year",
            ")",
            "from",
            "movie",
            ")"
        ],
        "question": "What is the average rating stars and title for the oldest movie?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "rating",
            "stars",
            "and",
            "title",
            "for",
            "the",
            "oldest",
            "movie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT avg(T1.stars) ,  T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T2.year  =  (SELECT min(YEAR) FROM Movie)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.stars",
            ")",
            ",",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.year",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "YEAR",
            ")",
            "FROM",
            "Movie",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            ",",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "(",
            "select",
            "min",
            "(",
            "year",
            ")",
            "from",
            "movie",
            ")"
        ],
        "question": "For the oldest movie listed, what is its average rating and title?",
        "question_toks": [
            "For",
            "the",
            "oldest",
            "movie",
            "listed",
            ",",
            "what",
            "is",
            "its",
            "average",
            "rating",
            "and",
            "title",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE YEAR  =  (SELECT max(YEAR) FROM Movie)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "YEAR",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "Movie",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "movie",
            ")"
        ],
        "question": "What is the name of the most recent movie?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "most",
            "recent",
            "movie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE YEAR  =  (SELECT max(YEAR) FROM Movie)",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "YEAR",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "Movie",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "movie",
            ")"
        ],
        "question": "What is the title of the newest movie?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "the",
            "newest",
            "movie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT max(T1.stars) ,  T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T2.year  =  (SELECT max(YEAR) FROM Movie)",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.stars",
            ")",
            ",",
            "T2.year",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.year",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "Movie",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "movie",
            ")"
        ],
        "question": "What is the maximum stars and year for the most recent movie?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "stars",
            "and",
            "year",
            "for",
            "the",
            "most",
            "recent",
            "movie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT max(T1.stars) ,  T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T2.year  =  (SELECT max(YEAR) FROM Movie)",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.stars",
            ")",
            ",",
            "T2.year",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.year",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "Movie",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "movie",
            ")"
        ],
        "question": "What is highest rating for the most recent movie and when was it released?",
        "question_toks": [
            "What",
            "is",
            "highest",
            "rating",
            "for",
            "the",
            "most",
            "recent",
            "movie",
            "and",
            "when",
            "was",
            "it",
            "released",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE YEAR  >  (SELECT max(YEAR) FROM Movie WHERE director  =  \"Steven Spielberg\")",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "YEAR",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "=",
            "``",
            "Steven",
            "Spielberg",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "year",
            ">",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "movie",
            "where",
            "director",
            "=",
            "value",
            ")"
        ],
        "question": "What is the names of movies whose created year is after all movies directed by Steven Spielberg?",
        "question_toks": [
            "What",
            "is",
            "the",
            "names",
            "of",
            "movies",
            "whose",
            "created",
            "year",
            "is",
            "after",
            "all",
            "movies",
            "directed",
            "by",
            "Steven",
            "Spielberg",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Steven Spielberg\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE YEAR  >  (SELECT max(YEAR) FROM Movie WHERE director  =  \"Steven Spielberg\")",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "YEAR",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "=",
            "``",
            "Steven",
            "Spielberg",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "year",
            ">",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "movie",
            "where",
            "director",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of all movies that were created after the most recent Steven Spielberg film?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "movies",
            "that",
            "were",
            "created",
            "after",
            "the",
            "most",
            "recent",
            "Steven",
            "Spielberg",
            "film",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Steven Spielberg\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T1.stars  >  (SELECT avg(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T2.director  =  \"James Cameron\")",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T2.director",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T1.stars",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.director",
            "=",
            "``",
            "James",
            "Cameron",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "director",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "stars",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "director",
            "=",
            "value",
            ")"
        ],
        "question": "What are the titles and directors of the movies whose star is greater than the average stars of the movies directed by James Cameron?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "and",
            "directors",
            "of",
            "the",
            "movies",
            "whose",
            "star",
            "is",
            "greater",
            "than",
            "the",
            "average",
            "stars",
            "of",
            "the",
            "movies",
            "directed",
            "by",
            "James",
            "Cameron",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"James Cameron\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T1.stars  >  (SELECT avg(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T2.director  =  \"James Cameron\")",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T2.director",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T1.stars",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T2.director",
            "=",
            "``",
            "James",
            "Cameron",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "director",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "stars",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t2",
            ".",
            "director",
            "=",
            "value",
            ")"
        ],
        "question": "What are the titles and directors of all movies that have a rating higher than the average James Cameron film rating?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "and",
            "directors",
            "of",
            "all",
            "movies",
            "that",
            "have",
            "a",
            "rating",
            "higher",
            "than",
            "the",
            "average",
            "James",
            "Cameron",
            "film",
            "rating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"James Cameron\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T3.name ,  T2.title ,  T1.stars ,  T1.ratingDate FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID ORDER BY T3.name ,  T2.title ,  T1.stars",
        "query_toks": [
            "SELECT",
            "T3.name",
            ",",
            "T2.title",
            ",",
            "T1.stars",
            ",",
            "T1.ratingDate",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "ORDER",
            "BY",
            "T3.name",
            ",",
            "T2.title",
            ",",
            "T1.stars"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars",
            ",",
            "t1",
            ".",
            "ratingdate",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "order",
            "by",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars"
        ],
        "question": "Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars.",
        "question_toks": [
            "Return",
            "reviewer",
            "name",
            ",",
            "movie",
            "title",
            ",",
            "stars",
            ",",
            "and",
            "ratingDate",
            ".",
            "And",
            "sort",
            "the",
            "data",
            "first",
            "by",
            "reviewer",
            "name",
            ",",
            "then",
            "by",
            "movie",
            "title",
            ",",
            "and",
            "lastly",
            "by",
            "number",
            "of",
            "stars",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T3.name ,  T2.title ,  T1.stars ,  T1.ratingDate FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID ORDER BY T3.name ,  T2.title ,  T1.stars",
        "query_toks": [
            "SELECT",
            "T3.name",
            ",",
            "T2.title",
            ",",
            "T1.stars",
            ",",
            "T1.ratingDate",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "ORDER",
            "BY",
            "T3.name",
            ",",
            "T2.title",
            ",",
            "T1.stars"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars",
            ",",
            "t1",
            ".",
            "ratingdate",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "order",
            "by",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars"
        ],
        "question": "What is the reviewer name, film title, movie rating, and rating date  for every movie ordered by reviewer name, movie title, then finally rating?",
        "question_toks": [
            "What",
            "is",
            "the",
            "reviewer",
            "name",
            ",",
            "film",
            "title",
            ",",
            "movie",
            "rating",
            ",",
            "and",
            "rating",
            "date",
            "for",
            "every",
            "movie",
            "ordered",
            "by",
            "reviewer",
            "name",
            ",",
            "movie",
            "title",
            ",",
            "then",
            "finally",
            "rating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID GROUP BY T1.rID HAVING COUNT(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "GROUP",
            "BY",
            "T1.rID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "group",
            "by",
            "t1",
            ".",
            "rid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the names of all reviewers who have contributed three or more ratings.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "reviewers",
            "who",
            "have",
            "contributed",
            "three",
            "or",
            "more",
            "ratings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID GROUP BY T1.rID HAVING COUNT(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "GROUP",
            "BY",
            "T1.rID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "group",
            "by",
            "t1",
            ".",
            "rid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of all reviewers that have rated 3 or more movies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "reviewers",
            "that",
            "have",
            "rated",
            "3",
            "or",
            "more",
            "movies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT T3.name FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T2.title  =  'Gone with the Wind'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T2.title",
            "=",
            "'Gone",
            "with",
            "the",
            "Wind",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Find the names of all reviewers who rated Gone with the Wind.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "reviewers",
            "who",
            "rated",
            "Gone",
            "with",
            "the",
            "Wind",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Gone with the Wind\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT T3.name FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T2.title  =  'Gone with the Wind'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T2.title",
            "=",
            "'Gone",
            "with",
            "the",
            "Wind",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the names of all the different reviewers who rates Gone with the Wind?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "different",
            "reviewers",
            "who",
            "rates",
            "Gone",
            "with",
            "the",
            "Wind",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Gone with the Wind\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T3.name  =  'Sarah Martinez'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.director",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T3.name",
            "=",
            "'Sarah",
            "Martinez",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "director",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the names of all directors whose movies are rated by Sarah Martinez.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "directors",
            "whose",
            "movies",
            "are",
            "rated",
            "by",
            "Sarah",
            "Martinez",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Sarah Martinez\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T3.name  =  'Sarah Martinez'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.director",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T3.name",
            "=",
            "'Sarah",
            "Martinez",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "director",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of all directors whose movies have been reviewed by Sarah Martinez?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "directors",
            "whose",
            "movies",
            "have",
            "been",
            "reviewed",
            "by",
            "Sarah",
            "Martinez",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Sarah Martinez\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT T3.name ,  T2.title ,  T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T2.director  =  T3.name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.name",
            ",",
            "T2.title",
            ",",
            "T1.stars",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T2.director",
            "=",
            "T3.name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t2",
            ".",
            "director",
            "=",
            "t3",
            ".",
            "name"
        ],
        "question": "For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars.",
        "question_toks": [
            "For",
            "any",
            "rating",
            "where",
            "the",
            "name",
            "of",
            "reviewer",
            "is",
            "the",
            "same",
            "as",
            "the",
            "director",
            "of",
            "the",
            "movie",
            ",",
            "return",
            "the",
            "reviewer",
            "name",
            ",",
            "movie",
            "title",
            ",",
            "and",
            "number",
            "of",
            "stars",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        6,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT T3.name ,  T2.title ,  T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T2.director  =  T3.name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.name",
            ",",
            "T2.title",
            ",",
            "T1.stars",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T2.director",
            "=",
            "T3.name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t2",
            ".",
            "director",
            "=",
            "t3",
            ".",
            "name"
        ],
        "question": "What are the different reviewer names, movie titles, and stars for every rating where the reviewer had the same name as the director?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "reviewer",
            "names",
            ",",
            "movie",
            "titles",
            ",",
            "and",
            "stars",
            "for",
            "every",
            "rating",
            "where",
            "the",
            "reviewer",
            "had",
            "the",
            "same",
            "name",
            "as",
            "the",
            "director",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        6,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT name FROM Reviewer UNION SELECT title FROM Movie",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Reviewer",
            "UNION",
            "SELECT",
            "title",
            "FROM",
            "Movie"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "reviewer",
            "union",
            "select",
            "title",
            "from",
            "movie"
        ],
        "question": "Return all reviewer names and movie names together in a single list.",
        "question_toks": [
            "Return",
            "all",
            "reviewer",
            "names",
            "and",
            "movie",
            "names",
            "together",
            "in",
            "a",
            "single",
            "list",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT name FROM Reviewer UNION SELECT title FROM Movie",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Reviewer",
            "UNION",
            "SELECT",
            "title",
            "FROM",
            "Movie"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "reviewer",
            "union",
            "select",
            "title",
            "from",
            "movie"
        ],
        "question": "What are the names of all the reviewers and movie names?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "reviewers",
            "and",
            "movie",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT title FROM Movie EXCEPT SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T3.name  =  'Chris Jackson'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            "FROM",
            "Movie",
            "EXCEPT",
            "SELECT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T3.name",
            "=",
            "'Chris",
            "Jackson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            "from",
            "movie",
            "except",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the titles of all movies not reviewed by Chris Jackson.",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "not",
            "reviewed",
            "by",
            "Chris",
            "Jackson",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"Chris Jackson\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT title FROM Movie EXCEPT SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T3.name  =  'Chris Jackson'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            "FROM",
            "Movie",
            "EXCEPT",
            "SELECT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T3.name",
            "=",
            "'Chris",
            "Jackson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            "from",
            "movie",
            "except",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the titles of all movies that were not reviewed by Chris Jackson?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "that",
            "were",
            "not",
            "reviewed",
            "by",
            "Chris",
            "Jackson",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"Chris Jackson\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T1.title ,  T1.director FROM Movie AS T1 JOIN Movie AS T2 ON T1.director  =  T2.director WHERE T1.title != T2.title ORDER BY T1.director ,  T1.title",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.director",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.director",
            "=",
            "T2.director",
            "WHERE",
            "T1.title",
            "!",
            "=",
            "T2.title",
            "ORDER",
            "BY",
            "T1.director",
            ",",
            "T1.title"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "director",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "director",
            "=",
            "t2",
            ".",
            "director",
            "where",
            "t1",
            ".",
            "title",
            "!",
            "=",
            "t2",
            ".",
            "title",
            "order",
            "by",
            "t1",
            ".",
            "director",
            ",",
            "t1",
            ".",
            "title"
        ],
        "question": "For all directors who directed more than one movie, return the titles of all movies directed by them, along with the director name. Sort by director name, then movie title.",
        "question_toks": [
            "For",
            "all",
            "directors",
            "who",
            "directed",
            "more",
            "than",
            "one",
            "movie",
            ",",
            "return",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "directed",
            "by",
            "them",
            ",",
            "along",
            "with",
            "the",
            "director",
            "name",
            ".",
            "Sort",
            "by",
            "director",
            "name",
            ",",
            "then",
            "movie",
            "title",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        2,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T1.title ,  T1.director FROM Movie AS T1 JOIN Movie AS T2 ON T1.director  =  T2.director WHERE T1.title != T2.title ORDER BY T1.director ,  T1.title",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.director",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.director",
            "=",
            "T2.director",
            "WHERE",
            "T1.title",
            "!",
            "=",
            "T2.title",
            "ORDER",
            "BY",
            "T1.director",
            ",",
            "T1.title"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "director",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "director",
            "=",
            "t2",
            ".",
            "director",
            "where",
            "t1",
            ".",
            "title",
            "!",
            "=",
            "t2",
            ".",
            "title",
            "order",
            "by",
            "t1",
            ".",
            "director",
            ",",
            "t1",
            ".",
            "title"
        ],
        "question": "For all directors who have directed more than one movie, what movies have they directed and what are their names?",
        "question_toks": [
            "For",
            "all",
            "directors",
            "who",
            "have",
            "directed",
            "more",
            "than",
            "one",
            "movie",
            ",",
            "what",
            "movies",
            "have",
            "they",
            "directed",
            "and",
            "what",
            "are",
            "their",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        2,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T1.title ,  T1.year FROM Movie AS T1 JOIN Movie AS T2 ON T1.director  =  T2.director WHERE T1.title != T2.title",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.year",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.director",
            "=",
            "T2.director",
            "WHERE",
            "T1.title",
            "!",
            "=",
            "T2.title"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "director",
            "=",
            "t2",
            ".",
            "director",
            "where",
            "t1",
            ".",
            "title",
            "!",
            "=",
            "t2",
            ".",
            "title"
        ],
        "question": "For directors who had more than one movie, return the titles and produced years of all movies directed by them.",
        "question_toks": [
            "For",
            "directors",
            "who",
            "had",
            "more",
            "than",
            "one",
            "movie",
            ",",
            "return",
            "the",
            "titles",
            "and",
            "produced",
            "years",
            "of",
            "all",
            "movies",
            "directed",
            "by",
            "them",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        2,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T1.title ,  T1.year FROM Movie AS T1 JOIN Movie AS T2 ON T1.director  =  T2.director WHERE T1.title != T2.title",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.year",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.director",
            "=",
            "T2.director",
            "WHERE",
            "T1.title",
            "!",
            "=",
            "T2.title"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "director",
            "=",
            "t2",
            ".",
            "director",
            "where",
            "t1",
            ".",
            "title",
            "!",
            "=",
            "t2",
            ".",
            "title"
        ],
        "question": "For each director who directed more than one movie, what are the titles and dates of release for all those movies?",
        "question_toks": [
            "For",
            "each",
            "director",
            "who",
            "directed",
            "more",
            "than",
            "one",
            "movie",
            ",",
            "what",
            "are",
            "the",
            "titles",
            "and",
            "dates",
            "of",
            "release",
            "for",
            "all",
            "those",
            "movies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        2,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT director FROM Movie GROUP BY director HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "Movie",
            "GROUP",
            "BY",
            "director",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "group",
            "by",
            "director",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the names of the directors who made exactly one movie?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "directors",
            "who",
            "made",
            "exactly",
            "one",
            "movie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT director FROM Movie GROUP BY director HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "Movie",
            "GROUP",
            "BY",
            "director",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "group",
            "by",
            "director",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the names of all directors who made one movie?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "directors",
            "who",
            "made",
            "one",
            "movie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT director FROM Movie WHERE director != \"null\" GROUP BY director HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "!",
            "=",
            "``",
            "null",
            "''",
            "GROUP",
            "BY",
            "director",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "where",
            "director",
            "!",
            "=",
            "value",
            "group",
            "by",
            "director",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the names of the directors who made exactly one movie excluding director NULL?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "directors",
            "who",
            "made",
            "exactly",
            "one",
            "movie",
            "excluding",
            "director",
            "NULL",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT director FROM Movie WHERE director != \"null\" GROUP BY director HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "!",
            "=",
            "``",
            "null",
            "''",
            "GROUP",
            "BY",
            "director",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "where",
            "director",
            "!",
            "=",
            "value",
            "group",
            "by",
            "director",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the names of all directors who have made one movie except for the director named NULL?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "directors",
            "who",
            "have",
            "made",
            "one",
            "movie",
            "except",
            "for",
            "the",
            "director",
            "named",
            "NULL",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT count(*) ,  T1.director FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID  =  T2.mID GROUP BY T1.director",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.director",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Rating",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.director"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "director",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "rating",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "director"
        ],
        "question": "How many movie reviews does each director get?",
        "question_toks": [
            "How",
            "many",
            "movie",
            "reviews",
            "does",
            "each",
            "director",
            "get",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT count(*) ,  T1.director FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID  =  T2.mID GROUP BY T1.director",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.director",
            "FROM",
            "Movie",
            "AS",
            "T1",
            "JOIN",
            "Rating",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.director"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "director",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "rating",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "director"
        ],
        "question": "For each director, how many reviews have they received?",
        "question_toks": [
            "For",
            "each",
            "director",
            ",",
            "how",
            "many",
            "reviews",
            "have",
            "they",
            "received",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  avg(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T1.mID ORDER BY avg(T1.stars) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "avg",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.mID",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.stars",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "mid",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the movies with the highest average rating. Return the movie titles and average rating.",
        "question_toks": [
            "Find",
            "the",
            "movies",
            "with",
            "the",
            "highest",
            "average",
            "rating",
            ".",
            "Return",
            "the",
            "movie",
            "titles",
            "and",
            "average",
            "rating",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  avg(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T1.mID ORDER BY avg(T1.stars) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "avg",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.mID",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.stars",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "mid",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the movie titles with the highest average rating and what are those ratings?",
        "question_toks": [
            "What",
            "are",
            "the",
            "movie",
            "titles",
            "with",
            "the",
            "highest",
            "average",
            "rating",
            "and",
            "what",
            "are",
            "those",
            "ratings",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  avg(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T1.mID ORDER BY avg(T1.stars) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "avg",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.mID",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.stars",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "mid",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "limit",
            "value"
        ],
        "question": "What are the movie titles and average rating of the movies with the lowest average rating?",
        "question_toks": [
            "What",
            "are",
            "the",
            "movie",
            "titles",
            "and",
            "average",
            "rating",
            "of",
            "the",
            "movies",
            "with",
            "the",
            "lowest",
            "average",
            "rating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  avg(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T1.mID ORDER BY avg(T1.stars) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "avg",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.mID",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.stars",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "mid",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "limit",
            "value"
        ],
        "question": "What are the titles and average ratings for all movies that have the lowest average rating?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "and",
            "average",
            "ratings",
            "for",
            "all",
            "movies",
            "that",
            "have",
            "the",
            "lowest",
            "average",
            "rating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID ORDER BY T1.stars DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T2.year",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "ORDER",
            "BY",
            "T1.stars",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "order",
            "by",
            "t1",
            ".",
            "stars",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names and years of the movies that has the top 3 highest rating star?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "years",
            "of",
            "the",
            "movies",
            "that",
            "has",
            "the",
            "top",
            "3",
            "highest",
            "rating",
            "star",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID ORDER BY T1.stars DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T2.year",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "ORDER",
            "BY",
            "T1.stars",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "order",
            "by",
            "t1",
            ".",
            "stars",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names and years released for the movies with the top 3 highest ratings?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "years",
            "released",
            "for",
            "the",
            "movies",
            "with",
            "the",
            "top",
            "3",
            "highest",
            "ratings",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T1.stars ,  T2.director ,  max(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE director != \"null\" GROUP BY director",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T1.stars",
            ",",
            "T2.director",
            ",",
            "max",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "director",
            "!",
            "=",
            "``",
            "null",
            "''",
            "GROUP",
            "BY",
            "director"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars",
            ",",
            "t2",
            ".",
            "director",
            ",",
            "max",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "director",
            "!",
            "=",
            "value",
            "group",
            "by",
            "director"
        ],
        "question": "For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL.",
        "question_toks": [
            "For",
            "each",
            "director",
            ",",
            "return",
            "the",
            "director",
            "'s",
            "name",
            "together",
            "with",
            "the",
            "title",
            "of",
            "the",
            "movie",
            "they",
            "directed",
            "that",
            "received",
            "the",
            "highest",
            "rating",
            "among",
            "all",
            "of",
            "their",
            "movies",
            ",",
            "and",
            "the",
            "value",
            "of",
            "that",
            "rating",
            ".",
            "Ignore",
            "movies",
            "whose",
            "director",
            "is",
            "NULL",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T1.stars ,  T2.director ,  max(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE director != \"null\" GROUP BY director",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T1.stars",
            ",",
            "T2.director",
            ",",
            "max",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "director",
            "!",
            "=",
            "``",
            "null",
            "''",
            "GROUP",
            "BY",
            "director"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars",
            ",",
            "t2",
            ".",
            "director",
            ",",
            "max",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "director",
            "!",
            "=",
            "value",
            "group",
            "by",
            "director"
        ],
        "question": "For each director, what are the titles and ratings for all the movies they reviewed?",
        "question_toks": [
            "For",
            "each",
            "director",
            ",",
            "what",
            "are",
            "the",
            "titles",
            "and",
            "ratings",
            "for",
            "all",
            "the",
            "movies",
            "they",
            "reviewed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T1.rID ,  T1.stars ,  min(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T1.rID",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T1.rID",
            ",",
            "T1.stars",
            ",",
            "min",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.rID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "rid",
            ",",
            "t1",
            ".",
            "stars",
            ",",
            "min",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "rid"
        ],
        "question": "Find the title and star rating of the movie that got the least rating star for each reviewer.",
        "question_toks": [
            "Find",
            "the",
            "title",
            "and",
            "star",
            "rating",
            "of",
            "the",
            "movie",
            "that",
            "got",
            "the",
            "least",
            "rating",
            "star",
            "for",
            "each",
            "reviewer",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T1.rID ,  T1.stars ,  min(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T1.rID",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T1.rID",
            ",",
            "T1.stars",
            ",",
            "min",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.rID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "rid",
            ",",
            "t1",
            ".",
            "stars",
            ",",
            "min",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "rid"
        ],
        "question": "For each reviewer id, what is the title and rating for the movie with the smallest rating?",
        "question_toks": [
            "For",
            "each",
            "reviewer",
            "id",
            ",",
            "what",
            "is",
            "the",
            "title",
            "and",
            "rating",
            "for",
            "the",
            "movie",
            "with",
            "the",
            "smallest",
            "rating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T1.stars ,  T2.director ,  min(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T2.director",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T1.stars",
            ",",
            "T2.director",
            ",",
            "min",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T2.director"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars",
            ",",
            "t2",
            ".",
            "director",
            ",",
            "min",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t2",
            ".",
            "director"
        ],
        "question": "Find the title and score of the movie with the lowest rating among all movies directed by each director.",
        "question_toks": [
            "Find",
            "the",
            "title",
            "and",
            "score",
            "of",
            "the",
            "movie",
            "with",
            "the",
            "lowest",
            "rating",
            "among",
            "all",
            "movies",
            "directed",
            "by",
            "each",
            "director",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T1.stars ,  T2.director ,  min(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T2.director",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T1.stars",
            ",",
            "T2.director",
            ",",
            "min",
            "(",
            "T1.stars",
            ")",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T2.director"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "stars",
            ",",
            "t2",
            ".",
            "director",
            ",",
            "min",
            "(",
            "t1",
            ".",
            "stars",
            ")",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t2",
            ".",
            "director"
        ],
        "question": "For each director, what is the title and score of their most poorly rated movie?",
        "question_toks": [
            "For",
            "each",
            "director",
            ",",
            "what",
            "is",
            "the",
            "title",
            "and",
            "score",
            "of",
            "their",
            "most",
            "poorly",
            "rated",
            "movie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T1.mID FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T1.mID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T1.mID",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.mID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "mid",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "mid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the movie that is rated by most of times?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "movie",
            "that",
            "is",
            "rated",
            "by",
            "most",
            "of",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title ,  T1.mID FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID GROUP BY T1.mID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T1.mID",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "GROUP",
            "BY",
            "T1.mID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "mid",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "group",
            "by",
            "t1",
            ".",
            "mid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the movie that has been reviewed the most?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "movie",
            "that",
            "has",
            "been",
            "reviewed",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T1.stars BETWEEN 3 AND 5",
        "query_toks": [
            "SELECT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T1.stars",
            "BETWEEN",
            "3",
            "AND",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "stars",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the titles of all movies that have rating star is between 3 and 5?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "that",
            "have",
            "rating",
            "star",
            "is",
            "between",
            "3",
            "and",
            "5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    5.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T1.stars BETWEEN 3 AND 5",
        "query_toks": [
            "SELECT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T1.stars",
            "BETWEEN",
            "3",
            "AND",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "stars",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the titles of all movies that have between 3 and 5 stars?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "all",
            "movies",
            "that",
            "have",
            "between",
            "3",
            "and",
            "5",
            "stars",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    5.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T1.stars  >  3",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T1.stars",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t1",
            ".",
            "stars",
            ">",
            "value"
        ],
        "question": "Find the names of reviewers who had given higher than 3 star ratings.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "reviewers",
            "who",
            "had",
            "given",
            "higher",
            "than",
            "3",
            "star",
            "ratings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T1.stars  >  3",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T1.stars",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t1",
            ".",
            "stars",
            ">",
            "value"
        ],
        "question": "What are the names of the reviewers who have rated a movie more than 3 stars before?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "reviewers",
            "who",
            "have",
            "rated",
            "a",
            "movie",
            "more",
            "than",
            "3",
            "stars",
            "before",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT mID ,  avg(stars) FROM Rating WHERE mID NOT IN (SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T2.name  =  \"Brittany Harris\") GROUP BY mID",
        "query_toks": [
            "SELECT",
            "mID",
            ",",
            "avg",
            "(",
            "stars",
            ")",
            "FROM",
            "Rating",
            "WHERE",
            "mID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.mID",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Brittany",
            "Harris",
            "''",
            ")",
            "GROUP",
            "BY",
            "mID"
        ],
        "query_toks_no_value": [
            "select",
            "mid",
            ",",
            "avg",
            "(",
            "stars",
            ")",
            "from",
            "rating",
            "where",
            "mid",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "mid",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            ")",
            "group",
            "by",
            "mid"
        ],
        "question": "Find the average rating star for each movie that are not reviewed by Brittany Harris.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "rating",
            "star",
            "for",
            "each",
            "movie",
            "that",
            "are",
            "not",
            "reviewed",
            "by",
            "Brittany",
            "Harris",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Brittany Harris\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT mID ,  avg(stars) FROM Rating WHERE mID NOT IN (SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T2.name  =  \"Brittany Harris\") GROUP BY mID",
        "query_toks": [
            "SELECT",
            "mID",
            ",",
            "avg",
            "(",
            "stars",
            ")",
            "FROM",
            "Rating",
            "WHERE",
            "mID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.mID",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Brittany",
            "Harris",
            "''",
            ")",
            "GROUP",
            "BY",
            "mID"
        ],
        "query_toks_no_value": [
            "select",
            "mid",
            ",",
            "avg",
            "(",
            "stars",
            ")",
            "from",
            "rating",
            "where",
            "mid",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "mid",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            ")",
            "group",
            "by",
            "mid"
        ],
        "question": "What is the average rating for each movie that has never been reviewed by Brittany Harris?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "rating",
            "for",
            "each",
            "movie",
            "that",
            "has",
            "never",
            "been",
            "reviewed",
            "by",
            "Brittany",
            "Harris",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Brittany Harris\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T2.name  =  \"Brittany Harris\"",
        "query_toks": [
            "SELECT",
            "mID",
            "FROM",
            "Rating",
            "EXCEPT",
            "SELECT",
            "T1.mID",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Brittany",
            "Harris",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "mid",
            "from",
            "rating",
            "except",
            "select",
            "t1",
            ".",
            "mid",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the ids of the movies that are not reviewed by Brittany Harris.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "movies",
            "that",
            "are",
            "not",
            "reviewed",
            "by",
            "Brittany",
            "Harris",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"Brittany Harris\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T2.name  =  \"Brittany Harris\"",
        "query_toks": [
            "SELECT",
            "mID",
            "FROM",
            "Rating",
            "EXCEPT",
            "SELECT",
            "T1.mID",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T2.name",
            "=",
            "``",
            "Brittany",
            "Harris",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "mid",
            "from",
            "rating",
            "except",
            "select",
            "t1",
            ".",
            "mid",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the ids of all moviest hat have not been reviewed by Britanny Harris?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "moviest",
            "hat",
            "have",
            "not",
            "been",
            "reviewed",
            "by",
            "Britanny",
            "Harris",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"Brittany Harris\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT mID ,  avg(stars) FROM Rating GROUP BY mID HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "mID",
            ",",
            "avg",
            "(",
            "stars",
            ")",
            "FROM",
            "Rating",
            "GROUP",
            "BY",
            "mID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "mid",
            ",",
            "avg",
            "(",
            "stars",
            ")",
            "from",
            "rating",
            "group",
            "by",
            "mid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the average rating star for each movie that received at least 2 ratings.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "rating",
            "star",
            "for",
            "each",
            "movie",
            "that",
            "received",
            "at",
            "least",
            "2",
            "ratings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT mID ,  avg(stars) FROM Rating GROUP BY mID HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "mID",
            ",",
            "avg",
            "(",
            "stars",
            ")",
            "FROM",
            "Rating",
            "GROUP",
            "BY",
            "mID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "mid",
            ",",
            "avg",
            "(",
            "stars",
            ")",
            "from",
            "rating",
            "group",
            "by",
            "mid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "For each movie that received more than 3 reviews, what is the average rating?",
        "question_toks": [
            "For",
            "each",
            "movie",
            "that",
            "received",
            "more",
            "than",
            "3",
            "reviews",
            ",",
            "what",
            "is",
            "the",
            "average",
            "rating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT rID FROM Rating EXCEPT SELECT rID FROM Rating WHERE stars  =  4",
        "query_toks": [
            "SELECT",
            "rID",
            "FROM",
            "Rating",
            "EXCEPT",
            "SELECT",
            "rID",
            "FROM",
            "Rating",
            "WHERE",
            "stars",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "rating",
            "except",
            "select",
            "rid",
            "from",
            "rating",
            "where",
            "stars",
            "=",
            "value"
        ],
        "question": "find the ids of reviewers who did not give 4 star.",
        "question_toks": [
            "find",
            "the",
            "ids",
            "of",
            "reviewers",
            "who",
            "did",
            "not",
            "give",
            "4",
            "star",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        4.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT rID FROM Rating EXCEPT SELECT rID FROM Rating WHERE stars  =  4",
        "query_toks": [
            "SELECT",
            "rID",
            "FROM",
            "Rating",
            "EXCEPT",
            "SELECT",
            "rID",
            "FROM",
            "Rating",
            "WHERE",
            "stars",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "rating",
            "except",
            "select",
            "rid",
            "from",
            "rating",
            "where",
            "stars",
            "=",
            "value"
        ],
        "question": "What are the ids of all reviewers who did not give 4 stars?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "reviewers",
            "who",
            "did",
            "not",
            "give",
            "4",
            "stars",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        4.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT rID FROM Rating WHERE stars != 4",
        "query_toks": [
            "SELECT",
            "rID",
            "FROM",
            "Rating",
            "WHERE",
            "stars",
            "!",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "rating",
            "where",
            "stars",
            "!",
            "=",
            "value"
        ],
        "question": "Find the ids of reviewers who didn't only give 4 star.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "reviewers",
            "who",
            "did",
            "n't",
            "only",
            "give",
            "4",
            "star",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT rID FROM Rating WHERE stars != 4",
        "query_toks": [
            "SELECT",
            "rID",
            "FROM",
            "Rating",
            "WHERE",
            "stars",
            "!",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "rating",
            "where",
            "stars",
            "!",
            "=",
            "value"
        ],
        "question": "What are the ids of all reviewers who have not given 4 stars at least once?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "reviewers",
            "who",
            "have",
            "not",
            "given",
            "4",
            "stars",
            "at",
            "least",
            "once",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T3.name  =  'Brittany Harris' OR T2.year  >  2000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T3.name",
            "=",
            "'Brittany",
            "Harris",
            "'",
            "OR",
            "T2.year",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "What are names of the movies that are either made after 2000 or reviewed by Brittany Harris?",
        "question_toks": [
            "What",
            "are",
            "names",
            "of",
            "the",
            "movies",
            "that",
            "are",
            "either",
            "made",
            "after",
            "2000",
            "or",
            "reviewed",
            "by",
            "Brittany",
            "Harris",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Brittany Harris\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT DISTINCT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID JOIN Reviewer AS T3 ON T1.rID  =  T3.rID WHERE T3.name  =  'Brittany Harris' OR T2.year  >  2000",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "JOIN",
            "Reviewer",
            "AS",
            "T3",
            "ON",
            "T1.rID",
            "=",
            "T3.rID",
            "WHERE",
            "T3.name",
            "=",
            "'Brittany",
            "Harris",
            "'",
            "OR",
            "T2.year",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "reviewer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t3",
            ".",
            "rid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "What are the names of all movies that were made after 2000 or reviewed by Brittany Harris?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "movies",
            "that",
            "were",
            "made",
            "after",
            "2000",
            "or",
            "reviewed",
            "by",
            "Brittany",
            "Harris",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Brittany Harris\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE director  =  \"James Cameron\" OR YEAR   <  1980",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "=",
            "``",
            "James",
            "Cameron",
            "''",
            "OR",
            "YEAR",
            "<",
            "1980"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "director",
            "=",
            "value",
            "or",
            "year",
            "<",
            "value"
        ],
        "question": "What are names of the movies that are either made before 1980 or directed by James Cameron?",
        "question_toks": [
            "What",
            "are",
            "names",
            "of",
            "the",
            "movies",
            "that",
            "are",
            "either",
            "made",
            "before",
            "1980",
            "or",
            "directed",
            "by",
            "James",
            "Cameron",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"James Cameron\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT title FROM Movie WHERE director  =  \"James Cameron\" OR YEAR   <  1980",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "Movie",
            "WHERE",
            "director",
            "=",
            "``",
            "James",
            "Cameron",
            "''",
            "OR",
            "YEAR",
            "<",
            "1980"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "director",
            "=",
            "value",
            "or",
            "year",
            "<",
            "value"
        ],
        "question": "What are the names of all movies made before 1980 or had James Cameron as the director?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "movies",
            "made",
            "before",
            "1980",
            "or",
            "had",
            "James",
            "Cameron",
            "as",
            "the",
            "director",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"James Cameron\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T1.stars  =  3 INTERSECT SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T1.stars  =  4",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T1.stars",
            "=",
            "3",
            "INTERSECT",
            "SELECT",
            "T2.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T1.stars",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t1",
            ".",
            "stars",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t1",
            ".",
            "stars",
            "=",
            "value"
        ],
        "question": "What are the names of reviewers who had rated 3 star and 4 star?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "reviewers",
            "who",
            "had",
            "rated",
            "3",
            "star",
            "and",
            "4",
            "star",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        4.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T1.stars  =  3 INTERSECT SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID  =  T2.rID WHERE T1.stars  =  4",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T1.stars",
            "=",
            "3",
            "INTERSECT",
            "SELECT",
            "T2.name",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Reviewer",
            "AS",
            "T2",
            "ON",
            "T1.rID",
            "=",
            "T2.rID",
            "WHERE",
            "T1.stars",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t1",
            ".",
            "stars",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "reviewer",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "rid",
            "=",
            "t2",
            ".",
            "rid",
            "where",
            "t1",
            ".",
            "stars",
            "=",
            "value"
        ],
        "question": "What are the names of all reviewers that have given 3 or 4 stars for reviews?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "reviewers",
            "that",
            "have",
            "given",
            "3",
            "or",
            "4",
            "stars",
            "for",
            "reviews",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        4.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T1.stars  =  3 INTERSECT SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T1.stars  =  4",
        "query_toks": [
            "SELECT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T1.stars",
            "=",
            "3",
            "INTERSECT",
            "SELECT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T1.stars",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "stars",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "stars",
            "=",
            "value"
        ],
        "question": "What are the names of movies that get 3 star and 4 star?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "movies",
            "that",
            "get",
            "3",
            "star",
            "and",
            "4",
            "star",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        4.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "movie_1",
        "query": "SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T1.stars  =  3 INTERSECT SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID  =  T2.mID WHERE T1.stars  =  4",
        "query_toks": [
            "SELECT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T1.stars",
            "=",
            "3",
            "INTERSECT",
            "SELECT",
            "T2.title",
            "FROM",
            "Rating",
            "AS",
            "T1",
            "JOIN",
            "Movie",
            "AS",
            "T2",
            "ON",
            "T1.mID",
            "=",
            "T2.mID",
            "WHERE",
            "T1.stars",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "stars",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "rating",
            "as",
            "t1",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "stars",
            "=",
            "value"
        ],
        "question": "What are the names of all movies that received 3 or 4 stars?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "movies",
            "that",
            "received",
            "3",
            "or",
            "4",
            "stars",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        4.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT count(*) FROM county_public_safety",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "county_public_safety"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "county_public_safety"
        ],
        "question": "How many counties are there?",
        "question_toks": [
            "How",
            "many",
            "counties",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT count(*) FROM county_public_safety",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "county_public_safety"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "county_public_safety"
        ],
        "question": "Count the number of countries.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "countries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM county_public_safety ORDER BY Population DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Population",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "county_public_safety",
            "order",
            "by",
            "population",
            "desc"
        ],
        "question": "List the names of counties in descending order of population.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "counties",
            "in",
            "descending",
            "order",
            "of",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM county_public_safety ORDER BY Population DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Population",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "county_public_safety",
            "order",
            "by",
            "population",
            "desc"
        ],
        "question": "What are the names of the counties of public safety, ordered by population descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "counties",
            "of",
            "public",
            "safety",
            ",",
            "ordered",
            "by",
            "population",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT DISTINCT Police_force FROM county_public_safety WHERE LOCATION != \"East\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Police_force",
            "FROM",
            "county_public_safety",
            "WHERE",
            "LOCATION",
            "!",
            "=",
            "``",
            "East",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "police_force",
            "from",
            "county_public_safety",
            "where",
            "location",
            "!",
            "=",
            "value"
        ],
        "question": "List the distinct police forces of counties whose location is not on east side.",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "police",
            "forces",
            "of",
            "counties",
            "whose",
            "location",
            "is",
            "not",
            "on",
            "east",
            "side",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"East\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT DISTINCT Police_force FROM county_public_safety WHERE LOCATION != \"East\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Police_force",
            "FROM",
            "county_public_safety",
            "WHERE",
            "LOCATION",
            "!",
            "=",
            "``",
            "East",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "police_force",
            "from",
            "county_public_safety",
            "where",
            "location",
            "!",
            "=",
            "value"
        ],
        "question": "What are the different police forces of counties that are not located in the East?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "police",
            "forces",
            "of",
            "counties",
            "that",
            "are",
            "not",
            "located",
            "in",
            "the",
            "East",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"East\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT min(Crime_rate) ,  max(Crime_rate) FROM county_public_safety",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "Crime_rate",
            ")",
            ",",
            "max",
            "(",
            "Crime_rate",
            ")",
            "FROM",
            "county_public_safety"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "crime_rate",
            ")",
            ",",
            "max",
            "(",
            "crime_rate",
            ")",
            "from",
            "county_public_safety"
        ],
        "question": "What are the minimum and maximum crime rate of counties?",
        "question_toks": [
            "What",
            "are",
            "the",
            "minimum",
            "and",
            "maximum",
            "crime",
            "rate",
            "of",
            "counties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT min(Crime_rate) ,  max(Crime_rate) FROM county_public_safety",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "Crime_rate",
            ")",
            ",",
            "max",
            "(",
            "Crime_rate",
            ")",
            "FROM",
            "county_public_safety"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "crime_rate",
            ")",
            ",",
            "max",
            "(",
            "crime_rate",
            ")",
            "from",
            "county_public_safety"
        ],
        "question": "Return the minimum and maximum crime rates across all counties.",
        "question_toks": [
            "Return",
            "the",
            "minimum",
            "and",
            "maximum",
            "crime",
            "rates",
            "across",
            "all",
            "counties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Crime_rate FROM county_public_safety ORDER BY Police_officers ASC",
        "query_toks": [
            "SELECT",
            "Crime_rate",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Police_officers",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "crime_rate",
            "from",
            "county_public_safety",
            "order",
            "by",
            "police_officers",
            "asc"
        ],
        "question": "Show the crime rates of counties in ascending order of number of police officers.",
        "question_toks": [
            "Show",
            "the",
            "crime",
            "rates",
            "of",
            "counties",
            "in",
            "ascending",
            "order",
            "of",
            "number",
            "of",
            "police",
            "officers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Crime_rate FROM county_public_safety ORDER BY Police_officers ASC",
        "query_toks": [
            "SELECT",
            "Crime_rate",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Police_officers",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "crime_rate",
            "from",
            "county_public_safety",
            "order",
            "by",
            "police_officers",
            "asc"
        ],
        "question": "What are the crime rates of counties sorted by number of offices ascending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "crime",
            "rates",
            "of",
            "counties",
            "sorted",
            "by",
            "number",
            "of",
            "offices",
            "ascending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM city ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "What are the names of cities in ascending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "cities",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM city ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "Return the names of cities, ordered alphabetically.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "cities",
            ",",
            "ordered",
            "alphabetically",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Hispanic FROM city WHERE Black  >  10",
        "query_toks": [
            "SELECT",
            "Hispanic",
            "FROM",
            "city",
            "WHERE",
            "Black",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "hispanic",
            "from",
            "city",
            "where",
            "black",
            ">",
            "value"
        ],
        "question": "What are the percentage of hispanics in cities with the black percentage higher than 10?",
        "question_toks": [
            "What",
            "are",
            "the",
            "percentage",
            "of",
            "hispanics",
            "in",
            "cities",
            "with",
            "the",
            "black",
            "percentage",
            "higher",
            "than",
            "10",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Hispanic FROM city WHERE Black  >  10",
        "query_toks": [
            "SELECT",
            "Hispanic",
            "FROM",
            "city",
            "WHERE",
            "Black",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "hispanic",
            "from",
            "city",
            "where",
            "black",
            ">",
            "value"
        ],
        "question": "Return the hispanic percentage for cities in which the black percentage is greater than 10.",
        "question_toks": [
            "Return",
            "the",
            "hispanic",
            "percentage",
            "for",
            "cities",
            "in",
            "which",
            "the",
            "black",
            "percentage",
            "is",
            "greater",
            "than",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM county_public_safety ORDER BY Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "county_public_safety",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the name of the county with the largest population.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "county",
            "with",
            "the",
            "largest",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM county_public_safety ORDER BY Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "county_public_safety",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the county with the greatest population?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "county",
            "with",
            "the",
            "greatest",
            "population",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM city ORDER BY White DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "White",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "order",
            "by",
            "white",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the names of the city with the top 5 white percentages.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "the",
            "city",
            "with",
            "the",
            "top",
            "5",
            "white",
            "percentages",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM city ORDER BY White DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "White",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "order",
            "by",
            "white",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the five cities with the greatest proportion of white people?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "five",
            "cities",
            "with",
            "the",
            "greatest",
            "proportion",
            "of",
            "white",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT T1.Name ,  T2.Name FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID  =  T2.County_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Name",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "county_public_safety",
            "AS",
            "T2",
            "ON",
            "T1.County_ID",
            "=",
            "T2.County_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "county_public_safety",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "county_id"
        ],
        "question": "Show names of cities and names of counties they are in.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "cities",
            "and",
            "names",
            "of",
            "counties",
            "they",
            "are",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT T1.Name ,  T2.Name FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID  =  T2.County_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Name",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "county_public_safety",
            "AS",
            "T2",
            "ON",
            "T1.County_ID",
            "=",
            "T2.County_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "county_public_safety",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "county_id"
        ],
        "question": "What are the names of cities, as well as the names of the counties they correspond to?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "cities",
            ",",
            "as",
            "well",
            "as",
            "the",
            "names",
            "of",
            "the",
            "counties",
            "they",
            "correspond",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT T1.White ,  T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID  =  T2.County_ID",
        "query_toks": [
            "SELECT",
            "T1.White",
            ",",
            "T2.Crime_rate",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "county_public_safety",
            "AS",
            "T2",
            "ON",
            "T1.County_ID",
            "=",
            "T2.County_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "white",
            ",",
            "t2",
            ".",
            "crime_rate",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "county_public_safety",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "county_id"
        ],
        "question": "Show white percentages of cities and the crime rates of counties they are in.",
        "question_toks": [
            "Show",
            "white",
            "percentages",
            "of",
            "cities",
            "and",
            "the",
            "crime",
            "rates",
            "of",
            "counties",
            "they",
            "are",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT T1.White ,  T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID  =  T2.County_ID",
        "query_toks": [
            "SELECT",
            "T1.White",
            ",",
            "T2.Crime_rate",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "county_public_safety",
            "AS",
            "T2",
            "ON",
            "T1.County_ID",
            "=",
            "T2.County_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "white",
            ",",
            "t2",
            ".",
            "crime_rate",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "county_public_safety",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "county_id"
        ],
        "question": "What are the white percentages of cities, and the corresponding crime rates of the counties they correspond to?",
        "question_toks": [
            "What",
            "are",
            "the",
            "white",
            "percentages",
            "of",
            "cities",
            ",",
            "and",
            "the",
            "corresponding",
            "crime",
            "rates",
            "of",
            "the",
            "counties",
            "they",
            "correspond",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT name FROM city WHERE county_ID  =  (SELECT county_ID FROM county_public_safety ORDER BY Police_officers DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "city",
            "WHERE",
            "county_ID",
            "=",
            "(",
            "SELECT",
            "county_ID",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Police_officers",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "where",
            "county_id",
            "=",
            "(",
            "select",
            "county_id",
            "from",
            "county_public_safety",
            "order",
            "by",
            "police_officers",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Show the name of cities in the county that has the largest number of police officers.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "cities",
            "in",
            "the",
            "county",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "police",
            "officers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT name FROM city WHERE county_ID  =  (SELECT county_ID FROM county_public_safety ORDER BY Police_officers DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "city",
            "WHERE",
            "county_ID",
            "=",
            "(",
            "SELECT",
            "county_ID",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Police_officers",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "where",
            "county_id",
            "=",
            "(",
            "select",
            "county_id",
            "from",
            "county_public_safety",
            "order",
            "by",
            "police_officers",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the names of cities that are in the county with the most police officers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "cities",
            "that",
            "are",
            "in",
            "the",
            "county",
            "with",
            "the",
            "most",
            "police",
            "officers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT count(*) FROM city WHERE county_ID IN (SELECT county_ID FROM county_public_safety WHERE population  >  20000)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "city",
            "WHERE",
            "county_ID",
            "IN",
            "(",
            "SELECT",
            "county_ID",
            "FROM",
            "county_public_safety",
            "WHERE",
            "population",
            ">",
            "20000",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "city",
            "where",
            "county_id",
            "in",
            "(",
            "select",
            "county_id",
            "from",
            "county_public_safety",
            "where",
            "population",
            ">",
            "value",
            ")"
        ],
        "question": "Show the number of cities in counties that have a population more than 20000.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "cities",
            "in",
            "counties",
            "that",
            "have",
            "a",
            "population",
            "more",
            "than",
            "20000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                20000.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT count(*) FROM city WHERE county_ID IN (SELECT county_ID FROM county_public_safety WHERE population  >  20000)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "city",
            "WHERE",
            "county_ID",
            "IN",
            "(",
            "SELECT",
            "county_ID",
            "FROM",
            "county_public_safety",
            "WHERE",
            "population",
            ">",
            "20000",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "city",
            "where",
            "county_id",
            "in",
            "(",
            "select",
            "county_id",
            "from",
            "county_public_safety",
            "where",
            "population",
            ">",
            "value",
            ")"
        ],
        "question": "How many cities are in counties that have populations of over 20000?",
        "question_toks": [
            "How",
            "many",
            "cities",
            "are",
            "in",
            "counties",
            "that",
            "have",
            "populations",
            "of",
            "over",
            "20000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                20000.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID  =  T2.County_ID WHERE T1.White  >  90",
        "query_toks": [
            "SELECT",
            "T2.Crime_rate",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "county_public_safety",
            "AS",
            "T2",
            "ON",
            "T1.County_ID",
            "=",
            "T2.County_ID",
            "WHERE",
            "T1.White",
            ">",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "crime_rate",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "county_public_safety",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "county_id",
            "where",
            "t1",
            ".",
            "white",
            ">",
            "value"
        ],
        "question": "Show the crime rate of counties with a city having white percentage more than 90.",
        "question_toks": [
            "Show",
            "the",
            "crime",
            "rate",
            "of",
            "counties",
            "with",
            "a",
            "city",
            "having",
            "white",
            "percentage",
            "more",
            "than",
            "90",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID  =  T2.County_ID WHERE T1.White  >  90",
        "query_toks": [
            "SELECT",
            "T2.Crime_rate",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "county_public_safety",
            "AS",
            "T2",
            "ON",
            "T1.County_ID",
            "=",
            "T2.County_ID",
            "WHERE",
            "T1.White",
            ">",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "crime_rate",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "county_public_safety",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "county_id",
            "where",
            "t1",
            ".",
            "white",
            ">",
            "value"
        ],
        "question": "What are the crime rates of counties that contain cities that have white percentages of over 90?",
        "question_toks": [
            "What",
            "are",
            "the",
            "crime",
            "rates",
            "of",
            "counties",
            "that",
            "contain",
            "cities",
            "that",
            "have",
            "white",
            "percentages",
            "of",
            "over",
            "90",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Police_force ,  COUNT(*) FROM county_public_safety GROUP BY Police_force",
        "query_toks": [
            "SELECT",
            "Police_force",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "county_public_safety",
            "GROUP",
            "BY",
            "Police_force"
        ],
        "query_toks_no_value": [
            "select",
            "police_force",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "county_public_safety",
            "group",
            "by",
            "police_force"
        ],
        "question": "Please show the police forces and the number of counties with each police force.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "police",
            "forces",
            "and",
            "the",
            "number",
            "of",
            "counties",
            "with",
            "each",
            "police",
            "force",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Police_force ,  COUNT(*) FROM county_public_safety GROUP BY Police_force",
        "query_toks": [
            "SELECT",
            "Police_force",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "county_public_safety",
            "GROUP",
            "BY",
            "Police_force"
        ],
        "query_toks_no_value": [
            "select",
            "police_force",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "county_public_safety",
            "group",
            "by",
            "police_force"
        ],
        "question": "How many counties correspond to each police force?",
        "question_toks": [
            "How",
            "many",
            "counties",
            "correspond",
            "to",
            "each",
            "police",
            "force",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT LOCATION FROM county_public_safety GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "county_public_safety",
            "GROUP",
            "BY",
            "LOCATION",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "county_public_safety",
            "group",
            "by",
            "location",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the location shared by most counties?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "shared",
            "by",
            "most",
            "counties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT LOCATION FROM county_public_safety GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "county_public_safety",
            "GROUP",
            "BY",
            "LOCATION",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "county_public_safety",
            "group",
            "by",
            "location",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which location has the most corresponding counties?",
        "question_toks": [
            "Which",
            "location",
            "has",
            "the",
            "most",
            "corresponding",
            "counties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM county_public_safety WHERE County_ID NOT IN (SELECT County_ID FROM city)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "county_public_safety",
            "WHERE",
            "County_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "County_ID",
            "FROM",
            "city",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "county_public_safety",
            "where",
            "county_id",
            "not",
            "in",
            "(",
            "select",
            "county_id",
            "from",
            "city",
            ")"
        ],
        "question": "List the names of counties that do not have any cities.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "counties",
            "that",
            "do",
            "not",
            "have",
            "any",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Name FROM county_public_safety WHERE County_ID NOT IN (SELECT County_ID FROM city)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "county_public_safety",
            "WHERE",
            "County_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "County_ID",
            "FROM",
            "city",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "county_public_safety",
            "where",
            "county_id",
            "not",
            "in",
            "(",
            "select",
            "county_id",
            "from",
            "city",
            ")"
        ],
        "question": "What are the names of counties that do not contain any cities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "counties",
            "that",
            "do",
            "not",
            "contain",
            "any",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Police_force FROM county_public_safety WHERE LOCATION  =  \"East\" INTERSECT SELECT Police_force FROM county_public_safety WHERE LOCATION  =  \"West\"",
        "query_toks": [
            "SELECT",
            "Police_force",
            "FROM",
            "county_public_safety",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "East",
            "''",
            "INTERSECT",
            "SELECT",
            "Police_force",
            "FROM",
            "county_public_safety",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "West",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "police_force",
            "from",
            "county_public_safety",
            "where",
            "location",
            "=",
            "value",
            "intersect",
            "select",
            "police_force",
            "from",
            "county_public_safety",
            "where",
            "location",
            "=",
            "value"
        ],
        "question": "Show the police force shared by counties with location on the east and west.",
        "question_toks": [
            "Show",
            "the",
            "police",
            "force",
            "shared",
            "by",
            "counties",
            "with",
            "location",
            "on",
            "the",
            "east",
            "and",
            "west",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"East\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"West\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Police_force FROM county_public_safety WHERE LOCATION  =  \"East\" INTERSECT SELECT Police_force FROM county_public_safety WHERE LOCATION  =  \"West\"",
        "query_toks": [
            "SELECT",
            "Police_force",
            "FROM",
            "county_public_safety",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "East",
            "''",
            "INTERSECT",
            "SELECT",
            "Police_force",
            "FROM",
            "county_public_safety",
            "WHERE",
            "LOCATION",
            "=",
            "``",
            "West",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "police_force",
            "from",
            "county_public_safety",
            "where",
            "location",
            "=",
            "value",
            "intersect",
            "select",
            "police_force",
            "from",
            "county_public_safety",
            "where",
            "location",
            "=",
            "value"
        ],
        "question": "Which police forces operate in both counties that are located in the East and in the West?",
        "question_toks": [
            "Which",
            "police",
            "forces",
            "operate",
            "in",
            "both",
            "counties",
            "that",
            "are",
            "located",
            "in",
            "the",
            "East",
            "and",
            "in",
            "the",
            "West",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"East\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"West\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT name FROM city WHERE county_id IN (SELECT county_id FROM county_public_safety WHERE Crime_rate  <  100)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "city",
            "WHERE",
            "county_id",
            "IN",
            "(",
            "SELECT",
            "county_id",
            "FROM",
            "county_public_safety",
            "WHERE",
            "Crime_rate",
            "<",
            "100",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "where",
            "county_id",
            "in",
            "(",
            "select",
            "county_id",
            "from",
            "county_public_safety",
            "where",
            "crime_rate",
            "<",
            "value",
            ")"
        ],
        "question": "Show the names of cities in counties that have a crime rate less than 100.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "cities",
            "in",
            "counties",
            "that",
            "have",
            "a",
            "crime",
            "rate",
            "less",
            "than",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                4,
                                [
                                    0,
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ],
                                100.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT name FROM city WHERE county_id IN (SELECT county_id FROM county_public_safety WHERE Crime_rate  <  100)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "city",
            "WHERE",
            "county_id",
            "IN",
            "(",
            "SELECT",
            "county_id",
            "FROM",
            "county_public_safety",
            "WHERE",
            "Crime_rate",
            "<",
            "100",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "city",
            "where",
            "county_id",
            "in",
            "(",
            "select",
            "county_id",
            "from",
            "county_public_safety",
            "where",
            "crime_rate",
            "<",
            "value",
            ")"
        ],
        "question": "What are the names of cities that are in counties that have a crime rate below 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "cities",
            "that",
            "are",
            "in",
            "counties",
            "that",
            "have",
            "a",
            "crime",
            "rate",
            "below",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                4,
                                [
                                    0,
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ],
                                100.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Case_burden FROM county_public_safety ORDER BY Population DESC",
        "query_toks": [
            "SELECT",
            "Case_burden",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Population",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "case_burden",
            "from",
            "county_public_safety",
            "order",
            "by",
            "population",
            "desc"
        ],
        "question": "Show the case burden of counties in descending order of population.",
        "question_toks": [
            "Show",
            "the",
            "case",
            "burden",
            "of",
            "counties",
            "in",
            "descending",
            "order",
            "of",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "county_public_safety",
        "query": "SELECT Case_burden FROM county_public_safety ORDER BY Population DESC",
        "query_toks": [
            "SELECT",
            "Case_burden",
            "FROM",
            "county_public_safety",
            "ORDER",
            "BY",
            "Population",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "case_burden",
            "from",
            "county_public_safety",
            "order",
            "by",
            "population",
            "desc"
        ],
        "question": "What are the case burdens of counties, ordered descending by population?",
        "question_toks": [
            "What",
            "are",
            "the",
            "case",
            "burdens",
            "of",
            "counties",
            ",",
            "ordered",
            "descending",
            "by",
            "population",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms WHERE basePrice  <  160 AND beds =  2 AND decor  =  'modern';",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "WHERE",
            "basePrice",
            "<",
            "160",
            "AND",
            "beds",
            "=",
            "2",
            "AND",
            "decor",
            "=",
            "'modern",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "where",
            "baseprice",
            "<",
            "value",
            "and",
            "beds",
            "=",
            "value",
            "and",
            "decor",
            "=",
            "value"
        ],
        "question": "Find the names of all modern rooms with a base price below $160 and two beds.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "modern",
            "rooms",
            "with",
            "a",
            "base",
            "price",
            "below",
            "$",
            "160",
            "and",
            "two",
            "beds",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    160.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"modern\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms WHERE basePrice  <  160 AND beds =  2 AND decor  =  'modern';",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "WHERE",
            "basePrice",
            "<",
            "160",
            "AND",
            "beds",
            "=",
            "2",
            "AND",
            "decor",
            "=",
            "'modern",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "where",
            "baseprice",
            "<",
            "value",
            "and",
            "beds",
            "=",
            "value",
            "and",
            "decor",
            "=",
            "value"
        ],
        "question": "What are the names of modern rooms that have a base price lower than $160 and two beds.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "modern",
            "rooms",
            "that",
            "have",
            "a",
            "base",
            "price",
            "lower",
            "than",
            "$",
            "160",
            "and",
            "two",
            "beds",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    160.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"modern\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName ,  RoomId FROM Rooms WHERE basePrice  >  160 AND maxOccupancy  >  2;",
        "query_toks": [
            "SELECT",
            "roomName",
            ",",
            "RoomId",
            "FROM",
            "Rooms",
            "WHERE",
            "basePrice",
            ">",
            "160",
            "AND",
            "maxOccupancy",
            ">",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            ",",
            "roomid",
            "from",
            "rooms",
            "where",
            "baseprice",
            ">",
            "value",
            "and",
            "maxoccupancy",
            ">",
            "value"
        ],
        "question": "Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "rooms",
            "that",
            "have",
            "a",
            "price",
            "higher",
            "than",
            "160",
            "and",
            "can",
            "accommodate",
            "more",
            "than",
            "2",
            "people",
            ".",
            "Report",
            "room",
            "names",
            "and",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    160.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName ,  RoomId FROM Rooms WHERE basePrice  >  160 AND maxOccupancy  >  2;",
        "query_toks": [
            "SELECT",
            "roomName",
            ",",
            "RoomId",
            "FROM",
            "Rooms",
            "WHERE",
            "basePrice",
            ">",
            "160",
            "AND",
            "maxOccupancy",
            ">",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            ",",
            "roomid",
            "from",
            "rooms",
            "where",
            "baseprice",
            ">",
            "value",
            "and",
            "maxoccupancy",
            ">",
            "value"
        ],
        "question": "What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.",
        "question_toks": [
            "What",
            "are",
            "the",
            "room",
            "names",
            "and",
            "ids",
            "of",
            "all",
            "the",
            "rooms",
            "that",
            "cost",
            "more",
            "than",
            "160",
            "and",
            "can",
            "accommodate",
            "more",
            "than",
            "two",
            "people",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    160.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T1.Room ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T1.Room",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t1",
            ".",
            "room",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations.",
        "question_toks": [
            "Find",
            "the",
            "most",
            "popular",
            "room",
            "in",
            "the",
            "hotel",
            ".",
            "The",
            "most",
            "popular",
            "room",
            "is",
            "the",
            "room",
            "that",
            "had",
            "seen",
            "the",
            "largest",
            "number",
            "of",
            "reservations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T1.Room ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T1.Room",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t1",
            ".",
            "room",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which room has the largest number of reservations?",
        "question_toks": [
            "Which",
            "room",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "reservations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT kids FROM Reservations WHERE FirstName = \"ROY\" AND LastName  =  \"SWEAZY\";",
        "query_toks": [
            "SELECT",
            "kids",
            "FROM",
            "Reservations",
            "WHERE",
            "FirstName",
            "=",
            "``",
            "ROY",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "SWEAZY",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "kids",
            "from",
            "reservations",
            "where",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many kids stay in the rooms reserved by ROY SWEAZY?",
        "question_toks": [
            "How",
            "many",
            "kids",
            "stay",
            "in",
            "the",
            "rooms",
            "reserved",
            "by",
            "ROY",
            "SWEAZY",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"ROY\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"SWEAZY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT kids FROM Reservations WHERE FirstName = \"ROY\" AND LastName  =  \"SWEAZY\";",
        "query_toks": [
            "SELECT",
            "kids",
            "FROM",
            "Reservations",
            "WHERE",
            "FirstName",
            "=",
            "``",
            "ROY",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "SWEAZY",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "kids",
            "from",
            "reservations",
            "where",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the number of kids staying in the rooms reserved by a person called ROY SWEAZ.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "kids",
            "staying",
            "in",
            "the",
            "rooms",
            "reserved",
            "by",
            "a",
            "person",
            "called",
            "ROY",
            "SWEAZ",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"ROY\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"SWEAZY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM Reservations WHERE FirstName = \"ROY\" AND LastName  =  \"SWEAZY\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Reservations",
            "WHERE",
            "FirstName",
            "=",
            "``",
            "ROY",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "SWEAZY",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "reservations",
            "where",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many times does ROY SWEAZY has reserved a room.",
        "question_toks": [
            "How",
            "many",
            "times",
            "does",
            "ROY",
            "SWEAZY",
            "has",
            "reserved",
            "a",
            "room",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"ROY\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"SWEAZY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM Reservations WHERE FirstName = \"ROY\" AND LastName  =  \"SWEAZY\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Reservations",
            "WHERE",
            "FirstName",
            "=",
            "``",
            "ROY",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "SWEAZY",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "reservations",
            "where",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the number of times ROY SWEAZY has reserved a room.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "times",
            "ROY",
            "SWEAZY",
            "has",
            "reserved",
            "a",
            "room",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"ROY\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"SWEAZY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName ,  T1.Rate ,  T1.CheckIn ,  T1.CheckOut FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T1.Room ORDER BY T1.Rate DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            ",",
            "T1.Rate",
            ",",
            "T1.CheckIn",
            ",",
            "T1.CheckOut",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T1.Room",
            "ORDER",
            "BY",
            "T1.Rate",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            ",",
            "t1",
            ".",
            "rate",
            ",",
            "t1",
            ".",
            "checkin",
            ",",
            "t1",
            ".",
            "checkout",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t1",
            ".",
            "room",
            "order",
            "by",
            "t1",
            ".",
            "rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which room has the highest rate? List the room's full name, rate, check in and check out date.",
        "question_toks": [
            "Which",
            "room",
            "has",
            "the",
            "highest",
            "rate",
            "?",
            "List",
            "the",
            "room",
            "'s",
            "full",
            "name",
            ",",
            "rate",
            ",",
            "check",
            "in",
            "and",
            "check",
            "out",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName ,  T1.Rate ,  T1.CheckIn ,  T1.CheckOut FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T1.Room ORDER BY T1.Rate DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            ",",
            "T1.Rate",
            ",",
            "T1.CheckIn",
            ",",
            "T1.CheckOut",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T1.Room",
            "ORDER",
            "BY",
            "T1.Rate",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            ",",
            "t1",
            ".",
            "rate",
            ",",
            "t1",
            ".",
            "checkin",
            ",",
            "t1",
            ".",
            "checkout",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t1",
            ".",
            "room",
            "order",
            "by",
            "t1",
            ".",
            "rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name, rate, check in and check out date for the room with the highest rate.",
        "question_toks": [
            "Return",
            "the",
            "name",
            ",",
            "rate",
            ",",
            "check",
            "in",
            "and",
            "check",
            "out",
            "date",
            "for",
            "the",
            "room",
            "with",
            "the",
            "highest",
            "rate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT Adults FROM Reservations WHERE CheckIn  =  \"2010-10-23\" AND FirstName  =  \"CONRAD\" AND LastName  =  \"SELBIG\";",
        "query_toks": [
            "SELECT",
            "Adults",
            "FROM",
            "Reservations",
            "WHERE",
            "CheckIn",
            "=",
            "``",
            "2010-10-23",
            "''",
            "AND",
            "FirstName",
            "=",
            "``",
            "CONRAD",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "SELBIG",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "adults",
            "from",
            "reservations",
            "where",
            "checkin",
            "=",
            "value",
            "and",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many adults stay in the room CONRAD SELBIG checked in on Oct 23, 2010?",
        "question_toks": [
            "How",
            "many",
            "adults",
            "stay",
            "in",
            "the",
            "room",
            "CONRAD",
            "SELBIG",
            "checked",
            "in",
            "on",
            "Oct",
            "23",
            ",",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"2010-10-23\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"CONRAD\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"SELBIG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT Adults FROM Reservations WHERE CheckIn  =  \"2010-10-23\" AND FirstName  =  \"CONRAD\" AND LastName  =  \"SELBIG\";",
        "query_toks": [
            "SELECT",
            "Adults",
            "FROM",
            "Reservations",
            "WHERE",
            "CheckIn",
            "=",
            "``",
            "2010-10-23",
            "''",
            "AND",
            "FirstName",
            "=",
            "``",
            "CONRAD",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "SELBIG",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "adults",
            "from",
            "reservations",
            "where",
            "checkin",
            "=",
            "value",
            "and",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the number of adults for the room reserved and checked in by CONRAD SELBIG on Oct 23, 2010.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "adults",
            "for",
            "the",
            "room",
            "reserved",
            "and",
            "checked",
            "in",
            "by",
            "CONRAD",
            "SELBIG",
            "on",
            "Oct",
            "23",
            ",",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"2010-10-23\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"CONRAD\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"SELBIG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT Kids FROM Reservations WHERE CheckIn  =  \"2010-09-21\" AND FirstName  =  \"DAMIEN\" AND LastName  =  \"TRACHSEL\";",
        "query_toks": [
            "SELECT",
            "Kids",
            "FROM",
            "Reservations",
            "WHERE",
            "CheckIn",
            "=",
            "``",
            "2010-09-21",
            "''",
            "AND",
            "FirstName",
            "=",
            "``",
            "DAMIEN",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "TRACHSEL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "kids",
            "from",
            "reservations",
            "where",
            "checkin",
            "=",
            "value",
            "and",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010?",
        "question_toks": [
            "How",
            "many",
            "kids",
            "stay",
            "in",
            "the",
            "room",
            "DAMIEN",
            "TRACHSEL",
            "checked",
            "in",
            "on",
            "Sep",
            "21",
            ",",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"2010-09-21\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"DAMIEN\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"TRACHSEL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT Kids FROM Reservations WHERE CheckIn  =  \"2010-09-21\" AND FirstName  =  \"DAMIEN\" AND LastName  =  \"TRACHSEL\";",
        "query_toks": [
            "SELECT",
            "Kids",
            "FROM",
            "Reservations",
            "WHERE",
            "CheckIn",
            "=",
            "``",
            "2010-09-21",
            "''",
            "AND",
            "FirstName",
            "=",
            "``",
            "DAMIEN",
            "''",
            "AND",
            "LastName",
            "=",
            "``",
            "TRACHSEL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "kids",
            "from",
            "reservations",
            "where",
            "checkin",
            "=",
            "value",
            "and",
            "firstname",
            "=",
            "value",
            "and",
            "lastname",
            "=",
            "value"
        ],
        "question": "Return the number of kids for the room reserved and checked in by DAMIEN TRACHSEL on  Sep 21, 2010.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "kids",
            "for",
            "the",
            "room",
            "reserved",
            "and",
            "checked",
            "in",
            "by",
            "DAMIEN",
            "TRACHSEL",
            "on",
            "Sep",
            "21",
            ",",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"2010-09-21\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"DAMIEN\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"TRACHSEL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT sum(beds) FROM Rooms WHERE bedtype  =  'King';",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "beds",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "bedtype",
            "=",
            "'King",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "beds",
            ")",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value"
        ],
        "question": "How many king beds are there?",
        "question_toks": [
            "How",
            "many",
            "king",
            "beds",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT sum(beds) FROM Rooms WHERE bedtype  =  'King';",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "beds",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "bedtype",
            "=",
            "'King",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "beds",
            ")",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value"
        ],
        "question": "Find the total number of king beds available.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "king",
            "beds",
            "available",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName ,  decor FROM Rooms WHERE bedtype  =  'King' ORDER BY basePrice;",
        "query_toks": [
            "SELECT",
            "roomName",
            ",",
            "decor",
            "FROM",
            "Rooms",
            "WHERE",
            "bedtype",
            "=",
            "'King",
            "'",
            "ORDER",
            "BY",
            "basePrice",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            ",",
            "decor",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value",
            "order",
            "by",
            "baseprice"
        ],
        "question": "List the names and decor of rooms that have a king bed. Sort the list by their price.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "decor",
            "of",
            "rooms",
            "that",
            "have",
            "a",
            "king",
            "bed",
            ".",
            "Sort",
            "the",
            "list",
            "by",
            "their",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName ,  decor FROM Rooms WHERE bedtype  =  'King' ORDER BY basePrice;",
        "query_toks": [
            "SELECT",
            "roomName",
            ",",
            "decor",
            "FROM",
            "Rooms",
            "WHERE",
            "bedtype",
            "=",
            "'King",
            "'",
            "ORDER",
            "BY",
            "basePrice",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            ",",
            "decor",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value",
            "order",
            "by",
            "baseprice"
        ],
        "question": "What are the names and decor of rooms with a king bed? Sort them by their price",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "decor",
            "of",
            "rooms",
            "with",
            "a",
            "king",
            "bed",
            "?",
            "Sort",
            "them",
            "by",
            "their",
            "price"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName ,  basePrice FROM Rooms ORDER BY basePrice ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "roomName",
            ",",
            "basePrice",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "basePrice",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            ",",
            "baseprice",
            "from",
            "rooms",
            "order",
            "by",
            "baseprice",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which room has cheapest base price? List the room's name and the base price.",
        "question_toks": [
            "Which",
            "room",
            "has",
            "cheapest",
            "base",
            "price",
            "?",
            "List",
            "the",
            "room",
            "'s",
            "name",
            "and",
            "the",
            "base",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName ,  basePrice FROM Rooms ORDER BY basePrice ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "roomName",
            ",",
            "basePrice",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "basePrice",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            ",",
            "baseprice",
            "from",
            "rooms",
            "order",
            "by",
            "baseprice",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the room name and base price of the room with the lowest base price?",
        "question_toks": [
            "What",
            "are",
            "the",
            "room",
            "name",
            "and",
            "base",
            "price",
            "of",
            "the",
            "room",
            "with",
            "the",
            "lowest",
            "base",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT decor FROM Rooms WHERE roomName  =  \"Recluse and defiance\";",
        "query_toks": [
            "SELECT",
            "decor",
            "FROM",
            "Rooms",
            "WHERE",
            "roomName",
            "=",
            "``",
            "Recluse",
            "and",
            "defiance",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "decor",
            "from",
            "rooms",
            "where",
            "roomname",
            "=",
            "value"
        ],
        "question": "What is the decor of room Recluse and defiance?",
        "question_toks": [
            "What",
            "is",
            "the",
            "decor",
            "of",
            "room",
            "Recluse",
            "and",
            "defiance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Recluse and defiance\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT decor FROM Rooms WHERE roomName  =  \"Recluse and defiance\";",
        "query_toks": [
            "SELECT",
            "decor",
            "FROM",
            "Rooms",
            "WHERE",
            "roomName",
            "=",
            "``",
            "Recluse",
            "and",
            "defiance",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "decor",
            "from",
            "rooms",
            "where",
            "roomname",
            "=",
            "value"
        ],
        "question": "Return the decor of the room named \"Recluse and defiance\".",
        "question_toks": [
            "Return",
            "the",
            "decor",
            "of",
            "the",
            "room",
            "named",
            "``",
            "Recluse",
            "and",
            "defiance",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Recluse and defiance\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT bedType ,  avg(basePrice) FROM Rooms GROUP BY bedType;",
        "query_toks": [
            "SELECT",
            "bedType",
            ",",
            "avg",
            "(",
            "basePrice",
            ")",
            "FROM",
            "Rooms",
            "GROUP",
            "BY",
            "bedType",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "bedtype",
            ",",
            "avg",
            "(",
            "baseprice",
            ")",
            "from",
            "rooms",
            "group",
            "by",
            "bedtype"
        ],
        "question": "What is the average base price of different bed type? List bed type and average base price.",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "base",
            "price",
            "of",
            "different",
            "bed",
            "type",
            "?",
            "List",
            "bed",
            "type",
            "and",
            "average",
            "base",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT bedType ,  avg(basePrice) FROM Rooms GROUP BY bedType;",
        "query_toks": [
            "SELECT",
            "bedType",
            ",",
            "avg",
            "(",
            "basePrice",
            ")",
            "FROM",
            "Rooms",
            "GROUP",
            "BY",
            "bedType",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "bedtype",
            ",",
            "avg",
            "(",
            "baseprice",
            ")",
            "from",
            "rooms",
            "group",
            "by",
            "bedtype"
        ],
        "question": "For each bed type, find the average base price of different bed type.",
        "question_toks": [
            "For",
            "each",
            "bed",
            "type",
            ",",
            "find",
            "the",
            "average",
            "base",
            "price",
            "of",
            "different",
            "bed",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT sum(maxOccupancy) FROM Rooms WHERE decor  =  'modern';",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "maxOccupancy",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "decor",
            "=",
            "'modern",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "maxoccupancy",
            ")",
            "from",
            "rooms",
            "where",
            "decor",
            "=",
            "value"
        ],
        "question": "What is the total number of people who could stay in the modern rooms in this inn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "people",
            "who",
            "could",
            "stay",
            "in",
            "the",
            "modern",
            "rooms",
            "in",
            "this",
            "inn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"modern\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT sum(maxOccupancy) FROM Rooms WHERE decor  =  'modern';",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "maxOccupancy",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "decor",
            "=",
            "'modern",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "maxoccupancy",
            ")",
            "from",
            "rooms",
            "where",
            "decor",
            "=",
            "value"
        ],
        "question": "How many people in total can stay in the modern rooms of this inn?",
        "question_toks": [
            "How",
            "many",
            "people",
            "in",
            "total",
            "can",
            "stay",
            "in",
            "the",
            "modern",
            "rooms",
            "of",
            "this",
            "inn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"modern\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.decor FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T2.decor ORDER BY count(T2.decor) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.decor",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T2.decor",
            "ORDER",
            "BY",
            "count",
            "(",
            "T2.decor",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "decor",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t2",
            ".",
            "decor",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "decor",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What kind of decor has the least number of reservations?",
        "question_toks": [
            "What",
            "kind",
            "of",
            "decor",
            "has",
            "the",
            "least",
            "number",
            "of",
            "reservations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.decor FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T2.decor ORDER BY count(T2.decor) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.decor",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T2.decor",
            "ORDER",
            "BY",
            "count",
            "(",
            "T2.decor",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "decor",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t2",
            ".",
            "decor",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "decor",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the least popular kind of decor?",
        "question_toks": [
            "What",
            "is",
            "the",
            "least",
            "popular",
            "kind",
            "of",
            "decor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId WHERE T2.maxOccupancy  =  T1.Adults + T1.Kids;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "WHERE",
            "T2.maxOccupancy",
            "=",
            "T1.Adults",
            "+",
            "T1.Kids",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "where",
            "t2",
            ".",
            "maxoccupancy",
            "=",
            "t1",
            ".",
            "adults",
            "+",
            "t1",
            ".",
            "kids"
        ],
        "question": "List how many times the number of people in the room reached the maximum occupancy of the room. The number of people include adults and kids.",
        "question_toks": [
            "List",
            "how",
            "many",
            "times",
            "the",
            "number",
            "of",
            "people",
            "in",
            "the",
            "room",
            "reached",
            "the",
            "maximum",
            "occupancy",
            "of",
            "the",
            "room",
            ".",
            "The",
            "number",
            "of",
            "people",
            "include",
            "adults",
            "and",
            "kids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        15,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId WHERE T2.maxOccupancy  =  T1.Adults + T1.Kids;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "WHERE",
            "T2.maxOccupancy",
            "=",
            "T1.Adults",
            "+",
            "T1.Kids",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "where",
            "t2",
            ".",
            "maxoccupancy",
            "=",
            "t1",
            ".",
            "adults",
            "+",
            "t1",
            ".",
            "kids"
        ],
        "question": "How many times the number of adults and kids staying in a room reached the maximum capacity of the room?",
        "question_toks": [
            "How",
            "many",
            "times",
            "the",
            "number",
            "of",
            "adults",
            "and",
            "kids",
            "staying",
            "in",
            "a",
            "room",
            "reached",
            "the",
            "maximum",
            "capacity",
            "of",
            "the",
            "room",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        15,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T1.firstname ,  T1.lastname FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId WHERE T1.Rate - T2.basePrice  >  0",
        "query_toks": [
            "SELECT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "WHERE",
            "T1.Rate",
            "-",
            "T2.basePrice",
            ">",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "where",
            "t1",
            ".",
            "rate",
            "-",
            "t2",
            ".",
            "baseprice",
            ">",
            "value"
        ],
        "question": "Find the first and last names of people who payed more than the rooms' base prices.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "people",
            "who",
            "payed",
            "more",
            "than",
            "the",
            "rooms",
            "'",
            "base",
            "prices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        1,
                        [
                            0,
                            12,
                            false
                        ],
                        [
                            0,
                            6,
                            false
                        ]
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T1.firstname ,  T1.lastname FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId WHERE T1.Rate - T2.basePrice  >  0",
        "query_toks": [
            "SELECT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "WHERE",
            "T1.Rate",
            "-",
            "T2.basePrice",
            ">",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "where",
            "t1",
            ".",
            "rate",
            "-",
            "t2",
            ".",
            "baseprice",
            ">",
            "value"
        ],
        "question": "What are the first and last names of people who payed more than the rooms' base prices?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "people",
            "who",
            "payed",
            "more",
            "than",
            "the",
            "rooms",
            "'",
            "base",
            "prices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        1,
                        [
                            0,
                            12,
                            false
                        ],
                        [
                            0,
                            6,
                            false
                        ]
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM Rooms;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms"
        ],
        "question": "How many rooms are there?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM Rooms;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms"
        ],
        "question": "What is the total number of rooms available in this inn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "rooms",
            "available",
            "in",
            "this",
            "inn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM Rooms WHERE bedType  =  \"King\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "bedType",
            "=",
            "``",
            "King",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value"
        ],
        "question": "Find the number of rooms with a king bed.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "rooms",
            "with",
            "a",
            "king",
            "bed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM Rooms WHERE bedType  =  \"King\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "bedType",
            "=",
            "``",
            "King",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value"
        ],
        "question": "How many rooms have a king bed?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "have",
            "a",
            "king",
            "bed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT bedType ,  count(*) FROM Rooms GROUP BY bedType;",
        "query_toks": [
            "SELECT",
            "bedType",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            "GROUP",
            "BY",
            "bedType",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "bedtype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "group",
            "by",
            "bedtype"
        ],
        "question": "Find the number of rooms for each bed type.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "rooms",
            "for",
            "each",
            "bed",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT bedType ,  count(*) FROM Rooms GROUP BY bedType;",
        "query_toks": [
            "SELECT",
            "bedType",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            "GROUP",
            "BY",
            "bedType",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "bedtype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "group",
            "by",
            "bedtype"
        ],
        "question": "What are the number of rooms for each bed type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "number",
            "of",
            "rooms",
            "for",
            "each",
            "bed",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms ORDER BY maxOccupancy DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "maxOccupancy",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "order",
            "by",
            "maxoccupancy",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the room with the maximum occupancy.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "room",
            "with",
            "the",
            "maximum",
            "occupancy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms ORDER BY maxOccupancy DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "maxOccupancy",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "order",
            "by",
            "maxoccupancy",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the room that can accommodate the most people?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "room",
            "that",
            "can",
            "accommodate",
            "the",
            "most",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT RoomId ,  roomName FROM Rooms ORDER BY basePrice DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "RoomId",
            ",",
            "roomName",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "basePrice",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomid",
            ",",
            "roomname",
            "from",
            "rooms",
            "order",
            "by",
            "baseprice",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and name of the most expensive base price room.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "most",
            "expensive",
            "base",
            "price",
            "room",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT RoomId ,  roomName FROM Rooms ORDER BY basePrice DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "RoomId",
            ",",
            "roomName",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "basePrice",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomid",
            ",",
            "roomname",
            "from",
            "rooms",
            "order",
            "by",
            "baseprice",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which room has the highest base price?",
        "question_toks": [
            "Which",
            "room",
            "has",
            "the",
            "highest",
            "base",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName ,  bedType FROM Rooms WHERE decor = \"traditional\";",
        "query_toks": [
            "SELECT",
            "roomName",
            ",",
            "bedType",
            "FROM",
            "Rooms",
            "WHERE",
            "decor",
            "=",
            "``",
            "traditional",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            ",",
            "bedtype",
            "from",
            "rooms",
            "where",
            "decor",
            "=",
            "value"
        ],
        "question": "List the type of bed and name of all traditional rooms.",
        "question_toks": [
            "List",
            "the",
            "type",
            "of",
            "bed",
            "and",
            "name",
            "of",
            "all",
            "traditional",
            "rooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"traditional\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName ,  bedType FROM Rooms WHERE decor = \"traditional\";",
        "query_toks": [
            "SELECT",
            "roomName",
            ",",
            "bedType",
            "FROM",
            "Rooms",
            "WHERE",
            "decor",
            "=",
            "``",
            "traditional",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            ",",
            "bedtype",
            "from",
            "rooms",
            "where",
            "decor",
            "=",
            "value"
        ],
        "question": "What are the bed type and name of all the rooms with traditional decor?",
        "question_toks": [
            "What",
            "are",
            "the",
            "bed",
            "type",
            "and",
            "name",
            "of",
            "all",
            "the",
            "rooms",
            "with",
            "traditional",
            "decor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"traditional\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT decor ,  count(*) FROM Rooms WHERE bedType = \"King\" GROUP BY decor;",
        "query_toks": [
            "SELECT",
            "decor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "bedType",
            "=",
            "``",
            "King",
            "''",
            "GROUP",
            "BY",
            "decor",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "decor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value",
            "group",
            "by",
            "decor"
        ],
        "question": "Find the number of rooms with king bed for each decor type.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "rooms",
            "with",
            "king",
            "bed",
            "for",
            "each",
            "decor",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT decor ,  count(*) FROM Rooms WHERE bedType = \"King\" GROUP BY decor;",
        "query_toks": [
            "SELECT",
            "decor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "bedType",
            "=",
            "``",
            "King",
            "''",
            "GROUP",
            "BY",
            "decor",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "decor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value",
            "group",
            "by",
            "decor"
        ],
        "question": "How many rooms have king beds? Report the number for each decor type.",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "have",
            "king",
            "beds",
            "?",
            "Report",
            "the",
            "number",
            "for",
            "each",
            "decor",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT decor , avg(basePrice) ,  min(basePrice) FROM Rooms GROUP BY decor;",
        "query_toks": [
            "SELECT",
            "decor",
            ",",
            "avg",
            "(",
            "basePrice",
            ")",
            ",",
            "min",
            "(",
            "basePrice",
            ")",
            "FROM",
            "Rooms",
            "GROUP",
            "BY",
            "decor",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "decor",
            ",",
            "avg",
            "(",
            "baseprice",
            ")",
            ",",
            "min",
            "(",
            "baseprice",
            ")",
            "from",
            "rooms",
            "group",
            "by",
            "decor"
        ],
        "question": "Find the average and minimum price of the rooms in different decor.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "and",
            "minimum",
            "price",
            "of",
            "the",
            "rooms",
            "in",
            "different",
            "decor",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT decor , avg(basePrice) ,  min(basePrice) FROM Rooms GROUP BY decor;",
        "query_toks": [
            "SELECT",
            "decor",
            ",",
            "avg",
            "(",
            "basePrice",
            ")",
            ",",
            "min",
            "(",
            "basePrice",
            ")",
            "FROM",
            "Rooms",
            "GROUP",
            "BY",
            "decor",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "decor",
            ",",
            "avg",
            "(",
            "baseprice",
            ")",
            ",",
            "min",
            "(",
            "baseprice",
            ")",
            "from",
            "rooms",
            "group",
            "by",
            "decor"
        ],
        "question": "What is the average minimum and price of the rooms for each different decor.",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "minimum",
            "and",
            "price",
            "of",
            "the",
            "rooms",
            "for",
            "each",
            "different",
            "decor",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms ORDER BY basePrice;",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "basePrice",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "order",
            "by",
            "baseprice"
        ],
        "question": "List the name of all rooms sorted by their prices.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "all",
            "rooms",
            "sorted",
            "by",
            "their",
            "prices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms ORDER BY basePrice;",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "basePrice",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "order",
            "by",
            "baseprice"
        ],
        "question": "Sort all the rooms according to the price. Just report the room names.",
        "question_toks": [
            "Sort",
            "all",
            "the",
            "rooms",
            "according",
            "to",
            "the",
            "price",
            ".",
            "Just",
            "report",
            "the",
            "room",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT decor , count(*) FROM Rooms WHERE basePrice  >  120 GROUP BY decor;",
        "query_toks": [
            "SELECT",
            "decor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "basePrice",
            ">",
            "120",
            "GROUP",
            "BY",
            "decor",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "decor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "where",
            "baseprice",
            ">",
            "value",
            "group",
            "by",
            "decor"
        ],
        "question": "Find the number of rooms with price higher than 120 for different decor.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "rooms",
            "with",
            "price",
            "higher",
            "than",
            "120",
            "for",
            "different",
            "decor",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    120.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT decor , count(*) FROM Rooms WHERE basePrice  >  120 GROUP BY decor;",
        "query_toks": [
            "SELECT",
            "decor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Rooms",
            "WHERE",
            "basePrice",
            ">",
            "120",
            "GROUP",
            "BY",
            "decor",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "decor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "where",
            "baseprice",
            ">",
            "value",
            "group",
            "by",
            "decor"
        ],
        "question": "How many rooms cost more than 120, for each different decor?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "cost",
            "more",
            "than",
            "120",
            ",",
            "for",
            "each",
            "different",
            "decor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    120.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT bedType ,  avg(basePrice) FROM Rooms GROUP BY bedType;",
        "query_toks": [
            "SELECT",
            "bedType",
            ",",
            "avg",
            "(",
            "basePrice",
            ")",
            "FROM",
            "Rooms",
            "GROUP",
            "BY",
            "bedType",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "bedtype",
            ",",
            "avg",
            "(",
            "baseprice",
            ")",
            "from",
            "rooms",
            "group",
            "by",
            "bedtype"
        ],
        "question": "For each bed type, find the average room price.",
        "question_toks": [
            "For",
            "each",
            "bed",
            "type",
            ",",
            "find",
            "the",
            "average",
            "room",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT bedType ,  avg(basePrice) FROM Rooms GROUP BY bedType;",
        "query_toks": [
            "SELECT",
            "bedType",
            ",",
            "avg",
            "(",
            "basePrice",
            ")",
            "FROM",
            "Rooms",
            "GROUP",
            "BY",
            "bedType",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "bedtype",
            ",",
            "avg",
            "(",
            "baseprice",
            ")",
            "from",
            "rooms",
            "group",
            "by",
            "bedtype"
        ],
        "question": "What is the average base price of rooms, for each bed type?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "base",
            "price",
            "of",
            "rooms",
            ",",
            "for",
            "each",
            "bed",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms WHERE bedType  =  \"King\" OR bedType  =  \"Queen\";",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "WHERE",
            "bedType",
            "=",
            "``",
            "King",
            "''",
            "OR",
            "bedType",
            "=",
            "``",
            "Queen",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value",
            "or",
            "bedtype",
            "=",
            "value"
        ],
        "question": "List the name of rooms with king or queen bed.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "rooms",
            "with",
            "king",
            "or",
            "queen",
            "bed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Queen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms WHERE bedType  =  \"King\" OR bedType  =  \"Queen\";",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "WHERE",
            "bedType",
            "=",
            "``",
            "King",
            "''",
            "OR",
            "bedType",
            "=",
            "``",
            "Queen",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "where",
            "bedtype",
            "=",
            "value",
            "or",
            "bedtype",
            "=",
            "value"
        ],
        "question": "What are the names of rooms that have either king or queen bed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "rooms",
            "that",
            "have",
            "either",
            "king",
            "or",
            "queen",
            "bed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"King\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Queen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(DISTINCT bedType) FROM Rooms;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "bedType",
            ")",
            "FROM",
            "Rooms",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "bedtype",
            ")",
            "from",
            "rooms"
        ],
        "question": "How many different types of beds are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "types",
            "of",
            "beds",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(DISTINCT bedType) FROM Rooms;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "bedType",
            ")",
            "FROM",
            "Rooms",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "bedtype",
            ")",
            "from",
            "rooms"
        ],
        "question": "Find the number of distinct bed types available in this inn.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "bed",
            "types",
            "available",
            "in",
            "this",
            "inn",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT RoomId ,  roomName FROM Rooms ORDER BY basePrice DESC LIMIT 3;",
        "query_toks": [
            "SELECT",
            "RoomId",
            ",",
            "roomName",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "basePrice",
            "DESC",
            "LIMIT",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomid",
            ",",
            "roomname",
            "from",
            "rooms",
            "order",
            "by",
            "baseprice",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and id of the top 3 expensive rooms.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "top",
            "3",
            "expensive",
            "rooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT RoomId ,  roomName FROM Rooms ORDER BY basePrice DESC LIMIT 3;",
        "query_toks": [
            "SELECT",
            "RoomId",
            ",",
            "roomName",
            "FROM",
            "Rooms",
            "ORDER",
            "BY",
            "basePrice",
            "DESC",
            "LIMIT",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomid",
            ",",
            "roomname",
            "from",
            "rooms",
            "order",
            "by",
            "baseprice",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the name and id of the three highest priced rooms?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "three",
            "highest",
            "priced",
            "rooms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms WHERE basePrice  >  ( SELECT avg(basePrice) FROM Rooms );",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "WHERE",
            "basePrice",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "basePrice",
            ")",
            "FROM",
            "Rooms",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "where",
            "baseprice",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "baseprice",
            ")",
            "from",
            "rooms",
            ")"
        ],
        "question": "Find the name of rooms whose price is higher than the average price.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "rooms",
            "whose",
            "price",
            "is",
            "higher",
            "than",
            "the",
            "average",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomName FROM Rooms WHERE basePrice  >  ( SELECT avg(basePrice) FROM Rooms );",
        "query_toks": [
            "SELECT",
            "roomName",
            "FROM",
            "Rooms",
            "WHERE",
            "basePrice",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "basePrice",
            ")",
            "FROM",
            "Rooms",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "where",
            "baseprice",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "baseprice",
            ")",
            "from",
            "rooms",
            ")"
        ],
        "question": "What are the name of rooms that cost more than the average.",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "of",
            "rooms",
            "that",
            "cost",
            "more",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM rooms WHERE roomid NOT IN (SELECT DISTINCT room FROM reservations)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "rooms",
            "WHERE",
            "roomid",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "DISTINCT",
            "room",
            "FROM",
            "reservations",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "where",
            "roomid",
            "not",
            "in",
            "(",
            "select",
            "distinct",
            "room",
            "from",
            "reservations",
            ")"
        ],
        "question": "Find the number of rooms that do not have any reservation.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "rooms",
            "that",
            "do",
            "not",
            "have",
            "any",
            "reservation",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            true,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT count(*) FROM rooms WHERE roomid NOT IN (SELECT DISTINCT room FROM reservations)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "rooms",
            "WHERE",
            "roomid",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "DISTINCT",
            "room",
            "FROM",
            "reservations",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rooms",
            "where",
            "roomid",
            "not",
            "in",
            "(",
            "select",
            "distinct",
            "room",
            "from",
            "reservations",
            ")"
        ],
        "question": "How many rooms have not had any reservation yet?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "have",
            "not",
            "had",
            "any",
            "reservation",
            "yet",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            true,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName ,  count(*) ,  T1.Room FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T1.Room",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.Room",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T1.Room"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "room",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t1",
            ".",
            "room"
        ],
        "question": "Return the name and number of reservations made for each of the rooms.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "and",
            "number",
            "of",
            "reservations",
            "made",
            "for",
            "each",
            "of",
            "the",
            "rooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName ,  count(*) ,  T1.Room FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T1.Room",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.Room",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T1.Room"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "room",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t1",
            ".",
            "room"
        ],
        "question": "For each room, find its name and the number of times reservations were made for it.",
        "question_toks": [
            "For",
            "each",
            "room",
            ",",
            "find",
            "its",
            "name",
            "and",
            "the",
            "number",
            "of",
            "times",
            "reservations",
            "were",
            "made",
            "for",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T1.Room HAVING count(*)  >  60",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T1.Room",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "60"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t1",
            ".",
            "room",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the names of rooms that have been reserved for more than 60 times.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "rooms",
            "that",
            "have",
            "been",
            "reserved",
            "for",
            "more",
            "than",
            "60",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    60.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId GROUP BY T1.Room HAVING count(*)  >  60",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "GROUP",
            "BY",
            "T1.Room",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "60"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "group",
            "by",
            "t1",
            ".",
            "room",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of rooms whose reservation frequency exceeds 60 times?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "rooms",
            "whose",
            "reservation",
            "frequency",
            "exceeds",
            "60",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    60.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomname FROM rooms WHERE baseprice BETWEEN 120 AND 150",
        "query_toks": [
            "SELECT",
            "roomname",
            "FROM",
            "rooms",
            "WHERE",
            "baseprice",
            "BETWEEN",
            "120",
            "AND",
            "150"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "where",
            "baseprice",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the name of rooms whose base price is between 120 and 150.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "rooms",
            "whose",
            "base",
            "price",
            "is",
            "between",
            "120",
            "and",
            "150",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    120.0,
                    150.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT roomname FROM rooms WHERE baseprice BETWEEN 120 AND 150",
        "query_toks": [
            "SELECT",
            "roomname",
            "FROM",
            "rooms",
            "WHERE",
            "baseprice",
            "BETWEEN",
            "120",
            "AND",
            "150"
        ],
        "query_toks_no_value": [
            "select",
            "roomname",
            "from",
            "rooms",
            "where",
            "baseprice",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Which rooms cost between 120 and 150? Give me the room names.",
        "question_toks": [
            "Which",
            "rooms",
            "cost",
            "between",
            "120",
            "and",
            "150",
            "?",
            "Give",
            "me",
            "the",
            "room",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    120.0,
                    150.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId WHERE firstname LIKE '%ROY%'",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "WHERE",
            "firstname",
            "LIKE",
            "'",
            "%",
            "ROY",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "where",
            "firstname",
            "like",
            "value"
        ],
        "question": "Find the name of rooms booked by some customers whose first name contains ROY.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "rooms",
            "booked",
            "by",
            "some",
            "customers",
            "whose",
            "first",
            "name",
            "contains",
            "ROY",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"%ROY%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "inn_1",
        "query": "SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room  =  T2.RoomId WHERE firstname LIKE '%ROY%'",
        "query_toks": [
            "SELECT",
            "T2.roomName",
            "FROM",
            "Reservations",
            "AS",
            "T1",
            "JOIN",
            "Rooms",
            "AS",
            "T2",
            "ON",
            "T1.Room",
            "=",
            "T2.RoomId",
            "WHERE",
            "firstname",
            "LIKE",
            "'",
            "%",
            "ROY",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "roomname",
            "from",
            "reservations",
            "as",
            "t1",
            "join",
            "rooms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "room",
            "=",
            "t2",
            ".",
            "roomid",
            "where",
            "firstname",
            "like",
            "value"
        ],
        "question": "What are the name of rooms booked by customers whose first name has \"ROY\" in part?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "of",
            "rooms",
            "booked",
            "by",
            "customers",
            "whose",
            "first",
            "name",
            "has",
            "``",
            "ROY",
            "''",
            "in",
            "part",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"%ROY%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id  =  T2.master_customer_id WHERE T2.source_system_code  =  'Tax'",
        "query_toks": [
            "SELECT",
            "T1.cmi_details",
            "FROM",
            "Customer_Master_Index",
            "AS",
            "T1",
            "JOIN",
            "CMI_Cross_References",
            "AS",
            "T2",
            "ON",
            "T1.master_customer_id",
            "=",
            "T2.master_customer_id",
            "WHERE",
            "T2.source_system_code",
            "=",
            "'Tax",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cmi_details",
            "from",
            "customer_master_index",
            "as",
            "t1",
            "join",
            "cmi_cross_references",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "master_customer_id",
            "=",
            "t2",
            ".",
            "master_customer_id",
            "where",
            "t2",
            ".",
            "source_system_code",
            "=",
            "value"
        ],
        "question": "what are the details of the cmi masters that have the cross reference code 'Tax'?",
        "question_toks": [
            "what",
            "are",
            "the",
            "details",
            "of",
            "the",
            "cmi",
            "masters",
            "that",
            "have",
            "the",
            "cross",
            "reference",
            "code",
            "'Tax",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Tax\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT T1.cmi_cross_ref_id ,  T1.source_system_code FROM CMI_Cross_References AS T1 JOIN Council_Tax AS T2 ON T1.cmi_cross_ref_id  =  T2.cmi_cross_ref_id GROUP BY T1.cmi_cross_ref_id HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.cmi_cross_ref_id",
            ",",
            "T1.source_system_code",
            "FROM",
            "CMI_Cross_References",
            "AS",
            "T1",
            "JOIN",
            "Council_Tax",
            "AS",
            "T2",
            "ON",
            "T1.cmi_cross_ref_id",
            "=",
            "T2.cmi_cross_ref_id",
            "GROUP",
            "BY",
            "T1.cmi_cross_ref_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cmi_cross_ref_id",
            ",",
            "t1",
            ".",
            "source_system_code",
            "from",
            "cmi_cross_references",
            "as",
            "t1",
            "join",
            "council_tax",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cmi_cross_ref_id",
            "=",
            "t2",
            ".",
            "cmi_cross_ref_id",
            "group",
            "by",
            "t1",
            ".",
            "cmi_cross_ref_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the cmi cross reference id that is related to at least one council tax entry? List the cross reference id and source system code.",
        "question_toks": [
            "What",
            "is",
            "the",
            "cmi",
            "cross",
            "reference",
            "id",
            "that",
            "is",
            "related",
            "to",
            "at",
            "least",
            "one",
            "council",
            "tax",
            "entry",
            "?",
            "List",
            "the",
            "cross",
            "reference",
            "id",
            "and",
            "source",
            "system",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT T2.cmi_cross_ref_id ,  T2.master_customer_id ,  count(*) FROM Business_Rates AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id  =  T2.cmi_cross_ref_id GROUP BY T2.cmi_cross_ref_id",
        "query_toks": [
            "SELECT",
            "T2.cmi_cross_ref_id",
            ",",
            "T2.master_customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Business_Rates",
            "AS",
            "T1",
            "JOIN",
            "CMI_Cross_References",
            "AS",
            "T2",
            "ON",
            "T1.cmi_cross_ref_id",
            "=",
            "T2.cmi_cross_ref_id",
            "GROUP",
            "BY",
            "T2.cmi_cross_ref_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "cmi_cross_ref_id",
            ",",
            "t2",
            ".",
            "master_customer_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "business_rates",
            "as",
            "t1",
            "join",
            "cmi_cross_references",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cmi_cross_ref_id",
            "=",
            "t2",
            ".",
            "cmi_cross_ref_id",
            "group",
            "by",
            "t2",
            ".",
            "cmi_cross_ref_id"
        ],
        "question": "How many business rates are related to each cmi cross reference? List cross reference id, master customer id and the n",
        "question_toks": [
            "How",
            "many",
            "business",
            "rates",
            "are",
            "related",
            "to",
            "each",
            "cmi",
            "cross",
            "reference",
            "?",
            "List",
            "cross",
            "reference",
            "id",
            ",",
            "master",
            "customer",
            "id",
            "and",
            "the",
            "n"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT T1.source_system_code ,  T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Benefits_Overpayments AS T2 ON T1.cmi_cross_ref_id  =  T2.cmi_cross_ref_id ORDER BY T2.council_tax_id",
        "query_toks": [
            "SELECT",
            "T1.source_system_code",
            ",",
            "T2.council_tax_id",
            "FROM",
            "CMI_Cross_References",
            "AS",
            "T1",
            "JOIN",
            "Benefits_Overpayments",
            "AS",
            "T2",
            "ON",
            "T1.cmi_cross_ref_id",
            "=",
            "T2.cmi_cross_ref_id",
            "ORDER",
            "BY",
            "T2.council_tax_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "source_system_code",
            ",",
            "t2",
            ".",
            "council_tax_id",
            "from",
            "cmi_cross_references",
            "as",
            "t1",
            "join",
            "benefits_overpayments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cmi_cross_ref_id",
            "=",
            "t2",
            ".",
            "cmi_cross_ref_id",
            "order",
            "by",
            "t2",
            ".",
            "council_tax_id"
        ],
        "question": "What is the tax source system code related to the benefits and overpayments? List the code and the benifit id, order by benifit id.",
        "question_toks": [
            "What",
            "is",
            "the",
            "tax",
            "source",
            "system",
            "code",
            "related",
            "to",
            "the",
            "benefits",
            "and",
            "overpayments",
            "?",
            "List",
            "the",
            "code",
            "and",
            "the",
            "benifit",
            "id",
            ",",
            "order",
            "by",
            "benifit",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT T1.source_system_code ,  T1.master_customer_id ,  T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Parking_Fines AS T2 ON T1.cmi_cross_ref_id  =  T2.cmi_cross_ref_id",
        "query_toks": [
            "SELECT",
            "T1.source_system_code",
            ",",
            "T1.master_customer_id",
            ",",
            "T2.council_tax_id",
            "FROM",
            "CMI_Cross_References",
            "AS",
            "T1",
            "JOIN",
            "Parking_Fines",
            "AS",
            "T2",
            "ON",
            "T1.cmi_cross_ref_id",
            "=",
            "T2.cmi_cross_ref_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "source_system_code",
            ",",
            "t1",
            ".",
            "master_customer_id",
            ",",
            "t2",
            ".",
            "council_tax_id",
            "from",
            "cmi_cross_references",
            "as",
            "t1",
            "join",
            "parking_fines",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cmi_cross_ref_id",
            "=",
            "t2",
            ".",
            "cmi_cross_ref_id"
        ],
        "question": "Wat is the tax source system code and master customer id of the taxes related to each parking fine id?",
        "question_toks": [
            "Wat",
            "is",
            "the",
            "tax",
            "source",
            "system",
            "code",
            "and",
            "master",
            "customer",
            "id",
            "of",
            "the",
            "taxes",
            "related",
            "to",
            "each",
            "parking",
            "fine",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT T1.council_tax_id FROM Rent_Arrears AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id  =  T2.cmi_cross_ref_id JOIN Customer_Master_Index AS T3 ON T3.master_customer_id  =  T2.master_customer_id WHERE T3.cmi_details != 'Schmidt ,  Kertzmann and Lubowitz'",
        "query_toks": [
            "SELECT",
            "T1.council_tax_id",
            "FROM",
            "Rent_Arrears",
            "AS",
            "T1",
            "JOIN",
            "CMI_Cross_References",
            "AS",
            "T2",
            "ON",
            "T1.cmi_cross_ref_id",
            "=",
            "T2.cmi_cross_ref_id",
            "JOIN",
            "Customer_Master_Index",
            "AS",
            "T3",
            "ON",
            "T3.master_customer_id",
            "=",
            "T2.master_customer_id",
            "WHERE",
            "T3.cmi_details",
            "!",
            "=",
            "'Schmidt",
            ",",
            "Kertzmann",
            "and",
            "Lubowitz",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "council_tax_id",
            "from",
            "rent_arrears",
            "as",
            "t1",
            "join",
            "cmi_cross_references",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cmi_cross_ref_id",
            "=",
            "t2",
            ".",
            "cmi_cross_ref_id",
            "join",
            "customer_master_index",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "master_customer_id",
            "=",
            "t2",
            ".",
            "master_customer_id",
            "where",
            "t3",
            ".",
            "cmi_details",
            "!",
            "=",
            "value"
        ],
        "question": "What are the renting arrears tax ids related to the customer master index whose detail is not 'Schmidt, Kertzmann and Lubowitz'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "renting",
            "arrears",
            "tax",
            "ids",
            "related",
            "to",
            "the",
            "customer",
            "master",
            "index",
            "whose",
            "detail",
            "is",
            "not",
            "'Schmidt",
            ",",
            "Kertzmann",
            "and",
            "Lubowitz",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Schmidt ,  Kertzmann and Lubowitz\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT T1.electoral_register_id FROM Electoral_Register AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id  =  T2.cmi_cross_ref_id WHERE T2.source_system_code  =  'Electoral' OR T2.source_system_code  =  'Tax'",
        "query_toks": [
            "SELECT",
            "T1.electoral_register_id",
            "FROM",
            "Electoral_Register",
            "AS",
            "T1",
            "JOIN",
            "CMI_Cross_References",
            "AS",
            "T2",
            "ON",
            "T1.cmi_cross_ref_id",
            "=",
            "T2.cmi_cross_ref_id",
            "WHERE",
            "T2.source_system_code",
            "=",
            "'Electoral",
            "'",
            "OR",
            "T2.source_system_code",
            "=",
            "'Tax",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "electoral_register_id",
            "from",
            "electoral_register",
            "as",
            "t1",
            "join",
            "cmi_cross_references",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cmi_cross_ref_id",
            "=",
            "t2",
            ".",
            "cmi_cross_ref_id",
            "where",
            "t2",
            ".",
            "source_system_code",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "source_system_code",
            "=",
            "value"
        ],
        "question": "What are the register ids of electoral registries that have the cross reference source system code 'Electoral' or 'Tax'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "register",
            "ids",
            "of",
            "electoral",
            "registries",
            "that",
            "have",
            "the",
            "cross",
            "reference",
            "source",
            "system",
            "code",
            "'Electoral",
            "'",
            "or",
            "'Tax",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Electoral\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Tax\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT count(DISTINCT source_system_code) FROM CMI_cross_references",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "source_system_code",
            ")",
            "FROM",
            "CMI_cross_references"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "source_system_code",
            ")",
            "from",
            "cmi_cross_references"
        ],
        "question": "How many different source system code for the cmi cross references are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "source",
            "system",
            "code",
            "for",
            "the",
            "cmi",
            "cross",
            "references",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT * FROM customer_master_index ORDER BY cmi_details DESC",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "customer_master_index",
            "ORDER",
            "BY",
            "cmi_details",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "customer_master_index",
            "order",
            "by",
            "cmi_details",
            "desc"
        ],
        "question": "List all information about customer master index, and sort them by details in descending order.",
        "question_toks": [
            "List",
            "all",
            "information",
            "about",
            "customer",
            "master",
            "index",
            ",",
            "and",
            "sort",
            "them",
            "by",
            "details",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT council_tax_id ,  cmi_cross_ref_id FROM parking_fines",
        "query_toks": [
            "SELECT",
            "council_tax_id",
            ",",
            "cmi_cross_ref_id",
            "FROM",
            "parking_fines"
        ],
        "query_toks_no_value": [
            "select",
            "council_tax_id",
            ",",
            "cmi_cross_ref_id",
            "from",
            "parking_fines"
        ],
        "question": "List the council tax ids and their related cmi cross references of all the parking fines.",
        "question_toks": [
            "List",
            "the",
            "council",
            "tax",
            "ids",
            "and",
            "their",
            "related",
            "cmi",
            "cross",
            "references",
            "of",
            "all",
            "the",
            "parking",
            "fines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT count(*) FROM rent_arrears",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "rent_arrears"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "rent_arrears"
        ],
        "question": "How many council taxes are collected for renting arrears ?",
        "question_toks": [
            "How",
            "many",
            "council",
            "taxes",
            "are",
            "collected",
            "for",
            "renting",
            "arrears",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT DISTINCT T2.source_system_code FROM customer_master_index AS T1 JOIN cmi_cross_references AS T2 ON T1.master_customer_id  =  T2.master_customer_id WHERE T1.cmi_details  =  'Gottlieb ,  Becker and Wyman'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.source_system_code",
            "FROM",
            "customer_master_index",
            "AS",
            "T1",
            "JOIN",
            "cmi_cross_references",
            "AS",
            "T2",
            "ON",
            "T1.master_customer_id",
            "=",
            "T2.master_customer_id",
            "WHERE",
            "T1.cmi_details",
            "=",
            "'Gottlieb",
            ",",
            "Becker",
            "and",
            "Wyman",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "source_system_code",
            "from",
            "customer_master_index",
            "as",
            "t1",
            "join",
            "cmi_cross_references",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "master_customer_id",
            "=",
            "t2",
            ".",
            "master_customer_id",
            "where",
            "t1",
            ".",
            "cmi_details",
            "=",
            "value"
        ],
        "question": "What are the distinct cross reference source system codes which are related to the master customer details 'Gottlieb, Becker and Wyman'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "cross",
            "reference",
            "source",
            "system",
            "codes",
            "which",
            "are",
            "related",
            "to",
            "the",
            "master",
            "customer",
            "details",
            "'Gottlieb",
            ",",
            "Becker",
            "and",
            "Wyman",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Gottlieb ,  Becker and Wyman\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT cmi_cross_ref_id FROM cmi_cross_references EXCEPT SELECT cmi_cross_ref_id FROM parking_fines",
        "query_toks": [
            "SELECT",
            "cmi_cross_ref_id",
            "FROM",
            "cmi_cross_references",
            "EXCEPT",
            "SELECT",
            "cmi_cross_ref_id",
            "FROM",
            "parking_fines"
        ],
        "query_toks_no_value": [
            "select",
            "cmi_cross_ref_id",
            "from",
            "cmi_cross_references",
            "except",
            "select",
            "cmi_cross_ref_id",
            "from",
            "parking_fines"
        ],
        "question": "Which cmi cross reference id is not related to any parking taxes?",
        "question_toks": [
            "Which",
            "cmi",
            "cross",
            "reference",
            "id",
            "is",
            "not",
            "related",
            "to",
            "any",
            "parking",
            "taxes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_mdm",
        "query": "SELECT DISTINCT source_system_code FROM cmi_cross_references WHERE source_system_code LIKE '%en%'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "source_system_code",
            "FROM",
            "cmi_cross_references",
            "WHERE",
            "source_system_code",
            "LIKE",
            "'",
            "%",
            "en",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "source_system_code",
            "from",
            "cmi_cross_references",
            "where",
            "source_system_code",
            "like",
            "value"
        ],
        "question": "Which distinct source system code includes the substring 'en'?",
        "question_toks": [
            "Which",
            "distinct",
            "source",
            "system",
            "code",
            "includes",
            "the",
            "substring",
            "'en",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%en%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT count(*) FROM party",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "party"
        ],
        "question": "How many parties are there?",
        "question_toks": [
            "How",
            "many",
            "parties",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT count(*) FROM party",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "party"
        ],
        "question": "Count the number of parties.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "parties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Party_Theme FROM party ORDER BY Number_of_hosts ASC",
        "query_toks": [
            "SELECT",
            "Party_Theme",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "Number_of_hosts",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "party_theme",
            "from",
            "party",
            "order",
            "by",
            "number_of_hosts",
            "asc"
        ],
        "question": "List the themes of parties in ascending order of number of hosts.",
        "question_toks": [
            "List",
            "the",
            "themes",
            "of",
            "parties",
            "in",
            "ascending",
            "order",
            "of",
            "number",
            "of",
            "hosts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Party_Theme FROM party ORDER BY Number_of_hosts ASC",
        "query_toks": [
            "SELECT",
            "Party_Theme",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "Number_of_hosts",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "party_theme",
            "from",
            "party",
            "order",
            "by",
            "number_of_hosts",
            "asc"
        ],
        "question": "What are the themes of parties ordered by the number of hosts in ascending manner?",
        "question_toks": [
            "What",
            "are",
            "the",
            "themes",
            "of",
            "parties",
            "ordered",
            "by",
            "the",
            "number",
            "of",
            "hosts",
            "in",
            "ascending",
            "manner",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Party_Theme ,  LOCATION FROM party",
        "query_toks": [
            "SELECT",
            "Party_Theme",
            ",",
            "LOCATION",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "party_theme",
            ",",
            "location",
            "from",
            "party"
        ],
        "question": "What are the themes and locations of parties?",
        "question_toks": [
            "What",
            "are",
            "the",
            "themes",
            "and",
            "locations",
            "of",
            "parties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Party_Theme ,  LOCATION FROM party",
        "query_toks": [
            "SELECT",
            "Party_Theme",
            ",",
            "LOCATION",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "party_theme",
            ",",
            "location",
            "from",
            "party"
        ],
        "question": "Give me the theme and location of each party.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "theme",
            "and",
            "location",
            "of",
            "each",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT First_year ,  Last_year FROM party WHERE Party_Theme  =  \"Spring\" OR Party_Theme  =  \"Teqnology\"",
        "query_toks": [
            "SELECT",
            "First_year",
            ",",
            "Last_year",
            "FROM",
            "party",
            "WHERE",
            "Party_Theme",
            "=",
            "``",
            "Spring",
            "''",
            "OR",
            "Party_Theme",
            "=",
            "``",
            "Teqnology",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "first_year",
            ",",
            "last_year",
            "from",
            "party",
            "where",
            "party_theme",
            "=",
            "value",
            "or",
            "party_theme",
            "=",
            "value"
        ],
        "question": "Show the first year and last year of parties with theme \"Spring\" or \"Teqnology\".",
        "question_toks": [
            "Show",
            "the",
            "first",
            "year",
            "and",
            "last",
            "year",
            "of",
            "parties",
            "with",
            "theme",
            "``",
            "Spring",
            "''",
            "or",
            "``",
            "Teqnology",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Teqnology\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT First_year ,  Last_year FROM party WHERE Party_Theme  =  \"Spring\" OR Party_Theme  =  \"Teqnology\"",
        "query_toks": [
            "SELECT",
            "First_year",
            ",",
            "Last_year",
            "FROM",
            "party",
            "WHERE",
            "Party_Theme",
            "=",
            "``",
            "Spring",
            "''",
            "OR",
            "Party_Theme",
            "=",
            "``",
            "Teqnology",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "first_year",
            ",",
            "last_year",
            "from",
            "party",
            "where",
            "party_theme",
            "=",
            "value",
            "or",
            "party_theme",
            "=",
            "value"
        ],
        "question": "What are the first year and last year of the parties whose theme is \"Spring\" or \"Teqnology\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "year",
            "and",
            "last",
            "year",
            "of",
            "the",
            "parties",
            "whose",
            "theme",
            "is",
            "``",
            "Spring",
            "''",
            "or",
            "``",
            "Teqnology",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Teqnology\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT avg(Number_of_hosts) FROM party",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Number_of_hosts",
            ")",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "number_of_hosts",
            ")",
            "from",
            "party"
        ],
        "question": "What is the average number of hosts for parties?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "hosts",
            "for",
            "parties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT avg(Number_of_hosts) FROM party",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Number_of_hosts",
            ")",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "number_of_hosts",
            ")",
            "from",
            "party"
        ],
        "question": "Compute the average number of hosts for parties.",
        "question_toks": [
            "Compute",
            "the",
            "average",
            "number",
            "of",
            "hosts",
            "for",
            "parties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT LOCATION FROM party ORDER BY Number_of_hosts DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "Number_of_hosts",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "party",
            "order",
            "by",
            "number_of_hosts",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the location of the party with the most hosts?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "of",
            "the",
            "party",
            "with",
            "the",
            "most",
            "hosts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT LOCATION FROM party ORDER BY Number_of_hosts DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "party",
            "ORDER",
            "BY",
            "Number_of_hosts",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "party",
            "order",
            "by",
            "number_of_hosts",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which party had the most hosts? Give me the party location.",
        "question_toks": [
            "Which",
            "party",
            "had",
            "the",
            "most",
            "hosts",
            "?",
            "Give",
            "me",
            "the",
            "party",
            "location",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Nationality ,  COUNT(*) FROM HOST GROUP BY Nationality",
        "query_toks": [
            "SELECT",
            "Nationality",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "HOST",
            "GROUP",
            "BY",
            "Nationality"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "host",
            "group",
            "by",
            "nationality"
        ],
        "question": "Show different nationalities along with the number of hosts of each nationality.",
        "question_toks": [
            "Show",
            "different",
            "nationalities",
            "along",
            "with",
            "the",
            "number",
            "of",
            "hosts",
            "of",
            "each",
            "nationality",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Nationality ,  COUNT(*) FROM HOST GROUP BY Nationality",
        "query_toks": [
            "SELECT",
            "Nationality",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "HOST",
            "GROUP",
            "BY",
            "Nationality"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "host",
            "group",
            "by",
            "nationality"
        ],
        "question": "How many hosts does each nationality have? List the nationality and the count.",
        "question_toks": [
            "How",
            "many",
            "hosts",
            "does",
            "each",
            "nationality",
            "have",
            "?",
            "List",
            "the",
            "nationality",
            "and",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Nationality FROM HOST GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "HOST",
            "GROUP",
            "BY",
            "Nationality",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "host",
            "group",
            "by",
            "nationality",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common nationality of hosts.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "nationality",
            "of",
            "hosts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Nationality FROM HOST GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "HOST",
            "GROUP",
            "BY",
            "Nationality",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "host",
            "group",
            "by",
            "nationality",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which nationality has the most hosts?",
        "question_toks": [
            "Which",
            "nationality",
            "has",
            "the",
            "most",
            "hosts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Nationality FROM HOST WHERE Age  >  45 INTERSECT SELECT Nationality FROM HOST WHERE Age  <  35",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "HOST",
            "WHERE",
            "Age",
            ">",
            "45",
            "INTERSECT",
            "SELECT",
            "Nationality",
            "FROM",
            "HOST",
            "WHERE",
            "Age",
            "<",
            "35"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "host",
            "where",
            "age",
            ">",
            "value",
            "intersect",
            "select",
            "nationality",
            "from",
            "host",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "Show the nations that have both hosts older than 45 and hosts younger than 35.",
        "question_toks": [
            "Show",
            "the",
            "nations",
            "that",
            "have",
            "both",
            "hosts",
            "older",
            "than",
            "45",
            "and",
            "hosts",
            "younger",
            "than",
            "35",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    45.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        35.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Nationality FROM HOST WHERE Age  >  45 INTERSECT SELECT Nationality FROM HOST WHERE Age  <  35",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "HOST",
            "WHERE",
            "Age",
            ">",
            "45",
            "INTERSECT",
            "SELECT",
            "Nationality",
            "FROM",
            "HOST",
            "WHERE",
            "Age",
            "<",
            "35"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "host",
            "where",
            "age",
            ">",
            "value",
            "intersect",
            "select",
            "nationality",
            "from",
            "host",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "Which nations have both hosts of age above 45 and hosts of age below 35?",
        "question_toks": [
            "Which",
            "nations",
            "have",
            "both",
            "hosts",
            "of",
            "age",
            "above",
            "45",
            "and",
            "hosts",
            "of",
            "age",
            "below",
            "35",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    45.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        35.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT T3.Party_Theme ,  T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID  =  T2.Host_ID JOIN party AS T3 ON T1.Party_ID  =  T3.Party_ID",
        "query_toks": [
            "SELECT",
            "T3.Party_Theme",
            ",",
            "T2.Name",
            "FROM",
            "party_host",
            "AS",
            "T1",
            "JOIN",
            "HOST",
            "AS",
            "T2",
            "ON",
            "T1.Host_ID",
            "=",
            "T2.Host_ID",
            "JOIN",
            "party",
            "AS",
            "T3",
            "ON",
            "T1.Party_ID",
            "=",
            "T3.Party_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "party_theme",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "party_host",
            "as",
            "t1",
            "join",
            "host",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "host_id",
            "=",
            "t2",
            ".",
            "host_id",
            "join",
            "party",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id"
        ],
        "question": "Show the themes of parties and the names of the party hosts.",
        "question_toks": [
            "Show",
            "the",
            "themes",
            "of",
            "parties",
            "and",
            "the",
            "names",
            "of",
            "the",
            "party",
            "hosts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT T3.Party_Theme ,  T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID  =  T2.Host_ID JOIN party AS T3 ON T1.Party_ID  =  T3.Party_ID",
        "query_toks": [
            "SELECT",
            "T3.Party_Theme",
            ",",
            "T2.Name",
            "FROM",
            "party_host",
            "AS",
            "T1",
            "JOIN",
            "HOST",
            "AS",
            "T2",
            "ON",
            "T1.Host_ID",
            "=",
            "T2.Host_ID",
            "JOIN",
            "party",
            "AS",
            "T3",
            "ON",
            "T1.Party_ID",
            "=",
            "T3.Party_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "party_theme",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "party_host",
            "as",
            "t1",
            "join",
            "host",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "host_id",
            "=",
            "t2",
            ".",
            "host_id",
            "join",
            "party",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id"
        ],
        "question": "For each party, return its theme and the name of its host.",
        "question_toks": [
            "For",
            "each",
            "party",
            ",",
            "return",
            "its",
            "theme",
            "and",
            "the",
            "name",
            "of",
            "its",
            "host",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT T3.Location ,  T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID  =  T2.Host_ID JOIN party AS T3 ON T1.Party_ID  =  T3.Party_ID ORDER BY T2.Age",
        "query_toks": [
            "SELECT",
            "T3.Location",
            ",",
            "T2.Name",
            "FROM",
            "party_host",
            "AS",
            "T1",
            "JOIN",
            "HOST",
            "AS",
            "T2",
            "ON",
            "T1.Host_ID",
            "=",
            "T2.Host_ID",
            "JOIN",
            "party",
            "AS",
            "T3",
            "ON",
            "T1.Party_ID",
            "=",
            "T3.Party_ID",
            "ORDER",
            "BY",
            "T2.Age"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "party_host",
            "as",
            "t1",
            "join",
            "host",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "host_id",
            "=",
            "t2",
            ".",
            "host_id",
            "join",
            "party",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id",
            "order",
            "by",
            "t2",
            ".",
            "age"
        ],
        "question": "Show the locations of parties and the names of the party hosts in ascending order of the age of the host.",
        "question_toks": [
            "Show",
            "the",
            "locations",
            "of",
            "parties",
            "and",
            "the",
            "names",
            "of",
            "the",
            "party",
            "hosts",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "age",
            "of",
            "the",
            "host",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT T3.Location ,  T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID  =  T2.Host_ID JOIN party AS T3 ON T1.Party_ID  =  T3.Party_ID ORDER BY T2.Age",
        "query_toks": [
            "SELECT",
            "T3.Location",
            ",",
            "T2.Name",
            "FROM",
            "party_host",
            "AS",
            "T1",
            "JOIN",
            "HOST",
            "AS",
            "T2",
            "ON",
            "T1.Host_ID",
            "=",
            "T2.Host_ID",
            "JOIN",
            "party",
            "AS",
            "T3",
            "ON",
            "T1.Party_ID",
            "=",
            "T3.Party_ID",
            "ORDER",
            "BY",
            "T2.Age"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "party_host",
            "as",
            "t1",
            "join",
            "host",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "host_id",
            "=",
            "t2",
            ".",
            "host_id",
            "join",
            "party",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id",
            "order",
            "by",
            "t2",
            ".",
            "age"
        ],
        "question": "For each party, find its location and the name of its host. Sort the result in ascending order of the age of the host.",
        "question_toks": [
            "For",
            "each",
            "party",
            ",",
            "find",
            "its",
            "location",
            "and",
            "the",
            "name",
            "of",
            "its",
            "host",
            ".",
            "Sort",
            "the",
            "result",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "age",
            "of",
            "the",
            "host",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID  =  T2.Host_ID JOIN party AS T3 ON T1.Party_ID  =  T3.Party_ID WHERE T2.Age  >  50",
        "query_toks": [
            "SELECT",
            "T3.Location",
            "FROM",
            "party_host",
            "AS",
            "T1",
            "JOIN",
            "HOST",
            "AS",
            "T2",
            "ON",
            "T1.Host_ID",
            "=",
            "T2.Host_ID",
            "JOIN",
            "party",
            "AS",
            "T3",
            "ON",
            "T1.Party_ID",
            "=",
            "T3.Party_ID",
            "WHERE",
            "T2.Age",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location",
            "from",
            "party_host",
            "as",
            "t1",
            "join",
            "host",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "host_id",
            "=",
            "t2",
            ".",
            "host_id",
            "join",
            "party",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "age",
            ">",
            "value"
        ],
        "question": "Show the locations of parties with hosts older than 50.",
        "question_toks": [
            "Show",
            "the",
            "locations",
            "of",
            "parties",
            "with",
            "hosts",
            "older",
            "than",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID  =  T2.Host_ID JOIN party AS T3 ON T1.Party_ID  =  T3.Party_ID WHERE T2.Age  >  50",
        "query_toks": [
            "SELECT",
            "T3.Location",
            "FROM",
            "party_host",
            "AS",
            "T1",
            "JOIN",
            "HOST",
            "AS",
            "T2",
            "ON",
            "T1.Host_ID",
            "=",
            "T2.Host_ID",
            "JOIN",
            "party",
            "AS",
            "T3",
            "ON",
            "T1.Party_ID",
            "=",
            "T3.Party_ID",
            "WHERE",
            "T2.Age",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location",
            "from",
            "party_host",
            "as",
            "t1",
            "join",
            "host",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "host_id",
            "=",
            "t2",
            ".",
            "host_id",
            "join",
            "party",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "age",
            ">",
            "value"
        ],
        "question": "Which parties have hosts of age above 50? Give me the party locations.",
        "question_toks": [
            "Which",
            "parties",
            "have",
            "hosts",
            "of",
            "age",
            "above",
            "50",
            "?",
            "Give",
            "me",
            "the",
            "party",
            "locations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID  =  T2.Host_ID JOIN party AS T3 ON T1.Party_ID  =  T3.Party_ID WHERE T3.Number_of_hosts  >  20",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "party_host",
            "AS",
            "T1",
            "JOIN",
            "HOST",
            "AS",
            "T2",
            "ON",
            "T1.Host_ID",
            "=",
            "T2.Host_ID",
            "JOIN",
            "party",
            "AS",
            "T3",
            "ON",
            "T1.Party_ID",
            "=",
            "T3.Party_ID",
            "WHERE",
            "T3.Number_of_hosts",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "party_host",
            "as",
            "t1",
            "join",
            "host",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "host_id",
            "=",
            "t2",
            ".",
            "host_id",
            "join",
            "party",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id",
            "where",
            "t3",
            ".",
            "number_of_hosts",
            ">",
            "value"
        ],
        "question": "Show the host names for parties with number of hosts greater than 20.",
        "question_toks": [
            "Show",
            "the",
            "host",
            "names",
            "for",
            "parties",
            "with",
            "number",
            "of",
            "hosts",
            "greater",
            "than",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID  =  T2.Host_ID JOIN party AS T3 ON T1.Party_ID  =  T3.Party_ID WHERE T3.Number_of_hosts  >  20",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "party_host",
            "AS",
            "T1",
            "JOIN",
            "HOST",
            "AS",
            "T2",
            "ON",
            "T1.Host_ID",
            "=",
            "T2.Host_ID",
            "JOIN",
            "party",
            "AS",
            "T3",
            "ON",
            "T1.Party_ID",
            "=",
            "T3.Party_ID",
            "WHERE",
            "T3.Number_of_hosts",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "party_host",
            "as",
            "t1",
            "join",
            "host",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "host_id",
            "=",
            "t2",
            ".",
            "host_id",
            "join",
            "party",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t3",
            ".",
            "party_id",
            "where",
            "t3",
            ".",
            "number_of_hosts",
            ">",
            "value"
        ],
        "question": "Which parties have more than 20 hosts? Give me the host names for these parties.",
        "question_toks": [
            "Which",
            "parties",
            "have",
            "more",
            "than",
            "20",
            "hosts",
            "?",
            "Give",
            "me",
            "the",
            "host",
            "names",
            "for",
            "these",
            "parties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Name ,  Nationality FROM HOST ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Nationality",
            "FROM",
            "HOST",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "nationality",
            "from",
            "host",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name and the nationality of the oldest host.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "the",
            "nationality",
            "of",
            "the",
            "oldest",
            "host",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Name ,  Nationality FROM HOST ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Nationality",
            "FROM",
            "HOST",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "nationality",
            "from",
            "host",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the name and the nationality of the host of the highest age?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "the",
            "nationality",
            "of",
            "the",
            "host",
            "of",
            "the",
            "highest",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Name FROM HOST WHERE Host_ID NOT IN (SELECT Host_ID FROM party_host)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "HOST",
            "WHERE",
            "Host_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Host_ID",
            "FROM",
            "party_host",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "host",
            "where",
            "host_id",
            "not",
            "in",
            "(",
            "select",
            "host_id",
            "from",
            "party_host",
            ")"
        ],
        "question": "List the names of hosts who did not serve as a host of any party in our record.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "hosts",
            "who",
            "did",
            "not",
            "serve",
            "as",
            "a",
            "host",
            "of",
            "any",
            "party",
            "in",
            "our",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "party_host",
        "query": "SELECT Name FROM HOST WHERE Host_ID NOT IN (SELECT Host_ID FROM party_host)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "HOST",
            "WHERE",
            "Host_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Host_ID",
            "FROM",
            "party_host",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "host",
            "where",
            "host_id",
            "not",
            "in",
            "(",
            "select",
            "host_id",
            "from",
            "party_host",
            ")"
        ],
        "question": "What are the names of hosts who did not host any party in our record?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "hosts",
            "who",
            "did",
            "not",
            "host",
            "any",
            "party",
            "in",
            "our",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT count(*) FROM region",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "region"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "region"
        ],
        "question": "How many regions do we have?",
        "question_toks": [
            "How",
            "many",
            "regions",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT count(*) FROM region",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "region"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "region"
        ],
        "question": "Count the number of regions.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "regions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT region_code ,  region_name FROM region ORDER BY region_code",
        "query_toks": [
            "SELECT",
            "region_code",
            ",",
            "region_name",
            "FROM",
            "region",
            "ORDER",
            "BY",
            "region_code"
        ],
        "query_toks_no_value": [
            "select",
            "region_code",
            ",",
            "region_name",
            "from",
            "region",
            "order",
            "by",
            "region_code"
        ],
        "question": "Show all region code and region name sorted by the codes.",
        "question_toks": [
            "Show",
            "all",
            "region",
            "code",
            "and",
            "region",
            "name",
            "sorted",
            "by",
            "the",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT region_code ,  region_name FROM region ORDER BY region_code",
        "query_toks": [
            "SELECT",
            "region_code",
            ",",
            "region_name",
            "FROM",
            "region",
            "ORDER",
            "BY",
            "region_code"
        ],
        "query_toks_no_value": [
            "select",
            "region_code",
            ",",
            "region_name",
            "from",
            "region",
            "order",
            "by",
            "region_code"
        ],
        "question": "What are the codes and names for all regions, sorted by codes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "and",
            "names",
            "for",
            "all",
            "regions",
            ",",
            "sorted",
            "by",
            "codes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT region_name FROM region ORDER BY region_name",
        "query_toks": [
            "SELECT",
            "region_name",
            "FROM",
            "region",
            "ORDER",
            "BY",
            "region_name"
        ],
        "query_toks_no_value": [
            "select",
            "region_name",
            "from",
            "region",
            "order",
            "by",
            "region_name"
        ],
        "question": "List all region names in alphabetical order.",
        "question_toks": [
            "List",
            "all",
            "region",
            "names",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT region_name FROM region ORDER BY region_name",
        "query_toks": [
            "SELECT",
            "region_name",
            "FROM",
            "region",
            "ORDER",
            "BY",
            "region_name"
        ],
        "query_toks_no_value": [
            "select",
            "region_name",
            "from",
            "region",
            "order",
            "by",
            "region_name"
        ],
        "question": "What are the names of the regions in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "regions",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT region_name FROM region WHERE region_name != 'Denmark'",
        "query_toks": [
            "SELECT",
            "region_name",
            "FROM",
            "region",
            "WHERE",
            "region_name",
            "!",
            "=",
            "'Denmark",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "region_name",
            "from",
            "region",
            "where",
            "region_name",
            "!",
            "=",
            "value"
        ],
        "question": "Show names for all regions except for Denmark.",
        "question_toks": [
            "Show",
            "names",
            "for",
            "all",
            "regions",
            "except",
            "for",
            "Denmark",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Denmark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT region_name FROM region WHERE region_name != 'Denmark'",
        "query_toks": [
            "SELECT",
            "region_name",
            "FROM",
            "region",
            "WHERE",
            "region_name",
            "!",
            "=",
            "'Denmark",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "region_name",
            "from",
            "region",
            "where",
            "region_name",
            "!",
            "=",
            "value"
        ],
        "question": "Return the names of all regions other than Denmark.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "all",
            "regions",
            "other",
            "than",
            "Denmark",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Denmark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT count(*) FROM storm WHERE Number_Deaths  >  0",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "storm",
            "WHERE",
            "Number_Deaths",
            ">",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "storm",
            "where",
            "number_deaths",
            ">",
            "value"
        ],
        "question": "How many storms had death records?",
        "question_toks": [
            "How",
            "many",
            "storms",
            "had",
            "death",
            "records",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT count(*) FROM storm WHERE Number_Deaths  >  0",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "storm",
            "WHERE",
            "Number_Deaths",
            ">",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "storm",
            "where",
            "number_deaths",
            ">",
            "value"
        ],
        "question": "Count the number of storms in which at least 1 person died.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "storms",
            "in",
            "which",
            "at",
            "least",
            "1",
            "person",
            "died",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT name ,  dates_active ,  number_deaths FROM storm WHERE number_deaths  >=  1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "dates_active",
            ",",
            "number_deaths",
            "FROM",
            "storm",
            "WHERE",
            "number_deaths",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "dates_active",
            ",",
            "number_deaths",
            "from",
            "storm",
            "where",
            "number_deaths",
            ">",
            "=",
            "value"
        ],
        "question": "List name, dates active, and number of deaths for all storms with at least 1 death.",
        "question_toks": [
            "List",
            "name",
            ",",
            "dates",
            "active",
            ",",
            "and",
            "number",
            "of",
            "deaths",
            "for",
            "all",
            "storms",
            "with",
            "at",
            "least",
            "1",
            "death",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT name ,  dates_active ,  number_deaths FROM storm WHERE number_deaths  >=  1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "dates_active",
            ",",
            "number_deaths",
            "FROM",
            "storm",
            "WHERE",
            "number_deaths",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "dates_active",
            ",",
            "number_deaths",
            "from",
            "storm",
            "where",
            "number_deaths",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names, dates active, and number of deaths for storms that had 1 or more death?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "dates",
            "active",
            ",",
            "and",
            "number",
            "of",
            "deaths",
            "for",
            "storms",
            "that",
            "had",
            "1",
            "or",
            "more",
            "death",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT avg(damage_millions_USD) ,  max(damage_millions_USD) FROM storm WHERE max_speed  >  1000",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "damage_millions_USD",
            ")",
            ",",
            "max",
            "(",
            "damage_millions_USD",
            ")",
            "FROM",
            "storm",
            "WHERE",
            "max_speed",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "damage_millions_usd",
            ")",
            ",",
            "max",
            "(",
            "damage_millions_usd",
            ")",
            "from",
            "storm",
            "where",
            "max_speed",
            ">",
            "value"
        ],
        "question": "Show the average and maximum damage for all storms with max speed higher than 1000.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "and",
            "maximum",
            "damage",
            "for",
            "all",
            "storms",
            "with",
            "max",
            "speed",
            "higher",
            "than",
            "1000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT avg(damage_millions_USD) ,  max(damage_millions_USD) FROM storm WHERE max_speed  >  1000",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "damage_millions_USD",
            ")",
            ",",
            "max",
            "(",
            "damage_millions_USD",
            ")",
            "FROM",
            "storm",
            "WHERE",
            "max_speed",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "damage_millions_usd",
            ")",
            ",",
            "max",
            "(",
            "damage_millions_usd",
            ")",
            "from",
            "storm",
            "where",
            "max_speed",
            ">",
            "value"
        ],
        "question": "What is the average and maximum damage in millions for storms that had a max speed over 1000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "and",
            "maximum",
            "damage",
            "in",
            "millions",
            "for",
            "storms",
            "that",
            "had",
            "a",
            "max",
            "speed",
            "over",
            "1000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT sum(number_deaths) ,  sum(damage_millions_USD) FROM storm WHERE max_speed  >  (SELECT avg(max_speed) FROM storm)",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "number_deaths",
            ")",
            ",",
            "sum",
            "(",
            "damage_millions_USD",
            ")",
            "FROM",
            "storm",
            "WHERE",
            "max_speed",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "max_speed",
            ")",
            "FROM",
            "storm",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "number_deaths",
            ")",
            ",",
            "sum",
            "(",
            "damage_millions_usd",
            ")",
            "from",
            "storm",
            "where",
            "max_speed",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "max_speed",
            ")",
            "from",
            "storm",
            ")"
        ],
        "question": "What is the total number of deaths and damage for all storms with a max speed greater than the average?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "deaths",
            "and",
            "damage",
            "for",
            "all",
            "storms",
            "with",
            "a",
            "max",
            "speed",
            "greater",
            "than",
            "the",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT sum(number_deaths) ,  sum(damage_millions_USD) FROM storm WHERE max_speed  >  (SELECT avg(max_speed) FROM storm)",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "number_deaths",
            ")",
            ",",
            "sum",
            "(",
            "damage_millions_USD",
            ")",
            "FROM",
            "storm",
            "WHERE",
            "max_speed",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "max_speed",
            ")",
            "FROM",
            "storm",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "number_deaths",
            ")",
            ",",
            "sum",
            "(",
            "damage_millions_usd",
            ")",
            "from",
            "storm",
            "where",
            "max_speed",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "max_speed",
            ")",
            "from",
            "storm",
            ")"
        ],
        "question": "Return the total number of deaths and total damange in millions for storms that had a max speed greater than the average.",
        "question_toks": [
            "Return",
            "the",
            "total",
            "number",
            "of",
            "deaths",
            "and",
            "total",
            "damange",
            "in",
            "millions",
            "for",
            "storms",
            "that",
            "had",
            "a",
            "max",
            "speed",
            "greater",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT name ,  damage_millions_USD FROM storm ORDER BY max_speed DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "damage_millions_USD",
            "FROM",
            "storm",
            "ORDER",
            "BY",
            "max_speed",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "damage_millions_usd",
            "from",
            "storm",
            "order",
            "by",
            "max_speed",
            "desc"
        ],
        "question": "List name and damage for all storms in a descending order of max speed.",
        "question_toks": [
            "List",
            "name",
            "and",
            "damage",
            "for",
            "all",
            "storms",
            "in",
            "a",
            "descending",
            "order",
            "of",
            "max",
            "speed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT name ,  damage_millions_USD FROM storm ORDER BY max_speed DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "damage_millions_USD",
            "FROM",
            "storm",
            "ORDER",
            "BY",
            "max_speed",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "damage_millions_usd",
            "from",
            "storm",
            "order",
            "by",
            "max_speed",
            "desc"
        ],
        "question": "What are the names and damage in millions for storms, ordered by their max speeds descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "damage",
            "in",
            "millions",
            "for",
            "storms",
            ",",
            "ordered",
            "by",
            "their",
            "max",
            "speeds",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT count(DISTINCT region_id) FROM affected_region",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "region_id",
            ")",
            "FROM",
            "affected_region"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "region_id",
            ")",
            "from",
            "affected_region"
        ],
        "question": "How many regions are affected?",
        "question_toks": [
            "How",
            "many",
            "regions",
            "are",
            "affected",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT count(DISTINCT region_id) FROM affected_region",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "region_id",
            ")",
            "FROM",
            "affected_region"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "region_id",
            ")",
            "from",
            "affected_region"
        ],
        "question": "Count the number of different affected regions.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "affected",
            "regions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT region_name FROM region WHERE region_id NOT IN (SELECT region_id FROM affected_region)",
        "query_toks": [
            "SELECT",
            "region_name",
            "FROM",
            "region",
            "WHERE",
            "region_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "region_id",
            "FROM",
            "affected_region",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "region_name",
            "from",
            "region",
            "where",
            "region_id",
            "not",
            "in",
            "(",
            "select",
            "region_id",
            "from",
            "affected_region",
            ")"
        ],
        "question": "Show the name for regions not affected.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "for",
            "regions",
            "not",
            "affected",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT region_name FROM region WHERE region_id NOT IN (SELECT region_id FROM affected_region)",
        "query_toks": [
            "SELECT",
            "region_name",
            "FROM",
            "region",
            "WHERE",
            "region_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "region_id",
            "FROM",
            "affected_region",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "region_name",
            "from",
            "region",
            "where",
            "region_id",
            "not",
            "in",
            "(",
            "select",
            "region_id",
            "from",
            "affected_region",
            ")"
        ],
        "question": "What are the names of regions that were not affected?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "regions",
            "that",
            "were",
            "not",
            "affected",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.region_name ,  count(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id",
        "query_toks": [
            "SELECT",
            "T1.region_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "region",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "GROUP",
            "BY",
            "T1.region_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "region_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "region",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "group",
            "by",
            "t1",
            ".",
            "region_id"
        ],
        "question": "Show the name for regions and the number of storms for each region.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "for",
            "regions",
            "and",
            "the",
            "number",
            "of",
            "storms",
            "for",
            "each",
            "region",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.region_name ,  count(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id",
        "query_toks": [
            "SELECT",
            "T1.region_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "region",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "GROUP",
            "BY",
            "T1.region_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "region_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "region",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "group",
            "by",
            "t1",
            ".",
            "region_id"
        ],
        "question": "How many storms occured in each region?",
        "question_toks": [
            "How",
            "many",
            "storms",
            "occured",
            "in",
            "each",
            "region",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.name ,  count(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id"
        ],
        "question": "List the name for storms and the number of affected regions for each storm.",
        "question_toks": [
            "List",
            "the",
            "name",
            "for",
            "storms",
            "and",
            "the",
            "number",
            "of",
            "affected",
            "regions",
            "for",
            "each",
            "storm",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.name ,  count(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id"
        ],
        "question": "How many regions were affected by each storm?",
        "question_toks": [
            "How",
            "many",
            "regions",
            "were",
            "affected",
            "by",
            "each",
            "storm",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.name ,  T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.max_speed",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "max_speed",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the storm name and max speed which affected the greatest number of regions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "storm",
            "name",
            "and",
            "max",
            "speed",
            "which",
            "affected",
            "the",
            "greatest",
            "number",
            "of",
            "regions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.name ,  T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.max_speed",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "max_speed",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name and max speed of the storm that affected the most regions.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "and",
            "max",
            "speed",
            "of",
            "the",
            "storm",
            "that",
            "affected",
            "the",
            "most",
            "regions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT name FROM storm WHERE storm_id NOT IN (SELECT storm_id FROM affected_region)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "storm",
            "WHERE",
            "storm_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "storm_id",
            "FROM",
            "affected_region",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "storm",
            "where",
            "storm_id",
            "not",
            "in",
            "(",
            "select",
            "storm_id",
            "from",
            "affected_region",
            ")"
        ],
        "question": "Show the name of storms which don't have affected region in record.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "storms",
            "which",
            "do",
            "n't",
            "have",
            "affected",
            "region",
            "in",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT name FROM storm WHERE storm_id NOT IN (SELECT storm_id FROM affected_region)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "storm",
            "WHERE",
            "storm_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "storm_id",
            "FROM",
            "affected_region",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "storm",
            "where",
            "storm_id",
            "not",
            "in",
            "(",
            "select",
            "storm_id",
            "from",
            "affected_region",
            ")"
        ],
        "question": "What are the names of storms that did not affect any regions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "storms",
            "that",
            "did",
            "not",
            "affect",
            "any",
            "regions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id HAVING count(*)  >=  2 INTERSECT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id HAVING sum(T2.number_city_affected)  >=  10",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id",
            "HAVING",
            "sum",
            "(",
            "T2.number_city_affected",
            ")",
            ">",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id",
            "having",
            "sum",
            "(",
            "t2",
            ".",
            "number_city_affected",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show storm name with at least two regions and 10 cities affected.",
        "question_toks": [
            "Show",
            "storm",
            "name",
            "with",
            "at",
            "least",
            "two",
            "regions",
            "and",
            "10",
            "cities",
            "affected",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        1,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                4,
                                12,
                                false
                            ],
                            null
                        ],
                        10.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id HAVING count(*)  >=  2 INTERSECT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id HAVING sum(T2.number_city_affected)  >=  10",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id",
            "HAVING",
            "sum",
            "(",
            "T2.number_city_affected",
            ")",
            ">",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id",
            "having",
            "sum",
            "(",
            "t2",
            ".",
            "number_city_affected",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of storms that both affected two or more regions and affected a total of 10 or more cities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "storms",
            "that",
            "both",
            "affected",
            "two",
            "or",
            "more",
            "regions",
            "and",
            "affected",
            "a",
            "total",
            "of",
            "10",
            "or",
            "more",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        1,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                4,
                                12,
                                false
                            ],
                            null
                        ],
                        10.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT name FROM storm EXCEPT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "storm",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "storm",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show all storm names except for those with at least two affected regions.",
        "question_toks": [
            "Show",
            "all",
            "storm",
            "names",
            "except",
            "for",
            "those",
            "with",
            "at",
            "least",
            "two",
            "affected",
            "regions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        1,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT name FROM storm EXCEPT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id  =  T2.storm_id GROUP BY T1.storm_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "storm",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "storm",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.storm_id",
            "=",
            "T2.storm_id",
            "GROUP",
            "BY",
            "T1.storm_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "storm",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "storm",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t2",
            ".",
            "storm_id",
            "group",
            "by",
            "t1",
            ".",
            "storm_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of storms that did not affect two or more regions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "storms",
            "that",
            "did",
            "not",
            "affect",
            "two",
            "or",
            "more",
            "regions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        1,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id WHERE T3.number_deaths  >=  10",
        "query_toks": [
            "SELECT",
            "T2.region_name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "WHERE",
            "T3.number_deaths",
            ">",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "region_name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "where",
            "t3",
            ".",
            "number_deaths",
            ">",
            "=",
            "value"
        ],
        "question": "What are the region names affected by the storm with a number of deaths of least 10?",
        "question_toks": [
            "What",
            "are",
            "the",
            "region",
            "names",
            "affected",
            "by",
            "the",
            "storm",
            "with",
            "a",
            "number",
            "of",
            "deaths",
            "of",
            "least",
            "10",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id WHERE T3.number_deaths  >=  10",
        "query_toks": [
            "SELECT",
            "T2.region_name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "WHERE",
            "T3.number_deaths",
            ">",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "region_name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "where",
            "t3",
            ".",
            "number_deaths",
            ">",
            "=",
            "value"
        ],
        "question": "Return the names of the regions affected by storms that had a death count of at least 10.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "the",
            "regions",
            "affected",
            "by",
            "storms",
            "that",
            "had",
            "a",
            "death",
            "count",
            "of",
            "at",
            "least",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T3.name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id WHERE T2.region_name  =  'Denmark'",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "WHERE",
            "T2.region_name",
            "=",
            "'Denmark",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "where",
            "t2",
            ".",
            "region_name",
            "=",
            "value"
        ],
        "question": "Show all storm names affecting region \"Denmark\".",
        "question_toks": [
            "Show",
            "all",
            "storm",
            "names",
            "affecting",
            "region",
            "``",
            "Denmark",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Denmark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T3.name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id WHERE T2.region_name  =  'Denmark'",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "WHERE",
            "T2.region_name",
            "=",
            "'Denmark",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "where",
            "t2",
            ".",
            "region_name",
            "=",
            "value"
        ],
        "question": "What are the names of the storms that affected Denmark?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "storms",
            "that",
            "affected",
            "Denmark",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Denmark\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.region_name FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.region_name",
            "FROM",
            "region",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "GROUP",
            "BY",
            "T1.region_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "region_name",
            "from",
            "region",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "group",
            "by",
            "t1",
            ".",
            "region_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the region name with at least two storms.",
        "question_toks": [
            "Show",
            "the",
            "region",
            "name",
            "with",
            "at",
            "least",
            "two",
            "storms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T1.region_name FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.region_name",
            "FROM",
            "region",
            "AS",
            "T1",
            "JOIN",
            "affected_region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "GROUP",
            "BY",
            "T1.region_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "region_name",
            "from",
            "region",
            "as",
            "t1",
            "join",
            "affected_region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "group",
            "by",
            "t1",
            ".",
            "region_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of regions with two or more storms?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "regions",
            "with",
            "two",
            "or",
            "more",
            "storms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id ORDER BY T3.Number_Deaths DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.region_name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "ORDER",
            "BY",
            "T3.Number_Deaths",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "region_name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "order",
            "by",
            "t3",
            ".",
            "number_deaths",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the names of the regions which were affected by the storm that killed the greatest number of people.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "regions",
            "which",
            "were",
            "affected",
            "by",
            "the",
            "storm",
            "that",
            "killed",
            "the",
            "greatest",
            "number",
            "of",
            "people",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id ORDER BY T3.Number_Deaths DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.region_name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "ORDER",
            "BY",
            "T3.Number_Deaths",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "region_name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "order",
            "by",
            "t3",
            ".",
            "number_deaths",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of regions that were affected by the storm in which the most people died?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "regions",
            "that",
            "were",
            "affected",
            "by",
            "the",
            "storm",
            "in",
            "which",
            "the",
            "most",
            "people",
            "died",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id WHERE T2.Region_name  =  'Afghanistan' INTERSECT SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id WHERE T2.Region_name  =  'Albania'",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "WHERE",
            "T2.Region_name",
            "=",
            "'Afghanistan",
            "'",
            "INTERSECT",
            "SELECT",
            "T3.Name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "WHERE",
            "T2.Region_name",
            "=",
            "'Albania",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "where",
            "t2",
            ".",
            "region_name",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "where",
            "t2",
            ".",
            "region_name",
            "=",
            "value"
        ],
        "question": "Find the name of the storm that affected both Afghanistan and Albania regions.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "storm",
            "that",
            "affected",
            "both",
            "Afghanistan",
            "and",
            "Albania",
            "regions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Afghanistan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Albania\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "storm_record",
        "query": "SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id WHERE T2.Region_name  =  'Afghanistan' INTERSECT SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id  =  T2.region_id JOIN storm AS T3 ON T1.storm_id  =  T3.storm_id WHERE T2.Region_name  =  'Albania'",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "WHERE",
            "T2.Region_name",
            "=",
            "'Afghanistan",
            "'",
            "INTERSECT",
            "SELECT",
            "T3.Name",
            "FROM",
            "affected_region",
            "AS",
            "T1",
            "JOIN",
            "region",
            "AS",
            "T2",
            "ON",
            "T1.region_id",
            "=",
            "T2.region_id",
            "JOIN",
            "storm",
            "AS",
            "T3",
            "ON",
            "T1.storm_id",
            "=",
            "T3.storm_id",
            "WHERE",
            "T2.Region_name",
            "=",
            "'Albania",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "where",
            "t2",
            ".",
            "region_name",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "affected_region",
            "as",
            "t1",
            "join",
            "region",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "region_id",
            "=",
            "t2",
            ".",
            "region_id",
            "join",
            "storm",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "storm_id",
            "=",
            "t3",
            ".",
            "storm_id",
            "where",
            "t2",
            ".",
            "region_name",
            "=",
            "value"
        ],
        "question": "What are the names of the storms that affected both the regions of Afghanistan and Albania?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "storms",
            "that",
            "affected",
            "both",
            "the",
            "regions",
            "of",
            "Afghanistan",
            "and",
            "Albania",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Afghanistan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Albania\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT count(*) FROM county",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "county"
        ],
        "question": "How many counties are there in total?",
        "question_toks": [
            "How",
            "many",
            "counties",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT count(*) FROM county",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "county"
        ],
        "question": "Count the total number of counties.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "counties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name ,  Population FROM county",
        "query_toks": [
            "SELECT",
            "County_name",
            ",",
            "Population",
            "FROM",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            ",",
            "population",
            "from",
            "county"
        ],
        "question": "Show the county name and population of all counties.",
        "question_toks": [
            "Show",
            "the",
            "county",
            "name",
            "and",
            "population",
            "of",
            "all",
            "counties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name ,  Population FROM county",
        "query_toks": [
            "SELECT",
            "County_name",
            ",",
            "Population",
            "FROM",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            ",",
            "population",
            "from",
            "county"
        ],
        "question": "What are the name and population of each county?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "population",
            "of",
            "each",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT avg(Population) FROM county",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Population",
            ")",
            "FROM",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "population",
            ")",
            "from",
            "county"
        ],
        "question": "Show the average population of all counties.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "population",
            "of",
            "all",
            "counties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT avg(Population) FROM county",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Population",
            ")",
            "FROM",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "population",
            ")",
            "from",
            "county"
        ],
        "question": "On average how large is the population of the counties?",
        "question_toks": [
            "On",
            "average",
            "how",
            "large",
            "is",
            "the",
            "population",
            "of",
            "the",
            "counties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT max(Population) ,  min(Population) FROM county",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Population",
            ")",
            ",",
            "min",
            "(",
            "Population",
            ")",
            "FROM",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "population",
            ")",
            ",",
            "min",
            "(",
            "population",
            ")",
            "from",
            "county"
        ],
        "question": "Return the maximum and minimum population among all counties.",
        "question_toks": [
            "Return",
            "the",
            "maximum",
            "and",
            "minimum",
            "population",
            "among",
            "all",
            "counties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT max(Population) ,  min(Population) FROM county",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Population",
            ")",
            ",",
            "min",
            "(",
            "Population",
            ")",
            "FROM",
            "county"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "population",
            ")",
            ",",
            "min",
            "(",
            "population",
            ")",
            "from",
            "county"
        ],
        "question": "What are the maximum and minimum population of the counties?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "population",
            "of",
            "the",
            "counties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT DISTINCT District FROM election",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "District",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "district",
            "from",
            "election"
        ],
        "question": "Show all the distinct districts for elections.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "distinct",
            "districts",
            "for",
            "elections",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT DISTINCT District FROM election",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "District",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "district",
            "from",
            "election"
        ],
        "question": "What are the distinct districts for elections?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "districts",
            "for",
            "elections",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Zip_code FROM county WHERE County_name  =  \"Howard\"",
        "query_toks": [
            "SELECT",
            "Zip_code",
            "FROM",
            "county",
            "WHERE",
            "County_name",
            "=",
            "``",
            "Howard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            "from",
            "county",
            "where",
            "county_name",
            "=",
            "value"
        ],
        "question": "Show the zip code of the county with name \"Howard\".",
        "question_toks": [
            "Show",
            "the",
            "zip",
            "code",
            "of",
            "the",
            "county",
            "with",
            "name",
            "``",
            "Howard",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Howard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Zip_code FROM county WHERE County_name  =  \"Howard\"",
        "query_toks": [
            "SELECT",
            "Zip_code",
            "FROM",
            "county",
            "WHERE",
            "County_name",
            "=",
            "``",
            "Howard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "zip_code",
            "from",
            "county",
            "where",
            "county_name",
            "=",
            "value"
        ],
        "question": "What is the zip code the county named \"Howard\" is located in?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "the",
            "county",
            "named",
            "``",
            "Howard",
            "''",
            "is",
            "located",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Howard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Delegate FROM election WHERE District  =  1",
        "query_toks": [
            "SELECT",
            "Delegate",
            "FROM",
            "election",
            "WHERE",
            "District",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "delegate",
            "from",
            "election",
            "where",
            "district",
            "=",
            "value"
        ],
        "question": "Show the delegate from district 1 in election.",
        "question_toks": [
            "Show",
            "the",
            "delegate",
            "from",
            "district",
            "1",
            "in",
            "election",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Delegate FROM election WHERE District  =  1",
        "query_toks": [
            "SELECT",
            "Delegate",
            "FROM",
            "election",
            "WHERE",
            "District",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "delegate",
            "from",
            "election",
            "where",
            "district",
            "=",
            "value"
        ],
        "question": "Who is the delegate of district 1 in the elections?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "delegate",
            "of",
            "district",
            "1",
            "in",
            "the",
            "elections",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Delegate ,  Committee FROM election",
        "query_toks": [
            "SELECT",
            "Delegate",
            ",",
            "Committee",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "delegate",
            ",",
            "committee",
            "from",
            "election"
        ],
        "question": "Show the delegate and committee information of elections.",
        "question_toks": [
            "Show",
            "the",
            "delegate",
            "and",
            "committee",
            "information",
            "of",
            "elections",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Delegate ,  Committee FROM election",
        "query_toks": [
            "SELECT",
            "Delegate",
            ",",
            "Committee",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "delegate",
            ",",
            "committee",
            "from",
            "election"
        ],
        "question": "What are the delegate and committee information for each election record?",
        "question_toks": [
            "What",
            "are",
            "the",
            "delegate",
            "and",
            "committee",
            "information",
            "for",
            "each",
            "election",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT count(DISTINCT Governor) FROM party",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Governor",
            ")",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "governor",
            ")",
            "from",
            "party"
        ],
        "question": "How many distinct governors are there?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "governors",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT count(DISTINCT Governor) FROM party",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Governor",
            ")",
            "FROM",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "governor",
            ")",
            "from",
            "party"
        ],
        "question": "Count the number of distinct governors.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "governors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Lieutenant_Governor ,  Comptroller FROM party WHERE Party  =  \"Democratic\"",
        "query_toks": [
            "SELECT",
            "Lieutenant_Governor",
            ",",
            "Comptroller",
            "FROM",
            "party",
            "WHERE",
            "Party",
            "=",
            "``",
            "Democratic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "lieutenant_governor",
            ",",
            "comptroller",
            "from",
            "party",
            "where",
            "party",
            "=",
            "value"
        ],
        "question": "Show the lieutenant governor and comptroller from the democratic party.",
        "question_toks": [
            "Show",
            "the",
            "lieutenant",
            "governor",
            "and",
            "comptroller",
            "from",
            "the",
            "democratic",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Democratic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Lieutenant_Governor ,  Comptroller FROM party WHERE Party  =  \"Democratic\"",
        "query_toks": [
            "SELECT",
            "Lieutenant_Governor",
            ",",
            "Comptroller",
            "FROM",
            "party",
            "WHERE",
            "Party",
            "=",
            "``",
            "Democratic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "lieutenant_governor",
            ",",
            "comptroller",
            "from",
            "party",
            "where",
            "party",
            "=",
            "value"
        ],
        "question": "Who are the lieutenant governor and comptroller from the democratic party?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "lieutenant",
            "governor",
            "and",
            "comptroller",
            "from",
            "the",
            "democratic",
            "party",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Democratic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT DISTINCT YEAR FROM party WHERE Governor  =  \"Eliot Spitzer\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "YEAR",
            "FROM",
            "party",
            "WHERE",
            "Governor",
            "=",
            "``",
            "Eliot",
            "Spitzer",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "year",
            "from",
            "party",
            "where",
            "governor",
            "=",
            "value"
        ],
        "question": "In which distinct years was the governor \"Eliot Spitzer\"?",
        "question_toks": [
            "In",
            "which",
            "distinct",
            "years",
            "was",
            "the",
            "governor",
            "``",
            "Eliot",
            "Spitzer",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Eliot Spitzer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT DISTINCT YEAR FROM party WHERE Governor  =  \"Eliot Spitzer\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "YEAR",
            "FROM",
            "party",
            "WHERE",
            "Governor",
            "=",
            "``",
            "Eliot",
            "Spitzer",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "year",
            "from",
            "party",
            "where",
            "governor",
            "=",
            "value"
        ],
        "question": "Find the distinct years when the governor was named \"Eliot Spitzer\".",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "years",
            "when",
            "the",
            "governor",
            "was",
            "named",
            "``",
            "Eliot",
            "Spitzer",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Eliot Spitzer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT * FROM election",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "election"
        ],
        "question": "Show all the information about election.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "information",
            "about",
            "election",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT * FROM election",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "election"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "election"
        ],
        "question": "Return all the information for each election record.",
        "question_toks": [
            "Return",
            "all",
            "the",
            "information",
            "for",
            "each",
            "election",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Delegate ,  T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District",
        "query_toks": [
            "SELECT",
            "T2.Delegate",
            ",",
            "T1.County_name",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "delegate",
            ",",
            "t1",
            ".",
            "county_name",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district"
        ],
        "question": "Show the delegates and the names of county they belong to.",
        "question_toks": [
            "Show",
            "the",
            "delegates",
            "and",
            "the",
            "names",
            "of",
            "county",
            "they",
            "belong",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Delegate ,  T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District",
        "query_toks": [
            "SELECT",
            "T2.Delegate",
            ",",
            "T1.County_name",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "delegate",
            ",",
            "t1",
            ".",
            "county_name",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district"
        ],
        "question": "What are the delegate and name of the county they belong to, for each county?",
        "question_toks": [
            "What",
            "are",
            "the",
            "delegate",
            "and",
            "name",
            "of",
            "the",
            "county",
            "they",
            "belong",
            "to",
            ",",
            "for",
            "each",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Delegate FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District WHERE T1.Population  <  100000",
        "query_toks": [
            "SELECT",
            "T2.Delegate",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "WHERE",
            "T1.Population",
            "<",
            "100000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "delegate",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "where",
            "t1",
            ".",
            "population",
            "<",
            "value"
        ],
        "question": "Which delegates are from counties with population smaller than 100000?",
        "question_toks": [
            "Which",
            "delegates",
            "are",
            "from",
            "counties",
            "with",
            "population",
            "smaller",
            "than",
            "100000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Delegate FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District WHERE T1.Population  <  100000",
        "query_toks": [
            "SELECT",
            "T2.Delegate",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "WHERE",
            "T1.Population",
            "<",
            "100000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "delegate",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "where",
            "t1",
            ".",
            "population",
            "<",
            "value"
        ],
        "question": "Find the delegates who are from counties with population below 100000.",
        "question_toks": [
            "Find",
            "the",
            "delegates",
            "who",
            "are",
            "from",
            "counties",
            "with",
            "population",
            "below",
            "100000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT count(DISTINCT T2.Delegate) FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District WHERE T1.Population  >  50000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T2.Delegate",
            ")",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "WHERE",
            "T1.Population",
            ">",
            "50000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "delegate",
            ")",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "where",
            "t1",
            ".",
            "population",
            ">",
            "value"
        ],
        "question": "How many distinct delegates are from counties with population larger than 50000?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "delegates",
            "are",
            "from",
            "counties",
            "with",
            "population",
            "larger",
            "than",
            "50000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                16,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT count(DISTINCT T2.Delegate) FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District WHERE T1.Population  >  50000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T2.Delegate",
            ")",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "WHERE",
            "T1.Population",
            ">",
            "50000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "delegate",
            ")",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "where",
            "t1",
            ".",
            "population",
            ">",
            "value"
        ],
        "question": "Count the number of distinct delegates who are from counties with population above 50000.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "delegates",
            "who",
            "are",
            "from",
            "counties",
            "with",
            "population",
            "above",
            "50000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                16,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    50000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District WHERE T2.Committee  =  \"Appropriations\"",
        "query_toks": [
            "SELECT",
            "T1.County_name",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "WHERE",
            "T2.Committee",
            "=",
            "``",
            "Appropriations",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county_name",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "where",
            "t2",
            ".",
            "committee",
            "=",
            "value"
        ],
        "question": "What are the names of the county that the delegates on \"Appropriations\" committee belong to?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "county",
            "that",
            "the",
            "delegates",
            "on",
            "``",
            "Appropriations",
            "''",
            "committee",
            "belong",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Appropriations\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District WHERE T2.Committee  =  \"Appropriations\"",
        "query_toks": [
            "SELECT",
            "T1.County_name",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "WHERE",
            "T2.Committee",
            "=",
            "``",
            "Appropriations",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county_name",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "where",
            "t2",
            ".",
            "committee",
            "=",
            "value"
        ],
        "question": "Which county do the delegates on \"Appropriations\" committee belong to? Give me the county names.",
        "question_toks": [
            "Which",
            "county",
            "do",
            "the",
            "delegates",
            "on",
            "``",
            "Appropriations",
            "''",
            "committee",
            "belong",
            "to",
            "?",
            "Give",
            "me",
            "the",
            "county",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Appropriations\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.Delegate ,  T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID",
        "query_toks": [
            "SELECT",
            "T1.Delegate",
            ",",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "delegate",
            ",",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id"
        ],
        "question": "Show the delegates and the names of the party they belong to.",
        "question_toks": [
            "Show",
            "the",
            "delegates",
            "and",
            "the",
            "names",
            "of",
            "the",
            "party",
            "they",
            "belong",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.Delegate ,  T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID",
        "query_toks": [
            "SELECT",
            "T1.Delegate",
            ",",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "delegate",
            ",",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id"
        ],
        "question": "For each delegate, find the names of the party they are part of.",
        "question_toks": [
            "For",
            "each",
            "delegate",
            ",",
            "find",
            "the",
            "names",
            "of",
            "the",
            "party",
            "they",
            "are",
            "part",
            "of",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Governor FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.District  =  1",
        "query_toks": [
            "SELECT",
            "T2.Governor",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T1.District",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "governor",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "district",
            "=",
            "value"
        ],
        "question": "Who were the governors of the parties associated with delegates from district 1?",
        "question_toks": [
            "Who",
            "were",
            "the",
            "governors",
            "of",
            "the",
            "parties",
            "associated",
            "with",
            "delegates",
            "from",
            "district",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Governor FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.District  =  1",
        "query_toks": [
            "SELECT",
            "T2.Governor",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T1.District",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "governor",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "district",
            "=",
            "value"
        ],
        "question": "Find the parties associated with the delegates from district 1. Who served as governors of the parties?",
        "question_toks": [
            "Find",
            "the",
            "parties",
            "associated",
            "with",
            "the",
            "delegates",
            "from",
            "district",
            "1.",
            "Who",
            "served",
            "as",
            "governors",
            "of",
            "the",
            "parties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Comptroller FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.District  =  1 OR T1.District  =  2",
        "query_toks": [
            "SELECT",
            "T2.Comptroller",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T1.District",
            "=",
            "1",
            "OR",
            "T1.District",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "comptroller",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "district",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "district",
            "=",
            "value"
        ],
        "question": "Who were the comptrollers of the parties associated with the delegates from district 1 or district 2?",
        "question_toks": [
            "Who",
            "were",
            "the",
            "comptrollers",
            "of",
            "the",
            "parties",
            "associated",
            "with",
            "the",
            "delegates",
            "from",
            "district",
            "1",
            "or",
            "district",
            "2",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Comptroller FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.District  =  1 OR T1.District  =  2",
        "query_toks": [
            "SELECT",
            "T2.Comptroller",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T1.District",
            "=",
            "1",
            "OR",
            "T1.District",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "comptroller",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "district",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "district",
            "=",
            "value"
        ],
        "question": "Find the parties associated with the delegates from district 1 or 2. Who served as comptrollers of the parties?",
        "question_toks": [
            "Find",
            "the",
            "parties",
            "associated",
            "with",
            "the",
            "delegates",
            "from",
            "district",
            "1",
            "or",
            "2.",
            "Who",
            "served",
            "as",
            "comptrollers",
            "of",
            "the",
            "parties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  \"Democratic\"",
        "query_toks": [
            "SELECT",
            "T1.Committee",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T2.Party",
            "=",
            "``",
            "Democratic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "committee",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "party",
            "=",
            "value"
        ],
        "question": "Return all the committees that have delegates from Democratic party.",
        "question_toks": [
            "Return",
            "all",
            "the",
            "committees",
            "that",
            "have",
            "delegates",
            "from",
            "Democratic",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Democratic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  \"Democratic\"",
        "query_toks": [
            "SELECT",
            "T1.Committee",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T2.Party",
            "=",
            "``",
            "Democratic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "committee",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "party",
            "=",
            "value"
        ],
        "question": "Which committees have delegates from the Democratic party?",
        "question_toks": [
            "Which",
            "committees",
            "have",
            "delegates",
            "from",
            "the",
            "Democratic",
            "party",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Democratic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.County_name ,  COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District GROUP BY T1.County_id",
        "query_toks": [
            "SELECT",
            "T1.County_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "GROUP",
            "BY",
            "T1.County_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "group",
            "by",
            "t1",
            ".",
            "county_id"
        ],
        "question": "Show the name of each county along with the corresponding number of delegates from that county.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "each",
            "county",
            "along",
            "with",
            "the",
            "corresponding",
            "number",
            "of",
            "delegates",
            "from",
            "that",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.County_name ,  COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District GROUP BY T1.County_id",
        "query_toks": [
            "SELECT",
            "T1.County_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "GROUP",
            "BY",
            "T1.County_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "group",
            "by",
            "t1",
            ".",
            "county_id"
        ],
        "question": "For each county, find the name of the county and the number of delegates from that county.",
        "question_toks": [
            "For",
            "each",
            "county",
            ",",
            "find",
            "the",
            "name",
            "of",
            "the",
            "county",
            "and",
            "the",
            "number",
            "of",
            "delegates",
            "from",
            "that",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Party ,  COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID GROUP BY T1.Party",
        "query_toks": [
            "SELECT",
            "T2.Party",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "GROUP",
            "BY",
            "T1.Party"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party"
        ],
        "question": "Show the name of each party and the corresponding number of delegates from that party.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "each",
            "party",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "delegates",
            "from",
            "that",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Party ,  COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID GROUP BY T1.Party",
        "query_toks": [
            "SELECT",
            "T2.Party",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "GROUP",
            "BY",
            "T1.Party"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party"
        ],
        "question": "For each party, return the name of the party and the number of delegates from that party.",
        "question_toks": [
            "For",
            "each",
            "party",
            ",",
            "return",
            "the",
            "name",
            "of",
            "the",
            "party",
            "and",
            "the",
            "number",
            "of",
            "delegates",
            "from",
            "that",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name FROM county ORDER BY Population ASC",
        "query_toks": [
            "SELECT",
            "County_name",
            "FROM",
            "county",
            "ORDER",
            "BY",
            "Population",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            "from",
            "county",
            "order",
            "by",
            "population",
            "asc"
        ],
        "question": "Return the names of all counties sorted by population in ascending order.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "all",
            "counties",
            "sorted",
            "by",
            "population",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name FROM county ORDER BY Population ASC",
        "query_toks": [
            "SELECT",
            "County_name",
            "FROM",
            "county",
            "ORDER",
            "BY",
            "Population",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            "from",
            "county",
            "order",
            "by",
            "population",
            "asc"
        ],
        "question": "Sort the names of all counties in ascending order of population.",
        "question_toks": [
            "Sort",
            "the",
            "names",
            "of",
            "all",
            "counties",
            "in",
            "ascending",
            "order",
            "of",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name FROM county ORDER BY County_name DESC",
        "query_toks": [
            "SELECT",
            "County_name",
            "FROM",
            "county",
            "ORDER",
            "BY",
            "County_name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            "from",
            "county",
            "order",
            "by",
            "county_name",
            "desc"
        ],
        "question": "Return the names of all counties sorted by county name in descending alphabetical order.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "all",
            "counties",
            "sorted",
            "by",
            "county",
            "name",
            "in",
            "descending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name FROM county ORDER BY County_name DESC",
        "query_toks": [
            "SELECT",
            "County_name",
            "FROM",
            "county",
            "ORDER",
            "BY",
            "County_name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            "from",
            "county",
            "order",
            "by",
            "county_name",
            "desc"
        ],
        "question": "Sort the names of all counties in descending alphabetical order.",
        "question_toks": [
            "Sort",
            "the",
            "names",
            "of",
            "all",
            "counties",
            "in",
            "descending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name FROM county ORDER BY Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "County_name",
            "FROM",
            "county",
            "ORDER",
            "BY",
            "Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            "from",
            "county",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name of the county with the biggest population.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "the",
            "county",
            "with",
            "the",
            "biggest",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name FROM county ORDER BY Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "County_name",
            "FROM",
            "county",
            "ORDER",
            "BY",
            "Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            "from",
            "county",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which county has the largest population? Give me the name of the county.",
        "question_toks": [
            "Which",
            "county",
            "has",
            "the",
            "largest",
            "population",
            "?",
            "Give",
            "me",
            "the",
            "name",
            "of",
            "the",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name FROM county ORDER BY Population ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "County_name",
            "FROM",
            "county",
            "ORDER",
            "BY",
            "Population",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            "from",
            "county",
            "order",
            "by",
            "population",
            "asc",
            "limit",
            "value"
        ],
        "question": "Show the 3 counties with the smallest population.",
        "question_toks": [
            "Show",
            "the",
            "3",
            "counties",
            "with",
            "the",
            "smallest",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT County_name FROM county ORDER BY Population ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "County_name",
            "FROM",
            "county",
            "ORDER",
            "BY",
            "Population",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "county_name",
            "from",
            "county",
            "order",
            "by",
            "population",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the 3 counties that have the smallest population? Give me the county names.",
        "question_toks": [
            "What",
            "are",
            "the",
            "3",
            "counties",
            "that",
            "have",
            "the",
            "smallest",
            "population",
            "?",
            "Give",
            "me",
            "the",
            "county",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District GROUP BY T1.County_id HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.County_name",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "GROUP",
            "BY",
            "T1.County_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county_name",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "group",
            "by",
            "t1",
            ".",
            "county_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the names of counties that have at least two delegates.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "counties",
            "that",
            "have",
            "at",
            "least",
            "two",
            "delegates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District GROUP BY T1.County_id HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.County_name",
            "FROM",
            "county",
            "AS",
            "T1",
            "JOIN",
            "election",
            "AS",
            "T2",
            "ON",
            "T1.County_id",
            "=",
            "T2.District",
            "GROUP",
            "BY",
            "T1.County_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county_name",
            "from",
            "county",
            "as",
            "t1",
            "join",
            "election",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "county_id",
            "=",
            "t2",
            ".",
            "district",
            "group",
            "by",
            "t1",
            ".",
            "county_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which counties have two or more delegates? Give me the county names.",
        "question_toks": [
            "Which",
            "counties",
            "have",
            "two",
            "or",
            "more",
            "delegates",
            "?",
            "Give",
            "me",
            "the",
            "county",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Party FROM party GROUP BY Party HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Party",
            "FROM",
            "party",
            "GROUP",
            "BY",
            "Party",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "party",
            "group",
            "by",
            "party",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the name of the party that has at least two records.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "the",
            "party",
            "that",
            "has",
            "at",
            "least",
            "two",
            "records",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Party FROM party GROUP BY Party HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Party",
            "FROM",
            "party",
            "GROUP",
            "BY",
            "Party",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "party",
            "group",
            "by",
            "party",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which party has two or more records?",
        "question_toks": [
            "Which",
            "party",
            "has",
            "two",
            "or",
            "more",
            "records",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID GROUP BY T1.Party ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "GROUP",
            "BY",
            "T1.Party",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name of the party that has the most delegates.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "the",
            "party",
            "that",
            "has",
            "the",
            "most",
            "delegates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID GROUP BY T1.Party ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "GROUP",
            "BY",
            "T1.Party",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "group",
            "by",
            "t1",
            ".",
            "party",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which party has the largest number of delegates?",
        "question_toks": [
            "Which",
            "party",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "delegates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Governor FROM party GROUP BY Governor ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Governor",
            "FROM",
            "party",
            "GROUP",
            "BY",
            "Governor",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "governor",
            "from",
            "party",
            "group",
            "by",
            "governor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the people that have been governor the most times.",
        "question_toks": [
            "Show",
            "the",
            "people",
            "that",
            "have",
            "been",
            "governor",
            "the",
            "most",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Governor FROM party GROUP BY Governor ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Governor",
            "FROM",
            "party",
            "GROUP",
            "BY",
            "Governor",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "governor",
            "from",
            "party",
            "group",
            "by",
            "governor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which people severed as governor most frequently?",
        "question_toks": [
            "Which",
            "people",
            "severed",
            "as",
            "governor",
            "most",
            "frequently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Comptroller ,  COUNT(*) FROM party GROUP BY Comptroller ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Comptroller",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "party",
            "GROUP",
            "BY",
            "Comptroller",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "comptroller",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "party",
            "group",
            "by",
            "comptroller",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the people that have been comptroller the most times and the corresponding number of times.",
        "question_toks": [
            "Show",
            "the",
            "people",
            "that",
            "have",
            "been",
            "comptroller",
            "the",
            "most",
            "times",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Comptroller ,  COUNT(*) FROM party GROUP BY Comptroller ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Comptroller",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "party",
            "GROUP",
            "BY",
            "Comptroller",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "comptroller",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "party",
            "group",
            "by",
            "comptroller",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which people severed as comptroller most frequently? Give me the name of the person and the frequency count.",
        "question_toks": [
            "Which",
            "people",
            "severed",
            "as",
            "comptroller",
            "most",
            "frequently",
            "?",
            "Give",
            "me",
            "the",
            "name",
            "of",
            "the",
            "person",
            "and",
            "the",
            "frequency",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Party FROM party WHERE Party_ID NOT IN (SELECT Party FROM election)",
        "query_toks": [
            "SELECT",
            "Party",
            "FROM",
            "party",
            "WHERE",
            "Party_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Party",
            "FROM",
            "election",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "party",
            "where",
            "party_id",
            "not",
            "in",
            "(",
            "select",
            "party",
            "from",
            "election",
            ")"
        ],
        "question": "What are the names of parties that do not have delegates in election?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "parties",
            "that",
            "do",
            "not",
            "have",
            "delegates",
            "in",
            "election",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT Party FROM party WHERE Party_ID NOT IN (SELECT Party FROM election)",
        "query_toks": [
            "SELECT",
            "Party",
            "FROM",
            "party",
            "WHERE",
            "Party_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Party",
            "FROM",
            "election",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "party",
            "where",
            "party_id",
            "not",
            "in",
            "(",
            "select",
            "party",
            "from",
            "election",
            ")"
        ],
        "question": "Which parties did not have any delegates in elections?",
        "question_toks": [
            "Which",
            "parties",
            "did",
            "not",
            "have",
            "any",
            "delegates",
            "in",
            "elections",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.Committee  =  \"Appropriations\" INTERSECT SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.Committee  =  \"Economic Matters\"",
        "query_toks": [
            "SELECT",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T1.Committee",
            "=",
            "``",
            "Appropriations",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T1.Committee",
            "=",
            "``",
            "Economic",
            "Matters",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "committee",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "committee",
            "=",
            "value"
        ],
        "question": "What are the names of parties that have both delegates on \"Appropriations\" committee and",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "parties",
            "that",
            "have",
            "both",
            "delegates",
            "on",
            "``",
            "Appropriations",
            "''",
            "committee",
            "and"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Appropriations\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Economic Matters\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.Committee  =  \"Appropriations\" INTERSECT SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T1.Committee  =  \"Economic Matters\"",
        "query_toks": [
            "SELECT",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T1.Committee",
            "=",
            "``",
            "Appropriations",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.Party",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T1.Committee",
            "=",
            "``",
            "Economic",
            "Matters",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "committee",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "party",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t1",
            ".",
            "committee",
            "=",
            "value"
        ],
        "question": "Which parties have delegates in both the \"Appropriations\" committee and the \"Economic Matters\" committee?",
        "question_toks": [
            "Which",
            "parties",
            "have",
            "delegates",
            "in",
            "both",
            "the",
            "``",
            "Appropriations",
            "''",
            "committee",
            "and",
            "the",
            "``",
            "Economic",
            "Matters",
            "''",
            "committee",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Appropriations\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Economic Matters\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  \"Democratic\" INTERSECT SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  \"Liberal\"",
        "query_toks": [
            "SELECT",
            "T1.Committee",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T2.Party",
            "=",
            "``",
            "Democratic",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Committee",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T2.Party",
            "=",
            "``",
            "Liberal",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "committee",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "party",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "committee",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "party",
            "=",
            "value"
        ],
        "question": "Which committees have delegates from both democratic party and liberal party?",
        "question_toks": [
            "Which",
            "committees",
            "have",
            "delegates",
            "from",
            "both",
            "democratic",
            "party",
            "and",
            "liberal",
            "party",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Democratic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"Liberal\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "election",
        "query": "SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  \"Democratic\" INTERSECT SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID WHERE T2.Party  =  \"Liberal\"",
        "query_toks": [
            "SELECT",
            "T1.Committee",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T2.Party",
            "=",
            "``",
            "Democratic",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Committee",
            "FROM",
            "election",
            "AS",
            "T1",
            "JOIN",
            "party",
            "AS",
            "T2",
            "ON",
            "T1.Party",
            "=",
            "T2.Party_ID",
            "WHERE",
            "T2.Party",
            "=",
            "``",
            "Liberal",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "committee",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "party",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "committee",
            "from",
            "election",
            "as",
            "t1",
            "join",
            "party",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "party",
            "=",
            "value"
        ],
        "question": "Find the committees that have delegates both from from the democratic party and the liberal party.",
        "question_toks": [
            "Find",
            "the",
            "committees",
            "that",
            "have",
            "delegates",
            "both",
            "from",
            "from",
            "the",
            "democratic",
            "party",
            "and",
            "the",
            "liberal",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Democratic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"Liberal\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT count(*) FROM journalist",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "journalist"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "journalist"
        ],
        "question": "How many journalists are there?",
        "question_toks": [
            "How",
            "many",
            "journalists",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Name FROM journalist ORDER BY Years_working ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "journalist",
            "ORDER",
            "BY",
            "Years_working",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "journalist",
            "order",
            "by",
            "years_working",
            "asc"
        ],
        "question": "List the names of journalists in ascending order of years working.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "journalists",
            "in",
            "ascending",
            "order",
            "of",
            "years",
            "working",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Nationality ,  Age FROM journalist",
        "query_toks": [
            "SELECT",
            "Nationality",
            ",",
            "Age",
            "FROM",
            "journalist"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            ",",
            "age",
            "from",
            "journalist"
        ],
        "question": "What are the nationalities and ages of journalists?",
        "question_toks": [
            "What",
            "are",
            "the",
            "nationalities",
            "and",
            "ages",
            "of",
            "journalists",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Name FROM journalist WHERE Nationality  =  \"England\" OR Nationality  =  \"Wales\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "journalist",
            "WHERE",
            "Nationality",
            "=",
            "``",
            "England",
            "''",
            "OR",
            "Nationality",
            "=",
            "``",
            "Wales",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "journalist",
            "where",
            "nationality",
            "=",
            "value",
            "or",
            "nationality",
            "=",
            "value"
        ],
        "question": "Show the names of journalists from \"England\" or \"Wales\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "journalists",
            "from",
            "``",
            "England",
            "''",
            "or",
            "``",
            "Wales",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"England\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Wales\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT avg(Years_working) FROM journalist",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Years_working",
            ")",
            "FROM",
            "journalist"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "years_working",
            ")",
            "from",
            "journalist"
        ],
        "question": "What is the average number of years spent working as a journalist?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "years",
            "spent",
            "working",
            "as",
            "a",
            "journalist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Nationality FROM journalist ORDER BY Years_working DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "journalist",
            "ORDER",
            "BY",
            "Years_working",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "journalist",
            "order",
            "by",
            "years_working",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the nationality of the journalist with the largest number of years working?",
        "question_toks": [
            "What",
            "is",
            "the",
            "nationality",
            "of",
            "the",
            "journalist",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "years",
            "working",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Nationality ,  COUNT(*) FROM journalist GROUP BY Nationality",
        "query_toks": [
            "SELECT",
            "Nationality",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "journalist",
            "GROUP",
            "BY",
            "Nationality"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "journalist",
            "group",
            "by",
            "nationality"
        ],
        "question": "Show the different nationalities and the number of journalists of each nationality.",
        "question_toks": [
            "Show",
            "the",
            "different",
            "nationalities",
            "and",
            "the",
            "number",
            "of",
            "journalists",
            "of",
            "each",
            "nationality",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Nationality FROM journalist GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "journalist",
            "GROUP",
            "BY",
            "Nationality",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "journalist",
            "group",
            "by",
            "nationality",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common nationality for journalists.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "nationality",
            "for",
            "journalists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Nationality FROM journalist WHERE Years_working  >  10 INTERSECT SELECT Nationality FROM journalist WHERE Years_working  <  3",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "journalist",
            "WHERE",
            "Years_working",
            ">",
            "10",
            "INTERSECT",
            "SELECT",
            "Nationality",
            "FROM",
            "journalist",
            "WHERE",
            "Years_working",
            "<",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "journalist",
            "where",
            "years_working",
            ">",
            "value",
            "intersect",
            "select",
            "nationality",
            "from",
            "journalist",
            "where",
            "years_working",
            "<",
            "value"
        ],
        "question": "Show the nations that have both journalists with more than 10 years of working and journalists with less than 3 years of working.",
        "question_toks": [
            "Show",
            "the",
            "nations",
            "that",
            "have",
            "both",
            "journalists",
            "with",
            "more",
            "than",
            "10",
            "years",
            "of",
            "working",
            "and",
            "journalists",
            "with",
            "less",
            "than",
            "3",
            "years",
            "of",
            "working",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        3.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Date ,  Name ,  venue FROM event ORDER BY Event_Attendance DESC",
        "query_toks": [
            "SELECT",
            "Date",
            ",",
            "Name",
            ",",
            "venue",
            "FROM",
            "event",
            "ORDER",
            "BY",
            "Event_Attendance",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "name",
            ",",
            "venue",
            "from",
            "event",
            "order",
            "by",
            "event_attendance",
            "desc"
        ],
        "question": "Show the dates, places, and names of events in descending order of the attendance.",
        "question_toks": [
            "Show",
            "the",
            "dates",
            ",",
            "places",
            ",",
            "and",
            "names",
            "of",
            "events",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "attendance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT T3.Name ,  T2.Date FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID  =  T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID  =  T3.journalist_ID",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.Date",
            "FROM",
            "news_report",
            "AS",
            "T1",
            "JOIN",
            "event",
            "AS",
            "T2",
            "ON",
            "T1.Event_ID",
            "=",
            "T2.Event_ID",
            "JOIN",
            "journalist",
            "AS",
            "T3",
            "ON",
            "T1.journalist_ID",
            "=",
            "T3.journalist_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "date",
            "from",
            "news_report",
            "as",
            "t1",
            "join",
            "event",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "event_id",
            "=",
            "t2",
            ".",
            "event_id",
            "join",
            "journalist",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "journalist_id",
            "=",
            "t3",
            ".",
            "journalist_id"
        ],
        "question": "Show the names of journalists and the dates of the events they reported.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "journalists",
            "and",
            "the",
            "dates",
            "of",
            "the",
            "events",
            "they",
            "reported",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT T3.Name ,  T2.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID  =  T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID  =  T3.journalist_ID ORDER BY T2.Event_Attendance ASC",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.Name",
            "FROM",
            "news_report",
            "AS",
            "T1",
            "JOIN",
            "event",
            "AS",
            "T2",
            "ON",
            "T1.Event_ID",
            "=",
            "T2.Event_ID",
            "JOIN",
            "journalist",
            "AS",
            "T3",
            "ON",
            "T1.journalist_ID",
            "=",
            "T3.journalist_ID",
            "ORDER",
            "BY",
            "T2.Event_Attendance",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "news_report",
            "as",
            "t1",
            "join",
            "event",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "event_id",
            "=",
            "t2",
            ".",
            "event_id",
            "join",
            "journalist",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "journalist_id",
            "=",
            "t3",
            ".",
            "journalist_id",
            "order",
            "by",
            "t2",
            ".",
            "event_attendance",
            "asc"
        ],
        "question": "Show the names of journalists and the names of the events they reported in ascending order",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "journalists",
            "and",
            "the",
            "names",
            "of",
            "the",
            "events",
            "they",
            "reported",
            "in",
            "ascending",
            "order"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT T3.Name ,  COUNT(*) FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID  =  T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID  =  T3.journalist_ID GROUP BY T3.Name",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "news_report",
            "AS",
            "T1",
            "JOIN",
            "event",
            "AS",
            "T2",
            "ON",
            "T1.Event_ID",
            "=",
            "T2.Event_ID",
            "JOIN",
            "journalist",
            "AS",
            "T3",
            "ON",
            "T1.journalist_ID",
            "=",
            "T3.journalist_ID",
            "GROUP",
            "BY",
            "T3.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "news_report",
            "as",
            "t1",
            "join",
            "event",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "event_id",
            "=",
            "t2",
            ".",
            "event_id",
            "join",
            "journalist",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "journalist_id",
            "=",
            "t3",
            ".",
            "journalist_id",
            "group",
            "by",
            "t3",
            ".",
            "name"
        ],
        "question": "Show the names of journalists and the number of events they reported.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "journalists",
            "and",
            "the",
            "number",
            "of",
            "events",
            "they",
            "reported",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT T3.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID  =  T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID  =  T3.journalist_ID GROUP BY T3.Name HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T3.Name",
            "FROM",
            "news_report",
            "AS",
            "T1",
            "JOIN",
            "event",
            "AS",
            "T2",
            "ON",
            "T1.Event_ID",
            "=",
            "T2.Event_ID",
            "JOIN",
            "journalist",
            "AS",
            "T3",
            "ON",
            "T1.journalist_ID",
            "=",
            "T3.journalist_ID",
            "GROUP",
            "BY",
            "T3.Name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "news_report",
            "as",
            "t1",
            "join",
            "event",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "event_id",
            "=",
            "t2",
            ".",
            "event_id",
            "join",
            "journalist",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "journalist_id",
            "=",
            "t3",
            ".",
            "journalist_id",
            "group",
            "by",
            "t3",
            ".",
            "name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the names of journalists that have reported more than one event.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "journalists",
            "that",
            "have",
            "reported",
            "more",
            "than",
            "one",
            "event",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT Name FROM journalist WHERE journalist_ID NOT IN (SELECT journalist_ID FROM news_report)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "journalist",
            "WHERE",
            "journalist_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "journalist_ID",
            "FROM",
            "news_report",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "journalist",
            "where",
            "journalist_id",
            "not",
            "in",
            "(",
            "select",
            "journalist_id",
            "from",
            "news_report",
            ")"
        ],
        "question": "List the names of journalists who have not reported any event.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "journalists",
            "who",
            "have",
            "not",
            "reported",
            "any",
            "event",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT avg(Event_Attendance) ,  max(Event_Attendance) FROM event",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Event_Attendance",
            ")",
            ",",
            "max",
            "(",
            "Event_Attendance",
            ")",
            "FROM",
            "event"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "event_attendance",
            ")",
            ",",
            "max",
            "(",
            "event_attendance",
            ")",
            "from",
            "event"
        ],
        "question": "what are the average and maximum attendances of all events?",
        "question_toks": [
            "what",
            "are",
            "the",
            "average",
            "and",
            "maximum",
            "attendances",
            "of",
            "all",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT avg(t1.age) ,  avg(Years_working) ,  t2.work_type FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_id  =  t2.journalist_id GROUP BY t2.work_type",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t1.age",
            ")",
            ",",
            "avg",
            "(",
            "Years_working",
            ")",
            ",",
            "t2.work_type",
            "FROM",
            "journalist",
            "AS",
            "t1",
            "JOIN",
            "news_report",
            "AS",
            "t2",
            "ON",
            "t1.journalist_id",
            "=",
            "t2.journalist_id",
            "GROUP",
            "BY",
            "t2.work_type"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            ",",
            "avg",
            "(",
            "years_working",
            ")",
            ",",
            "t2",
            ".",
            "work_type",
            "from",
            "journalist",
            "as",
            "t1",
            "join",
            "news_report",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "journalist_id",
            "=",
            "t2",
            ".",
            "journalist_id",
            "group",
            "by",
            "t2",
            ".",
            "work_type"
        ],
        "question": "Find the average age and experience working length of journalists working on different role type.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "and",
            "experience",
            "working",
            "length",
            "of",
            "journalists",
            "working",
            "on",
            "different",
            "role",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "news_report",
        "query": "SELECT venue ,  name FROM event ORDER BY Event_Attendance DESC LIMIT 2",
        "query_toks": [
            "SELECT",
            "venue",
            ",",
            "name",
            "FROM",
            "event",
            "ORDER",
            "BY",
            "Event_Attendance",
            "DESC",
            "LIMIT",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "venue",
            ",",
            "name",
            "from",
            "event",
            "order",
            "by",
            "event_attendance",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the event venues and names that have the top 2 most number of people attended.",
        "question_toks": [
            "List",
            "the",
            "event",
            "venues",
            "and",
            "names",
            "that",
            "have",
            "the",
            "top",
            "2",
            "most",
            "number",
            "of",
            "people",
            "attended",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 2,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT ResName FROM Restaurant;",
        "query_toks": [
            "SELECT",
            "ResName",
            "FROM",
            "Restaurant",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "resname",
            "from",
            "restaurant"
        ],
        "question": "Show me all the restaurants.",
        "question_toks": [
            "Show",
            "me",
            "all",
            "the",
            "restaurants",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Address FROM Restaurant WHERE ResName = \"Subway\";",
        "query_toks": [
            "SELECT",
            "Address",
            "FROM",
            "Restaurant",
            "WHERE",
            "ResName",
            "=",
            "``",
            "Subway",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            "from",
            "restaurant",
            "where",
            "resname",
            "=",
            "value"
        ],
        "question": "What is the address of the restaurant Subway?",
        "question_toks": [
            "What",
            "is",
            "the",
            "address",
            "of",
            "the",
            "restaurant",
            "Subway",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Subway\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Rating FROM Restaurant WHERE ResName = \"Subway\";",
        "query_toks": [
            "SELECT",
            "Rating",
            "FROM",
            "Restaurant",
            "WHERE",
            "ResName",
            "=",
            "``",
            "Subway",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "rating",
            "from",
            "restaurant",
            "where",
            "resname",
            "=",
            "value"
        ],
        "question": "What is the rating of the restaurant Subway?",
        "question_toks": [
            "What",
            "is",
            "the",
            "rating",
            "of",
            "the",
            "restaurant",
            "Subway",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Subway\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT ResTypeName FROM Restaurant_Type;",
        "query_toks": [
            "SELECT",
            "ResTypeName",
            "FROM",
            "Restaurant_Type",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "restypename",
            "from",
            "restaurant_type"
        ],
        "question": "List all restaurant types.",
        "question_toks": [
            "List",
            "all",
            "restaurant",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT ResTypeDescription FROM Restaurant_Type WHERE ResTypeName = \"Sandwich\";",
        "query_toks": [
            "SELECT",
            "ResTypeDescription",
            "FROM",
            "Restaurant_Type",
            "WHERE",
            "ResTypeName",
            "=",
            "``",
            "Sandwich",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "restypedescription",
            "from",
            "restaurant_type",
            "where",
            "restypename",
            "=",
            "value"
        ],
        "question": "What is the description of the restaurant type Sandwich?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "restaurant",
            "type",
            "Sandwich",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Sandwich\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT ResName , Rating FROM Restaurant ORDER BY Rating DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "ResName",
            ",",
            "Rating",
            "FROM",
            "Restaurant",
            "ORDER",
            "BY",
            "Rating",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "resname",
            ",",
            "rating",
            "from",
            "restaurant",
            "order",
            "by",
            "rating",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which restaurants have highest rating? List the restaurant name and its rating.",
        "question_toks": [
            "Which",
            "restaurants",
            "have",
            "highest",
            "rating",
            "?",
            "List",
            "the",
            "restaurant",
            "name",
            "and",
            "its",
            "rating",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Age FROM Student WHERE Fname = \"Linda\" AND Lname = \"Smith\";",
        "query_toks": [
            "SELECT",
            "Age",
            "FROM",
            "Student",
            "WHERE",
            "Fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "Lname",
            "=",
            "``",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            "from",
            "student",
            "where",
            "fname",
            "=",
            "value",
            "and",
            "lname",
            "=",
            "value"
        ],
        "question": "What is the age of student Linda Smith?",
        "question_toks": [
            "What",
            "is",
            "the",
            "age",
            "of",
            "student",
            "Linda",
            "Smith",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Sex FROM Student WHERE Fname = \"Linda\" AND Lname = \"Smith\";",
        "query_toks": [
            "SELECT",
            "Sex",
            "FROM",
            "Student",
            "WHERE",
            "Fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "Lname",
            "=",
            "``",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sex",
            "from",
            "student",
            "where",
            "fname",
            "=",
            "value",
            "and",
            "lname",
            "=",
            "value"
        ],
        "question": "What is the gender of the student Linda Smith?",
        "question_toks": [
            "What",
            "is",
            "the",
            "gender",
            "of",
            "the",
            "student",
            "Linda",
            "Smith",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Fname , Lname FROM Student WHERE Major  =  600;",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "Student",
            "WHERE",
            "Major",
            "=",
            "600",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value"
        ],
        "question": "List all students' first names and last names who majored in 600.",
        "question_toks": [
            "List",
            "all",
            "students",
            "'",
            "first",
            "names",
            "and",
            "last",
            "names",
            "who",
            "majored",
            "in",
            "600",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT city_code FROM Student WHERE Fname = \"Linda\" AND Lname = \"Smith\";",
        "query_toks": [
            "SELECT",
            "city_code",
            "FROM",
            "Student",
            "WHERE",
            "Fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "Lname",
            "=",
            "``",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            "from",
            "student",
            "where",
            "fname",
            "=",
            "value",
            "and",
            "lname",
            "=",
            "value"
        ],
        "question": "Which city does student Linda Smith live in?",
        "question_toks": [
            "Which",
            "city",
            "does",
            "student",
            "Linda",
            "Smith",
            "live",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT count(*) FROM Student WHERE Advisor =  1121;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "WHERE",
            "Advisor",
            "=",
            "1121",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "advisor",
            "=",
            "value"
        ],
        "question": "Advisor 1121 has how many students?",
        "question_toks": [
            "Advisor",
            "1121",
            "has",
            "how",
            "many",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1121.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Advisor ,  count(*) FROM Student GROUP BY Advisor ORDER BY count(Advisor) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "Advisor",
            "ORDER",
            "BY",
            "count",
            "(",
            "Advisor",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "order",
            "by",
            "count",
            "(",
            "advisor",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which Advisor has most of students? List advisor and the number of students.",
        "question_toks": [
            "Which",
            "Advisor",
            "has",
            "most",
            "of",
            "students",
            "?",
            "List",
            "advisor",
            "and",
            "the",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Major ,  count(*) FROM Student GROUP BY Major ORDER BY count(Major) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Major",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "Major",
            "ORDER",
            "BY",
            "count",
            "(",
            "Major",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "major",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which major has least number of students? List the major and the number of students.",
        "question_toks": [
            "Which",
            "major",
            "has",
            "least",
            "number",
            "of",
            "students",
            "?",
            "List",
            "the",
            "major",
            "and",
            "the",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Major ,  count(*) FROM Student GROUP BY Major HAVING count(Major) BETWEEN 2 AND 30;",
        "query_toks": [
            "SELECT",
            "Major",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "Major",
            "HAVING",
            "count",
            "(",
            "Major",
            ")",
            "BETWEEN",
            "2",
            "AND",
            "30",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "major",
            "having",
            "count",
            "(",
            "major",
            ")",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Which major has between 2 and 30 number of students? List major and the number of students.",
        "question_toks": [
            "Which",
            "major",
            "has",
            "between",
            "2",
            "and",
            "30",
            "number",
            "of",
            "students",
            "?",
            "List",
            "major",
            "and",
            "the",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            3,
                            6,
                            false
                        ],
                        null
                    ],
                    2.0,
                    30.0
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Fname , Lname FROM Student WHERE Age  >  18 AND Major = 600;",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "Student",
            "WHERE",
            "Age",
            ">",
            "18",
            "AND",
            "Major",
            "=",
            "600",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value",
            "and",
            "major",
            "=",
            "value"
        ],
        "question": "Which student's age is older than 18 and is majoring in 600? List each student's first and last name.",
        "question_toks": [
            "Which",
            "student",
            "'s",
            "age",
            "is",
            "older",
            "than",
            "18",
            "and",
            "is",
            "majoring",
            "in",
            "600",
            "?",
            "List",
            "each",
            "student",
            "'s",
            "first",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Fname , Lname FROM Student WHERE Age  >  18 AND Major != 600 AND Sex = 'F';",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "Student",
            "WHERE",
            "Age",
            ">",
            "18",
            "AND",
            "Major",
            "!",
            "=",
            "600",
            "AND",
            "Sex",
            "=",
            "'F",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value",
            "and",
            "major",
            "!",
            "=",
            "value",
            "and",
            "sex",
            "=",
            "value"
        ],
        "question": "List all female students age is older than 18 who is not majoring in 600. List students' first name and last name.",
        "question_toks": [
            "List",
            "all",
            "female",
            "students",
            "age",
            "is",
            "older",
            "than",
            "18",
            "who",
            "is",
            "not",
            "majoring",
            "in",
            "600",
            ".",
            "List",
            "students",
            "'",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT count(*) FROM Restaurant JOIN Type_Of_Restaurant ON Restaurant.ResID =  Type_Of_Restaurant.ResID JOIN Restaurant_Type ON Type_Of_Restaurant.ResTypeID = Restaurant_Type.ResTypeID GROUP BY Type_Of_Restaurant.ResTypeID HAVING Restaurant_Type.ResTypeName = 'Sandwich'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Restaurant",
            "JOIN",
            "Type_Of_Restaurant",
            "ON",
            "Restaurant.ResID",
            "=",
            "Type_Of_Restaurant.ResID",
            "JOIN",
            "Restaurant_Type",
            "ON",
            "Type_Of_Restaurant.ResTypeID",
            "=",
            "Restaurant_Type.ResTypeID",
            "GROUP",
            "BY",
            "Type_Of_Restaurant.ResTypeID",
            "HAVING",
            "Restaurant_Type.ResTypeName",
            "=",
            "'Sandwich",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "join",
            "type_of_restaurant",
            "on",
            "restaurant.resid",
            "=",
            "type_of_restaurant.resid",
            "join",
            "restaurant_type",
            "on",
            "type_of_restaurant.restypeid",
            "=",
            "restaurant_type.restypeid",
            "group",
            "by",
            "type_of_restaurant.restypeid",
            "having",
            "restaurant_type.restypename",
            "=",
            "value"
        ],
        "question": "How many restaurant is the Sandwich type restaurant?",
        "question_toks": [
            "How",
            "many",
            "restaurant",
            "is",
            "the",
            "Sandwich",
            "type",
            "restaurant",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Sandwich\"",
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT sum(Spent) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID WHERE Student.Fname = \"Linda\" AND Student.Lname = \"Smith\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Spent",
            ")",
            "FROM",
            "Student",
            "JOIN",
            "Visits_Restaurant",
            "ON",
            "Student.StuID",
            "=",
            "Visits_Restaurant.StuID",
            "WHERE",
            "Student.Fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "Student.Lname",
            "=",
            "``",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "spent",
            ")",
            "from",
            "student",
            "join",
            "visits_restaurant",
            "on",
            "student.stuid",
            "=",
            "visits_restaurant.stuid",
            "where",
            "student.fname",
            "=",
            "value",
            "and",
            "student.lname",
            "=",
            "value"
        ],
        "question": "How long does student Linda Smith spend on the restaurant in total?",
        "question_toks": [
            "How",
            "long",
            "does",
            "student",
            "Linda",
            "Smith",
            "spend",
            "on",
            "the",
            "restaurant",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT count(*) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = \"Linda\" AND Student.Lname = \"Smith\" AND Restaurant.ResName = \"Subway\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student",
            "JOIN",
            "Visits_Restaurant",
            "ON",
            "Student.StuID",
            "=",
            "Visits_Restaurant.StuID",
            "JOIN",
            "Restaurant",
            "ON",
            "Visits_Restaurant.ResID",
            "=",
            "Restaurant.ResID",
            "WHERE",
            "Student.Fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "Student.Lname",
            "=",
            "``",
            "Smith",
            "''",
            "AND",
            "Restaurant.ResName",
            "=",
            "``",
            "Subway",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "join",
            "visits_restaurant",
            "on",
            "student.stuid",
            "=",
            "visits_restaurant.stuid",
            "join",
            "restaurant",
            "on",
            "visits_restaurant.resid",
            "=",
            "restaurant.resid",
            "where",
            "student.fname",
            "=",
            "value",
            "and",
            "student.lname",
            "=",
            "value",
            "and",
            "restaurant.resname",
            "=",
            "value"
        ],
        "question": "How many times has the student Linda Smith visited Subway?",
        "question_toks": [
            "How",
            "many",
            "times",
            "has",
            "the",
            "student",
            "Linda",
            "Smith",
            "visited",
            "Subway",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Subway\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT TIME FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = \"Linda\" AND Student.Lname = \"Smith\" AND Restaurant.ResName = \"Subway\";",
        "query_toks": [
            "SELECT",
            "TIME",
            "FROM",
            "Student",
            "JOIN",
            "Visits_Restaurant",
            "ON",
            "Student.StuID",
            "=",
            "Visits_Restaurant.StuID",
            "JOIN",
            "Restaurant",
            "ON",
            "Visits_Restaurant.ResID",
            "=",
            "Restaurant.ResID",
            "WHERE",
            "Student.Fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "Student.Lname",
            "=",
            "``",
            "Smith",
            "''",
            "AND",
            "Restaurant.ResName",
            "=",
            "``",
            "Subway",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "time",
            "from",
            "student",
            "join",
            "visits_restaurant",
            "on",
            "student.stuid",
            "=",
            "visits_restaurant.stuid",
            "join",
            "restaurant",
            "on",
            "visits_restaurant.resid",
            "=",
            "restaurant.resid",
            "where",
            "student.fname",
            "=",
            "value",
            "and",
            "student.lname",
            "=",
            "value",
            "and",
            "restaurant.resname",
            "=",
            "value"
        ],
        "question": "When did Linda Smith visit Subway?",
        "question_toks": [
            "When",
            "did",
            "Linda",
            "Smith",
            "visit",
            "Subway",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Subway\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Restaurant.ResName ,  sum(Visits_Restaurant.Spent) FROM Visits_Restaurant JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID GROUP BY Restaurant.ResID ORDER BY sum(Visits_Restaurant.Spent) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Restaurant.ResName",
            ",",
            "sum",
            "(",
            "Visits_Restaurant.Spent",
            ")",
            "FROM",
            "Visits_Restaurant",
            "JOIN",
            "Restaurant",
            "ON",
            "Visits_Restaurant.ResID",
            "=",
            "Restaurant.ResID",
            "GROUP",
            "BY",
            "Restaurant.ResID",
            "ORDER",
            "BY",
            "sum",
            "(",
            "Visits_Restaurant.Spent",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "restaurant.resname",
            ",",
            "sum",
            "(",
            "visits_restaurant.spent",
            ")",
            "from",
            "visits_restaurant",
            "join",
            "restaurant",
            "on",
            "visits_restaurant.resid",
            "=",
            "restaurant.resid",
            "group",
            "by",
            "restaurant.resid",
            "order",
            "by",
            "sum",
            "(",
            "visits_restaurant.spent",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "At which restaurant did the students spend the least amount of time? List restaurant and the time students spent on in total.",
        "question_toks": [
            "At",
            "which",
            "restaurant",
            "did",
            "the",
            "students",
            "spend",
            "the",
            "least",
            "amount",
            "of",
            "time",
            "?",
            "List",
            "restaurant",
            "and",
            "the",
            "time",
            "students",
            "spent",
            "on",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "restaurant_1",
        "query": "SELECT Student.Fname , Student.Lname FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID GROUP BY Student.StuID ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "Student.Fname",
            ",",
            "Student.Lname",
            "FROM",
            "Student",
            "JOIN",
            "Visits_Restaurant",
            "ON",
            "Student.StuID",
            "=",
            "Visits_Restaurant.StuID",
            "GROUP",
            "BY",
            "Student.StuID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "student.fname",
            ",",
            "student.lname",
            "from",
            "student",
            "join",
            "visits_restaurant",
            "on",
            "student.stuid",
            "=",
            "visits_restaurant.stuid",
            "group",
            "by",
            "student.stuid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which student visited restaurant most often? List student's first name and last name.",
        "question_toks": [
            "Which",
            "student",
            "visited",
            "restaurant",
            "most",
            "often",
            "?",
            "List",
            "student",
            "'s",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT actual_order_id FROM actual_orders WHERE order_status_code  =  'Success'",
        "query_toks": [
            "SELECT",
            "actual_order_id",
            "FROM",
            "actual_orders",
            "WHERE",
            "order_status_code",
            "=",
            "'Success",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "actual_order_id",
            "from",
            "actual_orders",
            "where",
            "order_status_code",
            "=",
            "value"
        ],
        "question": "Find the ids of orders whose status is 'Success'.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "orders",
            "whose",
            "status",
            "is",
            "'Success",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"Success\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT t1.product_name ,   t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id  =  t2.product_id GROUP BY t2.product_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            ",",
            "t1.product_price",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "regular_order_products",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "GROUP",
            "BY",
            "t2.product_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "t1",
            ".",
            "product_price",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "regular_order_products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t2",
            ".",
            "product_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and price of the product that has been ordered the greatest number of times.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "price",
            "of",
            "the",
            "product",
            "that",
            "has",
            "been",
            "ordered",
            "the",
            "greatest",
            "number",
            "of",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT count(*) FROM customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "Find the number of customers in total.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "customers",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT count(DISTINCT payment_method) FROM customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "payment_method",
            ")",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "payment_method",
            ")",
            "from",
            "customers"
        ],
        "question": "How many different payment methods are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "payment",
            "methods",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT truck_details FROM trucks ORDER BY truck_licence_number",
        "query_toks": [
            "SELECT",
            "truck_details",
            "FROM",
            "trucks",
            "ORDER",
            "BY",
            "truck_licence_number"
        ],
        "query_toks_no_value": [
            "select",
            "truck_details",
            "from",
            "trucks",
            "order",
            "by",
            "truck_licence_number"
        ],
        "question": "Show the details of all trucks in the order of their license number.",
        "question_toks": [
            "Show",
            "the",
            "details",
            "of",
            "all",
            "trucks",
            "in",
            "the",
            "order",
            "of",
            "their",
            "license",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT product_name FROM products ORDER BY product_price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "products",
            "ORDER",
            "BY",
            "product_price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the most expensive product.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "most",
            "expensive",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t3.state_province_county  =  'California'",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "WHERE",
            "t3.state_province_county",
            "=",
            "'California",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "where",
            "t3",
            ".",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "Find the names of customers who are not living in the state of California.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "are",
            "not",
            "living",
            "in",
            "the",
            "state",
            "of",
            "California",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    28,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"California\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT customer_email ,  customer_name FROM customers WHERE payment_method  =  'Visa'",
        "query_toks": [
            "SELECT",
            "customer_email",
            ",",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "payment_method",
            "=",
            "'Visa",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "customer_email",
            ",",
            "customer_name",
            "from",
            "customers",
            "where",
            "payment_method",
            "=",
            "value"
        ],
        "question": "List the names and emails of customers who payed by Visa card.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "emails",
            "of",
            "customers",
            "who",
            "payed",
            "by",
            "Visa",
            "card",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Visa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT t1.customer_name ,  t1.customer_phone FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t3.state_province_county  =  'California'",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            ",",
            "t1.customer_phone",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "WHERE",
            "t3.state_province_county",
            "=",
            "'California",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_phone",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "where",
            "t3",
            ".",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "Find the names and phone numbers of customers living in California state.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "phone",
            "numbers",
            "of",
            "customers",
            "living",
            "in",
            "California",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"California\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT state_province_county FROM addresses WHERE address_id NOT IN (SELECT employee_address_id FROM Employees)",
        "query_toks": [
            "SELECT",
            "state_province_county",
            "FROM",
            "addresses",
            "WHERE",
            "address_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "employee_address_id",
            "FROM",
            "Employees",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "state_province_county",
            "from",
            "addresses",
            "where",
            "address_id",
            "not",
            "in",
            "(",
            "select",
            "employee_address_id",
            "from",
            "employees",
            ")"
        ],
        "question": "Find the states which do not have any employee in their record.",
        "question_toks": [
            "Find",
            "the",
            "states",
            "which",
            "do",
            "not",
            "have",
            "any",
            "employee",
            "in",
            "their",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    11
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            43,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT customer_name ,  customer_phone ,  customer_email FROM Customers ORDER BY date_became_customer",
        "query_toks": [
            "SELECT",
            "customer_name",
            ",",
            "customer_phone",
            ",",
            "customer_email",
            "FROM",
            "Customers",
            "ORDER",
            "BY",
            "date_became_customer"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            ",",
            "customer_phone",
            ",",
            "customer_email",
            "from",
            "customers",
            "order",
            "by",
            "date_became_customer"
        ],
        "question": "List the names, phone numbers, and emails of all customers sorted by their dates of becoming customers.",
        "question_toks": [
            "List",
            "the",
            "names",
            ",",
            "phone",
            "numbers",
            ",",
            "and",
            "emails",
            "of",
            "all",
            "customers",
            "sorted",
            "by",
            "their",
            "dates",
            "of",
            "becoming",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT customer_name FROM Customers ORDER BY date_became_customer LIMIT 5",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "Customers",
            "ORDER",
            "BY",
            "date_became_customer",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "order",
            "by",
            "date_became_customer",
            "limit",
            "value"
        ],
        "question": "Find the name of the first 5 customers.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "first",
            "5",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT payment_method FROM Customers GROUP BY payment_method ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "payment_method",
            "FROM",
            "Customers",
            "GROUP",
            "BY",
            "payment_method",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method",
            "from",
            "customers",
            "group",
            "by",
            "payment_method",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the payment method that is used most frequently.",
        "question_toks": [
            "Find",
            "the",
            "payment",
            "method",
            "that",
            "is",
            "used",
            "most",
            "frequently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT route_name FROM Delivery_Routes ORDER BY route_name",
        "query_toks": [
            "SELECT",
            "route_name",
            "FROM",
            "Delivery_Routes",
            "ORDER",
            "BY",
            "route_name"
        ],
        "query_toks_no_value": [
            "select",
            "route_name",
            "from",
            "delivery_routes",
            "order",
            "by",
            "route_name"
        ],
        "question": "List the names of all routes in alphabetic order.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "routes",
            "in",
            "alphabetic",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT t1.route_name FROM Delivery_Routes AS t1 JOIN Delivery_Route_Locations AS t2 ON t1.route_id  =  t2.route_id GROUP BY t1.route_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.route_name",
            "FROM",
            "Delivery_Routes",
            "AS",
            "t1",
            "JOIN",
            "Delivery_Route_Locations",
            "AS",
            "t2",
            "ON",
            "t1.route_id",
            "=",
            "t2.route_id",
            "GROUP",
            "BY",
            "t1.route_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "route_name",
            "from",
            "delivery_routes",
            "as",
            "t1",
            "join",
            "delivery_route_locations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "route_id",
            "=",
            "t2",
            ".",
            "route_id",
            "group",
            "by",
            "t1",
            ".",
            "route_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of route that has the highest number of deliveries.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "route",
            "that",
            "has",
            "the",
            "highest",
            "number",
            "of",
            "deliveries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_deliveries",
        "query": "SELECT t2.state_province_county ,  count(*) FROM customer_addresses AS t1 JOIN addresses AS t2 ON t1.address_id  =  t2.address_id GROUP BY t2.state_province_county",
        "query_toks": [
            "SELECT",
            "t2.state_province_county",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customer_addresses",
            "AS",
            "t1",
            "JOIN",
            "addresses",
            "AS",
            "t2",
            "ON",
            "t1.address_id",
            "=",
            "t2.address_id",
            "GROUP",
            "BY",
            "t2.state_province_county"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "state_province_county",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer_addresses",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "group",
            "by",
            "t2",
            ".",
            "state_province_county"
        ],
        "question": "List the state names and the number of customers living in each state.",
        "question_toks": [
            "List",
            "the",
            "state",
            "names",
            "and",
            "the",
            "number",
            "of",
            "customers",
            "living",
            "in",
            "each",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(*) FROM authors",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "authors"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "authors"
        ],
        "question": "How many authors are there?",
        "question_toks": [
            "How",
            "many",
            "authors",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(*) FROM authors",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "authors"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "authors"
        ],
        "question": "Count the number of authors.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "authors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(*) FROM inst",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "inst"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "inst"
        ],
        "question": "How many institutions are there?",
        "question_toks": [
            "How",
            "many",
            "institutions",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(*) FROM inst",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "inst"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "inst"
        ],
        "question": "Count the number of institutions.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "institutions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(*) FROM papers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "papers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "papers"
        ],
        "question": "How many papers are published in total?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "published",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(*) FROM papers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "papers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "papers"
        ],
        "question": "Count the number of total papers.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "total",
            "papers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  \"Jeremy\" AND t1.lname  =  \"Gibbons\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Jeremy",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Gibbons",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What are the titles of papers published by \"Jeremy Gibbons\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "papers",
            "published",
            "by",
            "``",
            "Jeremy",
            "Gibbons",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Jeremy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Gibbons\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  \"Jeremy\" AND t1.lname  =  \"Gibbons\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Jeremy",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Gibbons",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the titles of all the papers written by \"Jeremy Gibbons\"",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "all",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "Jeremy",
            "Gibbons",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Jeremy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Gibbons\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  \"Aaron\" AND t1.lname  =  \"Turon\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Aaron",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Turon",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find all the papers published by \"Aaron Turon\".",
        "question_toks": [
            "Find",
            "all",
            "the",
            "papers",
            "published",
            "by",
            "``",
            "Aaron",
            "Turon",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Aaron\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Turon\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  \"Aaron\" AND t1.lname  =  \"Turon\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Aaron",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Turon",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the titles of all the papers written by \"Aaron Turon\".",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "all",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "Aaron",
            "Turon",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Aaron\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Turon\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  \"Atsushi\" AND t1.lname  =  \"Ohori\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Atsushi",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Ohori",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "How many papers have \"Atsushi Ohori\" published?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "have",
            "``",
            "Atsushi",
            "Ohori",
            "''",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Atsushi\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ohori\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE  t1.fname  =  \"Atsushi\" AND t1.lname  =  \"Ohori\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Atsushi",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Ohori",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "How many papers are \"Atsushi Ohori\" the author of?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "``",
            "Atsushi",
            "Ohori",
            "''",
            "the",
            "author",
            "of",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Atsushi\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ohori\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t1.fname  =  \"Matthias\" AND t1.lname  =  \"Blume\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.name",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Matthias",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Blume",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What is the name of the institution that \"Matthias Blume\" belongs to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "institution",
            "that",
            "``",
            "Matthias",
            "Blume",
            "''",
            "belongs",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Matthias\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Blume\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t1.fname  =  \"Matthias\" AND t1.lname  =  \"Blume\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.name",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Matthias",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Blume",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Which institution is the author \"Matthias Blume\" belong to? Give me the name of the institution.",
        "question_toks": [
            "Which",
            "institution",
            "is",
            "the",
            "author",
            "``",
            "Matthias",
            "Blume",
            "''",
            "belong",
            "to",
            "?",
            "Give",
            "me",
            "the",
            "name",
            "of",
            "the",
            "institution",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Matthias\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Blume\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t1.fname  =  \"Katsuhiro\" AND t1.lname  =  \"Ueno\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.name",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Katsuhiro",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Ueno",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Which institution does \"Katsuhiro Ueno\" belong to?",
        "question_toks": [
            "Which",
            "institution",
            "does",
            "``",
            "Katsuhiro",
            "Ueno",
            "''",
            "belong",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Katsuhiro\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ueno\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t1.fname  =  \"Katsuhiro\" AND t1.lname  =  \"Ueno\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.name",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Katsuhiro",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Ueno",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "name",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What is the name of the institution the author \"Katsuhiro Ueno\" belongs to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "institution",
            "the",
            "author",
            "``",
            "Katsuhiro",
            "Ueno",
            "''",
            "belongs",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Katsuhiro\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ueno\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"University of Oxford\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.fname",
            ",",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "University",
            "of",
            "Oxford",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Who belong to the institution \"University of Oxford\"? Show the first names and last names.",
        "question_toks": [
            "Who",
            "belong",
            "to",
            "the",
            "institution",
            "``",
            "University",
            "of",
            "Oxford",
            "''",
            "?",
            "Show",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"University of Oxford\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"University of Oxford\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.fname",
            ",",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "University",
            "of",
            "Oxford",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the first names and last names of the authors whose institution affiliation is \"University of Oxford\".",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "the",
            "authors",
            "whose",
            "institution",
            "affiliation",
            "is",
            "``",
            "University",
            "of",
            "Oxford",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"University of Oxford\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"Google\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.fname",
            ",",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Google",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Which authors belong to the institution \"Google\"? Show the first names and last names.",
        "question_toks": [
            "Which",
            "authors",
            "belong",
            "to",
            "the",
            "institution",
            "``",
            "Google",
            "''",
            "?",
            "Show",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Google\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"Google\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.fname",
            ",",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Google",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the first names and last names of the authors whose institution affiliation is \"Google\".",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "the",
            "authors",
            "whose",
            "institution",
            "affiliation",
            "is",
            "``",
            "Google",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Google\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title  =  \"Binders Unbound\"",
        "query_toks": [
            "SELECT",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Binders",
            "Unbound",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the last names of the author of the paper titled \"Binders Unbound\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "the",
            "author",
            "of",
            "the",
            "paper",
            "titled",
            "``",
            "Binders",
            "Unbound",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Binders Unbound\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title  =  \"Binders Unbound\"",
        "query_toks": [
            "SELECT",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Binders",
            "Unbound",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who is the author of the paper titled \"Binders Unbound\"? Give me the last name.",
        "question_toks": [
            "Who",
            "is",
            "the",
            "author",
            "of",
            "the",
            "paper",
            "titled",
            "``",
            "Binders",
            "Unbound",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Binders Unbound\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title  =  \"Nameless ,  Painless\"",
        "query_toks": [
            "SELECT",
            "t1.fname",
            ",",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Nameless",
            ",",
            "Painless",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Find the first and last name of the author(s) who wrote the paper \"Nameless, Painless\".",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "author",
            "(",
            "s",
            ")",
            "who",
            "wrote",
            "the",
            "paper",
            "``",
            "Nameless",
            ",",
            "Painless",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Nameless ,  Painless\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.fname ,  t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title  =  \"Nameless ,  Painless\"",
        "query_toks": [
            "SELECT",
            "t1.fname",
            ",",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Nameless",
            ",",
            "Painless",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the first and last name of the author who published the paper titled \"Nameless, Painless\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "author",
            "who",
            "published",
            "the",
            "paper",
            "titled",
            "``",
            "Nameless",
            ",",
            "Painless",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Nameless ,  Painless\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"Indiana University\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.title",
            "FROM",
            "papers",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Indiana",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "title",
            "from",
            "papers",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the papers published under the institution \"Indiana University\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "papers",
            "published",
            "under",
            "the",
            "institution",
            "``",
            "Indiana",
            "University",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Indiana University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"Indiana University\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.title",
            "FROM",
            "papers",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Indiana",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "title",
            "from",
            "papers",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the titles of the papers whose authors are from the institution \"Indiana University\".",
        "question_toks": [
            "List",
            "the",
            "titles",
            "of",
            "the",
            "papers",
            "whose",
            "authors",
            "are",
            "from",
            "the",
            "institution",
            "``",
            "Indiana",
            "University",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Indiana University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"Google\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.title",
            "FROM",
            "papers",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Google",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "title",
            "from",
            "papers",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all the papers published by the institution \"Google\".",
        "question_toks": [
            "Find",
            "all",
            "the",
            "papers",
            "published",
            "by",
            "the",
            "institution",
            "``",
            "Google",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Google\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"Google\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.title",
            "FROM",
            "papers",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Google",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "title",
            "from",
            "papers",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Which papers were written by authors from the institution \"Google\"?",
        "question_toks": [
            "Which",
            "papers",
            "were",
            "written",
            "by",
            "authors",
            "from",
            "the",
            "institution",
            "``",
            "Google",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Google\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"Tokohu University\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t1.title",
            ")",
            "FROM",
            "papers",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Tokohu",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "title",
            ")",
            "from",
            "papers",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many papers are published by the institution \"Tokohu University\"?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "published",
            "by",
            "the",
            "institution",
            "``",
            "Tokohu",
            "University",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Tokohu University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"Tokohu University\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t1.title",
            ")",
            "FROM",
            "papers",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Tokohu",
            "University",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "title",
            ")",
            "from",
            "papers",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the number of papers published by authors from the institution \"Tokohu University\".",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "papers",
            "published",
            "by",
            "authors",
            "from",
            "the",
            "institution",
            "``",
            "Tokohu",
            "University",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Tokohu University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"University of Pennsylvania\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t1.title",
            ")",
            "FROM",
            "papers",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "University",
            "of",
            "Pennsylvania",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "title",
            ")",
            "from",
            "papers",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the number of papers published by the institution \"University of Pennsylvania\".",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "papers",
            "published",
            "by",
            "the",
            "institution",
            "``",
            "University",
            "of",
            "Pennsylvania",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"University of Pennsylvania\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT count(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid  =  t2.paperid JOIN inst AS t3 ON t2.instid  =  t3.instid WHERE t3.name  =  \"University of Pennsylvania\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t1.title",
            ")",
            "FROM",
            "papers",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "inst",
            "AS",
            "t3",
            "ON",
            "t2.instid",
            "=",
            "t3.instid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "University",
            "of",
            "Pennsylvania",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "title",
            ")",
            "from",
            "papers",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t3",
            ".",
            "instid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many papers are written by authors from the institution \"University of Pennsylvania\"?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "written",
            "by",
            "authors",
            "from",
            "the",
            "institution",
            "``",
            "University",
            "of",
            "Pennsylvania",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"University of Pennsylvania\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t1.fname  =  \"Olin\" AND t1.lname  =  \"Shivers\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Olin",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Shivers",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the papers which have \"Olin Shivers\" as an author.",
        "question_toks": [
            "Find",
            "the",
            "papers",
            "which",
            "have",
            "``",
            "Olin",
            "Shivers",
            "''",
            "as",
            "an",
            "author",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Olin\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Shivers\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t1.fname  =  \"Olin\" AND t1.lname  =  \"Shivers\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Olin",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Shivers",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Which papers did the author \"Olin Shivers\" write? Give me the paper titles.",
        "question_toks": [
            "Which",
            "papers",
            "did",
            "the",
            "author",
            "``",
            "Olin",
            "Shivers",
            "''",
            "write",
            "?",
            "Give",
            "me",
            "the",
            "paper",
            "titles",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Olin\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Shivers\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t1.fname  =  \"Stephanie\" AND t1.lname  =  \"Weirich\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Stephanie",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Weirich",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Which papers have \"Stephanie Weirich\" as an author?",
        "question_toks": [
            "Which",
            "papers",
            "have",
            "``",
            "Stephanie",
            "Weirich",
            "''",
            "as",
            "an",
            "author",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Stephanie\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Weirich\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t1.fname  =  \"Stephanie\" AND t1.lname  =  \"Weirich\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.fname",
            "=",
            "``",
            "Stephanie",
            "''",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Weirich",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the titles of the papers the author \"Stephanie Weirich\" wrote.",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "the",
            "papers",
            "the",
            "author",
            "``",
            "Stephanie",
            "Weirich",
            "''",
            "wrote",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Stephanie\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Weirich\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid JOIN inst AS t4 ON t2.instid  =  t4.instid WHERE t4.country  =  \"USA\" AND t2.authorder  =  2 AND t1.lname  =  \"Turon\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "inst",
            "AS",
            "t4",
            "ON",
            "t2.instid",
            "=",
            "t4.instid",
            "WHERE",
            "t4.country",
            "=",
            "``",
            "USA",
            "''",
            "AND",
            "t2.authorder",
            "=",
            "2",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Turon",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t4",
            ".",
            "instid",
            "where",
            "t4",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "authorder",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Which paper is published in an institution in \"USA\" and have \"Turon\" as its second author?",
        "question_toks": [
            "Which",
            "paper",
            "is",
            "published",
            "in",
            "an",
            "institution",
            "in",
            "``",
            "USA",
            "''",
            "and",
            "have",
            "``",
            "Turon",
            "''",
            "as",
            "its",
            "second",
            "author",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Turon\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid JOIN inst AS t4 ON t2.instid  =  t4.instid WHERE t4.country  =  \"USA\" AND t2.authorder  =  2 AND t1.lname  =  \"Turon\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "inst",
            "AS",
            "t4",
            "ON",
            "t2.instid",
            "=",
            "t4.instid",
            "WHERE",
            "t4.country",
            "=",
            "``",
            "USA",
            "''",
            "AND",
            "t2.authorder",
            "=",
            "2",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Turon",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t4",
            ".",
            "instid",
            "where",
            "t4",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "authorder",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find papers whose second author has last name \"Turon\" and is affiliated with an institution in the country \"USA\".",
        "question_toks": [
            "Find",
            "papers",
            "whose",
            "second",
            "author",
            "has",
            "last",
            "name",
            "``",
            "Turon",
            "''",
            "and",
            "is",
            "affiliated",
            "with",
            "an",
            "institution",
            "in",
            "the",
            "country",
            "``",
            "USA",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Turon\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid JOIN inst AS t4 ON t2.instid  =  t4.instid WHERE t4.country  =  \"Japan\" AND t2.authorder  =  1 AND t1.lname  =  \"Ohori\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "inst",
            "AS",
            "t4",
            "ON",
            "t2.instid",
            "=",
            "t4.instid",
            "WHERE",
            "t4.country",
            "=",
            "``",
            "Japan",
            "''",
            "AND",
            "t2.authorder",
            "=",
            "1",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Ohori",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t4",
            ".",
            "instid",
            "where",
            "t4",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "authorder",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the titles of papers whose first author is affiliated with an institution in the country \"Japan\" and has last name \"Ohori\"?",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "papers",
            "whose",
            "first",
            "author",
            "is",
            "affiliated",
            "with",
            "an",
            "institution",
            "in",
            "the",
            "country",
            "``",
            "Japan",
            "''",
            "and",
            "has",
            "last",
            "name",
            "``",
            "Ohori",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Japan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ohori\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid JOIN inst AS t4 ON t2.instid  =  t4.instid WHERE t4.country  =  \"Japan\" AND t2.authorder  =  1 AND t1.lname  =  \"Ohori\"",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "inst",
            "AS",
            "t4",
            "ON",
            "t2.instid",
            "=",
            "t4.instid",
            "WHERE",
            "t4.country",
            "=",
            "``",
            "Japan",
            "''",
            "AND",
            "t2.authorder",
            "=",
            "1",
            "AND",
            "t1.lname",
            "=",
            "``",
            "Ohori",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "inst",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "instid",
            "=",
            "t4",
            ".",
            "instid",
            "where",
            "t4",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "authorder",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Which papers' first author is affiliated with an institution in the country \"Japan\" and has last name \"Ohori\"? Give me the titles of the papers.",
        "question_toks": [
            "Which",
            "papers",
            "'",
            "first",
            "author",
            "is",
            "affiliated",
            "with",
            "an",
            "institution",
            "in",
            "the",
            "country",
            "``",
            "Japan",
            "''",
            "and",
            "has",
            "last",
            "name",
            "``",
            "Ohori",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "titles",
            "of",
            "the",
            "papers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Japan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ohori\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid GROUP BY t1.fname ,  t1.lname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "GROUP",
            "BY",
            "t1.fname",
            ",",
            "t1.lname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "group",
            "by",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the author that has published the most papers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "author",
            "that",
            "has",
            "published",
            "the",
            "most",
            "papers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ],
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid GROUP BY t1.fname ,  t1.lname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "GROUP",
            "BY",
            "t1.fname",
            ",",
            "t1.lname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "group",
            "by",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which author has written the most papers? Find his or her last name.",
        "question_toks": [
            "Which",
            "author",
            "has",
            "written",
            "the",
            "most",
            "papers",
            "?",
            "Find",
            "his",
            "or",
            "her",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ],
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.country FROM inst AS t1 JOIN authorship AS t2 ON t1.instid  =  t2.instid JOIN papers AS t3 ON t2.paperid  =  t3.paperid GROUP BY t1.country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.country",
            "FROM",
            "inst",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.instid",
            "=",
            "t2.instid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "GROUP",
            "BY",
            "t1.country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            "from",
            "inst",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instid",
            "=",
            "t2",
            ".",
            "instid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "group",
            "by",
            "t1",
            ".",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Retrieve the country that has published the most papers.",
        "question_toks": [
            "Retrieve",
            "the",
            "country",
            "that",
            "has",
            "published",
            "the",
            "most",
            "papers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.country FROM inst AS t1 JOIN authorship AS t2 ON t1.instid  =  t2.instid JOIN papers AS t3 ON t2.paperid  =  t3.paperid GROUP BY t1.country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.country",
            "FROM",
            "inst",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.instid",
            "=",
            "t2.instid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "GROUP",
            "BY",
            "t1.country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            "from",
            "inst",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instid",
            "=",
            "t2",
            ".",
            "instid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "group",
            "by",
            "t1",
            ".",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the country that the most papers are affiliated with.",
        "question_toks": [
            "Find",
            "the",
            "country",
            "that",
            "the",
            "most",
            "papers",
            "are",
            "affiliated",
            "with",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid  =  t2.instid JOIN papers AS t3 ON t2.paperid  =  t3.paperid GROUP BY t1.name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "inst",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.instid",
            "=",
            "t2.instid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "inst",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instid",
            "=",
            "t2",
            ".",
            "instid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the organization that has published the largest number of papers.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "organization",
            "that",
            "has",
            "published",
            "the",
            "largest",
            "number",
            "of",
            "papers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid  =  t2.instid JOIN papers AS t3 ON t2.paperid  =  t3.paperid GROUP BY t1.name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "inst",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.instid",
            "=",
            "t2.instid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "inst",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instid",
            "=",
            "t2",
            ".",
            "instid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which institution has the most papers? Find the name of the institution.",
        "question_toks": [
            "Which",
            "institution",
            "has",
            "the",
            "most",
            "papers",
            "?",
            "Find",
            "the",
            "name",
            "of",
            "the",
            "institution",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT title FROM papers WHERE title LIKE \"%ML%\"",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "papers",
            "WHERE",
            "title",
            "LIKE",
            "``",
            "%",
            "ML",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "papers",
            "where",
            "title",
            "like",
            "value"
        ],
        "question": "Find the titles of the papers that contain the word \"ML\".",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "of",
            "the",
            "papers",
            "that",
            "contain",
            "the",
            "word",
            "``",
            "ML",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%ML%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT title FROM papers WHERE title LIKE \"%ML%\"",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "papers",
            "WHERE",
            "title",
            "LIKE",
            "``",
            "%",
            "ML",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "papers",
            "where",
            "title",
            "like",
            "value"
        ],
        "question": "Which papers have the substring \"ML\" in their titles? Return the titles of the papers.",
        "question_toks": [
            "Which",
            "papers",
            "have",
            "the",
            "substring",
            "``",
            "ML",
            "''",
            "in",
            "their",
            "titles",
            "?",
            "Return",
            "the",
            "titles",
            "of",
            "the",
            "papers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%ML%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT title FROM papers WHERE title LIKE \"%Database%\"",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "papers",
            "WHERE",
            "title",
            "LIKE",
            "``",
            "%",
            "Database",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "papers",
            "where",
            "title",
            "like",
            "value"
        ],
        "question": "Which paper's title contains the word \"Database\"?",
        "question_toks": [
            "Which",
            "paper",
            "'s",
            "title",
            "contains",
            "the",
            "word",
            "``",
            "Database",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%Database%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT title FROM papers WHERE title LIKE \"%Database%\"",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "papers",
            "WHERE",
            "title",
            "LIKE",
            "``",
            "%",
            "Database",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "papers",
            "where",
            "title",
            "like",
            "value"
        ],
        "question": "Which papers have the substring \"Database\" in their titles? Show the titles of the papers.",
        "question_toks": [
            "Which",
            "papers",
            "have",
            "the",
            "substring",
            "``",
            "Database",
            "''",
            "in",
            "their",
            "titles",
            "?",
            "Show",
            "the",
            "titles",
            "of",
            "the",
            "papers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%Database%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title LIKE \"%Functional%\"",
        "query_toks": [
            "SELECT",
            "t1.fname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t3.title",
            "LIKE",
            "``",
            "%",
            "Functional",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "title",
            "like",
            "value"
        ],
        "question": "Find the first names of all the authors who have written a paper with title containing the word \"Functional\".",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "all",
            "the",
            "authors",
            "who",
            "have",
            "written",
            "a",
            "paper",
            "with",
            "title",
            "containing",
            "the",
            "word",
            "``",
            "Functional",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%Functional%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title LIKE \"%Functional%\"",
        "query_toks": [
            "SELECT",
            "t1.fname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t3.title",
            "LIKE",
            "``",
            "%",
            "Functional",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "title",
            "like",
            "value"
        ],
        "question": "Who has written a paper that has the word \"Functional\" in its title? Return the first names of the authors.",
        "question_toks": [
            "Who",
            "has",
            "written",
            "a",
            "paper",
            "that",
            "has",
            "the",
            "word",
            "``",
            "Functional",
            "''",
            "in",
            "its",
            "title",
            "?",
            "Return",
            "the",
            "first",
            "names",
            "of",
            "the",
            "authors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%Functional%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title LIKE \"%Monadic%\"",
        "query_toks": [
            "SELECT",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t3.title",
            "LIKE",
            "``",
            "%",
            "Monadic",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "title",
            "like",
            "value"
        ],
        "question": "Find the last names of all the authors that have written a paper with title containing the word \"Monadic\".",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "all",
            "the",
            "authors",
            "that",
            "have",
            "written",
            "a",
            "paper",
            "with",
            "title",
            "containing",
            "the",
            "word",
            "``",
            "Monadic",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%Monadic%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid  =  t2.authid JOIN papers AS t3 ON t2.paperid  =  t3.paperid WHERE t3.title LIKE \"%Monadic%\"",
        "query_toks": [
            "SELECT",
            "t1.lname",
            "FROM",
            "authors",
            "AS",
            "t1",
            "JOIN",
            "authorship",
            "AS",
            "t2",
            "ON",
            "t1.authid",
            "=",
            "t2.authid",
            "JOIN",
            "papers",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t3.title",
            "LIKE",
            "``",
            "%",
            "Monadic",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "authors",
            "as",
            "t1",
            "join",
            "authorship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "authid",
            "=",
            "t2",
            ".",
            "authid",
            "join",
            "papers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "title",
            "like",
            "value"
        ],
        "question": "Which authors have written a paper with title containing the word \"Monadic\"? Return their last names.",
        "question_toks": [
            "Which",
            "authors",
            "have",
            "written",
            "a",
            "paper",
            "with",
            "title",
            "containing",
            "the",
            "word",
            "``",
            "Monadic",
            "''",
            "?",
            "Return",
            "their",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"%Monadic%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.paperid  =  t2.paperid WHERE t1.authorder  =  (SELECT max(authorder) FROM authorship)",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "authorship",
            "AS",
            "t1",
            "JOIN",
            "papers",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.authorder",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "authorder",
            ")",
            "FROM",
            "authorship",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "authorship",
            "as",
            "t1",
            "join",
            "papers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorder",
            "=",
            "(",
            "select",
            "max",
            "(",
            "authorder",
            ")",
            "from",
            "authorship",
            ")"
        ],
        "question": "Retrieve the title of the paper that has the largest number of authors.",
        "question_toks": [
            "Retrieve",
            "the",
            "title",
            "of",
            "the",
            "paper",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "authors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.paperid  =  t2.paperid WHERE t1.authorder  =  (SELECT max(authorder) FROM authorship)",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "authorship",
            "AS",
            "t1",
            "JOIN",
            "papers",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.authorder",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "authorder",
            ")",
            "FROM",
            "authorship",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "authorship",
            "as",
            "t1",
            "join",
            "papers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorder",
            "=",
            "(",
            "select",
            "max",
            "(",
            "authorder",
            ")",
            "from",
            "authorship",
            ")"
        ],
        "question": "Which paper has the most authors? Give me the paper title.",
        "question_toks": [
            "Which",
            "paper",
            "has",
            "the",
            "most",
            "authors",
            "?",
            "Give",
            "me",
            "the",
            "paper",
            "title",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT fname FROM authors WHERE lname  =  \"Ueno\"",
        "query_toks": [
            "SELECT",
            "fname",
            "FROM",
            "authors",
            "WHERE",
            "lname",
            "=",
            "``",
            "Ueno",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "authors",
            "where",
            "lname",
            "=",
            "value"
        ],
        "question": "What is the first name of the author with last name \"Ueno\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "the",
            "author",
            "with",
            "last",
            "name",
            "``",
            "Ueno",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ueno\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT fname FROM authors WHERE lname  =  \"Ueno\"",
        "query_toks": [
            "SELECT",
            "fname",
            "FROM",
            "authors",
            "WHERE",
            "lname",
            "=",
            "``",
            "Ueno",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "authors",
            "where",
            "lname",
            "=",
            "value"
        ],
        "question": "Which authors have last name \"Ueno\"? List their first names.",
        "question_toks": [
            "Which",
            "authors",
            "have",
            "last",
            "name",
            "``",
            "Ueno",
            "''",
            "?",
            "List",
            "their",
            "first",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Ueno\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT lname FROM authors WHERE fname  =  \"Amal\"",
        "query_toks": [
            "SELECT",
            "lname",
            "FROM",
            "authors",
            "WHERE",
            "fname",
            "=",
            "``",
            "Amal",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "authors",
            "where",
            "fname",
            "=",
            "value"
        ],
        "question": "Find the last name of the author with first name \"Amal\".",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "the",
            "author",
            "with",
            "first",
            "name",
            "``",
            "Amal",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Amal\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT lname FROM authors WHERE fname  =  \"Amal\"",
        "query_toks": [
            "SELECT",
            "lname",
            "FROM",
            "authors",
            "WHERE",
            "fname",
            "=",
            "``",
            "Amal",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "authors",
            "where",
            "fname",
            "=",
            "value"
        ],
        "question": "Which authors have first name \"Amal\"? List their last names.",
        "question_toks": [
            "Which",
            "authors",
            "have",
            "first",
            "name",
            "``",
            "Amal",
            "''",
            "?",
            "List",
            "their",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Amal\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT fname FROM authors ORDER BY fname",
        "query_toks": [
            "SELECT",
            "fname",
            "FROM",
            "authors",
            "ORDER",
            "BY",
            "fname"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "authors",
            "order",
            "by",
            "fname"
        ],
        "question": "Find the first names of all the authors ordered in alphabetical order.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "all",
            "the",
            "authors",
            "ordered",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT fname FROM authors ORDER BY fname",
        "query_toks": [
            "SELECT",
            "fname",
            "FROM",
            "authors",
            "ORDER",
            "BY",
            "fname"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "authors",
            "order",
            "by",
            "fname"
        ],
        "question": "Sort the first names of all the authors in alphabetical order.",
        "question_toks": [
            "Sort",
            "the",
            "first",
            "names",
            "of",
            "all",
            "the",
            "authors",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT lname FROM authors ORDER BY lname",
        "query_toks": [
            "SELECT",
            "lname",
            "FROM",
            "authors",
            "ORDER",
            "BY",
            "lname"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "authors",
            "order",
            "by",
            "lname"
        ],
        "question": "Retrieve all the last names of authors in alphabetical order.",
        "question_toks": [
            "Retrieve",
            "all",
            "the",
            "last",
            "names",
            "of",
            "authors",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT lname FROM authors ORDER BY lname",
        "query_toks": [
            "SELECT",
            "lname",
            "FROM",
            "authors",
            "ORDER",
            "BY",
            "lname"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "authors",
            "order",
            "by",
            "lname"
        ],
        "question": "Give me a list of all the last names of authors sorted in alphabetical order",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "all",
            "the",
            "last",
            "names",
            "of",
            "authors",
            "sorted",
            "in",
            "alphabetical",
            "order"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT fname ,  lname FROM authors ORDER BY lname",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "authors",
            "ORDER",
            "BY",
            "lname"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "authors",
            "order",
            "by",
            "lname"
        ],
        "question": "Retrieve all the first and last names of authors in the alphabetical order of last names.",
        "question_toks": [
            "Retrieve",
            "all",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "authors",
            "in",
            "the",
            "alphabetical",
            "order",
            "of",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "icfp_1",
        "query": "SELECT fname ,  lname FROM authors ORDER BY lname",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "authors",
            "ORDER",
            "BY",
            "lname"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "authors",
            "order",
            "by",
            "lname"
        ],
        "question": "Sort the list of all the first and last names of authors in alphabetical order of the last names.",
        "question_toks": [
            "Sort",
            "the",
            "list",
            "of",
            "all",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "authors",
            "in",
            "alphabetical",
            "order",
            "of",
            "the",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(DISTINCT last_name) FROM actor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "last_name",
            ")",
            "FROM",
            "actor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "last_name",
            ")",
            "from",
            "actor"
        ],
        "question": "How many different last names do the actors and actresses have?",
        "question_toks": [
            "How",
            "many",
            "different",
            "last",
            "names",
            "do",
            "the",
            "actors",
            "and",
            "actresses",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(DISTINCT last_name) FROM actor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "last_name",
            ")",
            "FROM",
            "actor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "last_name",
            ")",
            "from",
            "actor"
        ],
        "question": "Count the number of different last names actors have.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "last",
            "names",
            "actors",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT first_name FROM actor GROUP BY first_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "actor",
            "GROUP",
            "BY",
            "first_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "actor",
            "group",
            "by",
            "first_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most popular first name of the actors?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "popular",
            "first",
            "name",
            "of",
            "the",
            "actors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT first_name FROM actor GROUP BY first_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "actor",
            "GROUP",
            "BY",
            "first_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "actor",
            "group",
            "by",
            "first_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the most common first name among all actors.",
        "question_toks": [
            "Return",
            "the",
            "most",
            "common",
            "first",
            "name",
            "among",
            "all",
            "actors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT first_name ,  last_name FROM actor GROUP BY first_name ,  last_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "actor",
            "GROUP",
            "BY",
            "first_name",
            ",",
            "last_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "actor",
            "group",
            "by",
            "first_name",
            ",",
            "last_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most popular full name of the actors?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "popular",
            "full",
            "name",
            "of",
            "the",
            "actors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ],
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT first_name ,  last_name FROM actor GROUP BY first_name ,  last_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "actor",
            "GROUP",
            "BY",
            "first_name",
            ",",
            "last_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "actor",
            "group",
            "by",
            "first_name",
            ",",
            "last_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the most common full name among all actors.",
        "question_toks": [
            "Return",
            "the",
            "most",
            "common",
            "full",
            "name",
            "among",
            "all",
            "actors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ],
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT district FROM address GROUP BY district HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "district",
            "FROM",
            "address",
            "GROUP",
            "BY",
            "district",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "district",
            "from",
            "address",
            "group",
            "by",
            "district",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which districts have at least two addresses?",
        "question_toks": [
            "Which",
            "districts",
            "have",
            "at",
            "least",
            "two",
            "addresses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT district FROM address GROUP BY district HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "district",
            "FROM",
            "address",
            "GROUP",
            "BY",
            "district",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "district",
            "from",
            "address",
            "group",
            "by",
            "district",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Give the districts which have two or more addresses.",
        "question_toks": [
            "Give",
            "the",
            "districts",
            "which",
            "have",
            "two",
            "or",
            "more",
            "addresses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT phone ,  postal_code FROM address WHERE address  =  '1031 Daugavpils Parkway'",
        "query_toks": [
            "SELECT",
            "phone",
            ",",
            "postal_code",
            "FROM",
            "address",
            "WHERE",
            "address",
            "=",
            "'1031",
            "Daugavpils",
            "Parkway",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "phone",
            ",",
            "postal_code",
            "from",
            "address",
            "where",
            "address",
            "=",
            "value"
        ],
        "question": "What is the phone number and postal code of the address 1031 Daugavpils Parkway?",
        "question_toks": [
            "What",
            "is",
            "the",
            "phone",
            "number",
            "and",
            "postal",
            "code",
            "of",
            "the",
            "address",
            "1031",
            "Daugavpils",
            "Parkway",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"1031 Daugavpils Parkway\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT phone ,  postal_code FROM address WHERE address  =  '1031 Daugavpils Parkway'",
        "query_toks": [
            "SELECT",
            "phone",
            ",",
            "postal_code",
            "FROM",
            "address",
            "WHERE",
            "address",
            "=",
            "'1031",
            "Daugavpils",
            "Parkway",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "phone",
            ",",
            "postal_code",
            "from",
            "address",
            "where",
            "address",
            "=",
            "value"
        ],
        "question": "Give the phone and postal code corresponding to the address '1031 Daugavpils Parkway'.",
        "question_toks": [
            "Give",
            "the",
            "phone",
            "and",
            "postal",
            "code",
            "corresponding",
            "to",
            "the",
            "address",
            "'1031",
            "Daugavpils",
            "Parkway",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"1031 Daugavpils Parkway\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.city ,  count(*) ,  T1.city_id FROM address AS T1 JOIN city AS T2 ON T1.city_id  =  T2.city_id GROUP BY T1.city_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.city",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.city_id",
            "FROM",
            "address",
            "AS",
            "T1",
            "JOIN",
            "city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "GROUP",
            "BY",
            "T1.city_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "city_id",
            "from",
            "address",
            "as",
            "t1",
            "join",
            "city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "group",
            "by",
            "t1",
            ".",
            "city_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which city has the most addresses? List the city name, number of addresses, and city id.",
        "question_toks": [
            "Which",
            "city",
            "has",
            "the",
            "most",
            "addresses",
            "?",
            "List",
            "the",
            "city",
            "name",
            ",",
            "number",
            "of",
            "addresses",
            ",",
            "and",
            "city",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.city ,  count(*) ,  T1.city_id FROM address AS T1 JOIN city AS T2 ON T1.city_id  =  T2.city_id GROUP BY T1.city_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.city",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.city_id",
            "FROM",
            "address",
            "AS",
            "T1",
            "JOIN",
            "city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "GROUP",
            "BY",
            "T1.city_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "city_id",
            "from",
            "address",
            "as",
            "t1",
            "join",
            "city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "group",
            "by",
            "t1",
            ".",
            "city_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the city name, id, and number of addresses corresponding to the city with the most addressed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "city",
            "name",
            ",",
            "id",
            ",",
            "and",
            "number",
            "of",
            "addresses",
            "corresponding",
            "to",
            "the",
            "city",
            "with",
            "the",
            "most",
            "addressed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM address WHERE district  =  'California'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "address",
            "WHERE",
            "district",
            "=",
            "'California",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "address",
            "where",
            "district",
            "=",
            "value"
        ],
        "question": "How many addresses are in the district of California?",
        "question_toks": [
            "How",
            "many",
            "addresses",
            "are",
            "in",
            "the",
            "district",
            "of",
            "California",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"California\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM address WHERE district  =  'California'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "address",
            "WHERE",
            "district",
            "=",
            "'California",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "address",
            "where",
            "district",
            "=",
            "value"
        ],
        "question": "Count the number of addressed in the California district.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "addressed",
            "in",
            "the",
            "California",
            "district",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"California\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title ,  film_id FROM film WHERE rental_rate  =  0.99 INTERSECT SELECT T1.title ,  T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id  =  T2.film_id GROUP BY T1.film_id HAVING count(*)  <  3",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "film_id",
            "FROM",
            "film",
            "WHERE",
            "rental_rate",
            "=",
            "0.99",
            "INTERSECT",
            "SELECT",
            "T1.title",
            ",",
            "T1.film_id",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "inventory",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T1.film_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "film_id",
            "from",
            "film",
            "where",
            "rental_rate",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "film_id",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "inventory",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t1",
            ".",
            "film_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "value"
        ],
        "question": "Which film is rented at a fee of 0.99 and has less than 3 in the inventory? List the film title and id.",
        "question_toks": [
            "Which",
            "film",
            "is",
            "rented",
            "at",
            "a",
            "fee",
            "of",
            "0.99",
            "and",
            "has",
            "less",
            "than",
            "3",
            "in",
            "the",
            "inventory",
            "?",
            "List",
            "the",
            "film",
            "title",
            "and",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    0.99,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        32,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        3.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title ,  film_id FROM film WHERE rental_rate  =  0.99 INTERSECT SELECT T1.title ,  T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id  =  T2.film_id GROUP BY T1.film_id HAVING count(*)  <  3",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "film_id",
            "FROM",
            "film",
            "WHERE",
            "rental_rate",
            "=",
            "0.99",
            "INTERSECT",
            "SELECT",
            "T1.title",
            ",",
            "T1.film_id",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "inventory",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T1.film_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "film_id",
            "from",
            "film",
            "where",
            "rental_rate",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "film_id",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "inventory",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t1",
            ".",
            "film_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "value"
        ],
        "question": "What are the title and id of the film which has a rental rate of 0.99 and an inventory of below 3?",
        "question_toks": [
            "What",
            "are",
            "the",
            "title",
            "and",
            "id",
            "of",
            "the",
            "film",
            "which",
            "has",
            "a",
            "rental",
            "rate",
            "of",
            "0.99",
            "and",
            "an",
            "inventory",
            "of",
            "below",
            "3",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    0.99,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        32,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        3.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id  =  T2.country_id WHERE T2.country  =  'Australia'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "country",
            "AS",
            "T2",
            "ON",
            "T1.country_id",
            "=",
            "T2.country_id",
            "WHERE",
            "T2.country",
            "=",
            "'Australia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "country",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "How many cities are in Australia?",
        "question_toks": [
            "How",
            "many",
            "cities",
            "are",
            "in",
            "Australia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Australia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id  =  T2.country_id WHERE T2.country  =  'Australia'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "country",
            "AS",
            "T2",
            "ON",
            "T1.country_id",
            "=",
            "T2.country_id",
            "WHERE",
            "T2.country",
            "=",
            "'Australia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "country",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "Count the number of cities in Australia.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "cities",
            "in",
            "Australia",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Australia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.country FROM city AS T1 JOIN country AS T2 ON T1.country_id  =  T2.country_id GROUP BY T2.country_id HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T2.country",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "country",
            "AS",
            "T2",
            "ON",
            "T1.country_id",
            "=",
            "T2.country_id",
            "GROUP",
            "BY",
            "T2.country_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "country",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "country",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "group",
            "by",
            "t2",
            ".",
            "country_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which countries have at least 3 cities?",
        "question_toks": [
            "Which",
            "countries",
            "have",
            "at",
            "least",
            "3",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.country FROM city AS T1 JOIN country AS T2 ON T1.country_id  =  T2.country_id GROUP BY T2.country_id HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T2.country",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "country",
            "AS",
            "T2",
            "ON",
            "T1.country_id",
            "=",
            "T2.country_id",
            "GROUP",
            "BY",
            "T2.country_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "country",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "country",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "group",
            "by",
            "t2",
            ".",
            "country_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the countries that contain 3 or more cities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "that",
            "contain",
            "3",
            "or",
            "more",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT payment_date FROM payment WHERE amount  >  10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.first_name  =  'Elsa'",
        "query_toks": [
            "SELECT",
            "payment_date",
            "FROM",
            "payment",
            "WHERE",
            "amount",
            ">",
            "10",
            "UNION",
            "SELECT",
            "T1.payment_date",
            "FROM",
            "payment",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "=",
            "'Elsa",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "payment_date",
            "from",
            "payment",
            "where",
            "amount",
            ">",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "payment_date",
            "from",
            "payment",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "Find all the payment dates for the payments with an amount larger than 10 and the payments handled by a staff person with the first name Elsa.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "payment",
            "dates",
            "for",
            "the",
            "payments",
            "with",
            "an",
            "amount",
            "larger",
            "than",
            "10",
            "and",
            "the",
            "payments",
            "handled",
            "by",
            "a",
            "staff",
            "person",
            "with",
            "the",
            "first",
            "name",
            "Elsa",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            12
                        ],
                        [
                            "table_unit",
                            14
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    63,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    66,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                76,
                                false
                            ],
                            null
                        ],
                        "\"Elsa\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT payment_date FROM payment WHERE amount  >  10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.first_name  =  'Elsa'",
        "query_toks": [
            "SELECT",
            "payment_date",
            "FROM",
            "payment",
            "WHERE",
            "amount",
            ">",
            "10",
            "UNION",
            "SELECT",
            "T1.payment_date",
            "FROM",
            "payment",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "=",
            "'Elsa",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "payment_date",
            "from",
            "payment",
            "where",
            "amount",
            ">",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "payment_date",
            "from",
            "payment",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "What are the payment dates for any payments that have an amount greater than 10 or were handled by a staff member with the first name Elsa?",
        "question_toks": [
            "What",
            "are",
            "the",
            "payment",
            "dates",
            "for",
            "any",
            "payments",
            "that",
            "have",
            "an",
            "amount",
            "greater",
            "than",
            "10",
            "or",
            "were",
            "handled",
            "by",
            "a",
            "staff",
            "member",
            "with",
            "the",
            "first",
            "name",
            "Elsa",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            12
                        ],
                        [
                            "table_unit",
                            14
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    63,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    66,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                76,
                                false
                            ],
                            null
                        ],
                        "\"Elsa\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM customer WHERE active = '1'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customer",
            "WHERE",
            "active",
            "=",
            "'1",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer",
            "where",
            "active",
            "=",
            "value"
        ],
        "question": "How many customers have an active value of 1?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "have",
            "an",
            "active",
            "value",
            "of",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"1\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM customer WHERE active = '1'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customer",
            "WHERE",
            "active",
            "=",
            "'1",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer",
            "where",
            "active",
            "=",
            "value"
        ],
        "question": "Count the number of customers who are active.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "who",
            "are",
            "active",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"1\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title ,  rental_rate FROM film ORDER BY rental_rate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "rental_rate",
            "FROM",
            "film",
            "ORDER",
            "BY",
            "rental_rate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "rental_rate",
            "from",
            "film",
            "order",
            "by",
            "rental_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which film has the highest rental rate? And what is the rate?",
        "question_toks": [
            "Which",
            "film",
            "has",
            "the",
            "highest",
            "rental",
            "rate",
            "?",
            "And",
            "what",
            "is",
            "the",
            "rate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title ,  rental_rate FROM film ORDER BY rental_rate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "rental_rate",
            "FROM",
            "film",
            "ORDER",
            "BY",
            "rental_rate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "rental_rate",
            "from",
            "film",
            "order",
            "by",
            "rental_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the title and rental rate of the film with the highest rental rate?",
        "question_toks": [
            "What",
            "are",
            "the",
            "title",
            "and",
            "rental",
            "rate",
            "of",
            "the",
            "film",
            "with",
            "the",
            "highest",
            "rental",
            "rate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.title ,  T2.film_id ,  T2.description FROM film_actor AS T1 JOIN film AS T2 ON T1.film_id  =  T2.film_id GROUP BY T2.film_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T2.film_id",
            ",",
            "T2.description",
            "FROM",
            "film_actor",
            "AS",
            "T1",
            "JOIN",
            "film",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T2.film_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "film_id",
            ",",
            "t2",
            ".",
            "description",
            "from",
            "film_actor",
            "as",
            "t1",
            "join",
            "film",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t2",
            ".",
            "film_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which film has the most number of actors or actresses? List the film name, film id and description.",
        "question_toks": [
            "Which",
            "film",
            "has",
            "the",
            "most",
            "number",
            "of",
            "actors",
            "or",
            "actresses",
            "?",
            "List",
            "the",
            "film",
            "name",
            ",",
            "film",
            "id",
            "and",
            "description",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.title ,  T2.film_id ,  T2.description FROM film_actor AS T1 JOIN film AS T2 ON T1.film_id  =  T2.film_id GROUP BY T2.film_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.title",
            ",",
            "T2.film_id",
            ",",
            "T2.description",
            "FROM",
            "film_actor",
            "AS",
            "T1",
            "JOIN",
            "film",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T2.film_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "film_id",
            ",",
            "t2",
            ".",
            "description",
            "from",
            "film_actor",
            "as",
            "t1",
            "join",
            "film",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t2",
            ".",
            "film_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the title, id, and description of the movie with the greatest number of actors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "title",
            ",",
            "id",
            ",",
            "and",
            "description",
            "of",
            "the",
            "movie",
            "with",
            "the",
            "greatest",
            "number",
            "of",
            "actors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.first_name ,  T2.last_name ,  T2.actor_id FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id  =  T2.actor_id GROUP BY T2.actor_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            ",",
            "T2.actor_id",
            "FROM",
            "film_actor",
            "AS",
            "T1",
            "JOIN",
            "actor",
            "AS",
            "T2",
            "ON",
            "T1.actor_id",
            "=",
            "T2.actor_id",
            "GROUP",
            "BY",
            "T2.actor_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            ",",
            "t2",
            ".",
            "actor_id",
            "from",
            "film_actor",
            "as",
            "t1",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actor_id",
            "=",
            "t2",
            ".",
            "actor_id",
            "group",
            "by",
            "t2",
            ".",
            "actor_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which film actor (actress) starred the most films? List his or her first name, last name and actor id.",
        "question_toks": [
            "Which",
            "film",
            "actor",
            "(",
            "actress",
            ")",
            "starred",
            "the",
            "most",
            "films",
            "?",
            "List",
            "his",
            "or",
            "her",
            "first",
            "name",
            ",",
            "last",
            "name",
            "and",
            "actor",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.first_name ,  T2.last_name ,  T2.actor_id FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id  =  T2.actor_id GROUP BY T2.actor_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            ",",
            "T2.actor_id",
            "FROM",
            "film_actor",
            "AS",
            "T1",
            "JOIN",
            "actor",
            "AS",
            "T2",
            "ON",
            "T1.actor_id",
            "=",
            "T2.actor_id",
            "GROUP",
            "BY",
            "T2.actor_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            ",",
            "t2",
            ".",
            "actor_id",
            "from",
            "film_actor",
            "as",
            "t1",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actor_id",
            "=",
            "t2",
            ".",
            "actor_id",
            "group",
            "by",
            "t2",
            ".",
            "actor_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the full name and id of the actor or actress who starred in the greatest number of films.",
        "question_toks": [
            "Return",
            "the",
            "full",
            "name",
            "and",
            "id",
            "of",
            "the",
            "actor",
            "or",
            "actress",
            "who",
            "starred",
            "in",
            "the",
            "greatest",
            "number",
            "of",
            "films",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.first_name ,  T2.last_name FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id  =  T2.actor_id GROUP BY T2.actor_id HAVING count(*)  >  30",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "film_actor",
            "AS",
            "T1",
            "JOIN",
            "actor",
            "AS",
            "T2",
            "ON",
            "T1.actor_id",
            "=",
            "T2.actor_id",
            "GROUP",
            "BY",
            "T2.actor_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "film_actor",
            "as",
            "t1",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actor_id",
            "=",
            "t2",
            ".",
            "actor_id",
            "group",
            "by",
            "t2",
            ".",
            "actor_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which film actors (actresses) played a role in more than 30 films? List his or her first name and last name.",
        "question_toks": [
            "Which",
            "film",
            "actors",
            "(",
            "actresses",
            ")",
            "played",
            "a",
            "role",
            "in",
            "more",
            "than",
            "30",
            "films",
            "?",
            "List",
            "his",
            "or",
            "her",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.first_name ,  T2.last_name FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id  =  T2.actor_id GROUP BY T2.actor_id HAVING count(*)  >  30",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "film_actor",
            "AS",
            "T1",
            "JOIN",
            "actor",
            "AS",
            "T2",
            "ON",
            "T1.actor_id",
            "=",
            "T2.actor_id",
            "GROUP",
            "BY",
            "T2.actor_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "film_actor",
            "as",
            "t1",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actor_id",
            "=",
            "t2",
            ".",
            "actor_id",
            "group",
            "by",
            "t2",
            ".",
            "actor_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the full names of actors who had roles in more than 30 films?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "actors",
            "who",
            "had",
            "roles",
            "in",
            "more",
            "than",
            "30",
            "films",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT store_id FROM inventory GROUP BY store_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "store_id",
            "FROM",
            "inventory",
            "GROUP",
            "BY",
            "store_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "store_id",
            "from",
            "inventory",
            "group",
            "by",
            "store_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which store owns most items?",
        "question_toks": [
            "Which",
            "store",
            "owns",
            "most",
            "items",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                56,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    56,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT store_id FROM inventory GROUP BY store_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "store_id",
            "FROM",
            "inventory",
            "GROUP",
            "BY",
            "store_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "store_id",
            "from",
            "inventory",
            "group",
            "by",
            "store_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the store that has the most items in inventory?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "store",
            "that",
            "has",
            "the",
            "most",
            "items",
            "in",
            "inventory",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                56,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    56,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT sum(amount) FROM payment",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "amount",
            ")",
            "FROM",
            "payment"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount",
            ")",
            "from",
            "payment"
        ],
        "question": "What is the total amount of all payments?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "all",
            "payments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT sum(amount) FROM payment",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "amount",
            ")",
            "FROM",
            "payment"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount",
            ")",
            "from",
            "payment"
        ],
        "question": "Return the sum of all payment amounts.",
        "question_toks": [
            "Return",
            "the",
            "sum",
            "of",
            "all",
            "payment",
            "amounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T1.customer_id FROM customer AS T1 JOIN payment AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY sum(amount) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T1.customer_id",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "payment",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "amount",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "payment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "sum",
            "(",
            "amount",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which customer, who has made at least one payment, has spent the least money? List his or her first name, last name, and the id.",
        "question_toks": [
            "Which",
            "customer",
            ",",
            "who",
            "has",
            "made",
            "at",
            "least",
            "one",
            "payment",
            ",",
            "has",
            "spent",
            "the",
            "least",
            "money",
            "?",
            "List",
            "his",
            "or",
            "her",
            "first",
            "name",
            ",",
            "last",
            "name",
            ",",
            "and",
            "the",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            62,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            65,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T1.customer_id FROM customer AS T1 JOIN payment AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY sum(amount) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T1.customer_id",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "payment",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "amount",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "payment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "sum",
            "(",
            "amount",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the full name and id of the customer who has the lowest total amount of payment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "full",
            "name",
            "and",
            "id",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "lowest",
            "total",
            "amount",
            "of",
            "payment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            62,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            65,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.name FROM category AS T1 JOIN film_category AS T2 ON T1.category_id  =  T2.category_id JOIN film AS T3 ON T2.film_id  =  T3.film_id WHERE T3.title  =  'HUNGER ROOF'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "category",
            "AS",
            "T1",
            "JOIN",
            "film_category",
            "AS",
            "T2",
            "ON",
            "T1.category_id",
            "=",
            "T2.category_id",
            "JOIN",
            "film",
            "AS",
            "T3",
            "ON",
            "T2.film_id",
            "=",
            "T3.film_id",
            "WHERE",
            "T3.title",
            "=",
            "'HUNGER",
            "ROOF",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t1",
            "join",
            "film_category",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "category_id",
            "=",
            "t2",
            ".",
            "category_id",
            "join",
            "film",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "film_id",
            "=",
            "t3",
            ".",
            "film_id",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What is the genre name of the film HUNGER ROOF?",
        "question_toks": [
            "What",
            "is",
            "the",
            "genre",
            "name",
            "of",
            "the",
            "film",
            "HUNGER",
            "ROOF",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"HUNGER ROOF\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.name FROM category AS T1 JOIN film_category AS T2 ON T1.category_id  =  T2.category_id JOIN film AS T3 ON T2.film_id  =  T3.film_id WHERE T3.title  =  'HUNGER ROOF'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "category",
            "AS",
            "T1",
            "JOIN",
            "film_category",
            "AS",
            "T2",
            "ON",
            "T1.category_id",
            "=",
            "T2.category_id",
            "JOIN",
            "film",
            "AS",
            "T3",
            "ON",
            "T2.film_id",
            "=",
            "T3.film_id",
            "WHERE",
            "T3.title",
            "=",
            "'HUNGER",
            "ROOF",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t1",
            "join",
            "film_category",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "category_id",
            "=",
            "t2",
            ".",
            "category_id",
            "join",
            "film",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "film_id",
            "=",
            "t3",
            ".",
            "film_id",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Return the name of the category to which the film 'HUNGER ROOF' belongs.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "category",
            "to",
            "which",
            "the",
            "film",
            "'HUNGER",
            "ROOF",
            "'",
            "belongs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"HUNGER ROOF\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.name ,  T1.category_id ,  count(*) FROM film_category AS T1 JOIN category AS T2 ON T1.category_id  =  T2.category_id GROUP BY T1.category_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T1.category_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "film_category",
            "AS",
            "T1",
            "JOIN",
            "category",
            "AS",
            "T2",
            "ON",
            "T1.category_id",
            "=",
            "T2.category_id",
            "GROUP",
            "BY",
            "T1.category_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "category_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film_category",
            "as",
            "t1",
            "join",
            "category",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "category_id",
            "=",
            "t2",
            ".",
            "category_id",
            "group",
            "by",
            "t1",
            ".",
            "category_id"
        ],
        "question": "How many films are there in each category? List the genre name, genre id and the count.",
        "question_toks": [
            "How",
            "many",
            "films",
            "are",
            "there",
            "in",
            "each",
            "category",
            "?",
            "List",
            "the",
            "genre",
            "name",
            ",",
            "genre",
            "id",
            "and",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    49,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.name ,  T1.category_id ,  count(*) FROM film_category AS T1 JOIN category AS T2 ON T1.category_id  =  T2.category_id GROUP BY T1.category_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T1.category_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "film_category",
            "AS",
            "T1",
            "JOIN",
            "category",
            "AS",
            "T2",
            "ON",
            "T1.category_id",
            "=",
            "T2.category_id",
            "GROUP",
            "BY",
            "T1.category_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "category_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film_category",
            "as",
            "t1",
            "join",
            "category",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "category_id",
            "=",
            "t2",
            ".",
            "category_id",
            "group",
            "by",
            "t1",
            ".",
            "category_id"
        ],
        "question": "What are the names and ids of the different categories, and how many films are in each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "the",
            "different",
            "categories",
            ",",
            "and",
            "how",
            "many",
            "films",
            "are",
            "in",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    49,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.title ,  T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id  =  T2.film_id GROUP BY T1.film_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.film_id",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "inventory",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T1.film_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "film_id",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "inventory",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t1",
            ".",
            "film_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which film has the most copies in the inventory? List both title and id.",
        "question_toks": [
            "Which",
            "film",
            "has",
            "the",
            "most",
            "copies",
            "in",
            "the",
            "inventory",
            "?",
            "List",
            "both",
            "title",
            "and",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.title ,  T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id  =  T2.film_id GROUP BY T1.film_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T1.film_id",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "inventory",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "GROUP",
            "BY",
            "T1.film_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t1",
            ".",
            "film_id",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "inventory",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "group",
            "by",
            "t1",
            ".",
            "film_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the title and id of the film that has the greatest number of copies in inventory?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "and",
            "id",
            "of",
            "the",
            "film",
            "that",
            "has",
            "the",
            "greatest",
            "number",
            "of",
            "copies",
            "in",
            "inventory",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.title ,  T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id  =  T2.film_id JOIN rental AS T3 ON T2.inventory_id  =  T3.inventory_id GROUP BY T2.inventory_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T2.inventory_id",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "inventory",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "JOIN",
            "rental",
            "AS",
            "T3",
            "ON",
            "T2.inventory_id",
            "=",
            "T3.inventory_id",
            "GROUP",
            "BY",
            "T2.inventory_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "inventory_id",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "inventory",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "join",
            "rental",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "inventory_id",
            "=",
            "t3",
            ".",
            "inventory_id",
            "group",
            "by",
            "t2",
            ".",
            "inventory_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the film title and inventory id of the item in the inventory which was rented most frequently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "film",
            "title",
            "and",
            "inventory",
            "id",
            "of",
            "the",
            "item",
            "in",
            "the",
            "inventory",
            "which",
            "was",
            "rented",
            "most",
            "frequently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                54,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            70,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                54,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    54,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.title ,  T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id  =  T2.film_id JOIN rental AS T3 ON T2.inventory_id  =  T3.inventory_id GROUP BY T2.inventory_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T2.inventory_id",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "inventory",
            "AS",
            "T2",
            "ON",
            "T1.film_id",
            "=",
            "T2.film_id",
            "JOIN",
            "rental",
            "AS",
            "T3",
            "ON",
            "T2.inventory_id",
            "=",
            "T3.inventory_id",
            "GROUP",
            "BY",
            "T2.inventory_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "inventory_id",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "inventory",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "join",
            "rental",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "inventory_id",
            "=",
            "t3",
            ".",
            "inventory_id",
            "group",
            "by",
            "t2",
            ".",
            "inventory_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the title and inventory id of the film that is rented most often.",
        "question_toks": [
            "Return",
            "the",
            "title",
            "and",
            "inventory",
            "id",
            "of",
            "the",
            "film",
            "that",
            "is",
            "rented",
            "most",
            "often",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                54,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            70,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                54,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    54,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(DISTINCT language_id) FROM film",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "language_id",
            ")",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "language_id",
            ")",
            "from",
            "film"
        ],
        "question": "How many languages are in these films?",
        "question_toks": [
            "How",
            "many",
            "languages",
            "are",
            "in",
            "these",
            "films",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                36,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(DISTINCT language_id) FROM film",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "language_id",
            ")",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "language_id",
            ")",
            "from",
            "film"
        ],
        "question": "Count the number of different languages in these films.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "languages",
            "in",
            "these",
            "films",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                36,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title FROM film WHERE rating  =  'R'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "film",
            "WHERE",
            "rating",
            "=",
            "'R",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "film",
            "where",
            "rating",
            "=",
            "value"
        ],
        "question": "What are all the movies rated as R? List the titles.",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "movies",
            "rated",
            "as",
            "R",
            "?",
            "List",
            "the",
            "titles",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"R\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title FROM film WHERE rating  =  'R'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "film",
            "WHERE",
            "rating",
            "=",
            "'R",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "film",
            "where",
            "rating",
            "=",
            "value"
        ],
        "question": "Return the titles of any movies with an R rating.",
        "question_toks": [
            "Return",
            "the",
            "titles",
            "of",
            "any",
            "movies",
            "with",
            "an",
            "R",
            "rating",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"R\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.address FROM store AS T1 JOIN address AS T2 ON T1.address_id  =  T2.address_id WHERE store_id  =  1",
        "query_toks": [
            "SELECT",
            "T2.address",
            "FROM",
            "store",
            "AS",
            "T1",
            "JOIN",
            "address",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "store_id",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "address",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "address",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "store_id",
            "=",
            "value"
        ],
        "question": "Where is store 1 located?",
        "question_toks": [
            "Where",
            "is",
            "store",
            "1",
            "located",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        15
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                88,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            86,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.address FROM store AS T1 JOIN address AS T2 ON T1.address_id  =  T2.address_id WHERE store_id  =  1",
        "query_toks": [
            "SELECT",
            "T2.address",
            "FROM",
            "store",
            "AS",
            "T1",
            "JOIN",
            "address",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "store_id",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "address",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "address",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "store_id",
            "=",
            "value"
        ],
        "question": "Return the address of store 1.",
        "question_toks": [
            "Return",
            "the",
            "address",
            "of",
            "store",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        15
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                88,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            86,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T1.staff_id FROM staff AS T1 JOIN payment AS T2 ON T1.staff_id  =  T2.staff_id GROUP BY T1.staff_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T1.staff_id",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "payment",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "GROUP",
            "BY",
            "T1.staff_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "staff_id",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "payment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "group",
            "by",
            "t1",
            ".",
            "staff_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which staff handled least number of payments? List the full name and the id.",
        "question_toks": [
            "Which",
            "staff",
            "handled",
            "least",
            "number",
            "of",
            "payments",
            "?",
            "List",
            "the",
            "full",
            "name",
            "and",
            "the",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                76,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                77,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    75,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T1.staff_id FROM staff AS T1 JOIN payment AS T2 ON T1.staff_id  =  T2.staff_id GROUP BY T1.staff_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T1.staff_id",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "payment",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "GROUP",
            "BY",
            "T1.staff_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "staff_id",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "payment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "group",
            "by",
            "t1",
            ".",
            "staff_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Give the full name and staff id of the staff who has handled the fewest payments.",
        "question_toks": [
            "Give",
            "the",
            "full",
            "name",
            "and",
            "staff",
            "id",
            "of",
            "the",
            "staff",
            "who",
            "has",
            "handled",
            "the",
            "fewest",
            "payments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                76,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                77,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    75,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.name FROM film AS T1 JOIN LANGUAGE AS T2 ON T1.language_id  =  T2.language_id WHERE T1.title  =  'AIRPORT POLLOCK'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "LANGUAGE",
            "AS",
            "T2",
            "ON",
            "T1.language_id",
            "=",
            "T2.language_id",
            "WHERE",
            "T1.title",
            "=",
            "'AIRPORT",
            "POLLOCK",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "language",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "language_id",
            "=",
            "t2",
            ".",
            "language_id",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Which language does the film AIRPORT POLLOCK use? List the language name.",
        "question_toks": [
            "Which",
            "language",
            "does",
            "the",
            "film",
            "AIRPORT",
            "POLLOCK",
            "use",
            "?",
            "List",
            "the",
            "language",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"AIRPORT POLLOCK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.name FROM film AS T1 JOIN LANGUAGE AS T2 ON T1.language_id  =  T2.language_id WHERE T1.title  =  'AIRPORT POLLOCK'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "LANGUAGE",
            "AS",
            "T2",
            "ON",
            "T1.language_id",
            "=",
            "T2.language_id",
            "WHERE",
            "T1.title",
            "=",
            "'AIRPORT",
            "POLLOCK",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "language",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "language_id",
            "=",
            "t2",
            ".",
            "language_id",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What is the name of the language that the film 'AIRPORT POLLOCK' is in?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "language",
            "that",
            "the",
            "film",
            "'AIRPORT",
            "POLLOCK",
            "'",
            "is",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"AIRPORT POLLOCK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM store",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "store"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "store"
        ],
        "question": "How many stores are there?",
        "question_toks": [
            "How",
            "many",
            "stores",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM store",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "store"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "store"
        ],
        "question": "Count the number of stores.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "stores",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(DISTINCT rating) FROM film",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "rating",
            ")",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "rating",
            ")",
            "from",
            "film"
        ],
        "question": "How many kinds of different ratings are listed?",
        "question_toks": [
            "How",
            "many",
            "kinds",
            "of",
            "different",
            "ratings",
            "are",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                42,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(DISTINCT rating) FROM film",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "rating",
            ")",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "rating",
            ")",
            "from",
            "film"
        ],
        "question": "Count the number of different film ratings.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "film",
            "ratings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                42,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title FROM film WHERE special_features LIKE '%Deleted Scenes%'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "film",
            "WHERE",
            "special_features",
            "LIKE",
            "'",
            "%",
            "Deleted",
            "Scenes",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "film",
            "where",
            "special_features",
            "like",
            "value"
        ],
        "question": "Which movies have 'Deleted Scenes' as a substring in the special feature?",
        "question_toks": [
            "Which",
            "movies",
            "have",
            "'Deleted",
            "Scenes",
            "'",
            "as",
            "a",
            "substring",
            "in",
            "the",
            "special",
            "feature",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"%Deleted Scenes%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title FROM film WHERE special_features LIKE '%Deleted Scenes%'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "film",
            "WHERE",
            "special_features",
            "LIKE",
            "'",
            "%",
            "Deleted",
            "Scenes",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "film",
            "where",
            "special_features",
            "like",
            "value"
        ],
        "question": "Return the titles of films that include 'Deleted Scenes' in their special feature section.",
        "question_toks": [
            "Return",
            "the",
            "titles",
            "of",
            "films",
            "that",
            "include",
            "'Deleted",
            "Scenes",
            "'",
            "in",
            "their",
            "special",
            "feature",
            "section",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"%Deleted Scenes%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM inventory WHERE store_id  =  1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "inventory",
            "WHERE",
            "store_id",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "inventory",
            "where",
            "store_id",
            "=",
            "value"
        ],
        "question": "How many items in inventory does store 1 have?",
        "question_toks": [
            "How",
            "many",
            "items",
            "in",
            "inventory",
            "does",
            "store",
            "1",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT count(*) FROM inventory WHERE store_id  =  1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "inventory",
            "WHERE",
            "store_id",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "inventory",
            "where",
            "store_id",
            "=",
            "value"
        ],
        "question": "Count the number of items store 1 has in stock.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "items",
            "store",
            "1",
            "has",
            "in",
            "stock",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT payment_date FROM payment ORDER BY payment_date ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "payment_date",
            "FROM",
            "payment",
            "ORDER",
            "BY",
            "payment_date",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_date",
            "from",
            "payment",
            "order",
            "by",
            "payment_date",
            "asc",
            "limit",
            "value"
        ],
        "question": "When did the first payment happen?",
        "question_toks": [
            "When",
            "did",
            "the",
            "first",
            "payment",
            "happen",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT payment_date FROM payment ORDER BY payment_date ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "payment_date",
            "FROM",
            "payment",
            "ORDER",
            "BY",
            "payment_date",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_date",
            "from",
            "payment",
            "order",
            "by",
            "payment_date",
            "asc",
            "limit",
            "value"
        ],
        "question": "What was the date of the earliest payment?",
        "question_toks": [
            "What",
            "was",
            "the",
            "date",
            "of",
            "the",
            "earliest",
            "payment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.address ,  T1.email FROM customer AS T1 JOIN address AS T2 ON T2.address_id  =  T1.address_id WHERE T1.first_name  =  'LINDA'",
        "query_toks": [
            "SELECT",
            "T2.address",
            ",",
            "T1.email",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "address",
            "AS",
            "T2",
            "ON",
            "T2.address_id",
            "=",
            "T1.address_id",
            "WHERE",
            "T1.first_name",
            "=",
            "'LINDA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "address",
            ",",
            "t1",
            ".",
            "email",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "address",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t1",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "Where does the customer with the first name Linda live? And what is her email?",
        "question_toks": [
            "Where",
            "does",
            "the",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "Linda",
            "live",
            "?",
            "And",
            "what",
            "is",
            "her",
            "email",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"LINDA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.address ,  T1.email FROM customer AS T1 JOIN address AS T2 ON T2.address_id  =  T1.address_id WHERE T1.first_name  =  'LINDA'",
        "query_toks": [
            "SELECT",
            "T2.address",
            ",",
            "T1.email",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "address",
            "AS",
            "T2",
            "ON",
            "T2.address_id",
            "=",
            "T1.address_id",
            "WHERE",
            "T1.first_name",
            "=",
            "'LINDA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "address",
            ",",
            "t1",
            ".",
            "email",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "address",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t1",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "Return the address and email of the customer with the first name Linda.",
        "question_toks": [
            "Return",
            "the",
            "address",
            "and",
            "email",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "Linda",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"LINDA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title FROM film WHERE LENGTH  >  100 OR rating  =  'PG' EXCEPT SELECT title FROM film WHERE replacement_cost  >  200",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "film",
            "WHERE",
            "LENGTH",
            ">",
            "100",
            "OR",
            "rating",
            "=",
            "'PG",
            "'",
            "EXCEPT",
            "SELECT",
            "title",
            "FROM",
            "film",
            "WHERE",
            "replacement_cost",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "film",
            "where",
            "length",
            ">",
            "value",
            "or",
            "rating",
            "=",
            "value",
            "except",
            "select",
            "title",
            "from",
            "film",
            "where",
            "replacement_cost",
            ">",
            "value"
        ],
        "question": "Find all the films longer than 100 minutes, or rated PG, except those who cost more than 200 for replacement. List the titles.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "films",
            "longer",
            "than",
            "100",
            "minutes",
            ",",
            "or",
            "rated",
            "PG",
            ",",
            "except",
            "those",
            "who",
            "cost",
            "more",
            "than",
            "200",
            "for",
            "replacement",
            ".",
            "List",
            "the",
            "titles",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"PG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        200.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT title FROM film WHERE LENGTH  >  100 OR rating  =  'PG' EXCEPT SELECT title FROM film WHERE replacement_cost  >  200",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "film",
            "WHERE",
            "LENGTH",
            ">",
            "100",
            "OR",
            "rating",
            "=",
            "'PG",
            "'",
            "EXCEPT",
            "SELECT",
            "title",
            "FROM",
            "film",
            "WHERE",
            "replacement_cost",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "film",
            "where",
            "length",
            ">",
            "value",
            "or",
            "rating",
            "=",
            "value",
            "except",
            "select",
            "title",
            "from",
            "film",
            "where",
            "replacement_cost",
            ">",
            "value"
        ],
        "question": "What are the titles of films that are either longer than 100 minutes or rated PG other than those that cost more than 200 to replace?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "films",
            "that",
            "are",
            "either",
            "longer",
            "than",
            "100",
            "minutes",
            "or",
            "rated",
            "PG",
            "other",
            "than",
            "those",
            "that",
            "cost",
            "more",
            "than",
            "200",
            "to",
            "replace",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"PG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        200.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.first_name ,  T1.last_name FROM customer AS T1 JOIN rental AS T2 ON T1.customer_id  =  T2.customer_id ORDER BY T2.rental_date ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "rental",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "ORDER",
            "BY",
            "T2.rental_date",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "rental",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "order",
            "by",
            "t2",
            ".",
            "rental_date",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the first name and the last name of the customer who made the earliest rental?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "and",
            "the",
            "last",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "made",
            "the",
            "earliest",
            "rental",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            71,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            69,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T1.first_name ,  T1.last_name FROM customer AS T1 JOIN rental AS T2 ON T1.customer_id  =  T2.customer_id ORDER BY T2.rental_date ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "rental",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "ORDER",
            "BY",
            "T2.rental_date",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "rental",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "order",
            "by",
            "t2",
            ".",
            "rental_date",
            "asc",
            "limit",
            "value"
        ],
        "question": "Return the full name of the customer who made the first rental.",
        "question_toks": [
            "Return",
            "the",
            "full",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "made",
            "the",
            "first",
            "rental",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            71,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            69,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT DISTINCT T1.first_name ,  T1.last_name FROM staff AS T1 JOIN rental AS T2 ON T1.staff_id  =  T2.staff_id JOIN customer AS T3 ON T2.customer_id  =  T3.customer_id WHERE T3.first_name  =  'APRIL' AND T3.last_name  =  'BURNS'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "rental",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "JOIN",
            "customer",
            "AS",
            "T3",
            "ON",
            "T2.customer_id",
            "=",
            "T3.customer_id",
            "WHERE",
            "T3.first_name",
            "=",
            "'APRIL",
            "'",
            "AND",
            "T3.last_name",
            "=",
            "'BURNS",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "rental",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "join",
            "customer",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t3",
            ".",
            "customer_id",
            "where",
            "t3",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the full name of the staff member who has rented a film to a customer with the first name April and the last name Burns?",
        "question_toks": [
            "What",
            "is",
            "the",
            "full",
            "name",
            "of",
            "the",
            "staff",
            "member",
            "who",
            "has",
            "rented",
            "a",
            "film",
            "to",
            "a",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "April",
            "and",
            "the",
            "last",
            "name",
            "Burns",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            73,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                71,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                76,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                77,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"APRIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"BURNS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT DISTINCT T1.first_name ,  T1.last_name FROM staff AS T1 JOIN rental AS T2 ON T1.staff_id  =  T2.staff_id JOIN customer AS T3 ON T2.customer_id  =  T3.customer_id WHERE T3.first_name  =  'APRIL' AND T3.last_name  =  'BURNS'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "rental",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "JOIN",
            "customer",
            "AS",
            "T3",
            "ON",
            "T2.customer_id",
            "=",
            "T3.customer_id",
            "WHERE",
            "T3.first_name",
            "=",
            "'APRIL",
            "'",
            "AND",
            "T3.last_name",
            "=",
            "'BURNS",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "rental",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "join",
            "customer",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "customer_id",
            "=",
            "t3",
            ".",
            "customer_id",
            "where",
            "t3",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "Return the full name of the staff who provided a customer with the first name April and the last name Burns with a film rental.",
        "question_toks": [
            "Return",
            "the",
            "full",
            "name",
            "of",
            "the",
            "staff",
            "who",
            "provided",
            "a",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "April",
            "and",
            "the",
            "last",
            "name",
            "Burns",
            "with",
            "a",
            "film",
            "rental",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            73,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                71,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                76,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                77,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"APRIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"BURNS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT store_id FROM customer GROUP BY store_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "store_id",
            "FROM",
            "customer",
            "GROUP",
            "BY",
            "store_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "store_id",
            "from",
            "customer",
            "group",
            "by",
            "store_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which store has most the customers?",
        "question_toks": [
            "Which",
            "store",
            "has",
            "most",
            "the",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT store_id FROM customer GROUP BY store_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "store_id",
            "FROM",
            "customer",
            "GROUP",
            "BY",
            "store_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "store_id",
            "from",
            "customer",
            "group",
            "by",
            "store_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the id of the store with the most customers.",
        "question_toks": [
            "Return",
            "the",
            "id",
            "of",
            "the",
            "store",
            "with",
            "the",
            "most",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT amount FROM payment ORDER BY amount DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "amount",
            "FROM",
            "payment",
            "ORDER",
            "BY",
            "amount",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "amount",
            "from",
            "payment",
            "order",
            "by",
            "amount",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the largest payment amount?",
        "question_toks": [
            "What",
            "is",
            "the",
            "largest",
            "payment",
            "amount",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT amount FROM payment ORDER BY amount DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "amount",
            "FROM",
            "payment",
            "ORDER",
            "BY",
            "amount",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "amount",
            "from",
            "payment",
            "order",
            "by",
            "amount",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the amount of the largest payment.",
        "question_toks": [
            "Return",
            "the",
            "amount",
            "of",
            "the",
            "largest",
            "payment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            65,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.address FROM staff AS T1 JOIN address AS T2 ON T1.address_id  =  T2.address_id WHERE T1.first_name  =  'Elsa'",
        "query_toks": [
            "SELECT",
            "T2.address",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "address",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.first_name",
            "=",
            "'Elsa",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "address",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "address",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "Where does the staff member with the first name Elsa live?",
        "question_toks": [
            "Where",
            "does",
            "the",
            "staff",
            "member",
            "with",
            "the",
            "first",
            "name",
            "Elsa",
            "live",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                78,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            76,
                            false
                        ],
                        null
                    ],
                    "\"Elsa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT T2.address FROM staff AS T1 JOIN address AS T2 ON T1.address_id  =  T2.address_id WHERE T1.first_name  =  'Elsa'",
        "query_toks": [
            "SELECT",
            "T2.address",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "address",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.first_name",
            "=",
            "'Elsa",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "address",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "address",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "Give the address of the staff member who has the first name Elsa.",
        "question_toks": [
            "Give",
            "the",
            "address",
            "of",
            "the",
            "staff",
            "member",
            "who",
            "has",
            "the",
            "first",
            "name",
            "Elsa",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                78,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            76,
                            false
                        ],
                        null
                    ],
                    "\"Elsa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT first_name FROM customer WHERE customer_id NOT IN( SELECT customer_id FROM rental WHERE rental_date  >  '2005-08-23 02:06:01' )",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "customer",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "rental",
            "WHERE",
            "rental_date",
            ">",
            "'2005-08-23",
            "02:06:01",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "customer",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "rental",
            "where",
            "rental_date",
            ">",
            "value",
            ")"
        ],
        "question": "What are the first names of customers who have not rented any films after '2005-08-23 02:06:01'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "not",
            "rented",
            "any",
            "films",
            "after",
            "'2005-08-23",
            "02:06:01",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    13
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            71,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        69,
                                        false
                                    ],
                                    null
                                ],
                                "\"2005-08-23 02:06:01\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sakila_1",
        "query": "SELECT first_name FROM customer WHERE customer_id NOT IN( SELECT customer_id FROM rental WHERE rental_date  >  '2005-08-23 02:06:01' )",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "customer",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "rental",
            "WHERE",
            "rental_date",
            ">",
            "'2005-08-23",
            "02:06:01",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "customer",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "rental",
            "where",
            "rental_date",
            ">",
            "value",
            ")"
        ],
        "question": "Return the first names of customers who did not rented a film after the date '2005-08-23 02:06:01'.",
        "question_toks": [
            "Return",
            "the",
            "first",
            "names",
            "of",
            "customers",
            "who",
            "did",
            "not",
            "rented",
            "a",
            "film",
            "after",
            "the",
            "date",
            "'2005-08-23",
            "02:06:01",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    13
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            71,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        69,
                                        false
                                    ],
                                    null
                                ],
                                "\"2005-08-23 02:06:01\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT count(*) FROM bank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "bank"
        ],
        "question": "How many bank branches are there?",
        "question_toks": [
            "How",
            "many",
            "bank",
            "branches",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT count(*) FROM bank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "bank"
        ],
        "question": "Count the number of bank branches.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "bank",
            "branches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(no_of_customers) FROM bank",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "from",
            "bank"
        ],
        "question": "How many customers are there?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(no_of_customers) FROM bank",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "from",
            "bank"
        ],
        "question": "What is the total number of customers across banks?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "customers",
            "across",
            "banks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(no_of_customers) FROM bank WHERE city  =  'New York City'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "FROM",
            "bank",
            "WHERE",
            "city",
            "=",
            "'New",
            "York",
            "City",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "from",
            "bank",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "Find the number of customers in the banks at New York City.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "customers",
            "in",
            "the",
            "banks",
            "at",
            "New",
            "York",
            "City",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"New York City\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(no_of_customers) FROM bank WHERE city  =  'New York City'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "FROM",
            "bank",
            "WHERE",
            "city",
            "=",
            "'New",
            "York",
            "City",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "from",
            "bank",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What is the total number of customers who use banks in New York City?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "customers",
            "who",
            "use",
            "banks",
            "in",
            "New",
            "York",
            "City",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"New York City\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(no_of_customers) FROM bank WHERE state  =  'Utah'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "no_of_customers",
            ")",
            "FROM",
            "bank",
            "WHERE",
            "state",
            "=",
            "'Utah",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "no_of_customers",
            ")",
            "from",
            "bank",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "Find the average number of customers in all banks of Utah state.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "number",
            "of",
            "customers",
            "in",
            "all",
            "banks",
            "of",
            "Utah",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Utah\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(no_of_customers) FROM bank WHERE state  =  'Utah'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "no_of_customers",
            ")",
            "FROM",
            "bank",
            "WHERE",
            "state",
            "=",
            "'Utah",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "no_of_customers",
            ")",
            "from",
            "bank",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "What is the average number of customers across banks in the state of Utah?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "customers",
            "across",
            "banks",
            "in",
            "the",
            "state",
            "of",
            "Utah",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Utah\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(no_of_customers) FROM bank",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "no_of_customers",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "no_of_customers",
            ")",
            "from",
            "bank"
        ],
        "question": "Find the average number of customers cross all banks.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "number",
            "of",
            "customers",
            "cross",
            "all",
            "banks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(no_of_customers) FROM bank",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "no_of_customers",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "no_of_customers",
            ")",
            "from",
            "bank"
        ],
        "question": "What is the average number of bank customers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "bank",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT city ,  state FROM bank WHERE bname  =  'morningside'",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "state",
            "FROM",
            "bank",
            "WHERE",
            "bname",
            "=",
            "'morningside",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "state",
            "from",
            "bank",
            "where",
            "bname",
            "=",
            "value"
        ],
        "question": "Find the city and state of the bank branch named morningside.",
        "question_toks": [
            "Find",
            "the",
            "city",
            "and",
            "state",
            "of",
            "the",
            "bank",
            "branch",
            "named",
            "morningside",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"morningside\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT city ,  state FROM bank WHERE bname  =  'morningside'",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "state",
            "FROM",
            "bank",
            "WHERE",
            "bname",
            "=",
            "'morningside",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "state",
            "from",
            "bank",
            "where",
            "bname",
            "=",
            "value"
        ],
        "question": "What city and state is the bank with the name morningside in?",
        "question_toks": [
            "What",
            "city",
            "and",
            "state",
            "is",
            "the",
            "bank",
            "with",
            "the",
            "name",
            "morningside",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"morningside\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT bname FROM bank WHERE state  =  'New York'",
        "query_toks": [
            "SELECT",
            "bname",
            "FROM",
            "bank",
            "WHERE",
            "state",
            "=",
            "'New",
            "York",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "bname",
            "from",
            "bank",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "Find the branch names of banks in the New York state.",
        "question_toks": [
            "Find",
            "the",
            "branch",
            "names",
            "of",
            "banks",
            "in",
            "the",
            "New",
            "York",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"New York\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT bname FROM bank WHERE state  =  'New York'",
        "query_toks": [
            "SELECT",
            "bname",
            "FROM",
            "bank",
            "WHERE",
            "state",
            "=",
            "'New",
            "York",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "bname",
            "from",
            "bank",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "What are the names of banks in the state of New York?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "banks",
            "in",
            "the",
            "state",
            "of",
            "New",
            "York",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"New York\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer ORDER BY acc_bal",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "ORDER",
            "BY",
            "acc_bal"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "order",
            "by",
            "acc_bal"
        ],
        "question": "List the name of all customers sorted by their account balance in ascending order.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "all",
            "customers",
            "sorted",
            "by",
            "their",
            "account",
            "balance",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer ORDER BY acc_bal",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "ORDER",
            "BY",
            "acc_bal"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "order",
            "by",
            "acc_bal"
        ],
        "question": "What are the names of all customers, ordered by account balance?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "customers",
            ",",
            "ordered",
            "by",
            "account",
            "balance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name ORDER BY sum(T2.amount)",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "GROUP",
            "BY",
            "T1.cust_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T2.amount",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "group",
            "by",
            "t1",
            ".",
            "cust_name",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")"
        ],
        "question": "List the name of all different customers who have some loan sorted by their total loan amount.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "all",
            "different",
            "customers",
            "who",
            "have",
            "some",
            "loan",
            "sorted",
            "by",
            "their",
            "total",
            "loan",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name ORDER BY sum(T2.amount)",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "GROUP",
            "BY",
            "T1.cust_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T2.amount",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "group",
            "by",
            "t1",
            ".",
            "cust_name",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")"
        ],
        "question": "What are the names of the different customers who have taken out a loan, ordered by the total amount that they have taken?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "different",
            "customers",
            "who",
            "have",
            "taken",
            "out",
            "a",
            "loan",
            ",",
            "ordered",
            "by",
            "the",
            "total",
            "amount",
            "that",
            "they",
            "have",
            "taken",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT state ,  acc_type ,  credit_score FROM customer WHERE no_of_loans  =  0",
        "query_toks": [
            "SELECT",
            "state",
            ",",
            "acc_type",
            ",",
            "credit_score",
            "FROM",
            "customer",
            "WHERE",
            "no_of_loans",
            "=",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            ",",
            "acc_type",
            ",",
            "credit_score",
            "from",
            "customer",
            "where",
            "no_of_loans",
            "=",
            "value"
        ],
        "question": "Find the state, account type, and credit score of the customer whose number of loan is 0.",
        "question_toks": [
            "Find",
            "the",
            "state",
            ",",
            "account",
            "type",
            ",",
            "and",
            "credit",
            "score",
            "of",
            "the",
            "customer",
            "whose",
            "number",
            "of",
            "loan",
            "is",
            "0",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT state ,  acc_type ,  credit_score FROM customer WHERE no_of_loans  =  0",
        "query_toks": [
            "SELECT",
            "state",
            ",",
            "acc_type",
            ",",
            "credit_score",
            "FROM",
            "customer",
            "WHERE",
            "no_of_loans",
            "=",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            ",",
            "acc_type",
            ",",
            "credit_score",
            "from",
            "customer",
            "where",
            "no_of_loans",
            "=",
            "value"
        ],
        "question": "What are the states, account types, and credit scores for customers who have 0 loans?",
        "question_toks": [
            "What",
            "are",
            "the",
            "states",
            ",",
            "account",
            "types",
            ",",
            "and",
            "credit",
            "scores",
            "for",
            "customers",
            "who",
            "have",
            "0",
            "loans",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT count(DISTINCT city) FROM bank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "bank"
        ],
        "question": "Find the number of different cities which banks are located at.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "different",
            "cities",
            "which",
            "banks",
            "are",
            "located",
            "at",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT count(DISTINCT city) FROM bank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "bank"
        ],
        "question": "In how many different cities are banks located?",
        "question_toks": [
            "In",
            "how",
            "many",
            "different",
            "cities",
            "are",
            "banks",
            "located",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT count(DISTINCT state) FROM bank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "state",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "state",
            ")",
            "from",
            "bank"
        ],
        "question": "Find the number of different states which banks are located at.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "different",
            "states",
            "which",
            "banks",
            "are",
            "located",
            "at",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT count(DISTINCT state) FROM bank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "state",
            ")",
            "FROM",
            "bank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "state",
            ")",
            "from",
            "bank"
        ],
        "question": "In how many different states are banks located?",
        "question_toks": [
            "In",
            "how",
            "many",
            "different",
            "states",
            "are",
            "banks",
            "located",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT count(DISTINCT acc_type) FROM customer",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "acc_type",
            ")",
            "FROM",
            "customer"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "acc_type",
            ")",
            "from",
            "customer"
        ],
        "question": "How many distinct types of accounts are there?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "types",
            "of",
            "accounts",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT count(DISTINCT acc_type) FROM customer",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "acc_type",
            ")",
            "FROM",
            "customer"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "acc_type",
            ")",
            "from",
            "customer"
        ],
        "question": "Count the number of different account types.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "account",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name ,  acc_bal FROM customer WHERE cust_name LIKE '%a%'",
        "query_toks": [
            "SELECT",
            "cust_name",
            ",",
            "acc_bal",
            "FROM",
            "customer",
            "WHERE",
            "cust_name",
            "LIKE",
            "'",
            "%",
            "a",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            ",",
            "acc_bal",
            "from",
            "customer",
            "where",
            "cust_name",
            "like",
            "value"
        ],
        "question": "Find the name and account balance of the customer whose name includes the letter \u2018a\u2019.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "account",
            "balance",
            "of",
            "the",
            "customer",
            "whose",
            "name",
            "includes",
            "the",
            "letter",
            "\u2018a\u2019",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name ,  acc_bal FROM customer WHERE cust_name LIKE '%a%'",
        "query_toks": [
            "SELECT",
            "cust_name",
            ",",
            "acc_bal",
            "FROM",
            "customer",
            "WHERE",
            "cust_name",
            "LIKE",
            "'",
            "%",
            "a",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            ",",
            "acc_bal",
            "from",
            "customer",
            "where",
            "cust_name",
            "like",
            "value"
        ],
        "question": "What are the names and account balances of customers with the letter a in their names?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "account",
            "balances",
            "of",
            "customers",
            "with",
            "the",
            "letter",
            "a",
            "in",
            "their",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(acc_bal) FROM customer WHERE state  =  'Utah' OR state  =  'Texas'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "acc_bal",
            ")",
            "FROM",
            "customer",
            "WHERE",
            "state",
            "=",
            "'Utah",
            "'",
            "OR",
            "state",
            "=",
            "'Texas",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "acc_bal",
            ")",
            "from",
            "customer",
            "where",
            "state",
            "=",
            "value",
            "or",
            "state",
            "=",
            "value"
        ],
        "question": "Find the total account balance of each customer from Utah or Texas.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "account",
            "balance",
            "of",
            "each",
            "customer",
            "from",
            "Utah",
            "or",
            "Texas",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Utah\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(acc_bal) FROM customer WHERE state  =  'Utah' OR state  =  'Texas'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "acc_bal",
            ")",
            "FROM",
            "customer",
            "WHERE",
            "state",
            "=",
            "'Utah",
            "'",
            "OR",
            "state",
            "=",
            "'Texas",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "acc_bal",
            ")",
            "from",
            "customer",
            "where",
            "state",
            "=",
            "value",
            "or",
            "state",
            "=",
            "value"
        ],
        "question": "What are the total account balances for each customer from Utah or Texas?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "account",
            "balances",
            "for",
            "each",
            "customer",
            "from",
            "Utah",
            "or",
            "Texas",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Utah\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer WHERE acc_type  =  'saving' INTERSECT SELECT cust_name FROM customer WHERE acc_type  =  'checking'",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "WHERE",
            "acc_type",
            "=",
            "'saving",
            "'",
            "INTERSECT",
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "WHERE",
            "acc_type",
            "=",
            "'checking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "where",
            "acc_type",
            "=",
            "value",
            "intersect",
            "select",
            "cust_name",
            "from",
            "customer",
            "where",
            "acc_type",
            "=",
            "value"
        ],
        "question": "Find the name of customers who have both saving and checking account types.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customers",
            "who",
            "have",
            "both",
            "saving",
            "and",
            "checking",
            "account",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"saving\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"checking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer WHERE acc_type  =  'saving' INTERSECT SELECT cust_name FROM customer WHERE acc_type  =  'checking'",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "WHERE",
            "acc_type",
            "=",
            "'saving",
            "'",
            "INTERSECT",
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "WHERE",
            "acc_type",
            "=",
            "'checking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "where",
            "acc_type",
            "=",
            "value",
            "intersect",
            "select",
            "cust_name",
            "from",
            "customer",
            "where",
            "acc_type",
            "=",
            "value"
        ],
        "question": "What are the names of customers who have both savings and checking accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "both",
            "savings",
            "and",
            "checking",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"saving\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"checking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type  =  'saving'",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "EXCEPT",
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "WHERE",
            "acc_type",
            "=",
            "'saving",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "except",
            "select",
            "cust_name",
            "from",
            "customer",
            "where",
            "acc_type",
            "=",
            "value"
        ],
        "question": "Find the name of customers who do not have an saving account.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "an",
            "saving",
            "account",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"saving\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type  =  'saving'",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "EXCEPT",
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "WHERE",
            "acc_type",
            "=",
            "'saving",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "except",
            "select",
            "cust_name",
            "from",
            "customer",
            "where",
            "acc_type",
            "=",
            "value"
        ],
        "question": "What are the names of customers who do not have saving accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "saving",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"saving\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer EXCEPT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id WHERE T2.loan_type  =  'Mortgages'",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "EXCEPT",
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "WHERE",
            "T2.loan_type",
            "=",
            "'Mortgages",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "except",
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "where",
            "t2",
            ".",
            "loan_type",
            "=",
            "value"
        ],
        "question": "Find the name of customers who do not have a loan with a type of Mortgages.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "a",
            "loan",
            "with",
            "a",
            "type",
            "of",
            "Mortgages",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "\"Mortgages\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer EXCEPT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id WHERE T2.loan_type  =  'Mortgages'",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "EXCEPT",
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "WHERE",
            "T2.loan_type",
            "=",
            "'Mortgages",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "except",
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "where",
            "t2",
            ".",
            "loan_type",
            "=",
            "value"
        ],
        "question": "What are the names of customers who have not taken a Mortage loan?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "not",
            "taken",
            "a",
            "Mortage",
            "loan",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "\"Mortgages\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id WHERE loan_type  =  'Mortgages' INTERSECT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id WHERE loan_type  =  'Auto'",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "WHERE",
            "loan_type",
            "=",
            "'Mortgages",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "WHERE",
            "loan_type",
            "=",
            "'Auto",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "where",
            "loan_type",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "where",
            "loan_type",
            "=",
            "value"
        ],
        "question": "Find the name of customers who have loans of both Mortgages and Auto.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customers",
            "who",
            "have",
            "loans",
            "of",
            "both",
            "Mortgages",
            "and",
            "Auto",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Mortgages\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "\"Auto\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id WHERE loan_type  =  'Mortgages' INTERSECT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id WHERE loan_type  =  'Auto'",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "WHERE",
            "loan_type",
            "=",
            "'Mortgages",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "WHERE",
            "loan_type",
            "=",
            "'Auto",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "where",
            "loan_type",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "where",
            "loan_type",
            "=",
            "value"
        ],
        "question": "What are the names of customers who have taken both Mortgage and Auto loans?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "taken",
            "both",
            "Mortgage",
            "and",
            "Auto",
            "loans",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Mortgages\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "\"Auto\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer WHERE credit_score  <  (SELECT avg(credit_score) FROM customer)",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "WHERE",
            "credit_score",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "credit_score",
            ")",
            "FROM",
            "customer",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "where",
            "credit_score",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "credit_score",
            ")",
            "from",
            "customer",
            ")"
        ],
        "question": "Find the name of customers whose credit score is below the average credit scores of all customers.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customers",
            "whose",
            "credit",
            "score",
            "is",
            "below",
            "the",
            "average",
            "credit",
            "scores",
            "of",
            "all",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer WHERE credit_score  <  (SELECT avg(credit_score) FROM customer)",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "WHERE",
            "credit_score",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "credit_score",
            ")",
            "FROM",
            "customer",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "where",
            "credit_score",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "credit_score",
            ")",
            "from",
            "customer",
            ")"
        ],
        "question": "What are the names of customers with credit score less than the average credit score across customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "with",
            "credit",
            "score",
            "less",
            "than",
            "the",
            "average",
            "credit",
            "score",
            "across",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT bname FROM bank ORDER BY no_of_customers DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "bname",
            "FROM",
            "bank",
            "ORDER",
            "BY",
            "no_of_customers",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "bname",
            "from",
            "bank",
            "order",
            "by",
            "no_of_customers",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the branch name of the bank that has the most number of customers.",
        "question_toks": [
            "Find",
            "the",
            "branch",
            "name",
            "of",
            "the",
            "bank",
            "that",
            "has",
            "the",
            "most",
            "number",
            "of",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT bname FROM bank ORDER BY no_of_customers DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "bname",
            "FROM",
            "bank",
            "ORDER",
            "BY",
            "no_of_customers",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "bname",
            "from",
            "bank",
            "order",
            "by",
            "no_of_customers",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the bank branch with the greatest number of customers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "bank",
            "branch",
            "with",
            "the",
            "greatest",
            "number",
            "of",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer ORDER BY credit_score LIMIT 1",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "ORDER",
            "BY",
            "credit_score",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "order",
            "by",
            "credit_score",
            "limit",
            "value"
        ],
        "question": "Find the name of customer who has the lowest credit score.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customer",
            "who",
            "has",
            "the",
            "lowest",
            "credit",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name FROM customer ORDER BY credit_score LIMIT 1",
        "query_toks": [
            "SELECT",
            "cust_name",
            "FROM",
            "customer",
            "ORDER",
            "BY",
            "credit_score",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            "from",
            "customer",
            "order",
            "by",
            "credit_score",
            "limit",
            "value"
        ],
        "question": "What is the name of the customer with the worst credit score?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "worst",
            "credit",
            "score",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name ,  acc_type ,  acc_bal FROM customer ORDER BY credit_score DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "cust_name",
            ",",
            "acc_type",
            ",",
            "acc_bal",
            "FROM",
            "customer",
            "ORDER",
            "BY",
            "credit_score",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            ",",
            "acc_type",
            ",",
            "acc_bal",
            "from",
            "customer",
            "order",
            "by",
            "credit_score",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name, account type, and account balance of the customer who has the highest credit score.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "account",
            "type",
            ",",
            "and",
            "account",
            "balance",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "highest",
            "credit",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT cust_name ,  acc_type ,  acc_bal FROM customer ORDER BY credit_score DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "cust_name",
            ",",
            "acc_type",
            ",",
            "acc_bal",
            "FROM",
            "customer",
            "ORDER",
            "BY",
            "credit_score",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "cust_name",
            ",",
            "acc_type",
            ",",
            "acc_bal",
            "from",
            "customer",
            "order",
            "by",
            "credit_score",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name, account type, and account balance corresponding to the customer with the highest credit score?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            ",",
            "account",
            "type",
            ",",
            "and",
            "account",
            "balance",
            "corresponding",
            "to",
            "the",
            "customer",
            "with",
            "the",
            "highest",
            "credit",
            "score",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name ORDER BY sum(T2.amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "GROUP",
            "BY",
            "T1.cust_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T2.amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "group",
            "by",
            "t1",
            ".",
            "cust_name",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of customer who has the highest amount of loans.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customer",
            "who",
            "has",
            "the",
            "highest",
            "amount",
            "of",
            "loans",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name ORDER BY sum(T2.amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "GROUP",
            "BY",
            "T1.cust_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T2.amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "group",
            "by",
            "t1",
            ".",
            "cust_name",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the customer who has greatest total loan amount?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "greatest",
            "total",
            "loan",
            "amount",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT state FROM bank GROUP BY state ORDER BY sum(no_of_customers) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "state",
            "FROM",
            "bank",
            "GROUP",
            "BY",
            "state",
            "ORDER",
            "BY",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            "from",
            "bank",
            "group",
            "by",
            "state",
            "order",
            "by",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the state which has the most number of customers.",
        "question_toks": [
            "Find",
            "the",
            "state",
            "which",
            "has",
            "the",
            "most",
            "number",
            "of",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT state FROM bank GROUP BY state ORDER BY sum(no_of_customers) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "state",
            "FROM",
            "bank",
            "GROUP",
            "BY",
            "state",
            "ORDER",
            "BY",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            "from",
            "bank",
            "group",
            "by",
            "state",
            "order",
            "by",
            "sum",
            "(",
            "no_of_customers",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which state has the greatest total number of bank customers?",
        "question_toks": [
            "Which",
            "state",
            "has",
            "the",
            "greatest",
            "total",
            "number",
            "of",
            "bank",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(acc_bal) ,  acc_type FROM customer WHERE credit_score  <  50 GROUP BY acc_type",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "acc_bal",
            ")",
            ",",
            "acc_type",
            "FROM",
            "customer",
            "WHERE",
            "credit_score",
            "<",
            "50",
            "GROUP",
            "BY",
            "acc_type"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "acc_bal",
            ")",
            ",",
            "acc_type",
            "from",
            "customer",
            "where",
            "credit_score",
            "<",
            "value",
            "group",
            "by",
            "acc_type"
        ],
        "question": "For each account type, find the average account balance of customers with credit score lower than 50.",
        "question_toks": [
            "For",
            "each",
            "account",
            "type",
            ",",
            "find",
            "the",
            "average",
            "account",
            "balance",
            "of",
            "customers",
            "with",
            "credit",
            "score",
            "lower",
            "than",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(acc_bal) ,  acc_type FROM customer WHERE credit_score  <  50 GROUP BY acc_type",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "acc_bal",
            ")",
            ",",
            "acc_type",
            "FROM",
            "customer",
            "WHERE",
            "credit_score",
            "<",
            "50",
            "GROUP",
            "BY",
            "acc_type"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "acc_bal",
            ")",
            ",",
            "acc_type",
            "from",
            "customer",
            "where",
            "credit_score",
            "<",
            "value",
            "group",
            "by",
            "acc_type"
        ],
        "question": "What is the average account balance of customers with credit score below 50 for the different account types?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "account",
            "balance",
            "of",
            "customers",
            "with",
            "credit",
            "score",
            "below",
            "50",
            "for",
            "the",
            "different",
            "account",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(acc_bal) ,  state FROM customer WHERE credit_score  >  100 GROUP BY state",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "acc_bal",
            ")",
            ",",
            "state",
            "FROM",
            "customer",
            "WHERE",
            "credit_score",
            ">",
            "100",
            "GROUP",
            "BY",
            "state"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "acc_bal",
            ")",
            ",",
            "state",
            "from",
            "customer",
            "where",
            "credit_score",
            ">",
            "value",
            "group",
            "by",
            "state"
        ],
        "question": "For each state, find the total account balance of customers whose credit score is above 100.",
        "question_toks": [
            "For",
            "each",
            "state",
            ",",
            "find",
            "the",
            "total",
            "account",
            "balance",
            "of",
            "customers",
            "whose",
            "credit",
            "score",
            "is",
            "above",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(acc_bal) ,  state FROM customer WHERE credit_score  >  100 GROUP BY state",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "acc_bal",
            ")",
            ",",
            "state",
            "FROM",
            "customer",
            "WHERE",
            "credit_score",
            ">",
            "100",
            "GROUP",
            "BY",
            "state"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "acc_bal",
            ")",
            ",",
            "state",
            "from",
            "customer",
            "where",
            "credit_score",
            ">",
            "value",
            "group",
            "by",
            "state"
        ],
        "question": "What is the total account balance for customers with a credit score of above 100 for the different states?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "account",
            "balance",
            "for",
            "customers",
            "with",
            "a",
            "credit",
            "score",
            "of",
            "above",
            "100",
            "for",
            "the",
            "different",
            "states",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(amount) ,  T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id GROUP BY T1.bname",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "amount",
            ")",
            ",",
            "T1.bname",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "GROUP",
            "BY",
            "T1.bname"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount",
            ")",
            ",",
            "t1",
            ".",
            "bname",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "group",
            "by",
            "t1",
            ".",
            "bname"
        ],
        "question": "Find the total amount of loans offered by each bank branch.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "amount",
            "of",
            "loans",
            "offered",
            "by",
            "each",
            "bank",
            "branch",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(amount) ,  T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id GROUP BY T1.bname",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "amount",
            ")",
            ",",
            "T1.bname",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "GROUP",
            "BY",
            "T1.bname"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount",
            ")",
            ",",
            "t1",
            ".",
            "bname",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "group",
            "by",
            "t1",
            ".",
            "bname"
        ],
        "question": "What are the names of the different bank branches, and what are their total loan amounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "different",
            "bank",
            "branches",
            ",",
            "and",
            "what",
            "are",
            "their",
            "total",
            "loan",
            "amounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "GROUP",
            "BY",
            "T1.cust_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "group",
            "by",
            "t1",
            ".",
            "cust_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name of customers who have more than one loan.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customers",
            "who",
            "have",
            "more",
            "than",
            "one",
            "loan",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "GROUP",
            "BY",
            "T1.cust_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "group",
            "by",
            "t1",
            ".",
            "cust_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of customers who have taken out more than one loan?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "taken",
            "out",
            "more",
            "than",
            "one",
            "loan",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name ,  T1.acc_type FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name HAVING sum(T2.amount)  >  5000",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            ",",
            "T1.acc_type",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "GROUP",
            "BY",
            "T1.cust_name",
            "HAVING",
            "sum",
            "(",
            "T2.amount",
            ")",
            ">",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            ",",
            "t1",
            ".",
            "acc_type",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "group",
            "by",
            "t1",
            ".",
            "cust_name",
            "having",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name and account balance of the customers who have loans with a total amount of more than 5000.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "account",
            "balance",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "loans",
            "with",
            "a",
            "total",
            "amount",
            "of",
            "more",
            "than",
            "5000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name ,  T1.acc_type FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name HAVING sum(T2.amount)  >  5000",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            ",",
            "T1.acc_type",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "GROUP",
            "BY",
            "T1.cust_name",
            "HAVING",
            "sum",
            "(",
            "T2.amount",
            ")",
            ">",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            ",",
            "t1",
            ".",
            "acc_type",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "group",
            "by",
            "t1",
            ".",
            "cust_name",
            "having",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names and account balances for customers who have taken a total amount of more than 5000 in loans?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "account",
            "balances",
            "for",
            "customers",
            "who",
            "have",
            "taken",
            "a",
            "total",
            "amount",
            "of",
            "more",
            "than",
            "5000",
            "in",
            "loans",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id GROUP BY T1.bname ORDER BY sum(T2.amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.bname",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "GROUP",
            "BY",
            "T1.bname",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T2.amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "bname",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "group",
            "by",
            "t1",
            ".",
            "bname",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of bank branch that provided the greatest total amount of loans.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "bank",
            "branch",
            "that",
            "provided",
            "the",
            "greatest",
            "total",
            "amount",
            "of",
            "loans",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id GROUP BY T1.bname ORDER BY sum(T2.amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.bname",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "GROUP",
            "BY",
            "T1.bname",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T2.amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "bname",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "group",
            "by",
            "t1",
            ".",
            "bname",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the bank branch that has lent the greatest amount?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "bank",
            "branch",
            "that",
            "has",
            "lent",
            "the",
            "greatest",
            "amount",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T2.bname FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id  =  T2.branch_id JOIN customer AS T3 ON T1.cust_id  =  T3.cust_id WHERE T3.credit_score  <  100 GROUP BY T2.bname ORDER BY sum(T1.amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.bname",
            "FROM",
            "loan",
            "AS",
            "T1",
            "JOIN",
            "bank",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "customer",
            "AS",
            "T3",
            "ON",
            "T1.cust_id",
            "=",
            "T3.cust_id",
            "WHERE",
            "T3.credit_score",
            "<",
            "100",
            "GROUP",
            "BY",
            "T2.bname",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T1.amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "bname",
            "from",
            "loan",
            "as",
            "t1",
            "join",
            "bank",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "customer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t3",
            ".",
            "cust_id",
            "where",
            "t3",
            ".",
            "credit_score",
            "<",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "bname",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of bank branch that provided the greatest total amount of loans to customers with credit score is less than 100.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "bank",
            "branch",
            "that",
            "provided",
            "the",
            "greatest",
            "total",
            "amount",
            "of",
            "loans",
            "to",
            "customers",
            "with",
            "credit",
            "score",
            "is",
            "less",
            "than",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T2.bname FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id  =  T2.branch_id JOIN customer AS T3 ON T1.cust_id  =  T3.cust_id WHERE T3.credit_score  <  100 GROUP BY T2.bname ORDER BY sum(T1.amount) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.bname",
            "FROM",
            "loan",
            "AS",
            "T1",
            "JOIN",
            "bank",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "customer",
            "AS",
            "T3",
            "ON",
            "T1.cust_id",
            "=",
            "T3.cust_id",
            "WHERE",
            "T3.credit_score",
            "<",
            "100",
            "GROUP",
            "BY",
            "T2.bname",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T1.amount",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "bname",
            "from",
            "loan",
            "as",
            "t1",
            "join",
            "bank",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "customer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t3",
            ".",
            "cust_id",
            "where",
            "t3",
            ".",
            "credit_score",
            "<",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "bname",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "amount",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the bank branch that has lended the largest total amount in loans, specifically to customers with credit scores below 100?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "bank",
            "branch",
            "that",
            "has",
            "lended",
            "the",
            "largest",
            "total",
            "amount",
            "in",
            "loans",
            ",",
            "specifically",
            "to",
            "customers",
            "with",
            "credit",
            "scores",
            "below",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT DISTINCT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.bname",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "bname",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id"
        ],
        "question": "Find the name of bank branches that provided some loans.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "bank",
            "branches",
            "that",
            "provided",
            "some",
            "loans",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT DISTINCT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.bname",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "bname",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id"
        ],
        "question": "What are the names of the different banks that have provided loans?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "different",
            "banks",
            "that",
            "have",
            "provided",
            "loans",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT DISTINCT T1.cust_name ,  T1.credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.cust_name",
            ",",
            "T1.credit_score",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "cust_name",
            ",",
            "t1",
            ".",
            "credit_score",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id"
        ],
        "question": "Find the name and credit score of the customers who have some loans.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "credit",
            "score",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "some",
            "loans",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT DISTINCT T1.cust_name ,  T1.credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.cust_name",
            ",",
            "T1.credit_score",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "cust_name",
            ",",
            "t1",
            ".",
            "credit_score",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id"
        ],
        "question": "What are the different names and credit scores of customers who have taken a loan?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "and",
            "credit",
            "scores",
            "of",
            "customers",
            "who",
            "have",
            "taken",
            "a",
            "loan",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id WHERE amount  >  3000",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "WHERE",
            "amount",
            ">",
            "3000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "where",
            "amount",
            ">",
            "value"
        ],
        "question": "Find the the name of the customers who have a loan with amount more than 3000.",
        "question_toks": [
            "Find",
            "the",
            "the",
            "name",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "a",
            "loan",
            "with",
            "amount",
            "more",
            "than",
            "3000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id WHERE amount  >  3000",
        "query_toks": [
            "SELECT",
            "T1.cust_name",
            "FROM",
            "customer",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.cust_id",
            "=",
            "T2.cust_id",
            "WHERE",
            "amount",
            ">",
            "3000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cust_name",
            "from",
            "customer",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t2",
            ".",
            "cust_id",
            "where",
            "amount",
            ">",
            "value"
        ],
        "question": "What are the names of customers who have a loan of more than 3000 in amount?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "a",
            "loan",
            "of",
            "more",
            "than",
            "3000",
            "in",
            "amount",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.bname ,  T1.city FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id WHERE T2.loan_type  =  'Business'",
        "query_toks": [
            "SELECT",
            "T1.bname",
            ",",
            "T1.city",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T2.loan_type",
            "=",
            "'Business",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "bname",
            ",",
            "t1",
            ".",
            "city",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t2",
            ".",
            "loan_type",
            "=",
            "value"
        ],
        "question": "Find the city and name of bank branches that provide business loans.",
        "question_toks": [
            "Find",
            "the",
            "city",
            "and",
            "name",
            "of",
            "bank",
            "branches",
            "that",
            "provide",
            "business",
            "loans",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Business\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T1.bname ,  T1.city FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id WHERE T2.loan_type  =  'Business'",
        "query_toks": [
            "SELECT",
            "T1.bname",
            ",",
            "T1.city",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T2.loan_type",
            "=",
            "'Business",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "bname",
            ",",
            "t1",
            ".",
            "city",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t2",
            ".",
            "loan_type",
            "=",
            "value"
        ],
        "question": "What are the names and cities of bank branches that offer loans for business?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "cities",
            "of",
            "bank",
            "branches",
            "that",
            "offer",
            "loans",
            "for",
            "business",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Business\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T2.bname FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id  =  T2.branch_id JOIN customer AS T3 ON T1.cust_id  =  T3.cust_id WHERE T3.credit_score  <  100",
        "query_toks": [
            "SELECT",
            "T2.bname",
            "FROM",
            "loan",
            "AS",
            "T1",
            "JOIN",
            "bank",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "customer",
            "AS",
            "T3",
            "ON",
            "T1.cust_id",
            "=",
            "T3.cust_id",
            "WHERE",
            "T3.credit_score",
            "<",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "bname",
            "from",
            "loan",
            "as",
            "t1",
            "join",
            "bank",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "customer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t3",
            ".",
            "cust_id",
            "where",
            "t3",
            ".",
            "credit_score",
            "<",
            "value"
        ],
        "question": "Find the names of bank branches that have provided a loan to any customer whose credit score is below 100.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "bank",
            "branches",
            "that",
            "have",
            "provided",
            "a",
            "loan",
            "to",
            "any",
            "customer",
            "whose",
            "credit",
            "score",
            "is",
            "below",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT T2.bname FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id  =  T2.branch_id JOIN customer AS T3 ON T1.cust_id  =  T3.cust_id WHERE T3.credit_score  <  100",
        "query_toks": [
            "SELECT",
            "T2.bname",
            "FROM",
            "loan",
            "AS",
            "T1",
            "JOIN",
            "bank",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "customer",
            "AS",
            "T3",
            "ON",
            "T1.cust_id",
            "=",
            "T3.cust_id",
            "WHERE",
            "T3.credit_score",
            "<",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "bname",
            "from",
            "loan",
            "as",
            "t1",
            "join",
            "bank",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "customer",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "cust_id",
            "=",
            "t3",
            ".",
            "cust_id",
            "where",
            "t3",
            ".",
            "credit_score",
            "<",
            "value"
        ],
        "question": "What are the names of banks that have loaned money to customers with credit scores below 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "banks",
            "that",
            "have",
            "loaned",
            "money",
            "to",
            "customers",
            "with",
            "credit",
            "scores",
            "below",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(T2.amount) FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.state  =  'New York'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.amount",
            ")",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T1.state",
            "=",
            "'New",
            "York",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t1",
            ".",
            "state",
            "=",
            "value"
        ],
        "question": "Find the total amount of loans provided by bank branches in the state of New York.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "amount",
            "of",
            "loans",
            "provided",
            "by",
            "bank",
            "branches",
            "in",
            "the",
            "state",
            "of",
            "New",
            "York",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"New York\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT sum(T2.amount) FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.state  =  'New York'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.amount",
            ")",
            "FROM",
            "bank",
            "AS",
            "T1",
            "JOIN",
            "loan",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T1.state",
            "=",
            "'New",
            "York",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "amount",
            ")",
            "from",
            "bank",
            "as",
            "t1",
            "join",
            "loan",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t1",
            ".",
            "state",
            "=",
            "value"
        ],
        "question": "What is the total amount of money loaned by banks in New York state?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "money",
            "loaned",
            "by",
            "banks",
            "in",
            "New",
            "York",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"New York\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(credit_score) FROM customer WHERE cust_id IN (SELECT cust_id FROM loan)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "credit_score",
            ")",
            "FROM",
            "customer",
            "WHERE",
            "cust_id",
            "IN",
            "(",
            "SELECT",
            "cust_id",
            "FROM",
            "loan",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "credit_score",
            ")",
            "from",
            "customer",
            "where",
            "cust_id",
            "in",
            "(",
            "select",
            "cust_id",
            "from",
            "loan",
            ")"
        ],
        "question": "Find the average credit score of the customers who have some loan.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "credit",
            "score",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "some",
            "loan",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(credit_score) FROM customer WHERE cust_id IN (SELECT cust_id FROM loan)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "credit_score",
            ")",
            "FROM",
            "customer",
            "WHERE",
            "cust_id",
            "IN",
            "(",
            "SELECT",
            "cust_id",
            "FROM",
            "loan",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "credit_score",
            ")",
            "from",
            "customer",
            "where",
            "cust_id",
            "in",
            "(",
            "select",
            "cust_id",
            "from",
            "loan",
            ")"
        ],
        "question": "What is the average credit score for customers who have taken a loan?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "credit",
            "score",
            "for",
            "customers",
            "who",
            "have",
            "taken",
            "a",
            "loan",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(credit_score) FROM customer WHERE cust_id NOT IN (SELECT cust_id FROM loan)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "credit_score",
            ")",
            "FROM",
            "customer",
            "WHERE",
            "cust_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "cust_id",
            "FROM",
            "loan",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "credit_score",
            ")",
            "from",
            "customer",
            "where",
            "cust_id",
            "not",
            "in",
            "(",
            "select",
            "cust_id",
            "from",
            "loan",
            ")"
        ],
        "question": "Find the average credit score of the customers who do not have any loan.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "credit",
            "score",
            "of",
            "the",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "any",
            "loan",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "loan_1",
        "query": "SELECT avg(credit_score) FROM customer WHERE cust_id NOT IN (SELECT cust_id FROM loan)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "credit_score",
            ")",
            "FROM",
            "customer",
            "WHERE",
            "cust_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "cust_id",
            "FROM",
            "loan",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "credit_score",
            ")",
            "from",
            "customer",
            "where",
            "cust_id",
            "not",
            "in",
            "(",
            "select",
            "cust_id",
            "from",
            "loan",
            ")"
        ],
        "question": "What is the average credit score for customers who have never taken a loan?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "credit",
            "score",
            "for",
            "customers",
            "who",
            "have",
            "never",
            "taken",
            "a",
            "loan",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT count(*) FROM ASSESSMENT_NOTES",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ASSESSMENT_NOTES"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "assessment_notes"
        ],
        "question": "How many assessment notes are there in total?",
        "question_toks": [
            "How",
            "many",
            "assessment",
            "notes",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT date_of_notes FROM Assessment_Notes",
        "query_toks": [
            "SELECT",
            "date_of_notes",
            "FROM",
            "Assessment_Notes"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_notes",
            "from",
            "assessment_notes"
        ],
        "question": "What are the dates of the assessment notes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "of",
            "the",
            "assessment",
            "notes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT count(*) FROM ADDRESSES WHERE zip_postcode  =  \"197\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ADDRESSES",
            "WHERE",
            "zip_postcode",
            "=",
            "``",
            "197",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "where",
            "zip_postcode",
            "=",
            "value"
        ],
        "question": "How many addresses have zip code 197?",
        "question_toks": [
            "How",
            "many",
            "addresses",
            "have",
            "zip",
            "code",
            "197",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"197\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT count(DISTINCT incident_type_code) FROM Behavior_Incident",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "incident_type_code",
            ")",
            "FROM",
            "Behavior_Incident"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "incident_type_code",
            ")",
            "from",
            "behavior_incident"
        ],
        "question": "How many distinct incident type codes are there?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "incident",
            "type",
            "codes",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                42,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT DISTINCT detention_type_code FROM Detention",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "detention_type_code",
            "FROM",
            "Detention"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "detention_type_code",
            "from",
            "detention"
        ],
        "question": "Return all distinct detention type codes.",
        "question_toks": [
            "Return",
            "all",
            "distinct",
            "detention",
            "type",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT date_incident_start ,  date_incident_end FROM Behavior_Incident WHERE incident_type_code  =  \"NOISE\"",
        "query_toks": [
            "SELECT",
            "date_incident_start",
            ",",
            "date_incident_end",
            "FROM",
            "Behavior_Incident",
            "WHERE",
            "incident_type_code",
            "=",
            "``",
            "NOISE",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_incident_start",
            ",",
            "date_incident_end",
            "from",
            "behavior_incident",
            "where",
            "incident_type_code",
            "=",
            "value"
        ],
        "question": "What are the start and end dates for incidents with incident type code \"NOISE\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "start",
            "and",
            "end",
            "dates",
            "for",
            "incidents",
            "with",
            "incident",
            "type",
            "code",
            "``",
            "NOISE",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"NOISE\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT detention_summary FROM Detention",
        "query_toks": [
            "SELECT",
            "detention_summary",
            "FROM",
            "Detention"
        ],
        "query_toks_no_value": [
            "select",
            "detention_summary",
            "from",
            "detention"
        ],
        "question": "Return all detention summaries.",
        "question_toks": [
            "Return",
            "all",
            "detention",
            "summaries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                54,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT cell_mobile_number ,  email_address FROM STUDENTS",
        "query_toks": [
            "SELECT",
            "cell_mobile_number",
            ",",
            "email_address",
            "FROM",
            "STUDENTS"
        ],
        "query_toks_no_value": [
            "select",
            "cell_mobile_number",
            ",",
            "email_address",
            "from",
            "students"
        ],
        "question": "Return the cell phone number and email address for all students.",
        "question_toks": [
            "Return",
            "the",
            "cell",
            "phone",
            "number",
            "and",
            "email",
            "address",
            "for",
            "all",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT email_address FROM Students WHERE first_name  =  \"Emma\" AND last_name  =  \"Rohan\"",
        "query_toks": [
            "SELECT",
            "email_address",
            "FROM",
            "Students",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Emma",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Rohan",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            "from",
            "students",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the email of the student with first name \"Emma\" and last name \"Rohan\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "email",
            "of",
            "the",
            "student",
            "with",
            "first",
            "name",
            "``",
            "Emma",
            "''",
            "and",
            "last",
            "name",
            "``",
            "Rohan",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Emma\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Rohan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT count(DISTINCT student_id) FROM Students_in_Detention",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "student_id",
            ")",
            "FROM",
            "Students_in_Detention"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "student_id",
            ")",
            "from",
            "students_in_detention"
        ],
        "question": "How many distinct students have been in detention?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "students",
            "have",
            "been",
            "in",
            "detention",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                62,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT gender FROM TEACHERS WHERE last_name  =  \"Medhurst\"",
        "query_toks": [
            "SELECT",
            "gender",
            "FROM",
            "TEACHERS",
            "WHERE",
            "last_name",
            "=",
            "``",
            "Medhurst",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "gender",
            "from",
            "teachers",
            "where",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the gender of the teacher with last name \"Medhurst\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "gender",
            "of",
            "the",
            "teacher",
            "with",
            "last",
            "name",
            "``",
            "Medhurst",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"Medhurst\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT incident_type_description FROM Ref_Incident_Type WHERE incident_type_code  =  \"VIOLENCE\"",
        "query_toks": [
            "SELECT",
            "incident_type_description",
            "FROM",
            "Ref_Incident_Type",
            "WHERE",
            "incident_type_code",
            "=",
            "``",
            "VIOLENCE",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "incident_type_description",
            "from",
            "ref_incident_type",
            "where",
            "incident_type_code",
            "=",
            "value"
        ],
        "question": "What is the incident type description for the incident type with code \"VIOLENCE\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "incident",
            "type",
            "description",
            "for",
            "the",
            "incident",
            "type",
            "with",
            "code",
            "``",
            "VIOLENCE",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"VIOLENCE\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT max(monthly_rental) ,  min(monthly_rental) FROM Student_Addresses",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "monthly_rental",
            ")",
            ",",
            "min",
            "(",
            "monthly_rental",
            ")",
            "FROM",
            "Student_Addresses"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "monthly_rental",
            ")",
            ",",
            "min",
            "(",
            "monthly_rental",
            ")",
            "from",
            "student_addresses"
        ],
        "question": "Find the maximum and minimum monthly rental for all student addresses.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "and",
            "minimum",
            "monthly",
            "rental",
            "for",
            "all",
            "student",
            "addresses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                60,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                60,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT first_name FROM Teachers WHERE email_address LIKE '%man%'",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "Teachers",
            "WHERE",
            "email_address",
            "LIKE",
            "'",
            "%",
            "man",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "teachers",
            "where",
            "email_address",
            "like",
            "value"
        ],
        "question": "Find the first names of teachers whose email address contains the word \"man\".",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "teachers",
            "whose",
            "email",
            "address",
            "contains",
            "the",
            "word",
            "``",
            "man",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"%man%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT * FROM Assessment_Notes ORDER BY date_of_notes ASC",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "Assessment_Notes",
            "ORDER",
            "BY",
            "date_of_notes",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "assessment_notes",
            "order",
            "by",
            "date_of_notes",
            "asc"
        ],
        "question": "List all information about the assessment notes sorted by date in ascending order.",
        "question_toks": [
            "List",
            "all",
            "information",
            "about",
            "the",
            "assessment",
            "notes",
            "sorted",
            "by",
            "date",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT city FROM Addresses ORDER BY city",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "Addresses",
            "ORDER",
            "BY",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "addresses",
            "order",
            "by",
            "city"
        ],
        "question": "List all cities of addresses in alphabetical order.",
        "question_toks": [
            "List",
            "all",
            "cities",
            "of",
            "addresses",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT first_name ,  last_name FROM Teachers ORDER BY last_name",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "Teachers",
            "ORDER",
            "BY",
            "last_name"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "teachers",
            "order",
            "by",
            "last_name"
        ],
        "question": "Find the first names and last names of teachers in alphabetical order of last name.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "teachers",
            "in",
            "alphabetical",
            "order",
            "of",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT * FROM Student_Addresses ORDER BY monthly_rental DESC",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "Student_Addresses",
            "ORDER",
            "BY",
            "monthly_rental",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "student_addresses",
            "order",
            "by",
            "monthly_rental",
            "desc"
        ],
        "question": "Find all information about student addresses, and sort by monthly rental in descending order.",
        "question_toks": [
            "Find",
            "all",
            "information",
            "about",
            "student",
            "addresses",
            ",",
            "and",
            "sort",
            "by",
            "monthly",
            "rental",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.student_id ,  T2.first_name FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.first_name",
            "FROM",
            "Assessment_Notes",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "first_name",
            "from",
            "assessment_notes",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and first name of the student that has the most number of assessment notes?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "first",
            "name",
            "of",
            "the",
            "student",
            "that",
            "has",
            "the",
            "most",
            "number",
            "of",
            "assessment",
            "notes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.teacher_id ,  T2.first_name FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id  =  T2.teacher_id GROUP BY T1.teacher_id ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.teacher_id",
            ",",
            "T2.first_name",
            "FROM",
            "Assessment_Notes",
            "AS",
            "T1",
            "JOIN",
            "Teachers",
            "AS",
            "T2",
            "ON",
            "T1.teacher_id",
            "=",
            "T2.teacher_id",
            "GROUP",
            "BY",
            "T1.teacher_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "teacher_id",
            ",",
            "t2",
            ".",
            "first_name",
            "from",
            "assessment_notes",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "teacher_id",
            "=",
            "t2",
            ".",
            "teacher_id",
            "group",
            "by",
            "t1",
            ".",
            "teacher_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the ids and first names of the 3 teachers that have the most number of assessment notes?",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "and",
            "first",
            "names",
            "of",
            "the",
            "3",
            "teachers",
            "that",
            "have",
            "the",
            "most",
            "number",
            "of",
            "assessment",
            "notes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.student_id ,  T2.last_name FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.last_name",
            "FROM",
            "Behavior_Incident",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "behavior_incident",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and last name of the student that has the most behavior incidents?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "last",
            "name",
            "of",
            "the",
            "student",
            "that",
            "has",
            "the",
            "most",
            "behavior",
            "incidents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.teacher_id ,  T2.last_name FROM Detention AS T1 JOIN Teachers AS T2 ON T1.teacher_id  =  T2.teacher_id WHERE T1.detention_type_code  =  \"AFTER\" GROUP BY T1.teacher_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.teacher_id",
            ",",
            "T2.last_name",
            "FROM",
            "Detention",
            "AS",
            "T1",
            "JOIN",
            "Teachers",
            "AS",
            "T2",
            "ON",
            "T1.teacher_id",
            "=",
            "T2.teacher_id",
            "WHERE",
            "T1.detention_type_code",
            "=",
            "``",
            "AFTER",
            "''",
            "GROUP",
            "BY",
            "T1.teacher_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "teacher_id",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "detention",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "teacher_id",
            "=",
            "t2",
            ".",
            "teacher_id",
            "where",
            "t1",
            ".",
            "detention_type_code",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "teacher_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and last name of the teacher that has the most detentions with detention type code \"AFTER\"?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "last",
            "name",
            "of",
            "the",
            "teacher",
            "that",
            "has",
            "the",
            "most",
            "detentions",
            "with",
            "detention",
            "type",
            "code",
            "``",
            "AFTER",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"AFTER\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    51,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.student_id ,  T2.first_name FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id ORDER BY AVG(monthly_rental) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.first_name",
            "FROM",
            "Student_Addresses",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "ORDER",
            "BY",
            "AVG",
            "(",
            "monthly_rental",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "first_name",
            "from",
            "student_addresses",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "order",
            "by",
            "avg",
            "(",
            "monthly_rental",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the id and first name of the student whose addresses have the highest average monthly rental?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "first",
            "name",
            "of",
            "the",
            "student",
            "whose",
            "addresses",
            "have",
            "the",
            "highest",
            "average",
            "monthly",
            "rental",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                56,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                56,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    56,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T2.address_id ,  T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id  =  T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.address_id",
            ",",
            "T1.city",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Student_Addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "GROUP",
            "BY",
            "T2.address_id",
            "ORDER",
            "BY",
            "AVG",
            "(",
            "monthly_rental",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "address_id",
            ",",
            "t1",
            ".",
            "city",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "student_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "group",
            "by",
            "t2",
            ".",
            "address_id",
            "order",
            "by",
            "avg",
            "(",
            "monthly_rental",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and city of the student address with the highest average monthly rental.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "city",
            "of",
            "the",
            "student",
            "address",
            "with",
            "the",
            "highest",
            "average",
            "monthly",
            "rental",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    57,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.incident_type_code ,  T2.incident_type_description FROM Behavior_Incident AS T1 JOIN Ref_Incident_Type AS T2 ON T1.incident_type_code  =  T2.incident_type_code GROUP BY T1.incident_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.incident_type_code",
            ",",
            "T2.incident_type_description",
            "FROM",
            "Behavior_Incident",
            "AS",
            "T1",
            "JOIN",
            "Ref_Incident_Type",
            "AS",
            "T2",
            "ON",
            "T1.incident_type_code",
            "=",
            "T2.incident_type_code",
            "GROUP",
            "BY",
            "T1.incident_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "incident_type_code",
            ",",
            "t2",
            ".",
            "incident_type_description",
            "from",
            "behavior_incident",
            "as",
            "t1",
            "join",
            "ref_incident_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "incident_type_code",
            "=",
            "t2",
            ".",
            "incident_type_code",
            "group",
            "by",
            "t1",
            ".",
            "incident_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the code and description of the most frequent behavior incident type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "code",
            "and",
            "description",
            "of",
            "the",
            "most",
            "frequent",
            "behavior",
            "incident",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    42,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.detention_type_code ,  T2.detention_type_description FROM Detention AS T1 JOIN Ref_Detention_Type AS T2 ON T1.detention_type_code  =  T2.detention_type_code GROUP BY T1.detention_type_code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.detention_type_code",
            ",",
            "T2.detention_type_description",
            "FROM",
            "Detention",
            "AS",
            "T1",
            "JOIN",
            "Ref_Detention_Type",
            "AS",
            "T2",
            "ON",
            "T1.detention_type_code",
            "=",
            "T2.detention_type_code",
            "GROUP",
            "BY",
            "T1.detention_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "detention_type_code",
            ",",
            "t2",
            ".",
            "detention_type_description",
            "from",
            "detention",
            "as",
            "t1",
            "join",
            "ref_detention_type",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "detention_type_code",
            "=",
            "t2",
            ".",
            "detention_type_code",
            "group",
            "by",
            "t1",
            ".",
            "detention_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the code and description of the least frequent detention type ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "code",
            "and",
            "description",
            "of",
            "the",
            "least",
            "frequent",
            "detention",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    50,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id WHERE T2.first_name  =  \"Fanny\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_notes",
            "FROM",
            "Assessment_Notes",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Fanny",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_notes",
            "from",
            "assessment_notes",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "Find the dates of assessment notes for students with first name \"Fanny\".",
        "question_toks": [
            "Find",
            "the",
            "dates",
            "of",
            "assessment",
            "notes",
            "for",
            "students",
            "with",
            "first",
            "name",
            "``",
            "Fanny",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Fanny\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.text_of_notes FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id  =  T2.teacher_id WHERE T2.last_name  =  \"Schuster\"",
        "query_toks": [
            "SELECT",
            "T1.text_of_notes",
            "FROM",
            "Assessment_Notes",
            "AS",
            "T1",
            "JOIN",
            "Teachers",
            "AS",
            "T2",
            "ON",
            "T1.teacher_id",
            "=",
            "T2.teacher_id",
            "WHERE",
            "T2.last_name",
            "=",
            "``",
            "Schuster",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "text_of_notes",
            "from",
            "assessment_notes",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "teacher_id",
            "=",
            "t2",
            ".",
            "teacher_id",
            "where",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "Find the texts of assessment notes for teachers with last name \"Schuster\".",
        "question_toks": [
            "Find",
            "the",
            "texts",
            "of",
            "assessment",
            "notes",
            "for",
            "teachers",
            "with",
            "last",
            "name",
            "``",
            "Schuster",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"Schuster\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.date_incident_start ,  date_incident_end FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id WHERE T2.last_name  =  \"Fahey\"",
        "query_toks": [
            "SELECT",
            "T1.date_incident_start",
            ",",
            "date_incident_end",
            "FROM",
            "Behavior_Incident",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "WHERE",
            "T2.last_name",
            "=",
            "``",
            "Fahey",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_incident_start",
            ",",
            "date_incident_end",
            "from",
            "behavior_incident",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "where",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "Find the start and end dates of behavior incidents of students with last name \"Fahey\".",
        "question_toks": [
            "Find",
            "the",
            "start",
            "and",
            "end",
            "dates",
            "of",
            "behavior",
            "incidents",
            "of",
            "students",
            "with",
            "last",
            "name",
            "``",
            "Fahey",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Fahey\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.datetime_detention_start ,  datetime_detention_end FROM Detention AS T1 JOIN Teachers AS T2 ON T1.teacher_id  =  T2.teacher_id WHERE T2.last_name  =  \"Schultz\"",
        "query_toks": [
            "SELECT",
            "T1.datetime_detention_start",
            ",",
            "datetime_detention_end",
            "FROM",
            "Detention",
            "AS",
            "T1",
            "JOIN",
            "Teachers",
            "AS",
            "T2",
            "ON",
            "T1.teacher_id",
            "=",
            "T2.teacher_id",
            "WHERE",
            "T2.last_name",
            "=",
            "``",
            "Schultz",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "datetime_detention_start",
            ",",
            "datetime_detention_end",
            "from",
            "detention",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "teacher_id",
            "=",
            "t2",
            ".",
            "teacher_id",
            "where",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "Find the start and end dates of detentions of teachers with last name \"Schultz\".",
        "question_toks": [
            "Find",
            "the",
            "start",
            "and",
            "end",
            "dates",
            "of",
            "detentions",
            "of",
            "teachers",
            "with",
            "last",
            "name",
            "``",
            "Schultz",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                52,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                53,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"Schultz\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T2.address_id ,  T1.zip_postcode FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id  =  T2.address_id ORDER BY monthly_rental DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.address_id",
            ",",
            "T1.zip_postcode",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Student_Addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "ORDER",
            "BY",
            "monthly_rental",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "address_id",
            ",",
            "t1",
            ".",
            "zip_postcode",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "student_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "order",
            "by",
            "monthly_rental",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the id and zip code of the address with the highest monthly rental?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "zip",
            "code",
            "of",
            "the",
            "address",
            "with",
            "the",
            "highest",
            "monthly",
            "rental",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T2.cell_mobile_number FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id ORDER BY T1.monthly_rental ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.cell_mobile_number",
            "FROM",
            "Student_Addresses",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "ORDER",
            "BY",
            "T1.monthly_rental",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "cell_mobile_number",
            "from",
            "student_addresses",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "order",
            "by",
            "t1",
            ".",
            "monthly_rental",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the cell phone number of the student whose address has the lowest monthly rental?",
        "question_toks": [
            "What",
            "is",
            "the",
            "cell",
            "phone",
            "number",
            "of",
            "the",
            "student",
            "whose",
            "address",
            "has",
            "the",
            "lowest",
            "monthly",
            "rental",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                56,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T2.monthly_rental FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id  =  T2.address_id WHERE T1.state_province_county  =  \"Texas\"",
        "query_toks": [
            "SELECT",
            "T2.monthly_rental",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Student_Addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.state_province_county",
            "=",
            "``",
            "Texas",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "monthly_rental",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "student_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "What are the monthly rentals of student addresses in Texas state?",
        "question_toks": [
            "What",
            "are",
            "the",
            "monthly",
            "rentals",
            "of",
            "student",
            "addresses",
            "in",
            "Texas",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                60,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T2.first_name ,  T2.last_name FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id  =  T2.address_id WHERE T1.state_province_county  =  \"Wisconsin\"",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.state_province_county",
            "=",
            "``",
            "Wisconsin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "What are the first names and last names of students with address in Wisconsin state?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "students",
            "with",
            "address",
            "in",
            "Wisconsin",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Wisconsin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.line_1 ,  avg(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id  =  T2.address_id GROUP BY T2.address_id",
        "query_toks": [
            "SELECT",
            "T1.line_1",
            ",",
            "avg",
            "(",
            "T2.monthly_rental",
            ")",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Student_Addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "GROUP",
            "BY",
            "T2.address_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "line_1",
            ",",
            "avg",
            "(",
            "t2",
            ".",
            "monthly_rental",
            ")",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "student_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "group",
            "by",
            "t2",
            ".",
            "address_id"
        ],
        "question": "What are the line 1 and average monthly rentals of all student addresses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "line",
            "1",
            "and",
            "average",
            "monthly",
            "rentals",
            "of",
            "all",
            "student",
            "addresses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                60,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    57,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.zip_postcode FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id  =  T2.address_id WHERE T2.first_name  =  \"Lyla\"",
        "query_toks": [
            "SELECT",
            "T1.zip_postcode",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Teachers",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Lyla",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "zip_postcode",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "What is the zip code of the address where the teacher with first name \"Lyla\" lives?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "of",
            "the",
            "address",
            "where",
            "the",
            "teacher",
            "with",
            "first",
            "name",
            "``",
            "Lyla",
            "''",
            "lives",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"Lyla\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T2.email_address FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id  =  T2.address_id WHERE T1.zip_postcode  =  \"918\"",
        "query_toks": [
            "SELECT",
            "T2.email_address",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Teachers",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.zip_postcode",
            "=",
            "``",
            "918",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "email_address",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "zip_postcode",
            "=",
            "value"
        ],
        "question": "What are the email addresses of teachers whose address has zip code \"918\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "email",
            "addresses",
            "of",
            "teachers",
            "whose",
            "address",
            "has",
            "zip",
            "code",
            "``",
            "918",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"918\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT count(*) FROM STUDENTS WHERE student_id NOT IN ( SELECT student_id FROM Behavior_Incident )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENTS",
            "WHERE",
            "student_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "student_id",
            "FROM",
            "Behavior_Incident",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "where",
            "student_id",
            "not",
            "in",
            "(",
            "select",
            "student_id",
            "from",
            "behavior_incident",
            ")"
        ],
        "question": "How many students are not involved in any behavior incident?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "not",
            "involved",
            "in",
            "any",
            "behavior",
            "incident",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            43,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT last_name FROM Teachers EXCEPT SELECT T1.last_name FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id  =  T2.teacher_id",
        "query_toks": [
            "SELECT",
            "last_name",
            "FROM",
            "Teachers",
            "EXCEPT",
            "SELECT",
            "T1.last_name",
            "FROM",
            "Teachers",
            "AS",
            "T1",
            "JOIN",
            "Detention",
            "AS",
            "T2",
            "ON",
            "T1.teacher_id",
            "=",
            "T2.teacher_id"
        ],
        "query_toks_no_value": [
            "select",
            "last_name",
            "from",
            "teachers",
            "except",
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "teachers",
            "as",
            "t1",
            "join",
            "detention",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "teacher_id",
            "=",
            "t2",
            ".",
            "teacher_id"
        ],
        "question": "Find the last names of teachers who are not involved in any detention.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "teachers",
            "who",
            "are",
            "not",
            "involved",
            "in",
            "any",
            "detention",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            8
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    26,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    30,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "behavior_monitoring",
        "query": "SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id  =  T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id  =  T2.address_id",
        "query_toks": [
            "SELECT",
            "T1.line_1",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "INTERSECT",
            "SELECT",
            "T1.line_1",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Teachers",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "line_1",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "intersect",
            "select",
            "t1",
            ".",
            "line_1",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id"
        ],
        "question": "What are the line 1 of addresses shared by some students and some teachers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "line",
            "1",
            "of",
            "addresses",
            "shared",
            "by",
            "some",
            "students",
            "and",
            "some",
            "teachers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.asset_id ,  T1.asset_details FROM Assets AS T1 JOIN Asset_Parts AS T2 ON T1.asset_id  =  T2.asset_id GROUP BY T1.asset_id HAVING count(*)  =  2 INTERSECT SELECT T1.asset_id ,  T1.asset_details FROM Assets AS T1 JOIN Fault_Log AS T2 ON T1.asset_id  =  T2.asset_id GROUP BY T1.asset_id HAVING count(*)  <  2",
        "query_toks": [
            "SELECT",
            "T1.asset_id",
            ",",
            "T1.asset_details",
            "FROM",
            "Assets",
            "AS",
            "T1",
            "JOIN",
            "Asset_Parts",
            "AS",
            "T2",
            "ON",
            "T1.asset_id",
            "=",
            "T2.asset_id",
            "GROUP",
            "BY",
            "T1.asset_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "2",
            "INTERSECT",
            "SELECT",
            "T1.asset_id",
            ",",
            "T1.asset_details",
            "FROM",
            "Assets",
            "AS",
            "T1",
            "JOIN",
            "Fault_Log",
            "AS",
            "T2",
            "ON",
            "T1.asset_id",
            "=",
            "T2.asset_id",
            "GROUP",
            "BY",
            "T1.asset_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "asset_id",
            ",",
            "t1",
            ".",
            "asset_details",
            "from",
            "assets",
            "as",
            "t1",
            "join",
            "asset_parts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "asset_id",
            "=",
            "t2",
            ".",
            "asset_id",
            "group",
            "by",
            "t1",
            ".",
            "asset_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "asset_id",
            ",",
            "t1",
            ".",
            "asset_details",
            "from",
            "assets",
            "as",
            "t1",
            "join",
            "fault_log",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "asset_id",
            "=",
            "t2",
            ".",
            "asset_id",
            "group",
            "by",
            "t1",
            ".",
            "asset_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "value"
        ],
        "question": "Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail.",
        "question_toks": [
            "Which",
            "assets",
            "have",
            "2",
            "parts",
            "and",
            "have",
            "less",
            "than",
            "2",
            "fault",
            "logs",
            "?",
            "List",
            "the",
            "asset",
            "id",
            "and",
            "detail",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            9
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    26,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        23,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT count(*) ,  T1.maintenance_contract_id FROM Maintenance_Contracts AS T1 JOIN Assets AS T2 ON T1.maintenance_contract_id  =  T2.maintenance_contract_id GROUP BY T1.maintenance_contract_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.maintenance_contract_id",
            "FROM",
            "Maintenance_Contracts",
            "AS",
            "T1",
            "JOIN",
            "Assets",
            "AS",
            "T2",
            "ON",
            "T1.maintenance_contract_id",
            "=",
            "T2.maintenance_contract_id",
            "GROUP",
            "BY",
            "T1.maintenance_contract_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "maintenance_contract_id",
            "from",
            "maintenance_contracts",
            "as",
            "t1",
            "join",
            "assets",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "maintenance_contract_id",
            "=",
            "t2",
            ".",
            "maintenance_contract_id",
            "group",
            "by",
            "t1",
            ".",
            "maintenance_contract_id"
        ],
        "question": "How many assets does each maintenance contract contain? List the number and the contract id.",
        "question_toks": [
            "How",
            "many",
            "assets",
            "does",
            "each",
            "maintenance",
            "contract",
            "contain",
            "?",
            "List",
            "the",
            "number",
            "and",
            "the",
            "contract",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT count(*) ,  T1.company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id  =  T2.supplier_company_id GROUP BY T1.company_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.company_id",
            "FROM",
            "Third_Party_Companies",
            "AS",
            "T1",
            "JOIN",
            "Assets",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.supplier_company_id",
            "GROUP",
            "BY",
            "T1.company_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "company_id",
            "from",
            "third_party_companies",
            "as",
            "t1",
            "join",
            "assets",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "supplier_company_id",
            "group",
            "by",
            "t1",
            ".",
            "company_id"
        ],
        "question": "How many assets does each third party company supply? List the count and the company id.",
        "question_toks": [
            "How",
            "many",
            "assets",
            "does",
            "each",
            "third",
            "party",
            "company",
            "supply",
            "?",
            "List",
            "the",
            "count",
            "and",
            "the",
            "company",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.company_id ,  T1.company_name FROM Third_Party_Companies AS T1 JOIN Maintenance_Engineers AS T2 ON T1.company_id  =  T2.company_id GROUP BY T1.company_id HAVING count(*)  >=  2 UNION SELECT T3.company_id ,  T3.company_name FROM Third_Party_Companies AS T3 JOIN Maintenance_Contracts AS T4 ON T3.company_id  =  T4.maintenance_contract_company_id GROUP BY T3.company_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.company_id",
            ",",
            "T1.company_name",
            "FROM",
            "Third_Party_Companies",
            "AS",
            "T1",
            "JOIN",
            "Maintenance_Engineers",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.company_id",
            "GROUP",
            "BY",
            "T1.company_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2",
            "UNION",
            "SELECT",
            "T3.company_id",
            ",",
            "T3.company_name",
            "FROM",
            "Third_Party_Companies",
            "AS",
            "T3",
            "JOIN",
            "Maintenance_Contracts",
            "AS",
            "T4",
            "ON",
            "T3.company_id",
            "=",
            "T4.maintenance_contract_company_id",
            "GROUP",
            "BY",
            "T3.company_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "company_id",
            ",",
            "t1",
            ".",
            "company_name",
            "from",
            "third_party_companies",
            "as",
            "t1",
            "join",
            "maintenance_engineers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "company_id",
            "group",
            "by",
            "t1",
            ".",
            "company_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "union",
            "select",
            "t3",
            ".",
            "company_id",
            ",",
            "t3",
            ".",
            "company_name",
            "from",
            "third_party_companies",
            "as",
            "t3",
            "join",
            "maintenance_contracts",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "company_id",
            "=",
            "t4",
            ".",
            "maintenance_contract_company_id",
            "group",
            "by",
            "t3",
            ".",
            "company_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which third party companies have at least 2 maintenance engineers or have at least 2 maintenance contracts? List the company id and name.",
        "question_toks": [
            "Which",
            "third",
            "party",
            "companies",
            "have",
            "at",
            "least",
            "2",
            "maintenance",
            "engineers",
            "or",
            "have",
            "at",
            "least",
            "2",
            "maintenance",
            "contracts",
            "?",
            "List",
            "the",
            "company",
            "id",
            "and",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        1,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.staff_name ,  T1.staff_id FROM Staff AS T1 JOIN Fault_Log AS T2 ON T1.staff_id  =  T2.recorded_by_staff_id EXCEPT SELECT T3.staff_name ,  T3.staff_id FROM Staff AS T3 JOIN Engineer_Visits AS T4 ON T3.staff_id  =  T4.contact_staff_id",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "T1.staff_id",
            "FROM",
            "Staff",
            "AS",
            "T1",
            "JOIN",
            "Fault_Log",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.recorded_by_staff_id",
            "EXCEPT",
            "SELECT",
            "T3.staff_name",
            ",",
            "T3.staff_id",
            "FROM",
            "Staff",
            "AS",
            "T3",
            "JOIN",
            "Engineer_Visits",
            "AS",
            "T4",
            "ON",
            "T3.staff_id",
            "=",
            "T4.contact_staff_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t1",
            ".",
            "staff_id",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "fault_log",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "recorded_by_staff_id",
            "except",
            "select",
            "t3",
            ".",
            "staff_name",
            ",",
            "t3",
            ".",
            "staff_id",
            "from",
            "staff",
            "as",
            "t3",
            "join",
            "engineer_visits",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "staff_id",
            "=",
            "t4",
            ".",
            "contact_staff_id"
        ],
        "question": "What is the name and id of the staff who recorded the fault log but has not contacted any visiting engineers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "staff",
            "who",
            "recorded",
            "the",
            "fault",
            "log",
            "but",
            "has",
            "not",
            "contacted",
            "any",
            "visiting",
            "engineers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            10
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    20,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.engineer_id ,  T1.first_name ,  T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 GROUP BY T1.engineer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.engineer_id",
            ",",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "Maintenance_Engineers",
            "AS",
            "T1",
            "JOIN",
            "Engineer_Visits",
            "AS",
            "T2",
            "GROUP",
            "BY",
            "T1.engineer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "engineer_id",
            ",",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "maintenance_engineers",
            "as",
            "t1",
            "join",
            "engineer_visits",
            "as",
            "t2",
            "group",
            "by",
            "t1",
            ".",
            "engineer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which engineer has visited the most times? Show the engineer id, first name and last name.",
        "question_toks": [
            "Which",
            "engineer",
            "has",
            "visited",
            "the",
            "most",
            "times",
            "?",
            "Show",
            "the",
            "engineer",
            "id",
            ",",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.part_name ,  T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id  =  T2.part_id GROUP BY T1.part_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "T1.part_name",
            ",",
            "T1.part_id",
            "FROM",
            "Parts",
            "AS",
            "T1",
            "JOIN",
            "Part_Faults",
            "AS",
            "T2",
            "ON",
            "T1.part_id",
            "=",
            "T2.part_id",
            "GROUP",
            "BY",
            "T1.part_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "part_name",
            ",",
            "t1",
            ".",
            "part_id",
            "from",
            "parts",
            "as",
            "t1",
            "join",
            "part_faults",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "part_id",
            "=",
            "t2",
            ".",
            "part_id",
            "group",
            "by",
            "t1",
            ".",
            "part_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which parts have more than 2 faults? Show the part name and id.",
        "question_toks": [
            "Which",
            "parts",
            "have",
            "more",
            "than",
            "2",
            "faults",
            "?",
            "Show",
            "the",
            "part",
            "name",
            "and",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T1.other_details ,  T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id  =  T2.engineer_id JOIN Skills AS T3 ON T2.skill_id  =  T3.skill_id",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T1.other_details",
            ",",
            "T3.skill_description",
            "FROM",
            "Maintenance_Engineers",
            "AS",
            "T1",
            "JOIN",
            "Engineer_Skills",
            "AS",
            "T2",
            "ON",
            "T1.engineer_id",
            "=",
            "T2.engineer_id",
            "JOIN",
            "Skills",
            "AS",
            "T3",
            "ON",
            "T2.skill_id",
            "=",
            "T3.skill_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "other_details",
            ",",
            "t3",
            ".",
            "skill_description",
            "from",
            "maintenance_engineers",
            "as",
            "t1",
            "join",
            "engineer_skills",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "engineer_id",
            "=",
            "t2",
            ".",
            "engineer_id",
            "join",
            "skills",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "skill_id",
            "=",
            "t3",
            ".",
            "skill_id"
        ],
        "question": "List all every engineer's first name, last name, details and coresponding skill description.",
        "question_toks": [
            "List",
            "all",
            "every",
            "engineer",
            "'s",
            "first",
            "name",
            ",",
            "last",
            "name",
            ",",
            "details",
            "and",
            "coresponding",
            "skill",
            "description",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.fault_short_name ,  T3.skill_description FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id  =  T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id  =  T3.skill_id",
        "query_toks": [
            "SELECT",
            "T1.fault_short_name",
            ",",
            "T3.skill_description",
            "FROM",
            "Part_Faults",
            "AS",
            "T1",
            "JOIN",
            "Skills_Required_To_Fix",
            "AS",
            "T2",
            "ON",
            "T1.part_fault_id",
            "=",
            "T2.part_fault_id",
            "JOIN",
            "Skills",
            "AS",
            "T3",
            "ON",
            "T2.skill_id",
            "=",
            "T3.skill_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fault_short_name",
            ",",
            "t3",
            ".",
            "skill_description",
            "from",
            "part_faults",
            "as",
            "t1",
            "join",
            "skills_required_to_fix",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "part_fault_id",
            "=",
            "t2",
            ".",
            "part_fault_id",
            "join",
            "skills",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "skill_id",
            "=",
            "t3",
            ".",
            "skill_id"
        ],
        "question": "For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description.",
        "question_toks": [
            "For",
            "all",
            "the",
            "faults",
            "of",
            "different",
            "parts",
            ",",
            "what",
            "are",
            "all",
            "the",
            "decriptions",
            "of",
            "the",
            "skills",
            "required",
            "to",
            "fix",
            "them",
            "?",
            "List",
            "the",
            "name",
            "of",
            "the",
            "faults",
            "and",
            "the",
            "skill",
            "description",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                64,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.part_name ,  count(*) FROM Parts AS T1 JOIN Asset_Parts AS T2 ON T1.part_id  =  T2.part_id GROUP BY T1.part_name",
        "query_toks": [
            "SELECT",
            "T1.part_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Parts",
            "AS",
            "T1",
            "JOIN",
            "Asset_Parts",
            "AS",
            "T2",
            "ON",
            "T1.part_id",
            "=",
            "T2.part_id",
            "GROUP",
            "BY",
            "T1.part_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "part_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "parts",
            "as",
            "t1",
            "join",
            "asset_parts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "part_id",
            "=",
            "t2",
            ".",
            "part_id",
            "group",
            "by",
            "t1",
            ".",
            "part_name"
        ],
        "question": "How many assets can each parts be used in? List the part name and the number.",
        "question_toks": [
            "How",
            "many",
            "assets",
            "can",
            "each",
            "parts",
            "be",
            "used",
            "in",
            "?",
            "List",
            "the",
            "part",
            "name",
            "and",
            "the",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.fault_description ,  T2.fault_status FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id  =  T2.fault_log_entry_id",
        "query_toks": [
            "SELECT",
            "T1.fault_description",
            ",",
            "T2.fault_status",
            "FROM",
            "Fault_Log",
            "AS",
            "T1",
            "JOIN",
            "Fault_Log_Parts",
            "AS",
            "T2",
            "ON",
            "T1.fault_log_entry_id",
            "=",
            "T2.fault_log_entry_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fault_description",
            ",",
            "t2",
            ".",
            "fault_status",
            "from",
            "fault_log",
            "as",
            "t1",
            "join",
            "fault_log_parts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "fault_log_entry_id",
            "=",
            "t2",
            ".",
            "fault_log_entry_id"
        ],
        "question": "What are all the fault descriptions and the fault status of all the faults recoreded in the logs?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "fault",
            "descriptions",
            "and",
            "the",
            "fault",
            "status",
            "of",
            "all",
            "the",
            "faults",
            "recoreded",
            "in",
            "the",
            "logs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT count(*) ,  T1.fault_log_entry_id FROM Fault_Log AS T1 JOIN Engineer_Visits AS T2 ON T1.fault_log_entry_id  =  T2.fault_log_entry_id GROUP BY T1.fault_log_entry_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.fault_log_entry_id",
            "FROM",
            "Fault_Log",
            "AS",
            "T1",
            "JOIN",
            "Engineer_Visits",
            "AS",
            "T2",
            "ON",
            "T1.fault_log_entry_id",
            "=",
            "T2.fault_log_entry_id",
            "GROUP",
            "BY",
            "T1.fault_log_entry_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "fault_log_entry_id",
            "from",
            "fault_log",
            "as",
            "t1",
            "join",
            "engineer_visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "fault_log_entry_id",
            "=",
            "t2",
            ".",
            "fault_log_entry_id",
            "group",
            "by",
            "t1",
            ".",
            "fault_log_entry_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many engineer visits are required at most for a single fault log? List the number and the log entry id.",
        "question_toks": [
            "How",
            "many",
            "engineer",
            "visits",
            "are",
            "required",
            "at",
            "most",
            "for",
            "a",
            "single",
            "fault",
            "log",
            "?",
            "List",
            "the",
            "number",
            "and",
            "the",
            "log",
            "entry",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT DISTINCT last_name FROM Maintenance_Engineers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "last_name",
            "FROM",
            "Maintenance_Engineers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "last_name",
            "from",
            "maintenance_engineers"
        ],
        "question": "What are all the distinct last names of all the engineers?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "distinct",
            "last",
            "names",
            "of",
            "all",
            "the",
            "engineers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT DISTINCT fault_status FROM Fault_Log_Parts",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "fault_status",
            "FROM",
            "Fault_Log_Parts"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "fault_status",
            "from",
            "fault_log_parts"
        ],
        "question": "How many fault status codes are recorded in the fault log parts table?",
        "question_toks": [
            "How",
            "many",
            "fault",
            "status",
            "codes",
            "are",
            "recorded",
            "in",
            "the",
            "fault",
            "log",
            "parts",
            "table",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                62,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT first_name ,  last_name FROM Maintenance_Engineers WHERE engineer_id NOT IN (SELECT engineer_id FROM Engineer_Visits)",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "Maintenance_Engineers",
            "WHERE",
            "engineer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "engineer_id",
            "FROM",
            "Engineer_Visits",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "maintenance_engineers",
            "where",
            "engineer_id",
            "not",
            "in",
            "(",
            "select",
            "engineer_id",
            "from",
            "engineer_visits",
            ")"
        ],
        "question": "Which engineers have never visited to maintain the assets? List the engineer first name and last name.",
        "question_toks": [
            "Which",
            "engineers",
            "have",
            "never",
            "visited",
            "to",
            "maintain",
            "the",
            "assets",
            "?",
            "List",
            "the",
            "engineer",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    10
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            49,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT asset_id ,  asset_details ,  asset_make ,  asset_model FROM Assets",
        "query_toks": [
            "SELECT",
            "asset_id",
            ",",
            "asset_details",
            ",",
            "asset_make",
            ",",
            "asset_model",
            "FROM",
            "Assets"
        ],
        "query_toks_no_value": [
            "select",
            "asset_id",
            ",",
            "asset_details",
            ",",
            "asset_make",
            ",",
            "asset_model",
            "from",
            "assets"
        ],
        "question": "List the asset id, details, make and model for every asset.",
        "question_toks": [
            "List",
            "the",
            "asset",
            "id",
            ",",
            "details",
            ",",
            "make",
            "and",
            "model",
            "for",
            "every",
            "asset",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT asset_acquired_date FROM Assets ORDER BY asset_acquired_date ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "asset_acquired_date",
            "FROM",
            "Assets",
            "ORDER",
            "BY",
            "asset_acquired_date",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "asset_acquired_date",
            "from",
            "assets",
            "order",
            "by",
            "asset_acquired_date",
            "asc",
            "limit",
            "value"
        ],
        "question": "When was the first asset acquired?",
        "question_toks": [
            "When",
            "was",
            "the",
            "first",
            "asset",
            "acquired",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.part_id ,  T1.part_name FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id  =  T2.part_id JOIN Skills_Required_To_Fix AS T3 ON T2.part_fault_id  =  T3.part_fault_id GROUP BY T1.part_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.part_id",
            ",",
            "T1.part_name",
            "FROM",
            "Parts",
            "AS",
            "T1",
            "JOIN",
            "Part_Faults",
            "AS",
            "T2",
            "ON",
            "T1.part_id",
            "=",
            "T2.part_id",
            "JOIN",
            "Skills_Required_To_Fix",
            "AS",
            "T3",
            "ON",
            "T2.part_fault_id",
            "=",
            "T3.part_fault_id",
            "GROUP",
            "BY",
            "T1.part_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "part_id",
            ",",
            "t1",
            ".",
            "part_name",
            "from",
            "parts",
            "as",
            "t1",
            "join",
            "part_faults",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "part_id",
            "=",
            "t2",
            ".",
            "part_id",
            "join",
            "skills_required_to_fix",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "part_fault_id",
            "=",
            "t3",
            ".",
            "part_fault_id",
            "group",
            "by",
            "t1",
            ".",
            "part_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which part fault requires the most number of skills to fix? List part id and name.",
        "question_toks": [
            "Which",
            "part",
            "fault",
            "requires",
            "the",
            "most",
            "number",
            "of",
            "skills",
            "to",
            "fix",
            "?",
            "List",
            "part",
            "id",
            "and",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            63,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.part_name FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id  =  T2.part_id GROUP BY T1.part_name ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.part_name",
            "FROM",
            "Parts",
            "AS",
            "T1",
            "JOIN",
            "Part_Faults",
            "AS",
            "T2",
            "ON",
            "T1.part_id",
            "=",
            "T2.part_id",
            "GROUP",
            "BY",
            "T1.part_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "part_name",
            "from",
            "parts",
            "as",
            "t1",
            "join",
            "part_faults",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "part_id",
            "=",
            "t2",
            ".",
            "part_id",
            "group",
            "by",
            "t1",
            ".",
            "part_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which kind of part has the least number of faults? List the part name.",
        "question_toks": [
            "Which",
            "kind",
            "of",
            "part",
            "has",
            "the",
            "least",
            "number",
            "of",
            "faults",
            "?",
            "List",
            "the",
            "part",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.engineer_id ,  T1.first_name ,  T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 ON T1.engineer_id  =  T2.engineer_id GROUP BY T1.engineer_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.engineer_id",
            ",",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "Maintenance_Engineers",
            "AS",
            "T1",
            "JOIN",
            "Engineer_Visits",
            "AS",
            "T2",
            "ON",
            "T1.engineer_id",
            "=",
            "T2.engineer_id",
            "GROUP",
            "BY",
            "T1.engineer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "engineer_id",
            ",",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "maintenance_engineers",
            "as",
            "t1",
            "join",
            "engineer_visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "engineer_id",
            "=",
            "t2",
            ".",
            "engineer_id",
            "group",
            "by",
            "t1",
            ".",
            "engineer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Among those engineers who have visited, which engineer makes the least number of visits? List the engineer id, first name and last name.",
        "question_toks": [
            "Among",
            "those",
            "engineers",
            "who",
            "have",
            "visited",
            ",",
            "which",
            "engineer",
            "makes",
            "the",
            "least",
            "number",
            "of",
            "visits",
            "?",
            "List",
            "the",
            "engineer",
            "id",
            ",",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.staff_name ,  T3.first_name ,  T3.last_name FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id  =  T2.contact_staff_id JOIN Maintenance_Engineers AS T3 ON T2.engineer_id  =  T3.engineer_id",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "T3.first_name",
            ",",
            "T3.last_name",
            "FROM",
            "Staff",
            "AS",
            "T1",
            "JOIN",
            "Engineer_Visits",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.contact_staff_id",
            "JOIN",
            "Maintenance_Engineers",
            "AS",
            "T3",
            "ON",
            "T2.engineer_id",
            "=",
            "T3.engineer_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t3",
            ".",
            "first_name",
            ",",
            "t3",
            ".",
            "last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "engineer_visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "contact_staff_id",
            "join",
            "maintenance_engineers",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "engineer_id",
            "=",
            "t3",
            ".",
            "engineer_id"
        ],
        "question": "Which staff have contacted which engineers? List the staff name and the engineer first name and last name.",
        "question_toks": [
            "Which",
            "staff",
            "have",
            "contacted",
            "which",
            "engineers",
            "?",
            "List",
            "the",
            "staff",
            "name",
            "and",
            "the",
            "engineer",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.fault_log_entry_id ,  T1.fault_description ,  T1.fault_log_entry_datetime FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id  =  T2.fault_log_entry_id GROUP BY T1.fault_log_entry_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.fault_log_entry_id",
            ",",
            "T1.fault_description",
            ",",
            "T1.fault_log_entry_datetime",
            "FROM",
            "Fault_Log",
            "AS",
            "T1",
            "JOIN",
            "Fault_Log_Parts",
            "AS",
            "T2",
            "ON",
            "T1.fault_log_entry_id",
            "=",
            "T2.fault_log_entry_id",
            "GROUP",
            "BY",
            "T1.fault_log_entry_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fault_log_entry_id",
            ",",
            "t1",
            ".",
            "fault_description",
            ",",
            "t1",
            ".",
            "fault_log_entry_datetime",
            "from",
            "fault_log",
            "as",
            "t1",
            "join",
            "fault_log_parts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "fault_log_entry_id",
            "=",
            "t2",
            ".",
            "fault_log_entry_id",
            "group",
            "by",
            "t1",
            ".",
            "fault_log_entry_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which fault log included the most number of faulty parts? List the fault log id, description and record time.",
        "question_toks": [
            "Which",
            "fault",
            "log",
            "included",
            "the",
            "most",
            "number",
            "of",
            "faulty",
            "parts",
            "?",
            "List",
            "the",
            "fault",
            "log",
            "id",
            ",",
            "description",
            "and",
            "record",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.skill_id ,  T1.skill_description FROM Skills AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.skill_id  =  T2.skill_id GROUP BY T1.skill_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.skill_id",
            ",",
            "T1.skill_description",
            "FROM",
            "Skills",
            "AS",
            "T1",
            "JOIN",
            "Skills_Required_To_Fix",
            "AS",
            "T2",
            "ON",
            "T1.skill_id",
            "=",
            "T2.skill_id",
            "GROUP",
            "BY",
            "T1.skill_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "skill_id",
            ",",
            "t1",
            ".",
            "skill_description",
            "from",
            "skills",
            "as",
            "t1",
            "join",
            "skills_required_to_fix",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "skill_id",
            "=",
            "t2",
            ".",
            "skill_id",
            "group",
            "by",
            "t1",
            ".",
            "skill_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which skill is used in fixing the most number of faults? List the skill id and description.",
        "question_toks": [
            "Which",
            "skill",
            "is",
            "used",
            "in",
            "fixing",
            "the",
            "most",
            "number",
            "of",
            "faults",
            "?",
            "List",
            "the",
            "skill",
            "id",
            "and",
            "description",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            64,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT DISTINCT asset_model FROM Assets",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "asset_model",
            "FROM",
            "Assets"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "asset_model",
            "from",
            "assets"
        ],
        "question": "What are all the distinct asset models?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "distinct",
            "asset",
            "models",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT asset_make ,  asset_model ,  asset_details FROM Assets ORDER BY asset_disposed_date ASC",
        "query_toks": [
            "SELECT",
            "asset_make",
            ",",
            "asset_model",
            ",",
            "asset_details",
            "FROM",
            "Assets",
            "ORDER",
            "BY",
            "asset_disposed_date",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "asset_make",
            ",",
            "asset_model",
            ",",
            "asset_details",
            "from",
            "assets",
            "order",
            "by",
            "asset_disposed_date",
            "asc"
        ],
        "question": "List the all the assets make, model, details by the disposed date ascendingly.",
        "question_toks": [
            "List",
            "the",
            "all",
            "the",
            "assets",
            "make",
            ",",
            "model",
            ",",
            "details",
            "by",
            "the",
            "disposed",
            "date",
            "ascendingly",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT part_id ,  chargeable_amount FROM Parts ORDER BY chargeable_amount ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "part_id",
            ",",
            "chargeable_amount",
            "FROM",
            "Parts",
            "ORDER",
            "BY",
            "chargeable_amount",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "part_id",
            ",",
            "chargeable_amount",
            "from",
            "parts",
            "order",
            "by",
            "chargeable_amount",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which part has the least chargeable amount? List the part id and amount.",
        "question_toks": [
            "Which",
            "part",
            "has",
            "the",
            "least",
            "chargeable",
            "amount",
            "?",
            "List",
            "the",
            "part",
            "id",
            "and",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.company_name FROM Third_Party_Companies AS T1 JOIN Maintenance_Contracts AS T2 ON T1.company_id  =  T2.maintenance_contract_company_id ORDER BY T2.contract_start_date ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.company_name",
            "FROM",
            "Third_Party_Companies",
            "AS",
            "T1",
            "JOIN",
            "Maintenance_Contracts",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.maintenance_contract_company_id",
            "ORDER",
            "BY",
            "T2.contract_start_date",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "company_name",
            "from",
            "third_party_companies",
            "as",
            "t1",
            "join",
            "maintenance_contracts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "maintenance_contract_company_id",
            "order",
            "by",
            "t2",
            ".",
            "contract_start_date",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which company started the earliest the maintenance contract? Show the company name.",
        "question_toks": [
            "Which",
            "company",
            "started",
            "the",
            "earliest",
            "the",
            "maintenance",
            "contract",
            "?",
            "Show",
            "the",
            "company",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.company_name FROM Third_Party_Companies AS T1 JOIN Maintenance_Contracts AS T2 ON T1.company_id  =  T2.maintenance_contract_company_id JOIN Ref_Company_Types AS T3 ON T1.company_type_code  =  T3.company_type_code ORDER BY T2.contract_end_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.company_name",
            "FROM",
            "Third_Party_Companies",
            "AS",
            "T1",
            "JOIN",
            "Maintenance_Contracts",
            "AS",
            "T2",
            "ON",
            "T1.company_id",
            "=",
            "T2.maintenance_contract_company_id",
            "JOIN",
            "Ref_Company_Types",
            "AS",
            "T3",
            "ON",
            "T1.company_type_code",
            "=",
            "T3.company_type_code",
            "ORDER",
            "BY",
            "T2.contract_end_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "company_name",
            "from",
            "third_party_companies",
            "as",
            "t1",
            "join",
            "maintenance_contracts",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t2",
            ".",
            "maintenance_contract_company_id",
            "join",
            "ref_company_types",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_type_code",
            "=",
            "t3",
            ".",
            "company_type_code",
            "order",
            "by",
            "t2",
            ".",
            "contract_end_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the description of the type of the company who concluded its contracts most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "type",
            "of",
            "the",
            "company",
            "who",
            "concluded",
            "its",
            "contracts",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "except": null,
            "from": {
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ],
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ]
            },
            "groupBy": [],
            "having": [],
            "intersect": null,
            "limit": 1,
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "union": null,
            "where": []
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT gender FROM staff GROUP BY gender ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "gender",
            "FROM",
            "staff",
            "GROUP",
            "BY",
            "gender",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gender",
            "from",
            "staff",
            "group",
            "by",
            "gender",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which gender makes up the majority of the staff?",
        "question_toks": [
            "Which",
            "gender",
            "makes",
            "up",
            "the",
            "majority",
            "of",
            "the",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT T1.staff_name ,  count(*) FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id  =  T2.contact_staff_id GROUP BY T1.staff_name",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Staff",
            "AS",
            "T1",
            "JOIN",
            "Engineer_Visits",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.contact_staff_id",
            "GROUP",
            "BY",
            "T1.staff_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "engineer_visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "contact_staff_id",
            "group",
            "by",
            "t1",
            ".",
            "staff_name"
        ],
        "question": "How many engineers did each staff contact? List both the contact staff name and number of engineers contacted.",
        "question_toks": [
            "How",
            "many",
            "engineers",
            "did",
            "each",
            "staff",
            "contact",
            "?",
            "List",
            "both",
            "the",
            "contact",
            "staff",
            "name",
            "and",
            "number",
            "of",
            "engineers",
            "contacted",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "assets_maintenance",
        "query": "SELECT asset_model FROM Assets WHERE asset_id NOT IN (SELECT asset_id FROM Fault_Log)",
        "query_toks": [
            "SELECT",
            "asset_model",
            "FROM",
            "Assets",
            "WHERE",
            "asset_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "asset_id",
            "FROM",
            "Fault_Log",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "asset_model",
            "from",
            "assets",
            "where",
            "asset_id",
            "not",
            "in",
            "(",
            "select",
            "asset_id",
            "from",
            "fault_log",
            ")"
        ],
        "question": "Which assets did not incur any fault log? List the asset model.",
        "question_toks": [
            "Which",
            "assets",
            "did",
            "not",
            "incur",
            "any",
            "fault",
            "log",
            "?",
            "List",
            "the",
            "asset",
            "model",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    9
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            42,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT local_authority ,  services FROM station",
        "query_toks": [
            "SELECT",
            "local_authority",
            ",",
            "services",
            "FROM",
            "station"
        ],
        "query_toks_no_value": [
            "select",
            "local_authority",
            ",",
            "services",
            "from",
            "station"
        ],
        "question": "list the local authorities and services provided by all stations.",
        "question_toks": [
            "list",
            "the",
            "local",
            "authorities",
            "and",
            "services",
            "provided",
            "by",
            "all",
            "stations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT train_number ,  name FROM train ORDER BY TIME",
        "query_toks": [
            "SELECT",
            "train_number",
            ",",
            "name",
            "FROM",
            "train",
            "ORDER",
            "BY",
            "TIME"
        ],
        "query_toks_no_value": [
            "select",
            "train_number",
            ",",
            "name",
            "from",
            "train",
            "order",
            "by",
            "time"
        ],
        "question": "show all train numbers and names ordered by their time from early to late.",
        "question_toks": [
            "show",
            "all",
            "train",
            "numbers",
            "and",
            "names",
            "ordered",
            "by",
            "their",
            "time",
            "from",
            "early",
            "to",
            "late",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT TIME ,  train_number FROM train WHERE destination  =  'Chennai' ORDER BY TIME",
        "query_toks": [
            "SELECT",
            "TIME",
            ",",
            "train_number",
            "FROM",
            "train",
            "WHERE",
            "destination",
            "=",
            "'Chennai",
            "'",
            "ORDER",
            "BY",
            "TIME"
        ],
        "query_toks_no_value": [
            "select",
            "time",
            ",",
            "train_number",
            "from",
            "train",
            "where",
            "destination",
            "=",
            "value",
            "order",
            "by",
            "time"
        ],
        "question": "Give me the times and numbers of all trains that go to Chennai, ordered by time.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "times",
            "and",
            "numbers",
            "of",
            "all",
            "trains",
            "that",
            "go",
            "to",
            "Chennai",
            ",",
            "ordered",
            "by",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Chennai\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT count(*) FROM train WHERE name LIKE \"%Express%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "train",
            "WHERE",
            "name",
            "LIKE",
            "``",
            "%",
            "Express",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "train",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "How many trains have 'Express' in their names?",
        "question_toks": [
            "How",
            "many",
            "trains",
            "have",
            "'Express",
            "'",
            "in",
            "their",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%Express%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT train_number ,  TIME FROM train WHERE origin  =  'Chennai' AND destination  =  'Guruvayur'",
        "query_toks": [
            "SELECT",
            "train_number",
            ",",
            "TIME",
            "FROM",
            "train",
            "WHERE",
            "origin",
            "=",
            "'Chennai",
            "'",
            "AND",
            "destination",
            "=",
            "'Guruvayur",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "train_number",
            ",",
            "time",
            "from",
            "train",
            "where",
            "origin",
            "=",
            "value",
            "and",
            "destination",
            "=",
            "value"
        ],
        "question": "Find the number and time of the train that goes from Chennai to Guruvayur.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "and",
            "time",
            "of",
            "the",
            "train",
            "that",
            "goes",
            "from",
            "Chennai",
            "to",
            "Guruvayur",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Chennai\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Guruvayur\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT origin ,  count(*) FROM train GROUP BY origin",
        "query_toks": [
            "SELECT",
            "origin",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "train",
            "GROUP",
            "BY",
            "origin"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "train",
            "group",
            "by",
            "origin"
        ],
        "question": "Find the number of trains starting from each origin.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "trains",
            "starting",
            "from",
            "each",
            "origin",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT t1.name FROM train AS t1 JOIN route AS t2 ON t1.id  =  t2.train_id GROUP BY t2.train_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "train",
            "AS",
            "t1",
            "JOIN",
            "route",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.train_id",
            "GROUP",
            "BY",
            "t2.train_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "train",
            "as",
            "t1",
            "join",
            "route",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "train_id",
            "group",
            "by",
            "t2",
            ".",
            "train_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the train whose route runs through greatest number of stations.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "train",
            "whose",
            "route",
            "runs",
            "through",
            "greatest",
            "number",
            "of",
            "stations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT count(*) ,  t1.network_name ,  t1.services FROM station AS t1 JOIN route AS t2 ON t1.id  =  t2.station_id GROUP BY t2.station_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1.network_name",
            ",",
            "t1.services",
            "FROM",
            "station",
            "AS",
            "t1",
            "JOIN",
            "route",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.station_id",
            "GROUP",
            "BY",
            "t2.station_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "network_name",
            ",",
            "t1",
            ".",
            "services",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "route",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "group",
            "by",
            "t2",
            ".",
            "station_id"
        ],
        "question": "Find the number of trains for each station, as well as the station network name and services.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "trains",
            "for",
            "each",
            "station",
            ",",
            "as",
            "well",
            "as",
            "the",
            "station",
            "network",
            "name",
            "and",
            "services",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT avg(high_temperature) ,  day_of_week FROM weekly_weather GROUP BY day_of_week",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "high_temperature",
            ")",
            ",",
            "day_of_week",
            "FROM",
            "weekly_weather",
            "GROUP",
            "BY",
            "day_of_week"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "high_temperature",
            ")",
            ",",
            "day_of_week",
            "from",
            "weekly_weather",
            "group",
            "by",
            "day_of_week"
        ],
        "question": "What is the average high temperature for each day of week?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "high",
            "temperature",
            "for",
            "each",
            "day",
            "of",
            "week",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT max(t1.low_temperature) ,  avg(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id  =  t2.id WHERE t2.network_name  =  \"Amersham\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "t1.low_temperature",
            ")",
            ",",
            "avg",
            "(",
            "t1.precipitation",
            ")",
            "FROM",
            "weekly_weather",
            "AS",
            "t1",
            "JOIN",
            "station",
            "AS",
            "t2",
            "ON",
            "t1.station_id",
            "=",
            "t2.id",
            "WHERE",
            "t2.network_name",
            "=",
            "``",
            "Amersham",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "low_temperature",
            ")",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "precipitation",
            ")",
            "from",
            "weekly_weather",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "network_name",
            "=",
            "value"
        ],
        "question": "Give me the maximum low temperature and average precipitation at the Amersham station.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "maximum",
            "low",
            "temperature",
            "and",
            "average",
            "precipitation",
            "at",
            "the",
            "Amersham",
            "station",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Amersham\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT t3.name ,  t3.time FROM station AS t1 JOIN route AS t2 ON t1.id  =  t2.station_id JOIN train AS t3 ON t2.train_id  =  t3.id WHERE t1.local_authority  =  \"Chiltern\"",
        "query_toks": [
            "SELECT",
            "t3.name",
            ",",
            "t3.time",
            "FROM",
            "station",
            "AS",
            "t1",
            "JOIN",
            "route",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.station_id",
            "JOIN",
            "train",
            "AS",
            "t3",
            "ON",
            "t2.train_id",
            "=",
            "t3.id",
            "WHERE",
            "t1.local_authority",
            "=",
            "``",
            "Chiltern",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "time",
            "from",
            "station",
            "as",
            "t1",
            "join",
            "route",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "station_id",
            "join",
            "train",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "train_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "local_authority",
            "=",
            "value"
        ],
        "question": "Find names and times of trains that run through stations for the local authority Chiltern.",
        "question_toks": [
            "Find",
            "names",
            "and",
            "times",
            "of",
            "trains",
            "that",
            "run",
            "through",
            "stations",
            "for",
            "the",
            "local",
            "authority",
            "Chiltern",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Chiltern\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT count(DISTINCT services) FROM station",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "services",
            ")",
            "FROM",
            "station"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "services",
            ")",
            "from",
            "station"
        ],
        "question": "How many different services are provided by all stations?",
        "question_toks": [
            "How",
            "many",
            "different",
            "services",
            "are",
            "provided",
            "by",
            "all",
            "stations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT t2.id ,  t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id  =  t2.id GROUP BY t1.station_id ORDER BY avg(high_temperature) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.id",
            ",",
            "t2.local_authority",
            "FROM",
            "weekly_weather",
            "AS",
            "t1",
            "JOIN",
            "station",
            "AS",
            "t2",
            "ON",
            "t1.station_id",
            "=",
            "t2.id",
            "GROUP",
            "BY",
            "t1.station_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "high_temperature",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "id",
            ",",
            "t2",
            ".",
            "local_authority",
            "from",
            "weekly_weather",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "station_id",
            "order",
            "by",
            "avg",
            "(",
            "high_temperature",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and local authority of the station with has the highest average high temperature.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "local",
            "authority",
            "of",
            "the",
            "station",
            "with",
            "has",
            "the",
            "highest",
            "average",
            "high",
            "temperature",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT t2.id ,  t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id  =  t2.id GROUP BY t1.station_id HAVING max(t1.precipitation)  >  50",
        "query_toks": [
            "SELECT",
            "t2.id",
            ",",
            "t2.local_authority",
            "FROM",
            "weekly_weather",
            "AS",
            "t1",
            "JOIN",
            "station",
            "AS",
            "t2",
            "ON",
            "t1.station_id",
            "=",
            "t2.id",
            "GROUP",
            "BY",
            "t1.station_id",
            "HAVING",
            "max",
            "(",
            "t1.precipitation",
            ")",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "id",
            ",",
            "t2",
            ".",
            "local_authority",
            "from",
            "weekly_weather",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "station_id",
            "having",
            "max",
            "(",
            "t1",
            ".",
            "precipitation",
            ")",
            ">",
            "value"
        ],
        "question": "Find the id and local authority of the station whose maximum precipitation is higher than 50.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "local",
            "authority",
            "of",
            "the",
            "station",
            "whose",
            "maximum",
            "precipitation",
            "is",
            "higher",
            "than",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            1,
                            18,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT min(low_temperature) ,  max(wind_speed_mph) FROM weekly_weather",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "low_temperature",
            ")",
            ",",
            "max",
            "(",
            "wind_speed_mph",
            ")",
            "FROM",
            "weekly_weather"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "low_temperature",
            ")",
            ",",
            "max",
            "(",
            "wind_speed_mph",
            ")",
            "from",
            "weekly_weather"
        ],
        "question": "show the lowest low temperature and highest wind speed in miles per hour.",
        "question_toks": [
            "show",
            "the",
            "lowest",
            "low",
            "temperature",
            "and",
            "highest",
            "wind",
            "speed",
            "in",
            "miles",
            "per",
            "hour",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "station_weather",
        "query": "SELECT origin FROM train GROUP BY origin HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "origin",
            "FROM",
            "train",
            "GROUP",
            "BY",
            "origin",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            "from",
            "train",
            "group",
            "by",
            "origin",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the origins from which more than 1 train starts.",
        "question_toks": [
            "Find",
            "the",
            "origins",
            "from",
            "which",
            "more",
            "than",
            "1",
            "train",
            "starts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code WHERE DEPT_NAME  =  \"Accounting\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "DEPT_NAME",
            "=",
            "``",
            "Accounting",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the number of professors in accounting department.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "professors",
            "in",
            "accounting",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code WHERE DEPT_NAME  =  \"Accounting\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "DEPT_NAME",
            "=",
            "``",
            "Accounting",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "How many professors are in the accounting dept?",
        "question_toks": [
            "How",
            "many",
            "professors",
            "are",
            "in",
            "the",
            "accounting",
            "dept",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT PROF_NUM) FROM CLASS WHERE CRS_CODE  =  \"ACCT-211\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "PROF_NUM",
            ")",
            "FROM",
            "CLASS",
            "WHERE",
            "CRS_CODE",
            "=",
            "``",
            "ACCT-211",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "prof_num",
            ")",
            "from",
            "class",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "How many professors are teaching class with code ACCT-211?",
        "question_toks": [
            "How",
            "many",
            "professors",
            "are",
            "teaching",
            "class",
            "with",
            "code",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT PROF_NUM) FROM CLASS WHERE CRS_CODE  =  \"ACCT-211\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "PROF_NUM",
            ")",
            "FROM",
            "CLASS",
            "WHERE",
            "CRS_CODE",
            "=",
            "``",
            "ACCT-211",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "prof_num",
            ")",
            "from",
            "class",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "How many professors teach a class with the code ACCT-211?",
        "question_toks": [
            "How",
            "many",
            "professors",
            "teach",
            "a",
            "class",
            "with",
            "the",
            "code",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.EMP_FNAME ,  T3.EMP_LNAME FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code JOIN employee AS T3 ON T1.EMP_NUM  =  T3.EMP_NUM WHERE DEPT_NAME  =  \"Biology\"",
        "query_toks": [
            "SELECT",
            "T3.EMP_FNAME",
            ",",
            "T3.EMP_LNAME",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "JOIN",
            "employee",
            "AS",
            "T3",
            "ON",
            "T1.EMP_NUM",
            "=",
            "T3.EMP_NUM",
            "WHERE",
            "DEPT_NAME",
            "=",
            "``",
            "Biology",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "emp_fname",
            ",",
            "t3",
            ".",
            "emp_lname",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "join",
            "employee",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t3",
            ".",
            "emp_num",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What is the first and last name of the professor in biology department?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "professor",
            "in",
            "biology",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Biology\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.EMP_FNAME ,  T3.EMP_LNAME FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code JOIN employee AS T3 ON T1.EMP_NUM  =  T3.EMP_NUM WHERE DEPT_NAME  =  \"Biology\"",
        "query_toks": [
            "SELECT",
            "T3.EMP_FNAME",
            ",",
            "T3.EMP_LNAME",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "JOIN",
            "employee",
            "AS",
            "T3",
            "ON",
            "T1.EMP_NUM",
            "=",
            "T3.EMP_NUM",
            "WHERE",
            "DEPT_NAME",
            "=",
            "``",
            "Biology",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "emp_fname",
            ",",
            "t3",
            ".",
            "emp_lname",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "join",
            "employee",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t3",
            ".",
            "emp_num",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the first and last name of all biology professors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "biology",
            "professors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Biology\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT DISTINCT T1.EMP_FNAME ,  T1.EMP_DOB FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM  =  T2.PROF_NUM WHERE CRS_CODE  =  \"ACCT-211\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.EMP_FNAME",
            ",",
            "T1.EMP_DOB",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.EMP_NUM",
            "=",
            "T2.PROF_NUM",
            "WHERE",
            "CRS_CODE",
            "=",
            "``",
            "ACCT-211",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "emp_dob",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What are the first names and date of birth of professors teaching course ACCT-211?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "date",
            "of",
            "birth",
            "of",
            "professors",
            "teaching",
            "course",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT DISTINCT T1.EMP_FNAME ,  T1.EMP_DOB FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM  =  T2.PROF_NUM WHERE CRS_CODE  =  \"ACCT-211\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.EMP_FNAME",
            ",",
            "T1.EMP_DOB",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.EMP_NUM",
            "=",
            "T2.PROF_NUM",
            "WHERE",
            "CRS_CODE",
            "=",
            "``",
            "ACCT-211",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "emp_dob",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What are the first names and birthdates of the professors in charge of ACCT-211?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "birthdates",
            "of",
            "the",
            "professors",
            "in",
            "charge",
            "of",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM  =  T2.PROF_NUM WHERE T1.EMP_LNAME  =  'Graztevski'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.EMP_NUM",
            "=",
            "T2.PROF_NUM",
            "WHERE",
            "T1.EMP_LNAME",
            "=",
            "'Graztevski",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num",
            "where",
            "t1",
            ".",
            "emp_lname",
            "=",
            "value"
        ],
        "question": "How many classes are professor whose last name is Graztevski has?",
        "question_toks": [
            "How",
            "many",
            "classes",
            "are",
            "professor",
            "whose",
            "last",
            "name",
            "is",
            "Graztevski",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Graztevski\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM  =  T2.PROF_NUM WHERE T1.EMP_LNAME  =  'Graztevski'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.EMP_NUM",
            "=",
            "T2.PROF_NUM",
            "WHERE",
            "T1.EMP_LNAME",
            "=",
            "'Graztevski",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num",
            "where",
            "t1",
            ".",
            "emp_lname",
            "=",
            "value"
        ],
        "question": "How many classes does the professor whose last name is Graztevski teach?",
        "question_toks": [
            "How",
            "many",
            "classes",
            "does",
            "the",
            "professor",
            "whose",
            "last",
            "name",
            "is",
            "Graztevski",
            "teach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Graztevski\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT school_code FROM department WHERE dept_name  =  \"Accounting\"",
        "query_toks": [
            "SELECT",
            "school_code",
            "FROM",
            "department",
            "WHERE",
            "dept_name",
            "=",
            "``",
            "Accounting",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "school_code",
            "from",
            "department",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What is the code of the school where the accounting department belongs to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "code",
            "of",
            "the",
            "school",
            "where",
            "the",
            "accounting",
            "department",
            "belongs",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT school_code FROM department WHERE dept_name  =  \"Accounting\"",
        "query_toks": [
            "SELECT",
            "school_code",
            "FROM",
            "department",
            "WHERE",
            "dept_name",
            "=",
            "``",
            "Accounting",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "school_code",
            "from",
            "department",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What is the school code of the accounting department?",
        "question_toks": [
            "What",
            "is",
            "the",
            "school",
            "code",
            "of",
            "the",
            "accounting",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT crs_credit ,  crs_description FROM course WHERE crs_code  =  'CIS-220'",
        "query_toks": [
            "SELECT",
            "crs_credit",
            ",",
            "crs_description",
            "FROM",
            "course",
            "WHERE",
            "crs_code",
            "=",
            "'CIS-220",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "crs_credit",
            ",",
            "crs_description",
            "from",
            "course",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "How many credits does course CIS-220 have, and what its description?",
        "question_toks": [
            "How",
            "many",
            "credits",
            "does",
            "course",
            "CIS-220",
            "have",
            ",",
            "and",
            "what",
            "its",
            "description",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"CIS-220\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT crs_credit ,  crs_description FROM course WHERE crs_code  =  'CIS-220'",
        "query_toks": [
            "SELECT",
            "crs_credit",
            ",",
            "crs_description",
            "FROM",
            "course",
            "WHERE",
            "crs_code",
            "=",
            "'CIS-220",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "crs_credit",
            ",",
            "crs_description",
            "from",
            "course",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What is the description for the CIS-220 and how many credits does it have?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "for",
            "the",
            "CIS-220",
            "and",
            "how",
            "many",
            "credits",
            "does",
            "it",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"CIS-220\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT dept_address FROM department WHERE dept_name  =  'History'",
        "query_toks": [
            "SELECT",
            "dept_address",
            "FROM",
            "department",
            "WHERE",
            "dept_name",
            "=",
            "'History",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dept_address",
            "from",
            "department",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "what is the address of history department?",
        "question_toks": [
            "what",
            "is",
            "the",
            "address",
            "of",
            "history",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT dept_address FROM department WHERE dept_name  =  'History'",
        "query_toks": [
            "SELECT",
            "dept_address",
            "FROM",
            "department",
            "WHERE",
            "dept_name",
            "=",
            "'History",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dept_address",
            "from",
            "department",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Where is the history department?",
        "question_toks": [
            "Where",
            "is",
            "the",
            "history",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_address) FROM department WHERE school_code  =  'BUS'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_address",
            ")",
            "FROM",
            "department",
            "WHERE",
            "school_code",
            "=",
            "'BUS",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_address",
            ")",
            "from",
            "department",
            "where",
            "school_code",
            "=",
            "value"
        ],
        "question": "How many different locations does the school with code BUS has?",
        "question_toks": [
            "How",
            "many",
            "different",
            "locations",
            "does",
            "the",
            "school",
            "with",
            "code",
            "BUS",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"BUS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_address) FROM department WHERE school_code  =  'BUS'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_address",
            ")",
            "FROM",
            "department",
            "WHERE",
            "school_code",
            "=",
            "'BUS",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_address",
            ")",
            "from",
            "department",
            "where",
            "school_code",
            "=",
            "value"
        ],
        "question": "What are the different locations of the school with the code BUS?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "locations",
            "of",
            "the",
            "school",
            "with",
            "the",
            "code",
            "BUS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"BUS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_address) ,  school_code FROM department GROUP BY school_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_address",
            ")",
            ",",
            "school_code",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "school_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_address",
            ")",
            ",",
            "school_code",
            "from",
            "department",
            "group",
            "by",
            "school_code"
        ],
        "question": "How many different locations does each school have?",
        "question_toks": [
            "How",
            "many",
            "different",
            "locations",
            "does",
            "each",
            "school",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_address) ,  school_code FROM department GROUP BY school_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_address",
            ")",
            ",",
            "school_code",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "school_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_address",
            ")",
            ",",
            "school_code",
            "from",
            "department",
            "group",
            "by",
            "school_code"
        ],
        "question": "Count different addresses of each school.",
        "question_toks": [
            "Count",
            "different",
            "addresses",
            "of",
            "each",
            "school",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT crs_credit ,  crs_description FROM course WHERE crs_code  =  'QM-261'",
        "query_toks": [
            "SELECT",
            "crs_credit",
            ",",
            "crs_description",
            "FROM",
            "course",
            "WHERE",
            "crs_code",
            "=",
            "'QM-261",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "crs_credit",
            ",",
            "crs_description",
            "from",
            "course",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "Find the description and credit for the course QM-261?",
        "question_toks": [
            "Find",
            "the",
            "description",
            "and",
            "credit",
            "for",
            "the",
            "course",
            "QM-261",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"QM-261\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT crs_credit ,  crs_description FROM course WHERE crs_code  =  'QM-261'",
        "query_toks": [
            "SELECT",
            "crs_credit",
            ",",
            "crs_description",
            "FROM",
            "course",
            "WHERE",
            "crs_code",
            "=",
            "'QM-261",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "crs_credit",
            ",",
            "crs_description",
            "from",
            "course",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What is the course description and number of credits for QM-261?",
        "question_toks": [
            "What",
            "is",
            "the",
            "course",
            "description",
            "and",
            "number",
            "of",
            "credits",
            "for",
            "QM-261",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"QM-261\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_name) ,  school_code FROM department GROUP BY school_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            ",",
            "school_code",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "school_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            ",",
            "school_code",
            "from",
            "department",
            "group",
            "by",
            "school_code"
        ],
        "question": "Find the number of departments in each school.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "departments",
            "in",
            "each",
            "school",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_name) ,  school_code FROM department GROUP BY school_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            ",",
            "school_code",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "school_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            ",",
            "school_code",
            "from",
            "department",
            "group",
            "by",
            "school_code"
        ],
        "question": "How many departments are in each school?",
        "question_toks": [
            "How",
            "many",
            "departments",
            "are",
            "in",
            "each",
            "school",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_name) ,  school_code FROM department GROUP BY school_code HAVING count(DISTINCT dept_name)  <  5",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            ",",
            "school_code",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "school_code",
            "HAVING",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            ",",
            "school_code",
            "from",
            "department",
            "group",
            "by",
            "school_code",
            "having",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            "<",
            "value"
        ],
        "question": "Find the number of different departments in each school whose number of different departments is less than 5.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "different",
            "departments",
            "in",
            "each",
            "school",
            "whose",
            "number",
            "of",
            "different",
            "departments",
            "is",
            "less",
            "than",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            12,
                            true
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_name) ,  school_code FROM department GROUP BY school_code HAVING count(DISTINCT dept_name)  <  5",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            ",",
            "school_code",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "school_code",
            "HAVING",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            ",",
            "school_code",
            "from",
            "department",
            "group",
            "by",
            "school_code",
            "having",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            "<",
            "value"
        ],
        "question": "How many different departments are there in each school that has less than 5 apartments?",
        "question_toks": [
            "How",
            "many",
            "different",
            "departments",
            "are",
            "there",
            "in",
            "each",
            "school",
            "that",
            "has",
            "less",
            "than",
            "5",
            "apartments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            12,
                            true
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  crs_code FROM CLASS GROUP BY crs_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "crs_code",
            "FROM",
            "CLASS",
            "GROUP",
            "BY",
            "crs_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "crs_code",
            "from",
            "class",
            "group",
            "by",
            "crs_code"
        ],
        "question": "How many sections does each course has?",
        "question_toks": [
            "How",
            "many",
            "sections",
            "does",
            "each",
            "course",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  crs_code FROM CLASS GROUP BY crs_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "crs_code",
            "FROM",
            "CLASS",
            "GROUP",
            "BY",
            "crs_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "crs_code",
            "from",
            "class",
            "group",
            "by",
            "crs_code"
        ],
        "question": "How many sections does each course have?",
        "question_toks": [
            "How",
            "many",
            "sections",
            "does",
            "each",
            "course",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT sum(crs_credit) ,  dept_code FROM course GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "crs_credit",
            ")",
            ",",
            "dept_code",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "crs_credit",
            ")",
            ",",
            "dept_code",
            "from",
            "course",
            "group",
            "by",
            "dept_code"
        ],
        "question": "What is the total credit does each department offer?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "credit",
            "does",
            "each",
            "department",
            "offer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT sum(crs_credit) ,  dept_code FROM course GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "crs_credit",
            ")",
            ",",
            "dept_code",
            "FROM",
            "course",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "crs_credit",
            ")",
            ",",
            "dept_code",
            "from",
            "course",
            "group",
            "by",
            "dept_code"
        ],
        "question": "How many credits does the department offer?",
        "question_toks": [
            "How",
            "many",
            "credits",
            "does",
            "the",
            "department",
            "offer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  class_room FROM CLASS GROUP BY class_room HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "class_room",
            "FROM",
            "CLASS",
            "GROUP",
            "BY",
            "class_room",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "class_room",
            "from",
            "class",
            "group",
            "by",
            "class_room",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the number of classes offered for all class rooms that held at least 2 classes.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "classes",
            "offered",
            "for",
            "all",
            "class",
            "rooms",
            "that",
            "held",
            "at",
            "least",
            "2",
            "classes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  class_room FROM CLASS GROUP BY class_room HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "class_room",
            "FROM",
            "CLASS",
            "GROUP",
            "BY",
            "class_room",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "class_room",
            "from",
            "class",
            "group",
            "by",
            "class_room",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "For each classroom with at least 2 classes, how many classes are offered?",
        "question_toks": [
            "For",
            "each",
            "classroom",
            "with",
            "at",
            "least",
            "2",
            "classes",
            ",",
            "how",
            "many",
            "classes",
            "are",
            "offered",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  dept_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code  =  T2.crs_code GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.crs_code",
            "=",
            "T2.crs_code",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t2",
            ".",
            "crs_code",
            "group",
            "by",
            "dept_code"
        ],
        "question": "Find the number of classes in each department.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "classes",
            "in",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  dept_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code  =  T2.crs_code GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.crs_code",
            "=",
            "T2.crs_code",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t2",
            ".",
            "crs_code",
            "group",
            "by",
            "dept_code"
        ],
        "question": "How many classes are held in each department?",
        "question_toks": [
            "How",
            "many",
            "classes",
            "are",
            "held",
            "in",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  T3.school_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code  =  T2.crs_code JOIN department AS T3 ON T2.dept_code  =  T3.dept_code GROUP BY T3.school_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T3.school_code",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.crs_code",
            "=",
            "T2.crs_code",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.dept_code",
            "=",
            "T3.dept_code",
            "GROUP",
            "BY",
            "T3.school_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t3",
            ".",
            "school_code",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t2",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "group",
            "by",
            "t3",
            ".",
            "school_code"
        ],
        "question": "Find the number of classes in each school.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "classes",
            "in",
            "each",
            "school",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  T3.school_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code  =  T2.crs_code JOIN department AS T3 ON T2.dept_code  =  T3.dept_code GROUP BY T3.school_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T3.school_code",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.crs_code",
            "=",
            "T2.crs_code",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.dept_code",
            "=",
            "T3.dept_code",
            "GROUP",
            "BY",
            "T3.school_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t3",
            ".",
            "school_code",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t2",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "group",
            "by",
            "t3",
            ".",
            "school_code"
        ],
        "question": "How many classes exist for each school?",
        "question_toks": [
            "How",
            "many",
            "classes",
            "exist",
            "for",
            "each",
            "school",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  T1.school_code FROM department AS T1 JOIN professor AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.school_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.school_code",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.school_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "school_code",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "school_code"
        ],
        "question": "What is the number of professors for different school?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "professors",
            "for",
            "different",
            "school",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  T1.school_code FROM department AS T1 JOIN professor AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.school_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.school_code",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.school_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "school_code",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "school_code"
        ],
        "question": "How many different professors are there for the different schools?",
        "question_toks": [
            "How",
            "many",
            "different",
            "professors",
            "are",
            "there",
            "for",
            "the",
            "different",
            "schools",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT emp_jobcode ,  count(*) FROM employee GROUP BY emp_jobcode ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "emp_jobcode",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employee",
            "GROUP",
            "BY",
            "emp_jobcode",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "emp_jobcode",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee",
            "group",
            "by",
            "emp_jobcode",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the count and code of the job has most employees.",
        "question_toks": [
            "Find",
            "the",
            "count",
            "and",
            "code",
            "of",
            "the",
            "job",
            "has",
            "most",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT emp_jobcode ,  count(*) FROM employee GROUP BY emp_jobcode ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "emp_jobcode",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employee",
            "GROUP",
            "BY",
            "emp_jobcode",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "emp_jobcode",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee",
            "group",
            "by",
            "emp_jobcode",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the count and code of the job with the most employee?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "and",
            "code",
            "of",
            "the",
            "job",
            "with",
            "the",
            "most",
            "employee",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.school_code FROM department AS T1 JOIN professor AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.school_code ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.school_code",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.school_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "school_code",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "school_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Which school has the smallest amount of professors?",
        "question_toks": [
            "Which",
            "school",
            "has",
            "the",
            "smallest",
            "amount",
            "of",
            "professors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.school_code FROM department AS T1 JOIN professor AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.school_code ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.school_code",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.school_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "school_code",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "school_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Which school has the fewest professors?",
        "question_toks": [
            "Which",
            "school",
            "has",
            "the",
            "fewest",
            "professors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  dept_code FROM professor WHERE prof_high_degree  =  'Ph.D.' GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "FROM",
            "professor",
            "WHERE",
            "prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "from",
            "professor",
            "where",
            "prof_high_degree",
            "=",
            "value",
            "group",
            "by",
            "dept_code"
        ],
        "question": "Find the number of professors with a Ph.D. degree in each department.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "professors",
            "with",
            "a",
            "Ph.D.",
            "degree",
            "in",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  dept_code FROM professor WHERE prof_high_degree  =  'Ph.D.' GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "FROM",
            "professor",
            "WHERE",
            "prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "from",
            "professor",
            "where",
            "prof_high_degree",
            "=",
            "value",
            "group",
            "by",
            "dept_code"
        ],
        "question": "How many professors have a Ph.D. in each department?",
        "question_toks": [
            "How",
            "many",
            "professors",
            "have",
            "a",
            "Ph.D.",
            "in",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  dept_code FROM student GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "from",
            "student",
            "group",
            "by",
            "dept_code"
        ],
        "question": "Find the number of students for each department.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "for",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) ,  dept_code FROM student GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "dept_code",
            "from",
            "student",
            "group",
            "by",
            "dept_code"
        ],
        "question": "How many students are in each department?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "in",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT sum(stu_hrs) ,  dept_code FROM student GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "stu_hrs",
            ")",
            ",",
            "dept_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "stu_hrs",
            ")",
            ",",
            "dept_code",
            "from",
            "student",
            "group",
            "by",
            "dept_code"
        ],
        "question": "Find the total number of hours have done for all students in each department.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "hours",
            "have",
            "done",
            "for",
            "all",
            "students",
            "in",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT sum(stu_hrs) ,  dept_code FROM student GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "stu_hrs",
            ")",
            ",",
            "dept_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "stu_hrs",
            ")",
            ",",
            "dept_code",
            "from",
            "student",
            "group",
            "by",
            "dept_code"
        ],
        "question": "How many hours do the students spend studying in each department?",
        "question_toks": [
            "How",
            "many",
            "hours",
            "do",
            "the",
            "students",
            "spend",
            "studying",
            "in",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT max(stu_gpa) ,  avg(stu_gpa) ,  min(stu_gpa) ,  dept_code FROM student GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "stu_gpa",
            ")",
            ",",
            "avg",
            "(",
            "stu_gpa",
            ")",
            ",",
            "min",
            "(",
            "stu_gpa",
            ")",
            ",",
            "dept_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "stu_gpa",
            ")",
            ",",
            "avg",
            "(",
            "stu_gpa",
            ")",
            ",",
            "min",
            "(",
            "stu_gpa",
            ")",
            ",",
            "dept_code",
            "from",
            "student",
            "group",
            "by",
            "dept_code"
        ],
        "question": "Find the max, average, and minimum gpa of all students in each department.",
        "question_toks": [
            "Find",
            "the",
            "max",
            ",",
            "average",
            ",",
            "and",
            "minimum",
            "gpa",
            "of",
            "all",
            "students",
            "in",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT max(stu_gpa) ,  avg(stu_gpa) ,  min(stu_gpa) ,  dept_code FROM student GROUP BY dept_code",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "stu_gpa",
            ")",
            ",",
            "avg",
            "(",
            "stu_gpa",
            ")",
            ",",
            "min",
            "(",
            "stu_gpa",
            ")",
            ",",
            "dept_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "stu_gpa",
            ")",
            ",",
            "avg",
            "(",
            "stu_gpa",
            ")",
            ",",
            "min",
            "(",
            "stu_gpa",
            ")",
            ",",
            "dept_code",
            "from",
            "student",
            "group",
            "by",
            "dept_code"
        ],
        "question": "What is the highest, lowest, and average student GPA for every department?",
        "question_toks": [
            "What",
            "is",
            "the",
            "highest",
            ",",
            "lowest",
            ",",
            "and",
            "average",
            "student",
            "GPA",
            "for",
            "every",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name ,  avg(T1.stu_gpa) FROM student AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.dept_code ORDER BY avg(T1.stu_gpa) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            ",",
            "avg",
            "(",
            "T1.stu_gpa",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.stu_gpa",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "stu_gpa",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "stu_gpa",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and the average gpa of department whose students have the highest average gpa?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "the",
            "average",
            "gpa",
            "of",
            "department",
            "whose",
            "students",
            "have",
            "the",
            "highest",
            "average",
            "gpa",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name ,  avg(T1.stu_gpa) FROM student AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.dept_code ORDER BY avg(T1.stu_gpa) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            ",",
            "avg",
            "(",
            "T1.stu_gpa",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.stu_gpa",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "stu_gpa",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "stu_gpa",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which department has the highest average student GPA, and what is the average gpa?",
        "question_toks": [
            "Which",
            "department",
            "has",
            "the",
            "highest",
            "average",
            "student",
            "GPA",
            ",",
            "and",
            "what",
            "is",
            "the",
            "average",
            "gpa",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT school_code) FROM department",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "school_code",
            ")",
            "FROM",
            "department"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "school_code",
            ")",
            "from",
            "department"
        ],
        "question": "how many schools exist in total?",
        "question_toks": [
            "how",
            "many",
            "schools",
            "exist",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT school_code) FROM department",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "school_code",
            ")",
            "FROM",
            "department"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "school_code",
            ")",
            "from",
            "department"
        ],
        "question": "How many schools are there in the department?",
        "question_toks": [
            "How",
            "many",
            "schools",
            "are",
            "there",
            "in",
            "the",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT class_code) FROM CLASS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "class_code",
            ")",
            "FROM",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "class_code",
            ")",
            "from",
            "class"
        ],
        "question": "How many different classes are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "classes",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT class_code) FROM CLASS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "class_code",
            ")",
            "FROM",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "class_code",
            ")",
            "from",
            "class"
        ],
        "question": "How many unique classes are offered?",
        "question_toks": [
            "How",
            "many",
            "unique",
            "classes",
            "are",
            "offered",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT crs_code) FROM CLASS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "crs_code",
            ")",
            "FROM",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "crs_code",
            ")",
            "from",
            "class"
        ],
        "question": "How many courses are offered?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "are",
            "offered",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT crs_code) FROM CLASS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "crs_code",
            ")",
            "FROM",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "crs_code",
            ")",
            "from",
            "class"
        ],
        "question": "What are the number of different course codes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "number",
            "of",
            "different",
            "course",
            "codes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_name) FROM department",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            "FROM",
            "department"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            "from",
            "department"
        ],
        "question": "How many departments does the college has?",
        "question_toks": [
            "How",
            "many",
            "departments",
            "does",
            "the",
            "college",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT dept_name) FROM department",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dept_name",
            ")",
            "FROM",
            "department"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dept_name",
            ")",
            "from",
            "department"
        ],
        "question": "How many different departments are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "departments",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM department AS T1 JOIN course AS T2 ON T1.dept_code  =  T2.dept_code WHERE dept_name  =  \"Computer Info. Systems\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "dept_name",
            "=",
            "``",
            "Computer",
            "Info",
            ".",
            "Systems",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "How many courses are offered by the Computer Info. Systems department?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "are",
            "offered",
            "by",
            "the",
            "Computer",
            "Info",
            ".",
            "Systems",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Computer Info. Systems\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM department AS T1 JOIN course AS T2 ON T1.dept_code  =  T2.dept_code WHERE dept_name  =  \"Computer Info. Systems\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "course",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "dept_name",
            "=",
            "``",
            "Computer",
            "Info",
            ".",
            "Systems",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "course",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "dept_name",
            "=",
            "value"
        ],
        "question": "How many courses does the department of Computer Information Systmes offer?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "does",
            "the",
            "department",
            "of",
            "Computer",
            "Information",
            "Systmes",
            "offer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Computer Info. Systems\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT class_section) FROM CLASS WHERE crs_code  =  'ACCT-211'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "class_section",
            ")",
            "FROM",
            "CLASS",
            "WHERE",
            "crs_code",
            "=",
            "'ACCT-211",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "class_section",
            ")",
            "from",
            "class",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "How many sections does course ACCT-211 has?",
        "question_toks": [
            "How",
            "many",
            "sections",
            "does",
            "course",
            "ACCT-211",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(DISTINCT class_section) FROM CLASS WHERE crs_code  =  'ACCT-211'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "class_section",
            ")",
            "FROM",
            "CLASS",
            "WHERE",
            "crs_code",
            "=",
            "'ACCT-211",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "class_section",
            ")",
            "from",
            "class",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What is the number of different class sections offered in the course ACCT-211?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "different",
            "class",
            "sections",
            "offered",
            "in",
            "the",
            "course",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT sum(T1.crs_credit) ,  T1.dept_code FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code  =  T2.crs_code GROUP BY T1.dept_code",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.crs_credit",
            ")",
            ",",
            "T1.dept_code",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.crs_code",
            "=",
            "T2.crs_code",
            "GROUP",
            "BY",
            "T1.dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "crs_credit",
            ")",
            ",",
            "t1",
            ".",
            "dept_code",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t2",
            ".",
            "crs_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code"
        ],
        "question": "Find the total credits of all classes offered by each department.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "credits",
            "of",
            "all",
            "classes",
            "offered",
            "by",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT sum(T1.crs_credit) ,  T1.dept_code FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code  =  T2.crs_code GROUP BY T1.dept_code",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.crs_credit",
            ")",
            ",",
            "T1.dept_code",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.crs_code",
            "=",
            "T2.crs_code",
            "GROUP",
            "BY",
            "T1.dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "crs_credit",
            ")",
            ",",
            "t1",
            ".",
            "dept_code",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t2",
            ".",
            "crs_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code"
        ],
        "question": "What are the total number of credits offered by each department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "number",
            "of",
            "credits",
            "offered",
            "by",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code  =  T2.crs_code JOIN department AS T3 ON T1.dept_code  =  T3.dept_code GROUP BY T1.dept_code ORDER BY sum(T1.crs_credit) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T3.dept_name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.crs_code",
            "=",
            "T2.crs_code",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T1.dept_code",
            "=",
            "T3.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T1.crs_credit",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "dept_name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t2",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "crs_credit",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the department that offers the largest number of credits of all classes.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "department",
            "that",
            "offers",
            "the",
            "largest",
            "number",
            "of",
            "credits",
            "of",
            "all",
            "classes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code  =  T2.crs_code JOIN department AS T3 ON T1.dept_code  =  T3.dept_code GROUP BY T1.dept_code ORDER BY sum(T1.crs_credit) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T3.dept_name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.crs_code",
            "=",
            "T2.crs_code",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T1.dept_code",
            "=",
            "T3.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T1.crs_credit",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "dept_name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t2",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "crs_credit",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which department offers the most credits all together?",
        "question_toks": [
            "Which",
            "department",
            "offers",
            "the",
            "most",
            "credits",
            "all",
            "together",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code WHERE T1.crs_code  =  'ACCT-211'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "WHERE",
            "T1.crs_code",
            "=",
            "'ACCT-211",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "where",
            "t1",
            ".",
            "crs_code",
            "=",
            "value"
        ],
        "question": "How many students enrolled in class ACCT-211?",
        "question_toks": [
            "How",
            "many",
            "students",
            "enrolled",
            "in",
            "class",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code WHERE T1.crs_code  =  'ACCT-211'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "WHERE",
            "T1.crs_code",
            "=",
            "'ACCT-211",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "where",
            "t1",
            ".",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What are the total number of students enrolled in ACCT-211?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "number",
            "of",
            "students",
            "enrolled",
            "in",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN student AS T3 ON T2.stu_num  =  T3.stu_num WHERE T1.crs_code  =  'ACCT-211'",
        "query_toks": [
            "SELECT",
            "T3.stu_fname",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T2.stu_num",
            "=",
            "T3.stu_num",
            "WHERE",
            "T1.crs_code",
            "=",
            "'ACCT-211",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "stu_fname",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stu_num",
            "=",
            "t3",
            ".",
            "stu_num",
            "where",
            "t1",
            ".",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What is the first name of each student enrolled in class ACCT-211?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "each",
            "student",
            "enrolled",
            "in",
            "class",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN student AS T3 ON T2.stu_num  =  T3.stu_num WHERE T1.crs_code  =  'ACCT-211'",
        "query_toks": [
            "SELECT",
            "T3.stu_fname",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T2.stu_num",
            "=",
            "T3.stu_num",
            "WHERE",
            "T1.crs_code",
            "=",
            "'ACCT-211",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "stu_fname",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stu_num",
            "=",
            "t3",
            ".",
            "stu_num",
            "where",
            "t1",
            ".",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What are the first names of all students in course ACCT-211?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "students",
            "in",
            "course",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN student AS T3 ON T2.stu_num  =  T3.stu_num WHERE T1.crs_code  =  'ACCT-211' AND T2.enroll_grade  =  'C'",
        "query_toks": [
            "SELECT",
            "T3.stu_fname",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T2.stu_num",
            "=",
            "T3.stu_num",
            "WHERE",
            "T1.crs_code",
            "=",
            "'ACCT-211",
            "'",
            "AND",
            "T2.enroll_grade",
            "=",
            "'C",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "stu_fname",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stu_num",
            "=",
            "t3",
            ".",
            "stu_num",
            "where",
            "t1",
            ".",
            "crs_code",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "enroll_grade",
            "=",
            "value"
        ],
        "question": "What is the first name of students enrolled in class ACCT-211 and got grade C?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "students",
            "enrolled",
            "in",
            "class",
            "ACCT-211",
            "and",
            "got",
            "grade",
            "C",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"C\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN student AS T3 ON T2.stu_num  =  T3.stu_num WHERE T1.crs_code  =  'ACCT-211' AND T2.enroll_grade  =  'C'",
        "query_toks": [
            "SELECT",
            "T3.stu_fname",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T2.stu_num",
            "=",
            "T3.stu_num",
            "WHERE",
            "T1.crs_code",
            "=",
            "'ACCT-211",
            "'",
            "AND",
            "T2.enroll_grade",
            "=",
            "'C",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "stu_fname",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stu_num",
            "=",
            "t3",
            ".",
            "stu_num",
            "where",
            "t1",
            ".",
            "crs_code",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "enroll_grade",
            "=",
            "value"
        ],
        "question": "What are the first names of all students who took ACCT-211 and received a C?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "students",
            "who",
            "took",
            "ACCT-211",
            "and",
            "received",
            "a",
            "C",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"C\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM employee",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employee"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee"
        ],
        "question": "Find the total number of employees.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM employee",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "employee"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employee"
        ],
        "question": "How many employees are there all together?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "are",
            "there",
            "all",
            "together",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM professor WHERE prof_high_degree  =  'Ph.D.'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "professor",
            "WHERE",
            "prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "professor",
            "where",
            "prof_high_degree",
            "=",
            "value"
        ],
        "question": "How many professors do have a Ph.D. degree?",
        "question_toks": [
            "How",
            "many",
            "professors",
            "do",
            "have",
            "a",
            "Ph.D.",
            "degree",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM professor WHERE prof_high_degree  =  'Ph.D.'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "professor",
            "WHERE",
            "prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "professor",
            "where",
            "prof_high_degree",
            "=",
            "value"
        ],
        "question": "What is the total number of professors with a Ph.D. ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "professors",
            "with",
            "a",
            "Ph.D.",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN course AS T3 ON T1.crs_code  =  T3.crs_code JOIN department AS T4 ON T3.dept_code  =  T4.dept_code WHERE T4.dept_name  =  'Accounting'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code",
            "JOIN",
            "department",
            "AS",
            "T4",
            "ON",
            "T3.dept_code",
            "=",
            "T4.dept_code",
            "WHERE",
            "T4.dept_name",
            "=",
            "'Accounting",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "dept_code",
            "=",
            "t4",
            ".",
            "dept_code",
            "where",
            "t4",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "How many students are enrolled in the class taught by some professor from the accounting department?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "enrolled",
            "in",
            "the",
            "class",
            "taught",
            "by",
            "some",
            "professor",
            "from",
            "the",
            "accounting",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN course AS T3 ON T1.crs_code  =  T3.crs_code JOIN department AS T4 ON T3.dept_code  =  T4.dept_code WHERE T4.dept_name  =  'Accounting'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code",
            "JOIN",
            "department",
            "AS",
            "T4",
            "ON",
            "T3.dept_code",
            "=",
            "T4.dept_code",
            "WHERE",
            "T4.dept_name",
            "=",
            "'Accounting",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "dept_code",
            "=",
            "t4",
            ".",
            "dept_code",
            "where",
            "t4",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "How many students are enrolled in some classes that are taught by an accounting professor?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "enrolled",
            "in",
            "some",
            "classes",
            "that",
            "are",
            "taught",
            "by",
            "an",
            "accounting",
            "professor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T4.dept_name FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN course AS T3 ON T1.crs_code  =  T3.crs_code JOIN department AS T4 ON T3.dept_code  =  T4.dept_code GROUP BY T3.dept_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T4.dept_name",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code",
            "JOIN",
            "department",
            "AS",
            "T4",
            "ON",
            "T3.dept_code",
            "=",
            "T4.dept_code",
            "GROUP",
            "BY",
            "T3.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "dept_name",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "dept_code",
            "=",
            "t4",
            ".",
            "dept_code",
            "group",
            "by",
            "t3",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the department that has the largest number of students enrolled?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "students",
            "enrolled",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T4.dept_name FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN course AS T3 ON T1.crs_code  =  T3.crs_code JOIN department AS T4 ON T3.dept_code  =  T4.dept_code GROUP BY T3.dept_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T4.dept_name",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code",
            "JOIN",
            "department",
            "AS",
            "T4",
            "ON",
            "T3.dept_code",
            "=",
            "T4.dept_code",
            "GROUP",
            "BY",
            "T3.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "dept_name",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "dept_code",
            "=",
            "t4",
            ".",
            "dept_code",
            "group",
            "by",
            "t3",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the department with the most students enrolled?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "with",
            "the",
            "most",
            "students",
            "enrolled",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT dept_name FROM department ORDER BY dept_name",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "dept_name"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "department",
            "order",
            "by",
            "dept_name"
        ],
        "question": "list names of all departments ordered by their names.",
        "question_toks": [
            "list",
            "names",
            "of",
            "all",
            "departments",
            "ordered",
            "by",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT dept_name FROM department ORDER BY dept_name",
        "query_toks": [
            "SELECT",
            "dept_name",
            "FROM",
            "department",
            "ORDER",
            "BY",
            "dept_name"
        ],
        "query_toks_no_value": [
            "select",
            "dept_name",
            "from",
            "department",
            "order",
            "by",
            "dept_name"
        ],
        "question": "What are the names of all departments in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "departments",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT class_code FROM CLASS WHERE class_room  =  'KLR209'",
        "query_toks": [
            "SELECT",
            "class_code",
            "FROM",
            "CLASS",
            "WHERE",
            "class_room",
            "=",
            "'KLR209",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "class_code",
            "from",
            "class",
            "where",
            "class_room",
            "=",
            "value"
        ],
        "question": "List the codes of all courses that take place in room KLR209.",
        "question_toks": [
            "List",
            "the",
            "codes",
            "of",
            "all",
            "courses",
            "that",
            "take",
            "place",
            "in",
            "room",
            "KLR209",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"KLR209\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT class_code FROM CLASS WHERE class_room  =  'KLR209'",
        "query_toks": [
            "SELECT",
            "class_code",
            "FROM",
            "CLASS",
            "WHERE",
            "class_room",
            "=",
            "'KLR209",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "class_code",
            "from",
            "class",
            "where",
            "class_room",
            "=",
            "value"
        ],
        "question": "What are the codes of all the courses that are located in room KLR209?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "of",
            "all",
            "the",
            "courses",
            "that",
            "are",
            "located",
            "in",
            "room",
            "KLR209",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"KLR209\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT emp_fname FROM employee WHERE emp_jobcode  =  'PROF' ORDER BY emp_dob",
        "query_toks": [
            "SELECT",
            "emp_fname",
            "FROM",
            "employee",
            "WHERE",
            "emp_jobcode",
            "=",
            "'PROF",
            "'",
            "ORDER",
            "BY",
            "emp_dob"
        ],
        "query_toks_no_value": [
            "select",
            "emp_fname",
            "from",
            "employee",
            "where",
            "emp_jobcode",
            "=",
            "value",
            "order",
            "by",
            "emp_dob"
        ],
        "question": "List the first name of all employees with job code PROF ordered by their date of birth.",
        "question_toks": [
            "List",
            "the",
            "first",
            "name",
            "of",
            "all",
            "employees",
            "with",
            "job",
            "code",
            "PROF",
            "ordered",
            "by",
            "their",
            "date",
            "of",
            "birth",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"PROF\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT emp_fname FROM employee WHERE emp_jobcode  =  'PROF' ORDER BY emp_dob",
        "query_toks": [
            "SELECT",
            "emp_fname",
            "FROM",
            "employee",
            "WHERE",
            "emp_jobcode",
            "=",
            "'PROF",
            "'",
            "ORDER",
            "BY",
            "emp_dob"
        ],
        "query_toks_no_value": [
            "select",
            "emp_fname",
            "from",
            "employee",
            "where",
            "emp_jobcode",
            "=",
            "value",
            "order",
            "by",
            "emp_dob"
        ],
        "question": "What are the first names of all employees that are professors ordered by date of birth?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "employees",
            "that",
            "are",
            "professors",
            "ordered",
            "by",
            "date",
            "of",
            "birth",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"PROF\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num  =  T2.emp_num ORDER BY T2.emp_fname",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T1.prof_office",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "ORDER",
            "BY",
            "T2.emp_fname"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "prof_office",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "order",
            "by",
            "t2",
            ".",
            "emp_fname"
        ],
        "question": "Find the first names and offices of all professors sorted by alphabetical order of their first name.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "and",
            "offices",
            "of",
            "all",
            "professors",
            "sorted",
            "by",
            "alphabetical",
            "order",
            "of",
            "their",
            "first",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num  =  T2.emp_num ORDER BY T2.emp_fname",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T1.prof_office",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "ORDER",
            "BY",
            "T2.emp_fname"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "prof_office",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "order",
            "by",
            "t2",
            ".",
            "emp_fname"
        ],
        "question": "What are the first names and office locations for all professors sorted alphabetically by first name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "office",
            "locations",
            "for",
            "all",
            "professors",
            "sorted",
            "alphabetically",
            "by",
            "first",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT emp_fname ,  emp_lname FROM employee ORDER BY emp_dob LIMIT 1",
        "query_toks": [
            "SELECT",
            "emp_fname",
            ",",
            "emp_lname",
            "FROM",
            "employee",
            "ORDER",
            "BY",
            "emp_dob",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "emp_fname",
            ",",
            "emp_lname",
            "from",
            "employee",
            "order",
            "by",
            "emp_dob",
            "limit",
            "value"
        ],
        "question": "What is the first and last name of the oldest employee?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "oldest",
            "employee",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT emp_fname ,  emp_lname FROM employee ORDER BY emp_dob LIMIT 1",
        "query_toks": [
            "SELECT",
            "emp_fname",
            ",",
            "emp_lname",
            "FROM",
            "employee",
            "ORDER",
            "BY",
            "emp_dob",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "emp_fname",
            ",",
            "emp_lname",
            "from",
            "employee",
            "order",
            "by",
            "emp_dob",
            "limit",
            "value"
        ],
        "question": "What are the first and last names of the employee with the earliest date of birth?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "employee",
            "with",
            "the",
            "earliest",
            "date",
            "of",
            "birth",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT stu_fname ,  stu_lname ,  stu_gpa FROM student WHERE stu_gpa  >  3 ORDER BY stu_dob DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "stu_fname",
            ",",
            "stu_lname",
            ",",
            "stu_gpa",
            "FROM",
            "student",
            "WHERE",
            "stu_gpa",
            ">",
            "3",
            "ORDER",
            "BY",
            "stu_dob",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "stu_fname",
            ",",
            "stu_lname",
            ",",
            "stu_gpa",
            "from",
            "student",
            "where",
            "stu_gpa",
            ">",
            "value",
            "order",
            "by",
            "stu_dob",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first, last name, gpa of the youngest one among students whose GPA is above 3?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            ",",
            "last",
            "name",
            ",",
            "gpa",
            "of",
            "the",
            "youngest",
            "one",
            "among",
            "students",
            "whose",
            "GPA",
            "is",
            "above",
            "3",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT stu_fname ,  stu_lname ,  stu_gpa FROM student WHERE stu_gpa  >  3 ORDER BY stu_dob DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "stu_fname",
            ",",
            "stu_lname",
            ",",
            "stu_gpa",
            "FROM",
            "student",
            "WHERE",
            "stu_gpa",
            ">",
            "3",
            "ORDER",
            "BY",
            "stu_dob",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "stu_fname",
            ",",
            "stu_lname",
            ",",
            "stu_gpa",
            "from",
            "student",
            "where",
            "stu_gpa",
            ">",
            "value",
            "order",
            "by",
            "stu_dob",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first and last name of the youngest student with a GPA above 3, and what is their GPA?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "youngest",
            "student",
            "with",
            "a",
            "GPA",
            "above",
            "3",
            ",",
            "and",
            "what",
            "is",
            "their",
            "GPA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT DISTINCT stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num WHERE enroll_grade  =  'C'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "WHERE",
            "enroll_grade",
            "=",
            "'C",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "where",
            "enroll_grade",
            "=",
            "value"
        ],
        "question": "What is the first name of students who got grade C in any class?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "students",
            "who",
            "got",
            "grade",
            "C",
            "in",
            "any",
            "class",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"C\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT DISTINCT stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num WHERE enroll_grade  =  'C'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "WHERE",
            "enroll_grade",
            "=",
            "'C",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "where",
            "enroll_grade",
            "=",
            "value"
        ],
        "question": "What are the first names of all students who got a grade C in a class?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "students",
            "who",
            "got",
            "a",
            "grade",
            "C",
            "in",
            "a",
            "class",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"C\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.dept_code ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the name of department where has the smallest number of professors?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "department",
            "where",
            "has",
            "the",
            "smallest",
            "number",
            "of",
            "professors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.dept_code ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the name of the department with the fewest professors?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "with",
            "the",
            "fewest",
            "professors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name ,  T1.dept_code FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code WHERE T1.prof_high_degree  =  'Ph.D.' GROUP BY T1.dept_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            ",",
            "T1.dept_code",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "T1.prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            ",",
            "t1",
            ".",
            "dept_code",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "t1",
            ".",
            "prof_high_degree",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of department where has the largest number of professors with a Ph.D. degree?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "department",
            "where",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "professors",
            "with",
            "a",
            "Ph.D.",
            "degree",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name ,  T1.dept_code FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code WHERE T1.prof_high_degree  =  'Ph.D.' GROUP BY T1.dept_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            ",",
            "T1.dept_code",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "T1.prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            ",",
            "t1",
            ".",
            "dept_code",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "t1",
            ".",
            "prof_high_degree",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which department has the most professors with a Ph.D.?",
        "question_toks": [
            "Which",
            "department",
            "has",
            "the",
            "most",
            "professors",
            "with",
            "a",
            "Ph.D.",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT emp_fname FROM employee WHERE emp_jobcode  =  'PROF' EXCEPT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num  =  T2.prof_num",
        "query_toks": [
            "SELECT",
            "emp_fname",
            "FROM",
            "employee",
            "WHERE",
            "emp_jobcode",
            "=",
            "'PROF",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.prof_num"
        ],
        "query_toks_no_value": [
            "select",
            "emp_fname",
            "from",
            "employee",
            "where",
            "emp_jobcode",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num"
        ],
        "question": "What are the first names of the professors who do not teach a class.",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "the",
            "professors",
            "who",
            "do",
            "not",
            "teach",
            "a",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"PROF\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT emp_fname FROM employee WHERE emp_jobcode  =  'PROF' EXCEPT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num  =  T2.prof_num",
        "query_toks": [
            "SELECT",
            "emp_fname",
            "FROM",
            "employee",
            "WHERE",
            "emp_jobcode",
            "=",
            "'PROF",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.prof_num"
        ],
        "query_toks_no_value": [
            "select",
            "emp_fname",
            "from",
            "employee",
            "where",
            "emp_jobcode",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num"
        ],
        "question": "What are the first names of all professors not teaching any classes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "professors",
            "not",
            "teaching",
            "any",
            "classes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"PROF\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_fname FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T2.dept_code  =  T3.dept_code WHERE T3.dept_name  =  'History' EXCEPT SELECT T4.emp_fname FROM employee AS T4 JOIN CLASS AS T5 ON T4.emp_num  =  T5.prof_num",
        "query_toks": [
            "SELECT",
            "T1.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'",
            "EXCEPT",
            "SELECT",
            "T4.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T4",
            "JOIN",
            "CLASS",
            "AS",
            "T5",
            "ON",
            "T4.emp_num",
            "=",
            "T5.prof_num"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value",
            "except",
            "select",
            "t4",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t4",
            "join",
            "class",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "emp_num",
            "=",
            "t5",
            ".",
            "prof_num"
        ],
        "question": "What is the first names of the professors from the history department who do not teach a class.",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "names",
            "of",
            "the",
            "professors",
            "from",
            "the",
            "history",
            "department",
            "who",
            "do",
            "not",
            "teach",
            "a",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_fname FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T2.dept_code  =  T3.dept_code WHERE T3.dept_name  =  'History' EXCEPT SELECT T4.emp_fname FROM employee AS T4 JOIN CLASS AS T5 ON T4.emp_num  =  T5.prof_num",
        "query_toks": [
            "SELECT",
            "T1.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'",
            "EXCEPT",
            "SELECT",
            "T4.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T4",
            "JOIN",
            "CLASS",
            "AS",
            "T5",
            "ON",
            "T4.emp_num",
            "=",
            "T5.prof_num"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value",
            "except",
            "select",
            "t4",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t4",
            "join",
            "class",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "emp_num",
            "=",
            "t5",
            ".",
            "prof_num"
        ],
        "question": "What are the first names of all history professors who do not teach?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "history",
            "professors",
            "who",
            "do",
            "not",
            "teach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_lname ,  T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T2.dept_code  =  T3.dept_code WHERE T3.dept_name  =  'History'",
        "query_toks": [
            "SELECT",
            "T1.emp_lname",
            ",",
            "T2.prof_office",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_lname",
            ",",
            "t2",
            ".",
            "prof_office",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What is the last name and office of the professor from the history department?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "and",
            "office",
            "of",
            "the",
            "professor",
            "from",
            "the",
            "history",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_lname ,  T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T2.dept_code  =  T3.dept_code WHERE T3.dept_name  =  'History'",
        "query_toks": [
            "SELECT",
            "T1.emp_lname",
            ",",
            "T2.prof_office",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_lname",
            ",",
            "t2",
            ".",
            "prof_office",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the last name and office of all history professors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "name",
            "and",
            "office",
            "of",
            "all",
            "history",
            "professors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.dept_name  ,  T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T2.dept_code  =  T3.dept_code WHERE T1.emp_lname  =  'Heffington'",
        "query_toks": [
            "SELECT",
            "T3.dept_name",
            ",",
            "T2.prof_office",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T1.emp_lname",
            "=",
            "'Heffington",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "dept_name",
            ",",
            "t2",
            ".",
            "prof_office",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t1",
            ".",
            "emp_lname",
            "=",
            "value"
        ],
        "question": "What is department name and office for the professor whose last name is Heffington?",
        "question_toks": [
            "What",
            "is",
            "department",
            "name",
            "and",
            "office",
            "for",
            "the",
            "professor",
            "whose",
            "last",
            "name",
            "is",
            "Heffington",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Heffington\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T3.dept_name  ,  T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T2.dept_code  =  T3.dept_code WHERE T1.emp_lname  =  'Heffington'",
        "query_toks": [
            "SELECT",
            "T3.dept_name",
            ",",
            "T2.prof_office",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T1.emp_lname",
            "=",
            "'Heffington",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "dept_name",
            ",",
            "t2",
            ".",
            "prof_office",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t1",
            ".",
            "emp_lname",
            "=",
            "value"
        ],
        "question": "What is the name of the department and office location for the professor with the last name of Heffington?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "and",
            "office",
            "location",
            "for",
            "the",
            "professor",
            "with",
            "the",
            "last",
            "name",
            "of",
            "Heffington",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Heffington\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_lname ,  T1.emp_hiredate FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num WHERE T2.prof_office  =  'DRE 102'",
        "query_toks": [
            "SELECT",
            "T1.emp_lname",
            ",",
            "T1.emp_hiredate",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "WHERE",
            "T2.prof_office",
            "=",
            "'DRE",
            "102",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_lname",
            ",",
            "t1",
            ".",
            "emp_hiredate",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "where",
            "t2",
            ".",
            "prof_office",
            "=",
            "value"
        ],
        "question": "Find the last name and hire date of the professor who is in office DRE 102.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "and",
            "hire",
            "date",
            "of",
            "the",
            "professor",
            "who",
            "is",
            "in",
            "office",
            "DRE",
            "102",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"DRE 102\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_lname ,  T1.emp_hiredate FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num WHERE T2.prof_office  =  'DRE 102'",
        "query_toks": [
            "SELECT",
            "T1.emp_lname",
            ",",
            "T1.emp_hiredate",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "WHERE",
            "T2.prof_office",
            "=",
            "'DRE",
            "102",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_lname",
            ",",
            "t1",
            ".",
            "emp_hiredate",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "where",
            "t2",
            ".",
            "prof_office",
            "=",
            "value"
        ],
        "question": "What is the last name of the professor whose office is located in DRE 102, and when were they hired?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "professor",
            "whose",
            "office",
            "is",
            "located",
            "in",
            "DRE",
            "102",
            ",",
            "and",
            "when",
            "were",
            "they",
            "hired",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"DRE 102\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.crs_code FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN student AS T3 ON T3.stu_num  =  T2.stu_num WHERE T3.stu_lname  =  'Smithson'",
        "query_toks": [
            "SELECT",
            "T1.crs_code",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T3.stu_num",
            "=",
            "T2.stu_num",
            "WHERE",
            "T3.stu_lname",
            "=",
            "'Smithson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "crs_code",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "where",
            "t3",
            ".",
            "stu_lname",
            "=",
            "value"
        ],
        "question": "What is the code of the course which the student whose last name is Smithson took?",
        "question_toks": [
            "What",
            "is",
            "the",
            "code",
            "of",
            "the",
            "course",
            "which",
            "the",
            "student",
            "whose",
            "last",
            "name",
            "is",
            "Smithson",
            "took",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"Smithson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.crs_code FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN student AS T3 ON T3.stu_num  =  T2.stu_num WHERE T3.stu_lname  =  'Smithson'",
        "query_toks": [
            "SELECT",
            "T1.crs_code",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T3.stu_num",
            "=",
            "T2.stu_num",
            "WHERE",
            "T3.stu_lname",
            "=",
            "'Smithson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "crs_code",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "where",
            "t3",
            ".",
            "stu_lname",
            "=",
            "value"
        ],
        "question": "What are the course codes for every class that the student with the last name Smithson took?",
        "question_toks": [
            "What",
            "are",
            "the",
            "course",
            "codes",
            "for",
            "every",
            "class",
            "that",
            "the",
            "student",
            "with",
            "the",
            "last",
            "name",
            "Smithson",
            "took",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"Smithson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T4.crs_description ,  T4.crs_credit FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN student AS T3 ON T3.stu_num  =  T2.stu_num JOIN course AS T4 ON T4.crs_code  =  T1.crs_code WHERE T3.stu_lname  =  'Smithson'",
        "query_toks": [
            "SELECT",
            "T4.crs_description",
            ",",
            "T4.crs_credit",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T3.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "course",
            "AS",
            "T4",
            "ON",
            "T4.crs_code",
            "=",
            "T1.crs_code",
            "WHERE",
            "T3.stu_lname",
            "=",
            "'Smithson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "crs_description",
            ",",
            "t4",
            ".",
            "crs_credit",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "course",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "crs_code",
            "=",
            "t1",
            ".",
            "crs_code",
            "where",
            "t3",
            ".",
            "stu_lname",
            "=",
            "value"
        ],
        "question": "What are the description and credit of the course which the student whose last name is Smithson took?",
        "question_toks": [
            "What",
            "are",
            "the",
            "description",
            "and",
            "credit",
            "of",
            "the",
            "course",
            "which",
            "the",
            "student",
            "whose",
            "last",
            "name",
            "is",
            "Smithson",
            "took",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"Smithson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T4.crs_description ,  T4.crs_credit FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code  =  T2.class_code JOIN student AS T3 ON T3.stu_num  =  T2.stu_num JOIN course AS T4 ON T4.crs_code  =  T1.crs_code WHERE T3.stu_lname  =  'Smithson'",
        "query_toks": [
            "SELECT",
            "T4.crs_description",
            ",",
            "T4.crs_credit",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.class_code",
            "=",
            "T2.class_code",
            "JOIN",
            "student",
            "AS",
            "T3",
            "ON",
            "T3.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "course",
            "AS",
            "T4",
            "ON",
            "T4.crs_code",
            "=",
            "T1.crs_code",
            "WHERE",
            "T3.stu_lname",
            "=",
            "'Smithson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "crs_description",
            ",",
            "t4",
            ".",
            "crs_credit",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t2",
            ".",
            "class_code",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "course",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "crs_code",
            "=",
            "t1",
            ".",
            "crs_code",
            "where",
            "t3",
            ".",
            "stu_lname",
            "=",
            "value"
        ],
        "question": "How many credits is the course that the student with the last name Smithson took, and what is its description?",
        "question_toks": [
            "How",
            "many",
            "credits",
            "is",
            "the",
            "course",
            "that",
            "the",
            "student",
            "with",
            "the",
            "last",
            "name",
            "Smithson",
            "took",
            ",",
            "and",
            "what",
            "is",
            "its",
            "description",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"Smithson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM professor WHERE prof_high_degree  =  'Ph.D.' OR prof_high_degree  =  'MA'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "professor",
            "WHERE",
            "prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'",
            "OR",
            "prof_high_degree",
            "=",
            "'MA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "professor",
            "where",
            "prof_high_degree",
            "=",
            "value",
            "or",
            "prof_high_degree",
            "=",
            "value"
        ],
        "question": "How many professors who has a either Ph.D. or MA degree?",
        "question_toks": [
            "How",
            "many",
            "professors",
            "who",
            "has",
            "a",
            "either",
            "Ph.D.",
            "or",
            "MA",
            "degree",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"MA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM professor WHERE prof_high_degree  =  'Ph.D.' OR prof_high_degree  =  'MA'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "professor",
            "WHERE",
            "prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'",
            "OR",
            "prof_high_degree",
            "=",
            "'MA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "professor",
            "where",
            "prof_high_degree",
            "=",
            "value",
            "or",
            "prof_high_degree",
            "=",
            "value"
        ],
        "question": "How many professors attained either Ph.D. or Masters degrees?",
        "question_toks": [
            "How",
            "many",
            "professors",
            "attained",
            "either",
            "Ph.D.",
            "or",
            "Masters",
            "degrees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"MA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code WHERE T2.dept_name  =  'Accounting' OR T2.dept_name  =  'Biology'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "T2.dept_name",
            "=",
            "'Accounting",
            "'",
            "OR",
            "T2.dept_name",
            "=",
            "'Biology",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "t2",
            ".",
            "dept_name",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "How many professors who are from either Accounting or Biology department?",
        "question_toks": [
            "How",
            "many",
            "professors",
            "who",
            "are",
            "from",
            "either",
            "Accounting",
            "or",
            "Biology",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Biology\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT count(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code WHERE T2.dept_name  =  'Accounting' OR T2.dept_name  =  'Biology'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "T2.dept_name",
            "=",
            "'Accounting",
            "'",
            "OR",
            "T2.dept_name",
            "=",
            "'Biology",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "t2",
            ".",
            "dept_name",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What is the number of professors who are in the Accounting or Biology departments?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "professors",
            "who",
            "are",
            "in",
            "the",
            "Accounting",
            "or",
            "Biology",
            "departments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Biology\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num  =  T2.prof_num WHERE crs_code  =  'CIS-220' INTERSECT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num  =  T2.prof_num WHERE crs_code  =  'QM-261'",
        "query_toks": [
            "SELECT",
            "T1.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.prof_num",
            "WHERE",
            "crs_code",
            "=",
            "'CIS-220",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.prof_num",
            "WHERE",
            "crs_code",
            "=",
            "'QM-261",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num",
            "where",
            "crs_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "Find the first name of the professor who is teaching two courses with code CIS-220 and QM-261.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "the",
            "professor",
            "who",
            "is",
            "teaching",
            "two",
            "courses",
            "with",
            "code",
            "CIS-220",
            "and",
            "QM-261",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CIS-220\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"QM-261\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num  =  T2.prof_num WHERE crs_code  =  'CIS-220' INTERSECT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num  =  T2.prof_num WHERE crs_code  =  'QM-261'",
        "query_toks": [
            "SELECT",
            "T1.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.prof_num",
            "WHERE",
            "crs_code",
            "=",
            "'CIS-220",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.emp_fname",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "CLASS",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.prof_num",
            "WHERE",
            "crs_code",
            "=",
            "'QM-261",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num",
            "where",
            "crs_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "emp_fname",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "class",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "prof_num",
            "where",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What is the first name of the professor who is teaching CIS-220 and QM-261?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "the",
            "professor",
            "who",
            "is",
            "teaching",
            "CIS-220",
            "and",
            "QM-261",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CIS-220\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"QM-261\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T2.class_code  =  T3.class_code JOIN course AS T4 ON T3.crs_code  =  T4.crs_code JOIN department AS T5 ON T5.dept_code  =  T4.dept_code WHERE T5.dept_name  =  'Accounting' INTERSECT SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T2.class_code  =  T3.class_code JOIN course AS T4 ON T3.crs_code  =  T4.crs_code JOIN department AS T5 ON T5.dept_code  =  T4.dept_code WHERE T5.dept_name  =  'Computer Info. Systems'",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T2.class_code",
            "=",
            "T3.class_code",
            "JOIN",
            "course",
            "AS",
            "T4",
            "ON",
            "T3.crs_code",
            "=",
            "T4.crs_code",
            "JOIN",
            "department",
            "AS",
            "T5",
            "ON",
            "T5.dept_code",
            "=",
            "T4.dept_code",
            "WHERE",
            "T5.dept_name",
            "=",
            "'Accounting",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T2.class_code",
            "=",
            "T3.class_code",
            "JOIN",
            "course",
            "AS",
            "T4",
            "ON",
            "T3.crs_code",
            "=",
            "T4.crs_code",
            "JOIN",
            "department",
            "AS",
            "T5",
            "ON",
            "T5.dept_code",
            "=",
            "T4.dept_code",
            "WHERE",
            "T5.dept_name",
            "=",
            "'Computer",
            "Info",
            ".",
            "Systems",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "crs_code",
            "=",
            "t4",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "dept_code",
            "=",
            "t4",
            ".",
            "dept_code",
            "where",
            "t5",
            ".",
            "dept_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "crs_code",
            "=",
            "t4",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "dept_code",
            "=",
            "t4",
            ".",
            "dept_code",
            "where",
            "t5",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the first name of student who is taking classes from accounting and Computer Info. Systems departments",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "student",
            "who",
            "is",
            "taking",
            "classes",
            "from",
            "accounting",
            "and",
            "Computer",
            "Info",
            ".",
            "Systems",
            "departments"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    34,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"Computer Info. Systems\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T2.class_code  =  T3.class_code JOIN course AS T4 ON T3.crs_code  =  T4.crs_code JOIN department AS T5 ON T5.dept_code  =  T4.dept_code WHERE T5.dept_name  =  'Accounting' INTERSECT SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T2.class_code  =  T3.class_code JOIN course AS T4 ON T3.crs_code  =  T4.crs_code JOIN department AS T5 ON T5.dept_code  =  T4.dept_code WHERE T5.dept_name  =  'Computer Info. Systems'",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T2.class_code",
            "=",
            "T3.class_code",
            "JOIN",
            "course",
            "AS",
            "T4",
            "ON",
            "T3.crs_code",
            "=",
            "T4.crs_code",
            "JOIN",
            "department",
            "AS",
            "T5",
            "ON",
            "T5.dept_code",
            "=",
            "T4.dept_code",
            "WHERE",
            "T5.dept_name",
            "=",
            "'Accounting",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T2.class_code",
            "=",
            "T3.class_code",
            "JOIN",
            "course",
            "AS",
            "T4",
            "ON",
            "T3.crs_code",
            "=",
            "T4.crs_code",
            "JOIN",
            "department",
            "AS",
            "T5",
            "ON",
            "T5.dept_code",
            "=",
            "T4.dept_code",
            "WHERE",
            "T5.dept_name",
            "=",
            "'Computer",
            "Info",
            ".",
            "Systems",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "crs_code",
            "=",
            "t4",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "dept_code",
            "=",
            "t4",
            ".",
            "dept_code",
            "where",
            "t5",
            ".",
            "dept_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "crs_code",
            "=",
            "t4",
            ".",
            "crs_code",
            "join",
            "department",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "dept_code",
            "=",
            "t4",
            ".",
            "dept_code",
            "where",
            "t5",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the first names of all students taking accoutning and Computer Information Systems classes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "students",
            "taking",
            "accoutning",
            "and",
            "Computer",
            "Information",
            "Systems",
            "classes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    34,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"Computer Info. Systems\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT avg(T2.stu_gpa) FROM enroll AS T1 JOIN student AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T1.class_code  =  T3.class_code WHERE T3.crs_code  =  'ACCT-211'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.stu_gpa",
            ")",
            "FROM",
            "enroll",
            "AS",
            "T1",
            "JOIN",
            "student",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T1.class_code",
            "=",
            "T3.class_code",
            "WHERE",
            "T3.crs_code",
            "=",
            "'ACCT-211",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "stu_gpa",
            ")",
            "from",
            "enroll",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "where",
            "t3",
            ".",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What is the average gpa of the students enrolled in the course with code ACCT-211?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "gpa",
            "of",
            "the",
            "students",
            "enrolled",
            "in",
            "the",
            "course",
            "with",
            "code",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT avg(T2.stu_gpa) FROM enroll AS T1 JOIN student AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T1.class_code  =  T3.class_code WHERE T3.crs_code  =  'ACCT-211'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.stu_gpa",
            ")",
            "FROM",
            "enroll",
            "AS",
            "T1",
            "JOIN",
            "student",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T1.class_code",
            "=",
            "T3.class_code",
            "WHERE",
            "T3.crs_code",
            "=",
            "'ACCT-211",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "stu_gpa",
            ")",
            "from",
            "enroll",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "where",
            "t3",
            ".",
            "crs_code",
            "=",
            "value"
        ],
        "question": "What is the average GPA of students taking ACCT-211?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "GPA",
            "of",
            "students",
            "taking",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT stu_gpa ,  stu_phone ,  stu_fname FROM student ORDER BY stu_gpa DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "stu_gpa",
            ",",
            "stu_phone",
            ",",
            "stu_fname",
            "FROM",
            "student",
            "ORDER",
            "BY",
            "stu_gpa",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "stu_gpa",
            ",",
            "stu_phone",
            ",",
            "stu_fname",
            "from",
            "student",
            "order",
            "by",
            "stu_gpa",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first name, gpa and phone number of the top 5 students with highest gpa?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            ",",
            "gpa",
            "and",
            "phone",
            "number",
            "of",
            "the",
            "top",
            "5",
            "students",
            "with",
            "highest",
            "gpa",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT stu_gpa ,  stu_phone ,  stu_fname FROM student ORDER BY stu_gpa DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "stu_gpa",
            ",",
            "stu_phone",
            ",",
            "stu_fname",
            "FROM",
            "student",
            "ORDER",
            "BY",
            "stu_gpa",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "stu_gpa",
            ",",
            "stu_phone",
            ",",
            "stu_fname",
            "from",
            "student",
            "order",
            "by",
            "stu_gpa",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first name, GPA, and phone number of the students with the top 5 GPAs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            ",",
            "GPA",
            ",",
            "and",
            "phone",
            "number",
            "of",
            "the",
            "students",
            "with",
            "the",
            "top",
            "5",
            "GPAs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name FROM student AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code ORDER BY stu_gpa LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "ORDER",
            "BY",
            "stu_gpa",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "order",
            "by",
            "stu_gpa",
            "limit",
            "value"
        ],
        "question": "What is the department name of the students with lowest gpa belongs to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "department",
            "name",
            "of",
            "the",
            "students",
            "with",
            "lowest",
            "gpa",
            "belongs",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name FROM student AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code ORDER BY stu_gpa LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "ORDER",
            "BY",
            "stu_gpa",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "order",
            "by",
            "stu_gpa",
            "limit",
            "value"
        ],
        "question": "What is the name of the department with the student that has the lowest GPA?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "with",
            "the",
            "student",
            "that",
            "has",
            "the",
            "lowest",
            "GPA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT stu_fname ,  stu_gpa FROM student WHERE stu_gpa  <  (SELECT avg(stu_gpa) FROM student)",
        "query_toks": [
            "SELECT",
            "stu_fname",
            ",",
            "stu_gpa",
            "FROM",
            "student",
            "WHERE",
            "stu_gpa",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "stu_gpa",
            ")",
            "FROM",
            "student",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "stu_fname",
            ",",
            "stu_gpa",
            "from",
            "student",
            "where",
            "stu_gpa",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "stu_gpa",
            ")",
            "from",
            "student",
            ")"
        ],
        "question": "Find the first name and gpa of the students whose gpa is lower than the average gpa of all students.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "gpa",
            "of",
            "the",
            "students",
            "whose",
            "gpa",
            "is",
            "lower",
            "than",
            "the",
            "average",
            "gpa",
            "of",
            "all",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            39,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT stu_fname ,  stu_gpa FROM student WHERE stu_gpa  <  (SELECT avg(stu_gpa) FROM student)",
        "query_toks": [
            "SELECT",
            "stu_fname",
            ",",
            "stu_gpa",
            "FROM",
            "student",
            "WHERE",
            "stu_gpa",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "stu_gpa",
            ")",
            "FROM",
            "student",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "stu_fname",
            ",",
            "stu_gpa",
            "from",
            "student",
            "where",
            "stu_gpa",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "stu_gpa",
            ")",
            "from",
            "student",
            ")"
        ],
        "question": "What is the first name and GPA of every student that has a GPA lower than average?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "and",
            "GPA",
            "of",
            "every",
            "student",
            "that",
            "has",
            "a",
            "GPA",
            "lower",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            39,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name ,  T2.dept_address FROM student AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.dept_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            ",",
            "T2.dept_address",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            ",",
            "t2",
            ".",
            "dept_address",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and address of the department that has the highest number of students.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "address",
            "of",
            "the",
            "department",
            "that",
            "has",
            "the",
            "highest",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name ,  T2.dept_address FROM student AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.dept_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            ",",
            "T2.dept_address",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            ",",
            "t2",
            ".",
            "dept_address",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and address of the department with the most students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "address",
            "of",
            "the",
            "department",
            "with",
            "the",
            "most",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name ,  T2.dept_address ,  count(*) FROM student AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.dept_code ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            ",",
            "T2.dept_address",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            ",",
            "t2",
            ".",
            "dept_address",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name, address, number of students in the departments that have the top 3 highest number of students.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "address",
            ",",
            "number",
            "of",
            "students",
            "in",
            "the",
            "departments",
            "that",
            "have",
            "the",
            "top",
            "3",
            "highest",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name ,  T2.dept_address ,  count(*) FROM student AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code GROUP BY T1.dept_code ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            ",",
            "T2.dept_address",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "GROUP",
            "BY",
            "T1.dept_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            ",",
            "t2",
            ".",
            "dept_address",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "group",
            "by",
            "t1",
            ".",
            "dept_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name, address, and number of students in the departments that have the 3 most students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            ",",
            "address",
            ",",
            "and",
            "number",
            "of",
            "students",
            "in",
            "the",
            "departments",
            "that",
            "have",
            "the",
            "3",
            "most",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    41,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_fname ,  T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T3.dept_code  =  T2.dept_code WHERE T3.dept_name  =  'History' AND T2.prof_high_degree  =  'Ph.D.'",
        "query_toks": [
            "SELECT",
            "T1.emp_fname",
            ",",
            "T2.prof_office",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T3.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'",
            "AND",
            "T2.prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_fname",
            ",",
            "t2",
            ".",
            "prof_office",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "prof_high_degree",
            "=",
            "value"
        ],
        "question": "Find the first name and office of the professor who is in the history department and has a Ph.D. degree.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "office",
            "of",
            "the",
            "professor",
            "who",
            "is",
            "in",
            "the",
            "history",
            "department",
            "and",
            "has",
            "a",
            "Ph.D.",
            "degree",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.emp_fname ,  T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T3.dept_code  =  T2.dept_code WHERE T3.dept_name  =  'History' AND T2.prof_high_degree  =  'Ph.D.'",
        "query_toks": [
            "SELECT",
            "T1.emp_fname",
            ",",
            "T2.prof_office",
            "FROM",
            "employee",
            "AS",
            "T1",
            "JOIN",
            "professor",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T3.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'",
            "AND",
            "T2.prof_high_degree",
            "=",
            "'Ph.D",
            ".",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "emp_fname",
            ",",
            "t2",
            ".",
            "prof_office",
            "from",
            "employee",
            "as",
            "t1",
            "join",
            "professor",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "prof_high_degree",
            "=",
            "value"
        ],
        "question": "What are the first names and office of the professors who are in the history department and have a Ph.D?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "office",
            "of",
            "the",
            "professors",
            "who",
            "are",
            "in",
            "the",
            "history",
            "department",
            "and",
            "have",
            "a",
            "Ph.D",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T1.crs_code FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T1.crs_code",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "crs_code",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num"
        ],
        "question": "Find the first names of all instructors who have taught some course and the course code.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "all",
            "instructors",
            "who",
            "have",
            "taught",
            "some",
            "course",
            "and",
            "the",
            "course",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T1.crs_code FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T1.crs_code",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "crs_code",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num"
        ],
        "question": "What are the first names of all teachers who have taught a course and the corresponding course codes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "teachers",
            "who",
            "have",
            "taught",
            "a",
            "course",
            "and",
            "the",
            "corresponding",
            "course",
            "codes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN course AS T3 ON T1.crs_code  =  T3.crs_code",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T3.crs_description",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t3",
            ".",
            "crs_description",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code"
        ],
        "question": "Find the first names of all instructors who have taught some course and the course description.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "all",
            "instructors",
            "who",
            "have",
            "taught",
            "some",
            "course",
            "and",
            "the",
            "course",
            "description",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN course AS T3 ON T1.crs_code  =  T3.crs_code",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T3.crs_description",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t3",
            ".",
            "crs_description",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code"
        ],
        "question": "What are the first names of all teachers who have taught a course and the corresponding descriptions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "teachers",
            "who",
            "have",
            "taught",
            "a",
            "course",
            "and",
            "the",
            "corresponding",
            "descriptions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T4.prof_office ,  T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN course AS T3 ON T1.crs_code  =  T3.crs_code JOIN professor AS T4 ON T2.emp_num  =  T4.emp_num",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T4.prof_office",
            ",",
            "T3.crs_description",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code",
            "JOIN",
            "professor",
            "AS",
            "T4",
            "ON",
            "T2.emp_num",
            "=",
            "T4.emp_num"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t4",
            ".",
            "prof_office",
            ",",
            "t3",
            ".",
            "crs_description",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code",
            "join",
            "professor",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "emp_num",
            "=",
            "t4",
            ".",
            "emp_num"
        ],
        "question": "Find the first names and offices of all instructors who have taught some course and also find the course description.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "and",
            "offices",
            "of",
            "all",
            "instructors",
            "who",
            "have",
            "taught",
            "some",
            "course",
            "and",
            "also",
            "find",
            "the",
            "course",
            "description",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T4.prof_office ,  T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN course AS T3 ON T1.crs_code  =  T3.crs_code JOIN professor AS T4 ON T2.emp_num  =  T4.emp_num",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T4.prof_office",
            ",",
            "T3.crs_description",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code",
            "JOIN",
            "professor",
            "AS",
            "T4",
            "ON",
            "T2.emp_num",
            "=",
            "T4.emp_num"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t4",
            ".",
            "prof_office",
            ",",
            "t3",
            ".",
            "crs_description",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code",
            "join",
            "professor",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "emp_num",
            "=",
            "t4",
            ".",
            "emp_num"
        ],
        "question": "What are the first names, office locations of all lecturers who have taught some course?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            ",",
            "office",
            "locations",
            "of",
            "all",
            "lecturers",
            "who",
            "have",
            "taught",
            "some",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T4.prof_office ,  T3.crs_description ,  T5.dept_name FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN course AS T3 ON T1.crs_code  =  T3.crs_code JOIN professor AS T4 ON T2.emp_num  =  T4.emp_num JOIN department AS T5 ON T4.dept_code  =  T5.dept_code",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T4.prof_office",
            ",",
            "T3.crs_description",
            ",",
            "T5.dept_name",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code",
            "JOIN",
            "professor",
            "AS",
            "T4",
            "ON",
            "T2.emp_num",
            "=",
            "T4.emp_num",
            "JOIN",
            "department",
            "AS",
            "T5",
            "ON",
            "T4.dept_code",
            "=",
            "T5.dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t4",
            ".",
            "prof_office",
            ",",
            "t3",
            ".",
            "crs_description",
            ",",
            "t5",
            ".",
            "dept_name",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code",
            "join",
            "professor",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "emp_num",
            "=",
            "t4",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "dept_code",
            "=",
            "t5",
            ".",
            "dept_code"
        ],
        "question": "Find the first names and offices of all instructors who have taught some course and the course description and the department name.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "and",
            "offices",
            "of",
            "all",
            "instructors",
            "who",
            "have",
            "taught",
            "some",
            "course",
            "and",
            "the",
            "course",
            "description",
            "and",
            "the",
            "department",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T4.prof_office ,  T3.crs_description ,  T5.dept_name FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN course AS T3 ON T1.crs_code  =  T3.crs_code JOIN professor AS T4 ON T2.emp_num  =  T4.emp_num JOIN department AS T5 ON T4.dept_code  =  T5.dept_code",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T4.prof_office",
            ",",
            "T3.crs_description",
            ",",
            "T5.dept_name",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "course",
            "AS",
            "T3",
            "ON",
            "T1.crs_code",
            "=",
            "T3.crs_code",
            "JOIN",
            "professor",
            "AS",
            "T4",
            "ON",
            "T2.emp_num",
            "=",
            "T4.emp_num",
            "JOIN",
            "department",
            "AS",
            "T5",
            "ON",
            "T4.dept_code",
            "=",
            "T5.dept_code"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t4",
            ".",
            "prof_office",
            ",",
            "t3",
            ".",
            "crs_description",
            ",",
            "t5",
            ".",
            "dept_name",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "course",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "crs_code",
            "=",
            "t3",
            ".",
            "crs_code",
            "join",
            "professor",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "emp_num",
            "=",
            "t4",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "dept_code",
            "=",
            "t5",
            ".",
            "dept_code"
        ],
        "question": "What are the first names, office locations, and departments of all instructors, and also what are the descriptions of the courses they teach?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            ",",
            "office",
            "locations",
            ",",
            "and",
            "departments",
            "of",
            "all",
            "instructors",
            ",",
            "and",
            "also",
            "what",
            "are",
            "the",
            "descriptions",
            "of",
            "the",
            "courses",
            "they",
            "teach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname ,  T1.stu_lname ,  T4.crs_description FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T2.class_code  =  T3.class_code JOIN course AS T4 ON T3.crs_code  =  T4.crs_code",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            ",",
            "T1.stu_lname",
            ",",
            "T4.crs_description",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T2.class_code",
            "=",
            "T3.class_code",
            "JOIN",
            "course",
            "AS",
            "T4",
            "ON",
            "T3.crs_code",
            "=",
            "T4.crs_code"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            ",",
            "t1",
            ".",
            "stu_lname",
            ",",
            "t4",
            ".",
            "crs_description",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "crs_code",
            "=",
            "t4",
            ".",
            "crs_code"
        ],
        "question": "Find names of all students who took some course and the course description.",
        "question_toks": [
            "Find",
            "names",
            "of",
            "all",
            "students",
            "who",
            "took",
            "some",
            "course",
            "and",
            "the",
            "course",
            "description",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname ,  T1.stu_lname ,  T4.crs_description FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T2.class_code  =  T3.class_code JOIN course AS T4 ON T3.crs_code  =  T4.crs_code",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            ",",
            "T1.stu_lname",
            ",",
            "T4.crs_description",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T2.class_code",
            "=",
            "T3.class_code",
            "JOIN",
            "course",
            "AS",
            "T4",
            "ON",
            "T3.crs_code",
            "=",
            "T4.crs_code"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            ",",
            "t1",
            ".",
            "stu_lname",
            ",",
            "t4",
            ".",
            "crs_description",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "join",
            "course",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "crs_code",
            "=",
            "t4",
            ".",
            "crs_code"
        ],
        "question": "What are the names of all students who took a class and the corresponding course descriptions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "students",
            "who",
            "took",
            "a",
            "class",
            "and",
            "the",
            "corresponding",
            "course",
            "descriptions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname ,  T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num WHERE T2.enroll_grade  =  'C' OR T2.enroll_grade  =  'A'",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            ",",
            "T1.stu_lname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "WHERE",
            "T2.enroll_grade",
            "=",
            "'C",
            "'",
            "OR",
            "T2.enroll_grade",
            "=",
            "'A",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            ",",
            "t1",
            ".",
            "stu_lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "where",
            "t2",
            ".",
            "enroll_grade",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "enroll_grade",
            "=",
            "value"
        ],
        "question": "Find names of all students who took some course and got A or C.",
        "question_toks": [
            "Find",
            "names",
            "of",
            "all",
            "students",
            "who",
            "took",
            "some",
            "course",
            "and",
            "got",
            "A",
            "or",
            "C",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"C\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"A\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname ,  T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num WHERE T2.enroll_grade  =  'C' OR T2.enroll_grade  =  'A'",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            ",",
            "T1.stu_lname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "WHERE",
            "T2.enroll_grade",
            "=",
            "'C",
            "'",
            "OR",
            "T2.enroll_grade",
            "=",
            "'A",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            ",",
            "t1",
            ".",
            "stu_lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "where",
            "t2",
            ".",
            "enroll_grade",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "enroll_grade",
            "=",
            "value"
        ],
        "question": "What are the names of all students taking a course who received an A or C?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "students",
            "taking",
            "a",
            "course",
            "who",
            "received",
            "an",
            "A",
            "or",
            "C",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"C\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"A\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T1.class_room FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN professor AS T3 ON T2.emp_num  =  T3.emp_num JOIN department AS T4 ON T4.dept_code  =  T3.dept_code WHERE T4.dept_name  =  'Accounting'",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T1.class_room",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "professor",
            "AS",
            "T3",
            "ON",
            "T2.emp_num",
            "=",
            "T3.emp_num",
            "JOIN",
            "department",
            "AS",
            "T4",
            "ON",
            "T4.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T4.dept_name",
            "=",
            "'Accounting",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "class_room",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "professor",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "emp_num",
            "=",
            "t3",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t4",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the first names of all professors in the Accounting department who is teaching some course and the class room.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "all",
            "professors",
            "in",
            "the",
            "Accounting",
            "department",
            "who",
            "is",
            "teaching",
            "some",
            "course",
            "and",
            "the",
            "class",
            "room",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T1.class_room FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN professor AS T3 ON T2.emp_num  =  T3.emp_num JOIN department AS T4 ON T4.dept_code  =  T3.dept_code WHERE T4.dept_name  =  'Accounting'",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T1.class_room",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "professor",
            "AS",
            "T3",
            "ON",
            "T2.emp_num",
            "=",
            "T3.emp_num",
            "JOIN",
            "department",
            "AS",
            "T4",
            "ON",
            "T4.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T4.dept_name",
            "=",
            "'Accounting",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "class_room",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "professor",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "emp_num",
            "=",
            "t3",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t4",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the first names of all Accounting professors who teach and what are the classrooms of the courses they teach?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "Accounting",
            "professors",
            "who",
            "teach",
            "and",
            "what",
            "are",
            "the",
            "classrooms",
            "of",
            "the",
            "courses",
            "they",
            "teach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Accounting\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT DISTINCT T2.emp_fname ,  T3.prof_high_degree FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN professor AS T3 ON T2.emp_num  =  T3.emp_num JOIN department AS T4 ON T4.dept_code  =  T3.dept_code WHERE T4.dept_name  =  'Computer Info. Systems'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.emp_fname",
            ",",
            "T3.prof_high_degree",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "professor",
            "AS",
            "T3",
            "ON",
            "T2.emp_num",
            "=",
            "T3.emp_num",
            "JOIN",
            "department",
            "AS",
            "T4",
            "ON",
            "T4.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T4.dept_name",
            "=",
            "'Computer",
            "Info",
            ".",
            "Systems",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t3",
            ".",
            "prof_high_degree",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "professor",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "emp_num",
            "=",
            "t3",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t4",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "Find the first names and degree of all professors who are teaching some class in Computer Info. Systems department.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "and",
            "degree",
            "of",
            "all",
            "professors",
            "who",
            "are",
            "teaching",
            "some",
            "class",
            "in",
            "Computer",
            "Info",
            ".",
            "Systems",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Computer Info. Systems\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT DISTINCT T2.emp_fname ,  T3.prof_high_degree FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num JOIN professor AS T3 ON T2.emp_num  =  T3.emp_num JOIN department AS T4 ON T4.dept_code  =  T3.dept_code WHERE T4.dept_name  =  'Computer Info. Systems'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.emp_fname",
            ",",
            "T3.prof_high_degree",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "professor",
            "AS",
            "T3",
            "ON",
            "T2.emp_num",
            "=",
            "T3.emp_num",
            "JOIN",
            "department",
            "AS",
            "T4",
            "ON",
            "T4.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T4.dept_name",
            "=",
            "'Computer",
            "Info",
            ".",
            "Systems",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t3",
            ".",
            "prof_high_degree",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "professor",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "emp_num",
            "=",
            "t3",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t4",
            ".",
            "dept_name",
            "=",
            "value"
        ],
        "question": "What are the different first names and highest degree attained for professors teaching in the Computer Information Systems department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "first",
            "names",
            "and",
            "highest",
            "degree",
            "attained",
            "for",
            "professors",
            "teaching",
            "in",
            "the",
            "Computer",
            "Information",
            "Systems",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Computer Info. Systems\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num WHERE T2.enroll_grade  =  'A' AND T2.class_code  =  10018",
        "query_toks": [
            "SELECT",
            "T1.stu_lname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "WHERE",
            "T2.enroll_grade",
            "=",
            "'A",
            "'",
            "AND",
            "T2.class_code",
            "=",
            "10018"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "where",
            "t2",
            ".",
            "enroll_grade",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "class_code",
            "=",
            "value"
        ],
        "question": "What is the last name of the student who got a grade A in the class with code 10018.",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "student",
            "who",
            "got",
            "a",
            "grade",
            "A",
            "in",
            "the",
            "class",
            "with",
            "code",
            "10018",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"A\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    10018.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num WHERE T2.enroll_grade  =  'A' AND T2.class_code  =  10018",
        "query_toks": [
            "SELECT",
            "T1.stu_lname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "WHERE",
            "T2.enroll_grade",
            "=",
            "'A",
            "'",
            "AND",
            "T2.class_code",
            "=",
            "10018"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "where",
            "t2",
            ".",
            "enroll_grade",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "class_code",
            "=",
            "value"
        ],
        "question": "What is the last name of the student who received an A in the class with the code 10018?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "student",
            "who",
            "received",
            "an",
            "A",
            "in",
            "the",
            "class",
            "with",
            "the",
            "code",
            "10018",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"A\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    10018.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T1.dept_code  =  T3.dept_code WHERE T3.dept_name  =  'History' AND T1.prof_high_degree != 'Ph.D.'",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T1.prof_office",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T1.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'",
            "AND",
            "T1.prof_high_degree",
            "!",
            "=",
            "'Ph.D",
            ".",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "prof_office",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "prof_high_degree",
            "!",
            "=",
            "value"
        ],
        "question": "Find the first name and office of history professor who did not get a Ph.D. degree.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "office",
            "of",
            "history",
            "professor",
            "who",
            "did",
            "not",
            "get",
            "a",
            "Ph.D.",
            "degree",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname ,  T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T1.dept_code  =  T3.dept_code WHERE T3.dept_name  =  'History' AND T1.prof_high_degree != 'Ph.D.'",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            ",",
            "T1.prof_office",
            "FROM",
            "professor",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.emp_num",
            "=",
            "T2.emp_num",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T1.dept_code",
            "=",
            "T3.dept_code",
            "WHERE",
            "T3.dept_name",
            "=",
            "'History",
            "'",
            "AND",
            "T1.prof_high_degree",
            "!",
            "=",
            "'Ph.D",
            ".",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            ",",
            "t1",
            ".",
            "prof_office",
            "from",
            "professor",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "emp_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t3",
            ".",
            "dept_code",
            "where",
            "t3",
            ".",
            "dept_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "prof_high_degree",
            "!",
            "=",
            "value"
        ],
        "question": "What are the first names and offices of history professors who don't have Ph.D.s?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "offices",
            "of",
            "history",
            "professors",
            "who",
            "do",
            "n't",
            "have",
            "Ph.D.s",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"History\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Ph.D.\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num GROUP BY T1.prof_num HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "GROUP",
            "BY",
            "T1.prof_num",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "group",
            "by",
            "t1",
            ".",
            "prof_num",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the first names of professors who are teaching more than one class.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "professors",
            "who",
            "are",
            "teaching",
            "more",
            "than",
            "one",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num  =  T2.emp_num GROUP BY T1.prof_num HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.emp_fname",
            "FROM",
            "CLASS",
            "AS",
            "T1",
            "JOIN",
            "employee",
            "AS",
            "T2",
            "ON",
            "T1.prof_num",
            "=",
            "T2.emp_num",
            "GROUP",
            "BY",
            "T1.prof_num",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "emp_fname",
            "from",
            "class",
            "as",
            "t1",
            "join",
            "employee",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "prof_num",
            "=",
            "t2",
            ".",
            "emp_num",
            "group",
            "by",
            "t1",
            ".",
            "prof_num",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the first names of all professors who teach more than one class?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "professors",
            "who",
            "teach",
            "more",
            "than",
            "one",
            "class",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num GROUP BY T2.stu_num HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "GROUP",
            "BY",
            "T2.stu_num",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "group",
            "by",
            "t2",
            ".",
            "stu_num",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Find the first names of students who took exactly one class.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "students",
            "who",
            "took",
            "exactly",
            "one",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num GROUP BY T2.stu_num HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "GROUP",
            "BY",
            "T2.stu_num",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "group",
            "by",
            "t2",
            ".",
            "stu_num",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the first names of student who only took one course?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "student",
            "who",
            "only",
            "took",
            "one",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name FROM course AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code WHERE T1.crs_description LIKE '%Statistics%'",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "T1.crs_description",
            "LIKE",
            "'",
            "%",
            "Statistics",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "t1",
            ".",
            "crs_description",
            "like",
            "value"
        ],
        "question": "Find the name of department that offers the class whose description has the word \"Statistics\".",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "department",
            "that",
            "offers",
            "the",
            "class",
            "whose",
            "description",
            "has",
            "the",
            "word",
            "``",
            "Statistics",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%Statistics%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T2.dept_name FROM course AS T1 JOIN department AS T2 ON T1.dept_code  =  T2.dept_code WHERE T1.crs_description LIKE '%Statistics%'",
        "query_toks": [
            "SELECT",
            "T2.dept_name",
            "FROM",
            "course",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.dept_code",
            "=",
            "T2.dept_code",
            "WHERE",
            "T1.crs_description",
            "LIKE",
            "'",
            "%",
            "Statistics",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_name",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_code",
            "=",
            "t2",
            ".",
            "dept_code",
            "where",
            "t1",
            ".",
            "crs_description",
            "like",
            "value"
        ],
        "question": "What is the name of the department that offers a course that has a description including the word \"Statistics\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "that",
            "offers",
            "a",
            "course",
            "that",
            "has",
            "a",
            "description",
            "including",
            "the",
            "word",
            "``",
            "Statistics",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%Statistics%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T2.class_code  =  T3.class_code WHERE T3.crs_code  =  'ACCT-211' AND T1.stu_lname LIKE 'S%'",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T2.class_code",
            "=",
            "T3.class_code",
            "WHERE",
            "T3.crs_code",
            "=",
            "'ACCT-211",
            "'",
            "AND",
            "T1.stu_lname",
            "LIKE",
            "'S",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "where",
            "t3",
            ".",
            "crs_code",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "stu_lname",
            "like",
            "value"
        ],
        "question": "What is the first name of the student whose last name starting with the letter S and is taking ACCT-211 class?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "the",
            "student",
            "whose",
            "last",
            "name",
            "starting",
            "with",
            "the",
            "letter",
            "S",
            "and",
            "is",
            "taking",
            "ACCT-211",
            "class",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ],
                "and",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"S%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_1",
        "query": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num  =  T2.stu_num JOIN CLASS AS T3 ON T2.class_code  =  T3.class_code WHERE T3.crs_code  =  'ACCT-211' AND T1.stu_lname LIKE 'S%'",
        "query_toks": [
            "SELECT",
            "T1.stu_fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "enroll",
            "AS",
            "T2",
            "ON",
            "T1.stu_num",
            "=",
            "T2.stu_num",
            "JOIN",
            "CLASS",
            "AS",
            "T3",
            "ON",
            "T2.class_code",
            "=",
            "T3.class_code",
            "WHERE",
            "T3.crs_code",
            "=",
            "'ACCT-211",
            "'",
            "AND",
            "T1.stu_lname",
            "LIKE",
            "'S",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stu_fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "enroll",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stu_num",
            "=",
            "t2",
            ".",
            "stu_num",
            "join",
            "class",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "class_code",
            "=",
            "t3",
            ".",
            "class_code",
            "where",
            "t3",
            ".",
            "crs_code",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "stu_lname",
            "like",
            "value"
        ],
        "question": "What is the first name of the student whose last name starts with the letter S and is taking ACCT-211?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "the",
            "student",
            "whose",
            "last",
            "name",
            "starts",
            "with",
            "the",
            "letter",
            "S",
            "and",
            "is",
            "taking",
            "ACCT-211",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACCT-211\"",
                    null
                ],
                "and",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"S%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT count(*) FROM club",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club"
        ],
        "question": "How many clubs are there?",
        "question_toks": [
            "How",
            "many",
            "clubs",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT count(*) FROM club",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club"
        ],
        "question": "What is the total number of clubs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "clubs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT DISTINCT Region FROM club ORDER BY Region ASC",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Region",
            "FROM",
            "club",
            "ORDER",
            "BY",
            "Region",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "region",
            "from",
            "club",
            "order",
            "by",
            "region",
            "asc"
        ],
        "question": "List the distinct region of clubs in ascending alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "region",
            "of",
            "clubs",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT DISTINCT Region FROM club ORDER BY Region ASC",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Region",
            "FROM",
            "club",
            "ORDER",
            "BY",
            "Region",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "region",
            "from",
            "club",
            "order",
            "by",
            "region",
            "asc"
        ],
        "question": "What are the different regions of clubs in ascending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "regions",
            "of",
            "clubs",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT avg(Gold) FROM club_rank",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Gold",
            ")",
            "FROM",
            "club_rank"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "gold",
            ")",
            "from",
            "club_rank"
        ],
        "question": "What is the average number of gold medals for clubs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "gold",
            "medals",
            "for",
            "clubs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT avg(Gold) FROM club_rank",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Gold",
            ")",
            "FROM",
            "club_rank"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "gold",
            ")",
            "from",
            "club_rank"
        ],
        "question": "What is the average number of gold medals for a club?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "gold",
            "medals",
            "for",
            "a",
            "club",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT Competition_type ,  Country FROM competition",
        "query_toks": [
            "SELECT",
            "Competition_type",
            ",",
            "Country",
            "FROM",
            "competition"
        ],
        "query_toks_no_value": [
            "select",
            "competition_type",
            ",",
            "country",
            "from",
            "competition"
        ],
        "question": "What are the types and countries of competitions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "and",
            "countries",
            "of",
            "competitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT Competition_type ,  Country FROM competition",
        "query_toks": [
            "SELECT",
            "Competition_type",
            ",",
            "Country",
            "FROM",
            "competition"
        ],
        "query_toks_no_value": [
            "select",
            "competition_type",
            ",",
            "country",
            "from",
            "competition"
        ],
        "question": "What are the types of every competition and in which countries are they located?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "every",
            "competition",
            "and",
            "in",
            "which",
            "countries",
            "are",
            "they",
            "located",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT DISTINCT YEAR FROM competition WHERE Competition_type != \"Tournament\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "YEAR",
            "FROM",
            "competition",
            "WHERE",
            "Competition_type",
            "!",
            "=",
            "``",
            "Tournament",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "year",
            "from",
            "competition",
            "where",
            "competition_type",
            "!",
            "=",
            "value"
        ],
        "question": "What are the distinct years in which the competitions type is not \"Tournament\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "years",
            "in",
            "which",
            "the",
            "competitions",
            "type",
            "is",
            "not",
            "``",
            "Tournament",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Tournament\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT DISTINCT YEAR FROM competition WHERE Competition_type != \"Tournament\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "YEAR",
            "FROM",
            "competition",
            "WHERE",
            "Competition_type",
            "!",
            "=",
            "``",
            "Tournament",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "year",
            "from",
            "competition",
            "where",
            "competition_type",
            "!",
            "=",
            "value"
        ],
        "question": "What are the different years for all competitions that are not of type equal to tournament?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "years",
            "for",
            "all",
            "competitions",
            "that",
            "are",
            "not",
            "of",
            "type",
            "equal",
            "to",
            "tournament",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Tournament\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT max(Silver) ,  min(Silver) FROM club_rank",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Silver",
            ")",
            ",",
            "min",
            "(",
            "Silver",
            ")",
            "FROM",
            "club_rank"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "silver",
            ")",
            ",",
            "min",
            "(",
            "silver",
            ")",
            "from",
            "club_rank"
        ],
        "question": "What are the maximum and minimum number of silver medals for clubs.",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "silver",
            "medals",
            "for",
            "clubs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT max(Silver) ,  min(Silver) FROM club_rank",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Silver",
            ")",
            ",",
            "min",
            "(",
            "Silver",
            ")",
            "FROM",
            "club_rank"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "silver",
            ")",
            ",",
            "min",
            "(",
            "silver",
            ")",
            "from",
            "club_rank"
        ],
        "question": "What are the maximum and minimum number of silver medals for all the clubs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "silver",
            "medals",
            "for",
            "all",
            "the",
            "clubs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT count(*) FROM club_rank WHERE Total  <  10",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club_rank",
            "WHERE",
            "Total",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club_rank",
            "where",
            "total",
            "<",
            "value"
        ],
        "question": "How many clubs have total medals less than 10?",
        "question_toks": [
            "How",
            "many",
            "clubs",
            "have",
            "total",
            "medals",
            "less",
            "than",
            "10",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT count(*) FROM club_rank WHERE Total  <  10",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club_rank",
            "WHERE",
            "Total",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club_rank",
            "where",
            "total",
            "<",
            "value"
        ],
        "question": "What is the total number of clubs that have less than 10 medals in total?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "clubs",
            "that",
            "have",
            "less",
            "than",
            "10",
            "medals",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT name FROM club ORDER BY Start_year ASC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "club",
            "ORDER",
            "BY",
            "Start_year",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "club",
            "order",
            "by",
            "start_year",
            "asc"
        ],
        "question": "List all club names in ascending order of start year.",
        "question_toks": [
            "List",
            "all",
            "club",
            "names",
            "in",
            "ascending",
            "order",
            "of",
            "start",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT name FROM club ORDER BY Start_year ASC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "club",
            "ORDER",
            "BY",
            "Start_year",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "club",
            "order",
            "by",
            "start_year",
            "asc"
        ],
        "question": "What are the names of all the clubs starting with the oldest?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "clubs",
            "starting",
            "with",
            "the",
            "oldest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT name FROM club ORDER BY name DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "club",
            "ORDER",
            "BY",
            "name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "club",
            "order",
            "by",
            "name",
            "desc"
        ],
        "question": "List all club names in descending alphabetical order.",
        "question_toks": [
            "List",
            "all",
            "club",
            "names",
            "in",
            "descending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT name FROM club ORDER BY name DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "club",
            "ORDER",
            "BY",
            "name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "club",
            "order",
            "by",
            "name",
            "desc"
        ],
        "question": "What are the names of all the clubs ordered in descending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "clubs",
            "ordered",
            "in",
            "descending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT T1.name ,  T2.Player_id FROM club AS T1 JOIN player AS T2 ON T1.Club_ID  =  T2.Club_ID",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.Player_id",
            "FROM",
            "club",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.Club_ID",
            "=",
            "T2.Club_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "player_id",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "club_id",
            "=",
            "t2",
            ".",
            "club_id"
        ],
        "question": "Please show the names and the players of clubs.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "names",
            "and",
            "the",
            "players",
            "of",
            "clubs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT T1.name ,  T2.Player_id FROM club AS T1 JOIN player AS T2 ON T1.Club_ID  =  T2.Club_ID",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.Player_id",
            "FROM",
            "club",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.Club_ID",
            "=",
            "T2.Club_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "player_id",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "club_id",
            "=",
            "t2",
            ".",
            "club_id"
        ],
        "question": "What are the names and players of all the clubs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "players",
            "of",
            "all",
            "the",
            "clubs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT T1.name FROM club AS T1 JOIN player AS T2 ON T1.Club_ID  =  T2.Club_ID WHERE T2.Position  =  \"Right Wing\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "club",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.Club_ID",
            "=",
            "T2.Club_ID",
            "WHERE",
            "T2.Position",
            "=",
            "``",
            "Right",
            "Wing",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "club_id",
            "=",
            "t2",
            ".",
            "club_id",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "Show the names of clubs that have players with position \"Right Wing\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "clubs",
            "that",
            "have",
            "players",
            "with",
            "position",
            "``",
            "Right",
            "Wing",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Right Wing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT T1.name FROM club AS T1 JOIN player AS T2 ON T1.Club_ID  =  T2.Club_ID WHERE T2.Position  =  \"Right Wing\"",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "club",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.Club_ID",
            "=",
            "T2.Club_ID",
            "WHERE",
            "T2.Position",
            "=",
            "``",
            "Right",
            "Wing",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "club_id",
            "=",
            "t2",
            ".",
            "club_id",
            "where",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "What are the names of the clubs that have players in the position of \"Right Wing\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "clubs",
            "that",
            "have",
            "players",
            "in",
            "the",
            "position",
            "of",
            "``",
            "Right",
            "Wing",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Right Wing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT avg(T2.Points) FROM club AS T1 JOIN player AS T2 ON T1.Club_ID  =  T2.Club_ID WHERE T1.name  =  \"AIB\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Points",
            ")",
            "FROM",
            "club",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.Club_ID",
            "=",
            "T2.Club_ID",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "AIB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "points",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "club_id",
            "=",
            "t2",
            ".",
            "club_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the average points of players from club with name \"AIB\".",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "points",
            "of",
            "players",
            "from",
            "club",
            "with",
            "name",
            "``",
            "AIB",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AIB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT avg(T2.Points) FROM club AS T1 JOIN player AS T2 ON T1.Club_ID  =  T2.Club_ID WHERE T1.name  =  \"AIB\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Points",
            ")",
            "FROM",
            "club",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.Club_ID",
            "=",
            "T2.Club_ID",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "AIB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "points",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "club_id",
            "=",
            "t2",
            ".",
            "club_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the average number of points for players from the \"AIB\" club?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "points",
            "for",
            "players",
            "from",
            "the",
            "``",
            "AIB",
            "''",
            "club",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AIB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT POSITION ,  avg(Points) FROM player GROUP BY POSITION",
        "query_toks": [
            "SELECT",
            "POSITION",
            ",",
            "avg",
            "(",
            "Points",
            ")",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "POSITION"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            ",",
            "avg",
            "(",
            "points",
            ")",
            "from",
            "player",
            "group",
            "by",
            "position"
        ],
        "question": "List the position of players and the average number of points of players of each position.",
        "question_toks": [
            "List",
            "the",
            "position",
            "of",
            "players",
            "and",
            "the",
            "average",
            "number",
            "of",
            "points",
            "of",
            "players",
            "of",
            "each",
            "position",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT POSITION ,  avg(Points) FROM player GROUP BY POSITION",
        "query_toks": [
            "SELECT",
            "POSITION",
            ",",
            "avg",
            "(",
            "Points",
            ")",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "POSITION"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            ",",
            "avg",
            "(",
            "points",
            ")",
            "from",
            "player",
            "group",
            "by",
            "position"
        ],
        "question": "For each position, what is the average number of points for players in that position?",
        "question_toks": [
            "For",
            "each",
            "position",
            ",",
            "what",
            "is",
            "the",
            "average",
            "number",
            "of",
            "points",
            "for",
            "players",
            "in",
            "that",
            "position",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT POSITION FROM player GROUP BY name HAVING avg(Points)  >=  20",
        "query_toks": [
            "SELECT",
            "POSITION",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "name",
            "HAVING",
            "avg",
            "(",
            "Points",
            ")",
            ">",
            "=",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            "from",
            "player",
            "group",
            "by",
            "name",
            "having",
            "avg",
            "(",
            "points",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List the position of players with average number of points scored by players of that position bigger than 20.",
        "question_toks": [
            "List",
            "the",
            "position",
            "of",
            "players",
            "with",
            "average",
            "number",
            "of",
            "points",
            "scored",
            "by",
            "players",
            "of",
            "that",
            "position",
            "bigger",
            "than",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            5,
                            18,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT POSITION FROM player GROUP BY name HAVING avg(Points)  >=  20",
        "query_toks": [
            "SELECT",
            "POSITION",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "name",
            "HAVING",
            "avg",
            "(",
            "Points",
            ")",
            ">",
            "=",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            "from",
            "player",
            "group",
            "by",
            "name",
            "having",
            "avg",
            "(",
            "points",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the positions of players whose average number of points scored by that position is larger than 20?",
        "question_toks": [
            "What",
            "are",
            "the",
            "positions",
            "of",
            "players",
            "whose",
            "average",
            "number",
            "of",
            "points",
            "scored",
            "by",
            "that",
            "position",
            "is",
            "larger",
            "than",
            "20",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            5,
                            18,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT Competition_type ,  COUNT(*) FROM competition GROUP BY Competition_type",
        "query_toks": [
            "SELECT",
            "Competition_type",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "competition",
            "GROUP",
            "BY",
            "Competition_type"
        ],
        "query_toks_no_value": [
            "select",
            "competition_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "competition",
            "group",
            "by",
            "competition_type"
        ],
        "question": "List the types of competition and the number of competitions of each type.",
        "question_toks": [
            "List",
            "the",
            "types",
            "of",
            "competition",
            "and",
            "the",
            "number",
            "of",
            "competitions",
            "of",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT Competition_type ,  COUNT(*) FROM competition GROUP BY Competition_type",
        "query_toks": [
            "SELECT",
            "Competition_type",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "competition",
            "GROUP",
            "BY",
            "Competition_type"
        ],
        "query_toks_no_value": [
            "select",
            "competition_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "competition",
            "group",
            "by",
            "competition_type"
        ],
        "question": "What are the types of competition and number of competitions for that type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "competition",
            "and",
            "number",
            "of",
            "competitions",
            "for",
            "that",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT Competition_type FROM competition GROUP BY Competition_type ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Competition_type",
            "FROM",
            "competition",
            "GROUP",
            "BY",
            "Competition_type",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "competition_type",
            "from",
            "competition",
            "group",
            "by",
            "competition_type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the most common type of competition.",
        "question_toks": [
            "List",
            "the",
            "most",
            "common",
            "type",
            "of",
            "competition",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT Competition_type FROM competition GROUP BY Competition_type ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Competition_type",
            "FROM",
            "competition",
            "GROUP",
            "BY",
            "Competition_type",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "competition_type",
            "from",
            "competition",
            "group",
            "by",
            "competition_type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common competition type?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "competition",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT Competition_type FROM competition GROUP BY Competition_type HAVING COUNT(*)  <=  5",
        "query_toks": [
            "SELECT",
            "Competition_type",
            "FROM",
            "competition",
            "GROUP",
            "BY",
            "Competition_type",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "<",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "competition_type",
            "from",
            "competition",
            "group",
            "by",
            "competition_type",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "List the types of competition that have at most five competitions of that type.",
        "question_toks": [
            "List",
            "the",
            "types",
            "of",
            "competition",
            "that",
            "have",
            "at",
            "most",
            "five",
            "competitions",
            "of",
            "that",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT Competition_type FROM competition GROUP BY Competition_type HAVING COUNT(*)  <=  5",
        "query_toks": [
            "SELECT",
            "Competition_type",
            "FROM",
            "competition",
            "GROUP",
            "BY",
            "Competition_type",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "<",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "competition_type",
            "from",
            "competition",
            "group",
            "by",
            "competition_type",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "What are the types of competition that have most 5 competitions for that type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "competition",
            "that",
            "have",
            "most",
            "5",
            "competitions",
            "for",
            "that",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT name FROM CLub WHERE Club_ID NOT IN (SELECT Club_ID FROM player)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "CLub",
            "WHERE",
            "Club_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Club_ID",
            "FROM",
            "player",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "club",
            "where",
            "club_id",
            "not",
            "in",
            "(",
            "select",
            "club_id",
            "from",
            "player",
            ")"
        ],
        "question": "List the names of clubs that do not have any players.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "clubs",
            "that",
            "do",
            "not",
            "have",
            "any",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT name FROM CLub WHERE Club_ID NOT IN (SELECT Club_ID FROM player)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "CLub",
            "WHERE",
            "Club_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Club_ID",
            "FROM",
            "player",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "club",
            "where",
            "club_id",
            "not",
            "in",
            "(",
            "select",
            "club_id",
            "from",
            "player",
            ")"
        ],
        "question": "What are the names of all clubs that do not have any players?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "clubs",
            "that",
            "do",
            "not",
            "have",
            "any",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT POSITION FROM player WHERE Points  >  20 INTERSECT SELECT POSITION FROM player WHERE Points  <  10",
        "query_toks": [
            "SELECT",
            "POSITION",
            "FROM",
            "player",
            "WHERE",
            "Points",
            ">",
            "20",
            "INTERSECT",
            "SELECT",
            "POSITION",
            "FROM",
            "player",
            "WHERE",
            "Points",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            "from",
            "player",
            "where",
            "points",
            ">",
            "value",
            "intersect",
            "select",
            "position",
            "from",
            "player",
            "where",
            "points",
            "<",
            "value"
        ],
        "question": "What are the positions with both players having more than 20 points and less than 10 points.",
        "question_toks": [
            "What",
            "are",
            "the",
            "positions",
            "with",
            "both",
            "players",
            "having",
            "more",
            "than",
            "20",
            "points",
            "and",
            "less",
            "than",
            "10",
            "points",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        10.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT POSITION FROM player WHERE Points  >  20 INTERSECT SELECT POSITION FROM player WHERE Points  <  10",
        "query_toks": [
            "SELECT",
            "POSITION",
            "FROM",
            "player",
            "WHERE",
            "Points",
            ">",
            "20",
            "INTERSECT",
            "SELECT",
            "POSITION",
            "FROM",
            "player",
            "WHERE",
            "Points",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "position",
            "from",
            "player",
            "where",
            "points",
            ">",
            "value",
            "intersect",
            "select",
            "position",
            "from",
            "player",
            "where",
            "points",
            "<",
            "value"
        ],
        "question": "What are the positions of both players that have more than 20 20 points and less than 10 points?",
        "question_toks": [
            "What",
            "are",
            "the",
            "positions",
            "of",
            "both",
            "players",
            "that",
            "have",
            "more",
            "than",
            "20",
            "20",
            "points",
            "and",
            "less",
            "than",
            "10",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        10.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT sum(Points) FROM player",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Points",
            ")",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "points",
            ")",
            "from",
            "player"
        ],
        "question": "Show total points of all players.",
        "question_toks": [
            "Show",
            "total",
            "points",
            "of",
            "all",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT sum(Points) FROM player",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Points",
            ")",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "points",
            ")",
            "from",
            "player"
        ],
        "question": "What is the total number of points for all players?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "points",
            "for",
            "all",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT count(DISTINCT POSITION) FROM player",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "POSITION",
            ")",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "position",
            ")",
            "from",
            "player"
        ],
        "question": "how many different positions are there?",
        "question_toks": [
            "how",
            "many",
            "different",
            "positions",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT count(DISTINCT POSITION) FROM player",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "POSITION",
            ")",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "position",
            ")",
            "from",
            "player"
        ],
        "question": "How many different position for players are listed?",
        "question_toks": [
            "How",
            "many",
            "different",
            "position",
            "for",
            "players",
            "are",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT name FROM player WHERE points  >  (SELECT avg(points) FROM player)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "player",
            "WHERE",
            "points",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "points",
            ")",
            "FROM",
            "player",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "player",
            "where",
            "points",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "points",
            ")",
            "from",
            "player",
            ")"
        ],
        "question": "what are the name of players who get more than the average points.",
        "question_toks": [
            "what",
            "are",
            "the",
            "name",
            "of",
            "players",
            "who",
            "get",
            "more",
            "than",
            "the",
            "average",
            "points",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT name FROM player WHERE points  >  (SELECT avg(points) FROM player)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "player",
            "WHERE",
            "points",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "points",
            ")",
            "FROM",
            "player",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "player",
            "where",
            "points",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "points",
            ")",
            "from",
            "player",
            ")"
        ],
        "question": "What are the names of all players that got more than the average number of points?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "players",
            "that",
            "got",
            "more",
            "than",
            "the",
            "average",
            "number",
            "of",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT count(*) ,  POSITION FROM player WHERE points  <  30 GROUP BY POSITION",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "POSITION",
            "FROM",
            "player",
            "WHERE",
            "points",
            "<",
            "30",
            "GROUP",
            "BY",
            "POSITION"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "position",
            "from",
            "player",
            "where",
            "points",
            "<",
            "value",
            "group",
            "by",
            "position"
        ],
        "question": "find the number of players whose points are lower than 30 in each position.",
        "question_toks": [
            "find",
            "the",
            "number",
            "of",
            "players",
            "whose",
            "points",
            "are",
            "lower",
            "than",
            "30",
            "in",
            "each",
            "position",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT count(*) ,  POSITION FROM player WHERE points  <  30 GROUP BY POSITION",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "POSITION",
            "FROM",
            "player",
            "WHERE",
            "points",
            "<",
            "30",
            "GROUP",
            "BY",
            "POSITION"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "position",
            "from",
            "player",
            "where",
            "points",
            "<",
            "value",
            "group",
            "by",
            "position"
        ],
        "question": "What is the number of players who have points less than 30 for each position?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "players",
            "who",
            "have",
            "points",
            "less",
            "than",
            "30",
            "for",
            "each",
            "position",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT country FROM competition WHERE competition_type  =  'Tournament' GROUP BY country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "competition",
            "WHERE",
            "competition_type",
            "=",
            "'Tournament",
            "'",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "competition",
            "where",
            "competition_type",
            "=",
            "value",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which country did participated in the most number of Tournament competitions?",
        "question_toks": [
            "which",
            "country",
            "did",
            "participated",
            "in",
            "the",
            "most",
            "number",
            "of",
            "Tournament",
            "competitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Tournament\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT country FROM competition WHERE competition_type  =  'Tournament' GROUP BY country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "competition",
            "WHERE",
            "competition_type",
            "=",
            "'Tournament",
            "'",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "competition",
            "where",
            "competition_type",
            "=",
            "value",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the name of the country that participated in the most tournament competitions?",
        "question_toks": [
            "what",
            "is",
            "the",
            "name",
            "of",
            "the",
            "country",
            "that",
            "participated",
            "in",
            "the",
            "most",
            "tournament",
            "competitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Tournament\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT country FROM competition WHERE competition_type  =  'Friendly' INTERSECT SELECT country FROM competition WHERE competition_type  =  'Tournament'",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "competition",
            "WHERE",
            "competition_type",
            "=",
            "'Friendly",
            "'",
            "INTERSECT",
            "SELECT",
            "country",
            "FROM",
            "competition",
            "WHERE",
            "competition_type",
            "=",
            "'Tournament",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "competition",
            "where",
            "competition_type",
            "=",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "competition",
            "where",
            "competition_type",
            "=",
            "value"
        ],
        "question": "which countries did participated in both Friendly and Tournament type competitions.",
        "question_toks": [
            "which",
            "countries",
            "did",
            "participated",
            "in",
            "both",
            "Friendly",
            "and",
            "Tournament",
            "type",
            "competitions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Friendly\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Tournament\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT country FROM competition WHERE competition_type  =  'Friendly' INTERSECT SELECT country FROM competition WHERE competition_type  =  'Tournament'",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "competition",
            "WHERE",
            "competition_type",
            "=",
            "'Friendly",
            "'",
            "INTERSECT",
            "SELECT",
            "country",
            "FROM",
            "competition",
            "WHERE",
            "competition_type",
            "=",
            "'Tournament",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "competition",
            "where",
            "competition_type",
            "=",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "competition",
            "where",
            "competition_type",
            "=",
            "value"
        ],
        "question": "What are the countries that participated in both friendly and tournament type competitions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "that",
            "participated",
            "in",
            "both",
            "friendly",
            "and",
            "tournament",
            "type",
            "competitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Friendly\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Tournament\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT country FROM competition EXCEPT SELECT country FROM competition WHERE competition_type  =  'Friendly'",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "competition",
            "EXCEPT",
            "SELECT",
            "country",
            "FROM",
            "competition",
            "WHERE",
            "competition_type",
            "=",
            "'Friendly",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "competition",
            "except",
            "select",
            "country",
            "from",
            "competition",
            "where",
            "competition_type",
            "=",
            "value"
        ],
        "question": "Find the countries that have never participated in any competition with Friendly type.",
        "question_toks": [
            "Find",
            "the",
            "countries",
            "that",
            "have",
            "never",
            "participated",
            "in",
            "any",
            "competition",
            "with",
            "Friendly",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Friendly\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "sports_competition",
        "query": "SELECT country FROM competition EXCEPT SELECT country FROM competition WHERE competition_type  =  'Friendly'",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "competition",
            "EXCEPT",
            "SELECT",
            "country",
            "FROM",
            "competition",
            "WHERE",
            "competition_type",
            "=",
            "'Friendly",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "competition",
            "except",
            "select",
            "country",
            "from",
            "competition",
            "where",
            "competition_type",
            "=",
            "value"
        ],
        "question": "What are the countries that have never participated in any friendly-type competitions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "that",
            "have",
            "never",
            "participated",
            "in",
            "any",
            "friendly-type",
            "competitions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Friendly\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT sum(num_of_component) FROM furniture",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "num_of_component",
            ")",
            "FROM",
            "furniture"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "num_of_component",
            ")",
            "from",
            "furniture"
        ],
        "question": "How many furniture components are there in total?",
        "question_toks": [
            "How",
            "many",
            "furniture",
            "components",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT name ,  furniture_id FROM furniture ORDER BY market_rate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "furniture_id",
            "FROM",
            "furniture",
            "ORDER",
            "BY",
            "market_rate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "furniture_id",
            "from",
            "furniture",
            "order",
            "by",
            "market_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name and id of the furniture with the highest market rate.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "furniture",
            "with",
            "the",
            "highest",
            "market",
            "rate",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT sum(market_rate) FROM furniture ORDER BY market_rate DESC LIMIT 2",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "market_rate",
            ")",
            "FROM",
            "furniture",
            "ORDER",
            "BY",
            "market_rate",
            "DESC",
            "LIMIT",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "market_rate",
            ")",
            "from",
            "furniture",
            "order",
            "by",
            "market_rate",
            "desc",
            "limit",
            "value"
        ],
        "question": "find the total market rate of the furnitures that have the top 2 market shares.",
        "question_toks": [
            "find",
            "the",
            "total",
            "market",
            "rate",
            "of",
            "the",
            "furnitures",
            "that",
            "have",
            "the",
            "top",
            "2",
            "market",
            "shares",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 2,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT Num_of_Component ,  name FROM furniture WHERE Num_of_Component  >  10",
        "query_toks": [
            "SELECT",
            "Num_of_Component",
            ",",
            "name",
            "FROM",
            "furniture",
            "WHERE",
            "Num_of_Component",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "num_of_component",
            ",",
            "name",
            "from",
            "furniture",
            "where",
            "num_of_component",
            ">",
            "value"
        ],
        "question": "Find the component amounts and names of all furnitures that have more than 10 components.",
        "question_toks": [
            "Find",
            "the",
            "component",
            "amounts",
            "and",
            "names",
            "of",
            "all",
            "furnitures",
            "that",
            "have",
            "more",
            "than",
            "10",
            "components",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT name ,  Num_of_Component FROM furniture ORDER BY market_rate LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "Num_of_Component",
            "FROM",
            "furniture",
            "ORDER",
            "BY",
            "market_rate",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "num_of_component",
            "from",
            "furniture",
            "order",
            "by",
            "market_rate",
            "limit",
            "value"
        ],
        "question": "Find the name and component amount of the least popular furniture.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "component",
            "amount",
            "of",
            "the",
            "least",
            "popular",
            "furniture",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT t1.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID  =  t2.Furniture_ID WHERE t2.Price_in_Dollar  <  (SELECT max(Price_in_Dollar) FROM furniture_manufacte)",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "furniture",
            "AS",
            "t1",
            "JOIN",
            "furniture_manufacte",
            "AS",
            "t2",
            "ON",
            "t1.Furniture_ID",
            "=",
            "t2.Furniture_ID",
            "WHERE",
            "t2.Price_in_Dollar",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "Price_in_Dollar",
            ")",
            "FROM",
            "furniture_manufacte",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "furniture",
            "as",
            "t1",
            "join",
            "furniture_manufacte",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "furniture_id",
            "=",
            "t2",
            ".",
            "furniture_id",
            "where",
            "t2",
            ".",
            "price_in_dollar",
            "<",
            "(",
            "select",
            "max",
            "(",
            "price_in_dollar",
            ")",
            "from",
            "furniture_manufacte",
            ")"
        ],
        "question": "Find the names of furnitures whose prices are lower than the highest price.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "furnitures",
            "whose",
            "prices",
            "are",
            "lower",
            "than",
            "the",
            "highest",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT open_year ,  name FROM manufacturer ORDER BY num_of_shops DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "open_year",
            ",",
            "name",
            "FROM",
            "manufacturer",
            "ORDER",
            "BY",
            "num_of_shops",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "open_year",
            ",",
            "name",
            "from",
            "manufacturer",
            "order",
            "by",
            "num_of_shops",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which manufacturer has the most number of shops? List its name and year of opening.",
        "question_toks": [
            "Which",
            "manufacturer",
            "has",
            "the",
            "most",
            "number",
            "of",
            "shops",
            "?",
            "List",
            "its",
            "name",
            "and",
            "year",
            "of",
            "opening",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT avg(Num_of_Factories) FROM manufacturer WHERE num_of_shops  >  20",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Num_of_Factories",
            ")",
            "FROM",
            "manufacturer",
            "WHERE",
            "num_of_shops",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "num_of_factories",
            ")",
            "from",
            "manufacturer",
            "where",
            "num_of_shops",
            ">",
            "value"
        ],
        "question": "Find the average number of factories for the manufacturers that have more than 20 shops.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "number",
            "of",
            "factories",
            "for",
            "the",
            "manufacturers",
            "that",
            "have",
            "more",
            "than",
            "20",
            "shops",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT name ,  manufacturer_id FROM manufacturer ORDER BY open_year",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "manufacturer_id",
            "FROM",
            "manufacturer",
            "ORDER",
            "BY",
            "open_year"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "manufacturer_id",
            "from",
            "manufacturer",
            "order",
            "by",
            "open_year"
        ],
        "question": "List all manufacturer names and ids ordered by their opening year.",
        "question_toks": [
            "List",
            "all",
            "manufacturer",
            "names",
            "and",
            "ids",
            "ordered",
            "by",
            "their",
            "opening",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT name ,  open_year FROM manufacturer WHERE num_of_shops  >  10 OR Num_of_Factories  <  10",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "open_year",
            "FROM",
            "manufacturer",
            "WHERE",
            "num_of_shops",
            ">",
            "10",
            "OR",
            "Num_of_Factories",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "open_year",
            "from",
            "manufacturer",
            "where",
            "num_of_shops",
            ">",
            "value",
            "or",
            "num_of_factories",
            "<",
            "value"
        ],
        "question": "Give me the name and year of opening of the manufacturers that have either less than 10 factories or more than 10 shops.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "name",
            "and",
            "year",
            "of",
            "opening",
            "of",
            "the",
            "manufacturers",
            "that",
            "have",
            "either",
            "less",
            "than",
            "10",
            "factories",
            "or",
            "more",
            "than",
            "10",
            "shops",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT max(num_of_shops) ,  avg(Num_of_Factories) FROM manufacturer WHERE open_year  <  1990",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "num_of_shops",
            ")",
            ",",
            "avg",
            "(",
            "Num_of_Factories",
            ")",
            "FROM",
            "manufacturer",
            "WHERE",
            "open_year",
            "<",
            "1990"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "num_of_shops",
            ")",
            ",",
            "avg",
            "(",
            "num_of_factories",
            ")",
            "from",
            "manufacturer",
            "where",
            "open_year",
            "<",
            "value"
        ],
        "question": "what is the average number of factories and maximum number of shops for manufacturers that opened before 1990.",
        "question_toks": [
            "what",
            "is",
            "the",
            "average",
            "number",
            "of",
            "factories",
            "and",
            "maximum",
            "number",
            "of",
            "shops",
            "for",
            "manufacturers",
            "that",
            "opened",
            "before",
            "1990",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1990.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT t1.manufacturer_id ,  t1.num_of_shops FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id  =  t2.manufacturer_id ORDER BY t2.Price_in_Dollar DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.manufacturer_id",
            ",",
            "t1.num_of_shops",
            "FROM",
            "manufacturer",
            "AS",
            "t1",
            "JOIN",
            "furniture_manufacte",
            "AS",
            "t2",
            "ON",
            "t1.manufacturer_id",
            "=",
            "t2.manufacturer_id",
            "ORDER",
            "BY",
            "t2.Price_in_Dollar",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "manufacturer_id",
            ",",
            "t1",
            ".",
            "num_of_shops",
            "from",
            "manufacturer",
            "as",
            "t1",
            "join",
            "furniture_manufacte",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer_id",
            "=",
            "t2",
            ".",
            "manufacturer_id",
            "order",
            "by",
            "t2",
            ".",
            "price_in_dollar",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and number of shops for the company that produces the most expensive furniture.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "number",
            "of",
            "shops",
            "for",
            "the",
            "company",
            "that",
            "produces",
            "the",
            "most",
            "expensive",
            "furniture",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT count(*) ,  t1.name FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id  =  t2.manufacturer_id GROUP BY t1.manufacturer_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1.name",
            "FROM",
            "manufacturer",
            "AS",
            "t1",
            "JOIN",
            "furniture_manufacte",
            "AS",
            "t2",
            "ON",
            "t1.manufacturer_id",
            "=",
            "t2.manufacturer_id",
            "GROUP",
            "BY",
            "t1.manufacturer_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "manufacturer",
            "as",
            "t1",
            "join",
            "furniture_manufacte",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer_id",
            "=",
            "t2",
            ".",
            "manufacturer_id",
            "group",
            "by",
            "t1",
            ".",
            "manufacturer_id"
        ],
        "question": "Find the number of funiture types produced by each manufacturer as well as the company names.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "funiture",
            "types",
            "produced",
            "by",
            "each",
            "manufacturer",
            "as",
            "well",
            "as",
            "the",
            "company",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT t1.name ,  t2.price_in_dollar FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID  =  t2.Furniture_ID",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t2.price_in_dollar",
            "FROM",
            "furniture",
            "AS",
            "t1",
            "JOIN",
            "furniture_manufacte",
            "AS",
            "t2",
            "ON",
            "t1.Furniture_ID",
            "=",
            "t2.Furniture_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "price_in_dollar",
            "from",
            "furniture",
            "as",
            "t1",
            "join",
            "furniture_manufacte",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "furniture_id",
            "=",
            "t2",
            ".",
            "furniture_id"
        ],
        "question": "Give me the names and prices of furnitures which some companies are manufacturing.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "names",
            "and",
            "prices",
            "of",
            "furnitures",
            "which",
            "some",
            "companies",
            "are",
            "manufacturing",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT Market_Rate ,  name FROM furniture WHERE Furniture_ID NOT IN (SELECT Furniture_ID FROM furniture_manufacte)",
        "query_toks": [
            "SELECT",
            "Market_Rate",
            ",",
            "name",
            "FROM",
            "furniture",
            "WHERE",
            "Furniture_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Furniture_ID",
            "FROM",
            "furniture_manufacte",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "market_rate",
            ",",
            "name",
            "from",
            "furniture",
            "where",
            "furniture_id",
            "not",
            "in",
            "(",
            "select",
            "furniture_id",
            "from",
            "furniture_manufacte",
            ")"
        ],
        "question": "Find the market shares and names of furnitures which no any company is producing in our records.",
        "question_toks": [
            "Find",
            "the",
            "market",
            "shares",
            "and",
            "names",
            "of",
            "furnitures",
            "which",
            "no",
            "any",
            "company",
            "is",
            "producing",
            "in",
            "our",
            "records",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufacturer",
        "query": "SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID  =  t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id  =  t3.manufacturer_id WHERE t1.num_of_component  <  6 INTERSECT SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID  =  t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id  =  t3.manufacturer_id WHERE t1.num_of_component  >  10",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "furniture",
            "AS",
            "t1",
            "JOIN",
            "furniture_manufacte",
            "AS",
            "t2",
            "ON",
            "t1.Furniture_ID",
            "=",
            "t2.Furniture_ID",
            "JOIN",
            "manufacturer",
            "AS",
            "t3",
            "ON",
            "t2.manufacturer_id",
            "=",
            "t3.manufacturer_id",
            "WHERE",
            "t1.num_of_component",
            "<",
            "6",
            "INTERSECT",
            "SELECT",
            "t3.name",
            "FROM",
            "furniture",
            "AS",
            "t1",
            "JOIN",
            "furniture_manufacte",
            "AS",
            "t2",
            "ON",
            "t1.Furniture_ID",
            "=",
            "t2.Furniture_ID",
            "JOIN",
            "manufacturer",
            "AS",
            "t3",
            "ON",
            "t2.manufacturer_id",
            "=",
            "t3.manufacturer_id",
            "WHERE",
            "t1.num_of_component",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "furniture",
            "as",
            "t1",
            "join",
            "furniture_manufacte",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "furniture_id",
            "=",
            "t2",
            ".",
            "furniture_id",
            "join",
            "manufacturer",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "manufacturer_id",
            "=",
            "t3",
            ".",
            "manufacturer_id",
            "where",
            "t1",
            ".",
            "num_of_component",
            "<",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "furniture",
            "as",
            "t1",
            "join",
            "furniture_manufacte",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "furniture_id",
            "=",
            "t2",
            ".",
            "furniture_id",
            "join",
            "manufacturer",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "manufacturer_id",
            "=",
            "t3",
            ".",
            "manufacturer_id",
            "where",
            "t1",
            ".",
            "num_of_component",
            ">",
            "value"
        ],
        "question": "Find the name of the company that produces both furnitures with less than 6 components and furnitures with more than 10 components.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "company",
            "that",
            "produces",
            "both",
            "furnitures",
            "with",
            "less",
            "than",
            "6",
            "components",
            "and",
            "furnitures",
            "with",
            "more",
            "than",
            "10",
            "components",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    6.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        10.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T2.department_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "department_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id"
        ],
        "question": "Display the first name and department name for each employee.",
        "question_toks": [
            "Display",
            "the",
            "first",
            "name",
            "and",
            "department",
            "name",
            "for",
            "each",
            "employee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T2.department_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "department_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id"
        ],
        "question": "What are the first name and department name of all employees?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "department",
            "name",
            "of",
            "all",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  salary FROM employees WHERE salary  <  6000",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "<",
            "6000"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "salary",
            "<",
            "value"
        ],
        "question": "List the full name (first and last name), and salary for those employees who earn below 6000.",
        "question_toks": [
            "List",
            "the",
            "full",
            "name",
            "(",
            "first",
            "and",
            "last",
            "name",
            ")",
            ",",
            "and",
            "salary",
            "for",
            "those",
            "employees",
            "who",
            "earn",
            "below",
            "6000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    6000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  salary FROM employees WHERE salary  <  6000",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "<",
            "6000"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "salary",
            "<",
            "value"
        ],
        "question": "What are the full names and salaries for any employees earning less than 6000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "and",
            "salaries",
            "for",
            "any",
            "employees",
            "earning",
            "less",
            "than",
            "6000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    6000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  department_id FROM employees WHERE last_name  =  'McEwen'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "last_name",
            "=",
            "'McEwen",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "department_id",
            "from",
            "employees",
            "where",
            "last_name",
            "=",
            "value"
        ],
        "question": "Display the first name, and department number for all employees whose last name is \"McEwen\".",
        "question_toks": [
            "Display",
            "the",
            "first",
            "name",
            ",",
            "and",
            "department",
            "number",
            "for",
            "all",
            "employees",
            "whose",
            "last",
            "name",
            "is",
            "``",
            "McEwen",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"McEwen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  department_id FROM employees WHERE last_name  =  'McEwen'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "last_name",
            "=",
            "'McEwen",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "department_id",
            "from",
            "employees",
            "where",
            "last_name",
            "=",
            "value"
        ],
        "question": "What are the first names and department numbers for employees with last name McEwen?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "department",
            "numbers",
            "for",
            "employees",
            "with",
            "last",
            "name",
            "McEwen",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"McEwen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE department_id  =  \"null\"",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "=",
            "``",
            "null",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "department_id",
            "=",
            "value"
        ],
        "question": "Return all the information for all employees without any department number.",
        "question_toks": [
            "Return",
            "all",
            "the",
            "information",
            "for",
            "all",
            "employees",
            "without",
            "any",
            "department",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE department_id  =  \"null\"",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "=",
            "``",
            "null",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "department_id",
            "=",
            "value"
        ],
        "question": "What are all the employees without a department number?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "employees",
            "without",
            "a",
            "department",
            "number",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM  departments WHERE department_name  =  'Marketing'",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "departments",
            "WHERE",
            "department_name",
            "=",
            "'Marketing",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "departments",
            "where",
            "department_name",
            "=",
            "value"
        ],
        "question": "Display all the information about the department Marketing.",
        "question_toks": [
            "Display",
            "all",
            "the",
            "information",
            "about",
            "the",
            "department",
            "Marketing",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Marketing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM  departments WHERE department_name  =  'Marketing'",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "departments",
            "WHERE",
            "department_name",
            "=",
            "'Marketing",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "departments",
            "where",
            "department_name",
            "=",
            "value"
        ],
        "question": "What is all the information about the Marketing department?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "about",
            "the",
            "Marketing",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Marketing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT hire_date FROM employees WHERE first_name NOT LIKE '%M%'",
        "query_toks": [
            "SELECT",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "NOT",
            "LIKE",
            "'",
            "%",
            "M",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "hire_date",
            "from",
            "employees",
            "where",
            "first_name",
            "not",
            "like",
            "value"
        ],
        "question": "when is the hire date for those employees whose first name does not containing the letter M?",
        "question_toks": [
            "when",
            "is",
            "the",
            "hire",
            "date",
            "for",
            "those",
            "employees",
            "whose",
            "first",
            "name",
            "does",
            "not",
            "containing",
            "the",
            "letter",
            "M",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%M%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT hire_date FROM employees WHERE first_name NOT LIKE '%M%'",
        "query_toks": [
            "SELECT",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "NOT",
            "LIKE",
            "'",
            "%",
            "M",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "hire_date",
            "from",
            "employees",
            "where",
            "first_name",
            "not",
            "like",
            "value"
        ],
        "question": "On what dates were employees without the letter M in their first names hired?",
        "question_toks": [
            "On",
            "what",
            "dates",
            "were",
            "employees",
            "without",
            "the",
            "letter",
            "M",
            "in",
            "their",
            "first",
            "names",
            "hired",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%M%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  hire_date ,  salary ,  department_id FROM employees WHERE first_name NOT LIKE '%M%'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            ",",
            "salary",
            ",",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "NOT",
            "LIKE",
            "'",
            "%",
            "M",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            ",",
            "salary",
            ",",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "not",
            "like",
            "value"
        ],
        "question": "display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M.",
        "question_toks": [
            "display",
            "the",
            "full",
            "name",
            "(",
            "first",
            "and",
            "last",
            ")",
            ",",
            "hire",
            "date",
            ",",
            "salary",
            ",",
            "and",
            "department",
            "number",
            "for",
            "those",
            "employees",
            "whose",
            "first",
            "name",
            "does",
            "not",
            "containing",
            "the",
            "letter",
            "M",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%M%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  hire_date ,  salary ,  department_id FROM employees WHERE first_name NOT LIKE '%M%'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            ",",
            "salary",
            ",",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "NOT",
            "LIKE",
            "'",
            "%",
            "M",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            ",",
            "salary",
            ",",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "not",
            "like",
            "value"
        ],
        "question": "What are the full name, hire date, salary, and department id for employees without the letter M in their first name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "name",
            ",",
            "hire",
            "date",
            ",",
            "salary",
            ",",
            "and",
            "department",
            "id",
            "for",
            "employees",
            "without",
            "the",
            "letter",
            "M",
            "in",
            "their",
            "first",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%M%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  hire_date ,  salary ,  department_id FROM employees WHERE first_name NOT LIKE '%M%' ORDER BY department_id",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            ",",
            "salary",
            ",",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "NOT",
            "LIKE",
            "'",
            "%",
            "M",
            "%",
            "'",
            "ORDER",
            "BY",
            "department_id"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            ",",
            "salary",
            ",",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "not",
            "like",
            "value",
            "order",
            "by",
            "department_id"
        ],
        "question": "display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M and make the result set in ascending order by department number.",
        "question_toks": [
            "display",
            "the",
            "full",
            "name",
            "(",
            "first",
            "and",
            "last",
            ")",
            ",",
            "hire",
            "date",
            ",",
            "salary",
            ",",
            "and",
            "department",
            "number",
            "for",
            "those",
            "employees",
            "whose",
            "first",
            "name",
            "does",
            "not",
            "containing",
            "the",
            "letter",
            "M",
            "and",
            "make",
            "the",
            "result",
            "set",
            "in",
            "ascending",
            "order",
            "by",
            "department",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%M%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  hire_date ,  salary ,  department_id FROM employees WHERE first_name NOT LIKE '%M%' ORDER BY department_id",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            ",",
            "salary",
            ",",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "NOT",
            "LIKE",
            "'",
            "%",
            "M",
            "%",
            "'",
            "ORDER",
            "BY",
            "department_id"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            ",",
            "salary",
            ",",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "not",
            "like",
            "value",
            "order",
            "by",
            "department_id"
        ],
        "question": "What are the full name, hire data, salary and department id for employees without the letter M in their first name, ordered by ascending department id?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "name",
            ",",
            "hire",
            "data",
            ",",
            "salary",
            "and",
            "department",
            "id",
            "for",
            "employees",
            "without",
            "the",
            "letter",
            "M",
            "in",
            "their",
            "first",
            "name",
            ",",
            "ordered",
            "by",
            "ascending",
            "department",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%M%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT phone_number FROM employees WHERE salary BETWEEN 8000 AND 12000",
        "query_toks": [
            "SELECT",
            "phone_number",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "BETWEEN",
            "8000",
            "AND",
            "12000"
        ],
        "query_toks_no_value": [
            "select",
            "phone_number",
            "from",
            "employees",
            "where",
            "salary",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "what is the phone number of employees whose salary is in the range of 8000 and 12000?",
        "question_toks": [
            "what",
            "is",
            "the",
            "phone",
            "number",
            "of",
            "employees",
            "whose",
            "salary",
            "is",
            "in",
            "the",
            "range",
            "of",
            "8000",
            "and",
            "12000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    8000.0,
                    12000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT phone_number FROM employees WHERE salary BETWEEN 8000 AND 12000",
        "query_toks": [
            "SELECT",
            "phone_number",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "BETWEEN",
            "8000",
            "AND",
            "12000"
        ],
        "query_toks_no_value": [
            "select",
            "phone_number",
            "from",
            "employees",
            "where",
            "salary",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Return the phone numbers of employees with salaries between 8000 and 12000.",
        "question_toks": [
            "Return",
            "the",
            "phone",
            "numbers",
            "of",
            "employees",
            "with",
            "salaries",
            "between",
            "8000",
            "and",
            "12000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    8000.0,
                    12000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE salary BETWEEN 8000 AND 12000 AND commission_pct != \"null\" OR  department_id != 40",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "BETWEEN",
            "8000",
            "AND",
            "12000",
            "AND",
            "commission_pct",
            "!",
            "=",
            "``",
            "null",
            "''",
            "OR",
            "department_id",
            "!",
            "=",
            "40"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "salary",
            "between",
            "value",
            "and",
            "value",
            "and",
            "commission_pct",
            "!",
            "=",
            "value",
            "or",
            "department_id",
            "!",
            "=",
            "value"
        ],
        "question": "display all the information of employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40.",
        "question_toks": [
            "display",
            "all",
            "the",
            "information",
            "of",
            "employees",
            "whose",
            "salary",
            "is",
            "in",
            "the",
            "range",
            "of",
            "8000",
            "and",
            "12000",
            "and",
            "commission",
            "is",
            "not",
            "null",
            "or",
            "department",
            "number",
            "does",
            "not",
            "equal",
            "to",
            "40",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    8000.0,
                    12000.0
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ],
                "or",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE salary BETWEEN 8000 AND 12000 AND commission_pct != \"null\" OR  department_id != 40",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "BETWEEN",
            "8000",
            "AND",
            "12000",
            "AND",
            "commission_pct",
            "!",
            "=",
            "``",
            "null",
            "''",
            "OR",
            "department_id",
            "!",
            "=",
            "40"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "salary",
            "between",
            "value",
            "and",
            "value",
            "and",
            "commission_pct",
            "!",
            "=",
            "value",
            "or",
            "department_id",
            "!",
            "=",
            "value"
        ],
        "question": "Return all information about employees with salaries between 8000 and 12000 for which commission is not null or where their department id is not 40.",
        "question_toks": [
            "Return",
            "all",
            "information",
            "about",
            "employees",
            "with",
            "salaries",
            "between",
            "8000",
            "and",
            "12000",
            "for",
            "which",
            "commission",
            "is",
            "not",
            "null",
            "or",
            "where",
            "their",
            "department",
            "id",
            "is",
            "not",
            "40",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    8000.0,
                    12000.0
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ],
                "or",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  salary FROM  employees WHERE commission_pct  =  \"null\"",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "commission_pct",
            "=",
            "``",
            "null",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "commission_pct",
            "=",
            "value"
        ],
        "question": "What are the full name (first and last name) and salary for all employees who does not have any value for commission?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "name",
            "(",
            "first",
            "and",
            "last",
            "name",
            ")",
            "and",
            "salary",
            "for",
            "all",
            "employees",
            "who",
            "does",
            "not",
            "have",
            "any",
            "value",
            "for",
            "commission",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  salary FROM  employees WHERE commission_pct  =  \"null\"",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "commission_pct",
            "=",
            "``",
            "null",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "commission_pct",
            "=",
            "value"
        ],
        "question": "Return the full names and salaries of employees with null commissions.",
        "question_toks": [
            "Return",
            "the",
            "full",
            "names",
            "and",
            "salaries",
            "of",
            "employees",
            "with",
            "null",
            "commissions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  salary FROM employees WHERE first_name LIKE '%m'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "LIKE",
            "'",
            "%",
            "m",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "first_name",
            "like",
            "value"
        ],
        "question": "Display the first and last name, and salary for those employees whose first name is ending with the letter m.",
        "question_toks": [
            "Display",
            "the",
            "first",
            "and",
            "last",
            "name",
            ",",
            "and",
            "salary",
            "for",
            "those",
            "employees",
            "whose",
            "first",
            "name",
            "is",
            "ending",
            "with",
            "the",
            "letter",
            "m",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%m\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  salary FROM employees WHERE first_name LIKE '%m'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "LIKE",
            "'",
            "%",
            "m",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "first_name",
            "like",
            "value"
        ],
        "question": "Return the full names and salaries for employees with first names that end with the letter m.",
        "question_toks": [
            "Return",
            "the",
            "full",
            "names",
            "and",
            "salaries",
            "for",
            "employees",
            "with",
            "first",
            "names",
            "that",
            "end",
            "with",
            "the",
            "letter",
            "m",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%m\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_id ,  hire_date FROM employees WHERE hire_date BETWEEN '2007-11-05' AND '2009-07-05'",
        "query_toks": [
            "SELECT",
            "job_id",
            ",",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "hire_date",
            "BETWEEN",
            "'2007-11-05",
            "'",
            "AND",
            "'2009-07-05",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "job_id",
            ",",
            "hire_date",
            "from",
            "employees",
            "where",
            "hire_date",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find job id and date of hire for those employees who was hired between November 5th, 2007 and July 5th, 2009.",
        "question_toks": [
            "Find",
            "job",
            "id",
            "and",
            "date",
            "of",
            "hire",
            "for",
            "those",
            "employees",
            "who",
            "was",
            "hired",
            "between",
            "November",
            "5th",
            ",",
            "2007",
            "and",
            "July",
            "5th",
            ",",
            "2009",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"2007-11-05\"",
                    "\"2009-07-05\""
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_id ,  hire_date FROM employees WHERE hire_date BETWEEN '2007-11-05' AND '2009-07-05'",
        "query_toks": [
            "SELECT",
            "job_id",
            ",",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "hire_date",
            "BETWEEN",
            "'2007-11-05",
            "'",
            "AND",
            "'2009-07-05",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "job_id",
            ",",
            "hire_date",
            "from",
            "employees",
            "where",
            "hire_date",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the job ids and dates of hire for employees hired after November 5th, 2007 and before July 5th, 2009?",
        "question_toks": [
            "What",
            "are",
            "the",
            "job",
            "ids",
            "and",
            "dates",
            "of",
            "hire",
            "for",
            "employees",
            "hired",
            "after",
            "November",
            "5th",
            ",",
            "2007",
            "and",
            "before",
            "July",
            "5th",
            ",",
            "2009",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"2007-11-05\"",
                    "\"2009-07-05\""
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name FROM employees WHERE department_id  =  70 OR department_id  =  90",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "=",
            "70",
            "OR",
            "department_id",
            "=",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "where",
            "department_id",
            "=",
            "value",
            "or",
            "department_id",
            "=",
            "value"
        ],
        "question": "What are the first and last name for those employees who works either in department 70 or 90?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "name",
            "for",
            "those",
            "employees",
            "who",
            "works",
            "either",
            "in",
            "department",
            "70",
            "or",
            "90",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    70.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name FROM employees WHERE department_id  =  70 OR department_id  =  90",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "=",
            "70",
            "OR",
            "department_id",
            "=",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "where",
            "department_id",
            "=",
            "value",
            "or",
            "department_id",
            "=",
            "value"
        ],
        "question": "What are the full names of employees who with in department 70 or 90?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "employees",
            "who",
            "with",
            "in",
            "department",
            "70",
            "or",
            "90",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    70.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT salary ,  manager_id FROM employees WHERE manager_id != \"null\"",
        "query_toks": [
            "SELECT",
            "salary",
            ",",
            "manager_id",
            "FROM",
            "employees",
            "WHERE",
            "manager_id",
            "!",
            "=",
            "``",
            "null",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "salary",
            ",",
            "manager_id",
            "from",
            "employees",
            "where",
            "manager_id",
            "!",
            "=",
            "value"
        ],
        "question": "Find the salary and manager number for those employees who is working under a manager.",
        "question_toks": [
            "Find",
            "the",
            "salary",
            "and",
            "manager",
            "number",
            "for",
            "those",
            "employees",
            "who",
            "is",
            "working",
            "under",
            "a",
            "manager",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT salary ,  manager_id FROM employees WHERE manager_id != \"null\"",
        "query_toks": [
            "SELECT",
            "salary",
            ",",
            "manager_id",
            "FROM",
            "employees",
            "WHERE",
            "manager_id",
            "!",
            "=",
            "``",
            "null",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "salary",
            ",",
            "manager_id",
            "from",
            "employees",
            "where",
            "manager_id",
            "!",
            "=",
            "value"
        ],
        "question": "What are the salaries and manager ids for employees who have managers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "salaries",
            "and",
            "manager",
            "ids",
            "for",
            "employees",
            "who",
            "have",
            "managers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE hire_date  <  '2002-06-21'",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "hire_date",
            "<",
            "'2002-06-21",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "hire_date",
            "<",
            "value"
        ],
        "question": "display all the details from Employees table for those employees who was hired before 2002-06-21.",
        "question_toks": [
            "display",
            "all",
            "the",
            "details",
            "from",
            "Employees",
            "table",
            "for",
            "those",
            "employees",
            "who",
            "was",
            "hired",
            "before",
            "2002-06-21",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"2002-06-21\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE hire_date  <  '2002-06-21'",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "hire_date",
            "<",
            "'2002-06-21",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "hire_date",
            "<",
            "value"
        ],
        "question": "What is all the information about employees hired before June 21, 2002?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "about",
            "employees",
            "hired",
            "before",
            "June",
            "21",
            ",",
            "2002",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"2002-06-21\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE first_name LIKE '%D%' OR first_name LIKE '%S%' ORDER BY salary DESC",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "LIKE",
            "'",
            "%",
            "D",
            "%",
            "'",
            "OR",
            "first_name",
            "LIKE",
            "'",
            "%",
            "S",
            "%",
            "'",
            "ORDER",
            "BY",
            "salary",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "first_name",
            "like",
            "value",
            "or",
            "first_name",
            "like",
            "value",
            "order",
            "by",
            "salary",
            "desc"
        ],
        "question": "display all the information for all employees who have the letters D or S in their first name and also arrange the result in descending order by salary.",
        "question_toks": [
            "display",
            "all",
            "the",
            "information",
            "for",
            "all",
            "employees",
            "who",
            "have",
            "the",
            "letters",
            "D",
            "or",
            "S",
            "in",
            "their",
            "first",
            "name",
            "and",
            "also",
            "arrange",
            "the",
            "result",
            "in",
            "descending",
            "order",
            "by",
            "salary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%D%\"",
                    null
                ],
                "or",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%S%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE first_name LIKE '%D%' OR first_name LIKE '%S%' ORDER BY salary DESC",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "LIKE",
            "'",
            "%",
            "D",
            "%",
            "'",
            "OR",
            "first_name",
            "LIKE",
            "'",
            "%",
            "S",
            "%",
            "'",
            "ORDER",
            "BY",
            "salary",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "first_name",
            "like",
            "value",
            "or",
            "first_name",
            "like",
            "value",
            "order",
            "by",
            "salary",
            "desc"
        ],
        "question": "What is all the information about employees with D or S in their first name, ordered by salary descending?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "about",
            "employees",
            "with",
            "D",
            "or",
            "S",
            "in",
            "their",
            "first",
            "name",
            ",",
            "ordered",
            "by",
            "salary",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%D%\"",
                    null
                ],
                "or",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%S%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE hire_date  >  '1987-09-07'",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "hire_date",
            ">",
            "'1987-09-07",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "hire_date",
            ">",
            "value"
        ],
        "question": "display those employees who joined after 7th September, 1987.",
        "question_toks": [
            "display",
            "those",
            "employees",
            "who",
            "joined",
            "after",
            "7th",
            "September",
            ",",
            "1987",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"1987-09-07\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE hire_date  >  '1987-09-07'",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "hire_date",
            ">",
            "'1987-09-07",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "hire_date",
            ">",
            "value"
        ],
        "question": "Which employees were hired after September 7th, 1987?",
        "question_toks": [
            "Which",
            "employees",
            "were",
            "hired",
            "after",
            "September",
            "7th",
            ",",
            "1987",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"1987-09-07\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_title FROM jobs WHERE min_salary  >  9000",
        "query_toks": [
            "SELECT",
            "job_title",
            "FROM",
            "jobs",
            "WHERE",
            "min_salary",
            ">",
            "9000"
        ],
        "query_toks_no_value": [
            "select",
            "job_title",
            "from",
            "jobs",
            "where",
            "min_salary",
            ">",
            "value"
        ],
        "question": "display the job title of jobs which minimum salary is greater than 9000.",
        "question_toks": [
            "display",
            "the",
            "job",
            "title",
            "of",
            "jobs",
            "which",
            "minimum",
            "salary",
            "is",
            "greater",
            "than",
            "9000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    9000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_title FROM jobs WHERE min_salary  >  9000",
        "query_toks": [
            "SELECT",
            "job_title",
            "FROM",
            "jobs",
            "WHERE",
            "min_salary",
            ">",
            "9000"
        ],
        "query_toks_no_value": [
            "select",
            "job_title",
            "from",
            "jobs",
            "where",
            "min_salary",
            ">",
            "value"
        ],
        "question": "Which job titles correspond to jobs with salaries over 9000?",
        "question_toks": [
            "Which",
            "job",
            "titles",
            "correspond",
            "to",
            "jobs",
            "with",
            "salaries",
            "over",
            "9000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    9000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_title ,  max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000",
        "query_toks": [
            "SELECT",
            "job_title",
            ",",
            "max_salary",
            "-",
            "min_salary",
            "FROM",
            "jobs",
            "WHERE",
            "max_salary",
            "BETWEEN",
            "12000",
            "AND",
            "18000"
        ],
        "query_toks_no_value": [
            "select",
            "job_title",
            ",",
            "max_salary",
            "-",
            "min_salary",
            "from",
            "jobs",
            "where",
            "max_salary",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000.",
        "question_toks": [
            "display",
            "job",
            "Title",
            ",",
            "the",
            "difference",
            "between",
            "minimum",
            "and",
            "maximum",
            "salaries",
            "for",
            "those",
            "jobs",
            "which",
            "max",
            "salary",
            "within",
            "the",
            "range",
            "12000",
            "to",
            "18000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            1,
                            [
                                0,
                                13,
                                false
                            ],
                            [
                                0,
                                12,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    12000.0,
                    18000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_title ,  max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000",
        "query_toks": [
            "SELECT",
            "job_title",
            ",",
            "max_salary",
            "-",
            "min_salary",
            "FROM",
            "jobs",
            "WHERE",
            "max_salary",
            "BETWEEN",
            "12000",
            "AND",
            "18000"
        ],
        "query_toks_no_value": [
            "select",
            "job_title",
            ",",
            "max_salary",
            "-",
            "min_salary",
            "from",
            "jobs",
            "where",
            "max_salary",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the job titles, and range of salaries for jobs with maximum salary between 12000 and 18000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "job",
            "titles",
            ",",
            "and",
            "range",
            "of",
            "salaries",
            "for",
            "jobs",
            "with",
            "maximum",
            "salary",
            "between",
            "12000",
            "and",
            "18000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            1,
                            [
                                0,
                                13,
                                false
                            ],
                            [
                                0,
                                12,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    12000.0,
                    18000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT email FROM employees WHERE commission_pct  =  \"null\" AND salary BETWEEN 7000 AND 12000 AND department_id = 50",
        "query_toks": [
            "SELECT",
            "email",
            "FROM",
            "employees",
            "WHERE",
            "commission_pct",
            "=",
            "``",
            "null",
            "''",
            "AND",
            "salary",
            "BETWEEN",
            "7000",
            "AND",
            "12000",
            "AND",
            "department_id",
            "=",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "email",
            "from",
            "employees",
            "where",
            "commission_pct",
            "=",
            "value",
            "and",
            "salary",
            "between",
            "value",
            "and",
            "value",
            "and",
            "department_id",
            "=",
            "value"
        ],
        "question": "display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.",
        "question_toks": [
            "display",
            "the",
            "emails",
            "of",
            "the",
            "employees",
            "who",
            "have",
            "no",
            "commission",
            "percentage",
            "and",
            "salary",
            "within",
            "the",
            "range",
            "7000",
            "to",
            "12000",
            "and",
            "works",
            "in",
            "that",
            "department",
            "which",
            "number",
            "is",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    7000.0,
                    12000.0
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT email FROM employees WHERE commission_pct  =  \"null\" AND salary BETWEEN 7000 AND 12000 AND department_id = 50",
        "query_toks": [
            "SELECT",
            "email",
            "FROM",
            "employees",
            "WHERE",
            "commission_pct",
            "=",
            "``",
            "null",
            "''",
            "AND",
            "salary",
            "BETWEEN",
            "7000",
            "AND",
            "12000",
            "AND",
            "department_id",
            "=",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "email",
            "from",
            "employees",
            "where",
            "commission_pct",
            "=",
            "value",
            "and",
            "salary",
            "between",
            "value",
            "and",
            "value",
            "and",
            "department_id",
            "=",
            "value"
        ],
        "question": "What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?",
        "question_toks": [
            "What",
            "are",
            "the",
            "emails",
            "of",
            "employees",
            "with",
            "null",
            "commission",
            ",",
            "salary",
            "between",
            "7000",
            "and",
            "12000",
            ",",
            "and",
            "who",
            "work",
            "in",
            "department",
            "50",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    7000.0,
                    12000.0
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  MAX(end_date) FROM job_history GROUP BY employee_id",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "MAX",
            "(",
            "end_date",
            ")",
            "FROM",
            "job_history",
            "GROUP",
            "BY",
            "employee_id"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "max",
            "(",
            "end_date",
            ")",
            "from",
            "job_history",
            "group",
            "by",
            "employee_id"
        ],
        "question": "display the employee ID for each employee and the date on which he ended his previous job.",
        "question_toks": [
            "display",
            "the",
            "employee",
            "ID",
            "for",
            "each",
            "employee",
            "and",
            "the",
            "date",
            "on",
            "which",
            "he",
            "ended",
            "his",
            "previous",
            "job",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  MAX(end_date) FROM job_history GROUP BY employee_id",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "MAX",
            "(",
            "end_date",
            ")",
            "FROM",
            "job_history",
            "GROUP",
            "BY",
            "employee_id"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "max",
            "(",
            "end_date",
            ")",
            "from",
            "job_history",
            "group",
            "by",
            "employee_id"
        ],
        "question": "What are the employee ids for each employee and final dates of employment at their last job?",
        "question_toks": [
            "What",
            "are",
            "the",
            "employee",
            "ids",
            "for",
            "each",
            "employee",
            "and",
            "final",
            "dates",
            "of",
            "employment",
            "at",
            "their",
            "last",
            "job",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10",
        "query_toks": [
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            "HAVING",
            "COUNT",
            "(",
            "commission_pct",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "department_id",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            "having",
            "count",
            "(",
            "commission_pct",
            ")",
            ">",
            "value"
        ],
        "question": "display those departments where more than ten employees work who got a commission percentage.",
        "question_toks": [
            "display",
            "those",
            "departments",
            "where",
            "more",
            "than",
            "ten",
            "employees",
            "work",
            "who",
            "got",
            "a",
            "commission",
            "percentage",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            22,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10",
        "query_toks": [
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            "HAVING",
            "COUNT",
            "(",
            "commission_pct",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "department_id",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            "having",
            "count",
            "(",
            "commission_pct",
            ")",
            ">",
            "value"
        ],
        "question": "What are the department ids for which more than 10 employees had a commission?",
        "question_toks": [
            "What",
            "are",
            "the",
            "department",
            "ids",
            "for",
            "which",
            "more",
            "than",
            "10",
            "employees",
            "had",
            "a",
            "commission",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            22,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT DISTINCT department_id FROM employees GROUP BY department_id ,  manager_id HAVING COUNT(employee_id)  >= 4",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "department_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            ",",
            "manager_id",
            "HAVING",
            "COUNT",
            "(",
            "employee_id",
            ")",
            ">",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "department_id",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            ",",
            "manager_id",
            "having",
            "count",
            "(",
            "employee_id",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the ids of the departments where any manager is managing 4 or more employees.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "the",
            "departments",
            "where",
            "any",
            "manager",
            "is",
            "managing",
            "4",
            "or",
            "more",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ],
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            14,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT DISTINCT department_id FROM employees GROUP BY department_id ,  manager_id HAVING COUNT(employee_id)  >= 4",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "department_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            ",",
            "manager_id",
            "HAVING",
            "COUNT",
            "(",
            "employee_id",
            ")",
            ">",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "department_id",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            ",",
            "manager_id",
            "having",
            "count",
            "(",
            "employee_id",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are department ids for departments with managers managing more than 3 employees?",
        "question_toks": [
            "What",
            "are",
            "department",
            "ids",
            "for",
            "departments",
            "with",
            "managers",
            "managing",
            "more",
            "than",
            "3",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ],
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            14,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT department_id ,  AVG(salary) FROM employees WHERE commission_pct != \"null\" GROUP BY department_id",
        "query_toks": [
            "SELECT",
            "department_id",
            ",",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "WHERE",
            "commission_pct",
            "!",
            "=",
            "``",
            "null",
            "''",
            "GROUP",
            "BY",
            "department_id"
        ],
        "query_toks_no_value": [
            "select",
            "department_id",
            ",",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "where",
            "commission_pct",
            "!",
            "=",
            "value",
            "group",
            "by",
            "department_id"
        ],
        "question": "display the average salary of employees for each department who gets a commission percentage.",
        "question_toks": [
            "display",
            "the",
            "average",
            "salary",
            "of",
            "employees",
            "for",
            "each",
            "department",
            "who",
            "gets",
            "a",
            "commission",
            "percentage",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT department_id ,  AVG(salary) FROM employees WHERE commission_pct != \"null\" GROUP BY department_id",
        "query_toks": [
            "SELECT",
            "department_id",
            ",",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "WHERE",
            "commission_pct",
            "!",
            "=",
            "``",
            "null",
            "''",
            "GROUP",
            "BY",
            "department_id"
        ],
        "query_toks_no_value": [
            "select",
            "department_id",
            ",",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "where",
            "commission_pct",
            "!",
            "=",
            "value",
            "group",
            "by",
            "department_id"
        ],
        "question": "What is the average salary of employees who have a commission percentage that is not null?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "salary",
            "of",
            "employees",
            "who",
            "have",
            "a",
            "commission",
            "percentage",
            "that",
            "is",
            "not",
            "null",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"null\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT country_id ,  COUNT(*) FROM locations GROUP BY country_id",
        "query_toks": [
            "SELECT",
            "country_id",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "locations",
            "GROUP",
            "BY",
            "country_id"
        ],
        "query_toks_no_value": [
            "select",
            "country_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "locations",
            "group",
            "by",
            "country_id"
        ],
        "question": "display the country ID and number of cities for each country.",
        "question_toks": [
            "display",
            "the",
            "country",
            "ID",
            "and",
            "number",
            "of",
            "cities",
            "for",
            "each",
            "country",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    35,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT country_id ,  COUNT(*) FROM locations GROUP BY country_id",
        "query_toks": [
            "SELECT",
            "country_id",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "locations",
            "GROUP",
            "BY",
            "country_id"
        ],
        "query_toks_no_value": [
            "select",
            "country_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "locations",
            "group",
            "by",
            "country_id"
        ],
        "question": "Give the country id and corresponding count of cities in each country.",
        "question_toks": [
            "Give",
            "the",
            "country",
            "id",
            "and",
            "corresponding",
            "count",
            "of",
            "cities",
            "in",
            "each",
            "country",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    35,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_id FROM job_history WHERE end_date - start_date  > 300 GROUP BY job_id HAVING COUNT(*) >= 2",
        "query_toks": [
            "SELECT",
            "job_id",
            "FROM",
            "job_history",
            "WHERE",
            "end_date",
            "-",
            "start_date",
            ">",
            "300",
            "GROUP",
            "BY",
            "job_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "job_id",
            "from",
            "job_history",
            "where",
            "end_date",
            "-",
            "start_date",
            ">",
            "value",
            "group",
            "by",
            "job_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "display job ID for those jobs that were done by two or more for more than 300 days.",
        "question_toks": [
            "display",
            "job",
            "ID",
            "for",
            "those",
            "jobs",
            "that",
            "were",
            "done",
            "by",
            "two",
            "or",
            "more",
            "for",
            "more",
            "than",
            "300",
            "days",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        1,
                        [
                            0,
                            27,
                            false
                        ],
                        [
                            0,
                            26,
                            false
                        ]
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_id FROM job_history WHERE end_date - start_date  > 300 GROUP BY job_id HAVING COUNT(*) >= 2",
        "query_toks": [
            "SELECT",
            "job_id",
            "FROM",
            "job_history",
            "WHERE",
            "end_date",
            "-",
            "start_date",
            ">",
            "300",
            "GROUP",
            "BY",
            "job_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "job_id",
            "from",
            "job_history",
            "where",
            "end_date",
            "-",
            "start_date",
            ">",
            "value",
            "group",
            "by",
            "job_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the job ids for jobs done more than once for a period of more than 300 days?",
        "question_toks": [
            "What",
            "are",
            "the",
            "job",
            "ids",
            "for",
            "jobs",
            "done",
            "more",
            "than",
            "once",
            "for",
            "a",
            "period",
            "of",
            "more",
            "than",
            "300",
            "days",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        1,
                        [
                            0,
                            27,
                            false
                        ],
                        [
                            0,
                            26,
                            false
                        ]
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    28,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id FROM job_history GROUP BY employee_id HAVING COUNT(*)  >= 2",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "job_history",
            "GROUP",
            "BY",
            "employee_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "job_history",
            "group",
            "by",
            "employee_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "display the ID for those employees who did two or more jobs in the past.",
        "question_toks": [
            "display",
            "the",
            "ID",
            "for",
            "those",
            "employees",
            "who",
            "did",
            "two",
            "or",
            "more",
            "jobs",
            "in",
            "the",
            "past",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id FROM job_history GROUP BY employee_id HAVING COUNT(*)  >= 2",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "job_history",
            "GROUP",
            "BY",
            "employee_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "job_history",
            "group",
            "by",
            "employee_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the employee ids for employees who have held two or more jobs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "employee",
            "ids",
            "for",
            "employees",
            "who",
            "have",
            "held",
            "two",
            "or",
            "more",
            "jobs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.employee_id ,  T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN locations AS T3 ON T2.location_id  =  T3.location_id JOIN countries AS T4 ON T3.country_id  =  T4.country_id",
        "query_toks": [
            "SELECT",
            "T1.employee_id",
            ",",
            "T4.country_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id",
            "JOIN",
            "countries",
            "AS",
            "T4",
            "ON",
            "T3.country_id",
            "=",
            "T4.country_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "employee_id",
            ",",
            "t4",
            ".",
            "country_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id",
            "join",
            "countries",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "country_id",
            "=",
            "t4",
            ".",
            "country_id"
        ],
        "question": "Find employee with ID and name of the country presently where (s)he is working.",
        "question_toks": [
            "Find",
            "employee",
            "with",
            "ID",
            "and",
            "name",
            "of",
            "the",
            "country",
            "presently",
            "where",
            "(",
            "s",
            ")",
            "he",
            "is",
            "working",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.employee_id ,  T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN locations AS T3 ON T2.location_id  =  T3.location_id JOIN countries AS T4 ON T3.country_id  =  T4.country_id",
        "query_toks": [
            "SELECT",
            "T1.employee_id",
            ",",
            "T4.country_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id",
            "JOIN",
            "countries",
            "AS",
            "T4",
            "ON",
            "T3.country_id",
            "=",
            "T4.country_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "employee_id",
            ",",
            "t4",
            ".",
            "country_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id",
            "join",
            "countries",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "country_id",
            "=",
            "t4",
            ".",
            "country_id"
        ],
        "question": "What are all the employee ids and the names of the countries in which they work?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "employee",
            "ids",
            "and",
            "the",
            "names",
            "of",
            "the",
            "countries",
            "in",
            "which",
            "they",
            "work",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T2.department_name ,  COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id GROUP BY T2.department_name",
        "query_toks": [
            "SELECT",
            "T2.department_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "GROUP",
            "BY",
            "T2.department_name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "department_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "group",
            "by",
            "t2",
            ".",
            "department_name"
        ],
        "question": "display the department name and number of employees in each of the department.",
        "question_toks": [
            "display",
            "the",
            "department",
            "name",
            "and",
            "number",
            "of",
            "employees",
            "in",
            "each",
            "of",
            "the",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T2.department_name ,  COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id GROUP BY T2.department_name",
        "query_toks": [
            "SELECT",
            "T2.department_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "GROUP",
            "BY",
            "T2.department_name"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "department_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "group",
            "by",
            "t2",
            ".",
            "department_name"
        ],
        "question": "Give the name of each department and the number of employees in each.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "each",
            "department",
            "and",
            "the",
            "number",
            "of",
            "employees",
            "in",
            "each",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM  job_history AS T1 JOIN employees AS T2 ON T1.employee_id  =  T2.employee_id WHERE T2.salary  >=  12000",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "job_history",
            "AS",
            "T1",
            "JOIN",
            "employees",
            "AS",
            "T2",
            "ON",
            "T1.employee_id",
            "=",
            "T2.employee_id",
            "WHERE",
            "T2.salary",
            ">",
            "=",
            "12000"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "job_history",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employee_id",
            "=",
            "t2",
            ".",
            "employee_id",
            "where",
            "t2",
            ".",
            "salary",
            ">",
            "=",
            "value"
        ],
        "question": "Can you return all detailed info of jobs which was done by any of the employees who is presently earning a salary on and above 12000?",
        "question_toks": [
            "Can",
            "you",
            "return",
            "all",
            "detailed",
            "info",
            "of",
            "jobs",
            "which",
            "was",
            "done",
            "by",
            "any",
            "of",
            "the",
            "employees",
            "who",
            "is",
            "presently",
            "earning",
            "a",
            "salary",
            "on",
            "and",
            "above",
            "12000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    12000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM  job_history AS T1 JOIN employees AS T2 ON T1.employee_id  =  T2.employee_id WHERE T2.salary  >=  12000",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "job_history",
            "AS",
            "T1",
            "JOIN",
            "employees",
            "AS",
            "T2",
            "ON",
            "T1.employee_id",
            "=",
            "T2.employee_id",
            "WHERE",
            "T2.salary",
            ">",
            "=",
            "12000"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "job_history",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employee_id",
            "=",
            "t2",
            ".",
            "employee_id",
            "where",
            "t2",
            ".",
            "salary",
            ">",
            "=",
            "value"
        ],
        "question": "What is all the job history info done by employees earning a salary greater than or equal to 12000?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "job",
            "history",
            "info",
            "done",
            "by",
            "employees",
            "earning",
            "a",
            "salary",
            "greater",
            "than",
            "or",
            "equal",
            "to",
            "12000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    12000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_title ,  AVG(salary) FROM employees AS T1 JOIN jobs AS T2 ON T1.job_id  =  T2.job_id GROUP BY T2.job_title",
        "query_toks": [
            "SELECT",
            "job_title",
            ",",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "jobs",
            "AS",
            "T2",
            "ON",
            "T1.job_id",
            "=",
            "T2.job_id",
            "GROUP",
            "BY",
            "T2.job_title"
        ],
        "query_toks_no_value": [
            "select",
            "job_title",
            ",",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "jobs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "job_id",
            "=",
            "t2",
            ".",
            "job_id",
            "group",
            "by",
            "t2",
            ".",
            "job_title"
        ],
        "question": "display job title and average salary of employees.",
        "question_toks": [
            "display",
            "job",
            "title",
            "and",
            "average",
            "salary",
            "of",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_title ,  AVG(salary) FROM employees AS T1 JOIN jobs AS T2 ON T1.job_id  =  T2.job_id GROUP BY T2.job_title",
        "query_toks": [
            "SELECT",
            "job_title",
            ",",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "jobs",
            "AS",
            "T2",
            "ON",
            "T1.job_id",
            "=",
            "T2.job_id",
            "GROUP",
            "BY",
            "T2.job_title"
        ],
        "query_toks_no_value": [
            "select",
            "job_title",
            ",",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "jobs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "job_id",
            "=",
            "t2",
            ".",
            "job_id",
            "group",
            "by",
            "t2",
            ".",
            "job_title"
        ],
        "question": "What is the average salary for each job title?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "salary",
            "for",
            "each",
            "job",
            "title",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name FROM employees WHERE salary  >  (SELECT salary FROM employees WHERE employee_id = 163 )",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "employee_id",
            "=",
            "163",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "salary",
            "from",
            "employees",
            "where",
            "employee_id",
            "=",
            "value",
            ")"
        ],
        "question": "What is the full name ( first name and last name ) for those employees who gets more salary than the employee whose id is 163?",
        "question_toks": [
            "What",
            "is",
            "the",
            "full",
            "name",
            "(",
            "first",
            "name",
            "and",
            "last",
            "name",
            ")",
            "for",
            "those",
            "employees",
            "who",
            "gets",
            "more",
            "salary",
            "than",
            "the",
            "employee",
            "whose",
            "id",
            "is",
            "163",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        14,
                                        false
                                    ],
                                    null
                                ],
                                163.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name FROM employees WHERE salary  >  (SELECT salary FROM employees WHERE employee_id = 163 )",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "employee_id",
            "=",
            "163",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "salary",
            "from",
            "employees",
            "where",
            "employee_id",
            "=",
            "value",
            ")"
        ],
        "question": "Provide the full names of employees earning more than the employee with id 163.",
        "question_toks": [
            "Provide",
            "the",
            "full",
            "names",
            "of",
            "employees",
            "earning",
            "more",
            "than",
            "the",
            "employee",
            "with",
            "id",
            "163",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        14,
                                        false
                                    ],
                                    null
                                ],
                                163.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT MIN(salary) ,  department_id FROM employees GROUP BY department_id",
        "query_toks": [
            "SELECT",
            "MIN",
            "(",
            "salary",
            ")",
            ",",
            "department_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "salary",
            ")",
            ",",
            "department_id",
            "from",
            "employees",
            "group",
            "by",
            "department_id"
        ],
        "question": "return the smallest salary for every departments.",
        "question_toks": [
            "return",
            "the",
            "smallest",
            "salary",
            "for",
            "every",
            "departments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT MIN(salary) ,  department_id FROM employees GROUP BY department_id",
        "query_toks": [
            "SELECT",
            "MIN",
            "(",
            "salary",
            ")",
            ",",
            "department_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "salary",
            ")",
            ",",
            "department_id",
            "from",
            "employees",
            "group",
            "by",
            "department_id"
        ],
        "question": "What is the minimum salary in each department?",
        "question_toks": [
            "What",
            "is",
            "the",
            "minimum",
            "salary",
            "in",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  department_id FROM employees WHERE salary IN (SELECT MIN(salary) FROM employees GROUP BY department_id)",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "IN",
            "(",
            "SELECT",
            "MIN",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "department_id",
            "from",
            "employees",
            "where",
            "salary",
            "in",
            "(",
            "select",
            "min",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            ")"
        ],
        "question": "Find the first name and last name and department id for those employees who earn such amount of salary which is the smallest salary of any of the departments.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "and",
            "department",
            "id",
            "for",
            "those",
            "employees",
            "who",
            "earn",
            "such",
            "amount",
            "of",
            "salary",
            "which",
            "is",
            "the",
            "smallest",
            "salary",
            "of",
            "any",
            "of",
            "the",
            "departments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                24,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  department_id FROM employees WHERE salary IN (SELECT MIN(salary) FROM employees GROUP BY department_id)",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "IN",
            "(",
            "SELECT",
            "MIN",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "department_id",
            "from",
            "employees",
            "where",
            "salary",
            "in",
            "(",
            "select",
            "min",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            ")"
        ],
        "question": "What are the full names and department ids for the lowest paid employees across all departments.",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "and",
            "department",
            "ids",
            "for",
            "the",
            "lowest",
            "paid",
            "employees",
            "across",
            "all",
            "departments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                24,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id FROM employees WHERE salary  >  (SELECT AVG(salary) FROM employees)",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "employees",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            ")"
        ],
        "question": "Find the employee id for all employees who earn more than the average salary.",
        "question_toks": [
            "Find",
            "the",
            "employee",
            "id",
            "for",
            "all",
            "employees",
            "who",
            "earn",
            "more",
            "than",
            "the",
            "average",
            "salary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id FROM employees WHERE salary  >  (SELECT AVG(salary) FROM employees)",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "employees",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            ")"
        ],
        "question": "What are the employee ids for employees who make more than the average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "employee",
            "ids",
            "for",
            "employees",
            "who",
            "make",
            "more",
            "than",
            "the",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  salary FROM employees WHERE manager_id  =  (SELECT employee_id FROM employees WHERE first_name  =  'Payam' )",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "manager_id",
            "=",
            "(",
            "SELECT",
            "employee_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "'Payam",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "manager_id",
            "=",
            "(",
            "select",
            "employee_id",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            ")"
        ],
        "question": "display the employee id and salary of all employees who report to Payam (first name).",
        "question_toks": [
            "display",
            "the",
            "employee",
            "id",
            "and",
            "salary",
            "of",
            "all",
            "employees",
            "who",
            "report",
            "to",
            "Payam",
            "(",
            "first",
            "name",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"Payam\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  salary FROM employees WHERE manager_id  =  (SELECT employee_id FROM employees WHERE first_name  =  'Payam' )",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "manager_id",
            "=",
            "(",
            "SELECT",
            "employee_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "'Payam",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "manager_id",
            "=",
            "(",
            "select",
            "employee_id",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the employee ids of employees who report to Payam, and what are their salaries?",
        "question_toks": [
            "What",
            "are",
            "the",
            "employee",
            "ids",
            "of",
            "employees",
            "who",
            "report",
            "to",
            "Payam",
            ",",
            "and",
            "what",
            "are",
            "their",
            "salaries",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"Payam\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.department_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "department_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id"
        ],
        "question": "find the name of all departments that do actually have one or more employees assigned to them.",
        "question_toks": [
            "find",
            "the",
            "name",
            "of",
            "all",
            "departments",
            "that",
            "do",
            "actually",
            "have",
            "one",
            "or",
            "more",
            "employees",
            "assigned",
            "to",
            "them",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.department_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "department_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id"
        ],
        "question": "What are the names of departments that have at least one employee.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "departments",
            "that",
            "have",
            "at",
            "least",
            "one",
            "employee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT DISTINCT * FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id WHERE T1.employee_id  =  T2.manager_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "*",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "WHERE",
            "T1.employee_id",
            "=",
            "T2.manager_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "*",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "where",
            "t1",
            ".",
            "employee_id",
            "=",
            "t2",
            ".",
            "manager_id"
        ],
        "question": "get the details of employees who manage a department.",
        "question_toks": [
            "get",
            "the",
            "details",
            "of",
            "employees",
            "who",
            "manage",
            "a",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        8,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT DISTINCT * FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id WHERE T1.employee_id  =  T2.manager_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "*",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "WHERE",
            "T1.employee_id",
            "=",
            "T2.manager_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "*",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "where",
            "t1",
            ".",
            "employee_id",
            "=",
            "t2",
            ".",
            "manager_id"
        ],
        "question": "What is all the information regarding employees who are managers?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "regarding",
            "employees",
            "who",
            "are",
            "managers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        8,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM  departments WHERE department_name  =  'Marketing'",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "departments",
            "WHERE",
            "department_name",
            "=",
            "'Marketing",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "departments",
            "where",
            "department_name",
            "=",
            "value"
        ],
        "question": "display all the information about the department Marketing.",
        "question_toks": [
            "display",
            "all",
            "the",
            "information",
            "about",
            "the",
            "department",
            "Marketing",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Marketing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM  departments WHERE department_name  =  'Marketing'",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "departments",
            "WHERE",
            "department_name",
            "=",
            "'Marketing",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "departments",
            "where",
            "department_name",
            "=",
            "value"
        ],
        "question": "What is all the information about the Marketing department?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "about",
            "the",
            "Marketing",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Marketing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id FROM job_history GROUP BY employee_id HAVING COUNT(*)  >= 2",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "job_history",
            "GROUP",
            "BY",
            "employee_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "job_history",
            "group",
            "by",
            "employee_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "display the ID for those employees who did two or more jobs in the past.",
        "question_toks": [
            "display",
            "the",
            "ID",
            "for",
            "those",
            "employees",
            "who",
            "did",
            "two",
            "or",
            "more",
            "jobs",
            "in",
            "the",
            "past",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id FROM job_history GROUP BY employee_id HAVING COUNT(*)  >= 2",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "job_history",
            "GROUP",
            "BY",
            "employee_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "job_history",
            "group",
            "by",
            "employee_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the employee ids for those who had two or more jobs.",
        "question_toks": [
            "What",
            "are",
            "the",
            "employee",
            "ids",
            "for",
            "those",
            "who",
            "had",
            "two",
            "or",
            "more",
            "jobs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT DISTINCT department_id FROM employees GROUP BY department_id ,  manager_id HAVING COUNT(employee_id)  >= 4",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "department_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            ",",
            "manager_id",
            "HAVING",
            "COUNT",
            "(",
            "employee_id",
            ")",
            ">",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "department_id",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            ",",
            "manager_id",
            "having",
            "count",
            "(",
            "employee_id",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the unique ids of those departments where any manager is managing 4 or more employees.",
        "question_toks": [
            "What",
            "are",
            "the",
            "unique",
            "ids",
            "of",
            "those",
            "departments",
            "where",
            "any",
            "manager",
            "is",
            "managing",
            "4",
            "or",
            "more",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ],
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            14,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT DISTINCT department_id FROM employees GROUP BY department_id ,  manager_id HAVING COUNT(employee_id)  >= 4",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "department_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            ",",
            "manager_id",
            "HAVING",
            "COUNT",
            "(",
            "employee_id",
            ")",
            ">",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "department_id",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            ",",
            "manager_id",
            "having",
            "count",
            "(",
            "employee_id",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Give the distinct department ids of departments in which a manager is in charge of 4 or more employees?",
        "question_toks": [
            "Give",
            "the",
            "distinct",
            "department",
            "ids",
            "of",
            "departments",
            "in",
            "which",
            "a",
            "manager",
            "is",
            "in",
            "charge",
            "of",
            "4",
            "or",
            "more",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ],
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            14,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_id FROM employees GROUP BY job_id HAVING AVG(salary) > 8000",
        "query_toks": [
            "SELECT",
            "job_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "job_id",
            "HAVING",
            "AVG",
            "(",
            "salary",
            ")",
            ">",
            "8000"
        ],
        "query_toks_no_value": [
            "select",
            "job_id",
            "from",
            "employees",
            "group",
            "by",
            "job_id",
            "having",
            "avg",
            "(",
            "salary",
            ")",
            ">",
            "value"
        ],
        "question": "Find the job ID for those jobs which average salary is above 8000.",
        "question_toks": [
            "Find",
            "the",
            "job",
            "ID",
            "for",
            "those",
            "jobs",
            "which",
            "average",
            "salary",
            "is",
            "above",
            "8000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            21,
                            false
                        ],
                        null
                    ],
                    8000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT job_id FROM employees GROUP BY job_id HAVING AVG(salary) > 8000",
        "query_toks": [
            "SELECT",
            "job_id",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "job_id",
            "HAVING",
            "AVG",
            "(",
            "salary",
            ")",
            ">",
            "8000"
        ],
        "query_toks_no_value": [
            "select",
            "job_id",
            "from",
            "employees",
            "group",
            "by",
            "job_id",
            "having",
            "avg",
            "(",
            "salary",
            ")",
            ">",
            "value"
        ],
        "question": "What are the job ids corresponding to jobs with average salary above 8000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "job",
            "ids",
            "corresponding",
            "to",
            "jobs",
            "with",
            "average",
            "salary",
            "above",
            "8000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            21,
                            false
                        ],
                        null
                    ],
                    8000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.employee_id ,  T2.job_title FROM employees AS T1 JOIN jobs AS T2 ON T1.job_id  =  T2.job_id WHERE T1.department_id = 80",
        "query_toks": [
            "SELECT",
            "T1.employee_id",
            ",",
            "T2.job_title",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "jobs",
            "AS",
            "T2",
            "ON",
            "T1.job_id",
            "=",
            "T2.job_id",
            "WHERE",
            "T1.department_id",
            "=",
            "80"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "employee_id",
            ",",
            "t2",
            ".",
            "job_title",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "jobs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "job_id",
            "=",
            "t2",
            ".",
            "job_id",
            "where",
            "t1",
            ".",
            "department_id",
            "=",
            "value"
        ],
        "question": "display the employee ID and job name for all those jobs in department 80.",
        "question_toks": [
            "display",
            "the",
            "employee",
            "ID",
            "and",
            "job",
            "name",
            "for",
            "all",
            "those",
            "jobs",
            "in",
            "department",
            "80",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    80.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.employee_id ,  T2.job_title FROM employees AS T1 JOIN jobs AS T2 ON T1.job_id  =  T2.job_id WHERE T1.department_id = 80",
        "query_toks": [
            "SELECT",
            "T1.employee_id",
            ",",
            "T2.job_title",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "jobs",
            "AS",
            "T2",
            "ON",
            "T1.job_id",
            "=",
            "T2.job_id",
            "WHERE",
            "T1.department_id",
            "=",
            "80"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "employee_id",
            ",",
            "t2",
            ".",
            "job_title",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "jobs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "job_id",
            "=",
            "t2",
            ".",
            "job_id",
            "where",
            "t1",
            ".",
            "department_id",
            "=",
            "value"
        ],
        "question": "what are the employee ids and job titles for employees in department 80?",
        "question_toks": [
            "what",
            "are",
            "the",
            "employee",
            "ids",
            "and",
            "job",
            "titles",
            "for",
            "employees",
            "in",
            "department",
            "80",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    80.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T1.job_id FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id WHERE T2.department_name  =  'Finance'",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.job_id",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "WHERE",
            "T2.department_name",
            "=",
            "'Finance",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "job_id",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "where",
            "t2",
            ".",
            "department_name",
            "=",
            "value"
        ],
        "question": "What is the first name and job id for all employees in the Finance department?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "and",
            "job",
            "id",
            "for",
            "all",
            "employees",
            "in",
            "the",
            "Finance",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Finance\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T1.job_id FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id WHERE T2.department_name  =  'Finance'",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.job_id",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "WHERE",
            "T2.department_name",
            "=",
            "'Finance",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "job_id",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "where",
            "t2",
            ".",
            "department_name",
            "=",
            "value"
        ],
        "question": "Give the first name and job id for all employees in the Finance department.",
        "question_toks": [
            "Give",
            "the",
            "first",
            "name",
            "and",
            "job",
            "id",
            "for",
            "all",
            "employees",
            "in",
            "the",
            "Finance",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Finance\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE salary BETWEEN (SELECT MIN(salary) FROM employees) AND 2500",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "BETWEEN",
            "(",
            "SELECT",
            "MIN",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            ")",
            "AND",
            "2500"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "salary",
            "between",
            "(",
            "select",
            "min",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            ")",
            "and",
            "value"
        ],
        "question": "display all the information of the employees whose salary if within the range of smallest salary and 2500.",
        "question_toks": [
            "display",
            "all",
            "the",
            "information",
            "of",
            "the",
            "employees",
            "whose",
            "salary",
            "if",
            "within",
            "the",
            "range",
            "of",
            "smallest",
            "salary",
            "and",
            "2500",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    2500.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE salary BETWEEN (SELECT MIN(salary) FROM employees) AND 2500",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "BETWEEN",
            "(",
            "SELECT",
            "MIN",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            ")",
            "AND",
            "2500"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "salary",
            "between",
            "(",
            "select",
            "min",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            ")",
            "and",
            "value"
        ],
        "question": "What is all the information regarding employees with salaries above the minimum and under 2500?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "regarding",
            "employees",
            "with",
            "salaries",
            "above",
            "the",
            "minimum",
            "and",
            "under",
            "2500",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    2500.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE department_id NOT IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "departments",
            "WHERE",
            "manager_id",
            "BETWEEN",
            "100",
            "AND",
            "200",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "department_id",
            "not",
            "in",
            "(",
            "select",
            "department_id",
            "from",
            "departments",
            "where",
            "manager_id",
            "between",
            "value",
            "and",
            "value",
            ")"
        ],
        "question": "Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "the",
            "employees",
            "who",
            "does",
            "not",
            "work",
            "in",
            "those",
            "departments",
            "where",
            "some",
            "employees",
            "works",
            "whose",
            "manager",
            "id",
            "within",
            "the",
            "range",
            "100",
            "and",
            "200",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                1,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                100.0,
                                200.0
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE department_id NOT IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "departments",
            "WHERE",
            "manager_id",
            "BETWEEN",
            "100",
            "AND",
            "200",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "department_id",
            "not",
            "in",
            "(",
            "select",
            "department_id",
            "from",
            "departments",
            "where",
            "manager_id",
            "between",
            "value",
            "and",
            "value",
            ")"
        ],
        "question": "What are the ids for employees who do not work in departments with managers that have ids between 100 and 200?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "for",
            "employees",
            "who",
            "do",
            "not",
            "work",
            "in",
            "departments",
            "with",
            "managers",
            "that",
            "have",
            "ids",
            "between",
            "100",
            "and",
            "200",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                1,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                100.0,
                                200.0
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  hire_date FROM employees WHERE department_id  =  (SELECT department_id FROM employees WHERE first_name  =  \"Clara\")",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "=",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Clara",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            "from",
            "employees",
            "where",
            "department_id",
            "=",
            "(",
            "select",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            ")"
        ],
        "question": "display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara.",
        "question_toks": [
            "display",
            "the",
            "employee",
            "name",
            "(",
            "first",
            "name",
            "and",
            "last",
            "name",
            ")",
            "and",
            "hire",
            "date",
            "for",
            "all",
            "employees",
            "in",
            "the",
            "same",
            "department",
            "as",
            "Clara",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"Clara\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  hire_date FROM employees WHERE department_id  =  (SELECT department_id FROM employees WHERE first_name  =  \"Clara\")",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "=",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Clara",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            "from",
            "employees",
            "where",
            "department_id",
            "=",
            "(",
            "select",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the full names and hire dates for employees in the same department as someone with the first name Clara?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "and",
            "hire",
            "dates",
            "for",
            "employees",
            "in",
            "the",
            "same",
            "department",
            "as",
            "someone",
            "with",
            "the",
            "first",
            "name",
            "Clara",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"Clara\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  hire_date FROM employees WHERE department_id  =  ( SELECT department_id FROM employees WHERE first_name  =  \"Clara\") AND first_name != \"Clara\"",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "=",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Clara",
            "''",
            ")",
            "AND",
            "first_name",
            "!",
            "=",
            "``",
            "Clara",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            "from",
            "employees",
            "where",
            "department_id",
            "=",
            "(",
            "select",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            ")",
            "and",
            "first_name",
            "!",
            "=",
            "value"
        ],
        "question": "display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara.",
        "question_toks": [
            "display",
            "the",
            "employee",
            "name",
            "(",
            "first",
            "name",
            "and",
            "last",
            "name",
            ")",
            "and",
            "hire",
            "date",
            "for",
            "all",
            "employees",
            "in",
            "the",
            "same",
            "department",
            "as",
            "Clara",
            "excluding",
            "Clara",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"Clara\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Clara\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  hire_date FROM employees WHERE department_id  =  ( SELECT department_id FROM employees WHERE first_name  =  \"Clara\") AND first_name != \"Clara\"",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "=",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Clara",
            "''",
            ")",
            "AND",
            "first_name",
            "!",
            "=",
            "``",
            "Clara",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "hire_date",
            "from",
            "employees",
            "where",
            "department_id",
            "=",
            "(",
            "select",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "=",
            "value",
            ")",
            "and",
            "first_name",
            "!",
            "=",
            "value"
        ],
        "question": "What are the full names and hire dates for employees in the same department as someone with the first name Clara, not including Clara?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "and",
            "hire",
            "dates",
            "for",
            "employees",
            "in",
            "the",
            "same",
            "department",
            "as",
            "someone",
            "with",
            "the",
            "first",
            "name",
            "Clara",
            ",",
            "not",
            "including",
            "Clara",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"Clara\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Clara\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  first_name ,  last_name FROM employees WHERE department_id IN ( SELECT department_id FROM employees WHERE first_name LIKE '%T%' )",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "IN",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "LIKE",
            "'",
            "%",
            "T",
            "%",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "where",
            "department_id",
            "in",
            "(",
            "select",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "like",
            "value",
            ")"
        ],
        "question": "display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a \u2019T\u2019.",
        "question_toks": [
            "display",
            "the",
            "employee",
            "number",
            "and",
            "name",
            "(",
            "first",
            "name",
            "and",
            "last",
            "name",
            ")",
            "for",
            "all",
            "employees",
            "who",
            "work",
            "in",
            "a",
            "department",
            "with",
            "any",
            "employee",
            "whose",
            "name",
            "contains",
            "a",
            "\u2019T\u2019",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                9,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"%T%\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  first_name ,  last_name FROM employees WHERE department_id IN ( SELECT department_id FROM employees WHERE first_name LIKE '%T%' )",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "employees",
            "WHERE",
            "department_id",
            "IN",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "LIKE",
            "'",
            "%",
            "T",
            "%",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            "from",
            "employees",
            "where",
            "department_id",
            "in",
            "(",
            "select",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "like",
            "value",
            ")"
        ],
        "question": "What are the ids and full names for employees who work in a department that has someone with a first name that contains the letter T?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "full",
            "names",
            "for",
            "employees",
            "who",
            "work",
            "in",
            "a",
            "department",
            "that",
            "has",
            "someone",
            "with",
            "a",
            "first",
            "name",
            "that",
            "contains",
            "the",
            "letter",
            "T",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                9,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"%T%\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  first_name ,  last_name ,  salary FROM employees WHERE salary  >  ( SELECT AVG (salary) FROM employees ) AND department_id IN ( SELECT department_id FROM employees WHERE first_name LIKE '%J%')",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            ")",
            "AND",
            "department_id",
            "IN",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "LIKE",
            "'",
            "%",
            "J",
            "%",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            ")",
            "and",
            "department_id",
            "in",
            "(",
            "select",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "like",
            "value",
            ")"
        ],
        "question": "display the employee number, name( first name and last name ), and salary for all employees who earn more than the average salary and who work in a department with any employee with a 'J' in their first name.",
        "question_toks": [
            "display",
            "the",
            "employee",
            "number",
            ",",
            "name",
            "(",
            "first",
            "name",
            "and",
            "last",
            "name",
            ")",
            ",",
            "and",
            "salary",
            "for",
            "all",
            "employees",
            "who",
            "earn",
            "more",
            "than",
            "the",
            "average",
            "salary",
            "and",
            "who",
            "work",
            "in",
            "a",
            "department",
            "with",
            "any",
            "employee",
            "with",
            "a",
            "'J",
            "'",
            "in",
            "their",
            "first",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                9,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"%J%\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  first_name ,  last_name ,  salary FROM employees WHERE salary  >  ( SELECT AVG (salary) FROM employees ) AND department_id IN ( SELECT department_id FROM employees WHERE first_name LIKE '%J%')",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "AVG",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            ")",
            "AND",
            "department_id",
            "IN",
            "(",
            "SELECT",
            "department_id",
            "FROM",
            "employees",
            "WHERE",
            "first_name",
            "LIKE",
            "'",
            "%",
            "J",
            "%",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            ")",
            "and",
            "department_id",
            "in",
            "(",
            "select",
            "department_id",
            "from",
            "employees",
            "where",
            "first_name",
            "like",
            "value",
            ")"
        ],
        "question": "What are the ids, full names, and salaries for employees making more than average and who work in a department with employees who have the letter J in their first name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "full",
            "names",
            ",",
            "and",
            "salaries",
            "for",
            "employees",
            "making",
            "more",
            "than",
            "average",
            "and",
            "who",
            "work",
            "in",
            "a",
            "department",
            "with",
            "employees",
            "who",
            "have",
            "the",
            "letter",
            "J",
            "in",
            "their",
            "first",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                9,
                                [
                                    0,
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "\"%J%\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  job_id FROM employees WHERE salary  <  ( SELECT min(salary) FROM employees WHERE job_id  =  'MK_MAN' )",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "job_id",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "WHERE",
            "job_id",
            "=",
            "'MK_MAN",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "job_id",
            "from",
            "employees",
            "where",
            "salary",
            "<",
            "(",
            "select",
            "min",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "where",
            "job_id",
            "=",
            "value",
            ")"
        ],
        "question": "display the employee number and job id for all employees whose salary is smaller than any salary of those employees whose job title is MK_MAN.",
        "question_toks": [
            "display",
            "the",
            "employee",
            "number",
            "and",
            "job",
            "id",
            "for",
            "all",
            "employees",
            "whose",
            "salary",
            "is",
            "smaller",
            "than",
            "any",
            "salary",
            "of",
            "those",
            "employees",
            "whose",
            "job",
            "title",
            "is",
            "MK_MAN",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        20,
                                        false
                                    ],
                                    null
                                ],
                                "\"MK_MAN\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  job_id FROM employees WHERE salary  <  ( SELECT min(salary) FROM employees WHERE job_id  =  'MK_MAN' )",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "job_id",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "WHERE",
            "job_id",
            "=",
            "'MK_MAN",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "job_id",
            "from",
            "employees",
            "where",
            "salary",
            "<",
            "(",
            "select",
            "min",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "where",
            "job_id",
            "=",
            "value",
            ")"
        ],
        "question": "What are the employee ids and job ids for employees who make less than the lowest earning employee with title MK_MAN?",
        "question_toks": [
            "What",
            "are",
            "the",
            "employee",
            "ids",
            "and",
            "job",
            "ids",
            "for",
            "employees",
            "who",
            "make",
            "less",
            "than",
            "the",
            "lowest",
            "earning",
            "employee",
            "with",
            "title",
            "MK_MAN",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        20,
                                        false
                                    ],
                                    null
                                ],
                                "\"MK_MAN\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  first_name ,  last_name ,  job_id FROM employees WHERE salary  >  ( SELECT max(salary) FROM employees WHERE job_id  =  'PU_MAN' )",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            ",",
            "job_id",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "WHERE",
            "job_id",
            "=",
            "'PU_MAN",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            ",",
            "job_id",
            "from",
            "employees",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "where",
            "job_id",
            "=",
            "value",
            ")"
        ],
        "question": "display the employee number, name( first name and last name ) and job title for all employees whose salary is more than any salary of those employees whose job title is PU_MAN.",
        "question_toks": [
            "display",
            "the",
            "employee",
            "number",
            ",",
            "name",
            "(",
            "first",
            "name",
            "and",
            "last",
            "name",
            ")",
            "and",
            "job",
            "title",
            "for",
            "all",
            "employees",
            "whose",
            "salary",
            "is",
            "more",
            "than",
            "any",
            "salary",
            "of",
            "those",
            "employees",
            "whose",
            "job",
            "title",
            "is",
            "PU_MAN",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        20,
                                        false
                                    ],
                                    null
                                ],
                                "\"PU_MAN\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT employee_id ,  first_name ,  last_name ,  job_id FROM employees WHERE salary  >  ( SELECT max(salary) FROM employees WHERE job_id  =  'PU_MAN' )",
        "query_toks": [
            "SELECT",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            ",",
            "job_id",
            "FROM",
            "employees",
            "WHERE",
            "salary",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "WHERE",
            "job_id",
            "=",
            "'PU_MAN",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            ",",
            "first_name",
            ",",
            "last_name",
            ",",
            "job_id",
            "from",
            "employees",
            "where",
            "salary",
            ">",
            "(",
            "select",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "where",
            "job_id",
            "=",
            "value",
            ")"
        ],
        "question": "What are the employee ids, full names, and job ids for employees who make more than the highest earning employee with title PU_MAN?",
        "question_toks": [
            "What",
            "are",
            "the",
            "employee",
            "ids",
            ",",
            "full",
            "names",
            ",",
            "and",
            "job",
            "ids",
            "for",
            "employees",
            "who",
            "make",
            "more",
            "than",
            "the",
            "highest",
            "earning",
            "employee",
            "with",
            "title",
            "PU_MAN",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        20,
                                        false
                                    ],
                                    null
                                ],
                                "\"PU_MAN\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT department_id ,  SUM(salary) FROM employees GROUP BY department_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "department_id",
            ",",
            "SUM",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "department_id",
            ",",
            "sum",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "display the department id and the total salary for those departments which contains at least two employees.",
        "question_toks": [
            "display",
            "the",
            "department",
            "id",
            "and",
            "the",
            "total",
            "salary",
            "for",
            "those",
            "departments",
            "which",
            "contains",
            "at",
            "least",
            "two",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT department_id ,  SUM(salary) FROM employees GROUP BY department_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "department_id",
            ",",
            "SUM",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "department_id",
            ",",
            "sum",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "group",
            "by",
            "department_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are total salaries and department id for each department that has more than 2 employees?",
        "question_toks": [
            "What",
            "are",
            "total",
            "salaries",
            "and",
            "department",
            "id",
            "for",
            "each",
            "department",
            "that",
            "has",
            "more",
            "than",
            "2",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE employee_id NOT IN (SELECT employee_id FROM job_history)",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "employee_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "employee_id",
            "FROM",
            "job_history",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "employee_id",
            "not",
            "in",
            "(",
            "select",
            "employee_id",
            "from",
            "job_history",
            ")"
        ],
        "question": "display all the information of those employees who did not have any job in the past.",
        "question_toks": [
            "display",
            "all",
            "the",
            "information",
            "of",
            "those",
            "employees",
            "who",
            "did",
            "not",
            "have",
            "any",
            "job",
            "in",
            "the",
            "past",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT * FROM employees WHERE employee_id NOT IN (SELECT employee_id FROM job_history)",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "employees",
            "WHERE",
            "employee_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "employee_id",
            "FROM",
            "job_history",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "employees",
            "where",
            "employee_id",
            "not",
            "in",
            "(",
            "select",
            "employee_id",
            "from",
            "job_history",
            ")"
        ],
        "question": "What is all the information about employees who have never had a job in the past?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "about",
            "employees",
            "who",
            "have",
            "never",
            "had",
            "a",
            "job",
            "in",
            "the",
            "past",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,   last_name ,   salary ,  department_id ,  MAX(salary) FROM employees GROUP BY department_id",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            ",",
            "department_id",
            ",",
            "MAX",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            ",",
            "department_id",
            ",",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "group",
            "by",
            "department_id"
        ],
        "question": "display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.",
        "question_toks": [
            "display",
            "the",
            "department",
            "ID",
            ",",
            "full",
            "name",
            "(",
            "first",
            "and",
            "last",
            "name",
            ")",
            ",",
            "salary",
            "for",
            "those",
            "employees",
            "who",
            "is",
            "highest",
            "salary",
            "in",
            "every",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,   last_name ,   salary ,  department_id ,  MAX(salary) FROM employees GROUP BY department_id",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            ",",
            "department_id",
            ",",
            "MAX",
            "(",
            "salary",
            ")",
            "FROM",
            "employees",
            "GROUP",
            "BY",
            "department_id"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            ",",
            "department_id",
            ",",
            "max",
            "(",
            "salary",
            ")",
            "from",
            "employees",
            "group",
            "by",
            "department_id"
        ],
        "question": "What are the department ids, full names, and salaries for employees who make the most in their departments?",
        "question_toks": [
            "What",
            "are",
            "the",
            "department",
            "ids",
            ",",
            "full",
            "names",
            ",",
            "and",
            "salaries",
            "for",
            "employees",
            "who",
            "make",
            "the",
            "most",
            "in",
            "their",
            "departments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T2.department_name ,  T3.city ,  T3.state_province FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN locations AS T3 ON T2.location_id  =  T3.location_id",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T2.department_name",
            ",",
            "T3.city",
            ",",
            "T3.state_province",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t2",
            ".",
            "department_name",
            ",",
            "t3",
            ".",
            "city",
            ",",
            "t3",
            ".",
            "state_province",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id"
        ],
        "question": "display the first and last name, department, city, and state province for each employee.",
        "question_toks": [
            "display",
            "the",
            "first",
            "and",
            "last",
            "name",
            ",",
            "department",
            ",",
            "city",
            ",",
            "and",
            "state",
            "province",
            "for",
            "each",
            "employee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T2.department_name ,  T3.city ,  T3.state_province FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN locations AS T3 ON T2.location_id  =  T3.location_id",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T2.department_name",
            ",",
            "T3.city",
            ",",
            "T3.state_province",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t2",
            ".",
            "department_name",
            ",",
            "t3",
            ".",
            "city",
            ",",
            "t3",
            ".",
            "state_province",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id"
        ],
        "question": "What are the full names, departments, cities, and state provinces for each employee?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            ",",
            "departments",
            ",",
            "cities",
            ",",
            "and",
            "state",
            "provinces",
            "for",
            "each",
            "employee",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T3.city FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN locations AS T3 ON T2.location_id  =  T3.location_id WHERE T1.first_name LIKE '%z%'",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T3.city",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id",
            "WHERE",
            "T1.first_name",
            "LIKE",
            "'",
            "%",
            "z",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t3",
            ".",
            "city",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id",
            "where",
            "t1",
            ".",
            "first_name",
            "like",
            "value"
        ],
        "question": "display those employees who contain a letter z to their first name and also display their last name, city.",
        "question_toks": [
            "display",
            "those",
            "employees",
            "who",
            "contain",
            "a",
            "letter",
            "z",
            "to",
            "their",
            "first",
            "name",
            "and",
            "also",
            "display",
            "their",
            "last",
            "name",
            ",",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%z%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T1.last_name ,  T3.city FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN locations AS T3 ON T2.location_id  =  T3.location_id WHERE T1.first_name LIKE '%z%'",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T3.city",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id",
            "WHERE",
            "T1.first_name",
            "LIKE",
            "'",
            "%",
            "z",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t3",
            ".",
            "city",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id",
            "where",
            "t1",
            ".",
            "first_name",
            "like",
            "value"
        ],
        "question": "What are the full names and cities of employees who have the letter Z in their first names?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "and",
            "cities",
            "of",
            "employees",
            "who",
            "have",
            "the",
            "letter",
            "Z",
            "in",
            "their",
            "first",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%z%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.department_name ,  T2.city ,  T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id  =  T1.location_id",
        "query_toks": [
            "SELECT",
            "T1.department_name",
            ",",
            "T2.city",
            ",",
            "T2.state_province",
            "FROM",
            "departments",
            "AS",
            "T1",
            "JOIN",
            "locations",
            "AS",
            "T2",
            "ON",
            "T2.location_id",
            "=",
            "T1.location_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "department_name",
            ",",
            "t2",
            ".",
            "city",
            ",",
            "t2",
            ".",
            "state_province",
            "from",
            "departments",
            "as",
            "t1",
            "join",
            "locations",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t1",
            ".",
            "location_id"
        ],
        "question": "display the department name, city, and state province for each department.",
        "question_toks": [
            "display",
            "the",
            "department",
            "name",
            ",",
            "city",
            ",",
            "and",
            "state",
            "province",
            "for",
            "each",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.department_name ,  T2.city ,  T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id  =  T1.location_id",
        "query_toks": [
            "SELECT",
            "T1.department_name",
            ",",
            "T2.city",
            ",",
            "T2.state_province",
            "FROM",
            "departments",
            "AS",
            "T1",
            "JOIN",
            "locations",
            "AS",
            "T2",
            "ON",
            "T2.location_id",
            "=",
            "T1.location_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "department_name",
            ",",
            "t2",
            ".",
            "city",
            ",",
            "t2",
            ".",
            "state_province",
            "from",
            "departments",
            "as",
            "t1",
            "join",
            "locations",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t1",
            ".",
            "location_id"
        ],
        "question": "What are the department names, cities, and state provinces for each department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "department",
            "names",
            ",",
            "cities",
            ",",
            "and",
            "state",
            "provinces",
            "for",
            "each",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T1.last_name , T1.employee_id ,  T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN locations AS T3 ON T2.location_id  =  T3.location_id JOIN countries AS T4 ON T3.country_id  =  T4.country_id",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T1.employee_id",
            ",",
            "T4.country_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id",
            "JOIN",
            "countries",
            "AS",
            "T4",
            "ON",
            "T3.country_id",
            "=",
            "T4.country_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "employee_id",
            ",",
            "t4",
            ".",
            "country_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id",
            "join",
            "countries",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "country_id",
            "=",
            "t4",
            ".",
            "country_id"
        ],
        "question": "display the full name (first and last name ) of employee with ID and name of the country presently where (s)he is working.",
        "question_toks": [
            "display",
            "the",
            "full",
            "name",
            "(",
            "first",
            "and",
            "last",
            "name",
            ")",
            "of",
            "employee",
            "with",
            "ID",
            "and",
            "name",
            "of",
            "the",
            "country",
            "presently",
            "where",
            "(",
            "s",
            ")",
            "he",
            "is",
            "working",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT T1.first_name ,  T1.last_name , T1.employee_id ,  T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN locations AS T3 ON T2.location_id  =  T3.location_id JOIN countries AS T4 ON T3.country_id  =  T4.country_id",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            ",",
            "T1.employee_id",
            ",",
            "T4.country_name",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id",
            "JOIN",
            "countries",
            "AS",
            "T4",
            "ON",
            "T3.country_id",
            "=",
            "T4.country_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            ",",
            "t1",
            ".",
            "employee_id",
            ",",
            "t4",
            ".",
            "country_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id",
            "join",
            "countries",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "country_id",
            "=",
            "t4",
            ".",
            "country_id"
        ],
        "question": "What the full names, ids of each employee and the name of the country they are in?",
        "question_toks": [
            "What",
            "the",
            "full",
            "names",
            ",",
            "ids",
            "of",
            "each",
            "employee",
            "and",
            "the",
            "name",
            "of",
            "the",
            "country",
            "they",
            "are",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT department_name ,  COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id GROUP BY department_name",
        "query_toks": [
            "SELECT",
            "department_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "GROUP",
            "BY",
            "department_name"
        ],
        "query_toks_no_value": [
            "select",
            "department_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "group",
            "by",
            "department_name"
        ],
        "question": "display the department name and number of employees in each of the department.",
        "question_toks": [
            "display",
            "the",
            "department",
            "name",
            "and",
            "number",
            "of",
            "employees",
            "in",
            "each",
            "of",
            "the",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT department_name ,  COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id GROUP BY department_name",
        "query_toks": [
            "SELECT",
            "department_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "GROUP",
            "BY",
            "department_name"
        ],
        "query_toks_no_value": [
            "select",
            "department_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "group",
            "by",
            "department_name"
        ],
        "question": "What are the department names and how many employees work in each of them?",
        "question_toks": [
            "What",
            "are",
            "the",
            "department",
            "names",
            "and",
            "how",
            "many",
            "employees",
            "work",
            "in",
            "each",
            "of",
            "them",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  salary FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN  locations AS T3 ON T2.location_id  =  T3.location_id WHERE  T3.city  =  'London'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id",
            "WHERE",
            "T3.city",
            "=",
            "'London",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id",
            "where",
            "t3",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "display the full name (first and last name), and salary of those employees who working in any department located in London.",
        "question_toks": [
            "display",
            "the",
            "full",
            "name",
            "(",
            "first",
            "and",
            "last",
            "name",
            ")",
            ",",
            "and",
            "salary",
            "of",
            "those",
            "employees",
            "who",
            "working",
            "in",
            "any",
            "department",
            "located",
            "in",
            "London",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hr_1",
        "query": "SELECT first_name ,  last_name ,  salary FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id JOIN  locations AS T3 ON T2.location_id  =  T3.location_id WHERE  T3.city  =  'London'",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "FROM",
            "employees",
            "AS",
            "T1",
            "JOIN",
            "departments",
            "AS",
            "T2",
            "ON",
            "T1.department_id",
            "=",
            "T2.department_id",
            "JOIN",
            "locations",
            "AS",
            "T3",
            "ON",
            "T2.location_id",
            "=",
            "T3.location_id",
            "WHERE",
            "T3.city",
            "=",
            "'London",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            ",",
            "salary",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "departments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department_id",
            "=",
            "t2",
            ".",
            "department_id",
            "join",
            "locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_id",
            "=",
            "t3",
            ".",
            "location_id",
            "where",
            "t3",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "What are full names and salaries of employees working in the city of London?",
        "question_toks": [
            "What",
            "are",
            "full",
            "names",
            "and",
            "salaries",
            "of",
            "employees",
            "working",
            "in",
            "the",
            "city",
            "of",
            "London",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name ,  releasedate FROM song ORDER BY releasedate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "song_name",
            ",",
            "releasedate",
            "FROM",
            "song",
            "ORDER",
            "BY",
            "releasedate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            ",",
            "releasedate",
            "from",
            "song",
            "order",
            "by",
            "releasedate",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the song that was released in the most recent year?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "song",
            "that",
            "was",
            "released",
            "in",
            "the",
            "most",
            "recent",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name ,  releasedate FROM song ORDER BY releasedate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "song_name",
            ",",
            "releasedate",
            "FROM",
            "song",
            "ORDER",
            "BY",
            "releasedate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            ",",
            "releasedate",
            "from",
            "song",
            "order",
            "by",
            "releasedate",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the song that was released most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "song",
            "that",
            "was",
            "released",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM files ORDER BY duration DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "files",
            "ORDER",
            "BY",
            "duration",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "files",
            "order",
            "by",
            "duration",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the longest song?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "longest",
            "song",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM files ORDER BY duration DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "files",
            "ORDER",
            "BY",
            "duration",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "files",
            "order",
            "by",
            "duration",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id of the song that lasts the longest.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "song",
            "that",
            "lasts",
            "the",
            "longest",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song WHERE languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value"
        ],
        "question": "Find the names of all English songs.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "English",
            "songs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song WHERE languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value"
        ],
        "question": "What are the names of all songs in English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "songs",
            "in",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM files WHERE formats  =  \"mp3\"",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "files",
            "WHERE",
            "formats",
            "=",
            "``",
            "mp3",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "files",
            "where",
            "formats",
            "=",
            "value"
        ],
        "question": "What are the id of songs whose format is mp3.",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "of",
            "songs",
            "whose",
            "format",
            "is",
            "mp3",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp3\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM files WHERE formats  =  \"mp3\"",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "files",
            "WHERE",
            "formats",
            "=",
            "``",
            "mp3",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "files",
            "where",
            "formats",
            "=",
            "value"
        ],
        "question": "What are the id of all the files in mp3 format?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "of",
            "all",
            "the",
            "files",
            "in",
            "mp3",
            "format",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp3\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.rating  >  9",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.artist_name",
            ",",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.rating",
            ">",
            "9"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "List the name and country of origin for all singers who have produced songs with rating above 9.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "country",
            "of",
            "origin",
            "for",
            "all",
            "singers",
            "who",
            "have",
            "produced",
            "songs",
            "with",
            "rating",
            "above",
            "9",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    9.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.rating  >  9",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.artist_name",
            ",",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.rating",
            ">",
            "9"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "What are the different names and countries of origins for all artists whose song ratings are above 9?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "and",
            "countries",
            "of",
            "origins",
            "for",
            "all",
            "artists",
            "whose",
            "song",
            "ratings",
            "are",
            "above",
            "9",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    9.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT T1.file_size ,  T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T2.resolution  <  800",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.file_size",
            ",",
            "T1.formats",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T2.resolution",
            "<",
            "800"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "file_size",
            ",",
            "t1",
            ".",
            "formats",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t2",
            ".",
            "resolution",
            "<",
            "value"
        ],
        "question": "List the file size and format for all songs that have resolution lower than 800.",
        "question_toks": [
            "List",
            "the",
            "file",
            "size",
            "and",
            "format",
            "for",
            "all",
            "songs",
            "that",
            "have",
            "resolution",
            "lower",
            "than",
            "800",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    800.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT T1.file_size ,  T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T2.resolution  <  800",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.file_size",
            ",",
            "T1.formats",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T2.resolution",
            "<",
            "800"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "file_size",
            ",",
            "t1",
            ".",
            "formats",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t2",
            ".",
            "resolution",
            "<",
            "value"
        ],
        "question": "What are the file sizes and formats for all songs with a resolution lower than 800?",
        "question_toks": [
            "What",
            "are",
            "the",
            "file",
            "sizes",
            "and",
            "formats",
            "for",
            "all",
            "songs",
            "with",
            "a",
            "resolution",
            "lower",
            "than",
            "800",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    800.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id  =  T2.f_id ORDER BY T2.duration LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            "FROM",
            "song",
            "AS",
            "T1",
            "JOIN",
            "files",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "ORDER",
            "BY",
            "T2.duration",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            "from",
            "song",
            "as",
            "t1",
            "join",
            "files",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "order",
            "by",
            "t2",
            ".",
            "duration",
            "limit",
            "value"
        ],
        "question": "What is the name of the artist who produced the shortest song?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "artist",
            "who",
            "produced",
            "the",
            "shortest",
            "song",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id  =  T2.f_id ORDER BY T2.duration LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            "FROM",
            "song",
            "AS",
            "T1",
            "JOIN",
            "files",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "ORDER",
            "BY",
            "T2.duration",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            "from",
            "song",
            "as",
            "t1",
            "join",
            "files",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "order",
            "by",
            "t2",
            ".",
            "duration",
            "limit",
            "value"
        ],
        "question": "What are the names of the artists who sang the shortest song?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "artists",
            "who",
            "sang",
            "the",
            "shortest",
            "song",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name ORDER BY T2.rating DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "ORDER",
            "BY",
            "T2.rating",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "t2",
            ".",
            "rating",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names and countries of origin for the artists who produced the top three highly rated songs.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "countries",
            "of",
            "origin",
            "for",
            "the",
            "artists",
            "who",
            "produced",
            "the",
            "top",
            "three",
            "highly",
            "rated",
            "songs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name ORDER BY T2.rating DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "ORDER",
            "BY",
            "T2.rating",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "t2",
            ".",
            "rating",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the singers who sang the top 3 most highly rated songs and what countries do they hail from?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "singers",
            "who",
            "sang",
            "the",
            "top",
            "3",
            "most",
            "highly",
            "rated",
            "songs",
            "and",
            "what",
            "countries",
            "do",
            "they",
            "hail",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT count(*) FROM files WHERE duration LIKE \"4:%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "files",
            "WHERE",
            "duration",
            "LIKE",
            "``",
            "4",
            ":",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "files",
            "where",
            "duration",
            "like",
            "value"
        ],
        "question": "How many songs have 4 minute duration?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "have",
            "4",
            "minute",
            "duration",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"4:%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT count(*) FROM files WHERE duration LIKE \"4:%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "files",
            "WHERE",
            "duration",
            "LIKE",
            "``",
            "4",
            ":",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "files",
            "where",
            "duration",
            "like",
            "value"
        ],
        "question": "What is the count of the songs that last approximately 4 minutes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "the",
            "songs",
            "that",
            "last",
            "approximately",
            "4",
            "minutes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"4:%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT count(*) FROM artist WHERE country  =  \"Bangladesh\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "Bangladesh",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many artists are from Bangladesh?",
        "question_toks": [
            "How",
            "many",
            "artists",
            "are",
            "from",
            "Bangladesh",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Bangladesh\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT count(*) FROM artist WHERE country  =  \"Bangladesh\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "Bangladesh",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many Bangladeshi artists are listed?",
        "question_toks": [
            "How",
            "many",
            "Bangladeshi",
            "artists",
            "are",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Bangladesh\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT avg(T2.rating) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  \"Female\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.rating",
            ")",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T1.gender",
            "=",
            "``",
            "Female",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "rating",
            ")",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t1",
            ".",
            "gender",
            "=",
            "value"
        ],
        "question": "What is the average rating of songs produced by female artists?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "rating",
            "of",
            "songs",
            "produced",
            "by",
            "female",
            "artists",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT avg(T2.rating) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  \"Female\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.rating",
            ")",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T1.gender",
            "=",
            "``",
            "Female",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "rating",
            ")",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t1",
            ".",
            "gender",
            "=",
            "value"
        ],
        "question": "How many songs, on average, are sung by a female artist?",
        "question_toks": [
            "How",
            "many",
            "songs",
            ",",
            "on",
            "average",
            ",",
            "are",
            "sung",
            "by",
            "a",
            "female",
            "artist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT formats FROM files GROUP BY formats ORDER BY COUNT (*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "formats",
            "FROM",
            "files",
            "GROUP",
            "BY",
            "formats",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "formats",
            "from",
            "files",
            "group",
            "by",
            "formats",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most popular file format?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "popular",
            "file",
            "format",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT formats FROM files GROUP BY formats ORDER BY COUNT (*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "formats",
            "FROM",
            "files",
            "GROUP",
            "BY",
            "formats",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "formats",
            "from",
            "files",
            "group",
            "by",
            "formats",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the file format that is used by the most files.",
        "question_toks": [
            "Find",
            "the",
            "file",
            "format",
            "that",
            "is",
            "used",
            "by",
            "the",
            "most",
            "files",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT artist_name FROM artist WHERE country  =  \"UK\" INTERSECT SELECT artist_name FROM song WHERE languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "artist_name",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "UK",
            "''",
            "INTERSECT",
            "SELECT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "artist_name",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value",
            "intersect",
            "select",
            "artist_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value"
        ],
        "question": "Find the names of the artists who are from UK and have produced English songs.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "artists",
            "who",
            "are",
            "from",
            "UK",
            "and",
            "have",
            "produced",
            "English",
            "songs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"UK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"english\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT artist_name FROM artist WHERE country  =  \"UK\" INTERSECT SELECT artist_name FROM song WHERE languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "artist_name",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "UK",
            "''",
            "INTERSECT",
            "SELECT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "artist_name",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value",
            "intersect",
            "select",
            "artist_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value"
        ],
        "question": "What are the names of the artists that are from the UK and sang songs in English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "artists",
            "that",
            "are",
            "from",
            "the",
            "UK",
            "and",
            "sang",
            "songs",
            "in",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"UK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"english\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM files WHERE formats  =  \"mp4\" INTERSECT SELECT f_id FROM song WHERE resolution  <  1000",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "files",
            "WHERE",
            "formats",
            "=",
            "``",
            "mp4",
            "''",
            "INTERSECT",
            "SELECT",
            "f_id",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            "<",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "files",
            "where",
            "formats",
            "=",
            "value",
            "intersect",
            "select",
            "f_id",
            "from",
            "song",
            "where",
            "resolution",
            "<",
            "value"
        ],
        "question": "Find the id of songs that are available in mp4 format and have resolution lower than 1000.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "songs",
            "that",
            "are",
            "available",
            "in",
            "mp4",
            "format",
            "and",
            "have",
            "resolution",
            "lower",
            "than",
            "1000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp4\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        1000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM files WHERE formats  =  \"mp4\" INTERSECT SELECT f_id FROM song WHERE resolution  <  1000",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "files",
            "WHERE",
            "formats",
            "=",
            "``",
            "mp4",
            "''",
            "INTERSECT",
            "SELECT",
            "f_id",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            "<",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "files",
            "where",
            "formats",
            "=",
            "value",
            "intersect",
            "select",
            "f_id",
            "from",
            "song",
            "where",
            "resolution",
            "<",
            "value"
        ],
        "question": "What is the id of the files that are available in the format of mp4 and a resolution smaller than 1000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "files",
            "that",
            "are",
            "available",
            "in",
            "the",
            "format",
            "of",
            "mp4",
            "and",
            "a",
            "resolution",
            "smaller",
            "than",
            "1000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp4\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        1000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  \"Female\" AND T2.languages  =  \"bangla\"",
        "query_toks": [
            "SELECT",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T1.gender",
            "=",
            "``",
            "Female",
            "''",
            "AND",
            "T2.languages",
            "=",
            "``",
            "bangla",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t1",
            ".",
            "gender",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "languages",
            "=",
            "value"
        ],
        "question": "What is the country of origin of the artist who is female and produced a song in Bangla?",
        "question_toks": [
            "What",
            "is",
            "the",
            "country",
            "of",
            "origin",
            "of",
            "the",
            "artist",
            "who",
            "is",
            "female",
            "and",
            "produced",
            "a",
            "song",
            "in",
            "Bangla",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Female\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"bangla\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  \"Female\" AND T2.languages  =  \"bangla\"",
        "query_toks": [
            "SELECT",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T1.gender",
            "=",
            "``",
            "Female",
            "''",
            "AND",
            "T2.languages",
            "=",
            "``",
            "bangla",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t1",
            ".",
            "gender",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "languages",
            "=",
            "value"
        ],
        "question": "What countries are the female artists who sung in the language Bangla from?",
        "question_toks": [
            "What",
            "countries",
            "are",
            "the",
            "female",
            "artists",
            "who",
            "sung",
            "in",
            "the",
            "language",
            "Bangla",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Female\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"bangla\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT avg(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  \"mp3\" AND T2.resolution   <  800",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.duration",
            ")",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T1.formats",
            "=",
            "``",
            "mp3",
            "''",
            "AND",
            "T2.resolution",
            "<",
            "800"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "duration",
            ")",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t1",
            ".",
            "formats",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "resolution",
            "<",
            "value"
        ],
        "question": "What is the average duration of songs that have mp3 format and resolution below 800?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "duration",
            "of",
            "songs",
            "that",
            "have",
            "mp3",
            "format",
            "and",
            "resolution",
            "below",
            "800",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp3\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    800.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT avg(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  \"mp3\" AND T2.resolution   <  800",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.duration",
            ")",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T1.formats",
            "=",
            "``",
            "mp3",
            "''",
            "AND",
            "T2.resolution",
            "<",
            "800"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "duration",
            ")",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t1",
            ".",
            "formats",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "resolution",
            "<",
            "value"
        ],
        "question": "What is the average song duration for the songs that are in mp3 format and whose resolution below 800?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "song",
            "duration",
            "for",
            "the",
            "songs",
            "that",
            "are",
            "in",
            "mp3",
            "format",
            "and",
            "whose",
            "resolution",
            "below",
            "800",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp3\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    800.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT count(*) ,  gender FROM artist GROUP BY gender",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "gender",
            "FROM",
            "artist",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "gender",
            "from",
            "artist",
            "group",
            "by",
            "gender"
        ],
        "question": "What is the number of artists for each gender?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "artists",
            "for",
            "each",
            "gender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT count(*) ,  gender FROM artist GROUP BY gender",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "gender",
            "FROM",
            "artist",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "gender",
            "from",
            "artist",
            "group",
            "by",
            "gender"
        ],
        "question": "How many artists are male and how many are female?",
        "question_toks": [
            "How",
            "many",
            "artists",
            "are",
            "male",
            "and",
            "how",
            "many",
            "are",
            "female",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT avg(rating) ,  languages FROM song GROUP BY languages",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "languages",
            "FROM",
            "song",
            "GROUP",
            "BY",
            "languages"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "languages",
            "from",
            "song",
            "group",
            "by",
            "languages"
        ],
        "question": "What is the average rating of songs for each language?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "rating",
            "of",
            "songs",
            "for",
            "each",
            "language",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT avg(rating) ,  languages FROM song GROUP BY languages",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "languages",
            "FROM",
            "song",
            "GROUP",
            "BY",
            "languages"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "languages",
            "from",
            "song",
            "group",
            "by",
            "languages"
        ],
        "question": "What is the average song rating for each language?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "song",
            "rating",
            "for",
            "each",
            "language",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.gender ,  T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name ORDER BY T2.resolution LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.gender",
            ",",
            "T1.artist_name",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "ORDER",
            "BY",
            "T2.resolution",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "gender",
            ",",
            "t1",
            ".",
            "artist_name",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "t2",
            ".",
            "resolution",
            "limit",
            "value"
        ],
        "question": "Return the gender and name of artist who produced the song with the lowest resolution.",
        "question_toks": [
            "Return",
            "the",
            "gender",
            "and",
            "name",
            "of",
            "artist",
            "who",
            "produced",
            "the",
            "song",
            "with",
            "the",
            "lowest",
            "resolution",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.gender ,  T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name ORDER BY T2.resolution LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.gender",
            ",",
            "T1.artist_name",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "ORDER",
            "BY",
            "T2.resolution",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "gender",
            ",",
            "t1",
            ".",
            "artist_name",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "t2",
            ".",
            "resolution",
            "limit",
            "value"
        ],
        "question": "What is the gender and name of the artist who sang the song with the smallest resolution?",
        "question_toks": [
            "What",
            "is",
            "the",
            "gender",
            "and",
            "name",
            "of",
            "the",
            "artist",
            "who",
            "sang",
            "the",
            "song",
            "with",
            "the",
            "smallest",
            "resolution",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT count(*) ,  formats FROM files GROUP BY formats",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "formats",
            "FROM",
            "files",
            "GROUP",
            "BY",
            "formats"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "formats",
            "from",
            "files",
            "group",
            "by",
            "formats"
        ],
        "question": "For each file format, return the number of artists who released songs in that format.",
        "question_toks": [
            "For",
            "each",
            "file",
            "format",
            ",",
            "return",
            "the",
            "number",
            "of",
            "artists",
            "who",
            "released",
            "songs",
            "in",
            "that",
            "format",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT count(*) ,  formats FROM files GROUP BY formats",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "formats",
            "FROM",
            "files",
            "GROUP",
            "BY",
            "formats"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "formats",
            "from",
            "files",
            "group",
            "by",
            "formats"
        ],
        "question": "How many songs were released for each format?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "were",
            "released",
            "for",
            "each",
            "format",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT song_name FROM song WHERE resolution  >  (SELECT min(resolution) FROM song WHERE languages  =  \"english\")",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "resolution",
            ")",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "song_name",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "(",
            "select",
            "min",
            "(",
            "resolution",
            ")",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value",
            ")"
        ],
        "question": "Find the distinct names of all songs that have a higher resolution than some songs in English.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "names",
            "of",
            "all",
            "songs",
            "that",
            "have",
            "a",
            "higher",
            "resolution",
            "than",
            "some",
            "songs",
            "in",
            "English",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        19,
                                        false
                                    ],
                                    null
                                ],
                                "\"english\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT song_name FROM song WHERE resolution  >  (SELECT min(resolution) FROM song WHERE languages  =  \"english\")",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "resolution",
            ")",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "song_name",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "(",
            "select",
            "min",
            "(",
            "resolution",
            ")",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value",
            ")"
        ],
        "question": "What are the different names for all songs that have a higher resolution than English songs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "for",
            "all",
            "songs",
            "that",
            "have",
            "a",
            "higher",
            "resolution",
            "than",
            "English",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        19,
                                        false
                                    ],
                                    null
                                ],
                                "\"english\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song WHERE rating  <  (SELECT max(rating) FROM song WHERE genre_is  =  \"blues\")",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "rating",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "rating",
            ")",
            "FROM",
            "song",
            "WHERE",
            "genre_is",
            "=",
            "``",
            "blues",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "rating",
            "<",
            "(",
            "select",
            "max",
            "(",
            "rating",
            ")",
            "from",
            "song",
            "where",
            "genre_is",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of all songs that have a lower rating than some song of blues genre?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "songs",
            "that",
            "have",
            "a",
            "lower",
            "rating",
            "than",
            "some",
            "song",
            "of",
            "blues",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ],
                                "\"blues\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song WHERE rating  <  (SELECT max(rating) FROM song WHERE genre_is  =  \"blues\")",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "rating",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "rating",
            ")",
            "FROM",
            "song",
            "WHERE",
            "genre_is",
            "=",
            "``",
            "blues",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "rating",
            "<",
            "(",
            "select",
            "max",
            "(",
            "rating",
            ")",
            "from",
            "song",
            "where",
            "genre_is",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of the songs that have a lower rating than at least one blues song?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "songs",
            "that",
            "have",
            "a",
            "lower",
            "rating",
            "than",
            "at",
            "least",
            "one",
            "blues",
            "song",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ],
                                "\"blues\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.song_name LIKE \"%love%\"",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.song_name",
            "LIKE",
            "``",
            "%",
            "love",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "song_name",
            "like",
            "value"
        ],
        "question": "What is the name and country of origin of the artist who released a song that has \"love\" in its title?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "country",
            "of",
            "origin",
            "of",
            "the",
            "artist",
            "who",
            "released",
            "a",
            "song",
            "that",
            "has",
            "``",
            "love",
            "''",
            "in",
            "its",
            "title",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"%love%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.song_name LIKE \"%love%\"",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.song_name",
            "LIKE",
            "``",
            "%",
            "love",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "song_name",
            "like",
            "value"
        ],
        "question": "What are the names of the artists who released a song that has the word love in its title, and where are the artists from?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "artists",
            "who",
            "released",
            "a",
            "song",
            "that",
            "has",
            "the",
            "word",
            "love",
            "in",
            "its",
            "title",
            ",",
            "and",
            "where",
            "are",
            "the",
            "artists",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"%love%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.releasedate LIKE \"%Mar%\"",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "T1.gender",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.releasedate",
            "LIKE",
            "``",
            "%",
            "Mar",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "gender",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "releasedate",
            "like",
            "value"
        ],
        "question": "List the name and gender for all artists who released songs in March.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "gender",
            "for",
            "all",
            "artists",
            "who",
            "released",
            "songs",
            "in",
            "March",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"%Mar%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.releasedate LIKE \"%Mar%\"",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "T1.gender",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.releasedate",
            "LIKE",
            "``",
            "%",
            "Mar",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "gender",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "releasedate",
            "like",
            "value"
        ],
        "question": "What are the names and genders of all artists who released songs in the month of March?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "genders",
            "of",
            "all",
            "artists",
            "who",
            "released",
            "songs",
            "in",
            "the",
            "month",
            "of",
            "March",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"%Mar%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT g_name ,  rating FROM genre ORDER BY g_name",
        "query_toks": [
            "SELECT",
            "g_name",
            ",",
            "rating",
            "FROM",
            "genre",
            "ORDER",
            "BY",
            "g_name"
        ],
        "query_toks_no_value": [
            "select",
            "g_name",
            ",",
            "rating",
            "from",
            "genre",
            "order",
            "by",
            "g_name"
        ],
        "question": "List the names of all genres in alphabetical oder, together with its ratings.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "genres",
            "in",
            "alphabetical",
            "oder",
            ",",
            "together",
            "with",
            "its",
            "ratings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT g_name ,  rating FROM genre ORDER BY g_name",
        "query_toks": [
            "SELECT",
            "g_name",
            ",",
            "rating",
            "FROM",
            "genre",
            "ORDER",
            "BY",
            "g_name"
        ],
        "query_toks_no_value": [
            "select",
            "g_name",
            ",",
            "rating",
            "from",
            "genre",
            "order",
            "by",
            "g_name"
        ],
        "question": "What are the names of all genres in alphabetical order, combined with its ratings?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "genres",
            "in",
            "alphabetical",
            "order",
            ",",
            "combined",
            "with",
            "its",
            "ratings",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song ORDER BY resolution",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "ORDER",
            "BY",
            "resolution"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "order",
            "by",
            "resolution"
        ],
        "question": "Give me a list of the names of all songs ordered by their resolution.",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "the",
            "names",
            "of",
            "all",
            "songs",
            "ordered",
            "by",
            "their",
            "resolution",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song ORDER BY resolution",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "ORDER",
            "BY",
            "resolution"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "order",
            "by",
            "resolution"
        ],
        "question": "What are the names of all songs that are ordered by their resolution numbers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "songs",
            "that",
            "are",
            "ordered",
            "by",
            "their",
            "resolution",
            "numbers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM files WHERE formats  =  \"mp4\" UNION SELECT f_id FROM song WHERE resolution  >  720",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "files",
            "WHERE",
            "formats",
            "=",
            "``",
            "mp4",
            "''",
            "UNION",
            "SELECT",
            "f_id",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "720"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "files",
            "where",
            "formats",
            "=",
            "value",
            "union",
            "select",
            "f_id",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "value"
        ],
        "question": "What are the ids of songs that are available in either mp4 format or have resolution above 720?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "songs",
            "that",
            "are",
            "available",
            "in",
            "either",
            "mp4",
            "format",
            "or",
            "have",
            "resolution",
            "above",
            "720",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp4\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        720.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM files WHERE formats  =  \"mp4\" UNION SELECT f_id FROM song WHERE resolution  >  720",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "files",
            "WHERE",
            "formats",
            "=",
            "``",
            "mp4",
            "''",
            "UNION",
            "SELECT",
            "f_id",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "720"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "files",
            "where",
            "formats",
            "=",
            "value",
            "union",
            "select",
            "f_id",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "value"
        ],
        "question": "What are the ids of all songs that are available on mp4 or have a higher resolution than 720?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "songs",
            "that",
            "are",
            "available",
            "on",
            "mp4",
            "or",
            "have",
            "a",
            "higher",
            "resolution",
            "than",
            "720",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp4\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        720.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE \"4:%\" UNION SELECT song_name FROM song WHERE languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "T2.song_name",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T1.duration",
            "LIKE",
            "``",
            "4",
            ":",
            "%",
            "''",
            "UNION",
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "song_name",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t1",
            ".",
            "duration",
            "like",
            "value",
            "union",
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value"
        ],
        "question": "List the names of all songs that have 4 minute duration or are in English.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "songs",
            "that",
            "have",
            "4",
            "minute",
            "duration",
            "or",
            "are",
            "in",
            "English",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"4:%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"english\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE \"4:%\" UNION SELECT song_name FROM song WHERE languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "T2.song_name",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T1.duration",
            "LIKE",
            "``",
            "4",
            ":",
            "%",
            "''",
            "UNION",
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "song_name",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t1",
            ".",
            "duration",
            "like",
            "value",
            "union",
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value"
        ],
        "question": "What are the names of all songs that are approximately 4 minutes long or are in English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "songs",
            "that",
            "are",
            "approximately",
            "4",
            "minutes",
            "long",
            "or",
            "are",
            "in",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"4:%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"english\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT languages FROM song GROUP BY languages ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "languages",
            "FROM",
            "song",
            "GROUP",
            "BY",
            "languages",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "languages",
            "from",
            "song",
            "group",
            "by",
            "languages",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the language used most often in the songs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "language",
            "used",
            "most",
            "often",
            "in",
            "the",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT languages FROM song GROUP BY languages ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "languages",
            "FROM",
            "song",
            "GROUP",
            "BY",
            "languages",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "languages",
            "from",
            "song",
            "group",
            "by",
            "languages",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the languages that are used most often in songs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "languages",
            "that",
            "are",
            "used",
            "most",
            "often",
            "in",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT artist_name FROM song WHERE resolution  >  500 GROUP BY languages ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "500",
            "GROUP",
            "BY",
            "languages",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "artist_name",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "value",
            "group",
            "by",
            "languages",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the language that was used most often in songs with resolution above 500?",
        "question_toks": [
            "What",
            "is",
            "the",
            "language",
            "that",
            "was",
            "used",
            "most",
            "often",
            "in",
            "songs",
            "with",
            "resolution",
            "above",
            "500",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    500.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT artist_name FROM song WHERE resolution  >  500 GROUP BY languages ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "500",
            "GROUP",
            "BY",
            "languages",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "artist_name",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "value",
            "group",
            "by",
            "languages",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the artist, for each language, that has the most songs with a higher resolution than 500?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "artist",
            ",",
            "for",
            "each",
            "language",
            ",",
            "that",
            "has",
            "the",
            "most",
            "songs",
            "with",
            "a",
            "higher",
            "resolution",
            "than",
            "500",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    500.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT artist_name FROM artist WHERE country  =  \"UK\" AND gender  =  \"Male\"",
        "query_toks": [
            "SELECT",
            "artist_name",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "UK",
            "''",
            "AND",
            "gender",
            "=",
            "``",
            "Male",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "artist_name",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value",
            "and",
            "gender",
            "=",
            "value"
        ],
        "question": "What are the names of artists who are Male and are from UK?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "artists",
            "who",
            "are",
            "Male",
            "and",
            "are",
            "from",
            "UK",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"UK\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Male\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT artist_name FROM artist WHERE country  =  \"UK\" AND gender  =  \"Male\"",
        "query_toks": [
            "SELECT",
            "artist_name",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "UK",
            "''",
            "AND",
            "gender",
            "=",
            "``",
            "Male",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "artist_name",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value",
            "and",
            "gender",
            "=",
            "value"
        ],
        "question": "What are the names of all male British artists?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "male",
            "British",
            "artists",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"UK\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Male\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song WHERE genre_is  =  \"modern\" OR languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "genre_is",
            "=",
            "``",
            "modern",
            "''",
            "OR",
            "languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "genre_is",
            "=",
            "value",
            "or",
            "languages",
            "=",
            "value"
        ],
        "question": "Find the names of songs whose genre is modern or language is English.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "songs",
            "whose",
            "genre",
            "is",
            "modern",
            "or",
            "language",
            "is",
            "English",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"modern\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song WHERE genre_is  =  \"modern\" OR languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "genre_is",
            "=",
            "``",
            "modern",
            "''",
            "OR",
            "languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "genre_is",
            "=",
            "value",
            "or",
            "languages",
            "=",
            "value"
        ],
        "question": "What are the names of the songs that are modern or sung in English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "songs",
            "that",
            "are",
            "modern",
            "or",
            "sung",
            "in",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"modern\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  \"mp3\" INTERSECT SELECT song_name FROM song WHERE resolution  <  1000",
        "query_toks": [
            "SELECT",
            "T2.song_name",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T1.formats",
            "=",
            "``",
            "mp3",
            "''",
            "INTERSECT",
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            "<",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "song_name",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t1",
            ".",
            "formats",
            "=",
            "value",
            "intersect",
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "resolution",
            "<",
            "value"
        ],
        "question": "Return the names of songs for which format is mp3 and resolution is below 1000.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "songs",
            "for",
            "which",
            "format",
            "is",
            "mp3",
            "and",
            "resolution",
            "is",
            "below",
            "1000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp3\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        1000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  \"mp3\" INTERSECT SELECT song_name FROM song WHERE resolution  <  1000",
        "query_toks": [
            "SELECT",
            "T2.song_name",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T1.formats",
            "=",
            "``",
            "mp3",
            "''",
            "INTERSECT",
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            "<",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "song_name",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t1",
            ".",
            "formats",
            "=",
            "value",
            "intersect",
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "resolution",
            "<",
            "value"
        ],
        "question": "What are the names of all songs that are in mp3 format and have a resolution lower than 1000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "songs",
            "that",
            "are",
            "in",
            "mp3",
            "format",
            "and",
            "have",
            "a",
            "resolution",
            "lower",
            "than",
            "1000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mp3\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        1000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT artist_name FROM artist WHERE country  =  \"UK\" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "artist_name",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "UK",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.artist_name",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "artist_name",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "artist_name",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "languages",
            "=",
            "value"
        ],
        "question": "Return the names of singers who are from UK and released an English song.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "singers",
            "who",
            "are",
            "from",
            "UK",
            "and",
            "released",
            "an",
            "English",
            "song",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"UK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"english\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT artist_name FROM artist WHERE country  =  \"UK\" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.languages  =  \"english\"",
        "query_toks": [
            "SELECT",
            "artist_name",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "UK",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.artist_name",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.languages",
            "=",
            "``",
            "english",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "artist_name",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "artist_name",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "languages",
            "=",
            "value"
        ],
        "question": "What are the names of all singers that are from the UK and released a song in English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "singers",
            "that",
            "are",
            "from",
            "the",
            "UK",
            "and",
            "released",
            "a",
            "song",
            "in",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"UK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"english\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT avg(rating) ,  avg(resolution) FROM song WHERE languages  =  \"bangla\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "avg",
            "(",
            "resolution",
            ")",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "bangla",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "avg",
            "(",
            "resolution",
            ")",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value"
        ],
        "question": "What are the average rating and resolution of songs that are in Bangla?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "rating",
            "and",
            "resolution",
            "of",
            "songs",
            "that",
            "are",
            "in",
            "Bangla",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"bangla\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT avg(rating) ,  avg(resolution) FROM song WHERE languages  =  \"bangla\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "avg",
            "(",
            "resolution",
            ")",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "bangla",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "rating",
            ")",
            ",",
            "avg",
            "(",
            "resolution",
            ")",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value"
        ],
        "question": "What is the average rating and resolution of all bangla songs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "rating",
            "and",
            "resolution",
            "of",
            "all",
            "bangla",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"bangla\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT max(T2.resolution) ,  min(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE \"3:%\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.resolution",
            ")",
            ",",
            "min",
            "(",
            "T2.resolution",
            ")",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T1.duration",
            "LIKE",
            "``",
            "3",
            ":",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "resolution",
            ")",
            ",",
            "min",
            "(",
            "t2",
            ".",
            "resolution",
            ")",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t1",
            ".",
            "duration",
            "like",
            "value"
        ],
        "question": "What are the maximum and minimum resolution of songs whose duration is 3 minutes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "resolution",
            "of",
            "songs",
            "whose",
            "duration",
            "is",
            "3",
            "minutes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"3:%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT max(T2.resolution) ,  min(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE \"3:%\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.resolution",
            ")",
            ",",
            "min",
            "(",
            "T2.resolution",
            ")",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T1.duration",
            "LIKE",
            "``",
            "3",
            ":",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "resolution",
            ")",
            ",",
            "min",
            "(",
            "t2",
            ".",
            "resolution",
            ")",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t1",
            ".",
            "duration",
            "like",
            "value"
        ],
        "question": "What is the maximum and minimum resolution of all songs that are approximately 3 minutes long?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "and",
            "minimum",
            "resolution",
            "of",
            "all",
            "songs",
            "that",
            "are",
            "approximately",
            "3",
            "minutes",
            "long",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"3:%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT max(T1.duration) ,  max(T2.resolution) ,  T2.languages FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id GROUP BY T2.languages ORDER BY T2.languages",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.duration",
            ")",
            ",",
            "max",
            "(",
            "T2.resolution",
            ")",
            ",",
            "T2.languages",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "GROUP",
            "BY",
            "T2.languages",
            "ORDER",
            "BY",
            "T2.languages"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "duration",
            ")",
            ",",
            "max",
            "(",
            "t2",
            ".",
            "resolution",
            ")",
            ",",
            "t2",
            ".",
            "languages",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "group",
            "by",
            "t2",
            ".",
            "languages",
            "order",
            "by",
            "t2",
            ".",
            "languages"
        ],
        "question": "What are the maximum duration and resolution of songs grouped and ordered by languages?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "duration",
            "and",
            "resolution",
            "of",
            "songs",
            "grouped",
            "and",
            "ordered",
            "by",
            "languages",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT max(T1.duration) ,  max(T2.resolution) ,  T2.languages FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id GROUP BY T2.languages ORDER BY T2.languages",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.duration",
            ")",
            ",",
            "max",
            "(",
            "T2.resolution",
            ")",
            ",",
            "T2.languages",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "GROUP",
            "BY",
            "T2.languages",
            "ORDER",
            "BY",
            "T2.languages"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "duration",
            ")",
            ",",
            "max",
            "(",
            "t2",
            ".",
            "resolution",
            ")",
            ",",
            "t2",
            ".",
            "languages",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "group",
            "by",
            "t2",
            ".",
            "languages",
            "order",
            "by",
            "t2",
            ".",
            "languages"
        ],
        "question": "What are the maximum duration and resolution of all songs, for each language, ordered alphabetically by language?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "duration",
            "and",
            "resolution",
            "of",
            "all",
            "songs",
            ",",
            "for",
            "each",
            "language",
            ",",
            "ordered",
            "alphabetically",
            "by",
            "language",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT min(T1.duration) ,  min(T2.rating) ,  T2.genre_is FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id GROUP BY T2.genre_is ORDER BY T2.genre_is",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "T1.duration",
            ")",
            ",",
            "min",
            "(",
            "T2.rating",
            ")",
            ",",
            "T2.genre_is",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "GROUP",
            "BY",
            "T2.genre_is",
            "ORDER",
            "BY",
            "T2.genre_is"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "t1",
            ".",
            "duration",
            ")",
            ",",
            "min",
            "(",
            "t2",
            ".",
            "rating",
            ")",
            ",",
            "t2",
            ".",
            "genre_is",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "group",
            "by",
            "t2",
            ".",
            "genre_is",
            "order",
            "by",
            "t2",
            ".",
            "genre_is"
        ],
        "question": "What are the shortest duration and lowest rating of songs grouped by genre and ordered by genre?",
        "question_toks": [
            "What",
            "are",
            "the",
            "shortest",
            "duration",
            "and",
            "lowest",
            "rating",
            "of",
            "songs",
            "grouped",
            "by",
            "genre",
            "and",
            "ordered",
            "by",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT min(T1.duration) ,  min(T2.rating) ,  T2.genre_is FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id GROUP BY T2.genre_is ORDER BY T2.genre_is",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "T1.duration",
            ")",
            ",",
            "min",
            "(",
            "T2.rating",
            ")",
            ",",
            "T2.genre_is",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "GROUP",
            "BY",
            "T2.genre_is",
            "ORDER",
            "BY",
            "T2.genre_is"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "t1",
            ".",
            "duration",
            ")",
            ",",
            "min",
            "(",
            "t2",
            ".",
            "rating",
            ")",
            ",",
            "t2",
            ".",
            "genre_is",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "group",
            "by",
            "t2",
            ".",
            "genre_is",
            "order",
            "by",
            "t2",
            ".",
            "genre_is"
        ],
        "question": "What is the shortest and most poorly rated song for each genre, ordered alphabetically by genre?",
        "question_toks": [
            "What",
            "is",
            "the",
            "shortest",
            "and",
            "most",
            "poorly",
            "rated",
            "song",
            "for",
            "each",
            "genre",
            ",",
            "ordered",
            "alphabetically",
            "by",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  count(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.languages  =  \"english\" GROUP BY T2.artist_name HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.languages",
            "=",
            "``",
            "english",
            "''",
            "GROUP",
            "BY",
            "T2.artist_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "languages",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the names and number of works of all artists who have at least one English songs.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "number",
            "of",
            "works",
            "of",
            "all",
            "artists",
            "who",
            "have",
            "at",
            "least",
            "one",
            "English",
            "songs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  count(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.languages  =  \"english\" GROUP BY T2.artist_name HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.languages",
            "=",
            "``",
            "english",
            "''",
            "GROUP",
            "BY",
            "T2.artist_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "languages",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names and number of works for all artists who have sung at least one song in English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "number",
            "of",
            "works",
            "for",
            "all",
            "artists",
            "who",
            "have",
            "sung",
            "at",
            "least",
            "one",
            "song",
            "in",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.resolution  >  900 GROUP BY T2.artist_name HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.resolution",
            ">",
            "900",
            "GROUP",
            "BY",
            "T2.artist_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "resolution",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the name and country of origin for all artists who have release at least one song of resolution above 900.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "country",
            "of",
            "origin",
            "for",
            "all",
            "artists",
            "who",
            "have",
            "release",
            "at",
            "least",
            "one",
            "song",
            "of",
            "resolution",
            "above",
            "900",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    900.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.resolution  >  900 GROUP BY T2.artist_name HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.resolution",
            ">",
            "900",
            "GROUP",
            "BY",
            "T2.artist_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "resolution",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What is the name and country of origin for each artist who has released a song with a resolution higher than 900?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "country",
            "of",
            "origin",
            "for",
            "each",
            "artist",
            "who",
            "has",
            "released",
            "a",
            "song",
            "with",
            "a",
            "resolution",
            "higher",
            "than",
            "900",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    900.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  count(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name GROUP BY T2.artist_name ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "GROUP",
            "BY",
            "T2.artist_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the names and number of works of the three artists who have produced the most songs.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "number",
            "of",
            "works",
            "of",
            "the",
            "three",
            "artists",
            "who",
            "have",
            "produced",
            "the",
            "most",
            "songs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name ,  count(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name GROUP BY T2.artist_name ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "GROUP",
            "BY",
            "T2.artist_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the three artists who have produced the most songs, and how many works did they produce?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "three",
            "artists",
            "who",
            "have",
            "produced",
            "the",
            "most",
            "songs",
            ",",
            "and",
            "how",
            "many",
            "works",
            "did",
            "they",
            "produce",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name GROUP BY T2.artist_name ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "GROUP",
            "BY",
            "T2.artist_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Find the country of origin for the artist who made the least number of songs?",
        "question_toks": [
            "Find",
            "the",
            "country",
            "of",
            "origin",
            "for",
            "the",
            "artist",
            "who",
            "made",
            "the",
            "least",
            "number",
            "of",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name GROUP BY T2.artist_name ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.country",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "GROUP",
            "BY",
            "T2.artist_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What country is the artist who made the fewest songs from?",
        "question_toks": [
            "What",
            "country",
            "is",
            "the",
            "artist",
            "who",
            "made",
            "the",
            "fewest",
            "songs",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song WHERE rating  <   (SELECT min(rating) FROM song WHERE languages  =  'english')",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "rating",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "rating",
            ")",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "'english",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "rating",
            "<",
            "(",
            "select",
            "min",
            "(",
            "rating",
            ")",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of the songs whose rating is below the rating of all songs in English?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "songs",
            "whose",
            "rating",
            "is",
            "below",
            "the",
            "rating",
            "of",
            "all",
            "songs",
            "in",
            "English",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        19,
                                        false
                                    ],
                                    null
                                ],
                                "\"english\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT song_name FROM song WHERE rating  <   (SELECT min(rating) FROM song WHERE languages  =  'english')",
        "query_toks": [
            "SELECT",
            "song_name",
            "FROM",
            "song",
            "WHERE",
            "rating",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "rating",
            ")",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "'english",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "song_name",
            "from",
            "song",
            "where",
            "rating",
            "<",
            "(",
            "select",
            "min",
            "(",
            "rating",
            ")",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value",
            ")"
        ],
        "question": "What are the song names for every song whose rating is less than the minimum rating for English songs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "song",
            "names",
            "for",
            "every",
            "song",
            "whose",
            "rating",
            "is",
            "less",
            "than",
            "the",
            "minimum",
            "rating",
            "for",
            "English",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        19,
                                        false
                                    ],
                                    null
                                ],
                                "\"english\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM song WHERE resolution  >  (SELECT max(resolution) FROM song WHERE rating  <  8)",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "resolution",
            ")",
            "FROM",
            "song",
            "WHERE",
            "rating",
            "<",
            "8",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "(",
            "select",
            "max",
            "(",
            "resolution",
            ")",
            "from",
            "song",
            "where",
            "rating",
            "<",
            "value",
            ")"
        ],
        "question": "What is ids of the songs whose resolution is higher than the resolution of any songs with rating lower than 8?",
        "question_toks": [
            "What",
            "is",
            "ids",
            "of",
            "the",
            "songs",
            "whose",
            "resolution",
            "is",
            "higher",
            "than",
            "the",
            "resolution",
            "of",
            "any",
            "songs",
            "with",
            "rating",
            "lower",
            "than",
            "8",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                4,
                                [
                                    0,
                                    [
                                        0,
                                        18,
                                        false
                                    ],
                                    null
                                ],
                                8.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM song WHERE resolution  >  (SELECT max(resolution) FROM song WHERE rating  <  8)",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "resolution",
            ")",
            "FROM",
            "song",
            "WHERE",
            "rating",
            "<",
            "8",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "(",
            "select",
            "max",
            "(",
            "resolution",
            ")",
            "from",
            "song",
            "where",
            "rating",
            "<",
            "value",
            ")"
        ],
        "question": "What is the id of every song that has a resolution higher than that of a song with a rating below 8?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "every",
            "song",
            "that",
            "has",
            "a",
            "resolution",
            "higher",
            "than",
            "that",
            "of",
            "a",
            "song",
            "with",
            "a",
            "rating",
            "below",
            "8",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                4,
                                [
                                    0,
                                    [
                                        0,
                                        18,
                                        false
                                    ],
                                    null
                                ],
                                8.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM song WHERE resolution  >  (SELECT avg(resolution) FROM song WHERE genre_is  =  \"modern\")",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "resolution",
            ")",
            "FROM",
            "song",
            "WHERE",
            "genre_is",
            "=",
            "``",
            "modern",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "resolution",
            ")",
            "from",
            "song",
            "where",
            "genre_is",
            "=",
            "value",
            ")"
        ],
        "question": "What is ids of the songs whose resolution is higher than the average resolution of songs in modern genre?",
        "question_toks": [
            "What",
            "is",
            "ids",
            "of",
            "the",
            "songs",
            "whose",
            "resolution",
            "is",
            "higher",
            "than",
            "the",
            "average",
            "resolution",
            "of",
            "songs",
            "in",
            "modern",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ],
                                "\"modern\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id FROM song WHERE resolution  >  (SELECT avg(resolution) FROM song WHERE genre_is  =  \"modern\")",
        "query_toks": [
            "SELECT",
            "f_id",
            "FROM",
            "song",
            "WHERE",
            "resolution",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "resolution",
            ")",
            "FROM",
            "song",
            "WHERE",
            "genre_is",
            "=",
            "``",
            "modern",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            "from",
            "song",
            "where",
            "resolution",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "resolution",
            ")",
            "from",
            "song",
            "where",
            "genre_is",
            "=",
            "value",
            ")"
        ],
        "question": "What are the ids of all songs that have higher resolution of the average resolution in the modern genre?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "songs",
            "that",
            "have",
            "higher",
            "resolution",
            "of",
            "the",
            "average",
            "resolution",
            "in",
            "the",
            "modern",
            "genre",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ],
                                "\"modern\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.languages  =  \"bangla\" GROUP BY T2.artist_name ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.languages",
            "=",
            "``",
            "bangla",
            "''",
            "GROUP",
            "BY",
            "T2.artist_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "languages",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the top 3 artists who have the largest number of songs works whose language is Bangla.",
        "question_toks": [
            "Find",
            "the",
            "top",
            "3",
            "artists",
            "who",
            "have",
            "the",
            "largest",
            "number",
            "of",
            "songs",
            "works",
            "whose",
            "language",
            "is",
            "Bangla",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"bangla\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.languages  =  \"bangla\" GROUP BY T2.artist_name ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T1.artist_name",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.artist_name",
            "=",
            "T2.artist_name",
            "WHERE",
            "T2.languages",
            "=",
            "``",
            "bangla",
            "''",
            "GROUP",
            "BY",
            "T2.artist_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "artist_name",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_name",
            "=",
            "t2",
            ".",
            "artist_name",
            "where",
            "t2",
            ".",
            "languages",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "artist_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the top 3 artists with the largest number of songs in the language Bangla?",
        "question_toks": [
            "What",
            "are",
            "the",
            "top",
            "3",
            "artists",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "songs",
            "in",
            "the",
            "language",
            "Bangla",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"bangla\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id ,  genre_is ,  artist_name FROM song WHERE languages  =   \"english\" ORDER BY rating",
        "query_toks": [
            "SELECT",
            "f_id",
            ",",
            "genre_is",
            ",",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''",
            "ORDER",
            "BY",
            "rating"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            ",",
            "genre_is",
            ",",
            "artist_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value",
            "order",
            "by",
            "rating"
        ],
        "question": "List the id, genre and artist name of English songs ordered by rating.",
        "question_toks": [
            "List",
            "the",
            "id",
            ",",
            "genre",
            "and",
            "artist",
            "name",
            "of",
            "English",
            "songs",
            "ordered",
            "by",
            "rating",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT f_id ,  genre_is ,  artist_name FROM song WHERE languages  =   \"english\" ORDER BY rating",
        "query_toks": [
            "SELECT",
            "f_id",
            ",",
            "genre_is",
            ",",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''",
            "ORDER",
            "BY",
            "rating"
        ],
        "query_toks_no_value": [
            "select",
            "f_id",
            ",",
            "genre_is",
            ",",
            "artist_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value",
            "order",
            "by",
            "rating"
        ],
        "question": "What is the id, genre, and name of the artist for every English song ordered by ascending rating?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            ",",
            "genre",
            ",",
            "and",
            "name",
            "of",
            "the",
            "artist",
            "for",
            "every",
            "English",
            "song",
            "ordered",
            "by",
            "ascending",
            "rating",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.duration ,  T1.file_size ,  T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T2.genre_is  =  \"pop\" ORDER BY T2.song_name",
        "query_toks": [
            "SELECT",
            "T1.duration",
            ",",
            "T1.file_size",
            ",",
            "T1.formats",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T2.genre_is",
            "=",
            "``",
            "pop",
            "''",
            "ORDER",
            "BY",
            "T2.song_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "duration",
            ",",
            "t1",
            ".",
            "file_size",
            ",",
            "t1",
            ".",
            "formats",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t2",
            ".",
            "genre_is",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "song_name"
        ],
        "question": "List the duration, file size and format of songs whose genre is pop, ordered by title?",
        "question_toks": [
            "List",
            "the",
            "duration",
            ",",
            "file",
            "size",
            "and",
            "format",
            "of",
            "songs",
            "whose",
            "genre",
            "is",
            "pop",
            ",",
            "ordered",
            "by",
            "title",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT T1.duration ,  T1.file_size ,  T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T2.genre_is  =  \"pop\" ORDER BY T2.song_name",
        "query_toks": [
            "SELECT",
            "T1.duration",
            ",",
            "T1.file_size",
            ",",
            "T1.formats",
            "FROM",
            "files",
            "AS",
            "T1",
            "JOIN",
            "song",
            "AS",
            "T2",
            "ON",
            "T1.f_id",
            "=",
            "T2.f_id",
            "WHERE",
            "T2.genre_is",
            "=",
            "``",
            "pop",
            "''",
            "ORDER",
            "BY",
            "T2.song_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "duration",
            ",",
            "t1",
            ".",
            "file_size",
            ",",
            "t1",
            ".",
            "formats",
            "from",
            "files",
            "as",
            "t1",
            "join",
            "song",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "f_id",
            "=",
            "t2",
            ".",
            "f_id",
            "where",
            "t2",
            ".",
            "genre_is",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "song_name"
        ],
        "question": "What is the duration, file size, and song format for every pop song, ordered by title alphabetically?",
        "question_toks": [
            "What",
            "is",
            "the",
            "duration",
            ",",
            "file",
            "size",
            ",",
            "and",
            "song",
            "format",
            "for",
            "every",
            "pop",
            "song",
            ",",
            "ordered",
            "by",
            "title",
            "alphabetically",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT artist_name FROM song WHERE languages  =  \"english\" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating  >  8",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "rating",
            ">",
            "8"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "artist_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value",
            "except",
            "select",
            "distinct",
            "artist_name",
            "from",
            "song",
            "where",
            "rating",
            ">",
            "value"
        ],
        "question": "Find the names of the artists who have produced English songs but have never received rating higher than 8.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "artists",
            "who",
            "have",
            "produced",
            "English",
            "songs",
            "but",
            "have",
            "never",
            "received",
            "rating",
            "higher",
            "than",
            "8",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        8.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT artist_name FROM song WHERE languages  =  \"english\" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating  >  8",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "languages",
            "=",
            "``",
            "english",
            "''",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "rating",
            ">",
            "8"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "artist_name",
            "from",
            "song",
            "where",
            "languages",
            "=",
            "value",
            "except",
            "select",
            "distinct",
            "artist_name",
            "from",
            "song",
            "where",
            "rating",
            ">",
            "value"
        ],
        "question": "What are the names of the different artists that have produced a song in English but have never receieved a rating higher than 8?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "different",
            "artists",
            "that",
            "have",
            "produced",
            "a",
            "song",
            "in",
            "English",
            "but",
            "have",
            "never",
            "receieved",
            "a",
            "rating",
            "higher",
            "than",
            "8",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"english\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        8.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT artist_name FROM artist WHERE country  =  \"Bangladesh\" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating  >  7",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "artist_name",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "Bangladesh",
            "''",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "rating",
            ">",
            "7"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "artist_name",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value",
            "except",
            "select",
            "distinct",
            "artist_name",
            "from",
            "song",
            "where",
            "rating",
            ">",
            "value"
        ],
        "question": "Find the names of the artists who are from Bangladesh and have never received rating higher than 7.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "artists",
            "who",
            "are",
            "from",
            "Bangladesh",
            "and",
            "have",
            "never",
            "received",
            "rating",
            "higher",
            "than",
            "7",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Bangladesh\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        7.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_1",
        "query": "SELECT DISTINCT artist_name FROM artist WHERE country  =  \"Bangladesh\" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating  >  7",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "artist_name",
            "FROM",
            "artist",
            "WHERE",
            "country",
            "=",
            "``",
            "Bangladesh",
            "''",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "artist_name",
            "FROM",
            "song",
            "WHERE",
            "rating",
            ">",
            "7"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "artist_name",
            "from",
            "artist",
            "where",
            "country",
            "=",
            "value",
            "except",
            "select",
            "distinct",
            "artist_name",
            "from",
            "song",
            "where",
            "rating",
            ">",
            "value"
        ],
        "question": "What are the names of the different artists from Bangladesh who never received a rating higher than a 7?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "different",
            "artists",
            "from",
            "Bangladesh",
            "who",
            "never",
            "received",
            "a",
            "rating",
            "higher",
            "than",
            "a",
            "7",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Bangladesh\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        7.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_full ,  T1.college_id FROM college AS T1 JOIN player_college AS T2 ON T1.college_id  =  T2.college_id GROUP BY T1.college_id ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.name_full",
            ",",
            "T1.college_id",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "player_college",
            "AS",
            "T2",
            "ON",
            "T1.college_id",
            "=",
            "T2.college_id",
            "GROUP",
            "BY",
            "T1.college_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_full",
            ",",
            "t1",
            ".",
            "college_id",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "player_college",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "college_id",
            "=",
            "t2",
            ".",
            "college_id",
            "group",
            "by",
            "t1",
            ".",
            "college_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the full name and id of the college with the largest number of baseball players?",
        "question_toks": [
            "what",
            "is",
            "the",
            "full",
            "name",
            "and",
            "id",
            "of",
            "the",
            "college",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "baseball",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        21
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                277,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            101,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                278,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                277,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    277,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_full ,  T1.college_id FROM college AS T1 JOIN player_college AS T2 ON T1.college_id  =  T2.college_id GROUP BY T1.college_id ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.name_full",
            ",",
            "T1.college_id",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "player_college",
            "AS",
            "T2",
            "ON",
            "T1.college_id",
            "=",
            "T2.college_id",
            "GROUP",
            "BY",
            "T1.college_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_full",
            ",",
            "t1",
            ".",
            "college_id",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "player_college",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "college_id",
            "=",
            "t2",
            ".",
            "college_id",
            "group",
            "by",
            "t1",
            ".",
            "college_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the full name and id of the college that has the most baseball players.",
        "question_toks": [
            "Find",
            "the",
            "full",
            "name",
            "and",
            "id",
            "of",
            "the",
            "college",
            "that",
            "has",
            "the",
            "most",
            "baseball",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        21
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                277,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            101,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                278,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                277,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    277,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT avg(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id_br WHERE T2.name  = 'Boston Red Stockings'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.salary",
            ")",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "salary",
            ")",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is average salary of the players in the team named 'Boston Red Stockings' ?",
        "question_toks": [
            "What",
            "is",
            "average",
            "salary",
            "of",
            "the",
            "players",
            "in",
            "the",
            "team",
            "named",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                273,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT avg(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id_br WHERE T2.name  = 'Boston Red Stockings'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.salary",
            ")",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "salary",
            ")",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Compute the average salary of the players in the team called 'Boston Red Stockings'.",
        "question_toks": [
            "Compute",
            "the",
            "average",
            "salary",
            "of",
            "the",
            "players",
            "in",
            "the",
            "team",
            "called",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                273,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT name_first ,  name_last FROM player AS T1 JOIN all_star AS T2 ON T1.player_id  =  T2.player_id WHERE YEAR  =  1998",
        "query_toks": [
            "SELECT",
            "name_first",
            ",",
            "name_last",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "all_star",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "WHERE",
            "YEAR",
            "=",
            "1998"
        ],
        "query_toks_no_value": [
            "select",
            "name_first",
            ",",
            "name_last",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "all_star",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are first and last names of players participating in all star game in 1998?",
        "question_toks": [
            "What",
            "are",
            "first",
            "and",
            "last",
            "names",
            "of",
            "players",
            "participating",
            "in",
            "all",
            "star",
            "game",
            "in",
            "1998",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1998.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT name_first ,  name_last FROM player AS T1 JOIN all_star AS T2 ON T1.player_id  =  T2.player_id WHERE YEAR  =  1998",
        "query_toks": [
            "SELECT",
            "name_first",
            ",",
            "name_last",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "all_star",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "WHERE",
            "YEAR",
            "=",
            "1998"
        ],
        "query_toks_no_value": [
            "select",
            "name_first",
            ",",
            "name_last",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "all_star",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "List the first and last name for players who participated in all star game in 1998.",
        "question_toks": [
            "List",
            "the",
            "first",
            "and",
            "last",
            "name",
            "for",
            "players",
            "who",
            "participated",
            "in",
            "all",
            "star",
            "game",
            "in",
            "1998",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1998.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_first , T1.name_last ,  T1.player_id ,   count(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id  =  T2.player_id GROUP BY T1.player_id ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            ",",
            "T1.player_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "all_star",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "GROUP",
            "BY",
            "T1.player_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            ",",
            "t1",
            ".",
            "player_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "all_star",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "group",
            "by",
            "t1",
            ".",
            "player_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the first name, last name and id of the player with the most all star game experiences? Also list the count.",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            ",",
            "last",
            "name",
            "and",
            "id",
            "of",
            "the",
            "player",
            "with",
            "the",
            "most",
            "all",
            "star",
            "game",
            "experiences",
            "?",
            "Also",
            "list",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    182,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_first , T1.name_last ,  T1.player_id ,   count(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id  =  T2.player_id GROUP BY T1.player_id ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            ",",
            "T1.player_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "all_star",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "GROUP",
            "BY",
            "T1.player_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            ",",
            "t1",
            ".",
            "player_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "all_star",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "group",
            "by",
            "t1",
            ".",
            "player_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which player has the most all star game experiences? Give me the first name, last name and id of the player, as well as the number of times the player participated in all star game.",
        "question_toks": [
            "Which",
            "player",
            "has",
            "the",
            "most",
            "all",
            "star",
            "game",
            "experiences",
            "?",
            "Give",
            "me",
            "the",
            "first",
            "name",
            ",",
            "last",
            "name",
            "and",
            "id",
            "of",
            "the",
            "player",
            ",",
            "as",
            "well",
            "as",
            "the",
            "number",
            "of",
            "times",
            "the",
            "player",
            "participated",
            "in",
            "all",
            "star",
            "game",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    182,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT yearid ,  count(*) FROM hall_of_fame GROUP BY yearid;",
        "query_toks": [
            "SELECT",
            "yearid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "hall_of_fame",
            "GROUP",
            "BY",
            "yearid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "yearid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "hall_of_fame",
            "group",
            "by",
            "yearid"
        ],
        "question": "How many players enter hall of fame each year?",
        "question_toks": [
            "How",
            "many",
            "players",
            "enter",
            "hall",
            "of",
            "fame",
            "each",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                145,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    145,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT yearid ,  count(*) FROM hall_of_fame GROUP BY yearid;",
        "query_toks": [
            "SELECT",
            "yearid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "hall_of_fame",
            "GROUP",
            "BY",
            "yearid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "yearid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "hall_of_fame",
            "group",
            "by",
            "yearid"
        ],
        "question": "Count the number of players who enter hall of fame for each year.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "players",
            "who",
            "enter",
            "hall",
            "of",
            "fame",
            "for",
            "each",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                145,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    145,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT YEAR ,  avg(attendance) FROM home_game GROUP BY YEAR;",
        "query_toks": [
            "SELECT",
            "YEAR",
            ",",
            "avg",
            "(",
            "attendance",
            ")",
            "FROM",
            "home_game",
            "GROUP",
            "BY",
            "YEAR",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            ",",
            "avg",
            "(",
            "attendance",
            ")",
            "from",
            "home_game",
            "group",
            "by",
            "year"
        ],
        "question": "What is the average number of attendance at home games for each year?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "attendance",
            "at",
            "home",
            "games",
            "for",
            "each",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                153,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                161,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    153,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT YEAR ,  avg(attendance) FROM home_game GROUP BY YEAR;",
        "query_toks": [
            "SELECT",
            "YEAR",
            ",",
            "avg",
            "(",
            "attendance",
            ")",
            "FROM",
            "home_game",
            "GROUP",
            "BY",
            "YEAR",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            ",",
            "avg",
            "(",
            "attendance",
            ")",
            "from",
            "home_game",
            "group",
            "by",
            "year"
        ],
        "question": "For each year, return the year and the average number of attendance at home games.",
        "question_toks": [
            "For",
            "each",
            "year",
            ",",
            "return",
            "the",
            "year",
            "and",
            "the",
            "average",
            "number",
            "of",
            "attendance",
            "at",
            "home",
            "games",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                153,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                161,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    153,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.team_id ,  T2.rank FROM home_game AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id WHERE T1.year  =  2014 GROUP BY T1.team_id ORDER BY avg(T1.attendance) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.team_id",
            ",",
            "T2.rank",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id",
            "WHERE",
            "T1.year",
            "=",
            "2014",
            "GROUP",
            "BY",
            "T1.team_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.attendance",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "team_id",
            ",",
            "t2",
            ".",
            "rank",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "team_id",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "attendance",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "In 2014, what are the id and rank of the team that has the largest average number of attendance?",
        "question_toks": [
            "In",
            "2014",
            ",",
            "what",
            "are",
            "the",
            "id",
            "and",
            "rank",
            "of",
            "the",
            "team",
            "that",
            "has",
            "the",
            "largest",
            "average",
            "number",
            "of",
            "attendance",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                155,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            293,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                296,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    155,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            161,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.team_id ,  T2.rank FROM home_game AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id WHERE T1.year  =  2014 GROUP BY T1.team_id ORDER BY avg(T1.attendance) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.team_id",
            ",",
            "T2.rank",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id",
            "WHERE",
            "T1.year",
            "=",
            "2014",
            "GROUP",
            "BY",
            "T1.team_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.attendance",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "team_id",
            ",",
            "t2",
            ".",
            "rank",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "team_id",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "attendance",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id and rank of the team that has the highest average attendance rate in 2014.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "rank",
            "of",
            "the",
            "team",
            "that",
            "has",
            "the",
            "highest",
            "average",
            "attendance",
            "rate",
            "in",
            "2014",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                155,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            293,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                296,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    155,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            161,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_first ,  T1.name_last ,  T2.player_id FROM player AS T1 JOIN manager_award AS T2 ON T1.player_id  =  T2.player_id GROUP BY T2.player_id ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            ",",
            "T2.player_id",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "manager_award",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "GROUP",
            "BY",
            "T2.player_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            ",",
            "t2",
            ".",
            "player_id",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "manager_award",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "group",
            "by",
            "t2",
            ".",
            "player_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the manager's first name, last name and id who won the most manager award?",
        "question_toks": [
            "What",
            "are",
            "the",
            "manager",
            "'s",
            "first",
            "name",
            ",",
            "last",
            "name",
            "and",
            "id",
            "who",
            "won",
            "the",
            "most",
            "manager",
            "award",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_first ,  T1.name_last ,  T2.player_id FROM player AS T1 JOIN manager_award AS T2 ON T1.player_id  =  T2.player_id GROUP BY T2.player_id ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            ",",
            "T2.player_id",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "manager_award",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "GROUP",
            "BY",
            "T2.player_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            ",",
            "t2",
            ".",
            "player_id",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "manager_award",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "group",
            "by",
            "t2",
            ".",
            "player_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which manager won the most manager award? Give me the manager's first name, last name and id.",
        "question_toks": [
            "Which",
            "manager",
            "won",
            "the",
            "most",
            "manager",
            "award",
            "?",
            "Give",
            "me",
            "the",
            "manager",
            "'s",
            "first",
            "name",
            ",",
            "last",
            "name",
            "and",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM park WHERE state  =  'NY';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "park",
            "WHERE",
            "state",
            "=",
            "'NY",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "park",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "How many parks are there in the state of NY?",
        "question_toks": [
            "How",
            "many",
            "parks",
            "are",
            "there",
            "in",
            "the",
            "state",
            "of",
            "NY",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            210,
                            false
                        ],
                        null
                    ],
                    "\"NY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM park WHERE state  =  'NY';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "park",
            "WHERE",
            "state",
            "=",
            "'NY",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "park",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "Show me the number of parks the state of NY has.",
        "question_toks": [
            "Show",
            "me",
            "the",
            "number",
            "of",
            "parks",
            "the",
            "state",
            "of",
            "NY",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            210,
                            false
                        ],
                        null
                    ],
                    "\"NY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_first ,  T1.name_last ,  T1.player_id FROM player AS T1 JOIN player_award AS T2 ON T1.player_id  =  T2.player_id GROUP BY T1.player_id ORDER BY count(*) DESC LIMIT 3;",
        "query_toks": [
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            ",",
            "T1.player_id",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "player_award",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "GROUP",
            "BY",
            "T1.player_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            ",",
            "t1",
            ".",
            "player_id",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_award",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "group",
            "by",
            "t1",
            ".",
            "player_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which 3 players won the most player awards? List their full name and id.",
        "question_toks": [
            "Which",
            "3",
            "players",
            "won",
            "the",
            "most",
            "player",
            "awards",
            "?",
            "List",
            "their",
            "full",
            "name",
            "and",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    182,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_first ,  T1.name_last ,  T1.player_id FROM player AS T1 JOIN player_award AS T2 ON T1.player_id  =  T2.player_id GROUP BY T1.player_id ORDER BY count(*) DESC LIMIT 3;",
        "query_toks": [
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            ",",
            "T1.player_id",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "player_award",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "GROUP",
            "BY",
            "T1.player_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            ",",
            "t1",
            ".",
            "player_id",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_award",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "group",
            "by",
            "t1",
            ".",
            "player_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the first name, last name and id for the top three players won the most player awards.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            ",",
            "last",
            "name",
            "and",
            "id",
            "for",
            "the",
            "top",
            "three",
            "players",
            "won",
            "the",
            "most",
            "player",
            "awards",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    182,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT birth_country FROM player GROUP BY birth_country ORDER BY count(*) ASC LIMIT 3;",
        "query_toks": [
            "SELECT",
            "birth_country",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "birth_country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "birth_country",
            "from",
            "player",
            "group",
            "by",
            "birth_country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "List three countries which are the origins of the least players.",
        "question_toks": [
            "List",
            "three",
            "countries",
            "which",
            "are",
            "the",
            "origins",
            "of",
            "the",
            "least",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                186,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    186,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT birth_country FROM player GROUP BY birth_country ORDER BY count(*) ASC LIMIT 3;",
        "query_toks": [
            "SELECT",
            "birth_country",
            "FROM",
            "player",
            "GROUP",
            "BY",
            "birth_country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "birth_country",
            "from",
            "player",
            "group",
            "by",
            "birth_country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the three countries that the least players are from?",
        "question_toks": [
            "What",
            "are",
            "the",
            "three",
            "countries",
            "that",
            "the",
            "least",
            "players",
            "are",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                186,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    186,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT name_first ,  name_last FROM player WHERE death_year = '';",
        "query_toks": [
            "SELECT",
            "name_first",
            ",",
            "name_last",
            "FROM",
            "player",
            "WHERE",
            "death_year",
            "=",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name_first",
            ",",
            "name_last",
            "from",
            "player",
            "where",
            "death_year",
            "=",
            "value"
        ],
        "question": "Find all the players' first name and last name who have empty death record.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "players",
            "'",
            "first",
            "name",
            "and",
            "last",
            "name",
            "who",
            "have",
            "empty",
            "death",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            189,
                            false
                        ],
                        null
                    ],
                    "\"\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT name_first ,  name_last FROM player WHERE death_year = '';",
        "query_toks": [
            "SELECT",
            "name_first",
            ",",
            "name_last",
            "FROM",
            "player",
            "WHERE",
            "death_year",
            "=",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name_first",
            ",",
            "name_last",
            "from",
            "player",
            "where",
            "death_year",
            "=",
            "value"
        ],
        "question": "What are the first name and last name of the players whose death record is empty?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "players",
            "whose",
            "death",
            "record",
            "is",
            "empty",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            189,
                            false
                        ],
                        null
                    ],
                    "\"\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM player WHERE birth_country = 'USA' AND bats  =  'R';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "player",
            "WHERE",
            "birth_country",
            "=",
            "'USA",
            "'",
            "AND",
            "bats",
            "=",
            "'R",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player",
            "where",
            "birth_country",
            "=",
            "value",
            "and",
            "bats",
            "=",
            "value"
        ],
        "question": "How many players born in USA are right-handed batters? That is, have the batter value 'R'.",
        "question_toks": [
            "How",
            "many",
            "players",
            "born",
            "in",
            "USA",
            "are",
            "right-handed",
            "batters",
            "?",
            "That",
            "is",
            ",",
            "have",
            "the",
            "batter",
            "value",
            "'R",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            186,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            200,
                            false
                        ],
                        null
                    ],
                    "\"R\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM player WHERE birth_country = 'USA' AND bats  =  'R';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "player",
            "WHERE",
            "birth_country",
            "=",
            "'USA",
            "'",
            "AND",
            "bats",
            "=",
            "'R",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player",
            "where",
            "birth_country",
            "=",
            "value",
            "and",
            "bats",
            "=",
            "value"
        ],
        "question": "Count the number of players who were born in USA and have bats information 'R'.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "players",
            "who",
            "were",
            "born",
            "in",
            "USA",
            "and",
            "have",
            "bats",
            "information",
            "'R",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            186,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            200,
                            false
                        ],
                        null
                    ],
                    "\"R\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT avg(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id  =  T2.player_id JOIN college AS T3 ON T3.college_id  =  T2.college_id WHERE T3.name_full  =  'Yale University';",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.height",
            ")",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "player_college",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "JOIN",
            "college",
            "AS",
            "T3",
            "ON",
            "T3.college_id",
            "=",
            "T2.college_id",
            "WHERE",
            "T3.name_full",
            "=",
            "'Yale",
            "University",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "height",
            ")",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_college",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "join",
            "college",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "college_id",
            "=",
            "t2",
            ".",
            "college_id",
            "where",
            "t3",
            ".",
            "name_full",
            "=",
            "value"
        ],
        "question": "What is the average height of the players from the college named 'Yale University'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "height",
            "of",
            "the",
            "players",
            "from",
            "the",
            "college",
            "named",
            "'Yale",
            "University",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        21
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            100,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                277,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            101,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                199,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            278,
                            false
                        ],
                        null
                    ],
                    "\"Yale University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT avg(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id  =  T2.player_id JOIN college AS T3 ON T3.college_id  =  T2.college_id WHERE T3.name_full  =  'Yale University';",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.height",
            ")",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "player_college",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "JOIN",
            "college",
            "AS",
            "T3",
            "ON",
            "T3.college_id",
            "=",
            "T2.college_id",
            "WHERE",
            "T3.name_full",
            "=",
            "'Yale",
            "University",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "height",
            ")",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_college",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "join",
            "college",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "college_id",
            "=",
            "t2",
            ".",
            "college_id",
            "where",
            "t3",
            ".",
            "name_full",
            "=",
            "value"
        ],
        "question": "Find the average height of the players who belong to the college called 'Yale University'.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "height",
            "of",
            "the",
            "players",
            "who",
            "belong",
            "to",
            "the",
            "college",
            "called",
            "'Yale",
            "University",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        21
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            100,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                277,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            101,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                199,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            278,
                            false
                        ],
                        null
                    ],
                    "\"Yale University\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name ,  T1.team_id ,  max(T2.salary) FROM team AS T1 JOIN salary AS T2 ON T1.team_id  =  T2.team_id GROUP BY T1.team_id;",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.team_id",
            ",",
            "max",
            "(",
            "T2.salary",
            ")",
            "FROM",
            "team",
            "AS",
            "T1",
            "JOIN",
            "salary",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id",
            "GROUP",
            "BY",
            "T1.team_id",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "team_id",
            ",",
            "max",
            "(",
            "t2",
            ".",
            "salary",
            ")",
            "from",
            "team",
            "as",
            "t1",
            "join",
            "salary",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id",
            "group",
            "by",
            "t1",
            ".",
            "team_id"
        ],
        "question": "What is the highest salary among each team? List the team name, id and maximum salary.",
        "question_toks": [
            "What",
            "is",
            "the",
            "highest",
            "salary",
            "among",
            "each",
            "team",
            "?",
            "List",
            "the",
            "team",
            "name",
            ",",
            "id",
            "and",
            "maximum",
            "salary",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        23
                    ],
                    [
                        "table_unit",
                        20
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            273,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    293,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name ,  T1.team_id ,  max(T2.salary) FROM team AS T1 JOIN salary AS T2 ON T1.team_id  =  T2.team_id GROUP BY T1.team_id;",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.team_id",
            ",",
            "max",
            "(",
            "T2.salary",
            ")",
            "FROM",
            "team",
            "AS",
            "T1",
            "JOIN",
            "salary",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id",
            "GROUP",
            "BY",
            "T1.team_id",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "team_id",
            ",",
            "max",
            "(",
            "t2",
            ".",
            "salary",
            ")",
            "from",
            "team",
            "as",
            "t1",
            "join",
            "salary",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id",
            "group",
            "by",
            "t1",
            ".",
            "team_id"
        ],
        "question": "For each team, return the team name, id and the maximum salary among the team.",
        "question_toks": [
            "For",
            "each",
            "team",
            ",",
            "return",
            "the",
            "team",
            "name",
            ",",
            "id",
            "and",
            "the",
            "maximum",
            "salary",
            "among",
            "the",
            "team",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        23
                    ],
                    [
                        "table_unit",
                        20
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            273,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    293,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name ,  T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY avg(T2.salary) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.team_id",
            "FROM",
            "team",
            "AS",
            "T1",
            "JOIN",
            "salary",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id",
            "GROUP",
            "BY",
            "T1.team_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T2.salary",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "team_id",
            "from",
            "team",
            "as",
            "t1",
            "join",
            "salary",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id",
            "group",
            "by",
            "t1",
            ".",
            "team_id",
            "order",
            "by",
            "avg",
            "(",
            "t2",
            ".",
            "salary",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the name and id of the team offering the lowest average salary?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "team",
            "offering",
            "the",
            "lowest",
            "average",
            "salary",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        23
                    ],
                    [
                        "table_unit",
                        20
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            273,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    293,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            276,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name ,  T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY avg(T2.salary) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.team_id",
            "FROM",
            "team",
            "AS",
            "T1",
            "JOIN",
            "salary",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id",
            "GROUP",
            "BY",
            "T1.team_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T2.salary",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "team_id",
            "from",
            "team",
            "as",
            "t1",
            "join",
            "salary",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id",
            "group",
            "by",
            "t1",
            ".",
            "team_id",
            "order",
            "by",
            "avg",
            "(",
            "t2",
            ".",
            "salary",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which team offers the lowest average salary? Give me the name and id of the team.",
        "question_toks": [
            "Which",
            "team",
            "offers",
            "the",
            "lowest",
            "average",
            "salary",
            "?",
            "Give",
            "me",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "team",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        23
                    ],
                    [
                        "table_unit",
                        20
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            273,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                293,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    293,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            276,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_first , T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year  =  1960 INTERSECT SELECT T1.name_first , T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year  =  1961",
        "query_toks": [
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "player_award",
            "AS",
            "T2",
            "WHERE",
            "T2.year",
            "=",
            "1960",
            "INTERSECT",
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "player_award",
            "AS",
            "T2",
            "WHERE",
            "T2.year",
            "=",
            "1961"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_award",
            "as",
            "t2",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_award",
            "as",
            "t2",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Find the players' first name and last name who won award both in 1960 and in 1961.",
        "question_toks": [
            "Find",
            "the",
            "players",
            "'",
            "first",
            "name",
            "and",
            "last",
            "name",
            "who",
            "won",
            "award",
            "both",
            "in",
            "1960",
            "and",
            "in",
            "1961",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    1960.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            16
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    195,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    196,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        1961.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T1.name_first , T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year  =  1960 INTERSECT SELECT T1.name_first , T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year  =  1961",
        "query_toks": [
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "player_award",
            "AS",
            "T2",
            "WHERE",
            "T2.year",
            "=",
            "1960",
            "INTERSECT",
            "SELECT",
            "T1.name_first",
            ",",
            "T1.name_last",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "player_award",
            "AS",
            "T2",
            "WHERE",
            "T2.year",
            "=",
            "1961"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_award",
            "as",
            "t2",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name_first",
            ",",
            "t1",
            ".",
            "name_last",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "player_award",
            "as",
            "t2",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Which players won awards in both 1960 and 1961? Return their first names and last names.",
        "question_toks": [
            "Which",
            "players",
            "won",
            "awards",
            "in",
            "both",
            "1960",
            "and",
            "1961",
            "?",
            "Return",
            "their",
            "first",
            "names",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    1960.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            16
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    195,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    196,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        1961.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT name_first ,  name_last FROM player WHERE weight  >  220 OR height  <  75",
        "query_toks": [
            "SELECT",
            "name_first",
            ",",
            "name_last",
            "FROM",
            "player",
            "WHERE",
            "weight",
            ">",
            "220",
            "OR",
            "height",
            "<",
            "75"
        ],
        "query_toks_no_value": [
            "select",
            "name_first",
            ",",
            "name_last",
            "from",
            "player",
            "where",
            "weight",
            ">",
            "value",
            "or",
            "height",
            "<",
            "value"
        ],
        "question": "List players' first name and last name who have weight greater than 220 or height shorter than 75.",
        "question_toks": [
            "List",
            "players",
            "'",
            "first",
            "name",
            "and",
            "last",
            "name",
            "who",
            "have",
            "weight",
            "greater",
            "than",
            "220",
            "or",
            "height",
            "shorter",
            "than",
            "75",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            198,
                            false
                        ],
                        null
                    ],
                    220.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            199,
                            false
                        ],
                        null
                    ],
                    75.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT name_first ,  name_last FROM player WHERE weight  >  220 OR height  <  75",
        "query_toks": [
            "SELECT",
            "name_first",
            ",",
            "name_last",
            "FROM",
            "player",
            "WHERE",
            "weight",
            ">",
            "220",
            "OR",
            "height",
            "<",
            "75"
        ],
        "query_toks_no_value": [
            "select",
            "name_first",
            ",",
            "name_last",
            "from",
            "player",
            "where",
            "weight",
            ">",
            "value",
            "or",
            "height",
            "<",
            "value"
        ],
        "question": "What are the first name and last name of the players who have weight above 220 or height below 75?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "players",
            "who",
            "have",
            "weight",
            "above",
            "220",
            "or",
            "height",
            "below",
            "75",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            198,
                            false
                        ],
                        null
                    ],
                    220.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            199,
                            false
                        ],
                        null
                    ],
                    75.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT max(T1.wins) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings';",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.wins",
            ")",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_winner",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "wins",
            ")",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_winner",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the maximum scores of the team Boston Red Stockings when the team won in postseason?",
        "question_toks": [
            "List",
            "the",
            "maximum",
            "scores",
            "of",
            "the",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "when",
            "the",
            "team",
            "won",
            "in",
            "postseason",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                284,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                288,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT max(T1.wins) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings';",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.wins",
            ")",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_winner",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "wins",
            ")",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_winner",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the maximum scores the team Boston Red Stockings got when the team won in postseason?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "scores",
            "the",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "got",
            "when",
            "the",
            "team",
            "won",
            "in",
            "postseason",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                284,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                288,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' AND T1.year = 2009;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_loser",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "=",
            "2009",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_loser",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many times did Boston Red Stockings lose in 2009 postseason?",
        "question_toks": [
            "How",
            "many",
            "times",
            "did",
            "Boston",
            "Red",
            "Stockings",
            "lose",
            "in",
            "2009",
            "postseason",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                286,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            282,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' AND T1.year = 2009;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_loser",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "=",
            "2009",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_loser",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Count the number of times the team \"Boston Red Stockings\" lost in 2009 postseason.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "times",
            "the",
            "team",
            "``",
            "Boston",
            "Red",
            "Stockings",
            "''",
            "lost",
            "in",
            "2009",
            "postseason",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                286,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            282,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.name ,  T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner  =  T2.team_id_br WHERE T1.year  =  2008 GROUP BY T1.team_id_winner ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T1.team_id_winner",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_winner",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T1.year",
            "=",
            "2008",
            "GROUP",
            "BY",
            "T1.team_id_winner",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "team_id_winner",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_winner",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "team_id_winner",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the name and id of the team with the most victories in 2008 postseason?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "team",
            "with",
            "the",
            "most",
            "victories",
            "in",
            "2008",
            "postseason",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                284,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                284,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            282,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    284,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.name ,  T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner  =  T2.team_id_br WHERE T1.year  =  2008 GROUP BY T1.team_id_winner ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T1.team_id_winner",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_winner",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T1.year",
            "=",
            "2008",
            "GROUP",
            "BY",
            "T1.team_id_winner",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "team_id_winner",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_winner",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "team_id_winner",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and id of the team that won the most times in 2008 postseason.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "id",
            "of",
            "the",
            "team",
            "that",
            "won",
            "the",
            "most",
            "times",
            "in",
            "2008",
            "postseason",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                284,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                284,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            282,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    284,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) ,  T1.year FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' GROUP BY T1.year",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.year",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_winner",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "GROUP",
            "BY",
            "T1.year"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_winner",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "year"
        ],
        "question": "What is the number of wins the team Boston Red Stockings got in the postseasons each year in history?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "wins",
            "the",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "got",
            "in",
            "the",
            "postseasons",
            "each",
            "year",
            "in",
            "history",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                284,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                282,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    282,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) ,  T1.year FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' GROUP BY T1.year",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.year",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_winner",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "GROUP",
            "BY",
            "T1.year"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_winner",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "year"
        ],
        "question": "For each year, return the year and the number of times the team Boston Red Stockings won in the postseasons.",
        "question_toks": [
            "For",
            "each",
            "year",
            ",",
            "return",
            "the",
            "year",
            "and",
            "the",
            "number",
            "of",
            "times",
            "the",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "won",
            "in",
            "the",
            "postseasons",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                284,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                282,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    282,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM ( SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "*",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_winner",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "UNION",
            "SELECT",
            "*",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_loser",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "*",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_winner",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "union",
            "select",
            "*",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_loser",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "What is the total number of postseason games that team Boston Red Stockings participated in?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "postseason",
            "games",
            "that",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "participated",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        22
                                    ],
                                    [
                                        "table_unit",
                                        23
                                    ]
                                ],
                                "conds": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                284,
                                                false
                                            ],
                                            null
                                        ],
                                        [
                                            0,
                                            336,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                0,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            331,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Boston Red Stockings\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": {
                                "from": {
                                    "table_units": [
                                        [
                                            "table_unit",
                                            22
                                        ],
                                        [
                                            "table_unit",
                                            23
                                        ]
                                    ],
                                    "conds": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    286,
                                                    false
                                                ],
                                                null
                                            ],
                                            [
                                                0,
                                                336,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                },
                                "select": [
                                    false,
                                    [
                                        [
                                            0,
                                            [
                                                0,
                                                [
                                                    0,
                                                    0,
                                                    false
                                                ],
                                                null
                                            ]
                                        ]
                                    ]
                                ],
                                "where": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                331,
                                                false
                                            ],
                                            null
                                        ],
                                        "\"Boston Red Stockings\"",
                                        null
                                    ]
                                ],
                                "groupBy": [],
                                "having": [],
                                "orderBy": [],
                                "limit": null,
                                "intersect": null,
                                "union": null,
                                "except": null
                            },
                            "except": null
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM ( SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "*",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_winner",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "UNION",
            "SELECT",
            "*",
            "FROM",
            "postseason",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id_loser",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "*",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_winner",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "union",
            "select",
            "*",
            "from",
            "postseason",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id_loser",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "How many times in total did the team Boston Red Stockings participate in postseason games?",
        "question_toks": [
            "How",
            "many",
            "times",
            "in",
            "total",
            "did",
            "the",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "participate",
            "in",
            "postseason",
            "games",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        22
                                    ],
                                    [
                                        "table_unit",
                                        23
                                    ]
                                ],
                                "conds": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                284,
                                                false
                                            ],
                                            null
                                        ],
                                        [
                                            0,
                                            336,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                0,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            331,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Boston Red Stockings\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": {
                                "from": {
                                    "table_units": [
                                        [
                                            "table_unit",
                                            22
                                        ],
                                        [
                                            "table_unit",
                                            23
                                        ]
                                    ],
                                    "conds": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    286,
                                                    false
                                                ],
                                                null
                                            ],
                                            [
                                                0,
                                                336,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                },
                                "select": [
                                    false,
                                    [
                                        [
                                            0,
                                            [
                                                0,
                                                [
                                                    0,
                                                    0,
                                                    false
                                                ],
                                                null
                                            ]
                                        ]
                                    ]
                                ],
                                "where": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                331,
                                                false
                                            ],
                                            null
                                        ],
                                        "\"Boston Red Stockings\"",
                                        null
                                    ]
                                ],
                                "groupBy": [],
                                "having": [],
                                "orderBy": [],
                                "limit": null,
                                "intersect": null,
                                "union": null,
                                "except": null
                            },
                            "except": null
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM postseason WHERE YEAR  =  1885 AND ties  =  1;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "postseason",
            "WHERE",
            "YEAR",
            "=",
            "1885",
            "AND",
            "ties",
            "=",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "postseason",
            "where",
            "year",
            "=",
            "value",
            "and",
            "ties",
            "=",
            "value"
        ],
        "question": "How many games in 1885 postseason resulted in ties (that is, the value of \"ties\" is '1')?",
        "question_toks": [
            "How",
            "many",
            "games",
            "in",
            "1885",
            "postseason",
            "resulted",
            "in",
            "ties",
            "(",
            "that",
            "is",
            ",",
            "the",
            "value",
            "of",
            "``",
            "ties",
            "''",
            "is",
            "'1",
            "'",
            ")",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            282,
                            false
                        ],
                        null
                    ],
                    1885.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            290,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM postseason WHERE YEAR  =  1885 AND ties  =  1;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "postseason",
            "WHERE",
            "YEAR",
            "=",
            "1885",
            "AND",
            "ties",
            "=",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "postseason",
            "where",
            "year",
            "=",
            "value",
            "and",
            "ties",
            "=",
            "value"
        ],
        "question": "Find the number of tied games (the value of \"ties\" is '1') in 1885 postseason.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "tied",
            "games",
            "(",
            "the",
            "value",
            "of",
            "``",
            "ties",
            "''",
            "is",
            "'1",
            "'",
            ")",
            "in",
            "1885",
            "postseason",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        22
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            282,
                            false
                        ],
                        null
                    ],
                    1885.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            290,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT sum(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id_br WHERE T2.name  = 'Boston Red Stockings' AND T1.year  =  2010",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.salary",
            ")",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "salary",
            ")",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the total salary paid by team Boston Red Stockings in 2010?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "salary",
            "paid",
            "by",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "in",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                273,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT sum(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id_br WHERE T2.name  = 'Boston Red Stockings' AND T1.year  =  2010",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.salary",
            ")",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "salary",
            ")",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the total salary expenses of team Boston Red Stockings in 2010?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "salary",
            "expenses",
            "of",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "in",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                273,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id_br WHERE T2.name  = 'Boston Red Stockings' AND T1.year  =  2000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many players were in the team Boston Red Stockings in 2000?",
        "question_toks": [
            "How",
            "many",
            "players",
            "were",
            "in",
            "the",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "in",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                273,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id_br WHERE T2.name  = 'Boston Red Stockings' AND T1.year  =  2000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many players did Boston Red Stockings have in 2000?",
        "question_toks": [
            "How",
            "many",
            "players",
            "did",
            "Boston",
            "Red",
            "Stockings",
            "have",
            "in",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                273,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT salary FROM salary WHERE YEAR  =  2001 ORDER BY salary DESC LIMIT 3;",
        "query_toks": [
            "SELECT",
            "salary",
            "FROM",
            "salary",
            "WHERE",
            "YEAR",
            "=",
            "2001",
            "ORDER",
            "BY",
            "salary",
            "DESC",
            "LIMIT",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "salary",
            "from",
            "salary",
            "where",
            "year",
            "=",
            "value",
            "order",
            "by",
            "salary",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the 3 highest salaries of the players in 2001?",
        "question_toks": [
            "List",
            "the",
            "3",
            "highest",
            "salaries",
            "of",
            "the",
            "players",
            "in",
            "2001",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            276,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT salary FROM salary WHERE YEAR  =  2001 ORDER BY salary DESC LIMIT 3;",
        "query_toks": [
            "SELECT",
            "salary",
            "FROM",
            "salary",
            "WHERE",
            "YEAR",
            "=",
            "2001",
            "ORDER",
            "BY",
            "salary",
            "DESC",
            "LIMIT",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "salary",
            "from",
            "salary",
            "where",
            "year",
            "=",
            "value",
            "order",
            "by",
            "salary",
            "desc",
            "limit",
            "value"
        ],
        "question": "How much salary did the top 3 well-paid players get in 2001?",
        "question_toks": [
            "How",
            "much",
            "salary",
            "did",
            "the",
            "top",
            "3",
            "well-paid",
            "players",
            "get",
            "in",
            "2001",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            276,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT salary FROM salary WHERE YEAR  =  2010 UNION SELECT salary FROM salary WHERE YEAR  =  2001",
        "query_toks": [
            "SELECT",
            "salary",
            "FROM",
            "salary",
            "WHERE",
            "YEAR",
            "=",
            "2010",
            "UNION",
            "SELECT",
            "salary",
            "FROM",
            "salary",
            "WHERE",
            "YEAR",
            "=",
            "2001"
        ],
        "query_toks_no_value": [
            "select",
            "salary",
            "from",
            "salary",
            "where",
            "year",
            "=",
            "value",
            "union",
            "select",
            "salary",
            "from",
            "salary",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What were all the salary values of players in 2010 and 2001?",
        "question_toks": [
            "What",
            "were",
            "all",
            "the",
            "salary",
            "values",
            "of",
            "players",
            "in",
            "2010",
            "and",
            "2001",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            20
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    276,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                272,
                                false
                            ],
                            null
                        ],
                        2001.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT salary FROM salary WHERE YEAR  =  2010 UNION SELECT salary FROM salary WHERE YEAR  =  2001",
        "query_toks": [
            "SELECT",
            "salary",
            "FROM",
            "salary",
            "WHERE",
            "YEAR",
            "=",
            "2010",
            "UNION",
            "SELECT",
            "salary",
            "FROM",
            "salary",
            "WHERE",
            "YEAR",
            "=",
            "2001"
        ],
        "query_toks_no_value": [
            "select",
            "salary",
            "from",
            "salary",
            "where",
            "year",
            "=",
            "value",
            "union",
            "select",
            "salary",
            "from",
            "salary",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "List all the salary values players received in 2010 and 2001.",
        "question_toks": [
            "List",
            "all",
            "the",
            "salary",
            "values",
            "players",
            "received",
            "in",
            "2010",
            "and",
            "2001",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            20
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    276,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                272,
                                false
                            ],
                            null
                        ],
                        2001.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT yearid FROM hall_of_fame GROUP BY yearid ORDER BY count(*) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "yearid",
            "FROM",
            "hall_of_fame",
            "GROUP",
            "BY",
            "yearid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "yearid",
            "from",
            "hall_of_fame",
            "group",
            "by",
            "yearid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "In which year did the least people enter hall of fame?",
        "question_toks": [
            "In",
            "which",
            "year",
            "did",
            "the",
            "least",
            "people",
            "enter",
            "hall",
            "of",
            "fame",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                145,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    145,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT yearid FROM hall_of_fame GROUP BY yearid ORDER BY count(*) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "yearid",
            "FROM",
            "hall_of_fame",
            "GROUP",
            "BY",
            "yearid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "yearid",
            "from",
            "hall_of_fame",
            "group",
            "by",
            "yearid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the year in which the least people enter hall of fame.",
        "question_toks": [
            "Find",
            "the",
            "year",
            "in",
            "which",
            "the",
            "least",
            "people",
            "enter",
            "hall",
            "of",
            "fame",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                145,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    145,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM park WHERE city = 'Atlanta';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "park",
            "WHERE",
            "city",
            "=",
            "'Atlanta",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "park",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "How many parks are there in Atlanta city?",
        "question_toks": [
            "How",
            "many",
            "parks",
            "are",
            "there",
            "in",
            "Atlanta",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            209,
                            false
                        ],
                        null
                    ],
                    "\"Atlanta\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM park WHERE city = 'Atlanta';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "park",
            "WHERE",
            "city",
            "=",
            "'Atlanta",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "park",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "How many parks does Atlanta city have?",
        "question_toks": [
            "How",
            "many",
            "parks",
            "does",
            "Atlanta",
            "city",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            209,
                            false
                        ],
                        null
                    ],
                    "\"Atlanta\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id  =  T2.park_id WHERE T1.year = 1907 AND T2.park_name = 'Columbia Park';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "park",
            "AS",
            "T2",
            "ON",
            "T1.park_id",
            "=",
            "T2.park_id",
            "WHERE",
            "T1.year",
            "=",
            "1907",
            "AND",
            "T2.park_name",
            "=",
            "'Columbia",
            "Park",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "park",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "park_id",
            "=",
            "t2",
            ".",
            "park_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "park_name",
            "=",
            "value"
        ],
        "question": "How many games were played in park \"Columbia Park\" in 1907?",
        "question_toks": [
            "How",
            "many",
            "games",
            "were",
            "played",
            "in",
            "park",
            "``",
            "Columbia",
            "Park",
            "''",
            "in",
            "1907",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                156,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            206,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    1907.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            207,
                            false
                        ],
                        null
                    ],
                    "\"Columbia Park\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id  =  T2.park_id WHERE T1.year = 1907 AND T2.park_name = 'Columbia Park';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "park",
            "AS",
            "T2",
            "ON",
            "T1.park_id",
            "=",
            "T2.park_id",
            "WHERE",
            "T1.year",
            "=",
            "1907",
            "AND",
            "T2.park_name",
            "=",
            "'Columbia",
            "Park",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "park",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "park_id",
            "=",
            "t2",
            ".",
            "park_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "park_name",
            "=",
            "value"
        ],
        "question": "Count the number of games taken place in park \"Columbia Park\" in 1907.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "games",
            "taken",
            "place",
            "in",
            "park",
            "``",
            "Columbia",
            "Park",
            "''",
            "in",
            "1907",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                156,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            206,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    1907.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            207,
                            false
                        ],
                        null
                    ],
                    "\"Columbia Park\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id  =  T2.park_id WHERE T1.year  =  2000 AND T2.city  =  'Atlanta';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "park",
            "AS",
            "T2",
            "ON",
            "T1.park_id",
            "=",
            "T2.park_id",
            "WHERE",
            "T1.year",
            "=",
            "2000",
            "AND",
            "T2.city",
            "=",
            "'Atlanta",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "park",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "park_id",
            "=",
            "t2",
            ".",
            "park_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many games were played in city Atlanta in 2000?",
        "question_toks": [
            "How",
            "many",
            "games",
            "were",
            "played",
            "in",
            "city",
            "Atlanta",
            "in",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                156,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            206,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            209,
                            false
                        ],
                        null
                    ],
                    "\"Atlanta\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id  =  T2.park_id WHERE T1.year  =  2000 AND T2.city  =  'Atlanta';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "park",
            "AS",
            "T2",
            "ON",
            "T1.park_id",
            "=",
            "T2.park_id",
            "WHERE",
            "T1.year",
            "=",
            "2000",
            "AND",
            "T2.city",
            "=",
            "'Atlanta",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "park",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "park_id",
            "=",
            "t2",
            ".",
            "park_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Find the number of games taken place in city Atlanta in 2000.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "games",
            "taken",
            "place",
            "in",
            "city",
            "Atlanta",
            "in",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                156,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            206,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            209,
                            false
                        ],
                        null
                    ],
                    "\"Atlanta\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT sum(T1.attendance) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' AND T1.year BETWEEN 2000 AND 2010;",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.attendance",
            ")",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "BETWEEN",
            "2000",
            "AND",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "attendance",
            ")",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What is the total home game attendance of team Boston Red Stockings from 2000 to 2010?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "home",
            "game",
            "attendance",
            "of",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "from",
            "2000",
            "to",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                155,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                161,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    2010.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT sum(T1.attendance) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id  =  T2.team_id_br WHERE T2.name  =  'Boston Red Stockings' AND T1.year BETWEEN 2000 AND 2010;",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.attendance",
            ")",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "BETWEEN",
            "2000",
            "AND",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "attendance",
            ")",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "How many games in total did team Boston Red Stockings attend from 2000 to 2010?",
        "question_toks": [
            "How",
            "many",
            "games",
            "in",
            "total",
            "did",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "attend",
            "from",
            "2000",
            "to",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                155,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                161,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    2010.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT sum(T1.salary) FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id WHERE T2.name_first  =  'Len' AND T2.name_last = 'Barker' AND T1.year BETWEEN 1985 AND 1990;",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.salary",
            ")",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "WHERE",
            "T2.name_first",
            "=",
            "'Len",
            "'",
            "AND",
            "T2.name_last",
            "=",
            "'Barker",
            "'",
            "AND",
            "T1.year",
            "BETWEEN",
            "1985",
            "AND",
            "1990",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "salary",
            ")",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "where",
            "t2",
            ".",
            "name_first",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name_last",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "How much did the the player with first name Len and last name Barker earn between 1985 to 1990 in total?",
        "question_toks": [
            "How",
            "much",
            "did",
            "the",
            "the",
            "player",
            "with",
            "first",
            "name",
            "Len",
            "and",
            "last",
            "name",
            "Barker",
            "earn",
            "between",
            "1985",
            "to",
            "1990",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                275,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            182,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            195,
                            false
                        ],
                        null
                    ],
                    "\"Len\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            196,
                            false
                        ],
                        null
                    ],
                    "\"Barker\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    1985.0,
                    1990.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT sum(T1.salary) FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id WHERE T2.name_first  =  'Len' AND T2.name_last = 'Barker' AND T1.year BETWEEN 1985 AND 1990;",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.salary",
            ")",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "WHERE",
            "T2.name_first",
            "=",
            "'Len",
            "'",
            "AND",
            "T2.name_last",
            "=",
            "'Barker",
            "'",
            "AND",
            "T1.year",
            "BETWEEN",
            "1985",
            "AND",
            "1990",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "salary",
            ")",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "where",
            "t2",
            ".",
            "name_first",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name_last",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Compute the total salary that the player with first name Len and last name Barker received between 1985 to 1990.",
        "question_toks": [
            "Compute",
            "the",
            "total",
            "salary",
            "that",
            "the",
            "player",
            "with",
            "first",
            "name",
            "Len",
            "and",
            "last",
            "name",
            "Barker",
            "received",
            "between",
            "1985",
            "to",
            "1990",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        16
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                275,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            182,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                276,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            195,
                            false
                        ],
                        null
                    ],
                    "\"Len\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            196,
                            false
                        ],
                        null
                    ],
                    "\"Barker\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    1985.0,
                    1990.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.name_first ,  T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first , T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2007 AND T3.name = 'Washington Nationals'",
        "query_toks": [
            "SELECT",
            "T2.name_first",
            ",",
            "T2.name_last",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "JOIN",
            "team",
            "AS",
            "T3",
            "ON",
            "T3.team_id_br",
            "=",
            "T1.team_id",
            "WHERE",
            "T1.year",
            "=",
            "2005",
            "AND",
            "T3.name",
            "=",
            "'Washington",
            "Nationals",
            "'",
            "INTERSECT",
            "SELECT",
            "T2.name_first",
            ",",
            "T2.name_last",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "JOIN",
            "team",
            "AS",
            "T3",
            "ON",
            "T3.team_id_br",
            "=",
            "T1.team_id",
            "WHERE",
            "T1.year",
            "=",
            "2007",
            "AND",
            "T3.name",
            "=",
            "'Washington",
            "Nationals",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name_first",
            ",",
            "t2",
            ".",
            "name_last",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "join",
            "team",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "team_id_br",
            "=",
            "t1",
            ".",
            "team_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name_first",
            ",",
            "t2",
            ".",
            "name_last",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "join",
            "team",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "team_id_br",
            "=",
            "t1",
            ".",
            "team_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007.",
        "question_toks": [
            "List",
            "players",
            "'",
            "first",
            "name",
            "and",
            "last",
            "name",
            "who",
            "received",
            "salary",
            "from",
            "team",
            "Washington",
            "Nationals",
            "in",
            "both",
            "2005",
            "and",
            "2007",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                275,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            182,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                336,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            273,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Washington Nationals\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            20
                        ],
                        [
                            "table_unit",
                            16
                        ],
                        [
                            "table_unit",
                            23
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    275,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    336,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                273,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    195,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    196,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                272,
                                false
                            ],
                            null
                        ],
                        2007.0,
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ],
                        "\"Washington Nationals\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.name_first ,  T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first , T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2007 AND T3.name = 'Washington Nationals'",
        "query_toks": [
            "SELECT",
            "T2.name_first",
            ",",
            "T2.name_last",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "JOIN",
            "team",
            "AS",
            "T3",
            "ON",
            "T3.team_id_br",
            "=",
            "T1.team_id",
            "WHERE",
            "T1.year",
            "=",
            "2005",
            "AND",
            "T3.name",
            "=",
            "'Washington",
            "Nationals",
            "'",
            "INTERSECT",
            "SELECT",
            "T2.name_first",
            ",",
            "T2.name_last",
            "FROM",
            "salary",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.player_id",
            "=",
            "T2.player_id",
            "JOIN",
            "team",
            "AS",
            "T3",
            "ON",
            "T3.team_id_br",
            "=",
            "T1.team_id",
            "WHERE",
            "T1.year",
            "=",
            "2007",
            "AND",
            "T3.name",
            "=",
            "'Washington",
            "Nationals",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name_first",
            ",",
            "t2",
            ".",
            "name_last",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "join",
            "team",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "team_id_br",
            "=",
            "t1",
            ".",
            "team_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name_first",
            ",",
            "t2",
            ".",
            "name_last",
            "from",
            "salary",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "player_id",
            "=",
            "t2",
            ".",
            "player_id",
            "join",
            "team",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "team_id_br",
            "=",
            "t1",
            ".",
            "team_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the first name and last name of the players who were paid salary by team Washington Nationals in both 2005 and 2007?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "players",
            "who",
            "were",
            "paid",
            "salary",
            "by",
            "team",
            "Washington",
            "Nationals",
            "in",
            "both",
            "2005",
            "and",
            "2007",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        20
                    ],
                    [
                        "table_unit",
                        16
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                275,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            182,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                336,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            273,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                195,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                196,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            272,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Washington Nationals\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            20
                        ],
                        [
                            "table_unit",
                            16
                        ],
                        [
                            "table_unit",
                            23
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    275,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                182,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    336,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                273,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    195,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    196,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                272,
                                false
                            ],
                            null
                        ],
                        2007.0,
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ],
                        "\"Washington Nationals\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT sum(T1.games) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 1990 AND 2000;",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.games",
            ")",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "BETWEEN",
            "1990",
            "AND",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "games",
            ")",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "How many home games did the team Boston Red Stockings play from 1990 to 2000 in total?",
        "question_toks": [
            "How",
            "many",
            "home",
            "games",
            "did",
            "the",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "play",
            "from",
            "1990",
            "to",
            "2000",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                155,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                159,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    1990.0,
                    2000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT sum(T1.games) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 1990 AND 2000;",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.games",
            ")",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T2.name",
            "=",
            "'Boston",
            "Red",
            "Stockings",
            "'",
            "AND",
            "T1.year",
            "BETWEEN",
            "1990",
            "AND",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "games",
            ")",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Count the total number of games the team Boston Red Stockings attended from 1990 to 2000.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "games",
            "the",
            "team",
            "Boston",
            "Red",
            "Stockings",
            "attended",
            "from",
            "1990",
            "to",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                155,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                159,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            331,
                            false
                        ],
                        null
                    ],
                    "\"Boston Red Stockings\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    1990.0,
                    2000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.name FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T1.year = 1980 ORDER BY T1.attendance ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T1.year",
            "=",
            "1980",
            "ORDER",
            "BY",
            "T1.attendance",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "attendance",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which team had the least number of attendances in home games in 1980?",
        "question_toks": [
            "Which",
            "team",
            "had",
            "the",
            "least",
            "number",
            "of",
            "attendances",
            "in",
            "home",
            "games",
            "in",
            "1980",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                155,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            161,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.name FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T1.year = 1980 ORDER BY T1.attendance ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "team",
            "AS",
            "T2",
            "ON",
            "T1.team_id",
            "=",
            "T2.team_id_br",
            "WHERE",
            "T1.year",
            "=",
            "1980",
            "ORDER",
            "BY",
            "T1.attendance",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "team",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "team_id",
            "=",
            "t2",
            ".",
            "team_id_br",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "attendance",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the team that attended the least number of home games in 1980.",
        "question_toks": [
            "Find",
            "the",
            "team",
            "that",
            "attended",
            "the",
            "least",
            "number",
            "of",
            "home",
            "games",
            "in",
            "1980",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        23
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                155,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            336,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                331,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            161,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT state FROM park GROUP BY state HAVING count(*)  >  2;",
        "query_toks": [
            "SELECT",
            "state",
            "FROM",
            "park",
            "GROUP",
            "BY",
            "state",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            "from",
            "park",
            "group",
            "by",
            "state",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the names of states that have more than 2 parks.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "states",
            "that",
            "have",
            "more",
            "than",
            "2",
            "parks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                210,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    210,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT state FROM park GROUP BY state HAVING count(*)  >  2;",
        "query_toks": [
            "SELECT",
            "state",
            "FROM",
            "park",
            "GROUP",
            "BY",
            "state",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            "from",
            "park",
            "group",
            "by",
            "state",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which states have more than 2 parks?",
        "question_toks": [
            "Which",
            "states",
            "have",
            "more",
            "than",
            "2",
            "parks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                210,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    210,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM team_franchise WHERE active = 'Y';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "team_franchise",
            "WHERE",
            "active",
            "=",
            "'Y",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "team_franchise",
            "where",
            "active",
            "=",
            "value"
        ],
        "question": "How many team franchises are active, with active value 'Y'?",
        "question_toks": [
            "How",
            "many",
            "team",
            "franchises",
            "are",
            "active",
            ",",
            "with",
            "active",
            "value",
            "'Y",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        24
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            341,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT count(*) FROM team_franchise WHERE active = 'Y';",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "team_franchise",
            "WHERE",
            "active",
            "=",
            "'Y",
            "'",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "team_franchise",
            "where",
            "active",
            "=",
            "value"
        ],
        "question": "Find the number of team franchises that are active (have 'Y' as \"active\" information).",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "team",
            "franchises",
            "that",
            "are",
            "active",
            "(",
            "have",
            "'Y",
            "'",
            "as",
            "``",
            "active",
            "''",
            "information",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        24
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            341,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT city FROM park GROUP BY city HAVING count(*) BETWEEN 2 AND 4;",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "park",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "BETWEEN",
            "2",
            "AND",
            "4",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "park",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Which cities have 2 to 4 parks?",
        "question_toks": [
            "Which",
            "cities",
            "have",
            "2",
            "to",
            "4",
            "parks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                209,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    209,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    4.0
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT city FROM park GROUP BY city HAVING count(*) BETWEEN 2 AND 4;",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "park",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "BETWEEN",
            "2",
            "AND",
            "4",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "park",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find all the cities that have 2 to 4 parks.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "cities",
            "that",
            "have",
            "2",
            "to",
            "4",
            "parks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                209,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    209,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    4.0
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id  =  T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.park_name",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "park",
            "AS",
            "T2",
            "ON",
            "T1.park_id",
            "=",
            "T2.park_id",
            "WHERE",
            "T1.year",
            "=",
            "2008",
            "ORDER",
            "BY",
            "T1.attendance",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "park_name",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "park",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "park_id",
            "=",
            "t2",
            ".",
            "park_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "attendance",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which park had most attendances in 2008?",
        "question_toks": [
            "Which",
            "park",
            "had",
            "most",
            "attendances",
            "in",
            "2008",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                156,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            206,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                207,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            161,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "baseball_1",
        "query": "SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id  =  T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.park_name",
            "FROM",
            "home_game",
            "AS",
            "T1",
            "JOIN",
            "park",
            "AS",
            "T2",
            "ON",
            "T1.park_id",
            "=",
            "T2.park_id",
            "WHERE",
            "T1.year",
            "=",
            "2008",
            "ORDER",
            "BY",
            "T1.attendance",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "park_name",
            "from",
            "home_game",
            "as",
            "t1",
            "join",
            "park",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "park_id",
            "=",
            "t2",
            ".",
            "park_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "attendance",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which park did the most people attend in 2008?",
        "question_toks": [
            "Which",
            "park",
            "did",
            "the",
            "most",
            "people",
            "attend",
            "in",
            "2008",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        17
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                156,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            206,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                207,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            153,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            161,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT count(*) FROM camera_lens WHERE focal_length_mm  >  15",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "camera_lens",
            "WHERE",
            "focal_length_mm",
            ">",
            "15"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "camera_lens",
            "where",
            "focal_length_mm",
            ">",
            "value"
        ],
        "question": "How many camera lenses have a focal length longer than 15 mm?",
        "question_toks": [
            "How",
            "many",
            "camera",
            "lenses",
            "have",
            "a",
            "focal",
            "length",
            "longer",
            "than",
            "15",
            "mm",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    15.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT brand ,  name FROM camera_lens ORDER BY max_aperture DESC",
        "query_toks": [
            "SELECT",
            "brand",
            ",",
            "name",
            "FROM",
            "camera_lens",
            "ORDER",
            "BY",
            "max_aperture",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "brand",
            ",",
            "name",
            "from",
            "camera_lens",
            "order",
            "by",
            "max_aperture",
            "desc"
        ],
        "question": "Find the brand and name for each camera lens, and sort in descending order of maximum aperture.",
        "question_toks": [
            "Find",
            "the",
            "brand",
            "and",
            "name",
            "for",
            "each",
            "camera",
            "lens",
            ",",
            "and",
            "sort",
            "in",
            "descending",
            "order",
            "of",
            "maximum",
            "aperture",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT id ,  color ,  name FROM photos",
        "query_toks": [
            "SELECT",
            "id",
            ",",
            "color",
            ",",
            "name",
            "FROM",
            "photos"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            ",",
            "color",
            ",",
            "name",
            "from",
            "photos"
        ],
        "question": "List the id, color scheme, and name for all the photos.",
        "question_toks": [
            "List",
            "the",
            "id",
            ",",
            "color",
            "scheme",
            ",",
            "and",
            "name",
            "for",
            "all",
            "the",
            "photos",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT max(height) ,  avg(height) FROM mountain",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "height",
            ")",
            ",",
            "avg",
            "(",
            "height",
            ")",
            "FROM",
            "mountain"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "height",
            ")",
            ",",
            "avg",
            "(",
            "height",
            ")",
            "from",
            "mountain"
        ],
        "question": "What are the maximum and average height of the mountains?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "average",
            "height",
            "of",
            "the",
            "mountains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT avg(prominence) FROM mountain WHERE country  =  'Morocco'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "prominence",
            ")",
            "FROM",
            "mountain",
            "WHERE",
            "country",
            "=",
            "'Morocco",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "prominence",
            ")",
            "from",
            "mountain",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What are the average prominence of the mountains in country 'Morocco'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "prominence",
            "of",
            "the",
            "mountains",
            "in",
            "country",
            "'Morocco",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Morocco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT name ,  height ,  prominence FROM mountain WHERE range != 'Aberdare Range'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "height",
            ",",
            "prominence",
            "FROM",
            "mountain",
            "WHERE",
            "range",
            "!",
            "=",
            "'Aberdare",
            "Range",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "height",
            ",",
            "prominence",
            "from",
            "mountain",
            "where",
            "range",
            "!",
            "=",
            "value"
        ],
        "question": "What are the name, height and prominence of mountains which do not belong to the range 'Aberdare Range'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            ",",
            "height",
            "and",
            "prominence",
            "of",
            "mountains",
            "which",
            "do",
            "not",
            "belong",
            "to",
            "the",
            "range",
            "'Aberdare",
            "Range",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Aberdare Range\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT T1.id ,  T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id  =  T2.mountain_id WHERE T1.height  >  4000",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "mountain",
            "AS",
            "T1",
            "JOIN",
            "photos",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.mountain_id",
            "WHERE",
            "T1.height",
            ">",
            "4000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "mountain",
            "as",
            "t1",
            "join",
            "photos",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "where",
            "t1",
            ".",
            "height",
            ">",
            "value"
        ],
        "question": "What are the id and name of the photos for mountains?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "photos",
            "for",
            "mountains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    4000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT T1.id ,  T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id  =  T2.mountain_id GROUP BY T1.id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "mountain",
            "AS",
            "T1",
            "JOIN",
            "photos",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.mountain_id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "mountain",
            "as",
            "t1",
            "join",
            "photos",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the id and name of the mountains that have at least 2 photos?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "mountains",
            "that",
            "have",
            "at",
            "least",
            "2",
            "photos",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT T2.name FROM photos AS T1 JOIN camera_lens AS T2 ON T1.camera_lens_id  =  T2.id GROUP BY T2.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "photos",
            "AS",
            "T1",
            "JOIN",
            "camera_lens",
            "AS",
            "T2",
            "ON",
            "T1.camera_lens_id",
            "=",
            "T2.id",
            "GROUP",
            "BY",
            "T2.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "photos",
            "as",
            "t1",
            "join",
            "camera_lens",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "camera_lens_id",
            "=",
            "t2",
            ".",
            "id",
            "group",
            "by",
            "t2",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the cameras that have taken picture of the most mountains?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "cameras",
            "that",
            "have",
            "taken",
            "picture",
            "of",
            "the",
            "most",
            "mountains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT T1.name FROM camera_lens AS T1 JOIN photos AS T2 ON T2.camera_lens_id  =  T1.id WHERE T1.brand  =  'Sigma' OR T1.brand  =  'Olympus'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "camera_lens",
            "AS",
            "T1",
            "JOIN",
            "photos",
            "AS",
            "T2",
            "ON",
            "T2.camera_lens_id",
            "=",
            "T1.id",
            "WHERE",
            "T1.brand",
            "=",
            "'Sigma",
            "'",
            "OR",
            "T1.brand",
            "=",
            "'Olympus",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "camera_lens",
            "as",
            "t1",
            "join",
            "photos",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "camera_lens_id",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "brand",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "brand",
            "=",
            "value"
        ],
        "question": "What are the names of photos taken with the lens brand 'Sigma' or 'Olympus'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "photos",
            "taken",
            "with",
            "the",
            "lens",
            "brand",
            "'Sigma",
            "'",
            "or",
            "'Olympus",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Sigma\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Olympus\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT count(DISTINCT brand) FROM camera_lens",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "brand",
            ")",
            "FROM",
            "camera_lens"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "brand",
            ")",
            "from",
            "camera_lens"
        ],
        "question": "How many different kinds of lens brands are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "kinds",
            "of",
            "lens",
            "brands",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT count(*) FROM camera_lens WHERE id NOT IN ( SELECT camera_lens_id FROM photos )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "camera_lens",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "camera_lens_id",
            "FROM",
            "photos",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "camera_lens",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "camera_lens_id",
            "from",
            "photos",
            ")"
        ],
        "question": "How many camera lenses are not used in taking any photos?",
        "question_toks": [
            "How",
            "many",
            "camera",
            "lenses",
            "are",
            "not",
            "used",
            "in",
            "taking",
            "any",
            "photos",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT count(DISTINCT T2.camera_lens_id) FROM mountain AS T1 JOIN photos AS T2 ON T1.id  =  T2.mountain_id WHERE T1.country  =  'Ethiopia'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T2.camera_lens_id",
            ")",
            "FROM",
            "mountain",
            "AS",
            "T1",
            "JOIN",
            "photos",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.mountain_id",
            "WHERE",
            "T1.country",
            "=",
            "'Ethiopia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "camera_lens_id",
            ")",
            "from",
            "mountain",
            "as",
            "t1",
            "join",
            "photos",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "How many distinct kinds of camera lenses are used to take photos of mountains in the country 'Ethiopia'?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "kinds",
            "of",
            "camera",
            "lenses",
            "are",
            "used",
            "to",
            "take",
            "photos",
            "of",
            "mountains",
            "in",
            "the",
            "country",
            "'Ethiopia",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Ethiopia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT T3.brand FROM mountain AS T1 JOIN photos AS T2 ON T1.id  =  T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id  =  T3.id WHERE T1.range  =  'Toubkal Atlas' INTERSECT SELECT T3.brand FROM mountain AS T1 JOIN photos AS T2 ON T1.id  =  T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id  =  T3.id WHERE T1.range  =  'Lasta Massif'",
        "query_toks": [
            "SELECT",
            "T3.brand",
            "FROM",
            "mountain",
            "AS",
            "T1",
            "JOIN",
            "photos",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.mountain_id",
            "JOIN",
            "camera_lens",
            "AS",
            "T3",
            "ON",
            "T2.camera_lens_id",
            "=",
            "T3.id",
            "WHERE",
            "T1.range",
            "=",
            "'Toubkal",
            "Atlas",
            "'",
            "INTERSECT",
            "SELECT",
            "T3.brand",
            "FROM",
            "mountain",
            "AS",
            "T1",
            "JOIN",
            "photos",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.mountain_id",
            "JOIN",
            "camera_lens",
            "AS",
            "T3",
            "ON",
            "T2.camera_lens_id",
            "=",
            "T3.id",
            "WHERE",
            "T1.range",
            "=",
            "'Lasta",
            "Massif",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "brand",
            "from",
            "mountain",
            "as",
            "t1",
            "join",
            "photos",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "join",
            "camera_lens",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "camera_lens_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "range",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "brand",
            "from",
            "mountain",
            "as",
            "t1",
            "join",
            "photos",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "join",
            "camera_lens",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "camera_lens_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "range",
            "=",
            "value"
        ],
        "question": "List the brands of lenses that took both a picture of mountains with range 'Toubkal Atlas' and a picture of mountains with range 'Lasta Massif'",
        "question_toks": [
            "List",
            "the",
            "brands",
            "of",
            "lenses",
            "that",
            "took",
            "both",
            "a",
            "picture",
            "of",
            "mountains",
            "with",
            "range",
            "'Toubkal",
            "Atlas",
            "'",
            "and",
            "a",
            "picture",
            "of",
            "mountains",
            "with",
            "range",
            "'Lasta",
            "Massif",
            "'"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Toubkal Atlas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Lasta Massif\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT name ,  prominence FROM mountain EXCEPT SELECT T1.name ,  T1.prominence FROM mountain AS T1 JOIN photos AS T2 ON T1.id  =  T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id  =  T3.id WHERE T3.brand  =  'Sigma'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "prominence",
            "FROM",
            "mountain",
            "EXCEPT",
            "SELECT",
            "T1.name",
            ",",
            "T1.prominence",
            "FROM",
            "mountain",
            "AS",
            "T1",
            "JOIN",
            "photos",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.mountain_id",
            "JOIN",
            "camera_lens",
            "AS",
            "T3",
            "ON",
            "T2.camera_lens_id",
            "=",
            "T3.id",
            "WHERE",
            "T3.brand",
            "=",
            "'Sigma",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "prominence",
            "from",
            "mountain",
            "except",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "prominence",
            "from",
            "mountain",
            "as",
            "t1",
            "join",
            "photos",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "mountain_id",
            "join",
            "camera_lens",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "camera_lens_id",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "brand",
            "=",
            "value"
        ],
        "question": "Show the name and prominence of the mountains whose picture is not taken by a lens of brand 'Sigma'.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "prominence",
            "of",
            "the",
            "mountains",
            "whose",
            "picture",
            "is",
            "not",
            "taken",
            "by",
            "a",
            "lens",
            "of",
            "brand",
            "'Sigma",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"Sigma\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT name FROM camera_lens WHERE name LIKE \"%Digital%\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "camera_lens",
            "WHERE",
            "name",
            "LIKE",
            "``",
            "%",
            "Digital",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "camera_lens",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "List the camera lens names containing substring \"Digital\".",
        "question_toks": [
            "List",
            "the",
            "camera",
            "lens",
            "names",
            "containing",
            "substring",
            "``",
            "Digital",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%Digital%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "mountain_photos",
        "query": "SELECT T1.name ,  count(*) FROM camera_lens AS T1 JOIN photos AS T2 ON T1.id  =  T2.camera_lens_id GROUP BY T1.id ORDER BY count(*)",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "camera_lens",
            "AS",
            "T1",
            "JOIN",
            "photos",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.camera_lens_id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "camera_lens",
            "as",
            "t1",
            "join",
            "photos",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "camera_lens_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")"
        ],
        "question": "What is the name of each camera lens and the number of photos taken by it? Order the result by the count of photos.",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "each",
            "camera",
            "lens",
            "and",
            "the",
            "number",
            "of",
            "photos",
            "taken",
            "by",
            "it",
            "?",
            "Order",
            "the",
            "result",
            "by",
            "the",
            "count",
            "of",
            "photos",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM channel WHERE OWNER != 'CCTV'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "channel",
            "WHERE",
            "OWNER",
            "!",
            "=",
            "'CCTV",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "channel",
            "where",
            "owner",
            "!",
            "=",
            "value"
        ],
        "question": "Find the names of channels that are not owned by CCTV.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "channels",
            "that",
            "are",
            "not",
            "owned",
            "by",
            "CCTV",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"CCTV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM channel WHERE OWNER != 'CCTV'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "channel",
            "WHERE",
            "OWNER",
            "!",
            "=",
            "'CCTV",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "channel",
            "where",
            "owner",
            "!",
            "=",
            "value"
        ],
        "question": "Which channels are not owned by CCTV? Give me the channel names.",
        "question_toks": [
            "Which",
            "channels",
            "are",
            "not",
            "owned",
            "by",
            "CCTV",
            "?",
            "Give",
            "me",
            "the",
            "channel",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"CCTV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM channel ORDER BY rating_in_percent DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "channel",
            "ORDER",
            "BY",
            "rating_in_percent",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "channel",
            "order",
            "by",
            "rating_in_percent",
            "desc"
        ],
        "question": "List all channel names ordered by their rating in percent from big to small.",
        "question_toks": [
            "List",
            "all",
            "channel",
            "names",
            "ordered",
            "by",
            "their",
            "rating",
            "in",
            "percent",
            "from",
            "big",
            "to",
            "small",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM channel ORDER BY rating_in_percent DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "channel",
            "ORDER",
            "BY",
            "rating_in_percent",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "channel",
            "order",
            "by",
            "rating_in_percent",
            "desc"
        ],
        "question": "Give me a list of all the channel names sorted by the channel rating in descending order.",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "all",
            "the",
            "channel",
            "names",
            "sorted",
            "by",
            "the",
            "channel",
            "rating",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT OWNER FROM channel ORDER BY rating_in_percent DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "OWNER",
            "FROM",
            "channel",
            "ORDER",
            "BY",
            "rating_in_percent",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "owner",
            "from",
            "channel",
            "order",
            "by",
            "rating_in_percent",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the owner of the channel that has the highest rating ratio?",
        "question_toks": [
            "What",
            "is",
            "the",
            "owner",
            "of",
            "the",
            "channel",
            "that",
            "has",
            "the",
            "highest",
            "rating",
            "ratio",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT OWNER FROM channel ORDER BY rating_in_percent DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "OWNER",
            "FROM",
            "channel",
            "ORDER",
            "BY",
            "rating_in_percent",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "owner",
            "from",
            "channel",
            "order",
            "by",
            "rating_in_percent",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show me the owner of the channel with the highest rating.",
        "question_toks": [
            "Show",
            "me",
            "the",
            "owner",
            "of",
            "the",
            "channel",
            "with",
            "the",
            "highest",
            "rating",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT count(*) FROM program",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "program"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "program"
        ],
        "question": "how many programs are there?",
        "question_toks": [
            "how",
            "many",
            "programs",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT count(*) FROM program",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "program"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "program"
        ],
        "question": "Count the number of programs.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "programs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM program ORDER BY launch",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "program",
            "ORDER",
            "BY",
            "launch"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "program",
            "order",
            "by",
            "launch"
        ],
        "question": "list all the names of programs, ordering by launch time.",
        "question_toks": [
            "list",
            "all",
            "the",
            "names",
            "of",
            "programs",
            ",",
            "ordering",
            "by",
            "launch",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM program ORDER BY launch",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "program",
            "ORDER",
            "BY",
            "launch"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "program",
            "order",
            "by",
            "launch"
        ],
        "question": "What is the list of program names, sorted by the order of launch date?",
        "question_toks": [
            "What",
            "is",
            "the",
            "list",
            "of",
            "program",
            "names",
            ",",
            "sorted",
            "by",
            "the",
            "order",
            "of",
            "launch",
            "date",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name ,  origin ,  OWNER FROM program",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "origin",
            ",",
            "OWNER",
            "FROM",
            "program"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "origin",
            ",",
            "owner",
            "from",
            "program"
        ],
        "question": "List the name, origin and owner of each program.",
        "question_toks": [
            "List",
            "the",
            "name",
            ",",
            "origin",
            "and",
            "owner",
            "of",
            "each",
            "program",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name ,  origin ,  OWNER FROM program",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "origin",
            ",",
            "OWNER",
            "FROM",
            "program"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "origin",
            ",",
            "owner",
            "from",
            "program"
        ],
        "question": "What are the name, origin and owner of each program?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            ",",
            "origin",
            "and",
            "owner",
            "of",
            "each",
            "program",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM program ORDER BY launch DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "program",
            "ORDER",
            "BY",
            "launch",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "program",
            "order",
            "by",
            "launch",
            "desc",
            "limit",
            "value"
        ],
        "question": "find the name of the program that was launched most recently.",
        "question_toks": [
            "find",
            "the",
            "name",
            "of",
            "the",
            "program",
            "that",
            "was",
            "launched",
            "most",
            "recently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM program ORDER BY launch DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "program",
            "ORDER",
            "BY",
            "launch",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "program",
            "order",
            "by",
            "launch",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which program was launched most recently? Return the program name.",
        "question_toks": [
            "Which",
            "program",
            "was",
            "launched",
            "most",
            "recently",
            "?",
            "Return",
            "the",
            "program",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT sum(Share_in_percent) FROM channel WHERE OWNER  =  'CCTV'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Share_in_percent",
            ")",
            "FROM",
            "channel",
            "WHERE",
            "OWNER",
            "=",
            "'CCTV",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "share_in_percent",
            ")",
            "from",
            "channel",
            "where",
            "owner",
            "=",
            "value"
        ],
        "question": "find the total percentage share of all channels owned by CCTV.",
        "question_toks": [
            "find",
            "the",
            "total",
            "percentage",
            "share",
            "of",
            "all",
            "channels",
            "owned",
            "by",
            "CCTV",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"CCTV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT sum(Share_in_percent) FROM channel WHERE OWNER  =  'CCTV'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Share_in_percent",
            ")",
            "FROM",
            "channel",
            "WHERE",
            "OWNER",
            "=",
            "'CCTV",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "share_in_percent",
            ")",
            "from",
            "channel",
            "where",
            "owner",
            "=",
            "value"
        ],
        "question": "What is the total share (in percent) of all the channels owned by CCTV?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "share",
            "(",
            "in",
            "percent",
            ")",
            "of",
            "all",
            "the",
            "channels",
            "owned",
            "by",
            "CCTV",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"CCTV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id  =  t2.channel_id WHERE t2.time_of_day  =  'Morning'",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "channel",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.channel_id",
            "=",
            "t2.channel_id",
            "WHERE",
            "t2.time_of_day",
            "=",
            "'Morning",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "channel",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "channel_id",
            "=",
            "t2",
            ".",
            "channel_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "Find the names of the channels that are broadcast in the morning.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "channels",
            "that",
            "are",
            "broadcast",
            "in",
            "the",
            "morning",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Morning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id  =  t2.channel_id WHERE t2.time_of_day  =  'Morning'",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "channel",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.channel_id",
            "=",
            "t2.channel_id",
            "WHERE",
            "t2.time_of_day",
            "=",
            "'Morning",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "channel",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "channel_id",
            "=",
            "t2",
            ".",
            "channel_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "Which channels are broadcast in the morning? Give me the channel names.",
        "question_toks": [
            "Which",
            "channels",
            "are",
            "broadcast",
            "in",
            "the",
            "morning",
            "?",
            "Give",
            "me",
            "the",
            "channel",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Morning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id  =  t2.channel_id WHERE t2.time_of_day  =  'Morning' INTERSECT SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id  =  t2.channel_id WHERE t2.time_of_day  =  'Night'",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "channel",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.channel_id",
            "=",
            "t2.channel_id",
            "WHERE",
            "t2.time_of_day",
            "=",
            "'Morning",
            "'",
            "INTERSECT",
            "SELECT",
            "t1.name",
            "FROM",
            "channel",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.channel_id",
            "=",
            "t2.channel_id",
            "WHERE",
            "t2.time_of_day",
            "=",
            "'Night",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "channel",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "channel_id",
            "=",
            "t2",
            ".",
            "channel_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "channel",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "channel_id",
            "=",
            "t2",
            ".",
            "channel_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "what are the names of the channels that broadcast in both morning and night?",
        "question_toks": [
            "what",
            "are",
            "the",
            "names",
            "of",
            "the",
            "channels",
            "that",
            "broadcast",
            "in",
            "both",
            "morning",
            "and",
            "night",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Morning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "\"Night\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id  =  t2.channel_id WHERE t2.time_of_day  =  'Morning' INTERSECT SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id  =  t2.channel_id WHERE t2.time_of_day  =  'Night'",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "channel",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.channel_id",
            "=",
            "t2.channel_id",
            "WHERE",
            "t2.time_of_day",
            "=",
            "'Morning",
            "'",
            "INTERSECT",
            "SELECT",
            "t1.name",
            "FROM",
            "channel",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.channel_id",
            "=",
            "t2.channel_id",
            "WHERE",
            "t2.time_of_day",
            "=",
            "'Night",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "channel",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "channel_id",
            "=",
            "t2",
            ".",
            "channel_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "channel",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "channel_id",
            "=",
            "t2",
            ".",
            "channel_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "Which channels broadcast both in the morning and at night? Give me the channel names.",
        "question_toks": [
            "Which",
            "channels",
            "broadcast",
            "both",
            "in",
            "the",
            "morning",
            "and",
            "at",
            "night",
            "?",
            "Give",
            "me",
            "the",
            "channel",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Morning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "\"Night\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT count(*) ,  time_of_day FROM broadcast GROUP BY time_of_day",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "time_of_day",
            "FROM",
            "broadcast",
            "GROUP",
            "BY",
            "time_of_day"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "time_of_day",
            "from",
            "broadcast",
            "group",
            "by",
            "time_of_day"
        ],
        "question": "how many programs are broadcast in each time section of the day?",
        "question_toks": [
            "how",
            "many",
            "programs",
            "are",
            "broadcast",
            "in",
            "each",
            "time",
            "section",
            "of",
            "the",
            "day",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT count(*) ,  time_of_day FROM broadcast GROUP BY time_of_day",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "time_of_day",
            "FROM",
            "broadcast",
            "GROUP",
            "BY",
            "time_of_day"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "time_of_day",
            "from",
            "broadcast",
            "group",
            "by",
            "time_of_day"
        ],
        "question": "Count the number of programs broadcast for each time section of a day.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "programs",
            "broadcast",
            "for",
            "each",
            "time",
            "section",
            "of",
            "a",
            "day",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT count(DISTINCT program_id) FROM broadcast WHERE time_of_day  =  'Night'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "program_id",
            ")",
            "FROM",
            "broadcast",
            "WHERE",
            "time_of_day",
            "=",
            "'Night",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "program_id",
            ")",
            "from",
            "broadcast",
            "where",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "find the number of different programs that are broadcast during night time.",
        "question_toks": [
            "find",
            "the",
            "number",
            "of",
            "different",
            "programs",
            "that",
            "are",
            "broadcast",
            "during",
            "night",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Night\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT count(DISTINCT program_id) FROM broadcast WHERE time_of_day  =  'Night'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "program_id",
            ")",
            "FROM",
            "broadcast",
            "WHERE",
            "time_of_day",
            "=",
            "'Night",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "program_id",
            ")",
            "from",
            "broadcast",
            "where",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "How many distinct programs are broadcast at \"Night\" time?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "programs",
            "are",
            "broadcast",
            "at",
            "``",
            "Night",
            "''",
            "time",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Night\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM program EXCEPT SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id  =  t2.program_id WHERE t2.Time_of_day  =  \"Morning\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "program",
            "EXCEPT",
            "SELECT",
            "t1.name",
            "FROM",
            "program",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.program_id",
            "=",
            "t2.program_id",
            "WHERE",
            "t2.Time_of_day",
            "=",
            "``",
            "Morning",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "program",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "program",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "program_id",
            "=",
            "t2",
            ".",
            "program_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "Find the names of programs that are never broadcasted in the morning.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "programs",
            "that",
            "are",
            "never",
            "broadcasted",
            "in",
            "the",
            "morning",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "\"Morning\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM program EXCEPT SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id  =  t2.program_id WHERE t2.Time_of_day  =  \"Morning\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "program",
            "EXCEPT",
            "SELECT",
            "t1.name",
            "FROM",
            "program",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.program_id",
            "=",
            "t2.program_id",
            "WHERE",
            "t2.Time_of_day",
            "=",
            "``",
            "Morning",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "program",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "program",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "program_id",
            "=",
            "t2",
            ".",
            "program_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "Which programs are never broadcasted in the morning? Give me the names of the programs.",
        "question_toks": [
            "Which",
            "programs",
            "are",
            "never",
            "broadcasted",
            "in",
            "the",
            "morning",
            "?",
            "Give",
            "me",
            "the",
            "names",
            "of",
            "the",
            "programs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "\"Morning\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id  =  t2.program_id WHERE t2.Time_of_day  =  \"Morning\" INTERSECT SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id  =  t2.program_id WHERE t2.Time_of_day  =  \"Night\"",
        "query_toks": [
            "SELECT",
            "t1.owner",
            "FROM",
            "program",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.program_id",
            "=",
            "t2.program_id",
            "WHERE",
            "t2.Time_of_day",
            "=",
            "``",
            "Morning",
            "''",
            "INTERSECT",
            "SELECT",
            "t1.owner",
            "FROM",
            "program",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.program_id",
            "=",
            "t2.program_id",
            "WHERE",
            "t2.Time_of_day",
            "=",
            "``",
            "Night",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "owner",
            "from",
            "program",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "program_id",
            "=",
            "t2",
            ".",
            "program_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "owner",
            "from",
            "program",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "program_id",
            "=",
            "t2",
            ".",
            "program_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "find the program owners that have some programs in both morning and night time.",
        "question_toks": [
            "find",
            "the",
            "program",
            "owners",
            "that",
            "have",
            "some",
            "programs",
            "in",
            "both",
            "morning",
            "and",
            "night",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Morning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "\"Night\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id  =  t2.program_id WHERE t2.Time_of_day  =  \"Morning\" INTERSECT SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id  =  t2.program_id WHERE t2.Time_of_day  =  \"Night\"",
        "query_toks": [
            "SELECT",
            "t1.owner",
            "FROM",
            "program",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.program_id",
            "=",
            "t2.program_id",
            "WHERE",
            "t2.Time_of_day",
            "=",
            "``",
            "Morning",
            "''",
            "INTERSECT",
            "SELECT",
            "t1.owner",
            "FROM",
            "program",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.program_id",
            "=",
            "t2.program_id",
            "WHERE",
            "t2.Time_of_day",
            "=",
            "``",
            "Night",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "owner",
            "from",
            "program",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "program_id",
            "=",
            "t2",
            ".",
            "program_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "owner",
            "from",
            "program",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "program_id",
            "=",
            "t2",
            ".",
            "program_id",
            "where",
            "t2",
            ".",
            "time_of_day",
            "=",
            "value"
        ],
        "question": "Who are the owners of the programs that broadcast both in the morning and at night?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "owners",
            "of",
            "the",
            "programs",
            "that",
            "broadcast",
            "both",
            "in",
            "the",
            "morning",
            "and",
            "at",
            "night",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Morning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "\"Night\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT origin FROM program ORDER BY origin",
        "query_toks": [
            "SELECT",
            "origin",
            "FROM",
            "program",
            "ORDER",
            "BY",
            "origin"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            "from",
            "program",
            "order",
            "by",
            "origin"
        ],
        "question": "List all program origins in the alphabetical order.",
        "question_toks": [
            "List",
            "all",
            "program",
            "origins",
            "in",
            "the",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT origin FROM program ORDER BY origin",
        "query_toks": [
            "SELECT",
            "origin",
            "FROM",
            "program",
            "ORDER",
            "BY",
            "origin"
        ],
        "query_toks_no_value": [
            "select",
            "origin",
            "from",
            "program",
            "order",
            "by",
            "origin"
        ],
        "question": "What is the list of program origins ordered alphabetically?",
        "question_toks": [
            "What",
            "is",
            "the",
            "list",
            "of",
            "program",
            "origins",
            "ordered",
            "alphabetically",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT count(DISTINCT OWNER) FROM channel",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "OWNER",
            ")",
            "FROM",
            "channel"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "owner",
            ")",
            "from",
            "channel"
        ],
        "question": "what is the number of different channel owners?",
        "question_toks": [
            "what",
            "is",
            "the",
            "number",
            "of",
            "different",
            "channel",
            "owners",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT count(DISTINCT OWNER) FROM channel",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "OWNER",
            ")",
            "FROM",
            "channel"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "owner",
            ")",
            "from",
            "channel"
        ],
        "question": "Count the number of distinct channel owners.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "channel",
            "owners",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM program WHERE origin != 'Beijing'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "program",
            "WHERE",
            "origin",
            "!",
            "=",
            "'Beijing",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "program",
            "where",
            "origin",
            "!",
            "=",
            "value"
        ],
        "question": "find the names of programs whose origin is not in Beijing.",
        "question_toks": [
            "find",
            "the",
            "names",
            "of",
            "programs",
            "whose",
            "origin",
            "is",
            "not",
            "in",
            "Beijing",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Beijing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM program WHERE origin != 'Beijing'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "program",
            "WHERE",
            "origin",
            "!",
            "=",
            "'Beijing",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "program",
            "where",
            "origin",
            "!",
            "=",
            "value"
        ],
        "question": "Which programs' origins are not \"Beijing\"? Give me the program names.",
        "question_toks": [
            "Which",
            "programs",
            "'",
            "origins",
            "are",
            "not",
            "``",
            "Beijing",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "program",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Beijing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM channel WHERE OWNER  =  'CCTV' OR OWNER  =  'HBS'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "channel",
            "WHERE",
            "OWNER",
            "=",
            "'CCTV",
            "'",
            "OR",
            "OWNER",
            "=",
            "'HBS",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "channel",
            "where",
            "owner",
            "=",
            "value",
            "or",
            "owner",
            "=",
            "value"
        ],
        "question": "What are the names of the channels owned by CCTV or HBS?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "channels",
            "owned",
            "by",
            "CCTV",
            "or",
            "HBS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"CCTV\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"HBS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT name FROM channel WHERE OWNER  =  'CCTV' OR OWNER  =  'HBS'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "channel",
            "WHERE",
            "OWNER",
            "=",
            "'CCTV",
            "'",
            "OR",
            "OWNER",
            "=",
            "'HBS",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "channel",
            "where",
            "owner",
            "=",
            "value",
            "or",
            "owner",
            "=",
            "value"
        ],
        "question": "List the names of all the channels owned by either CCTV or HBS",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "the",
            "channels",
            "owned",
            "by",
            "either",
            "CCTV",
            "or",
            "HBS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"CCTV\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"HBS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT sum(Rating_in_percent) ,  OWNER FROM channel GROUP BY OWNER",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Rating_in_percent",
            ")",
            ",",
            "OWNER",
            "FROM",
            "channel",
            "GROUP",
            "BY",
            "OWNER"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "rating_in_percent",
            ")",
            ",",
            "owner",
            "from",
            "channel",
            "group",
            "by",
            "owner"
        ],
        "question": "Find the total rating ratio for each channel owner.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "rating",
            "ratio",
            "for",
            "each",
            "channel",
            "owner",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT sum(Rating_in_percent) ,  OWNER FROM channel GROUP BY OWNER",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Rating_in_percent",
            ")",
            ",",
            "OWNER",
            "FROM",
            "channel",
            "GROUP",
            "BY",
            "OWNER"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "rating_in_percent",
            ")",
            ",",
            "owner",
            "from",
            "channel",
            "group",
            "by",
            "owner"
        ],
        "question": "What is the total rating of channel for each channel owner?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "rating",
            "of",
            "channel",
            "for",
            "each",
            "channel",
            "owner",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id  =  t2.program_id GROUP BY t2.program_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "program",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.program_id",
            "=",
            "t2.program_id",
            "GROUP",
            "BY",
            "t2.program_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "program",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "program_id",
            "=",
            "t2",
            ".",
            "program_id",
            "group",
            "by",
            "t2",
            ".",
            "program_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the program that is broadcast most frequently.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "program",
            "that",
            "is",
            "broadcast",
            "most",
            "frequently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "program_share",
        "query": "SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id  =  t2.program_id GROUP BY t2.program_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "program",
            "AS",
            "t1",
            "JOIN",
            "broadcast",
            "AS",
            "t2",
            "ON",
            "t1.program_id",
            "=",
            "t2.program_id",
            "GROUP",
            "BY",
            "t2.program_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "program",
            "as",
            "t1",
            "join",
            "broadcast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "program_id",
            "=",
            "t2",
            ".",
            "program_id",
            "group",
            "by",
            "t2",
            ".",
            "program_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which program is broadcast most frequently? Give me the program name.",
        "question_toks": [
            "Which",
            "program",
            "is",
            "broadcast",
            "most",
            "frequently",
            "?",
            "Give",
            "me",
            "the",
            "program",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(*) FROM COURSES",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "COURSES"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses"
        ],
        "question": "How many courses are there in total?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(*) FROM COURSES",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "COURSES"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses"
        ],
        "question": "Find the total number of courses offered.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "courses",
            "offered",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT course_description FROM COURSES WHERE course_name  =  \"database\"",
        "query_toks": [
            "SELECT",
            "course_description",
            "FROM",
            "COURSES",
            "WHERE",
            "course_name",
            "=",
            "``",
            "database",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "course_description",
            "from",
            "courses",
            "where",
            "course_name",
            "=",
            "value"
        ],
        "question": "What are the descriptions of the courses with name \"database\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "descriptions",
            "of",
            "the",
            "courses",
            "with",
            "name",
            "``",
            "database",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT course_description FROM COURSES WHERE course_name  =  \"database\"",
        "query_toks": [
            "SELECT",
            "course_description",
            "FROM",
            "COURSES",
            "WHERE",
            "course_name",
            "=",
            "``",
            "database",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "course_description",
            "from",
            "courses",
            "where",
            "course_name",
            "=",
            "value"
        ],
        "question": "Return the description for the courses named \"database\".",
        "question_toks": [
            "Return",
            "the",
            "description",
            "for",
            "the",
            "courses",
            "named",
            "``",
            "database",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT address_line_1 FROM Course_Authors_and_Tutors WHERE personal_name\t =  \"Cathrine\"",
        "query_toks": [
            "SELECT",
            "address_line_1",
            "FROM",
            "Course_Authors_and_Tutors",
            "WHERE",
            "personal_name",
            "=",
            "``",
            "Cathrine",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "address_line_1",
            "from",
            "course_authors_and_tutors",
            "where",
            "personal_name",
            "=",
            "value"
        ],
        "question": "What are the addresses of the course authors or tutors with personal name \"Cathrine\"",
        "question_toks": [
            "What",
            "are",
            "the",
            "addresses",
            "of",
            "the",
            "course",
            "authors",
            "or",
            "tutors",
            "with",
            "personal",
            "name",
            "``",
            "Cathrine",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Cathrine\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT address_line_1 FROM Course_Authors_and_Tutors WHERE personal_name\t =  \"Cathrine\"",
        "query_toks": [
            "SELECT",
            "address_line_1",
            "FROM",
            "Course_Authors_and_Tutors",
            "WHERE",
            "personal_name",
            "=",
            "``",
            "Cathrine",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "address_line_1",
            "from",
            "course_authors_and_tutors",
            "where",
            "personal_name",
            "=",
            "value"
        ],
        "question": "Return the addresses of the course authors or tutors whose personal name is \"Cathrine\".",
        "question_toks": [
            "Return",
            "the",
            "addresses",
            "of",
            "the",
            "course",
            "authors",
            "or",
            "tutors",
            "whose",
            "personal",
            "name",
            "is",
            "``",
            "Cathrine",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Cathrine\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT address_line_1 FROM Course_Authors_and_Tutors",
        "query_toks": [
            "SELECT",
            "address_line_1",
            "FROM",
            "Course_Authors_and_Tutors"
        ],
        "query_toks_no_value": [
            "select",
            "address_line_1",
            "from",
            "course_authors_and_tutors"
        ],
        "question": "List the addresses of all the course authors or tutors.",
        "question_toks": [
            "List",
            "the",
            "addresses",
            "of",
            "all",
            "the",
            "course",
            "authors",
            "or",
            "tutors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT address_line_1 FROM Course_Authors_and_Tutors",
        "query_toks": [
            "SELECT",
            "address_line_1",
            "FROM",
            "Course_Authors_and_Tutors"
        ],
        "query_toks_no_value": [
            "select",
            "address_line_1",
            "from",
            "course_authors_and_tutors"
        ],
        "question": "What is the address of each course author or tutor?",
        "question_toks": [
            "What",
            "is",
            "the",
            "address",
            "of",
            "each",
            "course",
            "author",
            "or",
            "tutor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT login_name ,  family_name FROM Course_Authors_and_Tutors",
        "query_toks": [
            "SELECT",
            "login_name",
            ",",
            "family_name",
            "FROM",
            "Course_Authors_and_Tutors"
        ],
        "query_toks_no_value": [
            "select",
            "login_name",
            ",",
            "family_name",
            "from",
            "course_authors_and_tutors"
        ],
        "question": "List all the login names and family names of course author and tutors.",
        "question_toks": [
            "List",
            "all",
            "the",
            "login",
            "names",
            "and",
            "family",
            "names",
            "of",
            "course",
            "author",
            "and",
            "tutors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT login_name ,  family_name FROM Course_Authors_and_Tutors",
        "query_toks": [
            "SELECT",
            "login_name",
            ",",
            "family_name",
            "FROM",
            "Course_Authors_and_Tutors"
        ],
        "query_toks_no_value": [
            "select",
            "login_name",
            ",",
            "family_name",
            "from",
            "course_authors_and_tutors"
        ],
        "question": "What are the login names and family names of course author and tutors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "login",
            "names",
            "and",
            "family",
            "names",
            "of",
            "course",
            "author",
            "and",
            "tutors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT date_of_enrolment ,  date_of_completion FROM Student_Course_Enrolment",
        "query_toks": [
            "SELECT",
            "date_of_enrolment",
            ",",
            "date_of_completion",
            "FROM",
            "Student_Course_Enrolment"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_enrolment",
            ",",
            "date_of_completion",
            "from",
            "student_course_enrolment"
        ],
        "question": "List all the dates of enrollment and completion of students.",
        "question_toks": [
            "List",
            "all",
            "the",
            "dates",
            "of",
            "enrollment",
            "and",
            "completion",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT date_of_enrolment ,  date_of_completion FROM Student_Course_Enrolment",
        "query_toks": [
            "SELECT",
            "date_of_enrolment",
            ",",
            "date_of_completion",
            "FROM",
            "Student_Course_Enrolment"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_enrolment",
            ",",
            "date_of_completion",
            "from",
            "student_course_enrolment"
        ],
        "question": "What are all the dates of enrollment and completion in record?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "dates",
            "of",
            "enrollment",
            "and",
            "completion",
            "in",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(DISTINCT student_id) FROM Student_Course_Enrolment",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "student_id",
            ")",
            "FROM",
            "Student_Course_Enrolment"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "student_id",
            ")",
            "from",
            "student_course_enrolment"
        ],
        "question": "How many distinct students are enrolled in courses?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "students",
            "are",
            "enrolled",
            "in",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(DISTINCT student_id) FROM Student_Course_Enrolment",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "student_id",
            ")",
            "FROM",
            "Student_Course_Enrolment"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "student_id",
            ")",
            "from",
            "student_course_enrolment"
        ],
        "question": "Find the number of distinct students enrolled in courses.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "students",
            "enrolled",
            "in",
            "courses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(course_id) FROM Student_Course_Enrolment",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "course_id",
            ")",
            "FROM",
            "Student_Course_Enrolment"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "course_id",
            ")",
            "from",
            "student_course_enrolment"
        ],
        "question": "How many distinct courses are enrolled in by students?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "courses",
            "are",
            "enrolled",
            "in",
            "by",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(course_id) FROM Student_Course_Enrolment",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "course_id",
            ")",
            "FROM",
            "Student_Course_Enrolment"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "course_id",
            ")",
            "from",
            "student_course_enrolment"
        ],
        "question": "Find the number of distinct courses that have enrolled students.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "courses",
            "that",
            "have",
            "enrolled",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT date_test_taken FROM Student_Tests_Taken WHERE test_result  =  \"Pass\"",
        "query_toks": [
            "SELECT",
            "date_test_taken",
            "FROM",
            "Student_Tests_Taken",
            "WHERE",
            "test_result",
            "=",
            "``",
            "Pass",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_test_taken",
            "from",
            "student_tests_taken",
            "where",
            "test_result",
            "=",
            "value"
        ],
        "question": "Find the dates of the tests taken with result \"Pass\".",
        "question_toks": [
            "Find",
            "the",
            "dates",
            "of",
            "the",
            "tests",
            "taken",
            "with",
            "result",
            "``",
            "Pass",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Pass\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT date_test_taken FROM Student_Tests_Taken WHERE test_result  =  \"Pass\"",
        "query_toks": [
            "SELECT",
            "date_test_taken",
            "FROM",
            "Student_Tests_Taken",
            "WHERE",
            "test_result",
            "=",
            "``",
            "Pass",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_test_taken",
            "from",
            "student_tests_taken",
            "where",
            "test_result",
            "=",
            "value"
        ],
        "question": "Which tests have \"Pass\" results? Return the dates when the tests were taken.",
        "question_toks": [
            "Which",
            "tests",
            "have",
            "``",
            "Pass",
            "''",
            "results",
            "?",
            "Return",
            "the",
            "dates",
            "when",
            "the",
            "tests",
            "were",
            "taken",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Pass\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(*) FROM Student_Tests_Taken WHERE test_result  =  \"Fail\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student_Tests_Taken",
            "WHERE",
            "test_result",
            "=",
            "``",
            "Fail",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student_tests_taken",
            "where",
            "test_result",
            "=",
            "value"
        ],
        "question": "How many tests have result \"Fail\"?",
        "question_toks": [
            "How",
            "many",
            "tests",
            "have",
            "result",
            "``",
            "Fail",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Fail\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(*) FROM Student_Tests_Taken WHERE test_result  =  \"Fail\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Student_Tests_Taken",
            "WHERE",
            "test_result",
            "=",
            "``",
            "Fail",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student_tests_taken",
            "where",
            "test_result",
            "=",
            "value"
        ],
        "question": "Count the number of tests with \"Fail\" result.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "tests",
            "with",
            "``",
            "Fail",
            "''",
            "result",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Fail\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT login_name FROM Students WHERE family_name  =  \"Ward\"",
        "query_toks": [
            "SELECT",
            "login_name",
            "FROM",
            "Students",
            "WHERE",
            "family_name",
            "=",
            "``",
            "Ward",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "login_name",
            "from",
            "students",
            "where",
            "family_name",
            "=",
            "value"
        ],
        "question": "What are the login names of the students with family name \"Ward\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "login",
            "names",
            "of",
            "the",
            "students",
            "with",
            "family",
            "name",
            "``",
            "Ward",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Ward\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT login_name FROM Students WHERE family_name  =  \"Ward\"",
        "query_toks": [
            "SELECT",
            "login_name",
            "FROM",
            "Students",
            "WHERE",
            "family_name",
            "=",
            "``",
            "Ward",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "login_name",
            "from",
            "students",
            "where",
            "family_name",
            "=",
            "value"
        ],
        "question": "Return the login names of the students whose family name is \"Ward\".",
        "question_toks": [
            "Return",
            "the",
            "login",
            "names",
            "of",
            "the",
            "students",
            "whose",
            "family",
            "name",
            "is",
            "``",
            "Ward",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Ward\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT date_of_latest_logon FROM Students WHERE family_name  =  \"Jaskolski\" OR family_name  =  \"Langosh\"",
        "query_toks": [
            "SELECT",
            "date_of_latest_logon",
            "FROM",
            "Students",
            "WHERE",
            "family_name",
            "=",
            "``",
            "Jaskolski",
            "''",
            "OR",
            "family_name",
            "=",
            "``",
            "Langosh",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_latest_logon",
            "from",
            "students",
            "where",
            "family_name",
            "=",
            "value",
            "or",
            "family_name",
            "=",
            "value"
        ],
        "question": "What are the dates of the latest logon of the students with family name \"Jaskolski\" or \"Langosh\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "of",
            "the",
            "latest",
            "logon",
            "of",
            "the",
            "students",
            "with",
            "family",
            "name",
            "``",
            "Jaskolski",
            "''",
            "or",
            "``",
            "Langosh",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Jaskolski\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Langosh\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT date_of_latest_logon FROM Students WHERE family_name  =  \"Jaskolski\" OR family_name  =  \"Langosh\"",
        "query_toks": [
            "SELECT",
            "date_of_latest_logon",
            "FROM",
            "Students",
            "WHERE",
            "family_name",
            "=",
            "``",
            "Jaskolski",
            "''",
            "OR",
            "family_name",
            "=",
            "``",
            "Langosh",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_latest_logon",
            "from",
            "students",
            "where",
            "family_name",
            "=",
            "value",
            "or",
            "family_name",
            "=",
            "value"
        ],
        "question": "Find the latest logon date of the students whose family name is \"Jaskolski\" or \"Langosh\".",
        "question_toks": [
            "Find",
            "the",
            "latest",
            "logon",
            "date",
            "of",
            "the",
            "students",
            "whose",
            "family",
            "name",
            "is",
            "``",
            "Jaskolski",
            "''",
            "or",
            "``",
            "Langosh",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Jaskolski\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Langosh\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT COUNT(*) FROM Students WHERE personal_name LIKE \"%son%\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Students",
            "WHERE",
            "personal_name",
            "LIKE",
            "``",
            "%",
            "son",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "where",
            "personal_name",
            "like",
            "value"
        ],
        "question": "How many students have personal names that contain the word \"son\"?",
        "question_toks": [
            "How",
            "many",
            "students",
            "have",
            "personal",
            "names",
            "that",
            "contain",
            "the",
            "word",
            "``",
            "son",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%son%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT COUNT(*) FROM Students WHERE personal_name LIKE \"%son%\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Students",
            "WHERE",
            "personal_name",
            "LIKE",
            "``",
            "%",
            "son",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "where",
            "personal_name",
            "like",
            "value"
        ],
        "question": "Find the number of students who have the word \"son\" in their personal names.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "who",
            "have",
            "the",
            "word",
            "``",
            "son",
            "''",
            "in",
            "their",
            "personal",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%son%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT subject_name FROM SUBJECTS",
        "query_toks": [
            "SELECT",
            "subject_name",
            "FROM",
            "SUBJECTS"
        ],
        "query_toks_no_value": [
            "select",
            "subject_name",
            "from",
            "subjects"
        ],
        "question": "List all the subject names.",
        "question_toks": [
            "List",
            "all",
            "the",
            "subject",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT subject_name FROM SUBJECTS",
        "query_toks": [
            "SELECT",
            "subject_name",
            "FROM",
            "SUBJECTS"
        ],
        "query_toks_no_value": [
            "select",
            "subject_name",
            "from",
            "subjects"
        ],
        "question": "What are the names of all the subjects.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "subjects",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT * FROM Course_Authors_and_Tutors ORDER BY personal_name",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "Course_Authors_and_Tutors",
            "ORDER",
            "BY",
            "personal_name"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "course_authors_and_tutors",
            "order",
            "by",
            "personal_name"
        ],
        "question": "List all the information about course authors and tutors in alphabetical order of the personal name.",
        "question_toks": [
            "List",
            "all",
            "the",
            "information",
            "about",
            "course",
            "authors",
            "and",
            "tutors",
            "in",
            "alphabetical",
            "order",
            "of",
            "the",
            "personal",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT * FROM Course_Authors_and_Tutors ORDER BY personal_name",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "Course_Authors_and_Tutors",
            "ORDER",
            "BY",
            "personal_name"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "course_authors_and_tutors",
            "order",
            "by",
            "personal_name"
        ],
        "question": "Sort the information about course authors and tutors in alphabetical order of the personal name.",
        "question_toks": [
            "Sort",
            "the",
            "information",
            "about",
            "course",
            "authors",
            "and",
            "tutors",
            "in",
            "alphabetical",
            "order",
            "of",
            "the",
            "personal",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT personal_name ,  family_name FROM Students ORDER BY family_name",
        "query_toks": [
            "SELECT",
            "personal_name",
            ",",
            "family_name",
            "FROM",
            "Students",
            "ORDER",
            "BY",
            "family_name"
        ],
        "query_toks_no_value": [
            "select",
            "personal_name",
            ",",
            "family_name",
            "from",
            "students",
            "order",
            "by",
            "family_name"
        ],
        "question": "List the personal names and family names of all the students in alphabetical order of family name.",
        "question_toks": [
            "List",
            "the",
            "personal",
            "names",
            "and",
            "family",
            "names",
            "of",
            "all",
            "the",
            "students",
            "in",
            "alphabetical",
            "order",
            "of",
            "family",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT personal_name ,  family_name FROM Students ORDER BY family_name",
        "query_toks": [
            "SELECT",
            "personal_name",
            ",",
            "family_name",
            "FROM",
            "Students",
            "ORDER",
            "BY",
            "family_name"
        ],
        "query_toks_no_value": [
            "select",
            "personal_name",
            ",",
            "family_name",
            "from",
            "students",
            "order",
            "by",
            "family_name"
        ],
        "question": "What are the personal names and family names of the students? Sort the result in alphabetical order of the family name.",
        "question_toks": [
            "What",
            "are",
            "the",
            "personal",
            "names",
            "and",
            "family",
            "names",
            "of",
            "the",
            "students",
            "?",
            "Sort",
            "the",
            "result",
            "in",
            "alphabetical",
            "order",
            "of",
            "the",
            "family",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT test_result ,  COUNT(*) FROM Student_Tests_Taken GROUP BY test_result ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "test_result",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Student_Tests_Taken",
            "GROUP",
            "BY",
            "test_result",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "test_result",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student_tests_taken",
            "group",
            "by",
            "test_result",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "List each test result and its count in descending order of count.",
        "question_toks": [
            "List",
            "each",
            "test",
            "result",
            "and",
            "its",
            "count",
            "in",
            "descending",
            "order",
            "of",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT test_result ,  COUNT(*) FROM Student_Tests_Taken GROUP BY test_result ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "test_result",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Student_Tests_Taken",
            "GROUP",
            "BY",
            "test_result",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "test_result",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student_tests_taken",
            "group",
            "by",
            "test_result",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "For each distinct test result, find the number of students who got the result.",
        "question_toks": [
            "For",
            "each",
            "distinct",
            "test",
            "result",
            ",",
            "find",
            "the",
            "number",
            "of",
            "students",
            "who",
            "got",
            "the",
            "result",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    32,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.login_name FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id WHERE T2.course_name  =  \"advanced database\"",
        "query_toks": [
            "SELECT",
            "T1.login_name",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "WHERE",
            "T2.course_name",
            "=",
            "``",
            "advanced",
            "database",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "login_name",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "where",
            "t2",
            ".",
            "course_name",
            "=",
            "value"
        ],
        "question": "Find the login name of the course author that teaches the course with name \"advanced database\".",
        "question_toks": [
            "Find",
            "the",
            "login",
            "name",
            "of",
            "the",
            "course",
            "author",
            "that",
            "teaches",
            "the",
            "course",
            "with",
            "name",
            "``",
            "advanced",
            "database",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"advanced database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.login_name FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id WHERE T2.course_name  =  \"advanced database\"",
        "query_toks": [
            "SELECT",
            "T1.login_name",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "WHERE",
            "T2.course_name",
            "=",
            "``",
            "advanced",
            "database",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "login_name",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "where",
            "t2",
            ".",
            "course_name",
            "=",
            "value"
        ],
        "question": "Which course author teaches the \"advanced database\" course? Give me his or her login name.",
        "question_toks": [
            "Which",
            "course",
            "author",
            "teaches",
            "the",
            "``",
            "advanced",
            "database",
            "''",
            "course",
            "?",
            "Give",
            "me",
            "his",
            "or",
            "her",
            "login",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"advanced database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.address_line_1 FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id WHERE T2.course_name  =  \"operating system\" OR T2.course_name  =  \"data structure\"",
        "query_toks": [
            "SELECT",
            "T1.address_line_1",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "WHERE",
            "T2.course_name",
            "=",
            "``",
            "operating",
            "system",
            "''",
            "OR",
            "T2.course_name",
            "=",
            "``",
            "data",
            "structure",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address_line_1",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "where",
            "t2",
            ".",
            "course_name",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "course_name",
            "=",
            "value"
        ],
        "question": "Find the addresses of the course authors who teach the course with name \"operating system\" or \"data structure\".",
        "question_toks": [
            "Find",
            "the",
            "addresses",
            "of",
            "the",
            "course",
            "authors",
            "who",
            "teach",
            "the",
            "course",
            "with",
            "name",
            "``",
            "operating",
            "system",
            "''",
            "or",
            "``",
            "data",
            "structure",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"operating system\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"data structure\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.address_line_1 FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id WHERE T2.course_name  =  \"operating system\" OR T2.course_name  =  \"data structure\"",
        "query_toks": [
            "SELECT",
            "T1.address_line_1",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "WHERE",
            "T2.course_name",
            "=",
            "``",
            "operating",
            "system",
            "''",
            "OR",
            "T2.course_name",
            "=",
            "``",
            "data",
            "structure",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address_line_1",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "where",
            "t2",
            ".",
            "course_name",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "course_name",
            "=",
            "value"
        ],
        "question": "What are the addresses of the course authors who teach either \"operating system\" or \"data structure\" course.",
        "question_toks": [
            "What",
            "are",
            "the",
            "addresses",
            "of",
            "the",
            "course",
            "authors",
            "who",
            "teach",
            "either",
            "``",
            "operating",
            "system",
            "''",
            "or",
            "``",
            "data",
            "structure",
            "''",
            "course",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"operating system\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"data structure\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.personal_name ,  T1.family_name ,  T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.personal_name",
            ",",
            "T1.family_name",
            ",",
            "T2.author_id",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "GROUP",
            "BY",
            "T2.author_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "personal_name",
            ",",
            "t1",
            ".",
            "family_name",
            ",",
            "t2",
            ".",
            "author_id",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "group",
            "by",
            "t2",
            ".",
            "author_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the personal name, family name, and author ID of the course author that teaches the most courses.",
        "question_toks": [
            "Find",
            "the",
            "personal",
            "name",
            ",",
            "family",
            "name",
            ",",
            "and",
            "author",
            "ID",
            "of",
            "the",
            "course",
            "author",
            "that",
            "teaches",
            "the",
            "most",
            "courses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.personal_name ,  T1.family_name ,  T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.personal_name",
            ",",
            "T1.family_name",
            ",",
            "T2.author_id",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "GROUP",
            "BY",
            "T2.author_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "personal_name",
            ",",
            "t1",
            ".",
            "family_name",
            ",",
            "t2",
            ".",
            "author_id",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "group",
            "by",
            "t2",
            ".",
            "author_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the personal name, family name, and author ID of the course author who teaches the most courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "personal",
            "name",
            ",",
            "family",
            "name",
            ",",
            "and",
            "author",
            "ID",
            "of",
            "the",
            "course",
            "author",
            "who",
            "teaches",
            "the",
            "most",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.address_line_1 ,  T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id GROUP BY T2.author_id HAVING Count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.address_line_1",
            ",",
            "T2.author_id",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "GROUP",
            "BY",
            "T2.author_id",
            "HAVING",
            "Count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address_line_1",
            ",",
            "t2",
            ".",
            "author_id",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "group",
            "by",
            "t2",
            ".",
            "author_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the addresses and author IDs of the course authors that teach at least two courses.",
        "question_toks": [
            "Find",
            "the",
            "addresses",
            "and",
            "author",
            "IDs",
            "of",
            "the",
            "course",
            "authors",
            "that",
            "teach",
            "at",
            "least",
            "two",
            "courses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.address_line_1 ,  T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id GROUP BY T2.author_id HAVING Count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.address_line_1",
            ",",
            "T2.author_id",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "GROUP",
            "BY",
            "T2.author_id",
            "HAVING",
            "Count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address_line_1",
            ",",
            "t2",
            ".",
            "author_id",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "group",
            "by",
            "t2",
            ".",
            "author_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which course authors teach two or more courses? Give me their addresses and author IDs.",
        "question_toks": [
            "Which",
            "course",
            "authors",
            "teach",
            "two",
            "or",
            "more",
            "courses",
            "?",
            "Give",
            "me",
            "their",
            "addresses",
            "and",
            "author",
            "IDs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T2.course_name FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id WHERE T1.personal_name  =  \"Julio\"",
        "query_toks": [
            "SELECT",
            "T2.course_name",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "WHERE",
            "T1.personal_name",
            "=",
            "``",
            "Julio",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "course_name",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "where",
            "t1",
            ".",
            "personal_name",
            "=",
            "value"
        ],
        "question": "Find the names of courses taught by the tutor who has personal name \"Julio\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "courses",
            "taught",
            "by",
            "the",
            "tutor",
            "who",
            "has",
            "personal",
            "name",
            "``",
            "Julio",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Julio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T2.course_name FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id  =  T2.author_id WHERE T1.personal_name  =  \"Julio\"",
        "query_toks": [
            "SELECT",
            "T2.course_name",
            "FROM",
            "Course_Authors_and_Tutors",
            "AS",
            "T1",
            "JOIN",
            "Courses",
            "AS",
            "T2",
            "ON",
            "T1.author_id",
            "=",
            "T2.author_id",
            "WHERE",
            "T1.personal_name",
            "=",
            "``",
            "Julio",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "course_name",
            "from",
            "course_authors_and_tutors",
            "as",
            "t1",
            "join",
            "courses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "author_id",
            "=",
            "t2",
            ".",
            "author_id",
            "where",
            "t1",
            ".",
            "personal_name",
            "=",
            "value"
        ],
        "question": "What are the names of the courses taught by the tutor whose personal name is \"Julio\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "courses",
            "taught",
            "by",
            "the",
            "tutor",
            "whose",
            "personal",
            "name",
            "is",
            "``",
            "Julio",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Julio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_name ,  T1.course_description FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id  =  T2.subject_id WHERE T2.subject_name  =  \"Computer Science\"",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            ",",
            "T1.course_description",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Subjects",
            "AS",
            "T2",
            "ON",
            "T1.subject_id",
            "=",
            "T2.subject_id",
            "WHERE",
            "T2.subject_name",
            "=",
            "``",
            "Computer",
            "Science",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            ",",
            "t1",
            ".",
            "course_description",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "subjects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "subject_id",
            "=",
            "t2",
            ".",
            "subject_id",
            "where",
            "t2",
            ".",
            "subject_name",
            "=",
            "value"
        ],
        "question": "Find the names and descriptions of courses that belong to the subject named \"Computer Science\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "descriptions",
            "of",
            "courses",
            "that",
            "belong",
            "to",
            "the",
            "subject",
            "named",
            "``",
            "Computer",
            "Science",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Computer Science\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_name ,  T1.course_description FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id  =  T2.subject_id WHERE T2.subject_name  =  \"Computer Science\"",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            ",",
            "T1.course_description",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Subjects",
            "AS",
            "T2",
            "ON",
            "T1.subject_id",
            "=",
            "T2.subject_id",
            "WHERE",
            "T2.subject_name",
            "=",
            "``",
            "Computer",
            "Science",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            ",",
            "t1",
            ".",
            "course_description",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "subjects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "subject_id",
            "=",
            "t2",
            ".",
            "subject_id",
            "where",
            "t2",
            ".",
            "subject_name",
            "=",
            "value"
        ],
        "question": "What are the names and descriptions of the all courses under the \"Computer Science\" subject?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "descriptions",
            "of",
            "the",
            "all",
            "courses",
            "under",
            "the",
            "``",
            "Computer",
            "Science",
            "''",
            "subject",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Computer Science\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.subject_id ,  T2.subject_name ,  COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id  =  T2.subject_id GROUP BY T1.subject_id",
        "query_toks": [
            "SELECT",
            "T1.subject_id",
            ",",
            "T2.subject_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Subjects",
            "AS",
            "T2",
            "ON",
            "T1.subject_id",
            "=",
            "T2.subject_id",
            "GROUP",
            "BY",
            "T1.subject_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "subject_id",
            ",",
            "t2",
            ".",
            "subject_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "subjects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "subject_id",
            "=",
            "t2",
            ".",
            "subject_id",
            "group",
            "by",
            "t1",
            ".",
            "subject_id"
        ],
        "question": "Find the subject ID, subject name, and the corresponding number of available courses for each subject.",
        "question_toks": [
            "Find",
            "the",
            "subject",
            "ID",
            ",",
            "subject",
            "name",
            ",",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "available",
            "courses",
            "for",
            "each",
            "subject",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.subject_id ,  T2.subject_name ,  COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id  =  T2.subject_id GROUP BY T1.subject_id",
        "query_toks": [
            "SELECT",
            "T1.subject_id",
            ",",
            "T2.subject_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Subjects",
            "AS",
            "T2",
            "ON",
            "T1.subject_id",
            "=",
            "T2.subject_id",
            "GROUP",
            "BY",
            "T1.subject_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "subject_id",
            ",",
            "t2",
            ".",
            "subject_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "subjects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "subject_id",
            "=",
            "t2",
            ".",
            "subject_id",
            "group",
            "by",
            "t1",
            ".",
            "subject_id"
        ],
        "question": "What are the subject ID, subject name, and the number of available courses for each subject?",
        "question_toks": [
            "What",
            "are",
            "the",
            "subject",
            "ID",
            ",",
            "subject",
            "name",
            ",",
            "and",
            "the",
            "number",
            "of",
            "available",
            "courses",
            "for",
            "each",
            "subject",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.subject_id ,  T2.subject_name ,  COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id  =  T2.subject_id GROUP BY T1.subject_id ORDER BY COUNT(*) ASC",
        "query_toks": [
            "SELECT",
            "T1.subject_id",
            ",",
            "T2.subject_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Subjects",
            "AS",
            "T2",
            "ON",
            "T1.subject_id",
            "=",
            "T2.subject_id",
            "GROUP",
            "BY",
            "T1.subject_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "subject_id",
            ",",
            "t2",
            ".",
            "subject_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "subjects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "subject_id",
            "=",
            "t2",
            ".",
            "subject_id",
            "group",
            "by",
            "t1",
            ".",
            "subject_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc"
        ],
        "question": "Find the subject ID, name of subject and the corresponding number of courses for each subject, and sort by the course count in ascending order.",
        "question_toks": [
            "Find",
            "the",
            "subject",
            "ID",
            ",",
            "name",
            "of",
            "subject",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "courses",
            "for",
            "each",
            "subject",
            ",",
            "and",
            "sort",
            "by",
            "the",
            "course",
            "count",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.subject_id ,  T2.subject_name ,  COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id  =  T2.subject_id GROUP BY T1.subject_id ORDER BY COUNT(*) ASC",
        "query_toks": [
            "SELECT",
            "T1.subject_id",
            ",",
            "T2.subject_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Subjects",
            "AS",
            "T2",
            "ON",
            "T1.subject_id",
            "=",
            "T2.subject_id",
            "GROUP",
            "BY",
            "T1.subject_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "subject_id",
            ",",
            "t2",
            ".",
            "subject_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "subjects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "subject_id",
            "=",
            "t2",
            ".",
            "subject_id",
            "group",
            "by",
            "t1",
            ".",
            "subject_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc"
        ],
        "question": "List the subject ID, name of subject and the number of courses available for each subject in ascending order of the course counts.",
        "question_toks": [
            "List",
            "the",
            "subject",
            "ID",
            ",",
            "name",
            "of",
            "subject",
            "and",
            "the",
            "number",
            "of",
            "courses",
            "available",
            "for",
            "each",
            "subject",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "course",
            "counts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id WHERE T1.course_name  =  \"Spanish\"",
        "query_toks": [
            "SELECT",
            "T2.date_of_enrolment",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.course_name",
            "=",
            "``",
            "Spanish",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_of_enrolment",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "course_name",
            "=",
            "value"
        ],
        "question": "What is the date of enrollment of the course named \"Spanish\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "date",
            "of",
            "enrollment",
            "of",
            "the",
            "course",
            "named",
            "``",
            "Spanish",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Spanish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id WHERE T1.course_name  =  \"Spanish\"",
        "query_toks": [
            "SELECT",
            "T2.date_of_enrolment",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "WHERE",
            "T1.course_name",
            "=",
            "``",
            "Spanish",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_of_enrolment",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "where",
            "t1",
            ".",
            "course_name",
            "=",
            "value"
        ],
        "question": "Find the the date of enrollment of the \"Spanish\" course.",
        "question_toks": [
            "Find",
            "the",
            "the",
            "date",
            "of",
            "enrollment",
            "of",
            "the",
            "``",
            "Spanish",
            "''",
            "course",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Spanish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T1.course_name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the course that has the most student enrollment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "course",
            "that",
            "has",
            "the",
            "most",
            "student",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T1.course_name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which course is enrolled in by the most students? Give me the course name.",
        "question_toks": [
            "Which",
            "course",
            "is",
            "enrolled",
            "in",
            "by",
            "the",
            "most",
            "students",
            "?",
            "Give",
            "me",
            "the",
            "course",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_name HAVING COUNT(*)  =  1",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T1.course_name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the names of the courses that have exactly 1 student enrollment?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "courses",
            "that",
            "have",
            "exactly",
            "1",
            "student",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_name HAVING COUNT(*)  =  1",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T1.course_name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Find the names of the courses that have just one student enrollment.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "courses",
            "that",
            "have",
            "just",
            "one",
            "student",
            "enrollment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_description ,  T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_name HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "T1.course_description",
            ",",
            "T1.course_name",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T1.course_name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_description",
            ",",
            "t1",
            ".",
            "course_name",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the descriptions and names of the courses that have student enrollment bigger than 2?",
        "question_toks": [
            "What",
            "are",
            "the",
            "descriptions",
            "and",
            "names",
            "of",
            "the",
            "courses",
            "that",
            "have",
            "student",
            "enrollment",
            "bigger",
            "than",
            "2",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_description ,  T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_name HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "T1.course_description",
            ",",
            "T1.course_name",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T1.course_name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_description",
            ",",
            "t1",
            ".",
            "course_name",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Return the descriptions and names of the courses that have more than two students enrolled in.",
        "question_toks": [
            "Return",
            "the",
            "descriptions",
            "and",
            "names",
            "of",
            "the",
            "courses",
            "that",
            "have",
            "more",
            "than",
            "two",
            "students",
            "enrolled",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_name ,  COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_name",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T1.course_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_name"
        ],
        "question": "What is the name of each course and the corresponding number of student enrollment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "each",
            "course",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "student",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.course_name ,  COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id  =  T2.course_id GROUP BY T1.course_name",
        "query_toks": [
            "SELECT",
            "T1.course_name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Courses",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.course_id",
            "=",
            "T2.course_id",
            "GROUP",
            "BY",
            "T1.course_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "course_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "courses",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "course_id",
            "=",
            "t2",
            ".",
            "course_id",
            "group",
            "by",
            "t1",
            ".",
            "course_name"
        ],
        "question": "List the name and the number of enrolled student for each course.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "the",
            "number",
            "of",
            "enrolled",
            "student",
            "for",
            "each",
            "course",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.date_of_enrolment FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id  =  T2.registration_id WHERE T2.test_result  =  \"Pass\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_enrolment",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Student_Tests_Taken",
            "AS",
            "T2",
            "ON",
            "T1.registration_id",
            "=",
            "T2.registration_id",
            "WHERE",
            "T2.test_result",
            "=",
            "``",
            "Pass",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_enrolment",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "student_tests_taken",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "registration_id",
            "=",
            "t2",
            ".",
            "registration_id",
            "where",
            "t2",
            ".",
            "test_result",
            "=",
            "value"
        ],
        "question": "What are the enrollment dates of all the tests that have result \"Pass\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "enrollment",
            "dates",
            "of",
            "all",
            "the",
            "tests",
            "that",
            "have",
            "result",
            "``",
            "Pass",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Pass\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.date_of_enrolment FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id  =  T2.registration_id WHERE T2.test_result  =  \"Pass\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_enrolment",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Student_Tests_Taken",
            "AS",
            "T2",
            "ON",
            "T1.registration_id",
            "=",
            "T2.registration_id",
            "WHERE",
            "T2.test_result",
            "=",
            "``",
            "Pass",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_enrolment",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "student_tests_taken",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "registration_id",
            "=",
            "t2",
            ".",
            "registration_id",
            "where",
            "t2",
            ".",
            "test_result",
            "=",
            "value"
        ],
        "question": "Find the enrollment date for all the tests that have \"Pass\" result.",
        "question_toks": [
            "Find",
            "the",
            "enrollment",
            "date",
            "for",
            "all",
            "the",
            "tests",
            "that",
            "have",
            "``",
            "Pass",
            "''",
            "result",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Pass\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id  =  T2.registration_id WHERE T2.test_result  =  \"Fail\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_completion",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Student_Tests_Taken",
            "AS",
            "T2",
            "ON",
            "T1.registration_id",
            "=",
            "T2.registration_id",
            "WHERE",
            "T2.test_result",
            "=",
            "``",
            "Fail",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_completion",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "student_tests_taken",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "registration_id",
            "=",
            "t2",
            ".",
            "registration_id",
            "where",
            "t2",
            ".",
            "test_result",
            "=",
            "value"
        ],
        "question": "What are the completion dates of all the tests that have result \"Fail\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "completion",
            "dates",
            "of",
            "all",
            "the",
            "tests",
            "that",
            "have",
            "result",
            "``",
            "Fail",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Fail\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id  =  T2.registration_id WHERE T2.test_result  =  \"Fail\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_completion",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Student_Tests_Taken",
            "AS",
            "T2",
            "ON",
            "T1.registration_id",
            "=",
            "T2.registration_id",
            "WHERE",
            "T2.test_result",
            "=",
            "``",
            "Fail",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_completion",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "student_tests_taken",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "registration_id",
            "=",
            "t2",
            ".",
            "registration_id",
            "where",
            "t2",
            ".",
            "test_result",
            "=",
            "value"
        ],
        "question": "Return the completion date for all the tests that have \"Fail\" result.",
        "question_toks": [
            "Return",
            "the",
            "completion",
            "date",
            "for",
            "all",
            "the",
            "tests",
            "that",
            "have",
            "``",
            "Fail",
            "''",
            "result",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Fail\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.date_of_enrolment ,  T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id WHERE T2.personal_name  =  \"Karson\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_enrolment",
            ",",
            "T1.date_of_completion",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "WHERE",
            "T2.personal_name",
            "=",
            "``",
            "Karson",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_enrolment",
            ",",
            "t1",
            ".",
            "date_of_completion",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "where",
            "t2",
            ".",
            "personal_name",
            "=",
            "value"
        ],
        "question": "List the dates of enrollment and completion of the student with personal name \"Karson\".",
        "question_toks": [
            "List",
            "the",
            "dates",
            "of",
            "enrollment",
            "and",
            "completion",
            "of",
            "the",
            "student",
            "with",
            "personal",
            "name",
            "``",
            "Karson",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Karson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.date_of_enrolment ,  T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id WHERE T2.personal_name  =  \"Karson\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_enrolment",
            ",",
            "T1.date_of_completion",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "WHERE",
            "T2.personal_name",
            "=",
            "``",
            "Karson",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_enrolment",
            ",",
            "t1",
            ".",
            "date_of_completion",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "where",
            "t2",
            ".",
            "personal_name",
            "=",
            "value"
        ],
        "question": "On what dates did the student whose personal name is \"Karson\" enroll in and complete the courses?",
        "question_toks": [
            "On",
            "what",
            "dates",
            "did",
            "the",
            "student",
            "whose",
            "personal",
            "name",
            "is",
            "``",
            "Karson",
            "''",
            "enroll",
            "in",
            "and",
            "complete",
            "the",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Karson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.date_of_enrolment ,  T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id WHERE T2.family_name  =  \"Zieme\" AND T2.personal_name  =  \"Bernie\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_enrolment",
            ",",
            "T1.date_of_completion",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "WHERE",
            "T2.family_name",
            "=",
            "``",
            "Zieme",
            "''",
            "AND",
            "T2.personal_name",
            "=",
            "``",
            "Bernie",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_enrolment",
            ",",
            "t1",
            ".",
            "date_of_completion",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "where",
            "t2",
            ".",
            "family_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "personal_name",
            "=",
            "value"
        ],
        "question": "List the dates of enrollment and completion of the student with family name \"Zieme\" and personal name \"Bernie\".",
        "question_toks": [
            "List",
            "the",
            "dates",
            "of",
            "enrollment",
            "and",
            "completion",
            "of",
            "the",
            "student",
            "with",
            "family",
            "name",
            "``",
            "Zieme",
            "''",
            "and",
            "personal",
            "name",
            "``",
            "Bernie",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Zieme\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Bernie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.date_of_enrolment ,  T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id WHERE T2.family_name  =  \"Zieme\" AND T2.personal_name  =  \"Bernie\"",
        "query_toks": [
            "SELECT",
            "T1.date_of_enrolment",
            ",",
            "T1.date_of_completion",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "WHERE",
            "T2.family_name",
            "=",
            "``",
            "Zieme",
            "''",
            "AND",
            "T2.personal_name",
            "=",
            "``",
            "Bernie",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_enrolment",
            ",",
            "t1",
            ".",
            "date_of_completion",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "where",
            "t2",
            ".",
            "family_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "personal_name",
            "=",
            "value"
        ],
        "question": "On what dates did the student with family name \"Zieme\" and personal name \"Bernie\" enroll in and complete the courses?",
        "question_toks": [
            "On",
            "what",
            "dates",
            "did",
            "the",
            "student",
            "with",
            "family",
            "name",
            "``",
            "Zieme",
            "''",
            "and",
            "personal",
            "name",
            "``",
            "Bernie",
            "''",
            "enroll",
            "in",
            "and",
            "complete",
            "the",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Zieme\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Bernie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.student_id ,  T2.login_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.login_name",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "login_name",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the student ID and login name of the student with the most course enrollments",
        "question_toks": [
            "Find",
            "the",
            "student",
            "ID",
            "and",
            "login",
            "name",
            "of",
            "the",
            "student",
            "with",
            "the",
            "most",
            "course",
            "enrollments"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.student_id ,  T2.login_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.login_name",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "login_name",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the student ID and login name of the student who are enrolled in the most courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "student",
            "ID",
            "and",
            "login",
            "name",
            "of",
            "the",
            "student",
            "who",
            "are",
            "enrolled",
            "in",
            "the",
            "most",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.student_id ,  T2.personal_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.personal_name",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "personal_name",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the student ID and personal name of the student with at least two enrollments.",
        "question_toks": [
            "Find",
            "the",
            "student",
            "ID",
            "and",
            "personal",
            "name",
            "of",
            "the",
            "student",
            "with",
            "at",
            "least",
            "two",
            "enrollments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.student_id ,  T2.personal_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.personal_name",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "personal_name",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which student are enrolled in at least two courses? Give me the student ID and personal name.",
        "question_toks": [
            "Which",
            "student",
            "are",
            "enrolled",
            "in",
            "at",
            "least",
            "two",
            "courses",
            "?",
            "Give",
            "me",
            "the",
            "student",
            "ID",
            "and",
            "personal",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.student_id ,  T2.middle_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id HAVING COUNT(*)  <=  2",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.middle_name",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "<",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "middle_name",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "Find the student ID and middle name for all the students with at most two enrollments.",
        "question_toks": [
            "Find",
            "the",
            "student",
            "ID",
            "and",
            "middle",
            "name",
            "for",
            "all",
            "the",
            "students",
            "with",
            "at",
            "most",
            "two",
            "enrollments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT T1.student_id ,  T2.middle_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id  =  T2.student_id GROUP BY T1.student_id HAVING COUNT(*)  <=  2",
        "query_toks": [
            "SELECT",
            "T1.student_id",
            ",",
            "T2.middle_name",
            "FROM",
            "Student_Course_Enrolment",
            "AS",
            "T1",
            "JOIN",
            "Students",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id",
            "GROUP",
            "BY",
            "T1.student_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "<",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "student_id",
            ",",
            "t2",
            ".",
            "middle_name",
            "from",
            "student_course_enrolment",
            "as",
            "t1",
            "join",
            "students",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id",
            "group",
            "by",
            "t1",
            ".",
            "student_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "What are the student IDs and middle names of the students enrolled in at most two courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "student",
            "IDs",
            "and",
            "middle",
            "names",
            "of",
            "the",
            "students",
            "enrolled",
            "in",
            "at",
            "most",
            "two",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT personal_name FROM Students EXCEPT SELECT T1.personal_name FROM Students AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.student_id  =  T2.student_id",
        "query_toks": [
            "SELECT",
            "personal_name",
            "FROM",
            "Students",
            "EXCEPT",
            "SELECT",
            "T1.personal_name",
            "FROM",
            "Students",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id"
        ],
        "query_toks_no_value": [
            "select",
            "personal_name",
            "from",
            "students",
            "except",
            "select",
            "t1",
            ".",
            "personal_name",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id"
        ],
        "question": "Find the personal names of students not enrolled in any course.",
        "question_toks": [
            "Find",
            "the",
            "personal",
            "names",
            "of",
            "students",
            "not",
            "enrolled",
            "in",
            "any",
            "course",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT personal_name FROM Students EXCEPT SELECT T1.personal_name FROM Students AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.student_id  =  T2.student_id",
        "query_toks": [
            "SELECT",
            "personal_name",
            "FROM",
            "Students",
            "EXCEPT",
            "SELECT",
            "T1.personal_name",
            "FROM",
            "Students",
            "AS",
            "T1",
            "JOIN",
            "Student_Course_Enrolment",
            "AS",
            "T2",
            "ON",
            "T1.student_id",
            "=",
            "T2.student_id"
        ],
        "query_toks_no_value": [
            "select",
            "personal_name",
            "from",
            "students",
            "except",
            "select",
            "t1",
            ".",
            "personal_name",
            "from",
            "students",
            "as",
            "t1",
            "join",
            "student_course_enrolment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "student_id",
            "=",
            "t2",
            ".",
            "student_id"
        ],
        "question": "Which students not enrolled in any course? Find their personal names.",
        "question_toks": [
            "Which",
            "students",
            "not",
            "enrolled",
            "in",
            "any",
            "course",
            "?",
            "Find",
            "their",
            "personal",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(*) FROM Students WHERE student_id NOT IN (SELECT student_id FROM Student_Course_Enrolment)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Students",
            "WHERE",
            "student_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "student_id",
            "FROM",
            "Student_Course_Enrolment",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "where",
            "student_id",
            "not",
            "in",
            "(",
            "select",
            "student_id",
            "from",
            "student_course_enrolment",
            ")"
        ],
        "question": "How many students did not have any course enrollment?",
        "question_toks": [
            "How",
            "many",
            "students",
            "did",
            "not",
            "have",
            "any",
            "course",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT count(*) FROM Students WHERE student_id NOT IN (SELECT student_id FROM Student_Course_Enrolment)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Students",
            "WHERE",
            "student_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "student_id",
            "FROM",
            "Student_Course_Enrolment",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "students",
            "where",
            "student_id",
            "not",
            "in",
            "(",
            "select",
            "student_id",
            "from",
            "student_course_enrolment",
            ")"
        ],
        "question": "Count the number of students who did not enroll in any course.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "students",
            "who",
            "did",
            "not",
            "enroll",
            "in",
            "any",
            "course",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students",
        "query_toks": [
            "SELECT",
            "login_name",
            "FROM",
            "Course_Authors_and_Tutors",
            "INTERSECT",
            "SELECT",
            "login_name",
            "FROM",
            "Students"
        ],
        "query_toks_no_value": [
            "select",
            "login_name",
            "from",
            "course_authors_and_tutors",
            "intersect",
            "select",
            "login_name",
            "from",
            "students"
        ],
        "question": "Find the common login name of course authors and students.",
        "question_toks": [
            "Find",
            "the",
            "common",
            "login",
            "name",
            "of",
            "course",
            "authors",
            "and",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students",
        "query_toks": [
            "SELECT",
            "login_name",
            "FROM",
            "Course_Authors_and_Tutors",
            "INTERSECT",
            "SELECT",
            "login_name",
            "FROM",
            "Students"
        ],
        "query_toks_no_value": [
            "select",
            "login_name",
            "from",
            "course_authors_and_tutors",
            "intersect",
            "select",
            "login_name",
            "from",
            "students"
        ],
        "question": "What are the login names used both by some course authors and some students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "login",
            "names",
            "used",
            "both",
            "by",
            "some",
            "course",
            "authors",
            "and",
            "some",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT personal_name FROM Course_Authors_and_Tutors INTERSECT SELECT personal_name FROM Students",
        "query_toks": [
            "SELECT",
            "personal_name",
            "FROM",
            "Course_Authors_and_Tutors",
            "INTERSECT",
            "SELECT",
            "personal_name",
            "FROM",
            "Students"
        ],
        "query_toks_no_value": [
            "select",
            "personal_name",
            "from",
            "course_authors_and_tutors",
            "intersect",
            "select",
            "personal_name",
            "from",
            "students"
        ],
        "question": "Find the common personal name of course authors and students.",
        "question_toks": [
            "Find",
            "the",
            "common",
            "personal",
            "name",
            "of",
            "course",
            "authors",
            "and",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_learning",
        "query": "SELECT personal_name FROM Course_Authors_and_Tutors INTERSECT SELECT personal_name FROM Students",
        "query_toks": [
            "SELECT",
            "personal_name",
            "FROM",
            "Course_Authors_and_Tutors",
            "INTERSECT",
            "SELECT",
            "personal_name",
            "FROM",
            "Students"
        ],
        "query_toks_no_value": [
            "select",
            "personal_name",
            "from",
            "course_authors_and_tutors",
            "intersect",
            "select",
            "personal_name",
            "from",
            "students"
        ],
        "question": "What are the personal names used both by some course authors and some students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "personal",
            "names",
            "used",
            "both",
            "by",
            "some",
            "course",
            "authors",
            "and",
            "some",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.Date_Claim_Made ,  T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id  =  T2.Claim_id GROUP BY T1.Claim_id HAVING count(*)  >  2 UNION SELECT T1.Date_Claim_Made ,  T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id  =  T2.Claim_id WHERE T1.Amount_Claimed  =  ( SELECT max(Amount_Claimed) FROM Claims )",
        "query_toks": [
            "SELECT",
            "T1.Date_Claim_Made",
            ",",
            "T1.Claim_id",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.Claim_id",
            "=",
            "T2.Claim_id",
            "GROUP",
            "BY",
            "T1.Claim_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2",
            "UNION",
            "SELECT",
            "T1.Date_Claim_Made",
            ",",
            "T1.Claim_id",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.Claim_id",
            "=",
            "T2.Claim_id",
            "WHERE",
            "T1.Amount_Claimed",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "Amount_Claimed",
            ")",
            "FROM",
            "Claims",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_claim_made",
            ",",
            "t1",
            ".",
            "claim_id",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "date_claim_made",
            ",",
            "t1",
            ".",
            "claim_id",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "where",
            "t1",
            ".",
            "amount_claimed",
            "=",
            "(",
            "select",
            "max",
            "(",
            "amount_claimed",
            ")",
            "from",
            "claims",
            ")"
        ],
        "question": "Which claims caused more than 2 settlements or have the maximum claim value? List the date the claim was made and the claim id.",
        "question_toks": [
            "Which",
            "claims",
            "caused",
            "more",
            "than",
            "2",
            "settlements",
            "or",
            "have",
            "the",
            "maximum",
            "claim",
            "value",
            "?",
            "List",
            "the",
            "date",
            "the",
            "claim",
            "was",
            "made",
            "and",
            "the",
            "claim",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        1,
                                        [
                                            0,
                                            [
                                                0,
                                                12,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.Date_Claim_Made ,  T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id  =  T2.Claim_id GROUP BY T1.Claim_id HAVING count(*)  >  2 UNION SELECT T1.Date_Claim_Made ,  T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id  =  T2.Claim_id WHERE T1.Amount_Claimed  =  ( SELECT max(Amount_Claimed) FROM Claims )",
        "query_toks": [
            "SELECT",
            "T1.Date_Claim_Made",
            ",",
            "T1.Claim_id",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.Claim_id",
            "=",
            "T2.Claim_id",
            "GROUP",
            "BY",
            "T1.Claim_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2",
            "UNION",
            "SELECT",
            "T1.Date_Claim_Made",
            ",",
            "T1.Claim_id",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.Claim_id",
            "=",
            "T2.Claim_id",
            "WHERE",
            "T1.Amount_Claimed",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "Amount_Claimed",
            ")",
            "FROM",
            "Claims",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_claim_made",
            ",",
            "t1",
            ".",
            "claim_id",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "date_claim_made",
            ",",
            "t1",
            ".",
            "claim_id",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "where",
            "t1",
            ".",
            "amount_claimed",
            "=",
            "(",
            "select",
            "max",
            "(",
            "amount_claimed",
            ")",
            "from",
            "claims",
            ")"
        ],
        "question": "Find the claims that led to more than two settlements or have the maximum claim value. For each of them, return the date the claim was made and the id of the claim.",
        "question_toks": [
            "Find",
            "the",
            "claims",
            "that",
            "led",
            "to",
            "more",
            "than",
            "two",
            "settlements",
            "or",
            "have",
            "the",
            "maximum",
            "claim",
            "value",
            ".",
            "For",
            "each",
            "of",
            "them",
            ",",
            "return",
            "the",
            "date",
            "the",
            "claim",
            "was",
            "made",
            "and",
            "the",
            "id",
            "of",
            "the",
            "claim",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        1,
                                        [
                                            0,
                                            [
                                                0,
                                                12,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.customer_details ,  T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  2 EXCEPT SELECT T1.customer_details ,  T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id  =  T2.customer_id JOIN Claims AS T3 ON T2.policy_id  =  T3.policy_id",
        "query_toks": [
            "SELECT",
            "T1.customer_details",
            ",",
            "T1.customer_id",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Policies",
            "AS",
            "T2",
            "ON",
            "T1.Customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2",
            "EXCEPT",
            "SELECT",
            "T1.customer_details",
            ",",
            "T1.customer_id",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Policies",
            "AS",
            "T2",
            "ON",
            "T1.Customer_id",
            "=",
            "T2.customer_id",
            "JOIN",
            "Claims",
            "AS",
            "T3",
            "ON",
            "T2.policy_id",
            "=",
            "T3.policy_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_details",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "customer_details",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "claims",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "policy_id",
            "=",
            "t3",
            ".",
            "policy_id"
        ],
        "question": "Which customer had at least 2 policies but did not file any claims? List the customer details and id.",
        "question_toks": [
            "Which",
            "customer",
            "had",
            "at",
            "least",
            "2",
            "policies",
            "but",
            "did",
            "not",
            "file",
            "any",
            "claims",
            "?",
            "List",
            "the",
            "customer",
            "details",
            "and",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.customer_details ,  T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  2 EXCEPT SELECT T1.customer_details ,  T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id  =  T2.customer_id JOIN Claims AS T3 ON T2.policy_id  =  T3.policy_id",
        "query_toks": [
            "SELECT",
            "T1.customer_details",
            ",",
            "T1.customer_id",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Policies",
            "AS",
            "T2",
            "ON",
            "T1.Customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2",
            "EXCEPT",
            "SELECT",
            "T1.customer_details",
            ",",
            "T1.customer_id",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Policies",
            "AS",
            "T2",
            "ON",
            "T1.Customer_id",
            "=",
            "T2.customer_id",
            "JOIN",
            "Claims",
            "AS",
            "T3",
            "ON",
            "T2.policy_id",
            "=",
            "T3.policy_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_details",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "customer_details",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "claims",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "policy_id",
            "=",
            "t3",
            ".",
            "policy_id"
        ],
        "question": "Give me the the customer details and id for the customers who had two or more policies but did not file any claims.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "the",
            "customer",
            "details",
            "and",
            "id",
            "for",
            "the",
            "customers",
            "who",
            "had",
            "two",
            "or",
            "more",
            "policies",
            "but",
            "did",
            "not",
            "file",
            "any",
            "claims",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Payment_Method_Code ,  Date_Payment_Made ,  Amount_Payment FROM Payments ORDER BY Date_Payment_Made ASC",
        "query_toks": [
            "SELECT",
            "Payment_Method_Code",
            ",",
            "Date_Payment_Made",
            ",",
            "Amount_Payment",
            "FROM",
            "Payments",
            "ORDER",
            "BY",
            "Date_Payment_Made",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "date_payment_made",
            ",",
            "amount_payment",
            "from",
            "payments",
            "order",
            "by",
            "date_payment_made",
            "asc"
        ],
        "question": "List the method, date and amount of all the payments, in ascending order of date.",
        "question_toks": [
            "List",
            "the",
            "method",
            ",",
            "date",
            "and",
            "amount",
            "of",
            "all",
            "the",
            "payments",
            ",",
            "in",
            "ascending",
            "order",
            "of",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Payment_Method_Code ,  Date_Payment_Made ,  Amount_Payment FROM Payments ORDER BY Date_Payment_Made ASC",
        "query_toks": [
            "SELECT",
            "Payment_Method_Code",
            ",",
            "Date_Payment_Made",
            ",",
            "Amount_Payment",
            "FROM",
            "Payments",
            "ORDER",
            "BY",
            "Date_Payment_Made",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "date_payment_made",
            ",",
            "amount_payment",
            "from",
            "payments",
            "order",
            "by",
            "date_payment_made",
            "asc"
        ],
        "question": "What are the method, date and amount of each payment? Sort the list in ascending order of date.",
        "question_toks": [
            "What",
            "are",
            "the",
            "method",
            ",",
            "date",
            "and",
            "amount",
            "of",
            "each",
            "payment",
            "?",
            "Sort",
            "the",
            "list",
            "in",
            "ascending",
            "order",
            "of",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Amount_Settled ,  Amount_Claimed FROM Claims ORDER BY Amount_Claimed DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Amount_Settled",
            ",",
            "Amount_Claimed",
            "FROM",
            "Claims",
            "ORDER",
            "BY",
            "Amount_Claimed",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "amount_settled",
            ",",
            "amount_claimed",
            "from",
            "claims",
            "order",
            "by",
            "amount_claimed",
            "desc",
            "limit",
            "value"
        ],
        "question": "Among all the claims, what is the settlement amount of the claim with the largest claim amount? List both the settlement amount and claim amount.",
        "question_toks": [
            "Among",
            "all",
            "the",
            "claims",
            ",",
            "what",
            "is",
            "the",
            "settlement",
            "amount",
            "of",
            "the",
            "claim",
            "with",
            "the",
            "largest",
            "claim",
            "amount",
            "?",
            "List",
            "both",
            "the",
            "settlement",
            "amount",
            "and",
            "claim",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Amount_Settled ,  Amount_Claimed FROM Claims ORDER BY Amount_Claimed DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Amount_Settled",
            ",",
            "Amount_Claimed",
            "FROM",
            "Claims",
            "ORDER",
            "BY",
            "Amount_Claimed",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "amount_settled",
            ",",
            "amount_claimed",
            "from",
            "claims",
            "order",
            "by",
            "amount_claimed",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the settlement amount of the claim with the largest claim amount. Show both the settlement amount and claim amount.",
        "question_toks": [
            "Find",
            "the",
            "settlement",
            "amount",
            "of",
            "the",
            "claim",
            "with",
            "the",
            "largest",
            "claim",
            "amount",
            ".",
            "Show",
            "both",
            "the",
            "settlement",
            "amount",
            "and",
            "claim",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Amount_Settled ,  Amount_Claimed FROM Claims ORDER BY Amount_Settled ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Amount_Settled",
            ",",
            "Amount_Claimed",
            "FROM",
            "Claims",
            "ORDER",
            "BY",
            "Amount_Settled",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "amount_settled",
            ",",
            "amount_claimed",
            "from",
            "claims",
            "order",
            "by",
            "amount_settled",
            "asc",
            "limit",
            "value"
        ],
        "question": "Among all the claims, what is the amount claimed in the claim with the least amount settled? List both the settlement amount and claim amount.",
        "question_toks": [
            "Among",
            "all",
            "the",
            "claims",
            ",",
            "what",
            "is",
            "the",
            "amount",
            "claimed",
            "in",
            "the",
            "claim",
            "with",
            "the",
            "least",
            "amount",
            "settled",
            "?",
            "List",
            "both",
            "the",
            "settlement",
            "amount",
            "and",
            "claim",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Amount_Settled ,  Amount_Claimed FROM Claims ORDER BY Amount_Settled ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Amount_Settled",
            ",",
            "Amount_Claimed",
            "FROM",
            "Claims",
            "ORDER",
            "BY",
            "Amount_Settled",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "amount_settled",
            ",",
            "amount_claimed",
            "from",
            "claims",
            "order",
            "by",
            "amount_settled",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the claimed amount in the claim with the least amount settled. Show both the settlement amount and claim amount.",
        "question_toks": [
            "Find",
            "the",
            "claimed",
            "amount",
            "in",
            "the",
            "claim",
            "with",
            "the",
            "least",
            "amount",
            "settled",
            ".",
            "Show",
            "both",
            "the",
            "settlement",
            "amount",
            "and",
            "claim",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Date_Claim_Made ,  Date_Claim_Settled FROM Claims WHERE Amount_Claimed  >  ( SELECT avg(Amount_Claimed) FROM Claims )",
        "query_toks": [
            "SELECT",
            "Date_Claim_Made",
            ",",
            "Date_Claim_Settled",
            "FROM",
            "Claims",
            "WHERE",
            "Amount_Claimed",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "Amount_Claimed",
            ")",
            "FROM",
            "Claims",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "date_claim_made",
            ",",
            "date_claim_settled",
            "from",
            "claims",
            "where",
            "amount_claimed",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "amount_claimed",
            ")",
            "from",
            "claims",
            ")"
        ],
        "question": "Among all the claims, which claims have a claimed amount larger than the average? List the date the claim was made and the date it was settled.",
        "question_toks": [
            "Among",
            "all",
            "the",
            "claims",
            ",",
            "which",
            "claims",
            "have",
            "a",
            "claimed",
            "amount",
            "larger",
            "than",
            "the",
            "average",
            "?",
            "List",
            "the",
            "date",
            "the",
            "claim",
            "was",
            "made",
            "and",
            "the",
            "date",
            "it",
            "was",
            "settled",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Date_Claim_Made ,  Date_Claim_Settled FROM Claims WHERE Amount_Claimed  >  ( SELECT avg(Amount_Claimed) FROM Claims )",
        "query_toks": [
            "SELECT",
            "Date_Claim_Made",
            ",",
            "Date_Claim_Settled",
            "FROM",
            "Claims",
            "WHERE",
            "Amount_Claimed",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "Amount_Claimed",
            ")",
            "FROM",
            "Claims",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "date_claim_made",
            ",",
            "date_claim_settled",
            "from",
            "claims",
            "where",
            "amount_claimed",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "amount_claimed",
            ")",
            "from",
            "claims",
            ")"
        ],
        "question": "Give me the claim date, settlement date for all the claims whose claimed amount is larger than the average.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "claim",
            "date",
            ",",
            "settlement",
            "date",
            "for",
            "all",
            "the",
            "claims",
            "whose",
            "claimed",
            "amount",
            "is",
            "larger",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Date_Claim_Made FROM Claims WHERE Amount_Settled  <=  ( SELECT avg(Amount_Settled) FROM Claims )",
        "query_toks": [
            "SELECT",
            "Date_Claim_Made",
            "FROM",
            "Claims",
            "WHERE",
            "Amount_Settled",
            "<",
            "=",
            "(",
            "SELECT",
            "avg",
            "(",
            "Amount_Settled",
            ")",
            "FROM",
            "Claims",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "date_claim_made",
            "from",
            "claims",
            "where",
            "amount_settled",
            "<",
            "=",
            "(",
            "select",
            "avg",
            "(",
            "amount_settled",
            ")",
            "from",
            "claims",
            ")"
        ],
        "question": "Among all the claims, which settlements have a claimed amount that is no more than the average? List the claim start date.",
        "question_toks": [
            "Among",
            "all",
            "the",
            "claims",
            ",",
            "which",
            "settlements",
            "have",
            "a",
            "claimed",
            "amount",
            "that",
            "is",
            "no",
            "more",
            "than",
            "the",
            "average",
            "?",
            "List",
            "the",
            "claim",
            "start",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Date_Claim_Made FROM Claims WHERE Amount_Settled  <=  ( SELECT avg(Amount_Settled) FROM Claims )",
        "query_toks": [
            "SELECT",
            "Date_Claim_Made",
            "FROM",
            "Claims",
            "WHERE",
            "Amount_Settled",
            "<",
            "=",
            "(",
            "SELECT",
            "avg",
            "(",
            "Amount_Settled",
            ")",
            "FROM",
            "Claims",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "date_claim_made",
            "from",
            "claims",
            "where",
            "amount_settled",
            "<",
            "=",
            "(",
            "select",
            "avg",
            "(",
            "amount_settled",
            ")",
            "from",
            "claims",
            ")"
        ],
        "question": "Return the claim start date for the claims whose claimed amount is no more than the average",
        "question_toks": [
            "Return",
            "the",
            "claim",
            "start",
            "date",
            "for",
            "the",
            "claims",
            "whose",
            "claimed",
            "amount",
            "is",
            "no",
            "more",
            "than",
            "the",
            "average"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.Claim_id ,  count(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id  =  T2.claim_id GROUP BY T1.claim_id",
        "query_toks": [
            "SELECT",
            "T1.Claim_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.claim_id",
            "=",
            "T2.claim_id",
            "GROUP",
            "BY",
            "T1.claim_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "claim_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id"
        ],
        "question": "How many settlements does each claim correspond to? List the claim id and the number of settlements.",
        "question_toks": [
            "How",
            "many",
            "settlements",
            "does",
            "each",
            "claim",
            "correspond",
            "to",
            "?",
            "List",
            "the",
            "claim",
            "id",
            "and",
            "the",
            "number",
            "of",
            "settlements",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.Claim_id ,  count(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id  =  T2.claim_id GROUP BY T1.claim_id",
        "query_toks": [
            "SELECT",
            "T1.Claim_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.claim_id",
            "=",
            "T2.claim_id",
            "GROUP",
            "BY",
            "T1.claim_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "claim_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id"
        ],
        "question": "Find the number of settlements each claim corresponds to. Show the number together with the claim id.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "settlements",
            "each",
            "claim",
            "corresponds",
            "to",
            ".",
            "Show",
            "the",
            "number",
            "together",
            "with",
            "the",
            "claim",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.claim_id ,  T1.date_claim_made ,  count(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id  =  T2.claim_id GROUP BY T1.claim_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.claim_id",
            ",",
            "T1.date_claim_made",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.claim_id",
            "=",
            "T2.claim_id",
            "GROUP",
            "BY",
            "T1.claim_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "claim_id",
            ",",
            "t1",
            ".",
            "date_claim_made",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which claim incurred the most number of settlements? List the claim id, the date the claim was made, and the number.",
        "question_toks": [
            "Which",
            "claim",
            "incurred",
            "the",
            "most",
            "number",
            "of",
            "settlements",
            "?",
            "List",
            "the",
            "claim",
            "id",
            ",",
            "the",
            "date",
            "the",
            "claim",
            "was",
            "made",
            ",",
            "and",
            "the",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.claim_id ,  T1.date_claim_made ,  count(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id  =  T2.claim_id GROUP BY T1.claim_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.claim_id",
            ",",
            "T1.date_claim_made",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.claim_id",
            "=",
            "T2.claim_id",
            "GROUP",
            "BY",
            "T1.claim_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "claim_id",
            ",",
            "t1",
            ".",
            "date_claim_made",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the claim id and claim date of the claim that incurred the most settlement count. Also tell me the count.",
        "question_toks": [
            "Find",
            "the",
            "claim",
            "id",
            "and",
            "claim",
            "date",
            "of",
            "the",
            "claim",
            "that",
            "incurred",
            "the",
            "most",
            "settlement",
            "count",
            ".",
            "Also",
            "tell",
            "me",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT count(*) ,  T1.claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id  =  T2.claim_id GROUP BY T1.claim_id ORDER BY T1.Date_Claim_Settled DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.claim_id",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.claim_id",
            "=",
            "T2.claim_id",
            "GROUP",
            "BY",
            "T1.claim_id",
            "ORDER",
            "BY",
            "T1.Date_Claim_Settled",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "claim_id",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "order",
            "by",
            "t1",
            ".",
            "date_claim_settled",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many settlements were made on the claim with the most recent claim settlement date? List the number and the claim id.",
        "question_toks": [
            "How",
            "many",
            "settlements",
            "were",
            "made",
            "on",
            "the",
            "claim",
            "with",
            "the",
            "most",
            "recent",
            "claim",
            "settlement",
            "date",
            "?",
            "List",
            "the",
            "number",
            "and",
            "the",
            "claim",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT count(*) ,  T1.claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id  =  T2.claim_id GROUP BY T1.claim_id ORDER BY T1.Date_Claim_Settled DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.claim_id",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.claim_id",
            "=",
            "T2.claim_id",
            "GROUP",
            "BY",
            "T1.claim_id",
            "ORDER",
            "BY",
            "T1.Date_Claim_Settled",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "claim_id",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "order",
            "by",
            "t1",
            ".",
            "date_claim_settled",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the claim id and the number of settlements made for the claim with the most recent settlement date.",
        "question_toks": [
            "Find",
            "the",
            "claim",
            "id",
            "and",
            "the",
            "number",
            "of",
            "settlements",
            "made",
            "for",
            "the",
            "claim",
            "with",
            "the",
            "most",
            "recent",
            "settlement",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Date_Claim_Made FROM Claims ORDER BY Date_Claim_Made ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Date_Claim_Made",
            "FROM",
            "Claims",
            "ORDER",
            "BY",
            "Date_Claim_Made",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date_claim_made",
            "from",
            "claims",
            "order",
            "by",
            "date_claim_made",
            "asc",
            "limit",
            "value"
        ],
        "question": "Of all the claims, what was the earliest date when any claim was made?",
        "question_toks": [
            "Of",
            "all",
            "the",
            "claims",
            ",",
            "what",
            "was",
            "the",
            "earliest",
            "date",
            "when",
            "any",
            "claim",
            "was",
            "made",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Date_Claim_Made FROM Claims ORDER BY Date_Claim_Made ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Date_Claim_Made",
            "FROM",
            "Claims",
            "ORDER",
            "BY",
            "Date_Claim_Made",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date_claim_made",
            "from",
            "claims",
            "order",
            "by",
            "date_claim_made",
            "asc",
            "limit",
            "value"
        ],
        "question": "Tell me the the date when the first claim was made.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "the",
            "date",
            "when",
            "the",
            "first",
            "claim",
            "was",
            "made",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT sum(Amount_Settled) FROM Settlements",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Amount_Settled",
            ")",
            "FROM",
            "Settlements"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount_settled",
            ")",
            "from",
            "settlements"
        ],
        "question": "What is the total amount of settlement made for all the settlements?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "settlement",
            "made",
            "for",
            "all",
            "the",
            "settlements",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT sum(Amount_Settled) FROM Settlements",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Amount_Settled",
            ")",
            "FROM",
            "Settlements"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount_settled",
            ")",
            "from",
            "settlements"
        ],
        "question": "Compute the total amount of settlement across all the settlements.",
        "question_toks": [
            "Compute",
            "the",
            "total",
            "amount",
            "of",
            "settlement",
            "across",
            "all",
            "the",
            "settlements",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.customer_details ,  T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id  =  T2.Customer_id GROUP BY T1.customer_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.customer_details",
            ",",
            "T1.customer_id",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Policies",
            "AS",
            "T2",
            "ON",
            "T1.Customer_id",
            "=",
            "T2.Customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_details",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Who are the customers that had more than 1 policy? List the customer details and id.",
        "question_toks": [
            "Who",
            "are",
            "the",
            "customers",
            "that",
            "had",
            "more",
            "than",
            "1",
            "policy",
            "?",
            "List",
            "the",
            "customer",
            "details",
            "and",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.customer_details ,  T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id  =  T2.Customer_id GROUP BY T1.customer_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.customer_details",
            ",",
            "T1.customer_id",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Policies",
            "AS",
            "T2",
            "ON",
            "T1.Customer_id",
            "=",
            "T2.Customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_details",
            ",",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the the customer details and id for the customers who had more than one policy.",
        "question_toks": [
            "Find",
            "the",
            "the",
            "customer",
            "details",
            "and",
            "id",
            "for",
            "the",
            "customers",
            "who",
            "had",
            "more",
            "than",
            "one",
            "policy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Date_Claim_Made ,  Date_Claim_Settled FROM Settlements",
        "query_toks": [
            "SELECT",
            "Date_Claim_Made",
            ",",
            "Date_Claim_Settled",
            "FROM",
            "Settlements"
        ],
        "query_toks_no_value": [
            "select",
            "date_claim_made",
            ",",
            "date_claim_settled",
            "from",
            "settlements"
        ],
        "question": "What are the claim dates and settlement dates of all the settlements?",
        "question_toks": [
            "What",
            "are",
            "the",
            "claim",
            "dates",
            "and",
            "settlement",
            "dates",
            "of",
            "all",
            "the",
            "settlements",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Date_Claim_Made ,  Date_Claim_Settled FROM Settlements",
        "query_toks": [
            "SELECT",
            "Date_Claim_Made",
            ",",
            "Date_Claim_Settled",
            "FROM",
            "Settlements"
        ],
        "query_toks_no_value": [
            "select",
            "date_claim_made",
            ",",
            "date_claim_settled",
            "from",
            "settlements"
        ],
        "question": "Tell me the the claim date and settlement date for each settlement case.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "the",
            "claim",
            "date",
            "and",
            "settlement",
            "date",
            "for",
            "each",
            "settlement",
            "case",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Payment_Method_Code",
            "FROM",
            "Payments",
            "GROUP",
            "BY",
            "Payment_Method_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            "from",
            "payments",
            "group",
            "by",
            "payment_method_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most popular payment method?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "popular",
            "payment",
            "method",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Payment_Method_Code",
            "FROM",
            "Payments",
            "GROUP",
            "BY",
            "Payment_Method_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            "from",
            "payments",
            "group",
            "by",
            "payment_method_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which payment method is used the most often?",
        "question_toks": [
            "Which",
            "payment",
            "method",
            "is",
            "used",
            "the",
            "most",
            "often",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Payment_Method_Code",
            "FROM",
            "Payments",
            "GROUP",
            "BY",
            "Payment_Method_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            "from",
            "payments",
            "group",
            "by",
            "payment_method_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "With which kind of payment method were the least number of payments processed?",
        "question_toks": [
            "With",
            "which",
            "kind",
            "of",
            "payment",
            "method",
            "were",
            "the",
            "least",
            "number",
            "of",
            "payments",
            "processed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Payment_Method_Code",
            "FROM",
            "Payments",
            "GROUP",
            "BY",
            "Payment_Method_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            "from",
            "payments",
            "group",
            "by",
            "payment_method_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the payment method that were used the least often?",
        "question_toks": [
            "What",
            "is",
            "the",
            "payment",
            "method",
            "that",
            "were",
            "used",
            "the",
            "least",
            "often",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT sum(Amount_Payment) FROM Payments",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Amount_Payment",
            ")",
            "FROM",
            "Payments"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount_payment",
            ")",
            "from",
            "payments"
        ],
        "question": "What is the total amount of payment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "payment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT sum(Amount_Payment) FROM Payments",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Amount_Payment",
            ")",
            "FROM",
            "Payments"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount_payment",
            ")",
            "from",
            "payments"
        ],
        "question": "Compute the total amount of payment processed.",
        "question_toks": [
            "Compute",
            "the",
            "total",
            "amount",
            "of",
            "payment",
            "processed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT DISTINCT customer_details FROM Customers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "customer_details",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "customer_details",
            "from",
            "customers"
        ],
        "question": "What are all the distinct details of the customers?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "distinct",
            "details",
            "of",
            "the",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT DISTINCT customer_details FROM Customers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "customer_details",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "customer_details",
            "from",
            "customers"
        ],
        "question": "Return the distinct customer details.",
        "question_toks": [
            "Return",
            "the",
            "distinct",
            "customer",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Policy_Type_Code FROM Customer_Policies GROUP BY Policy_Type_Code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Policy_Type_Code",
            "FROM",
            "Customer_Policies",
            "GROUP",
            "BY",
            "Policy_Type_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "customer_policies",
            "group",
            "by",
            "policy_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which kind of policy type was chosen by the most customers?",
        "question_toks": [
            "Which",
            "kind",
            "of",
            "policy",
            "type",
            "was",
            "chosen",
            "by",
            "the",
            "most",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Policy_Type_Code FROM Customer_Policies GROUP BY Policy_Type_Code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Policy_Type_Code",
            "FROM",
            "Customer_Policies",
            "GROUP",
            "BY",
            "Policy_Type_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "policy_type_code",
            "from",
            "customer_policies",
            "group",
            "by",
            "policy_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the policy type the most customers choose.",
        "question_toks": [
            "Find",
            "the",
            "policy",
            "type",
            "the",
            "most",
            "customers",
            "choose",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT count(*) FROM Settlements",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Settlements"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "settlements"
        ],
        "question": "How many settlements are there in total?",
        "question_toks": [
            "How",
            "many",
            "settlements",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT count(*) FROM Settlements",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Settlements"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "settlements"
        ],
        "question": "Count the total number of settlements made.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "settlements",
            "made",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Payment_ID ,  Date_Payment_Made ,  Amount_Payment FROM Payments WHERE Payment_Method_Code  =  'Visa'",
        "query_toks": [
            "SELECT",
            "Payment_ID",
            ",",
            "Date_Payment_Made",
            ",",
            "Amount_Payment",
            "FROM",
            "Payments",
            "WHERE",
            "Payment_Method_Code",
            "=",
            "'Visa",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "payment_id",
            ",",
            "date_payment_made",
            ",",
            "amount_payment",
            "from",
            "payments",
            "where",
            "payment_method_code",
            "=",
            "value"
        ],
        "question": "Which Payments were processed with Visa? List the payment Id, the date and the amount.",
        "question_toks": [
            "Which",
            "Payments",
            "were",
            "processed",
            "with",
            "Visa",
            "?",
            "List",
            "the",
            "payment",
            "Id",
            ",",
            "the",
            "date",
            "and",
            "the",
            "amount",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Visa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT Payment_ID ,  Date_Payment_Made ,  Amount_Payment FROM Payments WHERE Payment_Method_Code  =  'Visa'",
        "query_toks": [
            "SELECT",
            "Payment_ID",
            ",",
            "Date_Payment_Made",
            ",",
            "Amount_Payment",
            "FROM",
            "Payments",
            "WHERE",
            "Payment_Method_Code",
            "=",
            "'Visa",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "payment_id",
            ",",
            "date_payment_made",
            ",",
            "amount_payment",
            "from",
            "payments",
            "where",
            "payment_method_code",
            "=",
            "value"
        ],
        "question": "Give me the payment Id, the date and the amount for all the payments processed with Visa.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "payment",
            "Id",
            ",",
            "the",
            "date",
            "and",
            "the",
            "amount",
            "for",
            "all",
            "the",
            "payments",
            "processed",
            "with",
            "Visa",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Visa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "Customers",
            "EXCEPT",
            "SELECT",
            "T1.customer_details",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Policies",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_details",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "List the details of the customers who do not have any policies.",
        "question_toks": [
            "List",
            "the",
            "details",
            "of",
            "the",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "any",
            "policies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_details",
            "FROM",
            "Customers",
            "EXCEPT",
            "SELECT",
            "T1.customer_details",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Policies",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_details",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_details",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_policies",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Which customers do not have any policies? Find the details of these customers.",
        "question_toks": [
            "Which",
            "customers",
            "do",
            "not",
            "have",
            "any",
            "policies",
            "?",
            "Find",
            "the",
            "details",
            "of",
            "these",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.claim_id ,  T1.date_claim_made ,  T1.Date_Claim_Settled FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id  =  T2.Claim_id GROUP BY T1.claim_id HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "T1.claim_id",
            ",",
            "T1.date_claim_made",
            ",",
            "T1.Date_Claim_Settled",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.Claim_id",
            "=",
            "T2.Claim_id",
            "GROUP",
            "BY",
            "T1.claim_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "claim_id",
            ",",
            "t1",
            ".",
            "date_claim_made",
            ",",
            "t1",
            ".",
            "date_claim_settled",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "List the date the claim was made, the date it was settled and the amount settled for all the claims which had exactly one settlement.",
        "question_toks": [
            "List",
            "the",
            "date",
            "the",
            "claim",
            "was",
            "made",
            ",",
            "the",
            "date",
            "it",
            "was",
            "settled",
            "and",
            "the",
            "amount",
            "settled",
            "for",
            "all",
            "the",
            "claims",
            "which",
            "had",
            "exactly",
            "one",
            "settlement",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT T1.claim_id ,  T1.date_claim_made ,  T1.Date_Claim_Settled FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id  =  T2.Claim_id GROUP BY T1.claim_id HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "T1.claim_id",
            ",",
            "T1.date_claim_made",
            ",",
            "T1.Date_Claim_Settled",
            "FROM",
            "Claims",
            "AS",
            "T1",
            "JOIN",
            "Settlements",
            "AS",
            "T2",
            "ON",
            "T1.Claim_id",
            "=",
            "T2.Claim_id",
            "GROUP",
            "BY",
            "T1.claim_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "claim_id",
            ",",
            "t1",
            ".",
            "date_claim_made",
            ",",
            "t1",
            ".",
            "date_claim_settled",
            "from",
            "claims",
            "as",
            "t1",
            "join",
            "settlements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "claim_id",
            "=",
            "t2",
            ".",
            "claim_id",
            "group",
            "by",
            "t1",
            ".",
            "claim_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Which claims had exactly one settlement? For each, tell me the the date the claim was made, the date it was settled and the amount settled.",
        "question_toks": [
            "Which",
            "claims",
            "had",
            "exactly",
            "one",
            "settlement",
            "?",
            "For",
            "each",
            ",",
            "tell",
            "me",
            "the",
            "the",
            "date",
            "the",
            "claim",
            "was",
            "made",
            ",",
            "the",
            "date",
            "it",
            "was",
            "settled",
            "and",
            "the",
            "amount",
            "settled",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT sum(Amount_Claimed) FROM Claims",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Amount_Claimed",
            ")",
            "FROM",
            "Claims"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount_claimed",
            ")",
            "from",
            "claims"
        ],
        "question": "Find the total claimed amount of all the claims.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "claimed",
            "amount",
            "of",
            "all",
            "the",
            "claims",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "insurance_policies",
        "query": "SELECT sum(Amount_Claimed) FROM Claims",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Amount_Claimed",
            ")",
            "FROM",
            "Claims"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "amount_claimed",
            ")",
            "from",
            "claims"
        ],
        "question": "What is total amount claimed summed across all the claims?",
        "question_toks": [
            "What",
            "is",
            "total",
            "amount",
            "claimed",
            "summed",
            "across",
            "all",
            "the",
            "claims",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM department GROUP BY departmentID ORDER BY count(departmentID) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "departmentID",
            "ORDER",
            "BY",
            "count",
            "(",
            "departmentID",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "department",
            "group",
            "by",
            "departmentid",
            "order",
            "by",
            "count",
            "(",
            "departmentid",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which department has the largest number of employees?",
        "question_toks": [
            "Which",
            "department",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM department GROUP BY departmentID ORDER BY count(departmentID) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "departmentID",
            "ORDER",
            "BY",
            "count",
            "(",
            "departmentID",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "department",
            "group",
            "by",
            "departmentid",
            "order",
            "by",
            "count",
            "(",
            "departmentid",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the department with the most employees.",
        "question_toks": [
            "Find",
            "the",
            "department",
            "with",
            "the",
            "most",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT head FROM department GROUP BY departmentID ORDER BY count(departmentID) LIMIT 1;",
        "query_toks": [
            "SELECT",
            "head",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "departmentID",
            "ORDER",
            "BY",
            "count",
            "(",
            "departmentID",
            ")",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "head",
            "from",
            "department",
            "group",
            "by",
            "departmentid",
            "order",
            "by",
            "count",
            "(",
            "departmentid",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the employee id of the head whose department has the least number of employees?",
        "question_toks": [
            "What",
            "is",
            "the",
            "employee",
            "id",
            "of",
            "the",
            "head",
            "whose",
            "department",
            "has",
            "the",
            "least",
            "number",
            "of",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT head FROM department GROUP BY departmentID ORDER BY count(departmentID) LIMIT 1;",
        "query_toks": [
            "SELECT",
            "head",
            "FROM",
            "department",
            "GROUP",
            "BY",
            "departmentID",
            "ORDER",
            "BY",
            "count",
            "(",
            "departmentID",
            ")",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "head",
            "from",
            "department",
            "group",
            "by",
            "departmentid",
            "order",
            "by",
            "count",
            "(",
            "departmentid",
            ")",
            "limit",
            "value"
        ],
        "question": "Tell me the employee id of the head of the department with the least employees.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "employee",
            "id",
            "of",
            "the",
            "head",
            "of",
            "the",
            "department",
            "with",
            "the",
            "least",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T2.name ,  T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head  =  T2.EmployeeID GROUP BY departmentID ORDER BY count(departmentID) LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.position",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "physician",
            "AS",
            "T2",
            "ON",
            "T1.head",
            "=",
            "T2.EmployeeID",
            "GROUP",
            "BY",
            "departmentID",
            "ORDER",
            "BY",
            "count",
            "(",
            "departmentID",
            ")",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "position",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "physician",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "head",
            "=",
            "t2",
            ".",
            "employeeid",
            "group",
            "by",
            "departmentid",
            "order",
            "by",
            "count",
            "(",
            "departmentid",
            ")",
            "limit",
            "value"
        ],
        "question": "what is the name and position of the head whose department has least number of employees?",
        "question_toks": [
            "what",
            "is",
            "the",
            "name",
            "and",
            "position",
            "of",
            "the",
            "head",
            "whose",
            "department",
            "has",
            "least",
            "number",
            "of",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T2.name ,  T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head  =  T2.EmployeeID GROUP BY departmentID ORDER BY count(departmentID) LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.position",
            "FROM",
            "department",
            "AS",
            "T1",
            "JOIN",
            "physician",
            "AS",
            "T2",
            "ON",
            "T1.head",
            "=",
            "T2.EmployeeID",
            "GROUP",
            "BY",
            "departmentID",
            "ORDER",
            "BY",
            "count",
            "(",
            "departmentID",
            ")",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "position",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "physician",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "head",
            "=",
            "t2",
            ".",
            "employeeid",
            "group",
            "by",
            "departmentid",
            "order",
            "by",
            "count",
            "(",
            "departmentid",
            ")",
            "limit",
            "value"
        ],
        "question": "Find the name and position of the head of the department with the least employees.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "position",
            "of",
            "the",
            "head",
            "of",
            "the",
            "department",
            "with",
            "the",
            "least",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM appointment AS T1 JOIN patient AS T2 ON T1.patient  =  T2.ssn",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "appointment",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.patient",
            "=",
            "T2.ssn"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "appointment",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn"
        ],
        "question": "What are names of patients who made an appointment?",
        "question_toks": [
            "What",
            "are",
            "names",
            "of",
            "patients",
            "who",
            "made",
            "an",
            "appointment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM appointment AS T1 JOIN patient AS T2 ON T1.patient  =  T2.ssn",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "appointment",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.patient",
            "=",
            "T2.ssn"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "appointment",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn"
        ],
        "question": "List the names of patients who have made appointments.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "patients",
            "who",
            "have",
            "made",
            "appointments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name ,  phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient  =  T2.ssn GROUP BY T1.patient HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "phone",
            "FROM",
            "appointment",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.patient",
            "=",
            "T2.ssn",
            "GROUP",
            "BY",
            "T1.patient",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "phone",
            "from",
            "appointment",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn",
            "group",
            "by",
            "t1",
            ".",
            "patient",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "what are name and phone number of patients who had more than one appointment?",
        "question_toks": [
            "what",
            "are",
            "name",
            "and",
            "phone",
            "number",
            "of",
            "patients",
            "who",
            "had",
            "more",
            "than",
            "one",
            "appointment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name ,  phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient  =  T2.ssn GROUP BY T1.patient HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "phone",
            "FROM",
            "appointment",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.patient",
            "=",
            "T2.ssn",
            "GROUP",
            "BY",
            "T1.patient",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "phone",
            "from",
            "appointment",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn",
            "group",
            "by",
            "t1",
            ".",
            "patient",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which patients made more than one appointment? Tell me the name and phone number of these patients.",
        "question_toks": [
            "Which",
            "patients",
            "made",
            "more",
            "than",
            "one",
            "appointment",
            "?",
            "Tell",
            "me",
            "the",
            "name",
            "and",
            "phone",
            "number",
            "of",
            "these",
            "patients",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT appointmentid FROM appointment ORDER BY START DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "appointmentid",
            "FROM",
            "appointment",
            "ORDER",
            "BY",
            "START",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "appointmentid",
            "from",
            "appointment",
            "order",
            "by",
            "start",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id of the appointment with the most recent start date?",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "appointment",
            "with",
            "the",
            "most",
            "recent",
            "start",
            "date",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT appointmentid FROM appointment ORDER BY START DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "appointmentid",
            "FROM",
            "appointment",
            "ORDER",
            "BY",
            "START",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "appointmentid",
            "from",
            "appointment",
            "order",
            "by",
            "start",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the appointment that started most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "appointment",
            "that",
            "started",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician  =  T2.EmployeeID",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "appointment",
            "AS",
            "T1",
            "JOIN",
            "physician",
            "AS",
            "T2",
            "ON",
            "T1.Physician",
            "=",
            "T2.EmployeeID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "appointment",
            "as",
            "t1",
            "join",
            "physician",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "physician",
            "=",
            "t2",
            ".",
            "employeeid"
        ],
        "question": "List the name of physicians who took some appointment.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "physicians",
            "who",
            "took",
            "some",
            "appointment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician  =  T2.EmployeeID",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "appointment",
            "AS",
            "T1",
            "JOIN",
            "physician",
            "AS",
            "T2",
            "ON",
            "T1.Physician",
            "=",
            "T2.EmployeeID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "appointment",
            "as",
            "t1",
            "join",
            "physician",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "physician",
            "=",
            "t2",
            ".",
            "employeeid"
        ],
        "question": "What are the names of all the physicians who took appointments.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "physicians",
            "who",
            "took",
            "appointments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM physician EXCEPT SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician  =  T2.EmployeeID",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "physician",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "appointment",
            "AS",
            "T1",
            "JOIN",
            "physician",
            "AS",
            "T2",
            "ON",
            "T1.Physician",
            "=",
            "T2.EmployeeID"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "physician",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "appointment",
            "as",
            "t1",
            "join",
            "physician",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "physician",
            "=",
            "t2",
            ".",
            "employeeid"
        ],
        "question": "List the name of physicians who never took any appointment.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "physicians",
            "who",
            "never",
            "took",
            "any",
            "appointment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM physician EXCEPT SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician  =  T2.EmployeeID",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "physician",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "appointment",
            "AS",
            "T1",
            "JOIN",
            "physician",
            "AS",
            "T2",
            "ON",
            "T1.Physician",
            "=",
            "T2.EmployeeID"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "physician",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "appointment",
            "as",
            "t1",
            "join",
            "physician",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "physician",
            "=",
            "t2",
            ".",
            "employeeid"
        ],
        "question": "Which physicians have never taken any appointment? Find their names.",
        "question_toks": [
            "Which",
            "physicians",
            "have",
            "never",
            "taken",
            "any",
            "appointment",
            "?",
            "Find",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    32,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name ,  T3.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID  =  T2.physician JOIN department AS T3 ON T2.department  =  T3.DepartmentID WHERE T2.PrimaryAffiliation  =  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "affiliated_with",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.physician",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.department",
            "=",
            "T3.DepartmentID",
            "WHERE",
            "T2.PrimaryAffiliation",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "affiliated_with",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "department",
            "=",
            "t3",
            ".",
            "departmentid",
            "where",
            "t2",
            ".",
            "primaryaffiliation",
            "=",
            "value"
        ],
        "question": "Find the names of all physicians and their primary affiliated departments' names.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "physicians",
            "and",
            "their",
            "primary",
            "affiliated",
            "departments",
            "'",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name ,  T3.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID  =  T2.physician JOIN department AS T3 ON T2.department  =  T3.DepartmentID WHERE T2.PrimaryAffiliation  =  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "affiliated_with",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.physician",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.department",
            "=",
            "T3.DepartmentID",
            "WHERE",
            "T2.PrimaryAffiliation",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "affiliated_with",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "department",
            "=",
            "t3",
            ".",
            "departmentid",
            "where",
            "t2",
            ".",
            "primaryaffiliation",
            "=",
            "value"
        ],
        "question": "What are the name and primarily affiliated department name of each physician?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "primarily",
            "affiliated",
            "department",
            "name",
            "of",
            "each",
            "physician",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM patient AS T1 JOIN appointment AS T2 ON T1.ssn = T2.patient ORDER BY T2.start DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "patient",
            "AS",
            "T1",
            "JOIN",
            "appointment",
            "AS",
            "T2",
            "ON",
            "T1.ssn",
            "=",
            "T2.patient",
            "ORDER",
            "BY",
            "T2.start",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "patient",
            "as",
            "t1",
            "join",
            "appointment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ssn",
            "=",
            "t2",
            ".",
            "patient",
            "order",
            "by",
            "t2",
            ".",
            "start",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the patient who made the most recent appointment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "patient",
            "who",
            "made",
            "the",
            "most",
            "recent",
            "appointment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM patient AS T1 JOIN appointment AS T2 ON T1.ssn = T2.patient ORDER BY T2.start DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "patient",
            "AS",
            "T1",
            "JOIN",
            "appointment",
            "AS",
            "T2",
            "ON",
            "T1.ssn",
            "=",
            "T2.patient",
            "ORDER",
            "BY",
            "T2.start",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "patient",
            "as",
            "t1",
            "join",
            "appointment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ssn",
            "=",
            "t2",
            ".",
            "patient",
            "order",
            "by",
            "t2",
            ".",
            "start",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the patient who made the appointment with the most recent start date.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "patient",
            "who",
            "made",
            "the",
            "appointment",
            "with",
            "the",
            "most",
            "recent",
            "start",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(patient) FROM stay WHERE room  =  112",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "patient",
            ")",
            "FROM",
            "stay",
            "WHERE",
            "room",
            "=",
            "112"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "patient",
            ")",
            "from",
            "stay",
            "where",
            "room",
            "=",
            "value"
        ],
        "question": "How many patients stay in room 112?",
        "question_toks": [
            "How",
            "many",
            "patients",
            "stay",
            "in",
            "room",
            "112",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    112.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(patient) FROM stay WHERE room  =  112",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "patient",
            ")",
            "FROM",
            "stay",
            "WHERE",
            "room",
            "=",
            "112"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "patient",
            ")",
            "from",
            "stay",
            "where",
            "room",
            "=",
            "value"
        ],
        "question": "Count the number of patients who stayed in room 112.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "patients",
            "who",
            "stayed",
            "in",
            "room",
            "112",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    112.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(T1.SSN) FROM patient AS T1 JOIN prescribes AS T2 ON T1.SSN  =  T2.patient JOIN physician AS T3 ON T2.physician  =  T3.employeeid WHERE T3.name = \"John Dorian\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "T1.SSN",
            ")",
            "FROM",
            "patient",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.SSN",
            "=",
            "T2.patient",
            "JOIN",
            "physician",
            "AS",
            "T3",
            "ON",
            "T2.physician",
            "=",
            "T3.employeeid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "John",
            "Dorian",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t1",
            ".",
            "ssn",
            ")",
            "from",
            "patient",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ssn",
            "=",
            "t2",
            ".",
            "patient",
            "join",
            "physician",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "physician",
            "=",
            "t3",
            ".",
            "employeeid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many patients' prescriptions are made by physician John Dorian?",
        "question_toks": [
            "How",
            "many",
            "patients",
            "'",
            "prescriptions",
            "are",
            "made",
            "by",
            "physician",
            "John",
            "Dorian",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"John Dorian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(T1.SSN) FROM patient AS T1 JOIN prescribes AS T2 ON T1.SSN  =  T2.patient JOIN physician AS T3 ON T2.physician  =  T3.employeeid WHERE T3.name = \"John Dorian\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "T1.SSN",
            ")",
            "FROM",
            "patient",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.SSN",
            "=",
            "T2.patient",
            "JOIN",
            "physician",
            "AS",
            "T3",
            "ON",
            "T2.physician",
            "=",
            "T3.employeeid",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "John",
            "Dorian",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t1",
            ".",
            "ssn",
            ")",
            "from",
            "patient",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ssn",
            "=",
            "t2",
            ".",
            "patient",
            "join",
            "physician",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "physician",
            "=",
            "t3",
            ".",
            "employeeid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the number of patients' prescriptions physician John Dorian made.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "patients",
            "'",
            "prescriptions",
            "physician",
            "John",
            "Dorian",
            "made",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"John Dorian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T4.name FROM stay AS T1 JOIN patient AS T2 ON T1.Patient  =  T2.SSN JOIN Prescribes AS T3 ON T3.Patient  =  T2.SSN JOIN Medication AS T4 ON T3.Medication  =  T4.Code WHERE room  =  111",
        "query_toks": [
            "SELECT",
            "T4.name",
            "FROM",
            "stay",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.Patient",
            "=",
            "T2.SSN",
            "JOIN",
            "Prescribes",
            "AS",
            "T3",
            "ON",
            "T3.Patient",
            "=",
            "T2.SSN",
            "JOIN",
            "Medication",
            "AS",
            "T4",
            "ON",
            "T3.Medication",
            "=",
            "T4.Code",
            "WHERE",
            "room",
            "=",
            "111"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "name",
            "from",
            "stay",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn",
            "join",
            "prescribes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn",
            "join",
            "medication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "medication",
            "=",
            "t4",
            ".",
            "code",
            "where",
            "room",
            "=",
            "value"
        ],
        "question": "Find the name of medication used on the patient who stays in room 111?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "medication",
            "used",
            "on",
            "the",
            "patient",
            "who",
            "stays",
            "in",
            "room",
            "111",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    111.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T4.name FROM stay AS T1 JOIN patient AS T2 ON T1.Patient  =  T2.SSN JOIN Prescribes AS T3 ON T3.Patient  =  T2.SSN JOIN Medication AS T4 ON T3.Medication  =  T4.Code WHERE room  =  111",
        "query_toks": [
            "SELECT",
            "T4.name",
            "FROM",
            "stay",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.Patient",
            "=",
            "T2.SSN",
            "JOIN",
            "Prescribes",
            "AS",
            "T3",
            "ON",
            "T3.Patient",
            "=",
            "T2.SSN",
            "JOIN",
            "Medication",
            "AS",
            "T4",
            "ON",
            "T3.Medication",
            "=",
            "T4.Code",
            "WHERE",
            "room",
            "=",
            "111"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "name",
            "from",
            "stay",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn",
            "join",
            "prescribes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn",
            "join",
            "medication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "medication",
            "=",
            "t4",
            ".",
            "code",
            "where",
            "room",
            "=",
            "value"
        ],
        "question": "What is the name of the medication used for the patient staying in room 111?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "medication",
            "used",
            "for",
            "the",
            "patient",
            "staying",
            "in",
            "room",
            "111",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    111.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT patient FROM stay WHERE room  =  111 ORDER BY staystart DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "patient",
            "FROM",
            "stay",
            "WHERE",
            "room",
            "=",
            "111",
            "ORDER",
            "BY",
            "staystart",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "patient",
            "from",
            "stay",
            "where",
            "room",
            "=",
            "value",
            "order",
            "by",
            "staystart",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the patient who most recently stayed in room 111.",
        "question_toks": [
            "Find",
            "the",
            "patient",
            "who",
            "most",
            "recently",
            "stayed",
            "in",
            "room",
            "111",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    111.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            61,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT patient FROM stay WHERE room  =  111 ORDER BY staystart DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "patient",
            "FROM",
            "stay",
            "WHERE",
            "room",
            "=",
            "111",
            "ORDER",
            "BY",
            "staystart",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "patient",
            "from",
            "stay",
            "where",
            "room",
            "=",
            "value",
            "order",
            "by",
            "staystart",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the patient who stayed in room 111 most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "patient",
            "who",
            "stayed",
            "in",
            "room",
            "111",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    111.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            61,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid  =  T2.prepnurse GROUP BY T1.employeeid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "nurse",
            "AS",
            "T1",
            "JOIN",
            "appointment",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.prepnurse",
            "GROUP",
            "BY",
            "T1.employeeid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "nurse",
            "as",
            "t1",
            "join",
            "appointment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "prepnurse",
            "group",
            "by",
            "t1",
            ".",
            "employeeid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the nurse has the most appointments?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "nurse",
            "has",
            "the",
            "most",
            "appointments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid  =  T2.prepnurse GROUP BY T1.employeeid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "nurse",
            "AS",
            "T1",
            "JOIN",
            "appointment",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.prepnurse",
            "GROUP",
            "BY",
            "T1.employeeid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "nurse",
            "as",
            "t1",
            "join",
            "appointment",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "prepnurse",
            "group",
            "by",
            "t1",
            ".",
            "employeeid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the nurse who has the largest number of appointments.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "nurse",
            "who",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "appointments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name ,  count(*) FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid  =  T2.PCP GROUP BY T1.employeeid",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.PCP",
            "GROUP",
            "BY",
            "T1.employeeid"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "pcp",
            "group",
            "by",
            "t1",
            ".",
            "employeeid"
        ],
        "question": "How many patients do each physician take care of? List their names and number of patients they take care of.",
        "question_toks": [
            "How",
            "many",
            "patients",
            "do",
            "each",
            "physician",
            "take",
            "care",
            "of",
            "?",
            "List",
            "their",
            "names",
            "and",
            "number",
            "of",
            "patients",
            "they",
            "take",
            "care",
            "of",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name ,  count(*) FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid  =  T2.PCP GROUP BY T1.employeeid",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.PCP",
            "GROUP",
            "BY",
            "T1.employeeid"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "pcp",
            "group",
            "by",
            "t1",
            ".",
            "employeeid"
        ],
        "question": "Return the name of each physician and the number of patients he or she treats.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "each",
            "physician",
            "and",
            "the",
            "number",
            "of",
            "patients",
            "he",
            "or",
            "she",
            "treats",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid  =  T2.PCP GROUP BY T1.employeeid HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.PCP",
            "GROUP",
            "BY",
            "T1.employeeid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "pcp",
            "group",
            "by",
            "t1",
            ".",
            "employeeid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name of physicians who are in charge of more than one patient.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "physicians",
            "who",
            "are",
            "in",
            "charge",
            "of",
            "more",
            "than",
            "one",
            "patient",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid  =  T2.PCP GROUP BY T1.employeeid HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.PCP",
            "GROUP",
            "BY",
            "T1.employeeid",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "pcp",
            "group",
            "by",
            "t1",
            ".",
            "employeeid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which physicians are in charge of more than one patient? Give me their names.",
        "question_toks": [
            "Which",
            "physicians",
            "are",
            "in",
            "charge",
            "of",
            "more",
            "than",
            "one",
            "patient",
            "?",
            "Give",
            "me",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) ,  T1.blockfloor FROM BLOCK AS T1 JOIN room AS T2 ON T1.blockfloor  =  T2.blockfloor AND T1.blockcode  =  T2.blockcode GROUP BY T1.blockfloor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.blockfloor",
            "FROM",
            "BLOCK",
            "AS",
            "T1",
            "JOIN",
            "room",
            "AS",
            "T2",
            "ON",
            "T1.blockfloor",
            "=",
            "T2.blockfloor",
            "AND",
            "T1.blockcode",
            "=",
            "T2.blockcode",
            "GROUP",
            "BY",
            "T1.blockfloor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "blockfloor",
            "from",
            "block",
            "as",
            "t1",
            "join",
            "room",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "blockfloor",
            "=",
            "t2",
            ".",
            "blockfloor",
            "and",
            "t1",
            ".",
            "blockcode",
            "=",
            "t2",
            ".",
            "blockcode",
            "group",
            "by",
            "t1",
            ".",
            "blockfloor"
        ],
        "question": "Find the number of rooms located on each block floor.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "rooms",
            "located",
            "on",
            "each",
            "block",
            "floor",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) ,  T1.blockfloor FROM BLOCK AS T1 JOIN room AS T2 ON T1.blockfloor  =  T2.blockfloor AND T1.blockcode  =  T2.blockcode GROUP BY T1.blockfloor",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.blockfloor",
            "FROM",
            "BLOCK",
            "AS",
            "T1",
            "JOIN",
            "room",
            "AS",
            "T2",
            "ON",
            "T1.blockfloor",
            "=",
            "T2.blockfloor",
            "AND",
            "T1.blockcode",
            "=",
            "T2.blockcode",
            "GROUP",
            "BY",
            "T1.blockfloor"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "blockfloor",
            "from",
            "block",
            "as",
            "t1",
            "join",
            "room",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "blockfloor",
            "=",
            "t2",
            ".",
            "blockfloor",
            "and",
            "t1",
            ".",
            "blockcode",
            "=",
            "t2",
            ".",
            "blockcode",
            "group",
            "by",
            "t1",
            ".",
            "blockfloor"
        ],
        "question": "How many rooms does each block floor have?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "does",
            "each",
            "block",
            "floor",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    46,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) ,  T1.blockcode FROM BLOCK AS T1 JOIN room AS T2 ON T1.blockfloor  =  T2.blockfloor AND T1.blockcode  =  T2.blockcode GROUP BY T1.blockcode",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.blockcode",
            "FROM",
            "BLOCK",
            "AS",
            "T1",
            "JOIN",
            "room",
            "AS",
            "T2",
            "ON",
            "T1.blockfloor",
            "=",
            "T2.blockfloor",
            "AND",
            "T1.blockcode",
            "=",
            "T2.blockcode",
            "GROUP",
            "BY",
            "T1.blockcode"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "blockcode",
            "from",
            "block",
            "as",
            "t1",
            "join",
            "room",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "blockfloor",
            "=",
            "t2",
            ".",
            "blockfloor",
            "and",
            "t1",
            ".",
            "blockcode",
            "=",
            "t2",
            ".",
            "blockcode",
            "group",
            "by",
            "t1",
            ".",
            "blockcode"
        ],
        "question": "Find the number of rooms for different block code?",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "rooms",
            "for",
            "different",
            "block",
            "code",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    47,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) ,  T1.blockcode FROM BLOCK AS T1 JOIN room AS T2 ON T1.blockfloor  =  T2.blockfloor AND T1.blockcode  =  T2.blockcode GROUP BY T1.blockcode",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.blockcode",
            "FROM",
            "BLOCK",
            "AS",
            "T1",
            "JOIN",
            "room",
            "AS",
            "T2",
            "ON",
            "T1.blockfloor",
            "=",
            "T2.blockfloor",
            "AND",
            "T1.blockcode",
            "=",
            "T2.blockcode",
            "GROUP",
            "BY",
            "T1.blockcode"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "blockcode",
            "from",
            "block",
            "as",
            "t1",
            "join",
            "room",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "blockfloor",
            "=",
            "t2",
            ".",
            "blockfloor",
            "and",
            "t1",
            ".",
            "blockcode",
            "=",
            "t2",
            ".",
            "blockcode",
            "group",
            "by",
            "t1",
            ".",
            "blockcode"
        ],
        "question": "How many rooms are located for each block code?",
        "question_toks": [
            "How",
            "many",
            "rooms",
            "are",
            "located",
            "for",
            "each",
            "block",
            "code",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    47,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT blockcode FROM room WHERE unavailable  =  0",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "blockcode",
            "FROM",
            "room",
            "WHERE",
            "unavailable",
            "=",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "blockcode",
            "from",
            "room",
            "where",
            "unavailable",
            "=",
            "value"
        ],
        "question": "What are the unique block codes that have available rooms?",
        "question_toks": [
            "What",
            "are",
            "the",
            "unique",
            "block",
            "codes",
            "that",
            "have",
            "available",
            "rooms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT blockcode FROM room WHERE unavailable  =  0",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "blockcode",
            "FROM",
            "room",
            "WHERE",
            "unavailable",
            "=",
            "0"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "blockcode",
            "from",
            "room",
            "where",
            "unavailable",
            "=",
            "value"
        ],
        "question": "Tell me the distinct block codes where some rooms are available.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "distinct",
            "block",
            "codes",
            "where",
            "some",
            "rooms",
            "are",
            "available",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(DISTINCT roomtype) FROM room",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "roomtype",
            ")",
            "FROM",
            "room"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "roomtype",
            ")",
            "from",
            "room"
        ],
        "question": "How many different types of rooms are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "types",
            "of",
            "rooms",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                49,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(DISTINCT roomtype) FROM room",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "roomtype",
            ")",
            "FROM",
            "room"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "roomtype",
            ")",
            "from",
            "room"
        ],
        "question": "Find the number of distinct room types available.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "room",
            "types",
            "available",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                49,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.name  =  \"Thesisin\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "medication",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.medication",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Thesisin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "medication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "medication",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the names of the physicians who prescribe medication Thesisin?",
        "question_toks": [
            "What",
            "is",
            "the",
            "names",
            "of",
            "the",
            "physicians",
            "who",
            "prescribe",
            "medication",
            "Thesisin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Thesisin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.name  =  \"Thesisin\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "medication",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.medication",
            "WHERE",
            "T3.name",
            "=",
            "``",
            "Thesisin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "medication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "medication",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List the names of all the physicians who prescribe Thesisin as medication.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "the",
            "physicians",
            "who",
            "prescribe",
            "Thesisin",
            "as",
            "medication",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Thesisin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T1.name ,  T1.position FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.Brand  =  \"X\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            ",",
            "T1.position",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "medication",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.medication",
            "WHERE",
            "T3.Brand",
            "=",
            "``",
            "X",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "position",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "medication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "medication",
            "where",
            "t3",
            ".",
            "brand",
            "=",
            "value"
        ],
        "question": "Find the name and position of physicians who prescribe some medication whose brand is X?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "position",
            "of",
            "physicians",
            "who",
            "prescribe",
            "some",
            "medication",
            "whose",
            "brand",
            "is",
            "X",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"X\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T1.name ,  T1.position FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.Brand  =  \"X\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            ",",
            "T1.position",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "medication",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.medication",
            "WHERE",
            "T3.Brand",
            "=",
            "``",
            "X",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "position",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "medication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "medication",
            "where",
            "t3",
            ".",
            "brand",
            "=",
            "value"
        ],
        "question": "Which physicians prescribe a medication of brand X? Tell me the name and position of those physicians.",
        "question_toks": [
            "Which",
            "physicians",
            "prescribe",
            "a",
            "medication",
            "of",
            "brand",
            "X",
            "?",
            "Tell",
            "me",
            "the",
            "name",
            "and",
            "position",
            "of",
            "those",
            "physicians",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"X\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) ,  T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "medication",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.code",
            "=",
            "T2.medication",
            "GROUP",
            "BY",
            "T1.brand"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "medication",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "medication",
            "group",
            "by",
            "t1",
            ".",
            "brand"
        ],
        "question": "Find the number of medications prescribed for each brand.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "medications",
            "prescribed",
            "for",
            "each",
            "brand",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) ,  T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "medication",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.code",
            "=",
            "T2.medication",
            "GROUP",
            "BY",
            "T1.brand"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "medication",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "medication",
            "group",
            "by",
            "t1",
            ".",
            "brand"
        ],
        "question": "How many medications are prescribed for each brand?",
        "question_toks": [
            "How",
            "many",
            "medications",
            "are",
            "prescribed",
            "for",
            "each",
            "brand",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM physician WHERE POSITION LIKE '%senior%'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "physician",
            "WHERE",
            "POSITION",
            "LIKE",
            "'",
            "%",
            "senior",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "physician",
            "where",
            "position",
            "like",
            "value"
        ],
        "question": "Find the name of physicians whose position title contains the word 'senior'.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "physicians",
            "whose",
            "position",
            "title",
            "contains",
            "the",
            "word",
            "'senior",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%senior%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM physician WHERE POSITION LIKE '%senior%'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "physician",
            "WHERE",
            "POSITION",
            "LIKE",
            "'",
            "%",
            "senior",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "physician",
            "where",
            "position",
            "like",
            "value"
        ],
        "question": "What are the names of the physicians who have 'senior' in their titles.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "physicians",
            "who",
            "have",
            "'senior",
            "'",
            "in",
            "their",
            "titles",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%senior%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT patient FROM undergoes ORDER BY dateundergoes LIMIT 1",
        "query_toks": [
            "SELECT",
            "patient",
            "FROM",
            "undergoes",
            "ORDER",
            "BY",
            "dateundergoes",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "patient",
            "from",
            "undergoes",
            "order",
            "by",
            "dateundergoes",
            "limit",
            "value"
        ],
        "question": "Find the patient who has the most recent undergoing treatment?",
        "question_toks": [
            "Find",
            "the",
            "patient",
            "who",
            "has",
            "the",
            "most",
            "recent",
            "undergoing",
            "treatment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT patient FROM undergoes ORDER BY dateundergoes LIMIT 1",
        "query_toks": [
            "SELECT",
            "patient",
            "FROM",
            "undergoes",
            "ORDER",
            "BY",
            "dateundergoes",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "patient",
            "from",
            "undergoes",
            "order",
            "by",
            "dateundergoes",
            "limit",
            "value"
        ],
        "question": "Which patient is undergoing the most recent treatment?",
        "question_toks": [
            "Which",
            "patient",
            "is",
            "undergoing",
            "the",
            "most",
            "recent",
            "treatment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            66,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN patient AS T2 ON T1.patient = T2.SSN JOIN stay AS T3 ON T1.Stay  =  T3.StayID WHERE T3.room  =  111",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            "FROM",
            "undergoes",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.patient",
            "=",
            "T2.SSN",
            "JOIN",
            "stay",
            "AS",
            "T3",
            "ON",
            "T1.Stay",
            "=",
            "T3.StayID",
            "WHERE",
            "T3.room",
            "=",
            "111"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "undergoes",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn",
            "join",
            "stay",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "stay",
            "=",
            "t3",
            ".",
            "stayid",
            "where",
            "t3",
            ".",
            "room",
            "=",
            "value"
        ],
        "question": "Find the names of all patients who have an undergoing treatment and are staying in room 111.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "patients",
            "who",
            "have",
            "an",
            "undergoing",
            "treatment",
            "and",
            "are",
            "staying",
            "in",
            "room",
            "111",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    111.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN patient AS T2 ON T1.patient = T2.SSN JOIN stay AS T3 ON T1.Stay  =  T3.StayID WHERE T3.room  =  111",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            "FROM",
            "undergoes",
            "AS",
            "T1",
            "JOIN",
            "patient",
            "AS",
            "T2",
            "ON",
            "T1.patient",
            "=",
            "T2.SSN",
            "JOIN",
            "stay",
            "AS",
            "T3",
            "ON",
            "T1.Stay",
            "=",
            "T3.StayID",
            "WHERE",
            "T3.room",
            "=",
            "111"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "undergoes",
            "as",
            "t1",
            "join",
            "patient",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "patient",
            "=",
            "t2",
            ".",
            "ssn",
            "join",
            "stay",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "stay",
            "=",
            "t3",
            ".",
            "stayid",
            "where",
            "t3",
            ".",
            "room",
            "=",
            "value"
        ],
        "question": "What are the names of patients who are staying in room 111 and have an undergoing treatment?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "patients",
            "who",
            "are",
            "staying",
            "in",
            "room",
            "111",
            "and",
            "have",
            "an",
            "undergoing",
            "treatment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                63,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            58,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            60,
                            false
                        ],
                        null
                    ],
                    111.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT name FROM nurse ORDER BY name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "nurse",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "nurse",
            "order",
            "by",
            "name"
        ],
        "question": "List the names of all distinct nurses ordered by alphabetical order?",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "nurses",
            "ordered",
            "by",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT name FROM nurse ORDER BY name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "nurse",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "nurse",
            "order",
            "by",
            "name"
        ],
        "question": "What is the alphabetically ordered list of all the distinct names of nurses?",
        "question_toks": [
            "What",
            "is",
            "the",
            "alphabetically",
            "ordered",
            "list",
            "of",
            "all",
            "the",
            "distinct",
            "names",
            "of",
            "nurses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN nurse AS T2 ON T1.AssistingNurse  =  T2.EmployeeID",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            "FROM",
            "undergoes",
            "AS",
            "T1",
            "JOIN",
            "nurse",
            "AS",
            "T2",
            "ON",
            "T1.AssistingNurse",
            "=",
            "T2.EmployeeID"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "undergoes",
            "as",
            "t1",
            "join",
            "nurse",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "assistingnurse",
            "=",
            "t2",
            ".",
            "employeeid"
        ],
        "question": "Find the names of nurses who are nursing an undergoing treatment.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "nurses",
            "who",
            "are",
            "nursing",
            "an",
            "undergoing",
            "treatment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                68,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN nurse AS T2 ON T1.AssistingNurse  =  T2.EmployeeID",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            "FROM",
            "undergoes",
            "AS",
            "T1",
            "JOIN",
            "nurse",
            "AS",
            "T2",
            "ON",
            "T1.AssistingNurse",
            "=",
            "T2.EmployeeID"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "undergoes",
            "as",
            "t1",
            "join",
            "nurse",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "assistingnurse",
            "=",
            "t2",
            ".",
            "employeeid"
        ],
        "question": "Which nurses are in charge of patients undergoing treatments?",
        "question_toks": [
            "Which",
            "nurses",
            "are",
            "in",
            "charge",
            "of",
            "patients",
            "undergoing",
            "treatments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                68,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT name FROM medication ORDER BY name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "medication",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "medication",
            "order",
            "by",
            "name"
        ],
        "question": "List the names of all distinct medications, ordered in an alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "medications",
            ",",
            "ordered",
            "in",
            "an",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT name FROM medication ORDER BY name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "name",
            "FROM",
            "medication",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "medication",
            "order",
            "by",
            "name"
        ],
        "question": "What is the alphabetically ordered list of all distinct medications?",
        "question_toks": [
            "What",
            "is",
            "the",
            "alphabetically",
            "ordered",
            "list",
            "of",
            "all",
            "distinct",
            "medications",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician ORDER BY T2.dose DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "ORDER",
            "BY",
            "T2.dose",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "order",
            "by",
            "t2",
            ".",
            "dose",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the physician who prescribed the highest dose?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "physician",
            "who",
            "prescribed",
            "the",
            "highest",
            "dose",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician ORDER BY T2.dose DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "prescribes",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "ORDER",
            "BY",
            "T2.dose",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "order",
            "by",
            "t2",
            ".",
            "dose",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the physician who prescribed the highest dose. What is his or her name?",
        "question_toks": [
            "Find",
            "the",
            "physician",
            "who",
            "prescribed",
            "the",
            "highest",
            "dose",
            ".",
            "What",
            "is",
            "his",
            "or",
            "her",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT physician ,  department FROM affiliated_with WHERE primaryaffiliation  =  1",
        "query_toks": [
            "SELECT",
            "physician",
            ",",
            "department",
            "FROM",
            "affiliated_with",
            "WHERE",
            "primaryaffiliation",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "physician",
            ",",
            "department",
            "from",
            "affiliated_with",
            "where",
            "primaryaffiliation",
            "=",
            "value"
        ],
        "question": "List the physicians' employee ids together with their primary affiliation departments' ids.",
        "question_toks": [
            "List",
            "the",
            "physicians",
            "'",
            "employee",
            "ids",
            "together",
            "with",
            "their",
            "primary",
            "affiliation",
            "departments",
            "'",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT physician ,  department FROM affiliated_with WHERE primaryaffiliation  =  1",
        "query_toks": [
            "SELECT",
            "physician",
            ",",
            "department",
            "FROM",
            "affiliated_with",
            "WHERE",
            "primaryaffiliation",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "physician",
            ",",
            "department",
            "from",
            "affiliated_with",
            "where",
            "primaryaffiliation",
            "=",
            "value"
        ],
        "question": "What are each physician's employee id and department id primarily affiliated.",
        "question_toks": [
            "What",
            "are",
            "each",
            "physician",
            "'s",
            "employee",
            "id",
            "and",
            "department",
            "id",
            "primarily",
            "affiliated",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T2.name FROM affiliated_with AS T1 JOIN department AS T2 ON T1.department = T2.departmentid WHERE PrimaryAffiliation  =  1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            "FROM",
            "affiliated_with",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.department",
            "=",
            "T2.departmentid",
            "WHERE",
            "PrimaryAffiliation",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "affiliated_with",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department",
            "=",
            "t2",
            ".",
            "departmentid",
            "where",
            "primaryaffiliation",
            "=",
            "value"
        ],
        "question": "List the names of departments where some physicians are primarily affiliated with.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "departments",
            "where",
            "some",
            "physicians",
            "are",
            "primarily",
            "affiliated",
            "with",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T2.name FROM affiliated_with AS T1 JOIN department AS T2 ON T1.department = T2.departmentid WHERE PrimaryAffiliation  =  1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            "FROM",
            "affiliated_with",
            "AS",
            "T1",
            "JOIN",
            "department",
            "AS",
            "T2",
            "ON",
            "T1.department",
            "=",
            "T2.departmentid",
            "WHERE",
            "PrimaryAffiliation",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "affiliated_with",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "department",
            "=",
            "t2",
            ".",
            "departmentid",
            "where",
            "primaryaffiliation",
            "=",
            "value"
        ],
        "question": "What are the names of departments that have primarily affiliated physicians.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "departments",
            "that",
            "have",
            "primarily",
            "affiliated",
            "physicians",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT nurse FROM on_call WHERE blockfloor  =  1 AND blockcode  =  1",
        "query_toks": [
            "SELECT",
            "nurse",
            "FROM",
            "on_call",
            "WHERE",
            "blockfloor",
            "=",
            "1",
            "AND",
            "blockcode",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nurse",
            "from",
            "on_call",
            "where",
            "blockfloor",
            "=",
            "value",
            "and",
            "blockcode",
            "=",
            "value"
        ],
        "question": "What nurses are on call with block floor 1 and block code 1? Tell me their names.",
        "question_toks": [
            "What",
            "nurses",
            "are",
            "on",
            "call",
            "with",
            "block",
            "floor",
            "1",
            "and",
            "block",
            "code",
            "1",
            "?",
            "Tell",
            "me",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                53,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            54,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT nurse FROM on_call WHERE blockfloor  =  1 AND blockcode  =  1",
        "query_toks": [
            "SELECT",
            "nurse",
            "FROM",
            "on_call",
            "WHERE",
            "blockfloor",
            "=",
            "1",
            "AND",
            "blockcode",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nurse",
            "from",
            "on_call",
            "where",
            "blockfloor",
            "=",
            "value",
            "and",
            "blockcode",
            "=",
            "value"
        ],
        "question": "Find the ids of the nurses who are on call in block floor 1 and block code 1.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "the",
            "nurses",
            "who",
            "are",
            "on",
            "call",
            "in",
            "block",
            "floor",
            "1",
            "and",
            "block",
            "code",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                53,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            54,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT MAX(cost) ,  MIN(cost) ,  AVG(cost) FROM procedures",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "cost",
            ")",
            ",",
            "MIN",
            "(",
            "cost",
            ")",
            ",",
            "AVG",
            "(",
            "cost",
            ")",
            "FROM",
            "procedures"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "cost",
            ")",
            ",",
            "min",
            "(",
            "cost",
            ")",
            ",",
            "avg",
            "(",
            "cost",
            ")",
            "from",
            "procedures"
        ],
        "question": "What are the highest cost, lowest cost and average cost of procedures?",
        "question_toks": [
            "What",
            "are",
            "the",
            "highest",
            "cost",
            ",",
            "lowest",
            "cost",
            "and",
            "average",
            "cost",
            "of",
            "procedures",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT MAX(cost) ,  MIN(cost) ,  AVG(cost) FROM procedures",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "cost",
            ")",
            ",",
            "MIN",
            "(",
            "cost",
            ")",
            ",",
            "AVG",
            "(",
            "cost",
            ")",
            "FROM",
            "procedures"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "cost",
            ")",
            ",",
            "min",
            "(",
            "cost",
            ")",
            ",",
            "avg",
            "(",
            "cost",
            ")",
            "from",
            "procedures"
        ],
        "question": "Tell me the highest, lowest, and average cost of procedures.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "highest",
            ",",
            "lowest",
            ",",
            "and",
            "average",
            "cost",
            "of",
            "procedures",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name ,  cost FROM procedures ORDER BY cost DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "cost",
            "FROM",
            "procedures",
            "ORDER",
            "BY",
            "cost",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "cost",
            "from",
            "procedures",
            "order",
            "by",
            "cost",
            "desc"
        ],
        "question": "List the name and cost of all procedures sorted by the cost from the highest to the lowest.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "cost",
            "of",
            "all",
            "procedures",
            "sorted",
            "by",
            "the",
            "cost",
            "from",
            "the",
            "highest",
            "to",
            "the",
            "lowest",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name ,  cost FROM procedures ORDER BY cost DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "cost",
            "FROM",
            "procedures",
            "ORDER",
            "BY",
            "cost",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "cost",
            "from",
            "procedures",
            "order",
            "by",
            "cost",
            "desc"
        ],
        "question": "Sort the list of names and costs of all procedures in the descending order of cost.",
        "question_toks": [
            "Sort",
            "the",
            "list",
            "of",
            "names",
            "and",
            "costs",
            "of",
            "all",
            "procedures",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "cost",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM procedures ORDER BY cost LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "procedures",
            "ORDER",
            "BY",
            "cost",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "procedures",
            "order",
            "by",
            "cost",
            "limit",
            "value"
        ],
        "question": "Find the three most expensive procedures.",
        "question_toks": [
            "Find",
            "the",
            "three",
            "most",
            "expensive",
            "procedures",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM procedures ORDER BY cost LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "procedures",
            "ORDER",
            "BY",
            "cost",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "procedures",
            "order",
            "by",
            "cost",
            "limit",
            "value"
        ],
        "question": "What are the three most costly procedures?",
        "question_toks": [
            "What",
            "are",
            "the",
            "three",
            "most",
            "costly",
            "procedures",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T3.cost  >  5000",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T3.cost",
            ">",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t3",
            ".",
            "cost",
            ">",
            "value"
        ],
        "question": "Find the physicians who are trained in a procedure that costs more than 5000.",
        "question_toks": [
            "Find",
            "the",
            "physicians",
            "who",
            "are",
            "trained",
            "in",
            "a",
            "procedure",
            "that",
            "costs",
            "more",
            "than",
            "5000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T3.cost  >  5000",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T3.cost",
            ">",
            "5000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t3",
            ".",
            "cost",
            ">",
            "value"
        ],
        "question": "Which physicians are trained in procedures that are more expensive than 5000?",
        "question_toks": [
            "Which",
            "physicians",
            "are",
            "trained",
            "in",
            "procedures",
            "that",
            "are",
            "more",
            "expensive",
            "than",
            "5000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment ORDER BY T3.cost DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "ORDER",
            "BY",
            "T3.cost",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "order",
            "by",
            "t3",
            ".",
            "cost",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the physician who was trained in the most expensive procedure?",
        "question_toks": [
            "Find",
            "the",
            "physician",
            "who",
            "was",
            "trained",
            "in",
            "the",
            "most",
            "expensive",
            "procedure",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment ORDER BY T3.cost DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "ORDER",
            "BY",
            "T3.cost",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "order",
            "by",
            "t3",
            ".",
            "cost",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which physician was trained in the procedure that costs the most.",
        "question_toks": [
            "Which",
            "physician",
            "was",
            "trained",
            "in",
            "the",
            "procedure",
            "that",
            "costs",
            "the",
            "most",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT avg(T3.cost) FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T3.cost",
            ")",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "cost",
            ")",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the average cost of procedures that physician John Wen was trained in?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "cost",
            "of",
            "procedures",
            "that",
            "physician",
            "John",
            "Wen",
            "was",
            "trained",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"John Wen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT avg(T3.cost) FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T3.cost",
            ")",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "cost",
            ")",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Compute the mean price of procedures physician John Wen was trained in.",
        "question_toks": [
            "Compute",
            "the",
            "mean",
            "price",
            "of",
            "procedures",
            "physician",
            "John",
            "Wen",
            "was",
            "trained",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"John Wen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the names of procedures which physician John Wen was trained in.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "procedures",
            "which",
            "physician",
            "John",
            "Wen",
            "was",
            "trained",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"John Wen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of procedures physician John Wen was trained in?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "procedures",
            "physician",
            "John",
            "Wen",
            "was",
            "trained",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"John Wen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM procedures WHERE cost  >  1000 UNION SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "procedures",
            "WHERE",
            "cost",
            ">",
            "1000",
            "UNION",
            "SELECT",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "procedures",
            "where",
            "cost",
            ">",
            "value",
            "union",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all procedures which cost more than 1000 or which physician John Wen was trained in.",
        "question_toks": [
            "Find",
            "all",
            "procedures",
            "which",
            "cost",
            "more",
            "than",
            "1000",
            "or",
            "which",
            "physician",
            "John",
            "Wen",
            "was",
            "trained",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"John Wen\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM procedures WHERE cost  >  1000 UNION SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "procedures",
            "WHERE",
            "cost",
            ">",
            "1000",
            "UNION",
            "SELECT",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "procedures",
            "where",
            "cost",
            ">",
            "value",
            "union",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the procedures that cost more than 1000 or are specialized in by physician John Wen?",
        "question_toks": [
            "What",
            "are",
            "the",
            "procedures",
            "that",
            "cost",
            "more",
            "than",
            "1000",
            "or",
            "are",
            "specialized",
            "in",
            "by",
            "physician",
            "John",
            "Wen",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"John Wen\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM procedures WHERE cost  >  1000 EXCEPT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "procedures",
            "WHERE",
            "cost",
            ">",
            "1000",
            "EXCEPT",
            "SELECT",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "procedures",
            "where",
            "cost",
            ">",
            "value",
            "except",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the names of all procedures which cost more than 1000 but which physician John Wen was not trained in?",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "procedures",
            "which",
            "cost",
            "more",
            "than",
            "1000",
            "but",
            "which",
            "physician",
            "John",
            "Wen",
            "was",
            "not",
            "trained",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"John Wen\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM procedures WHERE cost  >  1000 EXCEPT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "procedures",
            "WHERE",
            "cost",
            ">",
            "1000",
            "EXCEPT",
            "SELECT",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "procedures",
            "where",
            "cost",
            ">",
            "value",
            "except",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Among the procedures that cost more than 1000, which were not specialized in by physician John Wen?",
        "question_toks": [
            "Among",
            "the",
            "procedures",
            "that",
            "cost",
            "more",
            "than",
            "1000",
            ",",
            "which",
            "were",
            "not",
            "specialized",
            "in",
            "by",
            "physician",
            "John",
            "Wen",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"John Wen\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM procedures WHERE cost  <  5000 INTERSECT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "procedures",
            "WHERE",
            "cost",
            "<",
            "5000",
            "INTERSECT",
            "SELECT",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "procedures",
            "where",
            "cost",
            "<",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the names of all procedures such that the cost is less than 5000 and physician John Wen was trained in.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "procedures",
            "such",
            "that",
            "the",
            "cost",
            "is",
            "less",
            "than",
            "5000",
            "and",
            "physician",
            "John",
            "Wen",
            "was",
            "trained",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"John Wen\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM procedures WHERE cost  <  5000 INTERSECT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid  =  T2.physician JOIN procedures AS T3 ON T3.code  =  T2.treatment WHERE T1.name  =  \"John Wen\"",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "procedures",
            "WHERE",
            "cost",
            "<",
            "5000",
            "INTERSECT",
            "SELECT",
            "T3.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "trained_in",
            "AS",
            "T2",
            "ON",
            "T1.employeeid",
            "=",
            "T2.physician",
            "JOIN",
            "procedures",
            "AS",
            "T3",
            "ON",
            "T3.code",
            "=",
            "T2.treatment",
            "WHERE",
            "T1.name",
            "=",
            "``",
            "John",
            "Wen",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "procedures",
            "where",
            "cost",
            "<",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "trained_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "procedures",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "treatment",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What procedures cost less than 5000 and have John Wen as a trained physician?",
        "question_toks": [
            "What",
            "procedures",
            "cost",
            "less",
            "than",
            "5000",
            "and",
            "have",
            "John",
            "Wen",
            "as",
            "a",
            "trained",
            "physician",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"John Wen\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID  =  T2.physician JOIN department AS T3 ON T2.department  =  T3.DepartmentID WHERE T3.name  =  'Surgery' INTERSECT SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID  =  T2.physician JOIN department AS T3 ON T2.department  =  T3.DepartmentID WHERE T3.name  =  'Psychiatry'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "affiliated_with",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.physician",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.department",
            "=",
            "T3.DepartmentID",
            "WHERE",
            "T3.name",
            "=",
            "'Surgery",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "affiliated_with",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.physician",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.department",
            "=",
            "T3.DepartmentID",
            "WHERE",
            "T3.name",
            "=",
            "'Psychiatry",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "affiliated_with",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "department",
            "=",
            "t3",
            ".",
            "departmentid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "affiliated_with",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "department",
            "=",
            "t3",
            ".",
            "departmentid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the name of physicians who are affiliated with both Surgery and Psychiatry departments.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "physicians",
            "who",
            "are",
            "affiliated",
            "with",
            "both",
            "Surgery",
            "and",
            "Psychiatry",
            "departments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Surgery\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"Psychiatry\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID  =  T2.physician JOIN department AS T3 ON T2.department  =  T3.DepartmentID WHERE T3.name  =  'Surgery' INTERSECT SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID  =  T2.physician JOIN department AS T3 ON T2.department  =  T3.DepartmentID WHERE T3.name  =  'Psychiatry'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "affiliated_with",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.physician",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.department",
            "=",
            "T3.DepartmentID",
            "WHERE",
            "T3.name",
            "=",
            "'Surgery",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "affiliated_with",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.physician",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.department",
            "=",
            "T3.DepartmentID",
            "WHERE",
            "T3.name",
            "=",
            "'Psychiatry",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "affiliated_with",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "department",
            "=",
            "t3",
            ".",
            "departmentid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "affiliated_with",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "department",
            "=",
            "t3",
            ".",
            "departmentid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Which physicians are affiliated with both Surgery and Psychiatry departments? Tell me their names.",
        "question_toks": [
            "Which",
            "physicians",
            "are",
            "affiliated",
            "with",
            "both",
            "Surgery",
            "and",
            "Psychiatry",
            "departments",
            "?",
            "Tell",
            "me",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Surgery\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"Psychiatry\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID  =  T2.physician JOIN department AS T3 ON T2.department  =  T3.DepartmentID WHERE T3.name  =  'Surgery' OR T3.name  =  'Psychiatry'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "affiliated_with",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.physician",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.department",
            "=",
            "T3.DepartmentID",
            "WHERE",
            "T3.name",
            "=",
            "'Surgery",
            "'",
            "OR",
            "T3.name",
            "=",
            "'Psychiatry",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "affiliated_with",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "department",
            "=",
            "t3",
            ".",
            "departmentid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the name of physicians who are affiliated with Surgery or Psychiatry department.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "physicians",
            "who",
            "are",
            "affiliated",
            "with",
            "Surgery",
            "or",
            "Psychiatry",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Surgery\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Psychiatry\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID  =  T2.physician JOIN department AS T3 ON T2.department  =  T3.DepartmentID WHERE T3.name  =  'Surgery' OR T3.name  =  'Psychiatry'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "physician",
            "AS",
            "T1",
            "JOIN",
            "affiliated_with",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.physician",
            "JOIN",
            "department",
            "AS",
            "T3",
            "ON",
            "T2.department",
            "=",
            "T3.DepartmentID",
            "WHERE",
            "T3.name",
            "=",
            "'Surgery",
            "'",
            "OR",
            "T3.name",
            "=",
            "'Psychiatry",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "physician",
            "as",
            "t1",
            "join",
            "affiliated_with",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "physician",
            "join",
            "department",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "department",
            "=",
            "t3",
            ".",
            "departmentid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Which physicians are affiliated with either Surgery or Psychiatry department? Give me their names.",
        "question_toks": [
            "Which",
            "physicians",
            "are",
            "affiliated",
            "with",
            "either",
            "Surgery",
            "or",
            "Psychiatry",
            "department",
            "?",
            "Give",
            "me",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Surgery\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Psychiatry\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM patient EXCEPT SELECT T1.name FROM patient AS T1 JOIN Prescribes AS T2 ON T2.Patient  =  T1.SSN JOIN Medication AS T3 ON T2.Medication  =  T3.Code WHERE T3.name  =  'Procrastin-X'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "patient",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "patient",
            "AS",
            "T1",
            "JOIN",
            "Prescribes",
            "AS",
            "T2",
            "ON",
            "T2.Patient",
            "=",
            "T1.SSN",
            "JOIN",
            "Medication",
            "AS",
            "T3",
            "ON",
            "T2.Medication",
            "=",
            "T3.Code",
            "WHERE",
            "T3.name",
            "=",
            "'Procrastin-X",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "patient",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "patient",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "patient",
            "=",
            "t1",
            ".",
            "ssn",
            "join",
            "medication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "medication",
            "=",
            "t3",
            ".",
            "code",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the names of patients who are not using the medication of Procrastin-X.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "patients",
            "who",
            "are",
            "not",
            "using",
            "the",
            "medication",
            "of",
            "Procrastin-X",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            9
                        ],
                        [
                            "table_unit",
                            8
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    41,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    42,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        "\"Procrastin-X\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT name FROM patient EXCEPT SELECT T1.name FROM patient AS T1 JOIN Prescribes AS T2 ON T2.Patient  =  T1.SSN JOIN Medication AS T3 ON T2.Medication  =  T3.Code WHERE T3.name  =  'Procrastin-X'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "patient",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "patient",
            "AS",
            "T1",
            "JOIN",
            "Prescribes",
            "AS",
            "T2",
            "ON",
            "T2.Patient",
            "=",
            "T1.SSN",
            "JOIN",
            "Medication",
            "AS",
            "T3",
            "ON",
            "T2.Medication",
            "=",
            "T3.Code",
            "WHERE",
            "T3.name",
            "=",
            "'Procrastin-X",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "patient",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "patient",
            "as",
            "t1",
            "join",
            "prescribes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "patient",
            "=",
            "t1",
            ".",
            "ssn",
            "join",
            "medication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "medication",
            "=",
            "t3",
            ".",
            "code",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of patients who are not taking the medication of Procrastin-X.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "patients",
            "who",
            "are",
            "not",
            "taking",
            "the",
            "medication",
            "of",
            "Procrastin-X",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            9
                        ],
                        [
                            "table_unit",
                            8
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    41,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    42,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        "\"Procrastin-X\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) FROM patient WHERE SSN NOT IN ( SELECT T1.patient FROM Prescribes AS T1 JOIN Medication AS T2 ON T1.Medication  =  T2.Code WHERE T2.name  =  'Procrastin-X' )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "patient",
            "WHERE",
            "SSN",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.patient",
            "FROM",
            "Prescribes",
            "AS",
            "T1",
            "JOIN",
            "Medication",
            "AS",
            "T2",
            "ON",
            "T1.Medication",
            "=",
            "T2.Code",
            "WHERE",
            "T2.name",
            "=",
            "'Procrastin-X",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "patient",
            "where",
            "ssn",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "patient",
            "from",
            "prescribes",
            "as",
            "t1",
            "join",
            "medication",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "medication",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "Find the number of patients who are not using the medication of Procrastin-X.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "patients",
            "who",
            "are",
            "not",
            "using",
            "the",
            "medication",
            "of",
            "Procrastin-X",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    9
                                ],
                                [
                                    "table_unit",
                                    8
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            42,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        36,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            41,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        37,
                                        false
                                    ],
                                    null
                                ],
                                "\"Procrastin-X\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) FROM patient WHERE SSN NOT IN ( SELECT T1.patient FROM Prescribes AS T1 JOIN Medication AS T2 ON T1.Medication  =  T2.Code WHERE T2.name  =  'Procrastin-X' )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "patient",
            "WHERE",
            "SSN",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.patient",
            "FROM",
            "Prescribes",
            "AS",
            "T1",
            "JOIN",
            "Medication",
            "AS",
            "T2",
            "ON",
            "T1.Medication",
            "=",
            "T2.Code",
            "WHERE",
            "T2.name",
            "=",
            "'Procrastin-X",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "patient",
            "where",
            "ssn",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "patient",
            "from",
            "prescribes",
            "as",
            "t1",
            "join",
            "medication",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "medication",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "How many patients are not using Procrastin-X as medication?",
        "question_toks": [
            "How",
            "many",
            "patients",
            "are",
            "not",
            "using",
            "Procrastin-X",
            "as",
            "medication",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    9
                                ],
                                [
                                    "table_unit",
                                    8
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            42,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        36,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            41,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        37,
                                        false
                                    ],
                                    null
                                ],
                                "\"Procrastin-X\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) FROM appointment",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "appointment"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "appointment"
        ],
        "question": "How many appointments are there?",
        "question_toks": [
            "How",
            "many",
            "appointments",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT count(*) FROM appointment",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "appointment"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "appointment"
        ],
        "question": "Count how many appointments have been made in total.",
        "question_toks": [
            "Count",
            "how",
            "many",
            "appointments",
            "have",
            "been",
            "made",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T1.name FROM nurse AS T1 JOIN on_call AS T2 ON T1.EmployeeID  =  T2.nurse",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "nurse",
            "AS",
            "T1",
            "JOIN",
            "on_call",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.nurse"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "nurse",
            "as",
            "t1",
            "join",
            "on_call",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "nurse"
        ],
        "question": "Find the names of nurses who are on call.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "nurses",
            "who",
            "are",
            "on",
            "call",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "hospital_1",
        "query": "SELECT DISTINCT T1.name FROM nurse AS T1 JOIN on_call AS T2 ON T1.EmployeeID  =  T2.nurse",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "nurse",
            "AS",
            "T1",
            "JOIN",
            "on_call",
            "AS",
            "T2",
            "ON",
            "T1.EmployeeID",
            "=",
            "T2.nurse"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "nurse",
            "as",
            "t1",
            "join",
            "on_call",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "employeeid",
            "=",
            "t2",
            ".",
            "nurse"
        ],
        "question": "What are the distinct names of nurses on call?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "of",
            "nurses",
            "on",
            "call",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            53,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT count(*) FROM ship",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ship"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ship"
        ],
        "question": "How many ships are there?",
        "question_toks": [
            "How",
            "many",
            "ships",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT count(*) FROM ship",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ship"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ship"
        ],
        "question": "What is the number of ships?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "ships",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship ORDER BY Tonnage ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "ORDER",
            "BY",
            "Tonnage",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "order",
            "by",
            "tonnage",
            "asc"
        ],
        "question": "List the name of ships in ascending order of tonnage.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "ships",
            "in",
            "ascending",
            "order",
            "of",
            "tonnage",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship ORDER BY Tonnage ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "ORDER",
            "BY",
            "Tonnage",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "order",
            "by",
            "tonnage",
            "asc"
        ],
        "question": "what are the names of the ships ordered by ascending tonnage?",
        "question_toks": [
            "what",
            "are",
            "the",
            "names",
            "of",
            "the",
            "ships",
            "ordered",
            "by",
            "ascending",
            "tonnage",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE ,  Nationality FROM ship",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "Nationality",
            "FROM",
            "ship"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "nationality",
            "from",
            "ship"
        ],
        "question": "What are the type and nationality of ships?",
        "question_toks": [
            "What",
            "are",
            "the",
            "type",
            "and",
            "nationality",
            "of",
            "ships",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE ,  Nationality FROM ship",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "Nationality",
            "FROM",
            "ship"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "nationality",
            "from",
            "ship"
        ],
        "question": "What are the types and nationalities of every ship?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "and",
            "nationalities",
            "of",
            "every",
            "ship",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship WHERE Nationality != \"United States\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "WHERE",
            "Nationality",
            "!",
            "=",
            "``",
            "United",
            "States",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "where",
            "nationality",
            "!",
            "=",
            "value"
        ],
        "question": "List the name of ships whose nationality is not \"United States\".",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "ships",
            "whose",
            "nationality",
            "is",
            "not",
            "``",
            "United",
            "States",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship WHERE Nationality != \"United States\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "WHERE",
            "Nationality",
            "!",
            "=",
            "``",
            "United",
            "States",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "where",
            "nationality",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of the ships that are not from the United States?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "ships",
            "that",
            "are",
            "not",
            "from",
            "the",
            "United",
            "States",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship WHERE Nationality  =  \"United States\" OR Nationality  =  \"United Kingdom\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "WHERE",
            "Nationality",
            "=",
            "``",
            "United",
            "States",
            "''",
            "OR",
            "Nationality",
            "=",
            "``",
            "United",
            "Kingdom",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "where",
            "nationality",
            "=",
            "value",
            "or",
            "nationality",
            "=",
            "value"
        ],
        "question": "Show the name of ships whose nationality is either United States or United Kingdom.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "ships",
            "whose",
            "nationality",
            "is",
            "either",
            "United",
            "States",
            "or",
            "United",
            "Kingdom",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"United Kingdom\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship WHERE Nationality  =  \"United States\" OR Nationality  =  \"United Kingdom\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "WHERE",
            "Nationality",
            "=",
            "``",
            "United",
            "States",
            "''",
            "OR",
            "Nationality",
            "=",
            "``",
            "United",
            "Kingdom",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "where",
            "nationality",
            "=",
            "value",
            "or",
            "nationality",
            "=",
            "value"
        ],
        "question": "What are the names of the ships  that are from either the US or the UK?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "ships",
            "that",
            "are",
            "from",
            "either",
            "the",
            "US",
            "or",
            "the",
            "UK",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"United Kingdom\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship ORDER BY Tonnage DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "ORDER",
            "BY",
            "Tonnage",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "order",
            "by",
            "tonnage",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the ship with the largest tonnage?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "ship",
            "with",
            "the",
            "largest",
            "tonnage",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship ORDER BY Tonnage DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "ORDER",
            "BY",
            "Tonnage",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "order",
            "by",
            "tonnage",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the ship with the largest amount of tonnage called?",
        "question_toks": [
            "What",
            "is",
            "the",
            "ship",
            "with",
            "the",
            "largest",
            "amount",
            "of",
            "tonnage",
            "called",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE ,  COUNT(*) FROM ship GROUP BY TYPE",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "TYPE"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ship",
            "group",
            "by",
            "type"
        ],
        "question": "Show different types of ships and the number of ships of each type.",
        "question_toks": [
            "Show",
            "different",
            "types",
            "of",
            "ships",
            "and",
            "the",
            "number",
            "of",
            "ships",
            "of",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE ,  COUNT(*) FROM ship GROUP BY TYPE",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "TYPE"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ship",
            "group",
            "by",
            "type"
        ],
        "question": "For each type, how many ships are there?",
        "question_toks": [
            "For",
            "each",
            "type",
            ",",
            "how",
            "many",
            "ships",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "ship",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the most common type of ships.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "most",
            "common",
            "type",
            "of",
            "ships",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "ship",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common type of ships?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "type",
            "of",
            "ships",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Nationality FROM ship GROUP BY Nationality HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "Nationality",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "ship",
            "group",
            "by",
            "nationality",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the nations that have more than two ships.",
        "question_toks": [
            "List",
            "the",
            "nations",
            "that",
            "have",
            "more",
            "than",
            "two",
            "ships",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Nationality FROM ship GROUP BY Nationality HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Nationality",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "Nationality",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "ship",
            "group",
            "by",
            "nationality",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the nations that have more than two ships?",
        "question_toks": [
            "What",
            "are",
            "the",
            "nations",
            "that",
            "have",
            "more",
            "than",
            "two",
            "ships",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE ,  avg(Tonnage) FROM ship GROUP BY TYPE",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "avg",
            "(",
            "Tonnage",
            ")",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "TYPE"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "avg",
            "(",
            "tonnage",
            ")",
            "from",
            "ship",
            "group",
            "by",
            "type"
        ],
        "question": "Show different types of ships and the average tonnage of ships of each type.",
        "question_toks": [
            "Show",
            "different",
            "types",
            "of",
            "ships",
            "and",
            "the",
            "average",
            "tonnage",
            "of",
            "ships",
            "of",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE ,  avg(Tonnage) FROM ship GROUP BY TYPE",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "avg",
            "(",
            "Tonnage",
            ")",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "TYPE"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "avg",
            "(",
            "tonnage",
            ")",
            "from",
            "ship",
            "group",
            "by",
            "type"
        ],
        "question": "For each type, what is the average tonnage?",
        "question_toks": [
            "For",
            "each",
            "type",
            ",",
            "what",
            "is",
            "the",
            "average",
            "tonnage",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT T1.Code ,  T1.Fate ,  T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID  =  T2.Ship_ID",
        "query_toks": [
            "SELECT",
            "T1.Code",
            ",",
            "T1.Fate",
            ",",
            "T2.Name",
            "FROM",
            "mission",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.Ship_ID",
            "=",
            "T2.Ship_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "code",
            ",",
            "t1",
            ".",
            "fate",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "mission",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id"
        ],
        "question": "Show codes and fates of missions, and names of ships involved.",
        "question_toks": [
            "Show",
            "codes",
            "and",
            "fates",
            "of",
            "missions",
            ",",
            "and",
            "names",
            "of",
            "ships",
            "involved",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT T1.Code ,  T1.Fate ,  T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID  =  T2.Ship_ID",
        "query_toks": [
            "SELECT",
            "T1.Code",
            ",",
            "T1.Fate",
            ",",
            "T2.Name",
            "FROM",
            "mission",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.Ship_ID",
            "=",
            "T2.Ship_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "code",
            ",",
            "t1",
            ".",
            "fate",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "mission",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id"
        ],
        "question": "What are the mission codes, fates, and names of the ships involved?",
        "question_toks": [
            "What",
            "are",
            "the",
            "mission",
            "codes",
            ",",
            "fates",
            ",",
            "and",
            "names",
            "of",
            "the",
            "ships",
            "involved",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID  =  T2.Ship_ID WHERE T1.Launched_Year  >  1928",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "mission",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.Ship_ID",
            "=",
            "T2.Ship_ID",
            "WHERE",
            "T1.Launched_Year",
            ">",
            "1928"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "mission",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "where",
            "t1",
            ".",
            "launched_year",
            ">",
            "value"
        ],
        "question": "Show names of ships involved in a mission launched after 1928.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "ships",
            "involved",
            "in",
            "a",
            "mission",
            "launched",
            "after",
            "1928",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    1928.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID  =  T2.Ship_ID WHERE T1.Launched_Year  >  1928",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "mission",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.Ship_ID",
            "=",
            "T2.Ship_ID",
            "WHERE",
            "T1.Launched_Year",
            ">",
            "1928"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "mission",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "where",
            "t1",
            ".",
            "launched_year",
            ">",
            "value"
        ],
        "question": "What are the names of ships that were involved in a mission launched after 1928?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "ships",
            "that",
            "were",
            "involved",
            "in",
            "a",
            "mission",
            "launched",
            "after",
            "1928",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    1928.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID  =  T2.Ship_ID WHERE T2.Nationality  =  \"United States\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fate",
            "FROM",
            "mission",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.Ship_ID",
            "=",
            "T2.Ship_ID",
            "WHERE",
            "T2.Nationality",
            "=",
            "``",
            "United",
            "States",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fate",
            "from",
            "mission",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "where",
            "t2",
            ".",
            "nationality",
            "=",
            "value"
        ],
        "question": "Show the distinct fate of missions that involve ships with nationality \"United States\"",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "fate",
            "of",
            "missions",
            "that",
            "involve",
            "ships",
            "with",
            "nationality",
            "``",
            "United",
            "States",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID  =  T2.Ship_ID WHERE T2.Nationality  =  \"United States\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fate",
            "FROM",
            "mission",
            "AS",
            "T1",
            "JOIN",
            "ship",
            "AS",
            "T2",
            "ON",
            "T1.Ship_ID",
            "=",
            "T2.Ship_ID",
            "WHERE",
            "T2.Nationality",
            "=",
            "``",
            "United",
            "States",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fate",
            "from",
            "mission",
            "as",
            "t1",
            "join",
            "ship",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "where",
            "t2",
            ".",
            "nationality",
            "=",
            "value"
        ],
        "question": "What are the different fates of the mission that involved ships from the United States?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "fates",
            "of",
            "the",
            "mission",
            "that",
            "involved",
            "ships",
            "from",
            "the",
            "United",
            "States",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship WHERE Ship_ID NOT IN (SELECT Ship_ID FROM mission)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "WHERE",
            "Ship_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Ship_ID",
            "FROM",
            "mission",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "where",
            "ship_id",
            "not",
            "in",
            "(",
            "select",
            "ship_id",
            "from",
            "mission",
            ")"
        ],
        "question": "List the name of ships that are not involved in any mission",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "ships",
            "that",
            "are",
            "not",
            "involved",
            "in",
            "any",
            "mission"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT Name FROM ship WHERE Ship_ID NOT IN (SELECT Ship_ID FROM mission)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "ship",
            "WHERE",
            "Ship_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Ship_ID",
            "FROM",
            "mission",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "where",
            "ship_id",
            "not",
            "in",
            "(",
            "select",
            "ship_id",
            "from",
            "mission",
            ")"
        ],
        "question": "What are the names of the ships that are not involved in any missions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "ships",
            "that",
            "are",
            "not",
            "involved",
            "in",
            "any",
            "missions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE FROM ship WHERE Tonnage  >  6000 INTERSECT SELECT TYPE FROM ship WHERE Tonnage  <  4000",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "WHERE",
            "Tonnage",
            ">",
            "6000",
            "INTERSECT",
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "WHERE",
            "Tonnage",
            "<",
            "4000"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "ship",
            "where",
            "tonnage",
            ">",
            "value",
            "intersect",
            "select",
            "type",
            "from",
            "ship",
            "where",
            "tonnage",
            "<",
            "value"
        ],
        "question": "Show the types of ships that have both ships with tonnage larger than 6000 and ships with tonnage smaller than 4000.",
        "question_toks": [
            "Show",
            "the",
            "types",
            "of",
            "ships",
            "that",
            "have",
            "both",
            "ships",
            "with",
            "tonnage",
            "larger",
            "than",
            "6000",
            "and",
            "ships",
            "with",
            "tonnage",
            "smaller",
            "than",
            "4000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    6000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        4000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_mission",
        "query": "SELECT TYPE FROM ship WHERE Tonnage  >  6000 INTERSECT SELECT TYPE FROM ship WHERE Tonnage  <  4000",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "WHERE",
            "Tonnage",
            ">",
            "6000",
            "INTERSECT",
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "WHERE",
            "Tonnage",
            "<",
            "4000"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "ship",
            "where",
            "tonnage",
            ">",
            "value",
            "intersect",
            "select",
            "type",
            "from",
            "ship",
            "where",
            "tonnage",
            "<",
            "value"
        ],
        "question": "What are the types of the ships that have both shiips with tonnage more than 6000 and those with tonnage less than 4000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "the",
            "ships",
            "that",
            "have",
            "both",
            "shiips",
            "with",
            "tonnage",
            "more",
            "than",
            "6000",
            "and",
            "those",
            "with",
            "tonnage",
            "less",
            "than",
            "4000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    6000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        4000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list"
        ],
        "question": "Find the number of students in total.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list"
        ],
        "question": "How many students are there?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT lastname FROM list WHERE classroom  =  111",
        "query_toks": [
            "SELECT",
            "lastname",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "111"
        ],
        "query_toks_no_value": [
            "select",
            "lastname",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Find the last names of students studying in room 111.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "students",
            "studying",
            "in",
            "room",
            "111",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    111.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT lastname FROM list WHERE classroom  =  111",
        "query_toks": [
            "SELECT",
            "lastname",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "111"
        ],
        "query_toks_no_value": [
            "select",
            "lastname",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "What are the last names of students in room 111?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "students",
            "in",
            "room",
            "111",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    111.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT firstname FROM list WHERE classroom  =  108",
        "query_toks": [
            "SELECT",
            "firstname",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "108"
        ],
        "query_toks_no_value": [
            "select",
            "firstname",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Find the first names of students studying in room 108.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "students",
            "studying",
            "in",
            "room",
            "108",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    108.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT firstname FROM list WHERE classroom  =  108",
        "query_toks": [
            "SELECT",
            "firstname",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "108"
        ],
        "query_toks_no_value": [
            "select",
            "firstname",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "What are the first names of students in room 108?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "students",
            "in",
            "room",
            "108",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    108.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT firstname FROM list WHERE classroom  =  107",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "firstname",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "107"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "firstname",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "What are the first names of students studying in room 107?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "students",
            "studying",
            "in",
            "room",
            "107",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    107.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT firstname FROM list WHERE classroom  =  107",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "firstname",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "107"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "firstname",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "List the first names of all the students in room 107.",
        "question_toks": [
            "List",
            "the",
            "first",
            "names",
            "of",
            "all",
            "the",
            "students",
            "in",
            "room",
            "107",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    107.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT classroom ,  grade FROM list",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "classroom",
            ",",
            "grade",
            "FROM",
            "list"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "classroom",
            ",",
            "grade",
            "from",
            "list"
        ],
        "question": "For each classroom report the grade that is taught in it. Report just the classroom number and the grade number.",
        "question_toks": [
            "For",
            "each",
            "classroom",
            "report",
            "the",
            "grade",
            "that",
            "is",
            "taught",
            "in",
            "it",
            ".",
            "Report",
            "just",
            "the",
            "classroom",
            "number",
            "and",
            "the",
            "grade",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT classroom ,  grade FROM list",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "classroom",
            ",",
            "grade",
            "FROM",
            "list"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "classroom",
            ",",
            "grade",
            "from",
            "list"
        ],
        "question": "What are the grade number and classroom number of each class in the list?",
        "question_toks": [
            "What",
            "are",
            "the",
            "grade",
            "number",
            "and",
            "classroom",
            "number",
            "of",
            "each",
            "class",
            "in",
            "the",
            "list",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT grade FROM list WHERE classroom  =  103",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "grade",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "103"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "grade",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Which grade is studying in classroom 103?",
        "question_toks": [
            "Which",
            "grade",
            "is",
            "studying",
            "in",
            "classroom",
            "103",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    103.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT grade FROM list WHERE classroom  =  103",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "grade",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "103"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "grade",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Find the grade taught in classroom 103.",
        "question_toks": [
            "Find",
            "the",
            "grade",
            "taught",
            "in",
            "classroom",
            "103",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    103.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT grade FROM list WHERE classroom  =  105",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "grade",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "105"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "grade",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Find the grade studying in room 105.",
        "question_toks": [
            "Find",
            "the",
            "grade",
            "studying",
            "in",
            "room",
            "105",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    105.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT grade FROM list WHERE classroom  =  105",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "grade",
            "FROM",
            "list",
            "WHERE",
            "classroom",
            "=",
            "105"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "grade",
            "from",
            "list",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Which grade is studying in room 105?",
        "question_toks": [
            "Which",
            "grade",
            "is",
            "studying",
            "in",
            "room",
            "105",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    105.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT classroom FROM list WHERE grade  =  4",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "classroom",
            "FROM",
            "list",
            "WHERE",
            "grade",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "classroom",
            "from",
            "list",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "Which classrooms are used by grade 4?",
        "question_toks": [
            "Which",
            "classrooms",
            "are",
            "used",
            "by",
            "grade",
            "4",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT classroom FROM list WHERE grade  =  4",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "classroom",
            "FROM",
            "list",
            "WHERE",
            "grade",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "classroom",
            "from",
            "list",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "Find the classrooms in which grade 4 is studying.",
        "question_toks": [
            "Find",
            "the",
            "classrooms",
            "in",
            "which",
            "grade",
            "4",
            "is",
            "studying",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT classroom FROM list WHERE grade  =  5",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "classroom",
            "FROM",
            "list",
            "WHERE",
            "grade",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "classroom",
            "from",
            "list",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "Which classrooms are used by grade 5?",
        "question_toks": [
            "Which",
            "classrooms",
            "are",
            "used",
            "by",
            "grade",
            "5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT classroom FROM list WHERE grade  =  5",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "classroom",
            "FROM",
            "list",
            "WHERE",
            "grade",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "classroom",
            "from",
            "list",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "Show me the classrooms grade 5 is using.",
        "question_toks": [
            "Show",
            "me",
            "the",
            "classrooms",
            "grade",
            "5",
            "is",
            "using",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE grade  =  5",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "grade",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "Find the last names of the teachers that teach fifth grade.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "the",
            "teachers",
            "that",
            "teach",
            "fifth",
            "grade",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE grade  =  5",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "grade",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "what are the last names of the teachers who teach grade 5?",
        "question_toks": [
            "what",
            "are",
            "the",
            "last",
            "names",
            "of",
            "the",
            "teachers",
            "who",
            "teach",
            "grade",
            "5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT T2.firstname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE grade  =  1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.firstname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "grade",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "firstname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "Find the first names of the teachers that teach first grade.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "the",
            "teachers",
            "that",
            "teach",
            "first",
            "grade",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT T2.firstname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE grade  =  1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.firstname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "grade",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "firstname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "What are the first names of the teachers who teach grade 1?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "the",
            "teachers",
            "who",
            "teach",
            "grade",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT firstname FROM teachers WHERE classroom  =  110",
        "query_toks": [
            "SELECT",
            "firstname",
            "FROM",
            "teachers",
            "WHERE",
            "classroom",
            "=",
            "110"
        ],
        "query_toks_no_value": [
            "select",
            "firstname",
            "from",
            "teachers",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Find the first names of all the teachers that teach in classroom 110.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "all",
            "the",
            "teachers",
            "that",
            "teach",
            "in",
            "classroom",
            "110",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    110.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT firstname FROM teachers WHERE classroom  =  110",
        "query_toks": [
            "SELECT",
            "firstname",
            "FROM",
            "teachers",
            "WHERE",
            "classroom",
            "=",
            "110"
        ],
        "query_toks_no_value": [
            "select",
            "firstname",
            "from",
            "teachers",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Which teachers teach in classroom 110? Give me their first names.",
        "question_toks": [
            "Which",
            "teachers",
            "teach",
            "in",
            "classroom",
            "110",
            "?",
            "Give",
            "me",
            "their",
            "first",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    110.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT lastname FROM teachers WHERE classroom  =  109",
        "query_toks": [
            "SELECT",
            "lastname",
            "FROM",
            "teachers",
            "WHERE",
            "classroom",
            "=",
            "109"
        ],
        "query_toks_no_value": [
            "select",
            "lastname",
            "from",
            "teachers",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Find the last names of teachers teaching in classroom 109.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "teachers",
            "teaching",
            "in",
            "classroom",
            "109",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    109.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT lastname FROM teachers WHERE classroom  =  109",
        "query_toks": [
            "SELECT",
            "lastname",
            "FROM",
            "teachers",
            "WHERE",
            "classroom",
            "=",
            "109"
        ],
        "query_toks_no_value": [
            "select",
            "lastname",
            "from",
            "teachers",
            "where",
            "classroom",
            "=",
            "value"
        ],
        "question": "Which teachers teach in classroom 109? Give me their last names.",
        "question_toks": [
            "Which",
            "teachers",
            "teach",
            "in",
            "classroom",
            "109",
            "?",
            "Give",
            "me",
            "their",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    109.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT firstname ,  lastname FROM teachers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "firstname",
            ",",
            "lastname",
            "FROM",
            "teachers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "firstname",
            ",",
            "lastname",
            "from",
            "teachers"
        ],
        "question": "Report the first name and last name of all the teachers.",
        "question_toks": [
            "Report",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "all",
            "the",
            "teachers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT firstname ,  lastname FROM teachers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "firstname",
            ",",
            "lastname",
            "FROM",
            "teachers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "firstname",
            ",",
            "lastname",
            "from",
            "teachers"
        ],
        "question": "What are the first name and last name of all the teachers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "all",
            "the",
            "teachers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT firstname ,  lastname FROM list",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "firstname",
            ",",
            "lastname",
            "FROM",
            "list"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "firstname",
            ",",
            "lastname",
            "from",
            "list"
        ],
        "question": "Report the first name and last name of all the students.",
        "question_toks": [
            "Report",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "all",
            "the",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT firstname ,  lastname FROM list",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "firstname",
            ",",
            "lastname",
            "FROM",
            "list"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "firstname",
            ",",
            "lastname",
            "from",
            "list"
        ],
        "question": "Show each student's first name and last name.",
        "question_toks": [
            "Show",
            "each",
            "student",
            "'s",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T1.firstname ,  T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"OTHA\" AND T2.lastname  =  \"MOYER\"",
        "query_toks": [
            "SELECT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "OTHA",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "MOYER",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find all students taught by OTHA MOYER. Output the first and last names of the students.",
        "question_toks": [
            "Find",
            "all",
            "students",
            "taught",
            "by",
            "OTHA",
            "MOYER",
            ".",
            "Output",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"OTHA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"MOYER\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T1.firstname ,  T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"OTHA\" AND T2.lastname  =  \"MOYER\"",
        "query_toks": [
            "SELECT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "OTHA",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "MOYER",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Which students study under the teacher named OTHA MOYER? Give me the first and last names of the students.",
        "question_toks": [
            "Which",
            "students",
            "study",
            "under",
            "the",
            "teacher",
            "named",
            "OTHA",
            "MOYER",
            "?",
            "Give",
            "me",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"OTHA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"MOYER\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T1.firstname ,  T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"MARROTTE\" AND T2.lastname  =  \"KIRK\"",
        "query_toks": [
            "SELECT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "MARROTTE",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "KIRK",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find all students taught by MARROTTE KIRK. Output first and last names of students.",
        "question_toks": [
            "Find",
            "all",
            "students",
            "taught",
            "by",
            "MARROTTE",
            "KIRK",
            ".",
            "Output",
            "first",
            "and",
            "last",
            "names",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"MARROTTE\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"KIRK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T1.firstname ,  T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"MARROTTE\" AND T2.lastname  =  \"KIRK\"",
        "query_toks": [
            "SELECT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "MARROTTE",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "KIRK",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Which are the first and last names of the students taught by MARROTTE KIRK?",
        "question_toks": [
            "Which",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "students",
            "taught",
            "by",
            "MARROTTE",
            "KIRK",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"MARROTTE\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"KIRK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T2.firstname ,  T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  \"EVELINA\" AND T1.lastname  =  \"BROMLEY\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.firstname",
            "=",
            "``",
            "EVELINA",
            "''",
            "AND",
            "T1.lastname",
            "=",
            "``",
            "BROMLEY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the first and last name of all the teachers that teach EVELINA BROMLEY.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "the",
            "teachers",
            "that",
            "teach",
            "EVELINA",
            "BROMLEY",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"EVELINA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"BROMLEY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T2.firstname ,  T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  \"EVELINA\" AND T1.lastname  =  \"BROMLEY\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.firstname",
            "=",
            "``",
            "EVELINA",
            "''",
            "AND",
            "T1.lastname",
            "=",
            "``",
            "BROMLEY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Which teachers teach the student named EVELINA BROMLEY? Give me the first and last name  of the teachers.",
        "question_toks": [
            "Which",
            "teachers",
            "teach",
            "the",
            "student",
            "named",
            "EVELINA",
            "BROMLEY",
            "?",
            "Give",
            "me",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "teachers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"EVELINA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"BROMLEY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  \"GELL\" AND T1.lastname  =  \"TAMI\"",
        "query_toks": [
            "SELECT",
            "T2.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.firstname",
            "=",
            "``",
            "GELL",
            "''",
            "AND",
            "T1.lastname",
            "=",
            "``",
            "TAMI",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the last names of all the teachers that teach GELL TAMI.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "all",
            "the",
            "teachers",
            "that",
            "teach",
            "GELL",
            "TAMI",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"GELL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"TAMI\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  \"GELL\" AND T1.lastname  =  \"TAMI\"",
        "query_toks": [
            "SELECT",
            "T2.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.firstname",
            "=",
            "``",
            "GELL",
            "''",
            "AND",
            "T1.lastname",
            "=",
            "``",
            "TAMI",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "What are the last names of the teachers who teach the student called GELL TAMI?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "the",
            "teachers",
            "who",
            "teach",
            "the",
            "student",
            "called",
            "GELL",
            "TAMI",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"GELL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"TAMI\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"LORIA\" AND T2.lastname  =  \"ONDERSMA\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "LORIA",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "ONDERSMA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many students does LORIA ONDERSMA teaches?",
        "question_toks": [
            "How",
            "many",
            "students",
            "does",
            "LORIA",
            "ONDERSMA",
            "teaches",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"LORIA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"ONDERSMA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"LORIA\" AND T2.lastname  =  \"ONDERSMA\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "LORIA",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "ONDERSMA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Count the number of students the teacher LORIA ONDERSMA teaches.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "students",
            "the",
            "teacher",
            "LORIA",
            "ONDERSMA",
            "teaches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"LORIA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"ONDERSMA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"KAWA\" AND T2.lastname  =  \"GORDON\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "KAWA",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "GORDON",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many students does KAWA GORDON teaches?",
        "question_toks": [
            "How",
            "many",
            "students",
            "does",
            "KAWA",
            "GORDON",
            "teaches",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"KAWA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"GORDON\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"KAWA\" AND T2.lastname  =  \"GORDON\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "KAWA",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "GORDON",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the number of students taught by the teacher KAWA GORDON.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "taught",
            "by",
            "the",
            "teacher",
            "KAWA",
            "GORDON",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"KAWA\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"GORDON\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"TARRING\" AND T2.lastname  =  \"LEIA\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "TARRING",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "LEIA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the number of students taught by TARRING LEIA.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "taught",
            "by",
            "TARRING",
            "LEIA",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"TARRING\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"LEIA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"TARRING\" AND T2.lastname  =  \"LEIA\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "TARRING",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "LEIA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many students are taught by teacher TARRING LEIA?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "taught",
            "by",
            "teacher",
            "TARRING",
            "LEIA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"TARRING\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"LEIA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  \"CHRISSY\" AND T1.lastname  =  \"NABOZNY\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.firstname",
            "=",
            "``",
            "CHRISSY",
            "''",
            "AND",
            "T1.lastname",
            "=",
            "``",
            "NABOZNY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many teachers does the student named CHRISSY NABOZNY have?",
        "question_toks": [
            "How",
            "many",
            "teachers",
            "does",
            "the",
            "student",
            "named",
            "CHRISSY",
            "NABOZNY",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CHRISSY\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"NABOZNY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  \"CHRISSY\" AND T1.lastname  =  \"NABOZNY\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.firstname",
            "=",
            "``",
            "CHRISSY",
            "''",
            "AND",
            "T1.lastname",
            "=",
            "``",
            "NABOZNY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the number of teachers who teach the student called CHRISSY NABOZNY.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "teachers",
            "who",
            "teach",
            "the",
            "student",
            "called",
            "CHRISSY",
            "NABOZNY",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CHRISSY\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"NABOZNY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  \"MADLOCK\" AND T1.lastname  =  \"RAY\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.firstname",
            "=",
            "``",
            "MADLOCK",
            "''",
            "AND",
            "T1.lastname",
            "=",
            "``",
            "RAY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many teachers does the student named MADLOCK RAY have?",
        "question_toks": [
            "How",
            "many",
            "teachers",
            "does",
            "the",
            "student",
            "named",
            "MADLOCK",
            "RAY",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"MADLOCK\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"RAY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  \"MADLOCK\" AND T1.lastname  =  \"RAY\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.firstname",
            "=",
            "``",
            "MADLOCK",
            "''",
            "AND",
            "T1.lastname",
            "=",
            "``",
            "RAY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find the number of teachers who teach the student called MADLOCK RAY.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "teachers",
            "who",
            "teach",
            "the",
            "student",
            "called",
            "MADLOCK",
            "RAY",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"MADLOCK\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"RAY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT T1.firstname ,  T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.grade  =  1 EXCEPT SELECT T1.firstname ,  T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"OTHA\" AND T2.lastname  =  \"MOYER\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.grade",
            "=",
            "1",
            "EXCEPT",
            "SELECT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "OTHA",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "MOYER",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "grade",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names.",
        "question_toks": [
            "Find",
            "all",
            "first-grade",
            "students",
            "who",
            "are",
            "NOT",
            "taught",
            "by",
            "OTHA",
            "MOYER",
            ".",
            "Report",
            "their",
            "first",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"OTHA\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"MOYER\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT T1.firstname ,  T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.grade  =  1 EXCEPT SELECT T1.firstname ,  T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T2.firstname  =  \"OTHA\" AND T2.lastname  =  \"MOYER\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.grade",
            "=",
            "1",
            "EXCEPT",
            "SELECT",
            "T1.firstname",
            ",",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "OTHA",
            "''",
            "AND",
            "T2.lastname",
            "=",
            "``",
            "MOYER",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "grade",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "firstname",
            ",",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "What are the first and last names of the first-grade students who are NOT taught by teacher OTHA MOYER?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "first-grade",
            "students",
            "who",
            "are",
            "NOT",
            "taught",
            "by",
            "teacher",
            "OTHA",
            "MOYER",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"OTHA\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"MOYER\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.grade  =  3 AND T2.firstname != \"COVIN\" AND T2.lastname != \"JEROME\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.grade",
            "=",
            "3",
            "AND",
            "T2.firstname",
            "!",
            "=",
            "``",
            "COVIN",
            "''",
            "AND",
            "T2.lastname",
            "!",
            "=",
            "``",
            "JEROME",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "grade",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "firstname",
            "!",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "!",
            "=",
            "value"
        ],
        "question": "Find the last names of the students in third grade that are not taught by COVIN JEROME.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "the",
            "students",
            "in",
            "third",
            "grade",
            "that",
            "are",
            "not",
            "taught",
            "by",
            "COVIN",
            "JEROME",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"COVIN\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"JEROME\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT DISTINCT T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.grade  =  3 AND T2.firstname != \"COVIN\" AND T2.lastname != \"JEROME\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "WHERE",
            "T1.grade",
            "=",
            "3",
            "AND",
            "T2.firstname",
            "!",
            "=",
            "``",
            "COVIN",
            "''",
            "AND",
            "T2.lastname",
            "!",
            "=",
            "``",
            "JEROME",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "where",
            "t1",
            ".",
            "grade",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "firstname",
            "!",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lastname",
            "!",
            "=",
            "value"
        ],
        "question": "Which students in third grade are not taught by teacher COVIN JEROME? Give me the last names of the students.",
        "question_toks": [
            "Which",
            "students",
            "in",
            "third",
            "grade",
            "are",
            "not",
            "taught",
            "by",
            "teacher",
            "COVIN",
            "JEROME",
            "?",
            "Give",
            "me",
            "the",
            "last",
            "names",
            "of",
            "the",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"COVIN\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"JEROME\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT grade ,  count(DISTINCT classroom) ,  count(*) FROM list GROUP BY grade",
        "query_toks": [
            "SELECT",
            "grade",
            ",",
            "count",
            "(",
            "DISTINCT",
            "classroom",
            ")",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "grade"
        ],
        "query_toks_no_value": [
            "select",
            "grade",
            ",",
            "count",
            "(",
            "distinct",
            "classroom",
            ")",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "group",
            "by",
            "grade"
        ],
        "question": "For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.",
        "question_toks": [
            "For",
            "each",
            "grade",
            ",",
            "report",
            "the",
            "grade",
            ",",
            "the",
            "number",
            "of",
            "classrooms",
            "in",
            "which",
            "it",
            "is",
            "taught",
            "and",
            "the",
            "total",
            "number",
            "of",
            "students",
            "in",
            "the",
            "grade",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT grade ,  count(DISTINCT classroom) ,  count(*) FROM list GROUP BY grade",
        "query_toks": [
            "SELECT",
            "grade",
            ",",
            "count",
            "(",
            "DISTINCT",
            "classroom",
            ")",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "grade"
        ],
        "query_toks_no_value": [
            "select",
            "grade",
            ",",
            "count",
            "(",
            "distinct",
            "classroom",
            ")",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "group",
            "by",
            "grade"
        ],
        "question": "For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.",
        "question_toks": [
            "For",
            "each",
            "grade",
            ",",
            "return",
            "the",
            "grade",
            "number",
            ",",
            "the",
            "number",
            "of",
            "classrooms",
            "used",
            "for",
            "the",
            "grade",
            ",",
            "and",
            "the",
            "total",
            "number",
            "of",
            "students",
            "enrolled",
            "in",
            "the",
            "grade",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom ,  count(DISTINCT grade) FROM list GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "classroom",
            ",",
            "count",
            "(",
            "DISTINCT",
            "grade",
            ")",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            ",",
            "count",
            "(",
            "distinct",
            "grade",
            ")",
            "from",
            "list",
            "group",
            "by",
            "classroom"
        ],
        "question": "For each classroom, report the classroom number and the number of grades using it.",
        "question_toks": [
            "For",
            "each",
            "classroom",
            ",",
            "report",
            "the",
            "classroom",
            "number",
            "and",
            "the",
            "number",
            "of",
            "grades",
            "using",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom ,  count(DISTINCT grade) FROM list GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "classroom",
            ",",
            "count",
            "(",
            "DISTINCT",
            "grade",
            ")",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            ",",
            "count",
            "(",
            "distinct",
            "grade",
            ")",
            "from",
            "list",
            "group",
            "by",
            "classroom"
        ],
        "question": "For each classroom, show the classroom number and count the number of distinct grades that use the room.",
        "question_toks": [
            "For",
            "each",
            "classroom",
            ",",
            "show",
            "the",
            "classroom",
            "number",
            "and",
            "count",
            "the",
            "number",
            "of",
            "distinct",
            "grades",
            "that",
            "use",
            "the",
            "room",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom FROM list GROUP BY classroom ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "classroom",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "classroom",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            "from",
            "list",
            "group",
            "by",
            "classroom",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which classroom has the most students?",
        "question_toks": [
            "Which",
            "classroom",
            "has",
            "the",
            "most",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom FROM list GROUP BY classroom ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "classroom",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "classroom",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            "from",
            "list",
            "group",
            "by",
            "classroom",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the classroom that the most students use.",
        "question_toks": [
            "Find",
            "the",
            "classroom",
            "that",
            "the",
            "most",
            "students",
            "use",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom ,  count(*) FROM list GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "group",
            "by",
            "classroom"
        ],
        "question": "Report the number of students in each classroom.",
        "question_toks": [
            "Report",
            "the",
            "number",
            "of",
            "students",
            "in",
            "each",
            "classroom",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom ,  count(*) FROM list GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "group",
            "by",
            "classroom"
        ],
        "question": "For each classroom, show the classroom number and find how many students are using it.",
        "question_toks": [
            "For",
            "each",
            "classroom",
            ",",
            "show",
            "the",
            "classroom",
            "number",
            "and",
            "find",
            "how",
            "many",
            "students",
            "are",
            "using",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom ,  count(*) FROM list WHERE grade  =  \"0\" GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "WHERE",
            "grade",
            "=",
            "``",
            "0",
            "''",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "where",
            "grade",
            "=",
            "value",
            "group",
            "by",
            "classroom"
        ],
        "question": "For each grade 0 classroom, report the total number of students.",
        "question_toks": [
            "For",
            "each",
            "grade",
            "0",
            "classroom",
            ",",
            "report",
            "the",
            "total",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"0\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom ,  count(*) FROM list WHERE grade  =  \"0\" GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "WHERE",
            "grade",
            "=",
            "``",
            "0",
            "''",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "where",
            "grade",
            "=",
            "value",
            "group",
            "by",
            "classroom"
        ],
        "question": "For each grade 0 classroom, return the classroom number and the count of students.",
        "question_toks": [
            "For",
            "each",
            "grade",
            "0",
            "classroom",
            ",",
            "return",
            "the",
            "classroom",
            "number",
            "and",
            "the",
            "count",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"0\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom ,  count(*) FROM list WHERE grade  =  \"4\" GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "WHERE",
            "grade",
            "=",
            "``",
            "4",
            "''",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "where",
            "grade",
            "=",
            "value",
            "group",
            "by",
            "classroom"
        ],
        "question": "Report the total number of students for each fourth-grade classroom.",
        "question_toks": [
            "Report",
            "the",
            "total",
            "number",
            "of",
            "students",
            "for",
            "each",
            "fourth-grade",
            "classroom",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"4\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT classroom ,  count(*) FROM list WHERE grade  =  \"4\" GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "list",
            "WHERE",
            "grade",
            "=",
            "``",
            "4",
            "''",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "classroom",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "list",
            "where",
            "grade",
            "=",
            "value",
            "group",
            "by",
            "classroom"
        ],
        "question": "For each fourth-grade classroom, show the classroom number and the total number of students using it.",
        "question_toks": [
            "For",
            "each",
            "fourth-grade",
            "classroom",
            ",",
            "show",
            "the",
            "classroom",
            "number",
            "and",
            "the",
            "total",
            "number",
            "of",
            "students",
            "using",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"4\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T2.firstname ,  T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom GROUP BY T2.firstname ,  T2.lastname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "GROUP",
            "BY",
            "T2.firstname",
            ",",
            "T2.lastname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "group",
            "by",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the teacher who teaches the largest number of students.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "teacher",
            "who",
            "teaches",
            "the",
            "largest",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ],
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT T2.firstname ,  T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom GROUP BY T2.firstname ,  T2.lastname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "list",
            "AS",
            "T1",
            "JOIN",
            "teachers",
            "AS",
            "T2",
            "ON",
            "T1.classroom",
            "=",
            "T2.classroom",
            "GROUP",
            "BY",
            "T2.firstname",
            ",",
            "T2.lastname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "list",
            "as",
            "t1",
            "join",
            "teachers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "classroom",
            "=",
            "t2",
            ".",
            "classroom",
            "group",
            "by",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which teacher teaches the most students? Give me the first name and last name of the teacher.",
        "question_toks": [
            "Which",
            "teacher",
            "teaches",
            "the",
            "most",
            "students",
            "?",
            "Give",
            "me",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "teacher",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ],
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) ,  classroom FROM list GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "classroom",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "classroom",
            "from",
            "list",
            "group",
            "by",
            "classroom"
        ],
        "question": "Find the number of students in one classroom.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "in",
            "one",
            "classroom",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "student_1",
        "query": "SELECT count(*) ,  classroom FROM list GROUP BY classroom",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "classroom",
            "FROM",
            "list",
            "GROUP",
            "BY",
            "classroom"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "classroom",
            "from",
            "list",
            "group",
            "by",
            "classroom"
        ],
        "question": "How many students does one classroom have?",
        "question_toks": [
            "How",
            "many",
            "students",
            "does",
            "one",
            "classroom",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT count(*) FROM company WHERE Headquarters  =  'USA'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "company",
            "WHERE",
            "Headquarters",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "company",
            "where",
            "headquarters",
            "=",
            "value"
        ],
        "question": "How many companies are headquartered in the US?",
        "question_toks": [
            "How",
            "many",
            "companies",
            "are",
            "headquartered",
            "in",
            "the",
            "US",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Name FROM company ORDER BY Sales_in_Billion ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "company",
            "ORDER",
            "BY",
            "Sales_in_Billion",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "company",
            "order",
            "by",
            "sales_in_billion",
            "asc"
        ],
        "question": "List the names of companies by ascending number of sales.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "companies",
            "by",
            "ascending",
            "number",
            "of",
            "sales",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Headquarters ,  Industry FROM company",
        "query_toks": [
            "SELECT",
            "Headquarters",
            ",",
            "Industry",
            "FROM",
            "company"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            ",",
            "industry",
            "from",
            "company"
        ],
        "question": "What are the headquarters and industries of all companies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "headquarters",
            "and",
            "industries",
            "of",
            "all",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Name FROM company WHERE Industry  =  \"Banking\" OR Industry  =  \"Retailing\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "company",
            "WHERE",
            "Industry",
            "=",
            "``",
            "Banking",
            "''",
            "OR",
            "Industry",
            "=",
            "``",
            "Retailing",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "company",
            "where",
            "industry",
            "=",
            "value",
            "or",
            "industry",
            "=",
            "value"
        ],
        "question": "Show the names of companies in the banking or retailing industry?",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "companies",
            "in",
            "the",
            "banking",
            "or",
            "retailing",
            "industry",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Retailing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT max(Market_Value_in_Billion) ,  min(Market_Value_in_Billion) FROM company",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Market_Value_in_Billion",
            ")",
            ",",
            "min",
            "(",
            "Market_Value_in_Billion",
            ")",
            "FROM",
            "company"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "market_value_in_billion",
            ")",
            ",",
            "min",
            "(",
            "market_value_in_billion",
            ")",
            "from",
            "company"
        ],
        "question": "What is the maximum and minimum market value of companies?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "and",
            "minimum",
            "market",
            "value",
            "of",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Headquarters FROM company ORDER BY Sales_in_Billion DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Headquarters",
            "FROM",
            "company",
            "ORDER",
            "BY",
            "Sales_in_Billion",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "order",
            "by",
            "sales_in_billion",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the headquarter of the company with the largest sales?",
        "question_toks": [
            "What",
            "is",
            "the",
            "headquarter",
            "of",
            "the",
            "company",
            "with",
            "the",
            "largest",
            "sales",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Headquarters ,  COUNT(*) FROM company GROUP BY Headquarters",
        "query_toks": [
            "SELECT",
            "Headquarters",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "Headquarters"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "company",
            "group",
            "by",
            "headquarters"
        ],
        "question": "Show the different headquarters and number of companies at each headquarter.",
        "question_toks": [
            "Show",
            "the",
            "different",
            "headquarters",
            "and",
            "number",
            "of",
            "companies",
            "at",
            "each",
            "headquarter",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Headquarters FROM company GROUP BY Headquarters ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Headquarters",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "Headquarters",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "group",
            "by",
            "headquarters",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common headquarter for companies.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "headquarter",
            "for",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Headquarters FROM company GROUP BY Headquarters HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Headquarters",
            "FROM",
            "company",
            "GROUP",
            "BY",
            "Headquarters",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "group",
            "by",
            "headquarters",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the headquarters that have at least two companies.",
        "question_toks": [
            "Show",
            "the",
            "headquarters",
            "that",
            "have",
            "at",
            "least",
            "two",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Headquarters FROM company WHERE Industry  =  \"Banking\" INTERSECT SELECT Headquarters FROM company WHERE Industry  =  \"Oil and gas\"",
        "query_toks": [
            "SELECT",
            "Headquarters",
            "FROM",
            "company",
            "WHERE",
            "Industry",
            "=",
            "``",
            "Banking",
            "''",
            "INTERSECT",
            "SELECT",
            "Headquarters",
            "FROM",
            "company",
            "WHERE",
            "Industry",
            "=",
            "``",
            "Oil",
            "and",
            "gas",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "industry",
            "=",
            "value",
            "intersect",
            "select",
            "headquarters",
            "from",
            "company",
            "where",
            "industry",
            "=",
            "value"
        ],
        "question": "Show the headquarters that have both companies in banking industry and companies in oil and gas industry.",
        "question_toks": [
            "Show",
            "the",
            "headquarters",
            "that",
            "have",
            "both",
            "companies",
            "in",
            "banking",
            "industry",
            "and",
            "companies",
            "in",
            "oil",
            "and",
            "gas",
            "industry",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Oil and gas\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT T3.Name ,  T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID JOIN company AS T3 ON T1.Company_ID  =  T3.Company_ID",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.Name",
            "FROM",
            "employment",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "JOIN",
            "company",
            "AS",
            "T3",
            "ON",
            "T1.Company_ID",
            "=",
            "T3.Company_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "employment",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "join",
            "company",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "company_id"
        ],
        "question": "Show the names of companies and of employees.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "companies",
            "and",
            "of",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT T3.Name ,  T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID JOIN company AS T3 ON T1.Company_ID  =  T3.Company_ID ORDER BY T1.Year_working",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "T2.Name",
            "FROM",
            "employment",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "JOIN",
            "company",
            "AS",
            "T3",
            "ON",
            "T1.Company_ID",
            "=",
            "T3.Company_ID",
            "ORDER",
            "BY",
            "T1.Year_working"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "employment",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "join",
            "company",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "company_id",
            "order",
            "by",
            "t1",
            ".",
            "year_working"
        ],
        "question": "Show names of companies and that of employees in descending order of number of years working for that employee.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "companies",
            "and",
            "that",
            "of",
            "employees",
            "in",
            "descending",
            "order",
            "of",
            "number",
            "of",
            "years",
            "working",
            "for",
            "that",
            "employee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID JOIN company AS T3 ON T1.Company_ID  =  T3.Company_ID WHERE T3.Sales_in_Billion  >  200",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "employment",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "JOIN",
            "company",
            "AS",
            "T3",
            "ON",
            "T1.Company_ID",
            "=",
            "T3.Company_ID",
            "WHERE",
            "T3.Sales_in_Billion",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "employment",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "join",
            "company",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "company_id",
            "where",
            "t3",
            ".",
            "sales_in_billion",
            ">",
            "value"
        ],
        "question": "Show the names of employees that work for companies with sales bigger than 200.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "employees",
            "that",
            "work",
            "for",
            "companies",
            "with",
            "sales",
            "bigger",
            "than",
            "200",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT T3.Name ,  COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.People_ID  =  T2.People_ID JOIN company AS T3 ON T1.Company_ID  =  T3.Company_ID GROUP BY T3.Name",
        "query_toks": [
            "SELECT",
            "T3.Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "employment",
            "AS",
            "T1",
            "JOIN",
            "people",
            "AS",
            "T2",
            "ON",
            "T1.People_ID",
            "=",
            "T2.People_ID",
            "JOIN",
            "company",
            "AS",
            "T3",
            "ON",
            "T1.Company_ID",
            "=",
            "T3.Company_ID",
            "GROUP",
            "BY",
            "T3.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employment",
            "as",
            "t1",
            "join",
            "people",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "people_id",
            "=",
            "t2",
            ".",
            "people_id",
            "join",
            "company",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "company_id",
            "group",
            "by",
            "t3",
            ".",
            "name"
        ],
        "question": "Show the names of companies and the number of employees they have",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "companies",
            "and",
            "the",
            "number",
            "of",
            "employees",
            "they",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM employment)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "people",
            "WHERE",
            "People_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "People_ID",
            "FROM",
            "employment",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "people",
            "where",
            "people_id",
            "not",
            "in",
            "(",
            "select",
            "people_id",
            "from",
            "employment",
            ")"
        ],
        "question": "List the names of people that are not employed by any company",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "people",
            "that",
            "are",
            "not",
            "employed",
            "by",
            "any",
            "company"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_employee",
        "query": "SELECT name FROM company WHERE Sales_in_Billion  >  200 ORDER BY Sales_in_Billion ,  Profits_in_Billion DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "company",
            "WHERE",
            "Sales_in_Billion",
            ">",
            "200",
            "ORDER",
            "BY",
            "Sales_in_Billion",
            ",",
            "Profits_in_Billion",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "company",
            "where",
            "sales_in_billion",
            ">",
            "value",
            "order",
            "by",
            "sales_in_billion",
            ",",
            "profits_in_billion",
            "desc"
        ],
        "question": "list the names of the companies with more than 200 sales in the descending order of sales and profits.",
        "question_toks": [
            "list",
            "the",
            "names",
            "of",
            "the",
            "companies",
            "with",
            "more",
            "than",
            "200",
            "sales",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "sales",
            "and",
            "profits",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT count(*) FROM film",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film"
        ],
        "question": "How many film are there?",
        "question_toks": [
            "How",
            "many",
            "film",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT count(*) FROM film",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film"
        ],
        "question": "Count the number of films.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "films",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT DISTINCT Director FROM film",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Director",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "director",
            "from",
            "film"
        ],
        "question": "List the distinct director of all films.",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "director",
            "of",
            "all",
            "films",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT DISTINCT Director FROM film",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Director",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "director",
            "from",
            "film"
        ],
        "question": "What are the different film Directors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "film",
            "Directors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT avg(Gross_in_dollar) FROM film",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Gross_in_dollar",
            ")",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "gross_in_dollar",
            ")",
            "from",
            "film"
        ],
        "question": "What is the average ticket sales gross in dollars of films?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "ticket",
            "sales",
            "gross",
            "in",
            "dollars",
            "of",
            "films",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT avg(Gross_in_dollar) FROM film",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Gross_in_dollar",
            ")",
            "FROM",
            "film"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "gross_in_dollar",
            ")",
            "from",
            "film"
        ],
        "question": "Return the average gross sales in dollars across all films.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "gross",
            "sales",
            "in",
            "dollars",
            "across",
            "all",
            "films",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Low_Estimate ,  High_Estimate FROM film_market_estimation",
        "query_toks": [
            "SELECT",
            "Low_Estimate",
            ",",
            "High_Estimate",
            "FROM",
            "film_market_estimation"
        ],
        "query_toks_no_value": [
            "select",
            "low_estimate",
            ",",
            "high_estimate",
            "from",
            "film_market_estimation"
        ],
        "question": "What are the low and high estimates of film markets?",
        "question_toks": [
            "What",
            "are",
            "the",
            "low",
            "and",
            "high",
            "estimates",
            "of",
            "film",
            "markets",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Low_Estimate ,  High_Estimate FROM film_market_estimation",
        "query_toks": [
            "SELECT",
            "Low_Estimate",
            ",",
            "High_Estimate",
            "FROM",
            "film_market_estimation"
        ],
        "query_toks_no_value": [
            "select",
            "low_estimate",
            ",",
            "high_estimate",
            "from",
            "film_market_estimation"
        ],
        "question": "Return the low and high estimates for all film markets.",
        "question_toks": [
            "Return",
            "the",
            "low",
            "and",
            "high",
            "estimates",
            "for",
            "all",
            "film",
            "markets",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT TYPE FROM film_market_estimation WHERE YEAR  =  1995",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "film_market_estimation",
            "WHERE",
            "YEAR",
            "=",
            "1995"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "film_market_estimation",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are the types of film market estimations in year 1995?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "film",
            "market",
            "estimations",
            "in",
            "year",
            "1995",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1995.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT TYPE FROM film_market_estimation WHERE YEAR  =  1995",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "film_market_estimation",
            "WHERE",
            "YEAR",
            "=",
            "1995"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "film_market_estimation",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Return the types of film market estimations in 1995.",
        "question_toks": [
            "Return",
            "the",
            "types",
            "of",
            "film",
            "market",
            "estimations",
            "in",
            "1995",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1995.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT max(Number_cities) ,  min(Number_cities) FROM market",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Number_cities",
            ")",
            ",",
            "min",
            "(",
            "Number_cities",
            ")",
            "FROM",
            "market"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "number_cities",
            ")",
            ",",
            "min",
            "(",
            "number_cities",
            ")",
            "from",
            "market"
        ],
        "question": "What are the maximum and minimum number of cities in all markets.",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "cities",
            "in",
            "all",
            "markets",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT max(Number_cities) ,  min(Number_cities) FROM market",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Number_cities",
            ")",
            ",",
            "min",
            "(",
            "Number_cities",
            ")",
            "FROM",
            "market"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "number_cities",
            ")",
            ",",
            "min",
            "(",
            "number_cities",
            ")",
            "from",
            "market"
        ],
        "question": "Return the maximum and minimum number of cities across all markets.",
        "question_toks": [
            "Return",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "cities",
            "across",
            "all",
            "markets",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT count(*) FROM market WHERE Number_cities  <  300",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "market",
            "WHERE",
            "Number_cities",
            "<",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "market",
            "where",
            "number_cities",
            "<",
            "value"
        ],
        "question": "How many markets have number of cities smaller than 300?",
        "question_toks": [
            "How",
            "many",
            "markets",
            "have",
            "number",
            "of",
            "cities",
            "smaller",
            "than",
            "300",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT count(*) FROM market WHERE Number_cities  <  300",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "market",
            "WHERE",
            "Number_cities",
            "<",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "market",
            "where",
            "number_cities",
            "<",
            "value"
        ],
        "question": "Count the number of markets that have a number of cities lower than 300.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "markets",
            "that",
            "have",
            "a",
            "number",
            "of",
            "cities",
            "lower",
            "than",
            "300",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Country FROM market ORDER BY Country ASC",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "market",
            "ORDER",
            "BY",
            "Country",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "market",
            "order",
            "by",
            "country",
            "asc"
        ],
        "question": "List all countries of markets in ascending alphabetical order.",
        "question_toks": [
            "List",
            "all",
            "countries",
            "of",
            "markets",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Country FROM market ORDER BY Country ASC",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "market",
            "ORDER",
            "BY",
            "Country",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "market",
            "order",
            "by",
            "country",
            "asc"
        ],
        "question": "What are the countries for each market, ordered alphabetically?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "for",
            "each",
            "market",
            ",",
            "ordered",
            "alphabetically",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Country FROM market ORDER BY Number_cities DESC",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "market",
            "ORDER",
            "BY",
            "Number_cities",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "market",
            "order",
            "by",
            "number_cities",
            "desc"
        ],
        "question": "List all countries of markets in descending order of number of cities.",
        "question_toks": [
            "List",
            "all",
            "countries",
            "of",
            "markets",
            "in",
            "descending",
            "order",
            "of",
            "number",
            "of",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Country FROM market ORDER BY Number_cities DESC",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "market",
            "ORDER",
            "BY",
            "Number_cities",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "market",
            "order",
            "by",
            "number_cities",
            "desc"
        ],
        "question": "What are the countries for each market ordered by decreasing number of cities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "for",
            "each",
            "market",
            "ordered",
            "by",
            "decreasing",
            "number",
            "of",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT T1.Title ,  T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID  =  T2.Film_ID",
        "query_toks": [
            "SELECT",
            "T1.Title",
            ",",
            "T2.Type",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "film_market_estimation",
            "AS",
            "T2",
            "ON",
            "T1.Film_ID",
            "=",
            "T2.Film_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "type",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "film_market_estimation",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id"
        ],
        "question": "Please show the titles of films and the types of market estimations.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "titles",
            "of",
            "films",
            "and",
            "the",
            "types",
            "of",
            "market",
            "estimations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT T1.Title ,  T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID  =  T2.Film_ID",
        "query_toks": [
            "SELECT",
            "T1.Title",
            ",",
            "T2.Type",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "film_market_estimation",
            "AS",
            "T2",
            "ON",
            "T1.Film_ID",
            "=",
            "T2.Film_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t2",
            ".",
            "type",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "film_market_estimation",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id"
        ],
        "question": "What are the titles of films and corresponding types of market estimations?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "films",
            "and",
            "corresponding",
            "types",
            "of",
            "market",
            "estimations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT DISTINCT T1.Director FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID  =  T2.Film_ID WHERE T2.Year  =  1995",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Director",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "film_market_estimation",
            "AS",
            "T2",
            "ON",
            "T1.Film_ID",
            "=",
            "T2.Film_ID",
            "WHERE",
            "T2.Year",
            "=",
            "1995"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "director",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "film_market_estimation",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Show the distinct director of films with market estimation in the year of 1995.",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "director",
            "of",
            "films",
            "with",
            "market",
            "estimation",
            "in",
            "the",
            "year",
            "of",
            "1995",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1995.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT DISTINCT T1.Director FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID  =  T2.Film_ID WHERE T2.Year  =  1995",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Director",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "film_market_estimation",
            "AS",
            "T2",
            "ON",
            "T1.Film_ID",
            "=",
            "T2.Film_ID",
            "WHERE",
            "T2.Year",
            "=",
            "1995"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "director",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "film_market_estimation",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Who are the different directors of films which had market estimation in 1995?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "different",
            "directors",
            "of",
            "films",
            "which",
            "had",
            "market",
            "estimation",
            "in",
            "1995",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1995.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT avg(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID WHERE T1.Low_Estimate  >  10000",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Number_cities",
            ")",
            "FROM",
            "film_market_estimation",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID",
            "WHERE",
            "T1.Low_Estimate",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "number_cities",
            ")",
            "from",
            "film_market_estimation",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "where",
            "t1",
            ".",
            "low_estimate",
            ">",
            "value"
        ],
        "question": "What is the average number of cities of markets with low film market estimate bigger than 10000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "cities",
            "of",
            "markets",
            "with",
            "low",
            "film",
            "market",
            "estimate",
            "bigger",
            "than",
            "10000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT avg(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID WHERE T1.Low_Estimate  >  10000",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Number_cities",
            ")",
            "FROM",
            "film_market_estimation",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID",
            "WHERE",
            "T1.Low_Estimate",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "number_cities",
            ")",
            "from",
            "film_market_estimation",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "where",
            "t1",
            ".",
            "low_estimate",
            ">",
            "value"
        ],
        "question": "Give the average number of cities within markets that had a low market estimation larger than 10000?",
        "question_toks": [
            "Give",
            "the",
            "average",
            "number",
            "of",
            "cities",
            "within",
            "markets",
            "that",
            "had",
            "a",
            "low",
            "market",
            "estimation",
            "larger",
            "than",
            "10000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT T2.Country ,  T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID",
        "query_toks": [
            "SELECT",
            "T2.Country",
            ",",
            "T1.Year",
            "FROM",
            "film_market_estimation",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "country",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "film_market_estimation",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id"
        ],
        "question": "Please list the countries and years of film market estimations.",
        "question_toks": [
            "Please",
            "list",
            "the",
            "countries",
            "and",
            "years",
            "of",
            "film",
            "market",
            "estimations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT T2.Country ,  T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID",
        "query_toks": [
            "SELECT",
            "T2.Country",
            ",",
            "T1.Year",
            "FROM",
            "film_market_estimation",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "country",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "film_market_estimation",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id"
        ],
        "question": "What are the countries of markets and their corresponding years of market estimation?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "of",
            "markets",
            "and",
            "their",
            "corresponding",
            "years",
            "of",
            "market",
            "estimation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID WHERE T2.Country  =  \"Japan\" ORDER BY T1.Year DESC",
        "query_toks": [
            "SELECT",
            "T1.Year",
            "FROM",
            "film_market_estimation",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID",
            "WHERE",
            "T2.Country",
            "=",
            "``",
            "Japan",
            "''",
            "ORDER",
            "BY",
            "T1.Year",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "year",
            "from",
            "film_market_estimation",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "year",
            "desc"
        ],
        "question": "Please list the years of film market estimations when the market is in country \"Japan\" in descending order.",
        "question_toks": [
            "Please",
            "list",
            "the",
            "years",
            "of",
            "film",
            "market",
            "estimations",
            "when",
            "the",
            "market",
            "is",
            "in",
            "country",
            "``",
            "Japan",
            "''",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Japan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID  =  T2.Market_ID WHERE T2.Country  =  \"Japan\" ORDER BY T1.Year DESC",
        "query_toks": [
            "SELECT",
            "T1.Year",
            "FROM",
            "film_market_estimation",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Market_ID",
            "WHERE",
            "T2.Country",
            "=",
            "``",
            "Japan",
            "''",
            "ORDER",
            "BY",
            "T1.Year",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "year",
            "from",
            "film_market_estimation",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "year",
            "desc"
        ],
        "question": "What are the years of film market estimation for the market of Japan, ordered by year descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "years",
            "of",
            "film",
            "market",
            "estimation",
            "for",
            "the",
            "market",
            "of",
            "Japan",
            ",",
            "ordered",
            "by",
            "year",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Japan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio ,  COUNT(*) FROM film GROUP BY Studio",
        "query_toks": [
            "SELECT",
            "Studio",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "Studio"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film",
            "group",
            "by",
            "studio"
        ],
        "question": "List the studios of each film and the number of films produced by that studio.",
        "question_toks": [
            "List",
            "the",
            "studios",
            "of",
            "each",
            "film",
            "and",
            "the",
            "number",
            "of",
            "films",
            "produced",
            "by",
            "that",
            "studio",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio ,  COUNT(*) FROM film GROUP BY Studio",
        "query_toks": [
            "SELECT",
            "Studio",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "Studio"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "film",
            "group",
            "by",
            "studio"
        ],
        "question": "How films are produced by each studio?",
        "question_toks": [
            "How",
            "films",
            "are",
            "produced",
            "by",
            "each",
            "studio",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film GROUP BY Studio ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "Studio",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "group",
            "by",
            "studio",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the name of film studio that have the most number of films.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "film",
            "studio",
            "that",
            "have",
            "the",
            "most",
            "number",
            "of",
            "films",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film GROUP BY Studio ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "Studio",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "group",
            "by",
            "studio",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of teh studio that created the most films?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "teh",
            "studio",
            "that",
            "created",
            "the",
            "most",
            "films",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film GROUP BY Studio HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "Studio",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "group",
            "by",
            "studio",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List the names of studios that have at least two films.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "studios",
            "that",
            "have",
            "at",
            "least",
            "two",
            "films",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film GROUP BY Studio HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "Studio",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "group",
            "by",
            "studio",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of studios that have made two or more films?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "studios",
            "that",
            "have",
            "made",
            "two",
            "or",
            "more",
            "films",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Title FROM film WHERE Film_ID NOT IN (SELECT Film_ID FROM film_market_estimation)",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "film",
            "WHERE",
            "Film_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Film_ID",
            "FROM",
            "film_market_estimation",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "film",
            "where",
            "film_id",
            "not",
            "in",
            "(",
            "select",
            "film_id",
            "from",
            "film_market_estimation",
            ")"
        ],
        "question": "List the title of films that do not have any market estimation.",
        "question_toks": [
            "List",
            "the",
            "title",
            "of",
            "films",
            "that",
            "do",
            "not",
            "have",
            "any",
            "market",
            "estimation",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Title FROM film WHERE Film_ID NOT IN (SELECT Film_ID FROM film_market_estimation)",
        "query_toks": [
            "SELECT",
            "Title",
            "FROM",
            "film",
            "WHERE",
            "Film_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Film_ID",
            "FROM",
            "film_market_estimation",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "film",
            "where",
            "film_id",
            "not",
            "in",
            "(",
            "select",
            "film_id",
            "from",
            "film_market_estimation",
            ")"
        ],
        "question": "What are the titles of films that do not have a film market estimation?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "films",
            "that",
            "do",
            "not",
            "have",
            "a",
            "film",
            "market",
            "estimation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film WHERE Director  =  \"Nicholas Meyer\" INTERSECT SELECT Studio FROM film WHERE Director  =  \"Walter Hill\"",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "WHERE",
            "Director",
            "=",
            "``",
            "Nicholas",
            "Meyer",
            "''",
            "INTERSECT",
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "WHERE",
            "Director",
            "=",
            "``",
            "Walter",
            "Hill",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "where",
            "director",
            "=",
            "value",
            "intersect",
            "select",
            "studio",
            "from",
            "film",
            "where",
            "director",
            "=",
            "value"
        ],
        "question": "Show the studios that have produced films with director \"Nicholas Meyer\" and \"Walter Hill\".",
        "question_toks": [
            "Show",
            "the",
            "studios",
            "that",
            "have",
            "produced",
            "films",
            "with",
            "director",
            "``",
            "Nicholas",
            "Meyer",
            "''",
            "and",
            "``",
            "Walter",
            "Hill",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Nicholas Meyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Walter Hill\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film WHERE Director  =  \"Nicholas Meyer\" INTERSECT SELECT Studio FROM film WHERE Director  =  \"Walter Hill\"",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "WHERE",
            "Director",
            "=",
            "``",
            "Nicholas",
            "Meyer",
            "''",
            "INTERSECT",
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "WHERE",
            "Director",
            "=",
            "``",
            "Walter",
            "Hill",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "where",
            "director",
            "=",
            "value",
            "intersect",
            "select",
            "studio",
            "from",
            "film",
            "where",
            "director",
            "=",
            "value"
        ],
        "question": "What are the names of studios that have produced films with both Nicholas Meyer and Walter Hill?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "studios",
            "that",
            "have",
            "produced",
            "films",
            "with",
            "both",
            "Nicholas",
            "Meyer",
            "and",
            "Walter",
            "Hill",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Nicholas Meyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Walter Hill\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT title ,  Studio FROM film WHERE Studio LIKE \"%Universal%\"",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "Studio",
            "FROM",
            "film",
            "WHERE",
            "Studio",
            "LIKE",
            "``",
            "%",
            "Universal",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "studio",
            "from",
            "film",
            "where",
            "studio",
            "like",
            "value"
        ],
        "question": "Find the titles and studios of the films that are produced by some film studios that contained the word \"Universal\".",
        "question_toks": [
            "Find",
            "the",
            "titles",
            "and",
            "studios",
            "of",
            "the",
            "films",
            "that",
            "are",
            "produced",
            "by",
            "some",
            "film",
            "studios",
            "that",
            "contained",
            "the",
            "word",
            "``",
            "Universal",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%Universal%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT title ,  Studio FROM film WHERE Studio LIKE \"%Universal%\"",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "Studio",
            "FROM",
            "film",
            "WHERE",
            "Studio",
            "LIKE",
            "``",
            "%",
            "Universal",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "studio",
            "from",
            "film",
            "where",
            "studio",
            "like",
            "value"
        ],
        "question": "What are the titles and studios of films that have been produced by a studio whose name contains \"Universal\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "and",
            "studios",
            "of",
            "films",
            "that",
            "have",
            "been",
            "produced",
            "by",
            "a",
            "studio",
            "whose",
            "name",
            "contains",
            "``",
            "Universal",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%Universal%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film EXCEPT SELECT Studio FROM film WHERE Director  =  \"Walter Hill\"",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "EXCEPT",
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "WHERE",
            "Director",
            "=",
            "``",
            "Walter",
            "Hill",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "except",
            "select",
            "studio",
            "from",
            "film",
            "where",
            "director",
            "=",
            "value"
        ],
        "question": "Show the studios that have not produced films with director \"Walter Hill\".",
        "question_toks": [
            "Show",
            "the",
            "studios",
            "that",
            "have",
            "not",
            "produced",
            "films",
            "with",
            "director",
            "``",
            "Walter",
            "Hill",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Walter Hill\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film EXCEPT SELECT Studio FROM film WHERE Director  =  \"Walter Hill\"",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "EXCEPT",
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "WHERE",
            "Director",
            "=",
            "``",
            "Walter",
            "Hill",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "except",
            "select",
            "studio",
            "from",
            "film",
            "where",
            "director",
            "=",
            "value"
        ],
        "question": "Which studios have never worked with the director Walter Hill?",
        "question_toks": [
            "Which",
            "studios",
            "have",
            "never",
            "worked",
            "with",
            "the",
            "director",
            "Walter",
            "Hill",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Walter Hill\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film GROUP BY Studio HAVING avg(Gross_in_dollar)  >=  4500000",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "Studio",
            "HAVING",
            "avg",
            "(",
            "Gross_in_dollar",
            ")",
            ">",
            "=",
            "4500000"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "group",
            "by",
            "studio",
            "having",
            "avg",
            "(",
            "gross_in_dollar",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List the studios which average gross is above 4500000.",
        "question_toks": [
            "List",
            "the",
            "studios",
            "which",
            "average",
            "gross",
            "is",
            "above",
            "4500000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            5,
                            5,
                            false
                        ],
                        null
                    ],
                    4500000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT Studio FROM film GROUP BY Studio HAVING avg(Gross_in_dollar)  >=  4500000",
        "query_toks": [
            "SELECT",
            "Studio",
            "FROM",
            "film",
            "GROUP",
            "BY",
            "Studio",
            "HAVING",
            "avg",
            "(",
            "Gross_in_dollar",
            ")",
            ">",
            "=",
            "4500000"
        ],
        "query_toks_no_value": [
            "select",
            "studio",
            "from",
            "film",
            "group",
            "by",
            "studio",
            "having",
            "avg",
            "(",
            "gross_in_dollar",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which studios have an average gross of over 4500000?",
        "question_toks": [
            "Which",
            "studios",
            "have",
            "an",
            "average",
            "gross",
            "of",
            "over",
            "4500000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            5,
                            5,
                            false
                        ],
                        null
                    ],
                    4500000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2  ON T1.Film_ID  =  T2.Film_ID ORDER BY high_estimate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.title",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "film_market_estimation",
            "AS",
            "T2",
            "ON",
            "T1.Film_ID",
            "=",
            "T2.Film_ID",
            "ORDER",
            "BY",
            "high_estimate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "film_market_estimation",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "order",
            "by",
            "high_estimate",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the title of the film that has the highest high market estimation.",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "of",
            "the",
            "film",
            "that",
            "has",
            "the",
            "highest",
            "high",
            "market",
            "estimation",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2  ON T1.Film_ID  =  T2.Film_ID ORDER BY high_estimate DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.title",
            "FROM",
            "film",
            "AS",
            "T1",
            "JOIN",
            "film_market_estimation",
            "AS",
            "T2",
            "ON",
            "T1.Film_ID",
            "=",
            "T2.Film_ID",
            "ORDER",
            "BY",
            "high_estimate",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "film",
            "as",
            "t1",
            "join",
            "film_market_estimation",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "film_id",
            "=",
            "t2",
            ".",
            "film_id",
            "order",
            "by",
            "high_estimate",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the title of the film with the highest high estimate?",
        "question_toks": [
            "Return",
            "the",
            "title",
            "of",
            "the",
            "film",
            "with",
            "the",
            "highest",
            "high",
            "estimate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT title ,  director FROM film WHERE film_id NOT IN (SELECT film_id FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.market_id  =  T2.Market_ID WHERE country  =  'China')",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "director",
            "FROM",
            "film",
            "WHERE",
            "film_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "film_id",
            "FROM",
            "film_market_estimation",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.market_id",
            "=",
            "T2.Market_ID",
            "WHERE",
            "country",
            "=",
            "'China",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "director",
            "from",
            "film",
            "where",
            "film_id",
            "not",
            "in",
            "(",
            "select",
            "film_id",
            "from",
            "film_market_estimation",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "where",
            "country",
            "=",
            "value",
            ")"
        ],
        "question": "What are the titles and directors of the films were never presented in China?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "and",
            "directors",
            "of",
            "the",
            "films",
            "were",
            "never",
            "presented",
            "in",
            "China",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ],
                                "\"China\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "film_rank",
        "query": "SELECT title ,  director FROM film WHERE film_id NOT IN (SELECT film_id FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.market_id  =  T2.Market_ID WHERE country  =  'China')",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "director",
            "FROM",
            "film",
            "WHERE",
            "film_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "film_id",
            "FROM",
            "film_market_estimation",
            "AS",
            "T1",
            "JOIN",
            "market",
            "AS",
            "T2",
            "ON",
            "T1.market_id",
            "=",
            "T2.Market_ID",
            "WHERE",
            "country",
            "=",
            "'China",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "director",
            "from",
            "film",
            "where",
            "film_id",
            "not",
            "in",
            "(",
            "select",
            "film_id",
            "from",
            "film_market_estimation",
            "as",
            "t1",
            "join",
            "market",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "market_id",
            "where",
            "country",
            "=",
            "value",
            ")"
        ],
        "question": "Return the titles and directors of films that were never in the market of China.",
        "question_toks": [
            "Return",
            "the",
            "titles",
            "and",
            "directors",
            "of",
            "films",
            "that",
            "were",
            "never",
            "in",
            "the",
            "market",
            "of",
            "China",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ],
                                "\"China\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM Ref_calendar",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_calendar"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_calendar"
        ],
        "question": "How many calendar items do we have?",
        "question_toks": [
            "How",
            "many",
            "calendar",
            "items",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM Ref_calendar",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_calendar"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_calendar"
        ],
        "question": "Count the number of all the calendar items.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "all",
            "the",
            "calendar",
            "items",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT calendar_date ,  day_Number FROM Ref_calendar",
        "query_toks": [
            "SELECT",
            "calendar_date",
            ",",
            "day_Number",
            "FROM",
            "Ref_calendar"
        ],
        "query_toks_no_value": [
            "select",
            "calendar_date",
            ",",
            "day_number",
            "from",
            "ref_calendar"
        ],
        "question": "Show all calendar dates and day Numbers.",
        "question_toks": [
            "Show",
            "all",
            "calendar",
            "dates",
            "and",
            "day",
            "Numbers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT calendar_date ,  day_Number FROM Ref_calendar",
        "query_toks": [
            "SELECT",
            "calendar_date",
            ",",
            "day_Number",
            "FROM",
            "Ref_calendar"
        ],
        "query_toks_no_value": [
            "select",
            "calendar_date",
            ",",
            "day_number",
            "from",
            "ref_calendar"
        ],
        "question": "What are all the calendar dates and day Numbers?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "calendar",
            "dates",
            "and",
            "day",
            "Numbers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM Ref_document_types",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_document_types"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_document_types"
        ],
        "question": "Show the number of document types.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "document",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM Ref_document_types",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_document_types"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_document_types"
        ],
        "question": "How many document types are there?",
        "question_toks": [
            "How",
            "many",
            "document",
            "types",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT document_type_code ,  document_type_name FROM Ref_document_types",
        "query_toks": [
            "SELECT",
            "document_type_code",
            ",",
            "document_type_name",
            "FROM",
            "Ref_document_types"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            ",",
            "document_type_name",
            "from",
            "ref_document_types"
        ],
        "question": "List all document type codes and document type names.",
        "question_toks": [
            "List",
            "all",
            "document",
            "type",
            "codes",
            "and",
            "document",
            "type",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT document_type_code ,  document_type_name FROM Ref_document_types",
        "query_toks": [
            "SELECT",
            "document_type_code",
            ",",
            "document_type_name",
            "FROM",
            "Ref_document_types"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            ",",
            "document_type_name",
            "from",
            "ref_document_types"
        ],
        "question": "What are all the document type codes and document type names?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "document",
            "type",
            "codes",
            "and",
            "document",
            "type",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT document_type_name ,  document_type_description FROM Ref_document_types WHERE document_type_code  =  \"RV\"",
        "query_toks": [
            "SELECT",
            "document_type_name",
            ",",
            "document_type_description",
            "FROM",
            "Ref_document_types",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "RV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_name",
            ",",
            "document_type_description",
            "from",
            "ref_document_types",
            "where",
            "document_type_code",
            "=",
            "value"
        ],
        "question": "What is the name and description for document type code RV?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "description",
            "for",
            "document",
            "type",
            "code",
            "RV",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"RV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT document_type_name ,  document_type_description FROM Ref_document_types WHERE document_type_code  =  \"RV\"",
        "query_toks": [
            "SELECT",
            "document_type_name",
            ",",
            "document_type_description",
            "FROM",
            "Ref_document_types",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "RV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_name",
            ",",
            "document_type_description",
            "from",
            "ref_document_types",
            "where",
            "document_type_code",
            "=",
            "value"
        ],
        "question": "Give me the name and description of the document type code RV.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "name",
            "and",
            "description",
            "of",
            "the",
            "document",
            "type",
            "code",
            "RV",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"RV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT document_type_code FROM Ref_document_types WHERE document_type_name  =  \"Paper\"",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Ref_document_types",
            "WHERE",
            "document_type_name",
            "=",
            "``",
            "Paper",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "ref_document_types",
            "where",
            "document_type_name",
            "=",
            "value"
        ],
        "question": "What is the document type code for document type \"Paper\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "document",
            "type",
            "code",
            "for",
            "document",
            "type",
            "``",
            "Paper",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Paper\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT document_type_code FROM Ref_document_types WHERE document_type_name  =  \"Paper\"",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Ref_document_types",
            "WHERE",
            "document_type_name",
            "=",
            "``",
            "Paper",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "ref_document_types",
            "where",
            "document_type_name",
            "=",
            "value"
        ],
        "question": "Find the code of the document type \"Paper\".",
        "question_toks": [
            "Find",
            "the",
            "code",
            "of",
            "the",
            "document",
            "type",
            "``",
            "Paper",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Paper\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM All_documents WHERE document_type_code  =  \"CV\" OR document_type_code  =  \"BK\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "All_documents",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "CV",
            "''",
            "OR",
            "document_type_code",
            "=",
            "``",
            "BK",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "all_documents",
            "where",
            "document_type_code",
            "=",
            "value",
            "or",
            "document_type_code",
            "=",
            "value"
        ],
        "question": "Show the number of documents with document type code CV or BK.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "documents",
            "with",
            "document",
            "type",
            "code",
            "CV",
            "or",
            "BK",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"CV\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"BK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM All_documents WHERE document_type_code  =  \"CV\" OR document_type_code  =  \"BK\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "All_documents",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "CV",
            "''",
            "OR",
            "document_type_code",
            "=",
            "``",
            "BK",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "all_documents",
            "where",
            "document_type_code",
            "=",
            "value",
            "or",
            "document_type_code",
            "=",
            "value"
        ],
        "question": "How many documents have document type code CV or BK?",
        "question_toks": [
            "How",
            "many",
            "documents",
            "have",
            "document",
            "type",
            "code",
            "CV",
            "or",
            "BK",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"CV\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"BK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT date_stored FROM All_documents WHERE Document_name  =  \"Marry CV\"",
        "query_toks": [
            "SELECT",
            "date_stored",
            "FROM",
            "All_documents",
            "WHERE",
            "Document_name",
            "=",
            "``",
            "Marry",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_stored",
            "from",
            "all_documents",
            "where",
            "document_name",
            "=",
            "value"
        ],
        "question": "What is the date when the document \"Marry CV\" was stored?",
        "question_toks": [
            "What",
            "is",
            "the",
            "date",
            "when",
            "the",
            "document",
            "``",
            "Marry",
            "CV",
            "''",
            "was",
            "stored",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Marry CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT date_stored FROM All_documents WHERE Document_name  =  \"Marry CV\"",
        "query_toks": [
            "SELECT",
            "date_stored",
            "FROM",
            "All_documents",
            "WHERE",
            "Document_name",
            "=",
            "``",
            "Marry",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_stored",
            "from",
            "all_documents",
            "where",
            "document_name",
            "=",
            "value"
        ],
        "question": "When was the document named \"Marry CV\" stored? Give me the date.",
        "question_toks": [
            "When",
            "was",
            "the",
            "document",
            "named",
            "``",
            "Marry",
            "CV",
            "''",
            "stored",
            "?",
            "Give",
            "me",
            "the",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Marry CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.day_Number ,  T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored  =  T2.calendar_date",
        "query_toks": [
            "SELECT",
            "T2.day_Number",
            ",",
            "T1.Date_Stored",
            "FROM",
            "All_documents",
            "AS",
            "T1",
            "JOIN",
            "Ref_calendar",
            "AS",
            "T2",
            "ON",
            "T1.date_stored",
            "=",
            "T2.calendar_date"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "day_number",
            ",",
            "t1",
            ".",
            "date_stored",
            "from",
            "all_documents",
            "as",
            "t1",
            "join",
            "ref_calendar",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "date_stored",
            "=",
            "t2",
            ".",
            "calendar_date"
        ],
        "question": "What is the day Number and date of all the documents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "day",
            "Number",
            "and",
            "date",
            "of",
            "all",
            "the",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.day_Number ,  T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored  =  T2.calendar_date",
        "query_toks": [
            "SELECT",
            "T2.day_Number",
            ",",
            "T1.Date_Stored",
            "FROM",
            "All_documents",
            "AS",
            "T1",
            "JOIN",
            "Ref_calendar",
            "AS",
            "T2",
            "ON",
            "T1.date_stored",
            "=",
            "T2.calendar_date"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "day_number",
            ",",
            "t1",
            ".",
            "date_stored",
            "from",
            "all_documents",
            "as",
            "t1",
            "join",
            "ref_calendar",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "date_stored",
            "=",
            "t2",
            ".",
            "calendar_date"
        ],
        "question": "Return the day Number and stored date for all the documents.",
        "question_toks": [
            "Return",
            "the",
            "day",
            "Number",
            "and",
            "stored",
            "date",
            "for",
            "all",
            "the",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.document_type_name FROM All_documents AS T1 JOIN Ref_document_types AS T2 ON T1.document_type_code  =  T2.document_type_code WHERE T1.document_name  =  \"How to read a book\"",
        "query_toks": [
            "SELECT",
            "T2.document_type_name",
            "FROM",
            "All_documents",
            "AS",
            "T1",
            "JOIN",
            "Ref_document_types",
            "AS",
            "T2",
            "ON",
            "T1.document_type_code",
            "=",
            "T2.document_type_code",
            "WHERE",
            "T1.document_name",
            "=",
            "``",
            "How",
            "to",
            "read",
            "a",
            "book",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "document_type_name",
            "from",
            "all_documents",
            "as",
            "t1",
            "join",
            "ref_document_types",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_type_code",
            "=",
            "t2",
            ".",
            "document_type_code",
            "where",
            "t1",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "What is the document type name for the document with name \"How to read a book\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "document",
            "type",
            "name",
            "for",
            "the",
            "document",
            "with",
            "name",
            "``",
            "How",
            "to",
            "read",
            "a",
            "book",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"How to read a book\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.document_type_name FROM All_documents AS T1 JOIN Ref_document_types AS T2 ON T1.document_type_code  =  T2.document_type_code WHERE T1.document_name  =  \"How to read a book\"",
        "query_toks": [
            "SELECT",
            "T2.document_type_name",
            "FROM",
            "All_documents",
            "AS",
            "T1",
            "JOIN",
            "Ref_document_types",
            "AS",
            "T2",
            "ON",
            "T1.document_type_code",
            "=",
            "T2.document_type_code",
            "WHERE",
            "T1.document_name",
            "=",
            "``",
            "How",
            "to",
            "read",
            "a",
            "book",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "document_type_name",
            "from",
            "all_documents",
            "as",
            "t1",
            "join",
            "ref_document_types",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_type_code",
            "=",
            "t2",
            ".",
            "document_type_code",
            "where",
            "t1",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "Find the document type name of the document named \"How to read a book\".",
        "question_toks": [
            "Find",
            "the",
            "document",
            "type",
            "name",
            "of",
            "the",
            "document",
            "named",
            "``",
            "How",
            "to",
            "read",
            "a",
            "book",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"How to read a book\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM Ref_locations",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_locations"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_locations"
        ],
        "question": "Show the number of locations.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "locations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM Ref_locations",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_locations"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_locations"
        ],
        "question": "How many locations are listed in the database?",
        "question_toks": [
            "How",
            "many",
            "locations",
            "are",
            "listed",
            "in",
            "the",
            "database",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code ,  location_name FROM Ref_locations",
        "query_toks": [
            "SELECT",
            "location_code",
            ",",
            "location_name",
            "FROM",
            "Ref_locations"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            ",",
            "location_name",
            "from",
            "ref_locations"
        ],
        "question": "List all location codes and location names.",
        "question_toks": [
            "List",
            "all",
            "location",
            "codes",
            "and",
            "location",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code ,  location_name FROM Ref_locations",
        "query_toks": [
            "SELECT",
            "location_code",
            ",",
            "location_name",
            "FROM",
            "Ref_locations"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            ",",
            "location_name",
            "from",
            "ref_locations"
        ],
        "question": "What are all the location codes and location names?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "location",
            "codes",
            "and",
            "location",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_name ,  location_description FROM Ref_locations WHERE location_code  =  \"x\"",
        "query_toks": [
            "SELECT",
            "location_name",
            ",",
            "location_description",
            "FROM",
            "Ref_locations",
            "WHERE",
            "location_code",
            "=",
            "``",
            "x",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "location_name",
            ",",
            "location_description",
            "from",
            "ref_locations",
            "where",
            "location_code",
            "=",
            "value"
        ],
        "question": "What are the name and description for location code x?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "description",
            "for",
            "location",
            "code",
            "x",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"x\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_name ,  location_description FROM Ref_locations WHERE location_code  =  \"x\"",
        "query_toks": [
            "SELECT",
            "location_name",
            ",",
            "location_description",
            "FROM",
            "Ref_locations",
            "WHERE",
            "location_code",
            "=",
            "``",
            "x",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "location_name",
            ",",
            "location_description",
            "from",
            "ref_locations",
            "where",
            "location_code",
            "=",
            "value"
        ],
        "question": "Give me the name and description of the location with code x.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "name",
            "and",
            "description",
            "of",
            "the",
            "location",
            "with",
            "code",
            "x",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"x\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code FROM Ref_locations WHERE location_name  =  \"Canada\"",
        "query_toks": [
            "SELECT",
            "location_code",
            "FROM",
            "Ref_locations",
            "WHERE",
            "location_name",
            "=",
            "``",
            "Canada",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            "from",
            "ref_locations",
            "where",
            "location_name",
            "=",
            "value"
        ],
        "question": "What is the location code for the country \"Canada\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "code",
            "for",
            "the",
            "country",
            "``",
            "Canada",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code FROM Ref_locations WHERE location_name  =  \"Canada\"",
        "query_toks": [
            "SELECT",
            "location_code",
            "FROM",
            "Ref_locations",
            "WHERE",
            "location_name",
            "=",
            "``",
            "Canada",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            "from",
            "ref_locations",
            "where",
            "location_name",
            "=",
            "value"
        ],
        "question": "Show the location code of the country \"Canada\".",
        "question_toks": [
            "Show",
            "the",
            "location",
            "code",
            "of",
            "the",
            "country",
            "``",
            "Canada",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM ROLES",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ROLES"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "roles"
        ],
        "question": "How many roles are there?",
        "question_toks": [
            "How",
            "many",
            "roles",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM ROLES",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ROLES"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "roles"
        ],
        "question": "Count the total number of roles listed.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "roles",
            "listed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code ,  role_name ,  role_description FROM ROLES",
        "query_toks": [
            "SELECT",
            "role_code",
            ",",
            "role_name",
            ",",
            "role_description",
            "FROM",
            "ROLES"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            ",",
            "role_name",
            ",",
            "role_description",
            "from",
            "roles"
        ],
        "question": "List all role codes, role names, and role descriptions.",
        "question_toks": [
            "List",
            "all",
            "role",
            "codes",
            ",",
            "role",
            "names",
            ",",
            "and",
            "role",
            "descriptions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code ,  role_name ,  role_description FROM ROLES",
        "query_toks": [
            "SELECT",
            "role_code",
            ",",
            "role_name",
            ",",
            "role_description",
            "FROM",
            "ROLES"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            ",",
            "role_name",
            ",",
            "role_description",
            "from",
            "roles"
        ],
        "question": "What are all the role codes, role names, and role descriptions?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "role",
            "codes",
            ",",
            "role",
            "names",
            ",",
            "and",
            "role",
            "descriptions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_name ,  role_description FROM ROLES WHERE role_code  =  \"MG\"",
        "query_toks": [
            "SELECT",
            "role_name",
            ",",
            "role_description",
            "FROM",
            "ROLES",
            "WHERE",
            "role_code",
            "=",
            "``",
            "MG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "role_name",
            ",",
            "role_description",
            "from",
            "roles",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "What are the name and description for role code \"MG\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "description",
            "for",
            "role",
            "code",
            "``",
            "MG",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"MG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_name ,  role_description FROM ROLES WHERE role_code  =  \"MG\"",
        "query_toks": [
            "SELECT",
            "role_name",
            ",",
            "role_description",
            "FROM",
            "ROLES",
            "WHERE",
            "role_code",
            "=",
            "``",
            "MG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "role_name",
            ",",
            "role_description",
            "from",
            "roles",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "Find the name and description of the role with code \"MG\".",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "description",
            "of",
            "the",
            "role",
            "with",
            "code",
            "``",
            "MG",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"MG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_description FROM ROLES WHERE role_name  =  \"Proof Reader\"",
        "query_toks": [
            "SELECT",
            "role_description",
            "FROM",
            "ROLES",
            "WHERE",
            "role_name",
            "=",
            "``",
            "Proof",
            "Reader",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "role_description",
            "from",
            "roles",
            "where",
            "role_name",
            "=",
            "value"
        ],
        "question": "Show the description for role name \"Proof Reader\".",
        "question_toks": [
            "Show",
            "the",
            "description",
            "for",
            "role",
            "name",
            "``",
            "Proof",
            "Reader",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Proof Reader\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_description FROM ROLES WHERE role_name  =  \"Proof Reader\"",
        "query_toks": [
            "SELECT",
            "role_description",
            "FROM",
            "ROLES",
            "WHERE",
            "role_name",
            "=",
            "``",
            "Proof",
            "Reader",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "role_description",
            "from",
            "roles",
            "where",
            "role_name",
            "=",
            "value"
        ],
        "question": "What is the description of the role named \"Proof Reader\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "role",
            "named",
            "``",
            "Proof",
            "Reader",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Proof Reader\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM Employees",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employees"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees"
        ],
        "question": "How many employees do we have?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT count(*) FROM Employees",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employees"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees"
        ],
        "question": "Find the number of employees we have.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "employees",
            "we",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_name ,  role_code ,  date_of_birth FROM Employees WHERE employee_Name  =  'Armani'",
        "query_toks": [
            "SELECT",
            "employee_name",
            ",",
            "role_code",
            ",",
            "date_of_birth",
            "FROM",
            "Employees",
            "WHERE",
            "employee_Name",
            "=",
            "'Armani",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "employee_name",
            ",",
            "role_code",
            ",",
            "date_of_birth",
            "from",
            "employees",
            "where",
            "employee_name",
            "=",
            "value"
        ],
        "question": "Show the name, role code, and date of birth for the employee with name 'Armani'.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "role",
            "code",
            ",",
            "and",
            "date",
            "of",
            "birth",
            "for",
            "the",
            "employee",
            "with",
            "name",
            "'Armani",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Armani\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_name ,  role_code ,  date_of_birth FROM Employees WHERE employee_Name  =  'Armani'",
        "query_toks": [
            "SELECT",
            "employee_name",
            ",",
            "role_code",
            ",",
            "date_of_birth",
            "FROM",
            "Employees",
            "WHERE",
            "employee_Name",
            "=",
            "'Armani",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "employee_name",
            ",",
            "role_code",
            ",",
            "date_of_birth",
            "from",
            "employees",
            "where",
            "employee_name",
            "=",
            "value"
        ],
        "question": "What are the name, role code, and date of birth of the employee named 'Armani'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            ",",
            "role",
            "code",
            ",",
            "and",
            "date",
            "of",
            "birth",
            "of",
            "the",
            "employee",
            "named",
            "'Armani",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Armani\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_ID FROM Employees WHERE employee_name  =  \"Ebba\"",
        "query_toks": [
            "SELECT",
            "employee_ID",
            "FROM",
            "Employees",
            "WHERE",
            "employee_name",
            "=",
            "``",
            "Ebba",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "employees",
            "where",
            "employee_name",
            "=",
            "value"
        ],
        "question": "What is the id for the employee called Ebba?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "for",
            "the",
            "employee",
            "called",
            "Ebba",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Ebba\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_ID FROM Employees WHERE employee_name  =  \"Ebba\"",
        "query_toks": [
            "SELECT",
            "employee_ID",
            "FROM",
            "Employees",
            "WHERE",
            "employee_name",
            "=",
            "``",
            "Ebba",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "employees",
            "where",
            "employee_name",
            "=",
            "value"
        ],
        "question": "Show the id of the employee named Ebba.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "of",
            "the",
            "employee",
            "named",
            "Ebba",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Ebba\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_name FROM Employees WHERE role_code  =  \"HR\"",
        "query_toks": [
            "SELECT",
            "employee_name",
            "FROM",
            "Employees",
            "WHERE",
            "role_code",
            "=",
            "``",
            "HR",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "employee_name",
            "from",
            "employees",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "Show the names of all the employees with role \"HR\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "all",
            "the",
            "employees",
            "with",
            "role",
            "``",
            "HR",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"HR\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_name FROM Employees WHERE role_code  =  \"HR\"",
        "query_toks": [
            "SELECT",
            "employee_name",
            "FROM",
            "Employees",
            "WHERE",
            "role_code",
            "=",
            "``",
            "HR",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "employee_name",
            "from",
            "employees",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "Which employees have the role with code \"HR\"? Find their names.",
        "question_toks": [
            "Which",
            "employees",
            "have",
            "the",
            "role",
            "with",
            "code",
            "``",
            "HR",
            "''",
            "?",
            "Find",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"HR\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code ,  count(*) FROM Employees GROUP BY role_code",
        "query_toks": [
            "SELECT",
            "role_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employees",
            "GROUP",
            "BY",
            "role_code"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "group",
            "by",
            "role_code"
        ],
        "question": "Show all role codes and the number of employees in each role.",
        "question_toks": [
            "Show",
            "all",
            "role",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "employees",
            "in",
            "each",
            "role",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code ,  count(*) FROM Employees GROUP BY role_code",
        "query_toks": [
            "SELECT",
            "role_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Employees",
            "GROUP",
            "BY",
            "role_code"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "employees",
            "group",
            "by",
            "role_code"
        ],
        "question": "What is the code of each role and the number of employees in each role?",
        "question_toks": [
            "What",
            "is",
            "the",
            "code",
            "of",
            "each",
            "role",
            "and",
            "the",
            "number",
            "of",
            "employees",
            "in",
            "each",
            "role",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Employees",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "employees",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the role code with the largest number of employees?",
        "question_toks": [
            "What",
            "is",
            "the",
            "role",
            "code",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "employees",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Employees",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "employees",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the code of the role that have the most employees.",
        "question_toks": [
            "Find",
            "the",
            "code",
            "of",
            "the",
            "role",
            "that",
            "have",
            "the",
            "most",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code FROM Employees GROUP BY role_code HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Employees",
            "GROUP",
            "BY",
            "role_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "employees",
            "group",
            "by",
            "role_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show all role codes with at least 3 employees.",
        "question_toks": [
            "Show",
            "all",
            "role",
            "codes",
            "with",
            "at",
            "least",
            "3",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code FROM Employees GROUP BY role_code HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Employees",
            "GROUP",
            "BY",
            "role_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "employees",
            "group",
            "by",
            "role_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the roles with three or more employees? Give me the role codes.",
        "question_toks": [
            "What",
            "are",
            "the",
            "roles",
            "with",
            "three",
            "or",
            "more",
            "employees",
            "?",
            "Give",
            "me",
            "the",
            "role",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Employees",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "employees",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Show the role code with the least employees.",
        "question_toks": [
            "Show",
            "the",
            "role",
            "code",
            "with",
            "the",
            "least",
            "employees",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Employees",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "employees",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the role with the smallest number of employees? Find the role codes.",
        "question_toks": [
            "What",
            "is",
            "the",
            "role",
            "with",
            "the",
            "smallest",
            "number",
            "of",
            "employees",
            "?",
            "Find",
            "the",
            "role",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.role_name ,  T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T1.employee_name  =  \"Ebba\"",
        "query_toks": [
            "SELECT",
            "T2.role_name",
            ",",
            "T2.role_description",
            "FROM",
            "Employees",
            "AS",
            "T1",
            "JOIN",
            "ROLES",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "WHERE",
            "T1.employee_name",
            "=",
            "``",
            "Ebba",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "role_name",
            ",",
            "t2",
            ".",
            "role_description",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "roles",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "where",
            "t1",
            ".",
            "employee_name",
            "=",
            "value"
        ],
        "question": "What is the role name and role description for employee called Ebba?",
        "question_toks": [
            "What",
            "is",
            "the",
            "role",
            "name",
            "and",
            "role",
            "description",
            "for",
            "employee",
            "called",
            "Ebba",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Ebba\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.role_name ,  T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T1.employee_name  =  \"Ebba\"",
        "query_toks": [
            "SELECT",
            "T2.role_name",
            ",",
            "T2.role_description",
            "FROM",
            "Employees",
            "AS",
            "T1",
            "JOIN",
            "ROLES",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "WHERE",
            "T1.employee_name",
            "=",
            "``",
            "Ebba",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "role_name",
            ",",
            "t2",
            ".",
            "role_description",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "roles",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "where",
            "t1",
            ".",
            "employee_name",
            "=",
            "value"
        ],
        "question": "Show the name and description of the role played by the employee named Ebba.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "description",
            "of",
            "the",
            "role",
            "played",
            "by",
            "the",
            "employee",
            "named",
            "Ebba",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Ebba\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T2.role_name  =  \"Editor\"",
        "query_toks": [
            "SELECT",
            "T1.employee_name",
            "FROM",
            "Employees",
            "AS",
            "T1",
            "JOIN",
            "ROLES",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "WHERE",
            "T2.role_name",
            "=",
            "``",
            "Editor",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "employee_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "roles",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "where",
            "t2",
            ".",
            "role_name",
            "=",
            "value"
        ],
        "question": "Show the names of employees with role name Editor.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "employees",
            "with",
            "role",
            "name",
            "Editor",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Editor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T2.role_name  =  \"Editor\"",
        "query_toks": [
            "SELECT",
            "T1.employee_name",
            "FROM",
            "Employees",
            "AS",
            "T1",
            "JOIN",
            "ROLES",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "WHERE",
            "T2.role_name",
            "=",
            "``",
            "Editor",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "employee_name",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "roles",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "where",
            "t2",
            ".",
            "role_name",
            "=",
            "value"
        ],
        "question": "Find the names of all the employees whose the role name is \"Editor\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "the",
            "employees",
            "whose",
            "the",
            "role",
            "name",
            "is",
            "``",
            "Editor",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Editor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T2.role_name  =  \"Human Resource\" OR T2.role_name  =  \"Manager\"",
        "query_toks": [
            "SELECT",
            "T1.employee_id",
            "FROM",
            "Employees",
            "AS",
            "T1",
            "JOIN",
            "ROLES",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "WHERE",
            "T2.role_name",
            "=",
            "``",
            "Human",
            "Resource",
            "''",
            "OR",
            "T2.role_name",
            "=",
            "``",
            "Manager",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "employee_id",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "roles",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "where",
            "t2",
            ".",
            "role_name",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "role_name",
            "=",
            "value"
        ],
        "question": "Show the employee ids for all employees with role name \"Human Resource\" or \"Manager\".",
        "question_toks": [
            "Show",
            "the",
            "employee",
            "ids",
            "for",
            "all",
            "employees",
            "with",
            "role",
            "name",
            "``",
            "Human",
            "Resource",
            "''",
            "or",
            "``",
            "Manager",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Human Resource\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Manager\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code  =  T2.role_code WHERE T2.role_name  =  \"Human Resource\" OR T2.role_name  =  \"Manager\"",
        "query_toks": [
            "SELECT",
            "T1.employee_id",
            "FROM",
            "Employees",
            "AS",
            "T1",
            "JOIN",
            "ROLES",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "WHERE",
            "T2.role_name",
            "=",
            "``",
            "Human",
            "Resource",
            "''",
            "OR",
            "T2.role_name",
            "=",
            "``",
            "Manager",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "employee_id",
            "from",
            "employees",
            "as",
            "t1",
            "join",
            "roles",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "where",
            "t2",
            ".",
            "role_name",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "role_name",
            "=",
            "value"
        ],
        "question": "What are the employee ids of the employees whose role name is \"Human Resource\" or \"Manager\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "employee",
            "ids",
            "of",
            "the",
            "employees",
            "whose",
            "role",
            "name",
            "is",
            "``",
            "Human",
            "Resource",
            "''",
            "or",
            "``",
            "Manager",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Human Resource\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Manager\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT DISTINCT location_code FROM Document_locations",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "location_code",
            "FROM",
            "Document_locations"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location_code",
            "from",
            "document_locations"
        ],
        "question": "What are the different location codes for documents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "location",
            "codes",
            "for",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT DISTINCT location_code FROM Document_locations",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "location_code",
            "FROM",
            "Document_locations"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location_code",
            "from",
            "document_locations"
        ],
        "question": "Give me all the distinct location codes for documents.",
        "question_toks": [
            "Give",
            "me",
            "all",
            "the",
            "distinct",
            "location",
            "codes",
            "for",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id  =  T2.document_id JOIN Ref_locations AS T3 ON T2.location_code  =  T3.location_code WHERE T1.document_name  =  \"Robin CV\"",
        "query_toks": [
            "SELECT",
            "T3.location_name",
            "FROM",
            "All_documents",
            "AS",
            "T1",
            "JOIN",
            "Document_locations",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "JOIN",
            "Ref_locations",
            "AS",
            "T3",
            "ON",
            "T2.location_code",
            "=",
            "T3.location_code",
            "WHERE",
            "T1.document_name",
            "=",
            "``",
            "Robin",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location_name",
            "from",
            "all_documents",
            "as",
            "t1",
            "join",
            "document_locations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "join",
            "ref_locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_code",
            "=",
            "t3",
            ".",
            "location_code",
            "where",
            "t1",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "Show the location name for document \"Robin CV\".",
        "question_toks": [
            "Show",
            "the",
            "location",
            "name",
            "for",
            "document",
            "``",
            "Robin",
            "CV",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Robin CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id  =  T2.document_id JOIN Ref_locations AS T3 ON T2.location_code  =  T3.location_code WHERE T1.document_name  =  \"Robin CV\"",
        "query_toks": [
            "SELECT",
            "T3.location_name",
            "FROM",
            "All_documents",
            "AS",
            "T1",
            "JOIN",
            "Document_locations",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "JOIN",
            "Ref_locations",
            "AS",
            "T3",
            "ON",
            "T2.location_code",
            "=",
            "T3.location_code",
            "WHERE",
            "T1.document_name",
            "=",
            "``",
            "Robin",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "location_name",
            "from",
            "all_documents",
            "as",
            "t1",
            "join",
            "document_locations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "join",
            "ref_locations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "location_code",
            "=",
            "t3",
            ".",
            "location_code",
            "where",
            "t1",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "What is the location name of the document \"Robin CV\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "name",
            "of",
            "the",
            "document",
            "``",
            "Robin",
            "CV",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Robin CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code ,  date_in_location_from ,  date_in_locaton_to FROM Document_locations",
        "query_toks": [
            "SELECT",
            "location_code",
            ",",
            "date_in_location_from",
            ",",
            "date_in_locaton_to",
            "FROM",
            "Document_locations"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            ",",
            "date_in_location_from",
            ",",
            "date_in_locaton_to",
            "from",
            "document_locations"
        ],
        "question": "Show the location code, the starting date and ending data in that location for all the documents.",
        "question_toks": [
            "Show",
            "the",
            "location",
            "code",
            ",",
            "the",
            "starting",
            "date",
            "and",
            "ending",
            "data",
            "in",
            "that",
            "location",
            "for",
            "all",
            "the",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code ,  date_in_location_from ,  date_in_locaton_to FROM Document_locations",
        "query_toks": [
            "SELECT",
            "location_code",
            ",",
            "date_in_location_from",
            ",",
            "date_in_locaton_to",
            "FROM",
            "Document_locations"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            ",",
            "date_in_location_from",
            ",",
            "date_in_locaton_to",
            "from",
            "document_locations"
        ],
        "question": "What are each document's location code, and starting date and ending data in that location?",
        "question_toks": [
            "What",
            "are",
            "each",
            "document",
            "'s",
            "location",
            "code",
            ",",
            "and",
            "starting",
            "date",
            "and",
            "ending",
            "data",
            "in",
            "that",
            "location",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T1.date_in_location_from ,  T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id  =  T2.document_id WHERE T2.document_name  =  \"Robin CV\"",
        "query_toks": [
            "SELECT",
            "T1.date_in_location_from",
            ",",
            "T1.date_in_locaton_to",
            "FROM",
            "Document_locations",
            "AS",
            "T1",
            "JOIN",
            "All_documents",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T2.document_name",
            "=",
            "``",
            "Robin",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_in_location_from",
            ",",
            "t1",
            ".",
            "date_in_locaton_to",
            "from",
            "document_locations",
            "as",
            "t1",
            "join",
            "all_documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t2",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "What is \"the date in location from\" and \"the date in location to\" for the document with name \"Robin CV\"?",
        "question_toks": [
            "What",
            "is",
            "``",
            "the",
            "date",
            "in",
            "location",
            "from",
            "''",
            "and",
            "``",
            "the",
            "date",
            "in",
            "location",
            "to",
            "''",
            "for",
            "the",
            "document",
            "with",
            "name",
            "``",
            "Robin",
            "CV",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Robin CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T1.date_in_location_from ,  T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id  =  T2.document_id WHERE T2.document_name  =  \"Robin CV\"",
        "query_toks": [
            "SELECT",
            "T1.date_in_location_from",
            ",",
            "T1.date_in_locaton_to",
            "FROM",
            "Document_locations",
            "AS",
            "T1",
            "JOIN",
            "All_documents",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T2.document_name",
            "=",
            "``",
            "Robin",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_in_location_from",
            ",",
            "t1",
            ".",
            "date_in_locaton_to",
            "from",
            "document_locations",
            "as",
            "t1",
            "join",
            "all_documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t2",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "Find the starting date and ending data in location for the document named \"Robin CV\".",
        "question_toks": [
            "Find",
            "the",
            "starting",
            "date",
            "and",
            "ending",
            "data",
            "in",
            "location",
            "for",
            "the",
            "document",
            "named",
            "``",
            "Robin",
            "CV",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Robin CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code ,  count(*) FROM Document_locations GROUP BY location_code",
        "query_toks": [
            "SELECT",
            "location_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Document_locations",
            "GROUP",
            "BY",
            "location_code"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "document_locations",
            "group",
            "by",
            "location_code"
        ],
        "question": "Show the location codes and the number of documents in each location.",
        "question_toks": [
            "Show",
            "the",
            "location",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "documents",
            "in",
            "each",
            "location",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code ,  count(*) FROM Document_locations GROUP BY location_code",
        "query_toks": [
            "SELECT",
            "location_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Document_locations",
            "GROUP",
            "BY",
            "location_code"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "document_locations",
            "group",
            "by",
            "location_code"
        ],
        "question": "What is the code of each location and the number of documents in that location?",
        "question_toks": [
            "What",
            "is",
            "the",
            "code",
            "of",
            "each",
            "location",
            "and",
            "the",
            "number",
            "of",
            "documents",
            "in",
            "that",
            "location",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "location_code",
            "FROM",
            "Document_locations",
            "GROUP",
            "BY",
            "location_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            "from",
            "document_locations",
            "group",
            "by",
            "location_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the location code with the most documents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "code",
            "with",
            "the",
            "most",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "location_code",
            "FROM",
            "Document_locations",
            "GROUP",
            "BY",
            "location_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            "from",
            "document_locations",
            "group",
            "by",
            "location_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the code of the location with the largest number of documents.",
        "question_toks": [
            "Find",
            "the",
            "code",
            "of",
            "the",
            "location",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "location_code",
            "FROM",
            "Document_locations",
            "GROUP",
            "BY",
            "location_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            "from",
            "document_locations",
            "group",
            "by",
            "location_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the location codes with at least 3 documents.",
        "question_toks": [
            "Show",
            "the",
            "location",
            "codes",
            "with",
            "at",
            "least",
            "3",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "location_code",
            "FROM",
            "Document_locations",
            "GROUP",
            "BY",
            "location_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "location_code",
            "from",
            "document_locations",
            "group",
            "by",
            "location_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the codes of the locations with at least three documents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "of",
            "the",
            "locations",
            "with",
            "at",
            "least",
            "three",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.location_name ,  T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code  =  T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.location_name",
            ",",
            "T1.location_code",
            "FROM",
            "Document_locations",
            "AS",
            "T1",
            "JOIN",
            "Ref_locations",
            "AS",
            "T2",
            "ON",
            "T1.location_code",
            "=",
            "T2.location_code",
            "GROUP",
            "BY",
            "T1.location_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "location_name",
            ",",
            "t1",
            ".",
            "location_code",
            "from",
            "document_locations",
            "as",
            "t1",
            "join",
            "ref_locations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "location_code",
            "=",
            "t2",
            ".",
            "location_code",
            "group",
            "by",
            "t1",
            ".",
            "location_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Show the location name and code with the least documents.",
        "question_toks": [
            "Show",
            "the",
            "location",
            "name",
            "and",
            "code",
            "with",
            "the",
            "least",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.location_name ,  T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code  =  T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.location_name",
            ",",
            "T1.location_code",
            "FROM",
            "Document_locations",
            "AS",
            "T1",
            "JOIN",
            "Ref_locations",
            "AS",
            "T2",
            "ON",
            "T1.location_code",
            "=",
            "T2.location_code",
            "GROUP",
            "BY",
            "T1.location_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "location_name",
            ",",
            "t1",
            ".",
            "location_code",
            "from",
            "document_locations",
            "as",
            "t1",
            "join",
            "ref_locations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "location_code",
            "=",
            "t2",
            ".",
            "location_code",
            "group",
            "by",
            "t1",
            ".",
            "location_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the name and code of the location with the smallest number of documents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "code",
            "of",
            "the",
            "location",
            "with",
            "the",
            "smallest",
            "number",
            "of",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.employee_name ,  T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;",
        "query_toks": [
            "SELECT",
            "T2.employee_name",
            ",",
            "T3.employee_name",
            "FROM",
            "Documents_to_be_destroyed",
            "AS",
            "T1",
            "JOIN",
            "Employees",
            "AS",
            "T2",
            "ON",
            "T1.Destruction_Authorised_by_Employee_ID",
            "=",
            "T2.employee_id",
            "JOIN",
            "Employees",
            "AS",
            "T3",
            "ON",
            "T1.Destroyed_by_Employee_ID",
            "=",
            "T3.employee_id",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "employee_name",
            ",",
            "t3",
            ".",
            "employee_name",
            "from",
            "documents_to_be_destroyed",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "destruction_authorised_by_employee_id",
            "=",
            "t2",
            ".",
            "employee_id",
            "join",
            "employees",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "destroyed_by_employee_id",
            "=",
            "t3",
            ".",
            "employee_id"
        ],
        "question": "What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "employees",
            "who",
            "authorised",
            "the",
            "destruction",
            "and",
            "the",
            "employees",
            "who",
            "destroyed",
            "the",
            "corresponding",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT T2.employee_name ,  T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;",
        "query_toks": [
            "SELECT",
            "T2.employee_name",
            ",",
            "T3.employee_name",
            "FROM",
            "Documents_to_be_destroyed",
            "AS",
            "T1",
            "JOIN",
            "Employees",
            "AS",
            "T2",
            "ON",
            "T1.Destruction_Authorised_by_Employee_ID",
            "=",
            "T2.employee_id",
            "JOIN",
            "Employees",
            "AS",
            "T3",
            "ON",
            "T1.Destroyed_by_Employee_ID",
            "=",
            "T3.employee_id",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "employee_name",
            ",",
            "t3",
            ".",
            "employee_name",
            "from",
            "documents_to_be_destroyed",
            "as",
            "t1",
            "join",
            "employees",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "destruction_authorised_by_employee_id",
            "=",
            "t2",
            ".",
            "employee_id",
            "join",
            "employees",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "destroyed_by_employee_id",
            "=",
            "t3",
            ".",
            "employee_id"
        ],
        "question": "List the names of the employees who authorized the destruction of documents and the employees who destroyed the corresponding documents.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "the",
            "employees",
            "who",
            "authorized",
            "the",
            "destruction",
            "of",
            "documents",
            "and",
            "the",
            "employees",
            "who",
            "destroyed",
            "the",
            "corresponding",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT Destruction_Authorised_by_Employee_ID ,  count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID",
        "query_toks": [
            "SELECT",
            "Destruction_Authorised_by_Employee_ID",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents_to_be_destroyed",
            "GROUP",
            "BY",
            "Destruction_Authorised_by_Employee_ID"
        ],
        "query_toks_no_value": [
            "select",
            "destruction_authorised_by_employee_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents_to_be_destroyed",
            "group",
            "by",
            "destruction_authorised_by_employee_id"
        ],
        "question": "Show the id of each employee and the number of document destruction authorised by that employee.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "of",
            "each",
            "employee",
            "and",
            "the",
            "number",
            "of",
            "document",
            "destruction",
            "authorised",
            "by",
            "that",
            "employee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT Destruction_Authorised_by_Employee_ID ,  count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID",
        "query_toks": [
            "SELECT",
            "Destruction_Authorised_by_Employee_ID",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents_to_be_destroyed",
            "GROUP",
            "BY",
            "Destruction_Authorised_by_Employee_ID"
        ],
        "query_toks_no_value": [
            "select",
            "destruction_authorised_by_employee_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents_to_be_destroyed",
            "group",
            "by",
            "destruction_authorised_by_employee_id"
        ],
        "question": "What are the id of each employee and the number of document destruction authorised by that employee?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "of",
            "each",
            "employee",
            "and",
            "the",
            "number",
            "of",
            "document",
            "destruction",
            "authorised",
            "by",
            "that",
            "employee",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT Destroyed_by_Employee_ID ,  count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID",
        "query_toks": [
            "SELECT",
            "Destroyed_by_Employee_ID",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents_to_be_destroyed",
            "GROUP",
            "BY",
            "Destroyed_by_Employee_ID"
        ],
        "query_toks_no_value": [
            "select",
            "destroyed_by_employee_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents_to_be_destroyed",
            "group",
            "by",
            "destroyed_by_employee_id"
        ],
        "question": "Show the employee ids and the number of documents destroyed by each employee.",
        "question_toks": [
            "Show",
            "the",
            "employee",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "documents",
            "destroyed",
            "by",
            "each",
            "employee",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT Destroyed_by_Employee_ID ,  count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID",
        "query_toks": [
            "SELECT",
            "Destroyed_by_Employee_ID",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents_to_be_destroyed",
            "GROUP",
            "BY",
            "Destroyed_by_Employee_ID"
        ],
        "query_toks_no_value": [
            "select",
            "destroyed_by_employee_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents_to_be_destroyed",
            "group",
            "by",
            "destroyed_by_employee_id"
        ],
        "question": "What are the id of each employee and the number of document destroyed by that employee?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "of",
            "each",
            "employee",
            "and",
            "the",
            "number",
            "of",
            "document",
            "destroyed",
            "by",
            "that",
            "employee",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "Employees",
            "EXCEPT",
            "SELECT",
            "Destruction_Authorised_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "employees",
            "except",
            "select",
            "destruction_authorised_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "Show the ids of the employees who don't authorize destruction for any document.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "the",
            "employees",
            "who",
            "do",
            "n't",
            "authorize",
            "destruction",
            "for",
            "any",
            "document",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "Employees",
            "EXCEPT",
            "SELECT",
            "Destruction_Authorised_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "employees",
            "except",
            "select",
            "destruction_authorised_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "Which employees do not authorize destruction for any document? Give me their employee ids.",
        "question_toks": [
            "Which",
            "employees",
            "do",
            "not",
            "authorize",
            "destruction",
            "for",
            "any",
            "document",
            "?",
            "Give",
            "me",
            "their",
            "employee",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Destruction_Authorised_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "destruction_authorised_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "Show the ids of all employees who have authorized destruction.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "all",
            "employees",
            "who",
            "have",
            "authorized",
            "destruction",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Destruction_Authorised_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "destruction_authorised_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "What are the ids of all the employees who authorize document destruction?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "the",
            "employees",
            "who",
            "authorize",
            "document",
            "destruction",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Destroyed_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "destroyed_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "Show the ids of all employees who have destroyed a document.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "all",
            "employees",
            "who",
            "have",
            "destroyed",
            "a",
            "document",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Destroyed_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "destroyed_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "What are the ids of all the employees who have destroyed documents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "the",
            "employees",
            "who",
            "have",
            "destroyed",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "Employees",
            "EXCEPT",
            "SELECT",
            "Destroyed_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "employees",
            "except",
            "select",
            "destroyed_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "Show the ids of all employees who don't destroy any document.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "all",
            "employees",
            "who",
            "do",
            "n't",
            "destroy",
            "any",
            "document",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    30,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "employee_id",
            "FROM",
            "Employees",
            "EXCEPT",
            "SELECT",
            "Destroyed_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "employee_id",
            "from",
            "employees",
            "except",
            "select",
            "destroyed_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "Which employees do not destroy any document? Find their employee ids.",
        "question_toks": [
            "Which",
            "employees",
            "do",
            "not",
            "destroy",
            "any",
            "document",
            "?",
            "Find",
            "their",
            "employee",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    30,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "Destroyed_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed",
            "UNION",
            "SELECT",
            "Destruction_Authorised_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "destroyed_by_employee_id",
            "from",
            "documents_to_be_destroyed",
            "union",
            "select",
            "destruction_authorised_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "Show the ids of all employees who have either destroyed a document or made an authorization to do this.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "all",
            "employees",
            "who",
            "have",
            "either",
            "destroyed",
            "a",
            "document",
            "or",
            "made",
            "an",
            "authorization",
            "to",
            "do",
            "this",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Doc_Tracking_DB",
        "query": "SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed",
        "query_toks": [
            "SELECT",
            "Destroyed_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed",
            "UNION",
            "SELECT",
            "Destruction_Authorised_by_Employee_ID",
            "FROM",
            "Documents_to_be_destroyed"
        ],
        "query_toks_no_value": [
            "select",
            "destroyed_by_employee_id",
            "from",
            "documents_to_be_destroyed",
            "union",
            "select",
            "destruction_authorised_by_employee_id",
            "from",
            "documents_to_be_destroyed"
        ],
        "question": "Which employees have either destroyed a document or made an authorization to do so? Return their employee ids.",
        "question_toks": [
            "Which",
            "employees",
            "have",
            "either",
            "destroyed",
            "a",
            "document",
            "or",
            "made",
            "an",
            "authorization",
            "to",
            "do",
            "so",
            "?",
            "Return",
            "their",
            "employee",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club"
        ],
        "question": "How many clubs are there?",
        "question_toks": [
            "How",
            "many",
            "clubs",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club"
        ],
        "question": "Count the total number of clubs.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "clubs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clubname FROM club",
        "query_toks": [
            "SELECT",
            "clubname",
            "FROM",
            "club"
        ],
        "query_toks_no_value": [
            "select",
            "clubname",
            "from",
            "club"
        ],
        "question": "What are the names of all clubs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "clubs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clubname FROM club",
        "query_toks": [
            "SELECT",
            "clubname",
            "FROM",
            "club"
        ],
        "query_toks_no_value": [
            "select",
            "clubname",
            "from",
            "club"
        ],
        "question": "Give me the name of each club.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "name",
            "of",
            "each",
            "club",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student"
        ],
        "question": "How many students are there?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student"
        ],
        "question": "Count the total number of students.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT fname FROM student",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "fname",
            "FROM",
            "student"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "fname",
            "from",
            "student"
        ],
        "question": "What are the first names of all the students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "the",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT fname FROM student",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "fname",
            "FROM",
            "student"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "fname",
            "from",
            "student"
        ],
        "question": "Find each student's first name.",
        "question_toks": [
            "Find",
            "each",
            "student",
            "'s",
            "first",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\"",
        "query_toks": [
            "SELECT",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Find the last names of the members of the club \"Bootup Baltimore\".",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "the",
            "members",
            "of",
            "the",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\"",
        "query_toks": [
            "SELECT",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Who are the members of the club named \"Bootup Baltimore\"? Give me their last names.",
        "question_toks": [
            "Who",
            "are",
            "the",
            "members",
            "of",
            "the",
            "club",
            "named",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "?",
            "Give",
            "me",
            "their",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Hopkins Student Enterprises\"",
        "query_toks": [
            "SELECT",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Who are the members of the club named \"Hopkins Student Enterprises\"? Show the last name.",
        "question_toks": [
            "Who",
            "are",
            "the",
            "members",
            "of",
            "the",
            "club",
            "named",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "?",
            "Show",
            "the",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Hopkins Student Enterprises\"",
        "query_toks": [
            "SELECT",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Return the last name for the members of the club named \"Hopkins Student Enterprises\".",
        "question_toks": [
            "Return",
            "the",
            "last",
            "name",
            "for",
            "the",
            "members",
            "of",
            "the",
            "club",
            "named",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Tennis Club\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Tennis",
            "Club",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "How many members does the club \"Tennis Club\" has?",
        "question_toks": [
            "How",
            "many",
            "members",
            "does",
            "the",
            "club",
            "``",
            "Tennis",
            "Club",
            "''",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Tennis Club\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Tennis Club\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Tennis",
            "Club",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Count the members of the club \"Tennis Club\".",
        "question_toks": [
            "Count",
            "the",
            "members",
            "of",
            "the",
            "club",
            "``",
            "Tennis",
            "Club",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Tennis Club\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Pen and Paper Gaming\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Find the number of members of club \"Pen and Paper Gaming\".",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "members",
            "of",
            "club",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Pen and Paper Gaming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Pen and Paper Gaming\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "How many people have membership in the club \"Pen and Paper Gaming\"?",
        "question_toks": [
            "How",
            "many",
            "people",
            "have",
            "membership",
            "in",
            "the",
            "club",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Pen and Paper Gaming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  \"Linda\" AND t3.lname  =  \"Smith\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "t3.lname",
            "=",
            "``",
            "Smith",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "How many clubs does \"Linda Smith\" belong to?",
        "question_toks": [
            "How",
            "many",
            "clubs",
            "does",
            "``",
            "Linda",
            "Smith",
            "''",
            "belong",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  \"Linda\" AND t3.lname  =  \"Smith\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "t3.lname",
            "=",
            "``",
            "Smith",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "How many clubs does \"Linda Smith\" have membership for?",
        "question_toks": [
            "How",
            "many",
            "clubs",
            "does",
            "``",
            "Linda",
            "Smith",
            "''",
            "have",
            "membership",
            "for",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  \"Tracy\" AND t3.lname  =  \"Kim\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.fname",
            "=",
            "``",
            "Tracy",
            "''",
            "AND",
            "t3.lname",
            "=",
            "``",
            "Kim",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the number of clubs where \"Tracy Kim\" is a member.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "clubs",
            "where",
            "``",
            "Tracy",
            "Kim",
            "''",
            "is",
            "a",
            "member",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Tracy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kim\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  \"Tracy\" AND t3.lname  =  \"Kim\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.fname",
            "=",
            "``",
            "Tracy",
            "''",
            "AND",
            "t3.lname",
            "=",
            "``",
            "Kim",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "For how many clubs is \"Tracy Kim\" a member?",
        "question_toks": [
            "For",
            "how",
            "many",
            "clubs",
            "is",
            "``",
            "Tracy",
            "Kim",
            "''",
            "a",
            "member",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Tracy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kim\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t3.sex  =  \"F\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t3.sex",
            "=",
            "``",
            "F",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "sex",
            "=",
            "value"
        ],
        "question": "Find all the female members of club \"Bootup Baltimore\". Show the first name and last name.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "female",
            "members",
            "of",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            ".",
            "Show",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t3.sex  =  \"F\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t3.sex",
            "=",
            "``",
            "F",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "sex",
            "=",
            "value"
        ],
        "question": "Give me the first name and last name for all the female members of the club \"Bootup Baltimore\".",
        "question_toks": [
            "Give",
            "me",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "for",
            "all",
            "the",
            "female",
            "members",
            "of",
            "the",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Hopkins Student Enterprises\" AND t3.sex  =  \"M\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "AND",
            "t3.sex",
            "=",
            "``",
            "M",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "sex",
            "=",
            "value"
        ],
        "question": "Find all the male members of club \"Hopkins Student Enterprises\". Show the first name and last name.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "male",
            "members",
            "of",
            "club",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            ".",
            "Show",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Hopkins Student Enterprises\" AND t3.sex  =  \"M\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "AND",
            "t3.sex",
            "=",
            "``",
            "M",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "sex",
            "=",
            "value"
        ],
        "question": "What are the first name and last name of each male member in club \"Hopkins Student Enterprises\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "each",
            "male",
            "member",
            "in",
            "club",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t3.major  =  \"600\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t3.major",
            "=",
            "``",
            "600",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "major",
            "=",
            "value"
        ],
        "question": "Find all members of \"Bootup Baltimore\" whose major is \"600\". Show the first name and last name.",
        "question_toks": [
            "Find",
            "all",
            "members",
            "of",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "whose",
            "major",
            "is",
            "``",
            "600",
            "''",
            ".",
            "Show",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"600\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t3.major  =  \"600\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t3.major",
            "=",
            "``",
            "600",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "major",
            "=",
            "value"
        ],
        "question": "Which members of \"Bootup Baltimore\" major in \"600\"? Give me their first names and last names.",
        "question_toks": [
            "Which",
            "members",
            "of",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "major",
            "in",
            "``",
            "600",
            "''",
            "?",
            "Give",
            "me",
            "their",
            "first",
            "names",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"600\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.major  =  \"600\" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.major",
            "=",
            "``",
            "600",
            "''",
            "GROUP",
            "BY",
            "t1.clubname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "major",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "clubname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which club has the most members majoring in \"600\"?",
        "question_toks": [
            "Which",
            "club",
            "has",
            "the",
            "most",
            "members",
            "majoring",
            "in",
            "``",
            "600",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"600\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.major  =  \"600\" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.major",
            "=",
            "``",
            "600",
            "''",
            "GROUP",
            "BY",
            "t1.clubname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "major",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "clubname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the club which has the largest number of members majoring in \"600\".",
        "question_toks": [
            "Find",
            "the",
            "club",
            "which",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "members",
            "majoring",
            "in",
            "``",
            "600",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"600\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.sex  =  \"F\" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.sex",
            "=",
            "``",
            "F",
            "''",
            "GROUP",
            "BY",
            "t1.clubname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "sex",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "clubname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the club that has the most female students.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "club",
            "that",
            "has",
            "the",
            "most",
            "female",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.sex  =  \"F\" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.sex",
            "=",
            "``",
            "F",
            "''",
            "GROUP",
            "BY",
            "t1.clubname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "sex",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "clubname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which club has the most female students as their members? Give me the name of the club.",
        "question_toks": [
            "Which",
            "club",
            "has",
            "the",
            "most",
            "female",
            "students",
            "as",
            "their",
            "members",
            "?",
            "Give",
            "me",
            "the",
            "name",
            "of",
            "the",
            "club",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clubdesc FROM club WHERE clubname  =  \"Tennis Club\"",
        "query_toks": [
            "SELECT",
            "clubdesc",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Tennis",
            "Club",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clubdesc",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "What is the description of the club named \"Tennis Club\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "club",
            "named",
            "``",
            "Tennis",
            "Club",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Tennis Club\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clubdesc FROM club WHERE clubname  =  \"Tennis Club\"",
        "query_toks": [
            "SELECT",
            "clubdesc",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Tennis",
            "Club",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clubdesc",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "Find the description of the club called \"Tennis Club\".",
        "question_toks": [
            "Find",
            "the",
            "description",
            "of",
            "the",
            "club",
            "called",
            "``",
            "Tennis",
            "Club",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Tennis Club\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clubdesc FROM club WHERE clubname  =  \"Pen and Paper Gaming\"",
        "query_toks": [
            "SELECT",
            "clubdesc",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clubdesc",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "Find the description of the club \"Pen and Paper Gaming\".",
        "question_toks": [
            "Find",
            "the",
            "description",
            "of",
            "the",
            "club",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Pen and Paper Gaming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clubdesc FROM club WHERE clubname  =  \"Pen and Paper Gaming\"",
        "query_toks": [
            "SELECT",
            "clubdesc",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clubdesc",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "What is the description of the club \"Pen and Paper Gaming\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "club",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Pen and Paper Gaming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clublocation FROM club WHERE clubname  =  \"Tennis Club\"",
        "query_toks": [
            "SELECT",
            "clublocation",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Tennis",
            "Club",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clublocation",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "What is the location of the club named \"Tennis Club\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "of",
            "the",
            "club",
            "named",
            "``",
            "Tennis",
            "Club",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Tennis Club\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clublocation FROM club WHERE clubname  =  \"Tennis Club\"",
        "query_toks": [
            "SELECT",
            "clublocation",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Tennis",
            "Club",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clublocation",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "Where us the club named \"Tennis Club\" located?",
        "question_toks": [
            "Where",
            "us",
            "the",
            "club",
            "named",
            "``",
            "Tennis",
            "Club",
            "''",
            "located",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Tennis Club\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clublocation FROM club WHERE clubname  =  \"Pen and Paper Gaming\"",
        "query_toks": [
            "SELECT",
            "clublocation",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clublocation",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "Find the location of the club \"Pen and Paper Gaming\".",
        "question_toks": [
            "Find",
            "the",
            "location",
            "of",
            "the",
            "club",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Pen and Paper Gaming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clublocation FROM club WHERE clubname  =  \"Pen and Paper Gaming\"",
        "query_toks": [
            "SELECT",
            "clublocation",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clublocation",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "Where is the club \"Pen and Paper Gaming\" located?",
        "question_toks": [
            "Where",
            "is",
            "the",
            "club",
            "``",
            "Pen",
            "and",
            "Paper",
            "Gaming",
            "''",
            "located",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Pen and Paper Gaming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clublocation FROM club WHERE clubname  =  \"Hopkins Student Enterprises\"",
        "query_toks": [
            "SELECT",
            "clublocation",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clublocation",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "Where is the club \"Hopkins Student Enterprises\" located?",
        "question_toks": [
            "Where",
            "is",
            "the",
            "club",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "located",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clublocation FROM club WHERE clubname  =  \"Hopkins Student Enterprises\"",
        "query_toks": [
            "SELECT",
            "clublocation",
            "FROM",
            "club",
            "WHERE",
            "clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clublocation",
            "from",
            "club",
            "where",
            "clubname",
            "=",
            "value"
        ],
        "question": "Tell me the location of the club \"Hopkins Student Enterprises\".",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "location",
            "of",
            "the",
            "club",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clubname FROM club WHERE clublocation  =  \"AKW\"",
        "query_toks": [
            "SELECT",
            "clubname",
            "FROM",
            "club",
            "WHERE",
            "clublocation",
            "=",
            "``",
            "AKW",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clubname",
            "from",
            "club",
            "where",
            "clublocation",
            "=",
            "value"
        ],
        "question": "Find the name of all the clubs at \"AKW\".",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "all",
            "the",
            "clubs",
            "at",
            "``",
            "AKW",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"AKW\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT clubname FROM club WHERE clublocation  =  \"AKW\"",
        "query_toks": [
            "SELECT",
            "clubname",
            "FROM",
            "club",
            "WHERE",
            "clublocation",
            "=",
            "``",
            "AKW",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "clubname",
            "from",
            "club",
            "where",
            "clublocation",
            "=",
            "value"
        ],
        "question": "Which clubs are located at \"AKW\"? Return the club names.",
        "question_toks": [
            "Which",
            "clubs",
            "are",
            "located",
            "at",
            "``",
            "AKW",
            "''",
            "?",
            "Return",
            "the",
            "club",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"AKW\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club WHERE clublocation  =  \"HHH\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "WHERE",
            "clublocation",
            "=",
            "``",
            "HHH",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "where",
            "clublocation",
            "=",
            "value"
        ],
        "question": "How many clubs are located at \"HHH\"?",
        "question_toks": [
            "How",
            "many",
            "clubs",
            "are",
            "located",
            "at",
            "``",
            "HHH",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"HHH\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club WHERE clublocation  =  \"HHH\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "WHERE",
            "clublocation",
            "=",
            "``",
            "HHH",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "where",
            "clublocation",
            "=",
            "value"
        ],
        "question": "Count the number of clubs located at \"HHH\".",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "clubs",
            "located",
            "at",
            "``",
            "HHH",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"HHH\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t2.position  =  \"President\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t2.position",
            "=",
            "``",
            "President",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "What are the first and last name of the president of the club \"Bootup Baltimore\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "president",
            "of",
            "the",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"President\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t2.position  =  \"President\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t2.position",
            "=",
            "``",
            "President",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "Who is the president of the club \"Bootup Baltimore\"? Give me the first and last name.",
        "question_toks": [
            "Who",
            "is",
            "the",
            "president",
            "of",
            "the",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "first",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"President\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Hopkins Student Enterprises\" AND t2.position  =  \"CTO\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "AND",
            "t2.position",
            "=",
            "``",
            "CTO",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "Who is the \"CTO\" of club \"Hopkins Student Enterprises\"? Show the first name and last name.",
        "question_toks": [
            "Who",
            "is",
            "the",
            "``",
            "CTO",
            "''",
            "of",
            "club",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "?",
            "Show",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"CTO\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT t3.fname ,  t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Hopkins Student Enterprises\" AND t2.position  =  \"CTO\"",
        "query_toks": [
            "SELECT",
            "t3.fname",
            ",",
            "t3.lname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "AND",
            "t2.position",
            "=",
            "``",
            "CTO",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "position",
            "=",
            "value"
        ],
        "question": "Find the first name and last name for the \"CTO\" of the club \"Hopkins Student Enterprises\"?",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "for",
            "the",
            "``",
            "CTO",
            "''",
            "of",
            "the",
            "club",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"CTO\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid WHERE t1.clubname  =  \"Bootup Baltimore\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t2.position",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "position",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "How many different roles are there in the club \"Bootup Baltimore\"?",
        "question_toks": [
            "How",
            "many",
            "different",
            "roles",
            "are",
            "there",
            "in",
            "the",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid WHERE t1.clubname  =  \"Bootup Baltimore\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t2.position",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "position",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Count the number of different positions in the club \"Bootup Baltimore\".",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "positions",
            "in",
            "the",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t3.age  >  18",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t3.age",
            ">",
            "18"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "age",
            ">",
            "value"
        ],
        "question": "How many members of \"Bootup Baltimore\" are older than 18?",
        "question_toks": [
            "How",
            "many",
            "members",
            "of",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "are",
            "older",
            "than",
            "18",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t3.age  >  18",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t3.age",
            ">",
            "18"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "age",
            ">",
            "value"
        ],
        "question": "Count the number of members in club \"Bootup Baltimore\" whose age is above 18.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "members",
            "in",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "whose",
            "age",
            "is",
            "above",
            "18",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t3.age  <  18",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t3.age",
            "<",
            "18"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "age",
            "<",
            "value"
        ],
        "question": "How many members of club \"Bootup Baltimore\" are younger than 18?",
        "question_toks": [
            "How",
            "many",
            "members",
            "of",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "are",
            "younger",
            "than",
            "18",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\" AND t3.age  <  18",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "AND",
            "t3.age",
            "<",
            "18"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "age",
            "<",
            "value"
        ],
        "question": "Count the number of members in club \"Bootup Baltimore\" whose age is below 18.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "members",
            "in",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "whose",
            "age",
            "is",
            "below",
            "18",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.city_code  =  \"BAL\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.city_code",
            "=",
            "``",
            "BAL",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "city_code",
            "=",
            "value"
        ],
        "question": "Find the names of all the clubs that have at least a member from the city with city code \"BAL\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "the",
            "clubs",
            "that",
            "have",
            "at",
            "least",
            "a",
            "member",
            "from",
            "the",
            "city",
            "with",
            "city",
            "code",
            "``",
            "BAL",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"BAL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.city_code  =  \"BAL\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.city_code",
            "=",
            "``",
            "BAL",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "city_code",
            "=",
            "value"
        ],
        "question": "Which clubs have one or more members from the city with code \"BAL\"? Give me the names of the clubs.",
        "question_toks": [
            "Which",
            "clubs",
            "have",
            "one",
            "or",
            "more",
            "members",
            "from",
            "the",
            "city",
            "with",
            "code",
            "``",
            "BAL",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "names",
            "of",
            "the",
            "clubs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"BAL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.city_code  =  \"HOU\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.city_code",
            "=",
            "``",
            "HOU",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "city_code",
            "=",
            "value"
        ],
        "question": "Find the names of the clubs that have at least a member from the city with city code \"HOU\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "clubs",
            "that",
            "have",
            "at",
            "least",
            "a",
            "member",
            "from",
            "the",
            "city",
            "with",
            "city",
            "code",
            "``",
            "HOU",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"HOU\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.city_code  =  \"HOU\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.city_code",
            "=",
            "``",
            "HOU",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "city_code",
            "=",
            "value"
        ],
        "question": "Which clubs have one or more members from the city with code \"HOU\"? Give me the names of the clubs.",
        "question_toks": [
            "Which",
            "clubs",
            "have",
            "one",
            "or",
            "more",
            "members",
            "from",
            "the",
            "city",
            "with",
            "code",
            "``",
            "HOU",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "names",
            "of",
            "the",
            "clubs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"HOU\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(DISTINCT t1.clubname) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  \"Eric\" AND t3.lname  =  \"Tai\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t1.clubname",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.fname",
            "=",
            "``",
            "Eric",
            "''",
            "AND",
            "t3.lname",
            "=",
            "``",
            "Tai",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "clubname",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "How many clubs does the student named \"Eric Tai\" belong to?",
        "question_toks": [
            "How",
            "many",
            "clubs",
            "does",
            "the",
            "student",
            "named",
            "``",
            "Eric",
            "Tai",
            "''",
            "belong",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Eric\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Tai\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT count(DISTINCT t1.clubname) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  \"Eric\" AND t3.lname  =  \"Tai\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t1.clubname",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.fname",
            "=",
            "``",
            "Eric",
            "''",
            "AND",
            "t3.lname",
            "=",
            "``",
            "Tai",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "clubname",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Count the number of clubs for which the student named \"Eric Tai\" is a member.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "clubs",
            "for",
            "which",
            "the",
            "student",
            "named",
            "``",
            "Eric",
            "Tai",
            "''",
            "is",
            "a",
            "member",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Eric\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Tai\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  \"Davis\" AND t3.lname  =  \"Steven\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.fname",
            "=",
            "``",
            "Davis",
            "''",
            "AND",
            "t3.lname",
            "=",
            "``",
            "Steven",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "List the clubs having \"Davis Steven\" as a member.",
        "question_toks": [
            "List",
            "the",
            "clubs",
            "having",
            "``",
            "Davis",
            "Steven",
            "''",
            "as",
            "a",
            "member",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Davis\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Steven\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.fname  =  \"Davis\" AND t3.lname  =  \"Steven\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.fname",
            "=",
            "``",
            "Davis",
            "''",
            "AND",
            "t3.lname",
            "=",
            "``",
            "Steven",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What are the names of the clubs that have \"Davis Steven\" as a member?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "clubs",
            "that",
            "have",
            "``",
            "Davis",
            "Steven",
            "''",
            "as",
            "a",
            "member",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Davis\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Steven\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.advisor  =  1121",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.advisor",
            "=",
            "1121"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "advisor",
            "=",
            "value"
        ],
        "question": "List the clubs that have at least a member with advisor \"1121\".",
        "question_toks": [
            "List",
            "the",
            "clubs",
            "that",
            "have",
            "at",
            "least",
            "a",
            "member",
            "with",
            "advisor",
            "``",
            "1121",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1121.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t3.advisor  =  1121",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.clubname",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t3.advisor",
            "=",
            "1121"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "clubname",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "advisor",
            "=",
            "value"
        ],
        "question": "Which clubs have one or more members whose advisor is \"1121\"?",
        "question_toks": [
            "Which",
            "clubs",
            "have",
            "one",
            "or",
            "more",
            "members",
            "whose",
            "advisor",
            "is",
            "``",
            "1121",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1121.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT avg(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t3.age",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "age",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "What is the average age of the members of the club \"Bootup Baltimore\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "of",
            "the",
            "members",
            "of",
            "the",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT avg(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Bootup Baltimore\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t3.age",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Bootup",
            "Baltimore",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "age",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Find the average age of the members in the club \"Bootup Baltimore\".",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "the",
            "members",
            "in",
            "the",
            "club",
            "``",
            "Bootup",
            "Baltimore",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bootup Baltimore\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT avg(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Hopkins Student Enterprises\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t3.age",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "age",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Find the average age of members of the club \"Hopkins Student Enterprises\".",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "members",
            "of",
            "the",
            "club",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT avg(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Hopkins Student Enterprises\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t3.age",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "age",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "On average, how old are the members in the club \"Hopkins Student Enterprises\"?",
        "question_toks": [
            "On",
            "average",
            ",",
            "how",
            "old",
            "are",
            "the",
            "members",
            "in",
            "the",
            "club",
            "``",
            "Hopkins",
            "Student",
            "Enterprises",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Hopkins Student Enterprises\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT avg(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Tennis Club\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t3.age",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Tennis",
            "Club",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "age",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Retrieve the average age of members of the club \"Tennis Club\".",
        "question_toks": [
            "Retrieve",
            "the",
            "average",
            "age",
            "of",
            "members",
            "of",
            "the",
            "club",
            "``",
            "Tennis",
            "Club",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Tennis Club\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "club_1",
        "query": "SELECT avg(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid  =  t2.clubid JOIN student AS t3 ON t2.stuid  =  t3.stuid WHERE t1.clubname  =  \"Tennis Club\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t3.age",
            ")",
            "FROM",
            "club",
            "AS",
            "t1",
            "JOIN",
            "member_of_club",
            "AS",
            "t2",
            "ON",
            "t1.clubid",
            "=",
            "t2.clubid",
            "JOIN",
            "student",
            "AS",
            "t3",
            "ON",
            "t2.stuid",
            "=",
            "t3.stuid",
            "WHERE",
            "t1.clubname",
            "=",
            "``",
            "Tennis",
            "Club",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "age",
            ")",
            "from",
            "club",
            "as",
            "t1",
            "join",
            "member_of_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "clubid",
            "=",
            "t2",
            ".",
            "clubid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "clubname",
            "=",
            "value"
        ],
        "question": "Compute the average age of the members in the club \"Tennis Club\".",
        "question_toks": [
            "Compute",
            "the",
            "average",
            "age",
            "of",
            "the",
            "members",
            "in",
            "the",
            "club",
            "``",
            "Tennis",
            "Club",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Tennis Club\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.grant_amount FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id  =  T2.grant_id WHERE T2.sent_date  <  '1986-08-26 20:49:27' INTERSECT SELECT grant_amount FROM grants WHERE grant_end_date  >  '1989-03-16 18:27:16'",
        "query_toks": [
            "SELECT",
            "T1.grant_amount",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.grant_id",
            "=",
            "T2.grant_id",
            "WHERE",
            "T2.sent_date",
            "<",
            "'1986-08-26",
            "20:49:27",
            "'",
            "INTERSECT",
            "SELECT",
            "grant_amount",
            "FROM",
            "grants",
            "WHERE",
            "grant_end_date",
            ">",
            "'1989-03-16",
            "18:27:16",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "grant_amount",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t2",
            ".",
            "grant_id",
            "where",
            "t2",
            ".",
            "sent_date",
            "<",
            "value",
            "intersect",
            "select",
            "grant_amount",
            "from",
            "grants",
            "where",
            "grant_end_date",
            ">",
            "value"
        ],
        "question": "What are the distinct grant amount for the grants where the documents were sent before '1986-08-26 20:49:27' and grant were ended after '1989-03-16 18:27:16'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "grant",
            "amount",
            "for",
            "the",
            "grants",
            "where",
            "the",
            "documents",
            "were",
            "sent",
            "before",
            "'1986-08-26",
            "20:49:27",
            "'",
            "and",
            "grant",
            "were",
            "ended",
            "after",
            "'1989-03-16",
            "18:27:16",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"1986-08-26 20:49:27\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "\"1989-03-16 18:27:16\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.grant_amount FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id  =  T2.grant_id WHERE T2.sent_date  <  '1986-08-26 20:49:27' INTERSECT SELECT grant_amount FROM grants WHERE grant_end_date  >  '1989-03-16 18:27:16'",
        "query_toks": [
            "SELECT",
            "T1.grant_amount",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.grant_id",
            "=",
            "T2.grant_id",
            "WHERE",
            "T2.sent_date",
            "<",
            "'1986-08-26",
            "20:49:27",
            "'",
            "INTERSECT",
            "SELECT",
            "grant_amount",
            "FROM",
            "grants",
            "WHERE",
            "grant_end_date",
            ">",
            "'1989-03-16",
            "18:27:16",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "grant_amount",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t2",
            ".",
            "grant_id",
            "where",
            "t2",
            ".",
            "sent_date",
            "<",
            "value",
            "intersect",
            "select",
            "grant_amount",
            "from",
            "grants",
            "where",
            "grant_end_date",
            ">",
            "value"
        ],
        "question": "What are the different grant amounts for documents sent before '1986-08-26 20:49:27' and after the grant ended on '1989-03-16 18:27:16'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "grant",
            "amounts",
            "for",
            "documents",
            "sent",
            "before",
            "'1986-08-26",
            "20:49:27",
            "'",
            "and",
            "after",
            "the",
            "grant",
            "ended",
            "on",
            "'1989-03-16",
            "18:27:16",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"1986-08-26 20:49:27\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        "\"1989-03-16 18:27:16\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id WHERE T2.outcome_code  =  'Paper' INTERSECT SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id WHERE T2.outcome_code  =  'Patent'",
        "query_toks": [
            "SELECT",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.outcome_code",
            "=",
            "'Paper",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.outcome_code",
            "=",
            "'Patent",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "outcome_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "outcome_code",
            "=",
            "value"
        ],
        "question": "List the project details of the project both producing patent and paper as outcomes.",
        "question_toks": [
            "List",
            "the",
            "project",
            "details",
            "of",
            "the",
            "project",
            "both",
            "producing",
            "patent",
            "and",
            "paper",
            "as",
            "outcomes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Paper\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    31,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Patent\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id WHERE T2.outcome_code  =  'Paper' INTERSECT SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id WHERE T2.outcome_code  =  'Patent'",
        "query_toks": [
            "SELECT",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.outcome_code",
            "=",
            "'Paper",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.outcome_code",
            "=",
            "'Patent",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "outcome_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "outcome_code",
            "=",
            "value"
        ],
        "question": "What are the details of the project that is producing both patents and papers as outcomes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "the",
            "project",
            "that",
            "is",
            "producing",
            "both",
            "patents",
            "and",
            "papers",
            "as",
            "outcomes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Paper\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    31,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"Patent\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT sum(grant_amount) FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id  =  T2.organisation_id JOIN organisation_Types AS T3 ON T2.organisation_type  =  T3.organisation_type WHERE T3.organisation_type_description  =  'Research'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "grant_amount",
            ")",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Organisations",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.organisation_id",
            "JOIN",
            "organisation_Types",
            "AS",
            "T3",
            "ON",
            "T2.organisation_type",
            "=",
            "T3.organisation_type",
            "WHERE",
            "T3.organisation_type_description",
            "=",
            "'Research",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "grant_amount",
            ")",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "organisations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "organisation_id",
            "join",
            "organisation_types",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "organisation_type",
            "=",
            "t3",
            ".",
            "organisation_type",
            "where",
            "t3",
            ".",
            "organisation_type_description",
            "=",
            "value"
        ],
        "question": "What is the total grant amount of the organisations described as research?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "grant",
            "amount",
            "of",
            "the",
            "organisations",
            "described",
            "as",
            "research",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Research\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT sum(grant_amount) FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id  =  T2.organisation_id JOIN organisation_Types AS T3 ON T2.organisation_type  =  T3.organisation_type WHERE T3.organisation_type_description  =  'Research'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "grant_amount",
            ")",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Organisations",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.organisation_id",
            "JOIN",
            "organisation_Types",
            "AS",
            "T3",
            "ON",
            "T2.organisation_type",
            "=",
            "T3.organisation_type",
            "WHERE",
            "T3.organisation_type_description",
            "=",
            "'Research",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "grant_amount",
            ")",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "organisations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "organisation_id",
            "join",
            "organisation_types",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "organisation_type",
            "=",
            "t3",
            ".",
            "organisation_type",
            "where",
            "t3",
            ".",
            "organisation_type_description",
            "=",
            "value"
        ],
        "question": "What is the total amount of grant money for research?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "grant",
            "money",
            "for",
            "research",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Research\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT date_from ,  date_to FROM Project_Staff WHERE project_id IN( SELECT project_id FROM Project_Staff GROUP BY project_id ORDER BY count(*) DESC LIMIT 1 ) UNION SELECT date_from ,  date_to FROM Project_Staff WHERE role_code  =  'leader'",
        "query_toks": [
            "SELECT",
            "date_from",
            ",",
            "date_to",
            "FROM",
            "Project_Staff",
            "WHERE",
            "project_id",
            "IN",
            "(",
            "SELECT",
            "project_id",
            "FROM",
            "Project_Staff",
            "GROUP",
            "BY",
            "project_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")",
            "UNION",
            "SELECT",
            "date_from",
            ",",
            "date_to",
            "FROM",
            "Project_Staff",
            "WHERE",
            "role_code",
            "=",
            "'leader",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "date_from",
            ",",
            "date_to",
            "from",
            "project_staff",
            "where",
            "project_id",
            "in",
            "(",
            "select",
            "project_id",
            "from",
            "project_staff",
            "group",
            "by",
            "project_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")",
            "union",
            "select",
            "date_from",
            ",",
            "date_to",
            "from",
            "project_staff",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "List from which date and to which date these staff work: project staff of the project which hires the most staffs",
        "question_toks": [
            "List",
            "from",
            "which",
            "date",
            "and",
            "to",
            "which",
            "date",
            "these",
            "staff",
            "work",
            ":",
            "project",
            "staff",
            "of",
            "the",
            "project",
            "which",
            "hires",
            "the",
            "most",
            "staffs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                24,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    26,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    27,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"leader\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT date_from ,  date_to FROM Project_Staff WHERE project_id IN( SELECT project_id FROM Project_Staff GROUP BY project_id ORDER BY count(*) DESC LIMIT 1 ) UNION SELECT date_from ,  date_to FROM Project_Staff WHERE role_code  =  'leader'",
        "query_toks": [
            "SELECT",
            "date_from",
            ",",
            "date_to",
            "FROM",
            "Project_Staff",
            "WHERE",
            "project_id",
            "IN",
            "(",
            "SELECT",
            "project_id",
            "FROM",
            "Project_Staff",
            "GROUP",
            "BY",
            "project_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")",
            "UNION",
            "SELECT",
            "date_from",
            ",",
            "date_to",
            "FROM",
            "Project_Staff",
            "WHERE",
            "role_code",
            "=",
            "'leader",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "date_from",
            ",",
            "date_to",
            "from",
            "project_staff",
            "where",
            "project_id",
            "in",
            "(",
            "select",
            "project_id",
            "from",
            "project_staff",
            "group",
            "by",
            "project_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")",
            "union",
            "select",
            "date_from",
            ",",
            "date_to",
            "from",
            "project_staff",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "From what date and to what date do the staff work on a project that has the most staff and has staff in a leader role?",
        "question_toks": [
            "From",
            "what",
            "date",
            "and",
            "to",
            "what",
            "date",
            "do",
            "the",
            "staff",
            "work",
            "on",
            "a",
            "project",
            "that",
            "has",
            "the",
            "most",
            "staff",
            "and",
            "has",
            "staff",
            "in",
            "a",
            "leader",
            "role",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                24,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    26,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    27,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        "\"leader\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T2.organisation_id ,  T2.organisation_details FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id  =  T2.organisation_id GROUP BY T2.organisation_id HAVING sum(T1.grant_amount)  >  6000",
        "query_toks": [
            "SELECT",
            "T2.organisation_id",
            ",",
            "T2.organisation_details",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Organisations",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.organisation_id",
            "GROUP",
            "BY",
            "T2.organisation_id",
            "HAVING",
            "sum",
            "(",
            "T1.grant_amount",
            ")",
            ">",
            "6000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "organisation_id",
            ",",
            "t2",
            ".",
            "organisation_details",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "organisations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "organisation_id",
            "group",
            "by",
            "t2",
            ".",
            "organisation_id",
            "having",
            "sum",
            "(",
            "t1",
            ".",
            "grant_amount",
            ")",
            ">",
            "value"
        ],
        "question": "Find the organisation ids and details of the organisations which are involved in",
        "question_toks": [
            "Find",
            "the",
            "organisation",
            "ids",
            "and",
            "details",
            "of",
            "the",
            "organisations",
            "which",
            "are",
            "involved",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            11,
                            false
                        ],
                        null
                    ],
                    6000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T2.organisation_id ,  T2.organisation_details FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id  =  T2.organisation_id GROUP BY T2.organisation_id HAVING sum(T1.grant_amount)  >  6000",
        "query_toks": [
            "SELECT",
            "T2.organisation_id",
            ",",
            "T2.organisation_details",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Organisations",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.organisation_id",
            "GROUP",
            "BY",
            "T2.organisation_id",
            "HAVING",
            "sum",
            "(",
            "T1.grant_amount",
            ")",
            ">",
            "6000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "organisation_id",
            ",",
            "t2",
            ".",
            "organisation_details",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "organisations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "organisation_id",
            "group",
            "by",
            "t2",
            ".",
            "organisation_id",
            "having",
            "sum",
            "(",
            "t1",
            ".",
            "grant_amount",
            ")",
            ">",
            "value"
        ],
        "question": "What are the ids and details for all organizations that have grants of more than 6000 dollars?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "details",
            "for",
            "all",
            "organizations",
            "that",
            "have",
            "grants",
            "of",
            "more",
            "than",
            "6000",
            "dollars",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            11,
                            false
                        ],
                        null
                    ],
                    6000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_type ,  T1.organisation_id FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id  =  T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.organisation_type",
            ",",
            "T1.organisation_id",
            "FROM",
            "Organisations",
            "AS",
            "T1",
            "JOIN",
            "Research_Staff",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.employer_organisation_id",
            "GROUP",
            "BY",
            "T1.organisation_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_type",
            ",",
            "t1",
            ".",
            "organisation_id",
            "from",
            "organisations",
            "as",
            "t1",
            "join",
            "research_staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "employer_organisation_id",
            "group",
            "by",
            "t1",
            ".",
            "organisation_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the organisation type and id of the organisation which has the most number of research staff?",
        "question_toks": [
            "What",
            "is",
            "the",
            "organisation",
            "type",
            "and",
            "id",
            "of",
            "the",
            "organisation",
            "which",
            "has",
            "the",
            "most",
            "number",
            "of",
            "research",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_type ,  T1.organisation_id FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id  =  T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.organisation_type",
            ",",
            "T1.organisation_id",
            "FROM",
            "Organisations",
            "AS",
            "T1",
            "JOIN",
            "Research_Staff",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.employer_organisation_id",
            "GROUP",
            "BY",
            "T1.organisation_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_type",
            ",",
            "t1",
            ".",
            "organisation_id",
            "from",
            "organisations",
            "as",
            "t1",
            "join",
            "research_staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "employer_organisation_id",
            "group",
            "by",
            "t1",
            ".",
            "organisation_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the type and id of the organization that has the most research staff?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "and",
            "id",
            "of",
            "the",
            "organization",
            "that",
            "has",
            "the",
            "most",
            "research",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_type FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id  =  T2.employer_organisation_id GROUP BY T1.organisation_type ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.organisation_type",
            "FROM",
            "Organisations",
            "AS",
            "T1",
            "JOIN",
            "Research_Staff",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.employer_organisation_id",
            "GROUP",
            "BY",
            "T1.organisation_type",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_type",
            "from",
            "organisations",
            "as",
            "t1",
            "join",
            "research_staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "employer_organisation_id",
            "group",
            "by",
            "t1",
            ".",
            "organisation_type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which organisation type hires most research staff?",
        "question_toks": [
            "Which",
            "organisation",
            "type",
            "hires",
            "most",
            "research",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_type FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id  =  T2.employer_organisation_id GROUP BY T1.organisation_type ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.organisation_type",
            "FROM",
            "Organisations",
            "AS",
            "T1",
            "JOIN",
            "Research_Staff",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.employer_organisation_id",
            "GROUP",
            "BY",
            "T1.organisation_type",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_type",
            "from",
            "organisations",
            "as",
            "t1",
            "join",
            "research_staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "employer_organisation_id",
            "group",
            "by",
            "t1",
            ".",
            "organisation_type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the type of the organization with the most research staff?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "of",
            "the",
            "organization",
            "with",
            "the",
            "most",
            "research",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.sent_date FROM documents AS T1 JOIN Grants AS T2 ON T1.grant_id  =  T2.grant_id JOIN Organisations AS T3 ON T2.organisation_id  =  T3.organisation_id JOIN organisation_Types AS T4 ON T3.organisation_type  =  T4.organisation_type WHERE T2.grant_amount  >  5000 AND T4.organisation_type_description  =  'Research'",
        "query_toks": [
            "SELECT",
            "T1.sent_date",
            "FROM",
            "documents",
            "AS",
            "T1",
            "JOIN",
            "Grants",
            "AS",
            "T2",
            "ON",
            "T1.grant_id",
            "=",
            "T2.grant_id",
            "JOIN",
            "Organisations",
            "AS",
            "T3",
            "ON",
            "T2.organisation_id",
            "=",
            "T3.organisation_id",
            "JOIN",
            "organisation_Types",
            "AS",
            "T4",
            "ON",
            "T3.organisation_type",
            "=",
            "T4.organisation_type",
            "WHERE",
            "T2.grant_amount",
            ">",
            "5000",
            "AND",
            "T4.organisation_type_description",
            "=",
            "'Research",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "sent_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "grants",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t2",
            ".",
            "grant_id",
            "join",
            "organisations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "organisation_id",
            "=",
            "t3",
            ".",
            "organisation_id",
            "join",
            "organisation_types",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "organisation_type",
            "=",
            "t4",
            ".",
            "organisation_type",
            "where",
            "t2",
            ".",
            "grant_amount",
            ">",
            "value",
            "and",
            "t4",
            ".",
            "organisation_type_description",
            "=",
            "value"
        ],
        "question": "Find out the send dates of the documents with the grant amount of more than 5000 were granted by organisation type described",
        "question_toks": [
            "Find",
            "out",
            "the",
            "send",
            "dates",
            "of",
            "the",
            "documents",
            "with",
            "the",
            "grant",
            "amount",
            "of",
            "more",
            "than",
            "5000",
            "were",
            "granted",
            "by",
            "organisation",
            "type",
            "described"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Research\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.sent_date FROM documents AS T1 JOIN Grants AS T2 ON T1.grant_id  =  T2.grant_id JOIN Organisations AS T3 ON T2.organisation_id  =  T3.organisation_id JOIN organisation_Types AS T4 ON T3.organisation_type  =  T4.organisation_type WHERE T2.grant_amount  >  5000 AND T4.organisation_type_description  =  'Research'",
        "query_toks": [
            "SELECT",
            "T1.sent_date",
            "FROM",
            "documents",
            "AS",
            "T1",
            "JOIN",
            "Grants",
            "AS",
            "T2",
            "ON",
            "T1.grant_id",
            "=",
            "T2.grant_id",
            "JOIN",
            "Organisations",
            "AS",
            "T3",
            "ON",
            "T2.organisation_id",
            "=",
            "T3.organisation_id",
            "JOIN",
            "organisation_Types",
            "AS",
            "T4",
            "ON",
            "T3.organisation_type",
            "=",
            "T4.organisation_type",
            "WHERE",
            "T2.grant_amount",
            ">",
            "5000",
            "AND",
            "T4.organisation_type_description",
            "=",
            "'Research",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "sent_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "grants",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t2",
            ".",
            "grant_id",
            "join",
            "organisations",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "organisation_id",
            "=",
            "t3",
            ".",
            "organisation_id",
            "join",
            "organisation_types",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "organisation_type",
            "=",
            "t4",
            ".",
            "organisation_type",
            "where",
            "t2",
            ".",
            "grant_amount",
            ">",
            "value",
            "and",
            "t4",
            ".",
            "organisation_type_description",
            "=",
            "value"
        ],
        "question": "What are the send dates for all documents that have a grant amount of more than 5000 and are involved in research?",
        "question_toks": [
            "What",
            "are",
            "the",
            "send",
            "dates",
            "for",
            "all",
            "documents",
            "that",
            "have",
            "a",
            "grant",
            "amount",
            "of",
            "more",
            "than",
            "5000",
            "and",
            "are",
            "involved",
            "in",
            "research",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Research\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code  =  T2.document_type_code JOIN Grants AS T3 ON T1.grant_id  =  T3.grant_id WHERE T2.document_description  =  'Regular' OR T3.grant_amount  >  100",
        "query_toks": [
            "SELECT",
            "T1.response_received_date",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "Document_Types",
            "AS",
            "T2",
            "ON",
            "T1.document_type_code",
            "=",
            "T2.document_type_code",
            "JOIN",
            "Grants",
            "AS",
            "T3",
            "ON",
            "T1.grant_id",
            "=",
            "T3.grant_id",
            "WHERE",
            "T2.document_description",
            "=",
            "'Regular",
            "'",
            "OR",
            "T3.grant_amount",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "response_received_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_types",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_type_code",
            "=",
            "t2",
            ".",
            "document_type_code",
            "join",
            "grants",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t3",
            ".",
            "grant_id",
            "where",
            "t2",
            ".",
            "document_description",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "grant_amount",
            ">",
            "value"
        ],
        "question": "What are the response received dates for the documents described as 'Regular' or granted with more than 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "response",
            "received",
            "dates",
            "for",
            "the",
            "documents",
            "described",
            "as",
            "'Regular",
            "'",
            "or",
            "granted",
            "with",
            "more",
            "than",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Regular\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code  =  T2.document_type_code JOIN Grants AS T3 ON T1.grant_id  =  T3.grant_id WHERE T2.document_description  =  'Regular' OR T3.grant_amount  >  100",
        "query_toks": [
            "SELECT",
            "T1.response_received_date",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "Document_Types",
            "AS",
            "T2",
            "ON",
            "T1.document_type_code",
            "=",
            "T2.document_type_code",
            "JOIN",
            "Grants",
            "AS",
            "T3",
            "ON",
            "T1.grant_id",
            "=",
            "T3.grant_id",
            "WHERE",
            "T2.document_description",
            "=",
            "'Regular",
            "'",
            "OR",
            "T3.grant_amount",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "response_received_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_types",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_type_code",
            "=",
            "t2",
            ".",
            "document_type_code",
            "join",
            "grants",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t3",
            ".",
            "grant_id",
            "where",
            "t2",
            ".",
            "document_description",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "grant_amount",
            ">",
            "value"
        ],
        "question": "What is the response received date for the document described as Regular that was granted more than 100 dollars?",
        "question_toks": [
            "What",
            "is",
            "the",
            "response",
            "received",
            "date",
            "for",
            "the",
            "document",
            "described",
            "as",
            "Regular",
            "that",
            "was",
            "granted",
            "more",
            "than",
            "100",
            "dollars",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Regular\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT project_details FROM Projects WHERE project_id NOT IN ( SELECT project_id FROM Project_Staff WHERE role_code  =  'researcher' )",
        "query_toks": [
            "SELECT",
            "project_details",
            "FROM",
            "Projects",
            "WHERE",
            "project_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "project_id",
            "FROM",
            "Project_Staff",
            "WHERE",
            "role_code",
            "=",
            "'researcher",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "project_details",
            "from",
            "projects",
            "where",
            "project_id",
            "not",
            "in",
            "(",
            "select",
            "project_id",
            "from",
            "project_staff",
            "where",
            "role_code",
            "=",
            "value",
            ")"
        ],
        "question": "List the project details of the projects which did not hire any staff for a researcher role.",
        "question_toks": [
            "List",
            "the",
            "project",
            "details",
            "of",
            "the",
            "projects",
            "which",
            "did",
            "not",
            "hire",
            "any",
            "staff",
            "for",
            "a",
            "researcher",
            "role",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        25,
                                        false
                                    ],
                                    null
                                ],
                                "\"researcher\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT project_details FROM Projects WHERE project_id NOT IN ( SELECT project_id FROM Project_Staff WHERE role_code  =  'researcher' )",
        "query_toks": [
            "SELECT",
            "project_details",
            "FROM",
            "Projects",
            "WHERE",
            "project_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "project_id",
            "FROM",
            "Project_Staff",
            "WHERE",
            "role_code",
            "=",
            "'researcher",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "project_details",
            "from",
            "projects",
            "where",
            "project_id",
            "not",
            "in",
            "(",
            "select",
            "project_id",
            "from",
            "project_staff",
            "where",
            "role_code",
            "=",
            "value",
            ")"
        ],
        "question": "What are the details for all projects that did not hire any staff in a research role?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "for",
            "all",
            "projects",
            "that",
            "did",
            "not",
            "hire",
            "any",
            "staff",
            "in",
            "a",
            "research",
            "role",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        25,
                                        false
                                    ],
                                    null
                                ],
                                "\"researcher\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.task_details ,  T1.task_id ,  T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id WHERE T2.project_details  =  'omnis' UNION SELECT T1.task_details ,  T1.task_id ,  T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id JOIN Project_outcomes AS T3 ON T2.project_id  =  T3.project_id GROUP BY T2.project_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "T1.task_details",
            ",",
            "T1.task_id",
            ",",
            "T2.project_id",
            "FROM",
            "Tasks",
            "AS",
            "T1",
            "JOIN",
            "Projects",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.project_details",
            "=",
            "'omnis",
            "'",
            "UNION",
            "SELECT",
            "T1.task_details",
            ",",
            "T1.task_id",
            ",",
            "T2.project_id",
            "FROM",
            "Tasks",
            "AS",
            "T1",
            "JOIN",
            "Projects",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T3",
            "ON",
            "T2.project_id",
            "=",
            "T3.project_id",
            "GROUP",
            "BY",
            "T2.project_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "task_details",
            ",",
            "t1",
            ".",
            "task_id",
            ",",
            "t2",
            ".",
            "project_id",
            "from",
            "tasks",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "project_details",
            "=",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "task_details",
            ",",
            "t1",
            ".",
            "task_id",
            ",",
            "t2",
            ".",
            "project_id",
            "from",
            "tasks",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "join",
            "project_outcomes",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "project_id",
            "=",
            "t3",
            ".",
            "project_id",
            "group",
            "by",
            "t2",
            ".",
            "project_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the task details, task id and project id for the projects which are detailed as 'omnis' or  have more than 2 outcomes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "task",
            "details",
            ",",
            "task",
            "id",
            "and",
            "project",
            "id",
            "for",
            "the",
            "projects",
            "which",
            "are",
            "detailed",
            "as",
            "'omnis",
            "'",
            "or",
            "have",
            "more",
            "than",
            "2",
            "outcomes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"omnis\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            11
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    40,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    41,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    39,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        29,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.task_details ,  T1.task_id ,  T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id WHERE T2.project_details  =  'omnis' UNION SELECT T1.task_details ,  T1.task_id ,  T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id JOIN Project_outcomes AS T3 ON T2.project_id  =  T3.project_id GROUP BY T2.project_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "T1.task_details",
            ",",
            "T1.task_id",
            ",",
            "T2.project_id",
            "FROM",
            "Tasks",
            "AS",
            "T1",
            "JOIN",
            "Projects",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.project_details",
            "=",
            "'omnis",
            "'",
            "UNION",
            "SELECT",
            "T1.task_details",
            ",",
            "T1.task_id",
            ",",
            "T2.project_id",
            "FROM",
            "Tasks",
            "AS",
            "T1",
            "JOIN",
            "Projects",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T3",
            "ON",
            "T2.project_id",
            "=",
            "T3.project_id",
            "GROUP",
            "BY",
            "T2.project_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "task_details",
            ",",
            "t1",
            ".",
            "task_id",
            ",",
            "t2",
            ".",
            "project_id",
            "from",
            "tasks",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "project_details",
            "=",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "task_details",
            ",",
            "t1",
            ".",
            "task_id",
            ",",
            "t2",
            ".",
            "project_id",
            "from",
            "tasks",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "join",
            "project_outcomes",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "project_id",
            "=",
            "t3",
            ".",
            "project_id",
            "group",
            "by",
            "t2",
            ".",
            "project_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the task details, task ids, and project ids for the progrects that are detailed as 'omnis' or have at least 3 outcomes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "task",
            "details",
            ",",
            "task",
            "ids",
            ",",
            "and",
            "project",
            "ids",
            "for",
            "the",
            "progrects",
            "that",
            "are",
            "detailed",
            "as",
            "'omnis",
            "'",
            "or",
            "have",
            "at",
            "least",
            "3",
            "outcomes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"omnis\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            11
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    40,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    41,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    39,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    29,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        29,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT date_from ,  date_to FROM Project_Staff WHERE role_code  =  'researcher'",
        "query_toks": [
            "SELECT",
            "date_from",
            ",",
            "date_to",
            "FROM",
            "Project_Staff",
            "WHERE",
            "role_code",
            "=",
            "'researcher",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "date_from",
            ",",
            "date_to",
            "from",
            "project_staff",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "When do all the researcher role staff start to work, and when do they stop working?",
        "question_toks": [
            "When",
            "do",
            "all",
            "the",
            "researcher",
            "role",
            "staff",
            "start",
            "to",
            "work",
            ",",
            "and",
            "when",
            "do",
            "they",
            "stop",
            "working",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"researcher\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT date_from ,  date_to FROM Project_Staff WHERE role_code  =  'researcher'",
        "query_toks": [
            "SELECT",
            "date_from",
            ",",
            "date_to",
            "FROM",
            "Project_Staff",
            "WHERE",
            "role_code",
            "=",
            "'researcher",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "date_from",
            ",",
            "date_to",
            "from",
            "project_staff",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "When did researchers start and stop working?",
        "question_toks": [
            "When",
            "did",
            "researchers",
            "start",
            "and",
            "stop",
            "working",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"researcher\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(DISTINCT role_code) FROM Project_Staff",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "role_code",
            ")",
            "FROM",
            "Project_Staff"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "role_code",
            ")",
            "from",
            "project_staff"
        ],
        "question": "How many kinds of roles are there for the staff?",
        "question_toks": [
            "How",
            "many",
            "kinds",
            "of",
            "roles",
            "are",
            "there",
            "for",
            "the",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                25,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(DISTINCT role_code) FROM Project_Staff",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "role_code",
            ")",
            "FROM",
            "Project_Staff"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "role_code",
            ")",
            "from",
            "project_staff"
        ],
        "question": "How many different roles are there on the project staff?",
        "question_toks": [
            "How",
            "many",
            "different",
            "roles",
            "are",
            "there",
            "on",
            "the",
            "project",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                25,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT sum(grant_amount) ,  organisation_id FROM Grants GROUP BY organisation_id",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "grant_amount",
            ")",
            ",",
            "organisation_id",
            "FROM",
            "Grants",
            "GROUP",
            "BY",
            "organisation_id"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "grant_amount",
            ")",
            ",",
            "organisation_id",
            "from",
            "grants",
            "group",
            "by",
            "organisation_id"
        ],
        "question": "What is the total amount of grants given by each organisations? Also list the organisation id.",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "grants",
            "given",
            "by",
            "each",
            "organisations",
            "?",
            "Also",
            "list",
            "the",
            "organisation",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT sum(grant_amount) ,  organisation_id FROM Grants GROUP BY organisation_id",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "grant_amount",
            ")",
            ",",
            "organisation_id",
            "FROM",
            "Grants",
            "GROUP",
            "BY",
            "organisation_id"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "grant_amount",
            ")",
            ",",
            "organisation_id",
            "from",
            "grants",
            "group",
            "by",
            "organisation_id"
        ],
        "question": "What is the total amount of grant money given to each organization and what is its id?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "grant",
            "money",
            "given",
            "to",
            "each",
            "organization",
            "and",
            "what",
            "is",
            "its",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code  =  T3.outcome_code WHERE T3.outcome_description LIKE '%Published%'",
        "query_toks": [
            "SELECT",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "JOIN",
            "Research_outcomes",
            "AS",
            "T3",
            "ON",
            "T2.outcome_code",
            "=",
            "T3.outcome_code",
            "WHERE",
            "T3.outcome_description",
            "LIKE",
            "'",
            "%",
            "Published",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "join",
            "research_outcomes",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "outcome_code",
            "=",
            "t3",
            ".",
            "outcome_code",
            "where",
            "t3",
            ".",
            "outcome_description",
            "like",
            "value"
        ],
        "question": "List the project details of the projects with the research outcome described with the substring 'Published'.",
        "question_toks": [
            "List",
            "the",
            "project",
            "details",
            "of",
            "the",
            "projects",
            "with",
            "the",
            "research",
            "outcome",
            "described",
            "with",
            "the",
            "substring",
            "'Published",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"%Published%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code  =  T3.outcome_code WHERE T3.outcome_description LIKE '%Published%'",
        "query_toks": [
            "SELECT",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "JOIN",
            "Research_outcomes",
            "AS",
            "T3",
            "ON",
            "T2.outcome_code",
            "=",
            "T3.outcome_code",
            "WHERE",
            "T3.outcome_description",
            "LIKE",
            "'",
            "%",
            "Published",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "join",
            "research_outcomes",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "outcome_code",
            "=",
            "t3",
            ".",
            "outcome_code",
            "where",
            "t3",
            ".",
            "outcome_description",
            "like",
            "value"
        ],
        "question": "What are the details for the project whose research has been published?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "for",
            "the",
            "project",
            "whose",
            "research",
            "has",
            "been",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"%Published%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.project_id ,  count(*) FROM Project_Staff AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id ORDER BY count(*) ASC",
        "query_toks": [
            "SELECT",
            "T1.project_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Project_Staff",
            "AS",
            "T1",
            "JOIN",
            "Projects",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.project_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "project_staff",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "project_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc"
        ],
        "question": "How many staff does each project has? List the project id and the number in an ascending order.",
        "question_toks": [
            "How",
            "many",
            "staff",
            "does",
            "each",
            "project",
            "has",
            "?",
            "List",
            "the",
            "project",
            "id",
            "and",
            "the",
            "number",
            "in",
            "an",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.project_id ,  count(*) FROM Project_Staff AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id ORDER BY count(*) ASC",
        "query_toks": [
            "SELECT",
            "T1.project_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Project_Staff",
            "AS",
            "T1",
            "JOIN",
            "Projects",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.project_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "project_staff",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "project_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc"
        ],
        "question": "For each project id, how many staff does it have? List them in increasing order.",
        "question_toks": [
            "For",
            "each",
            "project",
            "id",
            ",",
            "how",
            "many",
            "staff",
            "does",
            "it",
            "have",
            "?",
            "List",
            "them",
            "in",
            "increasing",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT role_description FROM Staff_Roles WHERE role_code  =  'researcher'",
        "query_toks": [
            "SELECT",
            "role_description",
            "FROM",
            "Staff_Roles",
            "WHERE",
            "role_code",
            "=",
            "'researcher",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "role_description",
            "from",
            "staff_roles",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "What is the complete description of the researcher role.",
        "question_toks": [
            "What",
            "is",
            "the",
            "complete",
            "description",
            "of",
            "the",
            "researcher",
            "role",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"researcher\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT role_description FROM Staff_Roles WHERE role_code  =  'researcher'",
        "query_toks": [
            "SELECT",
            "role_description",
            "FROM",
            "Staff_Roles",
            "WHERE",
            "role_code",
            "=",
            "'researcher",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "role_description",
            "from",
            "staff_roles",
            "where",
            "role_code",
            "=",
            "value"
        ],
        "question": "What is the complete description of the job of a researcher?",
        "question_toks": [
            "What",
            "is",
            "the",
            "complete",
            "description",
            "of",
            "the",
            "job",
            "of",
            "a",
            "researcher",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"researcher\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT date_from FROM Project_Staff ORDER BY date_from ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "date_from",
            "FROM",
            "Project_Staff",
            "ORDER",
            "BY",
            "date_from",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date_from",
            "from",
            "project_staff",
            "order",
            "by",
            "date_from",
            "asc",
            "limit",
            "value"
        ],
        "question": "When did the first staff for the projects started working?",
        "question_toks": [
            "When",
            "did",
            "the",
            "first",
            "staff",
            "for",
            "the",
            "projects",
            "started",
            "working",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT date_from FROM Project_Staff ORDER BY date_from ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "date_from",
            "FROM",
            "Project_Staff",
            "ORDER",
            "BY",
            "date_from",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date_from",
            "from",
            "project_staff",
            "order",
            "by",
            "date_from",
            "asc",
            "limit",
            "value"
        ],
        "question": "When did the first staff member start working?",
        "question_toks": [
            "When",
            "did",
            "the",
            "first",
            "staff",
            "member",
            "start",
            "working",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.project_details ,  T1.project_id FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.project_details",
            ",",
            "T1.project_id",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.project_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_details",
            ",",
            "t1",
            ".",
            "project_id",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "project_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which project made the most number of outcomes? List the project details and the project id.",
        "question_toks": [
            "Which",
            "project",
            "made",
            "the",
            "most",
            "number",
            "of",
            "outcomes",
            "?",
            "List",
            "the",
            "project",
            "details",
            "and",
            "the",
            "project",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.project_details ,  T1.project_id FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.project_details",
            ",",
            "T1.project_id",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.project_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_details",
            ",",
            "t1",
            ".",
            "project_id",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "project_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the details and id of the project with the most outcomes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "and",
            "id",
            "of",
            "the",
            "project",
            "with",
            "the",
            "most",
            "outcomes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT project_details FROM Projects WHERE project_id NOT IN ( SELECT project_id FROM Project_outcomes )",
        "query_toks": [
            "SELECT",
            "project_details",
            "FROM",
            "Projects",
            "WHERE",
            "project_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "project_id",
            "FROM",
            "Project_outcomes",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "project_details",
            "from",
            "projects",
            "where",
            "project_id",
            "not",
            "in",
            "(",
            "select",
            "project_id",
            "from",
            "project_outcomes",
            ")"
        ],
        "question": "Which projects have no outcome? List the project details.",
        "question_toks": [
            "Which",
            "projects",
            "have",
            "no",
            "outcome",
            "?",
            "List",
            "the",
            "project",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            20,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT project_details FROM Projects WHERE project_id NOT IN ( SELECT project_id FROM Project_outcomes )",
        "query_toks": [
            "SELECT",
            "project_details",
            "FROM",
            "Projects",
            "WHERE",
            "project_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "project_id",
            "FROM",
            "Project_outcomes",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "project_details",
            "from",
            "projects",
            "where",
            "project_id",
            "not",
            "in",
            "(",
            "select",
            "project_id",
            "from",
            "project_outcomes",
            ")"
        ],
        "question": "What are the details of the project with no outcomes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "the",
            "project",
            "with",
            "no",
            "outcomes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            20,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_id ,  T1.organisation_type ,  T1.organisation_details FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id  =  T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.organisation_id",
            ",",
            "T1.organisation_type",
            ",",
            "T1.organisation_details",
            "FROM",
            "Organisations",
            "AS",
            "T1",
            "JOIN",
            "Research_Staff",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.employer_organisation_id",
            "GROUP",
            "BY",
            "T1.organisation_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_id",
            ",",
            "t1",
            ".",
            "organisation_type",
            ",",
            "t1",
            ".",
            "organisation_details",
            "from",
            "organisations",
            "as",
            "t1",
            "join",
            "research_staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "employer_organisation_id",
            "group",
            "by",
            "t1",
            ".",
            "organisation_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which organisation hired the most number of research staff? List the organisation id, type and detail.",
        "question_toks": [
            "Which",
            "organisation",
            "hired",
            "the",
            "most",
            "number",
            "of",
            "research",
            "staff",
            "?",
            "List",
            "the",
            "organisation",
            "id",
            ",",
            "type",
            "and",
            "detail",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_id ,  T1.organisation_type ,  T1.organisation_details FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id  =  T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.organisation_id",
            ",",
            "T1.organisation_type",
            ",",
            "T1.organisation_details",
            "FROM",
            "Organisations",
            "AS",
            "T1",
            "JOIN",
            "Research_Staff",
            "AS",
            "T2",
            "ON",
            "T1.organisation_id",
            "=",
            "T2.employer_organisation_id",
            "GROUP",
            "BY",
            "T1.organisation_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_id",
            ",",
            "t1",
            ".",
            "organisation_type",
            ",",
            "t1",
            ".",
            "organisation_details",
            "from",
            "organisations",
            "as",
            "t1",
            "join",
            "research_staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_id",
            "=",
            "t2",
            ".",
            "employer_organisation_id",
            "group",
            "by",
            "t1",
            ".",
            "organisation_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the ids, types, and details of the organization with the most research staff?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "types",
            ",",
            "and",
            "details",
            "of",
            "the",
            "organization",
            "with",
            "the",
            "most",
            "research",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.role_description ,  T2.staff_id FROM Staff_Roles AS T1 JOIN Project_Staff AS T2 ON T1.role_code  =  T2.role_code JOIN Project_outcomes AS T3 ON T2.project_id  =  T3.project_id GROUP BY T2.staff_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.role_description",
            ",",
            "T2.staff_id",
            "FROM",
            "Staff_Roles",
            "AS",
            "T1",
            "JOIN",
            "Project_Staff",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T3",
            "ON",
            "T2.project_id",
            "=",
            "T3.project_id",
            "GROUP",
            "BY",
            "T2.staff_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "role_description",
            ",",
            "t2",
            ".",
            "staff_id",
            "from",
            "staff_roles",
            "as",
            "t1",
            "join",
            "project_staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "join",
            "project_outcomes",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "project_id",
            "=",
            "t3",
            ".",
            "project_id",
            "group",
            "by",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the role description and the id of the project staff involved in most number of project outcomes?",
        "question_toks": [
            "Show",
            "the",
            "role",
            "description",
            "and",
            "the",
            "id",
            "of",
            "the",
            "project",
            "staff",
            "involved",
            "in",
            "most",
            "number",
            "of",
            "project",
            "outcomes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.role_description ,  T2.staff_id FROM Staff_Roles AS T1 JOIN Project_Staff AS T2 ON T1.role_code  =  T2.role_code JOIN Project_outcomes AS T3 ON T2.project_id  =  T3.project_id GROUP BY T2.staff_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.role_description",
            ",",
            "T2.staff_id",
            "FROM",
            "Staff_Roles",
            "AS",
            "T1",
            "JOIN",
            "Project_Staff",
            "AS",
            "T2",
            "ON",
            "T1.role_code",
            "=",
            "T2.role_code",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T3",
            "ON",
            "T2.project_id",
            "=",
            "T3.project_id",
            "GROUP",
            "BY",
            "T2.staff_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "role_description",
            ",",
            "t2",
            ".",
            "staff_id",
            "from",
            "staff_roles",
            "as",
            "t1",
            "join",
            "project_staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "role_code",
            "=",
            "t2",
            ".",
            "role_code",
            "join",
            "project_outcomes",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "project_id",
            "=",
            "t3",
            ".",
            "project_id",
            "group",
            "by",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "For each staff id, what is the description of the role that is involved with the most number of projects?",
        "question_toks": [
            "For",
            "each",
            "staff",
            "id",
            ",",
            "what",
            "is",
            "the",
            "description",
            "of",
            "the",
            "role",
            "that",
            "is",
            "involved",
            "with",
            "the",
            "most",
            "number",
            "of",
            "projects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT document_type_code FROM Document_Types WHERE document_description LIKE 'Initial%'",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Document_Types",
            "WHERE",
            "document_description",
            "LIKE",
            "'Initial",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "document_types",
            "where",
            "document_description",
            "like",
            "value"
        ],
        "question": "Which document type is described with the prefix 'Initial'?",
        "question_toks": [
            "Which",
            "document",
            "type",
            "is",
            "described",
            "with",
            "the",
            "prefix",
            "'Initial",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Initial%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT document_type_code FROM Document_Types WHERE document_description LIKE 'Initial%'",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Document_Types",
            "WHERE",
            "document_description",
            "LIKE",
            "'Initial",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "document_types",
            "where",
            "document_description",
            "like",
            "value"
        ],
        "question": "What is the type of the document whose description starts with the word 'Initial'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "of",
            "the",
            "document",
            "whose",
            "description",
            "starts",
            "with",
            "the",
            "word",
            "'Initial",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Initial%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.grant_start_date FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id  =  T2.grant_id JOIN Document_Types AS T3 ON T2.document_type_code  =  T3.document_type_code WHERE T3.document_description  =  'Regular' INTERSECT SELECT T1.grant_start_date FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id  =  T2.grant_id JOIN Document_Types AS T3 ON T2.document_type_code  =  T3.document_type_code WHERE T3.document_description  =  'Initial Application'",
        "query_toks": [
            "SELECT",
            "T1.grant_start_date",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.grant_id",
            "=",
            "T2.grant_id",
            "JOIN",
            "Document_Types",
            "AS",
            "T3",
            "ON",
            "T2.document_type_code",
            "=",
            "T3.document_type_code",
            "WHERE",
            "T3.document_description",
            "=",
            "'Regular",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.grant_start_date",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.grant_id",
            "=",
            "T2.grant_id",
            "JOIN",
            "Document_Types",
            "AS",
            "T3",
            "ON",
            "T2.document_type_code",
            "=",
            "T3.document_type_code",
            "WHERE",
            "T3.document_description",
            "=",
            "'Initial",
            "Application",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "grant_start_date",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t2",
            ".",
            "grant_id",
            "join",
            "document_types",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "document_type_code",
            "=",
            "t3",
            ".",
            "document_type_code",
            "where",
            "t3",
            ".",
            "document_description",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "grant_start_date",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t2",
            ".",
            "grant_id",
            "join",
            "document_types",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "document_type_code",
            "=",
            "t3",
            ".",
            "document_type_code",
            "where",
            "t3",
            ".",
            "document_description",
            "=",
            "value"
        ],
        "question": "For grants with both documents described as 'Regular' and documents described as 'Initial Application', list its start date.",
        "question_toks": [
            "For",
            "grants",
            "with",
            "both",
            "documents",
            "described",
            "as",
            "'Regular",
            "'",
            "and",
            "documents",
            "described",
            "as",
            "'Initial",
            "Application",
            "'",
            ",",
            "list",
            "its",
            "start",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Regular\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Initial Application\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.grant_start_date FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id  =  T2.grant_id JOIN Document_Types AS T3 ON T2.document_type_code  =  T3.document_type_code WHERE T3.document_description  =  'Regular' INTERSECT SELECT T1.grant_start_date FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id  =  T2.grant_id JOIN Document_Types AS T3 ON T2.document_type_code  =  T3.document_type_code WHERE T3.document_description  =  'Initial Application'",
        "query_toks": [
            "SELECT",
            "T1.grant_start_date",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.grant_id",
            "=",
            "T2.grant_id",
            "JOIN",
            "Document_Types",
            "AS",
            "T3",
            "ON",
            "T2.document_type_code",
            "=",
            "T3.document_type_code",
            "WHERE",
            "T3.document_description",
            "=",
            "'Regular",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.grant_start_date",
            "FROM",
            "Grants",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.grant_id",
            "=",
            "T2.grant_id",
            "JOIN",
            "Document_Types",
            "AS",
            "T3",
            "ON",
            "T2.document_type_code",
            "=",
            "T3.document_type_code",
            "WHERE",
            "T3.document_description",
            "=",
            "'Initial",
            "Application",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "grant_start_date",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t2",
            ".",
            "grant_id",
            "join",
            "document_types",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "document_type_code",
            "=",
            "t3",
            ".",
            "document_type_code",
            "where",
            "t3",
            ".",
            "document_description",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "grant_start_date",
            "from",
            "grants",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grant_id",
            "=",
            "t2",
            ".",
            "grant_id",
            "join",
            "document_types",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "document_type_code",
            "=",
            "t3",
            ".",
            "document_type_code",
            "where",
            "t3",
            ".",
            "document_description",
            "=",
            "value"
        ],
        "question": "For grants that have descriptions of Regular and Initial Applications, what are their start dates?",
        "question_toks": [
            "For",
            "grants",
            "that",
            "have",
            "descriptions",
            "of",
            "Regular",
            "and",
            "Initial",
            "Applications",
            ",",
            "what",
            "are",
            "their",
            "start",
            "dates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Regular\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Initial Application\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT grant_id ,  count(*) FROM Documents GROUP BY grant_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "grant_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "grant_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "grant_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "grant_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many documents can one grant have at most? List the grant id and number.",
        "question_toks": [
            "How",
            "many",
            "documents",
            "can",
            "one",
            "grant",
            "have",
            "at",
            "most",
            "?",
            "List",
            "the",
            "grant",
            "id",
            "and",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT grant_id ,  count(*) FROM Documents GROUP BY grant_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "grant_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "grant_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "grant_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "grant_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "For each grant id, how many documents does it have, and which one has the most?",
        "question_toks": [
            "For",
            "each",
            "grant",
            "id",
            ",",
            "how",
            "many",
            "documents",
            "does",
            "it",
            "have",
            ",",
            "and",
            "which",
            "one",
            "has",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_type_description FROM organisation_Types AS T1 JOIN Organisations AS T2 ON T1.organisation_type  =  T2.organisation_type WHERE T2.organisation_details  =  'quo'",
        "query_toks": [
            "SELECT",
            "T1.organisation_type_description",
            "FROM",
            "organisation_Types",
            "AS",
            "T1",
            "JOIN",
            "Organisations",
            "AS",
            "T2",
            "ON",
            "T1.organisation_type",
            "=",
            "T2.organisation_type",
            "WHERE",
            "T2.organisation_details",
            "=",
            "'quo",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_type_description",
            "from",
            "organisation_types",
            "as",
            "t1",
            "join",
            "organisations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_type",
            "=",
            "t2",
            ".",
            "organisation_type",
            "where",
            "t2",
            ".",
            "organisation_details",
            "=",
            "value"
        ],
        "question": "Find the organisation type description of the organisation detailed as 'quo'.",
        "question_toks": [
            "Find",
            "the",
            "organisation",
            "type",
            "description",
            "of",
            "the",
            "organisation",
            "detailed",
            "as",
            "'quo",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"quo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_type_description FROM organisation_Types AS T1 JOIN Organisations AS T2 ON T1.organisation_type  =  T2.organisation_type WHERE T2.organisation_details  =  'quo'",
        "query_toks": [
            "SELECT",
            "T1.organisation_type_description",
            "FROM",
            "organisation_Types",
            "AS",
            "T1",
            "JOIN",
            "Organisations",
            "AS",
            "T2",
            "ON",
            "T1.organisation_type",
            "=",
            "T2.organisation_type",
            "WHERE",
            "T2.organisation_details",
            "=",
            "'quo",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_type_description",
            "from",
            "organisation_types",
            "as",
            "t1",
            "join",
            "organisations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_type",
            "=",
            "t2",
            ".",
            "organisation_type",
            "where",
            "t2",
            ".",
            "organisation_details",
            "=",
            "value"
        ],
        "question": "What is the type description of the organization whose detail is listed as 'quo'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "description",
            "of",
            "the",
            "organization",
            "whose",
            "detail",
            "is",
            "listed",
            "as",
            "'quo",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"quo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT organisation_details FROM Organisations AS T1 JOIN organisation_Types AS T2 ON T1.organisation_type  =  T2.organisation_type WHERE T2.organisation_type_description  =  'Sponsor' ORDER BY organisation_details",
        "query_toks": [
            "SELECT",
            "organisation_details",
            "FROM",
            "Organisations",
            "AS",
            "T1",
            "JOIN",
            "organisation_Types",
            "AS",
            "T2",
            "ON",
            "T1.organisation_type",
            "=",
            "T2.organisation_type",
            "WHERE",
            "T2.organisation_type_description",
            "=",
            "'Sponsor",
            "'",
            "ORDER",
            "BY",
            "organisation_details"
        ],
        "query_toks_no_value": [
            "select",
            "organisation_details",
            "from",
            "organisations",
            "as",
            "t1",
            "join",
            "organisation_types",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_type",
            "=",
            "t2",
            ".",
            "organisation_type",
            "where",
            "t2",
            ".",
            "organisation_type_description",
            "=",
            "value",
            "order",
            "by",
            "organisation_details"
        ],
        "question": "What are all the details of the organisations described as 'Sponsor'? Sort the result in an ascending order.",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "details",
            "of",
            "the",
            "organisations",
            "described",
            "as",
            "'Sponsor",
            "'",
            "?",
            "Sort",
            "the",
            "result",
            "in",
            "an",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Sponsor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT organisation_details FROM Organisations AS T1 JOIN organisation_Types AS T2 ON T1.organisation_type  =  T2.organisation_type WHERE T2.organisation_type_description  =  'Sponsor' ORDER BY organisation_details",
        "query_toks": [
            "SELECT",
            "organisation_details",
            "FROM",
            "Organisations",
            "AS",
            "T1",
            "JOIN",
            "organisation_Types",
            "AS",
            "T2",
            "ON",
            "T1.organisation_type",
            "=",
            "T2.organisation_type",
            "WHERE",
            "T2.organisation_type_description",
            "=",
            "'Sponsor",
            "'",
            "ORDER",
            "BY",
            "organisation_details"
        ],
        "query_toks_no_value": [
            "select",
            "organisation_details",
            "from",
            "organisations",
            "as",
            "t1",
            "join",
            "organisation_types",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organisation_type",
            "=",
            "t2",
            ".",
            "organisation_type",
            "where",
            "t2",
            ".",
            "organisation_type_description",
            "=",
            "value",
            "order",
            "by",
            "organisation_details"
        ],
        "question": "What are the details of all organizations that are described as Sponsors and sort the results in ascending order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "all",
            "organizations",
            "that",
            "are",
            "described",
            "as",
            "Sponsors",
            "and",
            "sort",
            "the",
            "results",
            "in",
            "ascending",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Sponsor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(*) FROM Project_outcomes WHERE outcome_code  =  'Patent'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Project_outcomes",
            "WHERE",
            "outcome_code",
            "=",
            "'Patent",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "project_outcomes",
            "where",
            "outcome_code",
            "=",
            "value"
        ],
        "question": "How many Patent outcomes are generated from all the projects?",
        "question_toks": [
            "How",
            "many",
            "Patent",
            "outcomes",
            "are",
            "generated",
            "from",
            "all",
            "the",
            "projects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Patent\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(*) FROM Project_outcomes WHERE outcome_code  =  'Patent'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Project_outcomes",
            "WHERE",
            "outcome_code",
            "=",
            "'Patent",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "project_outcomes",
            "where",
            "outcome_code",
            "=",
            "value"
        ],
        "question": "How many patents outcomes were listed for all the projects?",
        "question_toks": [
            "How",
            "many",
            "patents",
            "outcomes",
            "were",
            "listed",
            "for",
            "all",
            "the",
            "projects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Patent\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(*) FROM Project_Staff WHERE role_code  =  'leader' OR date_from  <  '1989-04-24 23:51:54'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Project_Staff",
            "WHERE",
            "role_code",
            "=",
            "'leader",
            "'",
            "OR",
            "date_from",
            "<",
            "'1989-04-24",
            "23:51:54",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "project_staff",
            "where",
            "role_code",
            "=",
            "value",
            "or",
            "date_from",
            "<",
            "value"
        ],
        "question": "How many project staff worked as leaders or started working before '1989-04-24 23:51:54'?",
        "question_toks": [
            "How",
            "many",
            "project",
            "staff",
            "worked",
            "as",
            "leaders",
            "or",
            "started",
            "working",
            "before",
            "'1989-04-24",
            "23:51:54",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"leader\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"1989-04-24 23:51:54\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(*) FROM Project_Staff WHERE role_code  =  'leader' OR date_from  <  '1989-04-24 23:51:54'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Project_Staff",
            "WHERE",
            "role_code",
            "=",
            "'leader",
            "'",
            "OR",
            "date_from",
            "<",
            "'1989-04-24",
            "23:51:54",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "project_staff",
            "where",
            "role_code",
            "=",
            "value",
            "or",
            "date_from",
            "<",
            "value"
        ],
        "question": "How many project members were leaders or started working before '1989-04-24 23:51:54'?",
        "question_toks": [
            "How",
            "many",
            "project",
            "members",
            "were",
            "leaders",
            "or",
            "started",
            "working",
            "before",
            "'1989-04-24",
            "23:51:54",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"leader\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"1989-04-24 23:51:54\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT date_to FROM Project_Staff ORDER BY date_to DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "date_to",
            "FROM",
            "Project_Staff",
            "ORDER",
            "BY",
            "date_to",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date_to",
            "from",
            "project_staff",
            "order",
            "by",
            "date_to",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last date of the staff leaving the projects?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "date",
            "of",
            "the",
            "staff",
            "leaving",
            "the",
            "projects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT date_to FROM Project_Staff ORDER BY date_to DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "date_to",
            "FROM",
            "Project_Staff",
            "ORDER",
            "BY",
            "date_to",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "date_to",
            "from",
            "project_staff",
            "order",
            "by",
            "date_to",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last date that a staff member left a project?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "date",
            "that",
            "a",
            "staff",
            "member",
            "left",
            "a",
            "project",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_code  =  T2.outcome_code JOIN Projects AS T3 ON T2.project_id  =  T3.project_id WHERE T3.project_details  =  'sint'",
        "query_toks": [
            "SELECT",
            "T1.outcome_description",
            "FROM",
            "Research_outcomes",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.outcome_code",
            "=",
            "T2.outcome_code",
            "JOIN",
            "Projects",
            "AS",
            "T3",
            "ON",
            "T2.project_id",
            "=",
            "T3.project_id",
            "WHERE",
            "T3.project_details",
            "=",
            "'sint",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "outcome_description",
            "from",
            "research_outcomes",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "outcome_code",
            "=",
            "t2",
            ".",
            "outcome_code",
            "join",
            "projects",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "project_id",
            "=",
            "t3",
            ".",
            "project_id",
            "where",
            "t3",
            ".",
            "project_details",
            "=",
            "value"
        ],
        "question": "What are the result description of the project whose detail is 'sint'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "result",
            "description",
            "of",
            "the",
            "project",
            "whose",
            "detail",
            "is",
            "'sint",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"sint\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_code  =  T2.outcome_code JOIN Projects AS T3 ON T2.project_id  =  T3.project_id WHERE T3.project_details  =  'sint'",
        "query_toks": [
            "SELECT",
            "T1.outcome_description",
            "FROM",
            "Research_outcomes",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.outcome_code",
            "=",
            "T2.outcome_code",
            "JOIN",
            "Projects",
            "AS",
            "T3",
            "ON",
            "T2.project_id",
            "=",
            "T3.project_id",
            "WHERE",
            "T3.project_details",
            "=",
            "'sint",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "outcome_description",
            "from",
            "research_outcomes",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "outcome_code",
            "=",
            "t2",
            ".",
            "outcome_code",
            "join",
            "projects",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "project_id",
            "=",
            "t3",
            ".",
            "project_id",
            "where",
            "t3",
            ".",
            "project_details",
            "=",
            "value"
        ],
        "question": "What is the description for the results whose project detail is 'sint'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "for",
            "the",
            "results",
            "whose",
            "project",
            "detail",
            "is",
            "'sint",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"sint\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_id ,  count(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.organisation_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.organisation_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.organisation_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "organisation_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the organisation id with the maximum outcome count, and the count.",
        "question_toks": [
            "List",
            "the",
            "organisation",
            "id",
            "with",
            "the",
            "maximum",
            "outcome",
            "count",
            ",",
            "and",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.organisation_id ,  count(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.organisation_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.organisation_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.organisation_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organisation_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "organisation_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the organization with the maximum number of outcomes and how many outcomes are there?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "organization",
            "with",
            "the",
            "maximum",
            "number",
            "of",
            "outcomes",
            "and",
            "how",
            "many",
            "outcomes",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT project_details FROM Projects WHERE organisation_id IN ( SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY count(*) DESC LIMIT 1 )",
        "query_toks": [
            "SELECT",
            "project_details",
            "FROM",
            "Projects",
            "WHERE",
            "organisation_id",
            "IN",
            "(",
            "SELECT",
            "organisation_id",
            "FROM",
            "Projects",
            "GROUP",
            "BY",
            "organisation_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "project_details",
            "from",
            "projects",
            "where",
            "organisation_id",
            "in",
            "(",
            "select",
            "organisation_id",
            "from",
            "projects",
            "group",
            "by",
            "organisation_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "List the project details of the projects launched by the organisation",
        "question_toks": [
            "List",
            "the",
            "project",
            "details",
            "of",
            "the",
            "projects",
            "launched",
            "by",
            "the",
            "organisation"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            30,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                30,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT project_details FROM Projects WHERE organisation_id IN ( SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY count(*) DESC LIMIT 1 )",
        "query_toks": [
            "SELECT",
            "project_details",
            "FROM",
            "Projects",
            "WHERE",
            "organisation_id",
            "IN",
            "(",
            "SELECT",
            "organisation_id",
            "FROM",
            "Projects",
            "GROUP",
            "BY",
            "organisation_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "project_details",
            "from",
            "projects",
            "where",
            "organisation_id",
            "in",
            "(",
            "select",
            "organisation_id",
            "from",
            "projects",
            "group",
            "by",
            "organisation_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the details for the projects which were launched by the organization with the most projects?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "for",
            "the",
            "projects",
            "which",
            "were",
            "launched",
            "by",
            "the",
            "organization",
            "with",
            "the",
            "most",
            "projects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            30,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                30,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT staff_details FROM Research_Staff ORDER BY staff_details ASC",
        "query_toks": [
            "SELECT",
            "staff_details",
            "FROM",
            "Research_Staff",
            "ORDER",
            "BY",
            "staff_details",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "staff_details",
            "from",
            "research_staff",
            "order",
            "by",
            "staff_details",
            "asc"
        ],
        "question": "List the research staff details, and order in ascending order.",
        "question_toks": [
            "List",
            "the",
            "research",
            "staff",
            "details",
            ",",
            "and",
            "order",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT staff_details FROM Research_Staff ORDER BY staff_details ASC",
        "query_toks": [
            "SELECT",
            "staff_details",
            "FROM",
            "Research_Staff",
            "ORDER",
            "BY",
            "staff_details",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "staff_details",
            "from",
            "research_staff",
            "order",
            "by",
            "staff_details",
            "asc"
        ],
        "question": "What details are there on the research staff? List the result in ascending alphabetical order.",
        "question_toks": [
            "What",
            "details",
            "are",
            "there",
            "on",
            "the",
            "research",
            "staff",
            "?",
            "List",
            "the",
            "result",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(*) FROM Tasks",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Tasks"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tasks"
        ],
        "question": "How many tasks are there in total?",
        "question_toks": [
            "How",
            "many",
            "tasks",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(*) FROM Tasks",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Tasks"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tasks"
        ],
        "question": "How many tasks are there?",
        "question_toks": [
            "How",
            "many",
            "tasks",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(*) ,  T1.project_details FROM Projects AS T1 JOIN Tasks AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Tasks",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.project_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "tasks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "project_id"
        ],
        "question": "How many tasks does each project have? List the task count and the project detail.",
        "question_toks": [
            "How",
            "many",
            "tasks",
            "does",
            "each",
            "project",
            "have",
            "?",
            "List",
            "the",
            "task",
            "count",
            "and",
            "the",
            "project",
            "detail",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT count(*) ,  T1.project_details FROM Projects AS T1 JOIN Tasks AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Tasks",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.project_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "tasks",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "project_id"
        ],
        "question": "For each project id, how many tasks are there?",
        "question_toks": [
            "For",
            "each",
            "project",
            "id",
            ",",
            "how",
            "many",
            "tasks",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT role_code FROM Project_Staff WHERE date_from  >  '2003-04-19 15:06:20' AND date_to  <  '2016-03-15 00:33:18'",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Project_Staff",
            "WHERE",
            "date_from",
            ">",
            "'2003-04-19",
            "15:06:20",
            "'",
            "AND",
            "date_to",
            "<",
            "'2016-03-15",
            "00:33:18",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "project_staff",
            "where",
            "date_from",
            ">",
            "value",
            "and",
            "date_to",
            "<",
            "value"
        ],
        "question": "What are the staff roles of the staff who",
        "question_toks": [
            "What",
            "are",
            "the",
            "staff",
            "roles",
            "of",
            "the",
            "staff",
            "who"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"2003-04-19 15:06:20\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"2016-03-15 00:33:18\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT role_code FROM Project_Staff WHERE date_from  >  '2003-04-19 15:06:20' AND date_to  <  '2016-03-15 00:33:18'",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Project_Staff",
            "WHERE",
            "date_from",
            ">",
            "'2003-04-19",
            "15:06:20",
            "'",
            "AND",
            "date_to",
            "<",
            "'2016-03-15",
            "00:33:18",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "project_staff",
            "where",
            "date_from",
            ">",
            "value",
            "and",
            "date_to",
            "<",
            "value"
        ],
        "question": "What roles did staff members play between '2003-04-19 15:06:20' and '2016-03-15 00:33:18'?",
        "question_toks": [
            "What",
            "roles",
            "did",
            "staff",
            "members",
            "play",
            "between",
            "'2003-04-19",
            "15:06:20",
            "'",
            "and",
            "'2016-03-15",
            "00:33:18",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"2003-04-19 15:06:20\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"2016-03-15 00:33:18\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_code  =  T2.outcome_code",
        "query_toks": [
            "SELECT",
            "T1.outcome_description",
            "FROM",
            "Research_outcomes",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.outcome_code",
            "=",
            "T2.outcome_code"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "outcome_description",
            "from",
            "research_outcomes",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "outcome_code",
            "=",
            "t2",
            ".",
            "outcome_code"
        ],
        "question": "What are the descriptions of all the project outcomes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "descriptions",
            "of",
            "all",
            "the",
            "project",
            "outcomes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_code  =  T2.outcome_code",
        "query_toks": [
            "SELECT",
            "T1.outcome_description",
            "FROM",
            "Research_outcomes",
            "AS",
            "T1",
            "JOIN",
            "Project_outcomes",
            "AS",
            "T2",
            "ON",
            "T1.outcome_code",
            "=",
            "T2.outcome_code"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "outcome_description",
            "from",
            "research_outcomes",
            "as",
            "t1",
            "join",
            "project_outcomes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "outcome_code",
            "=",
            "t2",
            ".",
            "outcome_code"
        ],
        "question": "List the description of the outcomes for all projects.",
        "question_toks": [
            "List",
            "the",
            "description",
            "of",
            "the",
            "outcomes",
            "for",
            "all",
            "projects",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT role_code FROM Project_Staff GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Project_Staff",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "project_staff",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which role is most common for the staff?",
        "question_toks": [
            "Which",
            "role",
            "is",
            "most",
            "common",
            "for",
            "the",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_grants_for_research",
        "query": "SELECT role_code FROM Project_Staff GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "role_code",
            "FROM",
            "Project_Staff",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "role_code",
            "from",
            "project_staff",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common role for the staff?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "role",
            "for",
            "the",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(T2.friend) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T1.name  =  'Dan'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "T2.friend",
            ")",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T1.name",
            "=",
            "'Dan",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t2",
            ".",
            "friend",
            ")",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many friends does Dan have?",
        "question_toks": [
            "How",
            "many",
            "friends",
            "does",
            "Dan",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Dan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(T2.friend) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T1.name  =  'Dan'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "T2.friend",
            ")",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T1.name",
            "=",
            "'Dan",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t2",
            ".",
            "friend",
            ")",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many friends does Dan have?",
        "question_toks": [
            "How",
            "many",
            "friends",
            "does",
            "Dan",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Dan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(*) FROM Person WHERE gender  =  'female'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Person",
            "WHERE",
            "gender",
            "=",
            "'female",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value"
        ],
        "question": "How many females does this network has?",
        "question_toks": [
            "How",
            "many",
            "females",
            "does",
            "this",
            "network",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(*) FROM Person WHERE gender  =  'female'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Person",
            "WHERE",
            "gender",
            "=",
            "'female",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value"
        ],
        "question": "How many females are in the network?",
        "question_toks": [
            "How",
            "many",
            "females",
            "are",
            "in",
            "the",
            "network",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT avg(age) FROM Person",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "Person"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "person"
        ],
        "question": "What is the average age for all person?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "for",
            "all",
            "person",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT avg(age) FROM Person",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "Person"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "person"
        ],
        "question": "What is the average age for all people in the table?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "for",
            "all",
            "people",
            "in",
            "the",
            "table",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(DISTINCT city) FROM Person",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "Person"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "person"
        ],
        "question": "How many different cities are they from?",
        "question_toks": [
            "How",
            "many",
            "different",
            "cities",
            "are",
            "they",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(DISTINCT city) FROM Person",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "Person"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "person"
        ],
        "question": "How many different cities do people originate from?",
        "question_toks": [
            "How",
            "many",
            "different",
            "cities",
            "do",
            "people",
            "originate",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(DISTINCT job) FROM Person",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "job",
            ")",
            "FROM",
            "Person"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "job",
            ")",
            "from",
            "person"
        ],
        "question": "How many type of jobs do they have?",
        "question_toks": [
            "How",
            "many",
            "type",
            "of",
            "jobs",
            "do",
            "they",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(DISTINCT job) FROM Person",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "job",
            ")",
            "FROM",
            "Person"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "job",
            ")",
            "from",
            "person"
        ],
        "question": "How many different jobs are listed?",
        "question_toks": [
            "How",
            "many",
            "different",
            "jobs",
            "are",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE age  =  (SELECT max(age) FROM person)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            "=",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "person",
            ")"
        ],
        "question": "Who is the oldest person?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "oldest",
            "person",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE age  =  (SELECT max(age) FROM person)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            "=",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "person",
            ")"
        ],
        "question": "What is the name of the person who is the oldest?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "person",
            "who",
            "is",
            "the",
            "oldest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE job  =  'student' AND age  =  (SELECT max(age) FROM person WHERE job  =  'student' )",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "job",
            "=",
            "'student",
            "'",
            "AND",
            "age",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            "WHERE",
            "job",
            "=",
            "'student",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            "and",
            "age",
            "=",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            ")"
        ],
        "question": "Who is the oldest person whose job is student?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "oldest",
            "person",
            "whose",
            "job",
            "is",
            "student",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"student\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"student\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE job  =  'student' AND age  =  (SELECT max(age) FROM person WHERE job  =  'student' )",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "job",
            "=",
            "'student",
            "'",
            "AND",
            "age",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            "WHERE",
            "job",
            "=",
            "'student",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            "and",
            "age",
            "=",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            ")"
        ],
        "question": "What is the name of the oldest student?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "oldest",
            "student",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"student\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"student\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE gender  =  'male' AND age  =  (SELECT min(age) FROM person WHERE gender  =  'male' )",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            "AND",
            "age",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value",
            "and",
            "age",
            "=",
            "(",
            "select",
            "min",
            "(",
            "age",
            ")",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value",
            ")"
        ],
        "question": "Who is the youngest male?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "youngest",
            "male",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"male\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE gender  =  'male' AND age  =  (SELECT min(age) FROM person WHERE gender  =  'male' )",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            "AND",
            "age",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value",
            "and",
            "age",
            "=",
            "(",
            "select",
            "min",
            "(",
            "age",
            ")",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value",
            ")"
        ],
        "question": "What is the name of the youngest male?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "youngest",
            "male",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"male\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT age FROM Person WHERE job  =  'doctor' AND name  =  'Zach'",
        "query_toks": [
            "SELECT",
            "age",
            "FROM",
            "Person",
            "WHERE",
            "job",
            "=",
            "'doctor",
            "'",
            "AND",
            "name",
            "=",
            "'Zach",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            "and",
            "name",
            "=",
            "value"
        ],
        "question": "How old is the doctor named Zach?",
        "question_toks": [
            "How",
            "old",
            "is",
            "the",
            "doctor",
            "named",
            "Zach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"doctor\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Zach\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT age FROM Person WHERE job  =  'doctor' AND name  =  'Zach'",
        "query_toks": [
            "SELECT",
            "age",
            "FROM",
            "Person",
            "WHERE",
            "job",
            "=",
            "'doctor",
            "'",
            "AND",
            "name",
            "=",
            "'Zach",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            "and",
            "name",
            "=",
            "value"
        ],
        "question": "What is the age of the doctor named Zach?",
        "question_toks": [
            "What",
            "is",
            "the",
            "age",
            "of",
            "the",
            "doctor",
            "named",
            "Zach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"doctor\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Zach\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE age  <  30",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "<",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "Who is the person whose age is below 30?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "person",
            "whose",
            "age",
            "is",
            "below",
            "30",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE age  <  30",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "<",
            "30"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "What is the name of the person whose age is below 30?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "person",
            "whose",
            "age",
            "is",
            "below",
            "30",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(*) FROM Person WHERE age  >  30 AND job  =  'engineer'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "30",
            "AND",
            "job",
            "=",
            "'engineer",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "person",
            "where",
            "age",
            ">",
            "value",
            "and",
            "job",
            "=",
            "value"
        ],
        "question": "How many people whose age is greater 30 and job is engineer?",
        "question_toks": [
            "How",
            "many",
            "people",
            "whose",
            "age",
            "is",
            "greater",
            "30",
            "and",
            "job",
            "is",
            "engineer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"engineer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(*) FROM Person WHERE age  >  30 AND job  =  'engineer'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "30",
            "AND",
            "job",
            "=",
            "'engineer",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "person",
            "where",
            "age",
            ">",
            "value",
            "and",
            "job",
            "=",
            "value"
        ],
        "question": "HOw many engineers are older than 30?",
        "question_toks": [
            "HOw",
            "many",
            "engineers",
            "are",
            "older",
            "than",
            "30",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"engineer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT avg(age) ,  gender FROM Person GROUP BY gender",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "gender",
            "FROM",
            "Person",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "gender",
            "from",
            "person",
            "group",
            "by",
            "gender"
        ],
        "question": "What is the average age for each gender?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "for",
            "each",
            "gender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT avg(age) ,  gender FROM Person GROUP BY gender",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "gender",
            "FROM",
            "Person",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "gender",
            "from",
            "person",
            "group",
            "by",
            "gender"
        ],
        "question": "How old is each gender, on average?",
        "question_toks": [
            "How",
            "old",
            "is",
            "each",
            "gender",
            ",",
            "on",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT avg(age) ,  job FROM Person GROUP BY job",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "job",
            "FROM",
            "Person",
            "GROUP",
            "BY",
            "job"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "job",
            "from",
            "person",
            "group",
            "by",
            "job"
        ],
        "question": "What is average age for different job title?",
        "question_toks": [
            "What",
            "is",
            "average",
            "age",
            "for",
            "different",
            "job",
            "title",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT avg(age) ,  job FROM Person GROUP BY job",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "job",
            "FROM",
            "Person",
            "GROUP",
            "BY",
            "job"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "job",
            "from",
            "person",
            "group",
            "by",
            "job"
        ],
        "question": "How old is the average person for each job?",
        "question_toks": [
            "How",
            "old",
            "is",
            "the",
            "average",
            "person",
            "for",
            "each",
            "job",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT avg(age) ,  job FROM Person WHERE gender  =  'male' GROUP BY job",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "job",
            "FROM",
            "Person",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            "GROUP",
            "BY",
            "job"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "job",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value",
            "group",
            "by",
            "job"
        ],
        "question": "What is average age of male for different job title?",
        "question_toks": [
            "What",
            "is",
            "average",
            "age",
            "of",
            "male",
            "for",
            "different",
            "job",
            "title",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT avg(age) ,  job FROM Person WHERE gender  =  'male' GROUP BY job",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "job",
            "FROM",
            "Person",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            "GROUP",
            "BY",
            "job"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "job",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value",
            "group",
            "by",
            "job"
        ],
        "question": "What is the average age for a male in each job?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "for",
            "a",
            "male",
            "in",
            "each",
            "job",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT min(age) ,  job FROM Person GROUP BY job",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            ",",
            "job",
            "FROM",
            "Person",
            "GROUP",
            "BY",
            "job"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "age",
            ")",
            ",",
            "job",
            "from",
            "person",
            "group",
            "by",
            "job"
        ],
        "question": "What is minimum age for different job title?",
        "question_toks": [
            "What",
            "is",
            "minimum",
            "age",
            "for",
            "different",
            "job",
            "title",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT min(age) ,  job FROM Person GROUP BY job",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            ",",
            "job",
            "FROM",
            "Person",
            "GROUP",
            "BY",
            "job"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "age",
            ")",
            ",",
            "job",
            "from",
            "person",
            "group",
            "by",
            "job"
        ],
        "question": "How old is the youngest person for each job?",
        "question_toks": [
            "How",
            "old",
            "is",
            "the",
            "youngest",
            "person",
            "for",
            "each",
            "job",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(*) ,  gender FROM Person WHERE age  <  40 GROUP BY gender",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "gender",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "<",
            "40",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "gender",
            "from",
            "person",
            "where",
            "age",
            "<",
            "value",
            "group",
            "by",
            "gender"
        ],
        "question": "Find the number of people who is under 40 for each gender.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "people",
            "who",
            "is",
            "under",
            "40",
            "for",
            "each",
            "gender",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(*) ,  gender FROM Person WHERE age  <  40 GROUP BY gender",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "gender",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "<",
            "40",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "gender",
            "from",
            "person",
            "where",
            "age",
            "<",
            "value",
            "group",
            "by",
            "gender"
        ],
        "question": "How many people are under 40 for each gender?",
        "question_toks": [
            "How",
            "many",
            "people",
            "are",
            "under",
            "40",
            "for",
            "each",
            "gender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE age  >  (SELECT min(age) FROM person WHERE job  =  'engineer') ORDER BY age",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            "WHERE",
            "job",
            "=",
            "'engineer",
            "'",
            ")",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            ">",
            "(",
            "select",
            "min",
            "(",
            "age",
            ")",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            ")",
            "order",
            "by",
            "age"
        ],
        "question": "Find the name of people whose age is greater than any engineer sorted by their age.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "people",
            "whose",
            "age",
            "is",
            "greater",
            "than",
            "any",
            "engineer",
            "sorted",
            "by",
            "their",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"engineer\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE age  >  (SELECT min(age) FROM person WHERE job  =  'engineer') ORDER BY age",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            "WHERE",
            "job",
            "=",
            "'engineer",
            "'",
            ")",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            ">",
            "(",
            "select",
            "min",
            "(",
            "age",
            ")",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            ")",
            "order",
            "by",
            "age"
        ],
        "question": "What is the name of all the people who are older than at least one engineer? Order them by age.",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "all",
            "the",
            "people",
            "who",
            "are",
            "older",
            "than",
            "at",
            "least",
            "one",
            "engineer",
            "?",
            "Order",
            "them",
            "by",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"engineer\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(*) FROM Person WHERE age  >  (SELECT max(age) FROM person WHERE job  =  'engineer')",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            "WHERE",
            "job",
            "=",
            "'engineer",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "person",
            "where",
            "age",
            ">",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            ")"
        ],
        "question": "Find the number of people whose age is greater than all engineers.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "people",
            "whose",
            "age",
            "is",
            "greater",
            "than",
            "all",
            "engineers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"engineer\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(*) FROM Person WHERE age  >  (SELECT max(age) FROM person WHERE job  =  'engineer')",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            "WHERE",
            "job",
            "=",
            "'engineer",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "person",
            "where",
            "age",
            ">",
            "(",
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "person",
            "where",
            "job",
            "=",
            "value",
            ")"
        ],
        "question": "How many people are older than every engineer?",
        "question_toks": [
            "How",
            "many",
            "people",
            "are",
            "older",
            "than",
            "every",
            "engineer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"engineer\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name ,  job FROM Person ORDER BY name",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "job",
            "FROM",
            "Person",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "job",
            "from",
            "person",
            "order",
            "by",
            "name"
        ],
        "question": "list the name, job title of all people ordered by their names.",
        "question_toks": [
            "list",
            "the",
            "name",
            ",",
            "job",
            "title",
            "of",
            "all",
            "people",
            "ordered",
            "by",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name ,  job FROM Person ORDER BY name",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "job",
            "FROM",
            "Person",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "job",
            "from",
            "person",
            "order",
            "by",
            "name"
        ],
        "question": "What are the names and job titles of every person ordered alphabetically by name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "job",
            "titles",
            "of",
            "every",
            "person",
            "ordered",
            "alphabetically",
            "by",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person ORDER BY age DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "ORDER",
            "BY",
            "age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "Find the names of all person sorted in the descending order using age.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "person",
            "sorted",
            "in",
            "the",
            "descending",
            "order",
            "using",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person ORDER BY age DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "ORDER",
            "BY",
            "age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "What are the names of everybody sorted by age in descending order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "everybody",
            "sorted",
            "by",
            "age",
            "in",
            "descending",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE gender  =  'male' ORDER BY age",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value",
            "order",
            "by",
            "age"
        ],
        "question": "Find the name and age of all males in order of their age.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "age",
            "of",
            "all",
            "males",
            "in",
            "order",
            "of",
            "their",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM Person WHERE gender  =  'male' ORDER BY age",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "where",
            "gender",
            "=",
            "value",
            "order",
            "by",
            "age"
        ],
        "question": "What is the name and age of every male? Order the results by age.",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "age",
            "of",
            "every",
            "male",
            "?",
            "Order",
            "the",
            "results",
            "by",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name ,  T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Dan' INTERSECT SELECT T1.name ,   T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Alice'",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Dan",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            ",",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Alice",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value"
        ],
        "question": "Find the name and age of the person who is a friend of both Dan and Alice.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "age",
            "of",
            "the",
            "person",
            "who",
            "is",
            "a",
            "friend",
            "of",
            "both",
            "Dan",
            "and",
            "Alice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Dan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"Alice\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name ,  T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Dan' INTERSECT SELECT T1.name ,   T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Alice'",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Dan",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            ",",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Alice",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value"
        ],
        "question": "What are the names and ages of every person who is a friend of both Dan and Alice?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ages",
            "of",
            "every",
            "person",
            "who",
            "is",
            "a",
            "friend",
            "of",
            "both",
            "Dan",
            "and",
            "Alice",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Dan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"Alice\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT DISTINCT T1.name ,  T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Dan' OR T2.friend  =  'Alice'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            ",",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Dan",
            "'",
            "OR",
            "T2.friend",
            "=",
            "'Alice",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "friend",
            "=",
            "value"
        ],
        "question": "Find the name and age of the person who is a friend of Dan or Alice.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "age",
            "of",
            "the",
            "person",
            "who",
            "is",
            "a",
            "friend",
            "of",
            "Dan",
            "or",
            "Alice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Dan\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT DISTINCT T1.name ,  T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Dan' OR T2.friend  =  'Alice'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            ",",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Dan",
            "'",
            "OR",
            "T2.friend",
            "=",
            "'Alice",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "friend",
            "=",
            "value"
        ],
        "question": "What are the different names and ages of every friend of either Dan or alice?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "and",
            "ages",
            "of",
            "every",
            "friend",
            "of",
            "either",
            "Dan",
            "or",
            "alice",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Dan\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  >  40) INTERSECT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  <  30)",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "40",
            ")",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "<",
            "30",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            ">",
            "value",
            ")",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            "<",
            "value",
            ")"
        ],
        "question": "Find the name of the person who has friends with age above 40 and under age 30?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "person",
            "who",
            "has",
            "friends",
            "with",
            "age",
            "above",
            "40",
            "and",
            "under",
            "age",
            "30",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                40.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        8,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        0
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                1,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    4,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ],
                                    30.0,
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  >  40) INTERSECT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  <  30)",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "40",
            ")",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "<",
            "30",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            ">",
            "value",
            ")",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            "<",
            "value",
            ")"
        ],
        "question": "What are the names of every person who has a friend over 40 and under 30?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "every",
            "person",
            "who",
            "has",
            "a",
            "friend",
            "over",
            "40",
            "and",
            "under",
            "30",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                40.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        8,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        0
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                1,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    4,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ],
                                    30.0,
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  >  40) EXCEPT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  <  30)",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "40",
            ")",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "<",
            "30",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            ">",
            "value",
            ")",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            "<",
            "value",
            ")"
        ],
        "question": "Find the name of the person who has friends with age above 40 but not under age 30?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "person",
            "who",
            "has",
            "friends",
            "with",
            "age",
            "above",
            "40",
            "but",
            "not",
            "under",
            "age",
            "30",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                40.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        8,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        0
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                1,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    4,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ],
                                    30.0,
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  >  40) EXCEPT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  <  30)",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            ">",
            "40",
            ")",
            "EXCEPT",
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "Person",
            "WHERE",
            "age",
            "<",
            "30",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            ">",
            "value",
            ")",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "age",
            "<",
            "value",
            ")"
        ],
        "question": "What are the names of the people who are older 40 but no friends under age 30?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "people",
            "who",
            "are",
            "older",
            "40",
            "but",
            "no",
            "friends",
            "under",
            "age",
            "30",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                40.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        8,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        0
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                1,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    4,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ],
                                    30.0,
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM person EXCEPT SELECT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.job  =  'student'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "person",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T1.job",
            "=",
            "'student",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t1",
            ".",
            "job",
            "=",
            "value"
        ],
        "question": "Find the name of the person who has no student friends.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "person",
            "who",
            "has",
            "no",
            "student",
            "friends",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"student\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM person EXCEPT SELECT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.job  =  'student'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "person",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T1.job",
            "=",
            "'student",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t1",
            ".",
            "job",
            "=",
            "value"
        ],
        "question": "What are the names of the people who have no friends who are students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "people",
            "who",
            "have",
            "no",
            "friends",
            "who",
            "are",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"student\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM PersonFriend GROUP BY name HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "PersonFriend",
            "GROUP",
            "BY",
            "name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "personfriend",
            "group",
            "by",
            "name",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Find the person who has exactly one friend.",
        "question_toks": [
            "Find",
            "the",
            "person",
            "who",
            "has",
            "exactly",
            "one",
            "friend",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM PersonFriend GROUP BY name HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "PersonFriend",
            "GROUP",
            "BY",
            "name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "personfriend",
            "group",
            "by",
            "name",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the names of everybody who has exactly one friend?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "everybody",
            "who",
            "has",
            "exactly",
            "one",
            "friend",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T1.name  =  'Bob'",
        "query_toks": [
            "SELECT",
            "T2.friend",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T1.name",
            "=",
            "'Bob",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "friend",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Who are the friends of Bob?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "friends",
            "of",
            "Bob",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Bob\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T1.name  =  'Bob'",
        "query_toks": [
            "SELECT",
            "T2.friend",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T1.name",
            "=",
            "'Bob",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "friend",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Who are Bob's friends?",
        "question_toks": [
            "Who",
            "are",
            "Bob",
            "'s",
            "friends",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Bob\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Bob'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Bob",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value"
        ],
        "question": "Find the name of persons who are friends with Bob.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "persons",
            "who",
            "are",
            "friends",
            "with",
            "Bob",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Bob\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Bob'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Bob",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value"
        ],
        "question": "What are the names of all of Bob's friends?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "of",
            "Bob",
            "'s",
            "friends",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Bob\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Zach' AND T1.gender  =  'female'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Zach",
            "'",
            "AND",
            "T1.gender",
            "=",
            "'female",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "gender",
            "=",
            "value"
        ],
        "question": "Find the names of females who are friends with Zach",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "females",
            "who",
            "are",
            "friends",
            "with",
            "Zach"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Zach\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend  =  'Zach' AND T1.gender  =  'female'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Zach",
            "'",
            "AND",
            "T1.gender",
            "=",
            "'female",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "gender",
            "=",
            "value"
        ],
        "question": "What are the names of all females who are friends with Zach?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "females",
            "who",
            "are",
            "friends",
            "with",
            "Zach",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Zach\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T2.name  =  'Alice' AND T1.gender  =  'female'",
        "query_toks": [
            "SELECT",
            "T2.friend",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T2.name",
            "=",
            "'Alice",
            "'",
            "AND",
            "T1.gender",
            "=",
            "'female",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "friend",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "gender",
            "=",
            "value"
        ],
        "question": "Find the female friends of Alice.",
        "question_toks": [
            "Find",
            "the",
            "female",
            "friends",
            "of",
            "Alice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T2.name  =  'Alice' AND T1.gender  =  'female'",
        "query_toks": [
            "SELECT",
            "T2.friend",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T2.name",
            "=",
            "'Alice",
            "'",
            "AND",
            "T1.gender",
            "=",
            "'female",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "friend",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "gender",
            "=",
            "value"
        ],
        "question": "What are all the friends of Alice who are female?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "friends",
            "of",
            "Alice",
            "who",
            "are",
            "female",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T2.name  =  'Alice' AND T1.gender  =  'male' AND T1.job  =  'doctor'",
        "query_toks": [
            "SELECT",
            "T2.friend",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T2.name",
            "=",
            "'Alice",
            "'",
            "AND",
            "T1.gender",
            "=",
            "'male",
            "'",
            "AND",
            "T1.job",
            "=",
            "'doctor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "friend",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "gender",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "job",
            "=",
            "value"
        ],
        "question": "Find the male friend of Alice whose job is a doctor?",
        "question_toks": [
            "Find",
            "the",
            "male",
            "friend",
            "of",
            "Alice",
            "whose",
            "job",
            "is",
            "a",
            "doctor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"doctor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T2.name  =  'Alice' AND T1.gender  =  'male' AND T1.job  =  'doctor'",
        "query_toks": [
            "SELECT",
            "T2.friend",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T2.name",
            "=",
            "'Alice",
            "'",
            "AND",
            "T1.gender",
            "=",
            "'male",
            "'",
            "AND",
            "T1.job",
            "=",
            "'doctor",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "friend",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "gender",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "job",
            "=",
            "value"
        ],
        "question": "Who are the friends of Alice that are doctors?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "friends",
            "of",
            "Alice",
            "that",
            "are",
            "doctors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"doctor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.city  =  'new york city'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T1.city",
            "=",
            "'new",
            "york",
            "city",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Who has a friend that is from new york city?",
        "question_toks": [
            "Who",
            "has",
            "a",
            "friend",
            "that",
            "is",
            "from",
            "new",
            "york",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"new york city\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.city  =  'new york city'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T1.city",
            "=",
            "'new",
            "york",
            "city",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "What are the names of all friends who are from New York?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "friends",
            "who",
            "are",
            "from",
            "New",
            "York",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"new york city\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT DISTINCT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.age  <  (SELECT avg(age) FROM person)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T1.age",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t1",
            ".",
            "age",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "person",
            ")"
        ],
        "question": "Who has friends that are younger than the average age?",
        "question_toks": [
            "Who",
            "has",
            "friends",
            "that",
            "are",
            "younger",
            "than",
            "the",
            "average",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT DISTINCT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.age  <  (SELECT avg(age) FROM person)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T1.age",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t1",
            ".",
            "age",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "person",
            ")"
        ],
        "question": "What are the different names of friends who are younger than the average age for a friend?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "of",
            "friends",
            "who",
            "are",
            "younger",
            "than",
            "the",
            "average",
            "age",
            "for",
            "a",
            "friend",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT DISTINCT T2.name ,  T2.friend ,  T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.age  >  (SELECT avg(age) FROM person)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            ",",
            "T2.friend",
            ",",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T1.age",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "friend",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t1",
            ".",
            "age",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "person",
            ")"
        ],
        "question": "Who has friends that are older than the average age? Print their friends and their ages as well",
        "question_toks": [
            "Who",
            "has",
            "friends",
            "that",
            "are",
            "older",
            "than",
            "the",
            "average",
            "age",
            "?",
            "Print",
            "their",
            "friends",
            "and",
            "their",
            "ages",
            "as",
            "well"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT DISTINCT T2.name ,  T2.friend ,  T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T1.age  >  (SELECT avg(age) FROM person)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.name",
            ",",
            "T2.friend",
            ",",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T1.age",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "person",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "friend",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t1",
            ".",
            "age",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "person",
            ")"
        ],
        "question": "Whare the names, friends, and ages of all people who are older than the average age of a person?",
        "question_toks": [
            "Whare",
            "the",
            "names",
            ",",
            "friends",
            ",",
            "and",
            "ages",
            "of",
            "all",
            "people",
            "who",
            "are",
            "older",
            "than",
            "the",
            "average",
            "age",
            "of",
            "a",
            "person",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT friend FROM PersonFriend WHERE name =  'Zach' AND YEAR  =  (SELECT max(YEAR) FROM PersonFriend WHERE name =  'Zach')",
        "query_toks": [
            "SELECT",
            "friend",
            "FROM",
            "PersonFriend",
            "WHERE",
            "name",
            "=",
            "'Zach",
            "'",
            "AND",
            "YEAR",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "name",
            "=",
            "'Zach",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "friend",
            "from",
            "personfriend",
            "where",
            "name",
            "=",
            "value",
            "and",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "personfriend",
            "where",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "Who is the friend of Zach with longest year relationship?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "friend",
            "of",
            "Zach",
            "with",
            "longest",
            "year",
            "relationship",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Zach\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Zach\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT friend FROM PersonFriend WHERE name =  'Zach' AND YEAR  =  (SELECT max(YEAR) FROM PersonFriend WHERE name =  'Zach')",
        "query_toks": [
            "SELECT",
            "friend",
            "FROM",
            "PersonFriend",
            "WHERE",
            "name",
            "=",
            "'Zach",
            "'",
            "AND",
            "YEAR",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "name",
            "=",
            "'Zach",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "friend",
            "from",
            "personfriend",
            "where",
            "name",
            "=",
            "value",
            "and",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "personfriend",
            "where",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "Which friend of Zach has the longest-lasting friendship?",
        "question_toks": [
            "Which",
            "friend",
            "of",
            "Zach",
            "has",
            "the",
            "longest-lasting",
            "friendship",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Zach\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Zach\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T2.name =  'Zach' AND T2.year  =  (SELECT max(YEAR) FROM PersonFriend WHERE name =  'Zach')",
        "query_toks": [
            "SELECT",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T2.name",
            "=",
            "'Zach",
            "'",
            "AND",
            "T2.year",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "name",
            "=",
            "'Zach",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "personfriend",
            "where",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "What is the age of the friend of Zach with longest year relationship?",
        "question_toks": [
            "What",
            "is",
            "the",
            "age",
            "of",
            "the",
            "friend",
            "of",
            "Zach",
            "with",
            "longest",
            "year",
            "relationship",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Zach\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Zach\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend WHERE T2.name =  'Zach' AND T2.year  =  (SELECT max(YEAR) FROM PersonFriend WHERE name =  'Zach')",
        "query_toks": [
            "SELECT",
            "T1.age",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "WHERE",
            "T2.name",
            "=",
            "'Zach",
            "'",
            "AND",
            "T2.year",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "name",
            "=",
            "'Zach",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "age",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "personfriend",
            "where",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the ages of all of Zach's friends who are in the longest relationship?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ages",
            "of",
            "all",
            "of",
            "Zach",
            "'s",
            "friends",
            "who",
            "are",
            "in",
            "the",
            "longest",
            "relationship",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Zach\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Zach\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM PersonFriend WHERE friend =  'Alice' AND YEAR  =  (SELECT min(YEAR) FROM PersonFriend WHERE friend =  'Alice')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "PersonFriend",
            "WHERE",
            "friend",
            "=",
            "'Alice",
            "'",
            "AND",
            "YEAR",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "YEAR",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "friend",
            "=",
            "'Alice",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "personfriend",
            "where",
            "friend",
            "=",
            "value",
            "and",
            "year",
            "=",
            "(",
            "select",
            "min",
            "(",
            "year",
            ")",
            "from",
            "personfriend",
            "where",
            "friend",
            "=",
            "value",
            ")"
        ],
        "question": "Find the name of persons who are friends with Alice for the shortest years.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "persons",
            "who",
            "are",
            "friends",
            "with",
            "Alice",
            "for",
            "the",
            "shortest",
            "years",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ],
                                "\"Alice\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM PersonFriend WHERE friend =  'Alice' AND YEAR  =  (SELECT min(YEAR) FROM PersonFriend WHERE friend =  'Alice')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "PersonFriend",
            "WHERE",
            "friend",
            "=",
            "'Alice",
            "'",
            "AND",
            "YEAR",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "YEAR",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "friend",
            "=",
            "'Alice",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "personfriend",
            "where",
            "friend",
            "=",
            "value",
            "and",
            "year",
            "=",
            "(",
            "select",
            "min",
            "(",
            "year",
            ")",
            "from",
            "personfriend",
            "where",
            "friend",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of all people who are friends with Alice for the shortest amount of time?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "people",
            "who",
            "are",
            "friends",
            "with",
            "Alice",
            "for",
            "the",
            "shortest",
            "amount",
            "of",
            "time",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ],
                                "\"Alice\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name ,  T1.age ,  T1.job FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend =  'Alice' AND T2.year  =  (SELECT max(YEAR) FROM PersonFriend WHERE friend =  'Alice')",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.age",
            ",",
            "T1.job",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Alice",
            "'",
            "AND",
            "T2.year",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "friend",
            "=",
            "'Alice",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            ",",
            "t1",
            ".",
            "job",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "personfriend",
            "where",
            "friend",
            "=",
            "value",
            ")"
        ],
        "question": "Find the name, age, and job title of persons who are friends with Alice for the longest years.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "age",
            ",",
            "and",
            "job",
            "title",
            "of",
            "persons",
            "who",
            "are",
            "friends",
            "with",
            "Alice",
            "for",
            "the",
            "longest",
            "years",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ],
                                "\"Alice\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T1.name ,  T1.age ,  T1.job FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend =  'Alice' AND T2.year  =  (SELECT max(YEAR) FROM PersonFriend WHERE friend =  'Alice')",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.age",
            ",",
            "T1.job",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "WHERE",
            "T2.friend",
            "=",
            "'Alice",
            "'",
            "AND",
            "T2.year",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "YEAR",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "friend",
            "=",
            "'Alice",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            ",",
            "t1",
            ".",
            "job",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "friend",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "personfriend",
            "where",
            "friend",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names, ages, and jobs of all people who are friends with Alice for the longest amount of time?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "ages",
            ",",
            "and",
            "jobs",
            "of",
            "all",
            "people",
            "who",
            "are",
            "friends",
            "with",
            "Alice",
            "for",
            "the",
            "longest",
            "amount",
            "of",
            "time",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ],
                                "\"Alice\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM person EXCEPT SELECT name FROM PersonFriend",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "person",
            "EXCEPT",
            "SELECT",
            "name",
            "FROM",
            "PersonFriend"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "except",
            "select",
            "name",
            "from",
            "personfriend"
        ],
        "question": "Who is the person that has no friend?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "person",
            "that",
            "has",
            "no",
            "friend",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT name FROM person EXCEPT SELECT name FROM PersonFriend",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "person",
            "EXCEPT",
            "SELECT",
            "name",
            "FROM",
            "PersonFriend"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "person",
            "except",
            "select",
            "name",
            "from",
            "personfriend"
        ],
        "question": "What are the names of all people who do not have friends?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "people",
            "who",
            "do",
            "not",
            "have",
            "friends",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.name ,  avg(T1.age) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend GROUP BY T2.name ORDER BY avg(T1.age) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "avg",
            "(",
            "T1.age",
            ")",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "GROUP",
            "BY",
            "T2.name",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.age",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which person whose friends have the oldest average age?",
        "question_toks": [
            "Which",
            "person",
            "whose",
            "friends",
            "have",
            "the",
            "oldest",
            "average",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT T2.name ,  avg(T1.age) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.friend GROUP BY T2.name ORDER BY avg(T1.age) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "avg",
            "(",
            "T1.age",
            ")",
            "FROM",
            "Person",
            "AS",
            "T1",
            "JOIN",
            "PersonFriend",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.friend",
            "GROUP",
            "BY",
            "T2.name",
            "ORDER",
            "BY",
            "avg",
            "(",
            "T1.age",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "from",
            "person",
            "as",
            "t1",
            "join",
            "personfriend",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "friend",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the person who has the oldest average age for their friends, and what is that average age?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "person",
            "who",
            "has",
            "the",
            "oldest",
            "average",
            "age",
            "for",
            "their",
            "friends",
            ",",
            "and",
            "what",
            "is",
            "that",
            "average",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(DISTINCT name) FROM PersonFriend WHERE friend NOT IN (SELECT name FROM person WHERE city  =  'Austin')",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "friend",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "person",
            "WHERE",
            "city",
            "=",
            "'Austin",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "personfriend",
            "where",
            "friend",
            "not",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "city",
            "=",
            "value",
            ")"
        ],
        "question": "What is the total number of people who has no friend living in the city of Austin.",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "people",
            "who",
            "has",
            "no",
            "friend",
            "living",
            "in",
            "the",
            "city",
            "of",
            "Austin",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"Austin\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT count(DISTINCT name) FROM PersonFriend WHERE friend NOT IN (SELECT name FROM person WHERE city  =  'Austin')",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "PersonFriend",
            "WHERE",
            "friend",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "name",
            "FROM",
            "person",
            "WHERE",
            "city",
            "=",
            "'Austin",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "personfriend",
            "where",
            "friend",
            "not",
            "in",
            "(",
            "select",
            "name",
            "from",
            "person",
            "where",
            "city",
            "=",
            "value",
            ")"
        ],
        "question": "What is the total number of people who have no friends living in Austin?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "people",
            "who",
            "have",
            "no",
            "friends",
            "living",
            "in",
            "Austin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"Austin\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT DISTINCT T4.name FROM PersonFriend AS T1 JOIN Person AS T2 ON T1.name  =  T2.name JOIN PersonFriend AS T3 ON T1.friend  =  T3.name JOIN PersonFriend AS T4 ON T3.friend  =  T4.name WHERE T2.name  =  'Alice' AND T4.name != 'Alice'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T4.name",
            "FROM",
            "PersonFriend",
            "AS",
            "T1",
            "JOIN",
            "Person",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "JOIN",
            "PersonFriend",
            "AS",
            "T3",
            "ON",
            "T1.friend",
            "=",
            "T3.name",
            "JOIN",
            "PersonFriend",
            "AS",
            "T4",
            "ON",
            "T3.friend",
            "=",
            "T4.name",
            "WHERE",
            "T2.name",
            "=",
            "'Alice",
            "'",
            "AND",
            "T4.name",
            "!",
            "=",
            "'Alice",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "name",
            "from",
            "personfriend",
            "as",
            "t1",
            "join",
            "person",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "join",
            "personfriend",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "friend",
            "=",
            "t3",
            ".",
            "name",
            "join",
            "personfriend",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "friend",
            "=",
            "t4",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "!",
            "=",
            "value"
        ],
        "question": "Find Alice's friends of friends.",
        "question_toks": [
            "Find",
            "Alice",
            "'s",
            "friends",
            "of",
            "friends",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "network_2",
        "query": "SELECT DISTINCT T4.name FROM PersonFriend AS T1 JOIN Person AS T2 ON T1.name  =  T2.name JOIN PersonFriend AS T3 ON T1.friend  =  T3.name JOIN PersonFriend AS T4 ON T3.friend  =  T4.name WHERE T2.name  =  'Alice' AND T4.name != 'Alice'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T4.name",
            "FROM",
            "PersonFriend",
            "AS",
            "T1",
            "JOIN",
            "Person",
            "AS",
            "T2",
            "ON",
            "T1.name",
            "=",
            "T2.name",
            "JOIN",
            "PersonFriend",
            "AS",
            "T3",
            "ON",
            "T1.friend",
            "=",
            "T3.name",
            "JOIN",
            "PersonFriend",
            "AS",
            "T4",
            "ON",
            "T3.friend",
            "=",
            "T4.name",
            "WHERE",
            "T2.name",
            "=",
            "'Alice",
            "'",
            "AND",
            "T4.name",
            "!",
            "=",
            "'Alice",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "name",
            "from",
            "personfriend",
            "as",
            "t1",
            "join",
            "person",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "name",
            "=",
            "t2",
            ".",
            "name",
            "join",
            "personfriend",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "friend",
            "=",
            "t3",
            ".",
            "name",
            "join",
            "personfriend",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "friend",
            "=",
            "t4",
            ".",
            "name",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of all of Alice's friends of friends?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "of",
            "Alice",
            "'s",
            "friends",
            "of",
            "friends",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Alice\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT count(*) FROM member",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "member"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "member"
        ],
        "question": "How many members are there?",
        "question_toks": [
            "How",
            "many",
            "members",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT Name FROM member ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "member",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "member",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "List the names of members in ascending alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "members",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT Name ,  Country FROM member",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Country",
            "FROM",
            "member"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "country",
            "from",
            "member"
        ],
        "question": "What are the names and countries of members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "countries",
            "of",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT Name FROM member WHERE Country  =  \"United States\" OR Country  =  \"Canada\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "member",
            "WHERE",
            "Country",
            "=",
            "``",
            "United",
            "States",
            "''",
            "OR",
            "Country",
            "=",
            "``",
            "Canada",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "member",
            "where",
            "country",
            "=",
            "value",
            "or",
            "country",
            "=",
            "value"
        ],
        "question": "Show the names of members whose country is \"United States\" or \"Canada\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "whose",
            "country",
            "is",
            "``",
            "United",
            "States",
            "''",
            "or",
            "``",
            "Canada",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT Country ,  COUNT(*) FROM member GROUP BY Country",
        "query_toks": [
            "SELECT",
            "Country",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "member",
            "GROUP",
            "BY",
            "Country"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "member",
            "group",
            "by",
            "country"
        ],
        "question": "Show the different countries and the number of members from each.",
        "question_toks": [
            "Show",
            "the",
            "different",
            "countries",
            "and",
            "the",
            "number",
            "of",
            "members",
            "from",
            "each",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT Country FROM member GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "member",
            "GROUP",
            "BY",
            "Country",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "member",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common country across members.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "country",
            "across",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT Country FROM member GROUP BY Country HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "member",
            "GROUP",
            "BY",
            "Country",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "member",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which countries have more than two members?",
        "question_toks": [
            "Which",
            "countries",
            "have",
            "more",
            "than",
            "two",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT Leader_Name ,  College_Location FROM college",
        "query_toks": [
            "SELECT",
            "Leader_Name",
            ",",
            "College_Location",
            "FROM",
            "college"
        ],
        "query_toks_no_value": [
            "select",
            "leader_name",
            ",",
            "college_location",
            "from",
            "college"
        ],
        "question": "Show the leader names and locations of colleges.",
        "question_toks": [
            "Show",
            "the",
            "leader",
            "names",
            "and",
            "locations",
            "of",
            "colleges",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT T2.Name ,  T1.Name FROM college AS T1 JOIN member AS T2 ON T1.College_ID  =  T2.College_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Name",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.College_ID",
            "=",
            "T2.College_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "college_id",
            "=",
            "t2",
            ".",
            "college_id"
        ],
        "question": "Show the names of members and names of colleges they go to.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "and",
            "names",
            "of",
            "colleges",
            "they",
            "go",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT T2.Name ,  T1.College_Location FROM college AS T1 JOIN member AS T2 ON T1.College_ID  =  T2.College_ID ORDER BY T2.Name ASC",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.College_Location",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.College_ID",
            "=",
            "T2.College_ID",
            "ORDER",
            "BY",
            "T2.Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "college_location",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "college_id",
            "=",
            "t2",
            ".",
            "college_id",
            "order",
            "by",
            "t2",
            ".",
            "name",
            "asc"
        ],
        "question": "Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "and",
            "the",
            "locations",
            "of",
            "colleges",
            "they",
            "go",
            "to",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "of",
            "member",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT DISTINCT T1.Leader_Name FROM college AS T1 JOIN member AS T2 ON T1.College_ID  =  T2.College_ID WHERE T2.Country  =  \"Canada\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Leader_Name",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.College_ID",
            "=",
            "T2.College_ID",
            "WHERE",
            "T2.Country",
            "=",
            "``",
            "Canada",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "leader_name",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "college_id",
            "=",
            "t2",
            ".",
            "college_id",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "Show the distinct leader names of colleges associated with members from country \"Canada\".",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "leader",
            "names",
            "of",
            "colleges",
            "associated",
            "with",
            "members",
            "from",
            "country",
            "``",
            "Canada",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT T1.Name ,  T2.Decoration_Theme FROM member AS T1 JOIN round AS T2 ON T1.Member_ID  =  T2.Member_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Decoration_Theme",
            "FROM",
            "member",
            "AS",
            "T1",
            "JOIN",
            "round",
            "AS",
            "T2",
            "ON",
            "T1.Member_ID",
            "=",
            "T2.Member_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "decoration_theme",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "round",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id"
        ],
        "question": "Show the names of members and the decoration themes they have.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "and",
            "the",
            "decoration",
            "themes",
            "they",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID  =  T2.Member_ID WHERE T2.Rank_in_Round  >  3",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "member",
            "AS",
            "T1",
            "JOIN",
            "round",
            "AS",
            "T2",
            "ON",
            "T1.Member_ID",
            "=",
            "T2.Member_ID",
            "WHERE",
            "T2.Rank_in_Round",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "round",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "where",
            "t2",
            ".",
            "rank_in_round",
            ">",
            "value"
        ],
        "question": "Show the names of members that have a rank in round higher than 3.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "that",
            "have",
            "a",
            "rank",
            "in",
            "round",
            "higher",
            "than",
            "3",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID  =  T2.Member_ID ORDER BY Rank_in_Round ASC",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "member",
            "AS",
            "T1",
            "JOIN",
            "round",
            "AS",
            "T2",
            "ON",
            "T1.Member_ID",
            "=",
            "T2.Member_ID",
            "ORDER",
            "BY",
            "Rank_in_Round",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "member",
            "as",
            "t1",
            "join",
            "round",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "order",
            "by",
            "rank_in_round",
            "asc"
        ],
        "question": "Show the names of members in ascending order of their rank in rounds.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "members",
            "in",
            "ascending",
            "order",
            "of",
            "their",
            "rank",
            "in",
            "rounds",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "decoration_competition",
        "query": "SELECT Name FROM member WHERE Member_ID NOT IN (SELECT Member_ID FROM round)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "member",
            "WHERE",
            "Member_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Member_ID",
            "FROM",
            "round",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "member",
            "where",
            "member_id",
            "not",
            "in",
            "(",
            "select",
            "member_id",
            "from",
            "round",
            ")"
        ],
        "question": "List the names of members who did not participate in any round.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "members",
            "who",
            "did",
            "not",
            "participate",
            "in",
            "any",
            "round",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name ,  access_count FROM documents ORDER BY document_name",
        "query_toks": [
            "SELECT",
            "document_name",
            ",",
            "access_count",
            "FROM",
            "documents",
            "ORDER",
            "BY",
            "document_name"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            ",",
            "access_count",
            "from",
            "documents",
            "order",
            "by",
            "document_name"
        ],
        "question": "Find the name and access counts of all documents, in alphabetic order of the document name.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "access",
            "counts",
            "of",
            "all",
            "documents",
            ",",
            "in",
            "alphabetic",
            "order",
            "of",
            "the",
            "document",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name ,  access_count FROM documents ORDER BY document_name",
        "query_toks": [
            "SELECT",
            "document_name",
            ",",
            "access_count",
            "FROM",
            "documents",
            "ORDER",
            "BY",
            "document_name"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            ",",
            "access_count",
            "from",
            "documents",
            "order",
            "by",
            "document_name"
        ],
        "question": "What are the names of all the documents, as well as the access counts of each, ordered alphabetically?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "documents",
            ",",
            "as",
            "well",
            "as",
            "the",
            "access",
            "counts",
            "of",
            "each",
            ",",
            "ordered",
            "alphabetically",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name ,  access_count FROM documents ORDER BY access_count DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "document_name",
            ",",
            "access_count",
            "FROM",
            "documents",
            "ORDER",
            "BY",
            "access_count",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            ",",
            "access_count",
            "from",
            "documents",
            "order",
            "by",
            "access_count",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the document that has been accessed the greatest number of times, as well as the count of how many times it has been accessed?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "document",
            "that",
            "has",
            "been",
            "accessed",
            "the",
            "greatest",
            "number",
            "of",
            "times",
            ",",
            "as",
            "well",
            "as",
            "the",
            "count",
            "of",
            "how",
            "many",
            "times",
            "it",
            "has",
            "been",
            "accessed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name ,  access_count FROM documents ORDER BY access_count DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "document_name",
            ",",
            "access_count",
            "FROM",
            "documents",
            "ORDER",
            "BY",
            "access_count",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            ",",
            "access_count",
            "from",
            "documents",
            "order",
            "by",
            "access_count",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the document which has been accessed the most times, as well as the number of times it has been accessed?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "document",
            "which",
            "has",
            "been",
            "accessed",
            "the",
            "most",
            "times",
            ",",
            "as",
            "well",
            "as",
            "the",
            "number",
            "of",
            "times",
            "it",
            "has",
            "been",
            "accessed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_type_code FROM documents GROUP BY document_type_code HAVING count(*)  >  4",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the types of documents with more than 4 documents.",
        "question_toks": [
            "Find",
            "the",
            "types",
            "of",
            "documents",
            "with",
            "more",
            "than",
            "4",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_type_code FROM documents GROUP BY document_type_code HAVING count(*)  >  4",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the codes of types of documents of which there are for or more?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "of",
            "types",
            "of",
            "documents",
            "of",
            "which",
            "there",
            "are",
            "for",
            "or",
            "more",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT sum(access_count) FROM documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "access_count",
            ")",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "access_count",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the total access count of all documents in the most popular document type.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "access",
            "count",
            "of",
            "all",
            "documents",
            "in",
            "the",
            "most",
            "popular",
            "document",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT sum(access_count) FROM documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "access_count",
            ")",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "access_count",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the total access count of documents that are of the most common document type?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "access",
            "count",
            "of",
            "documents",
            "that",
            "are",
            "of",
            "the",
            "most",
            "common",
            "document",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT avg(access_count) FROM documents",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "access_count",
            ")",
            "FROM",
            "documents"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "access_count",
            ")",
            "from",
            "documents"
        ],
        "question": "What is the average access count of documents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "access",
            "count",
            "of",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT avg(access_count) FROM documents",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "access_count",
            ")",
            "FROM",
            "documents"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "access_count",
            ")",
            "from",
            "documents"
        ],
        "question": "Find the average access count across all documents?",
        "question_toks": [
            "Find",
            "the",
            "average",
            "access",
            "count",
            "across",
            "all",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT t2.document_structure_description FROM documents AS t1 JOIN document_structures AS t2 ON t1.document_structure_code  =  t2.document_structure_code GROUP BY t1.document_structure_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.document_structure_description",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_structures",
            "AS",
            "t2",
            "ON",
            "t1.document_structure_code",
            "=",
            "t2.document_structure_code",
            "GROUP",
            "BY",
            "t1.document_structure_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "document_structure_description",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_structures",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_structure_code",
            "=",
            "t2",
            ".",
            "document_structure_code",
            "group",
            "by",
            "t1",
            ".",
            "document_structure_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the structure of the document with the least number of accesses?",
        "question_toks": [
            "What",
            "is",
            "the",
            "structure",
            "of",
            "the",
            "document",
            "with",
            "the",
            "least",
            "number",
            "of",
            "accesses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT t2.document_structure_description FROM documents AS t1 JOIN document_structures AS t2 ON t1.document_structure_code  =  t2.document_structure_code GROUP BY t1.document_structure_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.document_structure_description",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_structures",
            "AS",
            "t2",
            "ON",
            "t1.document_structure_code",
            "=",
            "t2.document_structure_code",
            "GROUP",
            "BY",
            "t1.document_structure_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "document_structure_description",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_structures",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_structure_code",
            "=",
            "t2",
            ".",
            "document_structure_code",
            "group",
            "by",
            "t1",
            ".",
            "document_structure_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the structure description of the document that has been accessed the fewest number of times.",
        "question_toks": [
            "Return",
            "the",
            "structure",
            "description",
            "of",
            "the",
            "document",
            "that",
            "has",
            "been",
            "accessed",
            "the",
            "fewest",
            "number",
            "of",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_type_code FROM documents WHERE document_name  =  \"David CV\"",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "documents",
            "WHERE",
            "document_name",
            "=",
            "``",
            "David",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "where",
            "document_name",
            "=",
            "value"
        ],
        "question": "What is the type of the document named \"David CV\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "of",
            "the",
            "document",
            "named",
            "``",
            "David",
            "CV",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"David CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_type_code FROM documents WHERE document_name  =  \"David CV\"",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "documents",
            "WHERE",
            "document_name",
            "=",
            "``",
            "David",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "where",
            "document_name",
            "=",
            "value"
        ],
        "question": "Return the type code of the document named \"David CV\".",
        "question_toks": [
            "Return",
            "the",
            "type",
            "code",
            "of",
            "the",
            "document",
            "named",
            "``",
            "David",
            "CV",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"David CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name FROM documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3",
            "INTERSECT",
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_structure_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            "intersect",
            "select",
            "document_name",
            "from",
            "documents",
            "group",
            "by",
            "document_structure_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the list of documents that are both in the most three popular type and have the most three popular structure.",
        "question_toks": [
            "Find",
            "the",
            "list",
            "of",
            "documents",
            "that",
            "are",
            "both",
            "in",
            "the",
            "most",
            "three",
            "popular",
            "type",
            "and",
            "have",
            "the",
            "most",
            "three",
            "popular",
            "structure",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        19,
                        false
                    ]
                ],
                "having": [],
                "orderBy": [
                    "desc",
                    [
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ],
                "limit": 3,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name FROM documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3",
            "INTERSECT",
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_structure_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            "intersect",
            "select",
            "document_name",
            "from",
            "documents",
            "group",
            "by",
            "document_structure_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of documents that have both one of the three most common types and one of three most common structures?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "documents",
            "that",
            "have",
            "both",
            "one",
            "of",
            "the",
            "three",
            "most",
            "common",
            "types",
            "and",
            "one",
            "of",
            "three",
            "most",
            "common",
            "structures",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        19,
                        false
                    ]
                ],
                "having": [],
                "orderBy": [
                    "desc",
                    [
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ],
                "limit": 3,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_type_code FROM documents GROUP BY document_type_code HAVING sum(access_count)  >  10000",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "HAVING",
            "sum",
            "(",
            "access_count",
            ")",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "having",
            "sum",
            "(",
            "access_count",
            ")",
            ">",
            "value"
        ],
        "question": "What document types do have more than 10000 total access number.",
        "question_toks": [
            "What",
            "document",
            "types",
            "do",
            "have",
            "more",
            "than",
            "10000",
            "total",
            "access",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            21,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_type_code FROM documents GROUP BY document_type_code HAVING sum(access_count)  >  10000",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "HAVING",
            "sum",
            "(",
            "access_count",
            ")",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "having",
            "sum",
            "(",
            "access_count",
            ")",
            ">",
            "value"
        ],
        "question": "Return the codes of the document types that do not have a total access count of over 10000.",
        "question_toks": [
            "Return",
            "the",
            "codes",
            "of",
            "the",
            "document",
            "types",
            "that",
            "do",
            "not",
            "have",
            "a",
            "total",
            "access",
            "count",
            "of",
            "over",
            "10000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            21,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code  =  t2.document_code WHERE t1.document_name  =  \"David CV\"",
        "query_toks": [
            "SELECT",
            "t2.section_title",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_sections",
            "AS",
            "t2",
            "ON",
            "t1.document_code",
            "=",
            "t2.document_code",
            "WHERE",
            "t1.document_name",
            "=",
            "``",
            "David",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "section_title",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_sections",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_code",
            "=",
            "t2",
            ".",
            "document_code",
            "where",
            "t1",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "What are all the section titles of the document named \"David CV\"?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "section",
            "titles",
            "of",
            "the",
            "document",
            "named",
            "``",
            "David",
            "CV",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"David CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code  =  t2.document_code WHERE t1.document_name  =  \"David CV\"",
        "query_toks": [
            "SELECT",
            "t2.section_title",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_sections",
            "AS",
            "t2",
            "ON",
            "t1.document_code",
            "=",
            "t2.document_code",
            "WHERE",
            "t1.document_name",
            "=",
            "``",
            "David",
            "CV",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "section_title",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_sections",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_code",
            "=",
            "t2",
            ".",
            "document_code",
            "where",
            "t1",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "Give the section titles of the document with the name \"David CV\".",
        "question_toks": [
            "Give",
            "the",
            "section",
            "titles",
            "of",
            "the",
            "document",
            "with",
            "the",
            "name",
            "``",
            "David",
            "CV",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"David CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name FROM documents WHERE document_code NOT IN (SELECT document_code FROM document_sections)",
        "query_toks": [
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "WHERE",
            "document_code",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "document_code",
            "FROM",
            "document_sections",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            "from",
            "documents",
            "where",
            "document_code",
            "not",
            "in",
            "(",
            "select",
            "document_code",
            "from",
            "document_sections",
            ")"
        ],
        "question": "Find all the name of documents without any sections.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "name",
            "of",
            "documents",
            "without",
            "any",
            "sections",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name FROM documents WHERE document_code NOT IN (SELECT document_code FROM document_sections)",
        "query_toks": [
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "WHERE",
            "document_code",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "document_code",
            "FROM",
            "document_sections",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            "from",
            "documents",
            "where",
            "document_code",
            "not",
            "in",
            "(",
            "select",
            "document_code",
            "from",
            "document_sections",
            ")"
        ],
        "question": "What are the names of documents that do not have any sections?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "documents",
            "that",
            "do",
            "not",
            "have",
            "any",
            "sections",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT user_name ,  password FROM users GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "user_name",
            ",",
            "password",
            "FROM",
            "users",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "user_name",
            ",",
            "password",
            "from",
            "users",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List all the username and passwords of users with the most popular role.",
        "question_toks": [
            "List",
            "all",
            "the",
            "username",
            "and",
            "passwords",
            "of",
            "users",
            "with",
            "the",
            "most",
            "popular",
            "role",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT user_name ,  password FROM users GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "user_name",
            ",",
            "password",
            "FROM",
            "users",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "user_name",
            ",",
            "password",
            "from",
            "users",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the usernames and passwords of users that have the most common role?",
        "question_toks": [
            "What",
            "are",
            "the",
            "usernames",
            "and",
            "passwords",
            "of",
            "users",
            "that",
            "have",
            "the",
            "most",
            "common",
            "role",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT avg(t1.access_count) FROM documents AS t1 JOIN document_functional_areas AS t2 ON t1.document_code  =  t2.document_code JOIN functional_areas AS t3 ON t2.functional_area_code  =  t3.functional_area_code WHERE t3.functional_area_description  =  \"Acknowledgement\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t1.access_count",
            ")",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_functional_areas",
            "AS",
            "t2",
            "ON",
            "t1.document_code",
            "=",
            "t2.document_code",
            "JOIN",
            "functional_areas",
            "AS",
            "t3",
            "ON",
            "t2.functional_area_code",
            "=",
            "t3.functional_area_code",
            "WHERE",
            "t3.functional_area_description",
            "=",
            "``",
            "Acknowledgement",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "access_count",
            ")",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_functional_areas",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_code",
            "=",
            "t2",
            ".",
            "document_code",
            "join",
            "functional_areas",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "functional_area_code",
            "=",
            "t3",
            ".",
            "functional_area_code",
            "where",
            "t3",
            ".",
            "functional_area_description",
            "=",
            "value"
        ],
        "question": "Find the average access counts of documents with functional area \"Acknowledgement\".",
        "question_toks": [
            "Find",
            "the",
            "average",
            "access",
            "counts",
            "of",
            "documents",
            "with",
            "functional",
            "area",
            "``",
            "Acknowledgement",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Acknowledgement\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT avg(t1.access_count) FROM documents AS t1 JOIN document_functional_areas AS t2 ON t1.document_code  =  t2.document_code JOIN functional_areas AS t3 ON t2.functional_area_code  =  t3.functional_area_code WHERE t3.functional_area_description  =  \"Acknowledgement\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "t1.access_count",
            ")",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_functional_areas",
            "AS",
            "t2",
            "ON",
            "t1.document_code",
            "=",
            "t2.document_code",
            "JOIN",
            "functional_areas",
            "AS",
            "t3",
            "ON",
            "t2.functional_area_code",
            "=",
            "t3.functional_area_code",
            "WHERE",
            "t3.functional_area_description",
            "=",
            "``",
            "Acknowledgement",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "access_count",
            ")",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_functional_areas",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_code",
            "=",
            "t2",
            ".",
            "document_code",
            "join",
            "functional_areas",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "functional_area_code",
            "=",
            "t3",
            ".",
            "functional_area_code",
            "where",
            "t3",
            ".",
            "functional_area_description",
            "=",
            "value"
        ],
        "question": "What are the average access counts of documents that have the functional area description \"Acknowledgement\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "access",
            "counts",
            "of",
            "documents",
            "that",
            "have",
            "the",
            "functional",
            "area",
            "description",
            "``",
            "Acknowledgement",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Acknowledgement\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name FROM documents EXCEPT SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code  =  t2.document_code JOIN document_sections_images AS t3 ON t2.section_id  =  t3.section_id",
        "query_toks": [
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "EXCEPT",
            "SELECT",
            "t1.document_name",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_sections",
            "AS",
            "t2",
            "ON",
            "t1.document_code",
            "=",
            "t2.document_code",
            "JOIN",
            "document_sections_images",
            "AS",
            "t3",
            "ON",
            "t2.section_id",
            "=",
            "t3.section_id"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            "from",
            "documents",
            "except",
            "select",
            "t1",
            ".",
            "document_name",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_sections",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_code",
            "=",
            "t2",
            ".",
            "document_code",
            "join",
            "document_sections_images",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "section_id",
            "=",
            "t3",
            ".",
            "section_id"
        ],
        "question": "Find names of the document without any images.",
        "question_toks": [
            "Find",
            "names",
            "of",
            "the",
            "document",
            "without",
            "any",
            "images",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            8
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    25,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name FROM documents EXCEPT SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code  =  t2.document_code JOIN document_sections_images AS t3 ON t2.section_id  =  t3.section_id",
        "query_toks": [
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "EXCEPT",
            "SELECT",
            "t1.document_name",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_sections",
            "AS",
            "t2",
            "ON",
            "t1.document_code",
            "=",
            "t2.document_code",
            "JOIN",
            "document_sections_images",
            "AS",
            "t3",
            "ON",
            "t2.section_id",
            "=",
            "t3.section_id"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            "from",
            "documents",
            "except",
            "select",
            "t1",
            ".",
            "document_name",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_sections",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_code",
            "=",
            "t2",
            ".",
            "document_code",
            "join",
            "document_sections_images",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "section_id",
            "=",
            "t3",
            ".",
            "section_id"
        ],
        "question": "What are the names of documents that do not have any images?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "documents",
            "that",
            "do",
            "not",
            "have",
            "any",
            "images",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            7
                        ],
                        [
                            "table_unit",
                            8
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    25,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code  =  t2.document_code GROUP BY t1.document_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.document_name",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_sections",
            "AS",
            "t2",
            "ON",
            "t1.document_code",
            "=",
            "t2.document_code",
            "GROUP",
            "BY",
            "t1.document_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_name",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_sections",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_code",
            "=",
            "t2",
            ".",
            "document_code",
            "group",
            "by",
            "t1",
            ".",
            "document_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the document with the most number of sections?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "document",
            "with",
            "the",
            "most",
            "number",
            "of",
            "sections",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code  =  t2.document_code GROUP BY t1.document_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.document_name",
            "FROM",
            "documents",
            "AS",
            "t1",
            "JOIN",
            "document_sections",
            "AS",
            "t2",
            "ON",
            "t1.document_code",
            "=",
            "t2.document_code",
            "GROUP",
            "BY",
            "t1.document_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_name",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "document_sections",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_code",
            "=",
            "t2",
            ".",
            "document_code",
            "group",
            "by",
            "t1",
            ".",
            "document_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name of the document that has the most sections.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "document",
            "that",
            "has",
            "the",
            "most",
            "sections",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name FROM documents WHERE document_name LIKE \"%CV%\"",
        "query_toks": [
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "WHERE",
            "document_name",
            "LIKE",
            "``",
            "%",
            "CV",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            "from",
            "documents",
            "where",
            "document_name",
            "like",
            "value"
        ],
        "question": "List all the document names which contains \"CV\".",
        "question_toks": [
            "List",
            "all",
            "the",
            "document",
            "names",
            "which",
            "contains",
            "``",
            "CV",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"%CV%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_name FROM documents WHERE document_name LIKE \"%CV%\"",
        "query_toks": [
            "SELECT",
            "document_name",
            "FROM",
            "documents",
            "WHERE",
            "document_name",
            "LIKE",
            "``",
            "%",
            "CV",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            "from",
            "documents",
            "where",
            "document_name",
            "like",
            "value"
        ],
        "question": "What are the names of documents that contain the substring \"CV\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "documents",
            "that",
            "contain",
            "the",
            "substring",
            "``",
            "CV",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"%CV%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT count(*) FROM users WHERE user_login  =  1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "users",
            "WHERE",
            "user_login",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "users",
            "where",
            "user_login",
            "=",
            "value"
        ],
        "question": "How many users are logged in?",
        "question_toks": [
            "How",
            "many",
            "users",
            "are",
            "logged",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT count(*) FROM users WHERE user_login  =  1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "users",
            "WHERE",
            "user_login",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "users",
            "where",
            "user_login",
            "=",
            "value"
        ],
        "question": "Count the number of users that are logged in.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "users",
            "that",
            "are",
            "logged",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT role_description FROM ROLES WHERE role_code  =  (SELECT role_code FROM users WHERE user_login  =  1 GROUP BY role_code ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "role_description",
            "FROM",
            "ROLES",
            "WHERE",
            "role_code",
            "=",
            "(",
            "SELECT",
            "role_code",
            "FROM",
            "users",
            "WHERE",
            "user_login",
            "=",
            "1",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "role_description",
            "from",
            "roles",
            "where",
            "role_code",
            "=",
            "(",
            "select",
            "role_code",
            "from",
            "users",
            "where",
            "user_login",
            "=",
            "value",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the description of the most popular role among the users that have logged in.",
        "question_toks": [
            "Find",
            "the",
            "description",
            "of",
            "the",
            "most",
            "popular",
            "role",
            "among",
            "the",
            "users",
            "that",
            "have",
            "logged",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                1.0,
                                null
                            ]
                        ],
                        "groupBy": [
                            [
                                0,
                                4,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT role_description FROM ROLES WHERE role_code  =  (SELECT role_code FROM users WHERE user_login  =  1 GROUP BY role_code ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "role_description",
            "FROM",
            "ROLES",
            "WHERE",
            "role_code",
            "=",
            "(",
            "SELECT",
            "role_code",
            "FROM",
            "users",
            "WHERE",
            "user_login",
            "=",
            "1",
            "GROUP",
            "BY",
            "role_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "role_description",
            "from",
            "roles",
            "where",
            "role_code",
            "=",
            "(",
            "select",
            "role_code",
            "from",
            "users",
            "where",
            "user_login",
            "=",
            "value",
            "group",
            "by",
            "role_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What is the description of the most popular role among users that have logged in?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "most",
            "popular",
            "role",
            "among",
            "users",
            "that",
            "have",
            "logged",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                1.0,
                                null
                            ]
                        ],
                        "groupBy": [
                            [
                                0,
                                4,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT avg(access_count) FROM documents GROUP BY document_structure_code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "access_count",
            ")",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_structure_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "access_count",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "document_structure_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the average access count of documents with the least popular structure.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "access",
            "count",
            "of",
            "documents",
            "with",
            "the",
            "least",
            "popular",
            "structure",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT avg(access_count) FROM documents GROUP BY document_structure_code ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "access_count",
            ")",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_structure_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "access_count",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "document_structure_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the average access count of documents that have the least common structure?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "access",
            "count",
            "of",
            "documents",
            "that",
            "have",
            "the",
            "least",
            "common",
            "structure",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT image_name ,  image_url FROM images ORDER BY image_name",
        "query_toks": [
            "SELECT",
            "image_name",
            ",",
            "image_url",
            "FROM",
            "images",
            "ORDER",
            "BY",
            "image_name"
        ],
        "query_toks_no_value": [
            "select",
            "image_name",
            ",",
            "image_url",
            "from",
            "images",
            "order",
            "by",
            "image_name"
        ],
        "question": "List all the image name and URLs in the order of their names.",
        "question_toks": [
            "List",
            "all",
            "the",
            "image",
            "name",
            "and",
            "URLs",
            "in",
            "the",
            "order",
            "of",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT image_name ,  image_url FROM images ORDER BY image_name",
        "query_toks": [
            "SELECT",
            "image_name",
            ",",
            "image_url",
            "FROM",
            "images",
            "ORDER",
            "BY",
            "image_name"
        ],
        "query_toks_no_value": [
            "select",
            "image_name",
            ",",
            "image_url",
            "from",
            "images",
            "order",
            "by",
            "image_name"
        ],
        "question": "What are the names and urls of images, sorted alphabetically?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "urls",
            "of",
            "images",
            ",",
            "sorted",
            "alphabetically",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT count(*) ,  role_code FROM users GROUP BY role_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "role_code",
            "FROM",
            "users",
            "GROUP",
            "BY",
            "role_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "role_code",
            "from",
            "users",
            "group",
            "by",
            "role_code"
        ],
        "question": "Find the number of users in each role.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "users",
            "in",
            "each",
            "role",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT count(*) ,  role_code FROM users GROUP BY role_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "role_code",
            "FROM",
            "users",
            "GROUP",
            "BY",
            "role_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "role_code",
            "from",
            "users",
            "group",
            "by",
            "role_code"
        ],
        "question": "What are the different role codes for users, and how many users have each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "role",
            "codes",
            "for",
            "users",
            ",",
            "and",
            "how",
            "many",
            "users",
            "have",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_type_code FROM documents GROUP BY document_type_code HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What document types have more than 2 corresponding documents?",
        "question_toks": [
            "What",
            "document",
            "types",
            "have",
            "more",
            "than",
            "2",
            "corresponding",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "document_management",
        "query": "SELECT document_type_code FROM documents GROUP BY document_type_code HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "documents",
            "GROUP",
            "BY",
            "document_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Give the codes of document types that have more than 2 corresponding documents.",
        "question_toks": [
            "Give",
            "the",
            "codes",
            "of",
            "document",
            "types",
            "that",
            "have",
            "more",
            "than",
            "2",
            "corresponding",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT count(*) FROM Companies",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Companies"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "companies"
        ],
        "question": "How many companies are there?",
        "question_toks": [
            "How",
            "many",
            "companies",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT count(*) FROM Companies",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Companies"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "companies"
        ],
        "question": "Count the number of companies.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM Companies ORDER BY Market_Value_billion DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Companies",
            "ORDER",
            "BY",
            "Market_Value_billion",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "companies",
            "order",
            "by",
            "market_value_billion",
            "desc"
        ],
        "question": "List the names of companies in descending order of market value.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "companies",
            "in",
            "descending",
            "order",
            "of",
            "market",
            "value",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM Companies ORDER BY Market_Value_billion DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Companies",
            "ORDER",
            "BY",
            "Market_Value_billion",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "companies",
            "order",
            "by",
            "market_value_billion",
            "desc"
        ],
        "question": "Sort the company names in descending order of the company's market value.",
        "question_toks": [
            "Sort",
            "the",
            "company",
            "names",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "company",
            "'s",
            "market",
            "value",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM Companies WHERE Headquarters != 'USA'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Companies",
            "WHERE",
            "Headquarters",
            "!",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "companies",
            "where",
            "headquarters",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of companies whose headquarters are not \"USA\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "companies",
            "whose",
            "headquarters",
            "are",
            "not",
            "``",
            "USA",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM Companies WHERE Headquarters != 'USA'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "Companies",
            "WHERE",
            "Headquarters",
            "!",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "companies",
            "where",
            "headquarters",
            "!",
            "=",
            "value"
        ],
        "question": "Find the names of the companies whose headquarters are not located in \"USA\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "companies",
            "whose",
            "headquarters",
            "are",
            "not",
            "located",
            "in",
            "``",
            "USA",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name ,  Assets_billion FROM Companies ORDER BY name ASC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "Assets_billion",
            "FROM",
            "Companies",
            "ORDER",
            "BY",
            "name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "assets_billion",
            "from",
            "companies",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "What are the name and assets of each company, sorted in ascending order of company name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "assets",
            "of",
            "each",
            "company",
            ",",
            "sorted",
            "in",
            "ascending",
            "order",
            "of",
            "company",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name ,  Assets_billion FROM Companies ORDER BY name ASC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "Assets_billion",
            "FROM",
            "Companies",
            "ORDER",
            "BY",
            "name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "assets_billion",
            "from",
            "companies",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "List the name and assets of each company in ascending order of company name.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "assets",
            "of",
            "each",
            "company",
            "in",
            "ascending",
            "order",
            "of",
            "company",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT avg(Profits_billion) FROM Companies",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Profits_billion",
            ")",
            "FROM",
            "Companies"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "profits_billion",
            ")",
            "from",
            "companies"
        ],
        "question": "What are the average profits of companies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "profits",
            "of",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT avg(Profits_billion) FROM Companies",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Profits_billion",
            ")",
            "FROM",
            "Companies"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "profits_billion",
            ")",
            "from",
            "companies"
        ],
        "question": "Compute the average profits companies make.",
        "question_toks": [
            "Compute",
            "the",
            "average",
            "profits",
            "companies",
            "make",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT max(Sales_billion) ,  min(Sales_billion) FROM Companies WHERE Industry != \"Banking\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Sales_billion",
            ")",
            ",",
            "min",
            "(",
            "Sales_billion",
            ")",
            "FROM",
            "Companies",
            "WHERE",
            "Industry",
            "!",
            "=",
            "``",
            "Banking",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "sales_billion",
            ")",
            ",",
            "min",
            "(",
            "sales_billion",
            ")",
            "from",
            "companies",
            "where",
            "industry",
            "!",
            "=",
            "value"
        ],
        "question": "What are the maximum and minimum sales of the companies whose industries are not \"Banking\".",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "sales",
            "of",
            "the",
            "companies",
            "whose",
            "industries",
            "are",
            "not",
            "``",
            "Banking",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT max(Sales_billion) ,  min(Sales_billion) FROM Companies WHERE Industry != \"Banking\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Sales_billion",
            ")",
            ",",
            "min",
            "(",
            "Sales_billion",
            ")",
            "FROM",
            "Companies",
            "WHERE",
            "Industry",
            "!",
            "=",
            "``",
            "Banking",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "sales_billion",
            ")",
            ",",
            "min",
            "(",
            "sales_billion",
            ")",
            "from",
            "companies",
            "where",
            "industry",
            "!",
            "=",
            "value"
        ],
        "question": "Find the maximum and minimum sales of the companies that are not in the \"Banking\" industry.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "and",
            "minimum",
            "sales",
            "of",
            "the",
            "companies",
            "that",
            "are",
            "not",
            "in",
            "the",
            "``",
            "Banking",
            "''",
            "industry",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT count(DISTINCT Industry) FROM Companies",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Industry",
            ")",
            "FROM",
            "Companies"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "industry",
            ")",
            "from",
            "companies"
        ],
        "question": "How many different industries are the companies in?",
        "question_toks": [
            "How",
            "many",
            "different",
            "industries",
            "are",
            "the",
            "companies",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT count(DISTINCT Industry) FROM Companies",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Industry",
            ")",
            "FROM",
            "Companies"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "industry",
            ")",
            "from",
            "companies"
        ],
        "question": "Count the number of distinct company industries.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "company",
            "industries",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM buildings ORDER BY Height DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "buildings",
            "ORDER",
            "BY",
            "Height",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "buildings",
            "order",
            "by",
            "height",
            "desc"
        ],
        "question": "List the names of buildings in descending order of building height.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "buildings",
            "in",
            "descending",
            "order",
            "of",
            "building",
            "height",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM buildings ORDER BY Height DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "buildings",
            "ORDER",
            "BY",
            "Height",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "buildings",
            "order",
            "by",
            "height",
            "desc"
        ],
        "question": "What are the names of buildings sorted in descending order of building height?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "buildings",
            "sorted",
            "in",
            "descending",
            "order",
            "of",
            "building",
            "height",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Stories FROM buildings ORDER BY Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Stories",
            "FROM",
            "buildings",
            "ORDER",
            "BY",
            "Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "stories",
            "from",
            "buildings",
            "order",
            "by",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the stories of the building with the largest height.",
        "question_toks": [
            "Find",
            "the",
            "stories",
            "of",
            "the",
            "building",
            "with",
            "the",
            "largest",
            "height",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Stories FROM buildings ORDER BY Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Stories",
            "FROM",
            "buildings",
            "ORDER",
            "BY",
            "Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "stories",
            "from",
            "buildings",
            "order",
            "by",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the stories of highest building?",
        "question_toks": [
            "What",
            "is",
            "the",
            "stories",
            "of",
            "highest",
            "building",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT T3.name ,  T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id  =  T2.id JOIN Companies AS T3 ON T1.company_id  =  T3.id",
        "query_toks": [
            "SELECT",
            "T3.name",
            ",",
            "T2.name",
            "FROM",
            "Office_locations",
            "AS",
            "T1",
            "JOIN",
            "buildings",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.id",
            "JOIN",
            "Companies",
            "AS",
            "T3",
            "ON",
            "T1.company_id",
            "=",
            "T3.id"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "office_locations",
            "as",
            "t1",
            "join",
            "buildings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "companies",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "id"
        ],
        "question": "List the name of a building along with the name of a company whose office is in the building.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "a",
            "building",
            "along",
            "with",
            "the",
            "name",
            "of",
            "a",
            "company",
            "whose",
            "office",
            "is",
            "in",
            "the",
            "building",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT T3.name ,  T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id  =  T2.id JOIN Companies AS T3 ON T1.company_id  =  T3.id",
        "query_toks": [
            "SELECT",
            "T3.name",
            ",",
            "T2.name",
            "FROM",
            "Office_locations",
            "AS",
            "T1",
            "JOIN",
            "buildings",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.id",
            "JOIN",
            "Companies",
            "AS",
            "T3",
            "ON",
            "T1.company_id",
            "=",
            "T3.id"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "office_locations",
            "as",
            "t1",
            "join",
            "buildings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "companies",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "id"
        ],
        "question": "For each company, return the company name and the name of the building its office is located in.",
        "question_toks": [
            "For",
            "each",
            "company",
            ",",
            "return",
            "the",
            "company",
            "name",
            "and",
            "the",
            "name",
            "of",
            "the",
            "building",
            "its",
            "office",
            "is",
            "located",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id  =  T2.id JOIN Companies AS T3 ON T1.company_id  =  T3.id GROUP BY T1.building_id HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Office_locations",
            "AS",
            "T1",
            "JOIN",
            "buildings",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.id",
            "JOIN",
            "Companies",
            "AS",
            "T3",
            "ON",
            "T1.company_id",
            "=",
            "T3.id",
            "GROUP",
            "BY",
            "T1.building_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "office_locations",
            "as",
            "t1",
            "join",
            "buildings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "companies",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "building_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the names of the buildings that have more than one company offices.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "the",
            "buildings",
            "that",
            "have",
            "more",
            "than",
            "one",
            "company",
            "offices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id  =  T2.id JOIN Companies AS T3 ON T1.company_id  =  T3.id GROUP BY T1.building_id HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Office_locations",
            "AS",
            "T1",
            "JOIN",
            "buildings",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.id",
            "JOIN",
            "Companies",
            "AS",
            "T3",
            "ON",
            "T1.company_id",
            "=",
            "T3.id",
            "GROUP",
            "BY",
            "T1.building_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "office_locations",
            "as",
            "t1",
            "join",
            "buildings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "companies",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "building_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which buildings have more than one company offices? Give me the building names.",
        "question_toks": [
            "Which",
            "buildings",
            "have",
            "more",
            "than",
            "one",
            "company",
            "offices",
            "?",
            "Give",
            "me",
            "the",
            "building",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id  =  T2.id JOIN Companies AS T3 ON T1.company_id  =  T3.id GROUP BY T1.building_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Office_locations",
            "AS",
            "T1",
            "JOIN",
            "buildings",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.id",
            "JOIN",
            "Companies",
            "AS",
            "T3",
            "ON",
            "T1.company_id",
            "=",
            "T3.id",
            "GROUP",
            "BY",
            "T1.building_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "office_locations",
            "as",
            "t1",
            "join",
            "buildings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "companies",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "building_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name of the building that has the most company offices.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "the",
            "building",
            "that",
            "has",
            "the",
            "most",
            "company",
            "offices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id  =  T2.id JOIN Companies AS T3 ON T1.company_id  =  T3.id GROUP BY T1.building_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "Office_locations",
            "AS",
            "T1",
            "JOIN",
            "buildings",
            "AS",
            "T2",
            "ON",
            "T1.building_id",
            "=",
            "T2.id",
            "JOIN",
            "Companies",
            "AS",
            "T3",
            "ON",
            "T1.company_id",
            "=",
            "T3.id",
            "GROUP",
            "BY",
            "T1.building_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "office_locations",
            "as",
            "t1",
            "join",
            "buildings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "building_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "companies",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "company_id",
            "=",
            "t3",
            ".",
            "id",
            "group",
            "by",
            "t1",
            ".",
            "building_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which building has the largest number of company offices? Give me the building name.",
        "question_toks": [
            "Which",
            "building",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "company",
            "offices",
            "?",
            "Give",
            "me",
            "the",
            "building",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM buildings WHERE Status  =  \"on-hold\" ORDER BY Stories ASC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "buildings",
            "WHERE",
            "Status",
            "=",
            "``",
            "on-hold",
            "''",
            "ORDER",
            "BY",
            "Stories",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "buildings",
            "where",
            "status",
            "=",
            "value",
            "order",
            "by",
            "stories",
            "asc"
        ],
        "question": "Please show the names of the buildings whose status is \"on-hold\", in ascending order of stories.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "names",
            "of",
            "the",
            "buildings",
            "whose",
            "status",
            "is",
            "``",
            "on-hold",
            "''",
            ",",
            "in",
            "ascending",
            "order",
            "of",
            "stories",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"on-hold\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM buildings WHERE Status  =  \"on-hold\" ORDER BY Stories ASC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "buildings",
            "WHERE",
            "Status",
            "=",
            "``",
            "on-hold",
            "''",
            "ORDER",
            "BY",
            "Stories",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "buildings",
            "where",
            "status",
            "=",
            "value",
            "order",
            "by",
            "stories",
            "asc"
        ],
        "question": "Find the names of the buildings in \"on-hold\" status, and sort them in ascending order of building stories.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "buildings",
            "in",
            "``",
            "on-hold",
            "''",
            "status",
            ",",
            "and",
            "sort",
            "them",
            "in",
            "ascending",
            "order",
            "of",
            "building",
            "stories",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"on-hold\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Industry ,  COUNT(*) FROM Companies GROUP BY Industry",
        "query_toks": [
            "SELECT",
            "Industry",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Companies",
            "GROUP",
            "BY",
            "Industry"
        ],
        "query_toks_no_value": [
            "select",
            "industry",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "companies",
            "group",
            "by",
            "industry"
        ],
        "question": "Please show each industry and the corresponding number of companies in that industry.",
        "question_toks": [
            "Please",
            "show",
            "each",
            "industry",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "companies",
            "in",
            "that",
            "industry",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Industry ,  COUNT(*) FROM Companies GROUP BY Industry",
        "query_toks": [
            "SELECT",
            "Industry",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Companies",
            "GROUP",
            "BY",
            "Industry"
        ],
        "query_toks_no_value": [
            "select",
            "industry",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "companies",
            "group",
            "by",
            "industry"
        ],
        "question": "Whah are the name of each industry and the number of companies in that industry?",
        "question_toks": [
            "Whah",
            "are",
            "the",
            "name",
            "of",
            "each",
            "industry",
            "and",
            "the",
            "number",
            "of",
            "companies",
            "in",
            "that",
            "industry",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "Industry",
            "FROM",
            "Companies",
            "GROUP",
            "BY",
            "Industry",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "industry",
            "from",
            "companies",
            "group",
            "by",
            "industry",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Please show the industries of companies in descending order of the number of companies.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "industries",
            "of",
            "companies",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "number",
            "of",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "Industry",
            "FROM",
            "Companies",
            "GROUP",
            "BY",
            "Industry",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "industry",
            "from",
            "companies",
            "group",
            "by",
            "industry",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Sort all the industries in descending order of the count of companies in each industry",
        "question_toks": [
            "Sort",
            "all",
            "the",
            "industries",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "count",
            "of",
            "companies",
            "in",
            "each",
            "industry"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Industry",
            "FROM",
            "Companies",
            "GROUP",
            "BY",
            "Industry",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "industry",
            "from",
            "companies",
            "group",
            "by",
            "industry",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the industry shared by the most companies.",
        "question_toks": [
            "List",
            "the",
            "industry",
            "shared",
            "by",
            "the",
            "most",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Industry",
            "FROM",
            "Companies",
            "GROUP",
            "BY",
            "Industry",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "industry",
            "from",
            "companies",
            "group",
            "by",
            "industry",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which industry has the most companies?",
        "question_toks": [
            "Which",
            "industry",
            "has",
            "the",
            "most",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM buildings WHERE id NOT IN (SELECT building_id FROM Office_locations)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "buildings",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "building_id",
            "FROM",
            "Office_locations",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "buildings",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "building_id",
            "from",
            "office_locations",
            ")"
        ],
        "question": "List the names of buildings that have no company office.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "buildings",
            "that",
            "have",
            "no",
            "company",
            "office",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT name FROM buildings WHERE id NOT IN (SELECT building_id FROM Office_locations)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "buildings",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "building_id",
            "FROM",
            "Office_locations",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "buildings",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "building_id",
            "from",
            "office_locations",
            ")"
        ],
        "question": "Which buildings do not have any company office? Give me the building names.",
        "question_toks": [
            "Which",
            "buildings",
            "do",
            "not",
            "have",
            "any",
            "company",
            "office",
            "?",
            "Give",
            "me",
            "the",
            "building",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Industry FROM Companies WHERE Headquarters  =  \"USA\" INTERSECT SELECT Industry FROM Companies WHERE Headquarters  =  \"China\"",
        "query_toks": [
            "SELECT",
            "Industry",
            "FROM",
            "Companies",
            "WHERE",
            "Headquarters",
            "=",
            "``",
            "USA",
            "''",
            "INTERSECT",
            "SELECT",
            "Industry",
            "FROM",
            "Companies",
            "WHERE",
            "Headquarters",
            "=",
            "``",
            "China",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "industry",
            "from",
            "companies",
            "where",
            "headquarters",
            "=",
            "value",
            "intersect",
            "select",
            "industry",
            "from",
            "companies",
            "where",
            "headquarters",
            "=",
            "value"
        ],
        "question": "Show the industries shared by companies whose headquarters are \"USA\" and companies whose headquarters are \"China\".",
        "question_toks": [
            "Show",
            "the",
            "industries",
            "shared",
            "by",
            "companies",
            "whose",
            "headquarters",
            "are",
            "``",
            "USA",
            "''",
            "and",
            "companies",
            "whose",
            "headquarters",
            "are",
            "``",
            "China",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"China\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Industry FROM Companies WHERE Headquarters  =  \"USA\" INTERSECT SELECT Industry FROM Companies WHERE Headquarters  =  \"China\"",
        "query_toks": [
            "SELECT",
            "Industry",
            "FROM",
            "Companies",
            "WHERE",
            "Headquarters",
            "=",
            "``",
            "USA",
            "''",
            "INTERSECT",
            "SELECT",
            "Industry",
            "FROM",
            "Companies",
            "WHERE",
            "Headquarters",
            "=",
            "``",
            "China",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "industry",
            "from",
            "companies",
            "where",
            "headquarters",
            "=",
            "value",
            "intersect",
            "select",
            "industry",
            "from",
            "companies",
            "where",
            "headquarters",
            "=",
            "value"
        ],
        "question": "Which industries have both companies with headquarter in \"USA\" and companies with headquarter in \"China\"?",
        "question_toks": [
            "Which",
            "industries",
            "have",
            "both",
            "companies",
            "with",
            "headquarter",
            "in",
            "``",
            "USA",
            "''",
            "and",
            "companies",
            "with",
            "headquarter",
            "in",
            "``",
            "China",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"China\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT count(*) FROM Companies WHERE Industry  =  \"Banking\" OR Industry  =  \"Conglomerate\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Companies",
            "WHERE",
            "Industry",
            "=",
            "``",
            "Banking",
            "''",
            "OR",
            "Industry",
            "=",
            "``",
            "Conglomerate",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "companies",
            "where",
            "industry",
            "=",
            "value",
            "or",
            "industry",
            "=",
            "value"
        ],
        "question": "Find the number of companies whose industry is \"Banking\" or \"Conglomerate\",",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "companies",
            "whose",
            "industry",
            "is",
            "``",
            "Banking",
            "''",
            "or",
            "``",
            "Conglomerate",
            "''",
            ","
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Conglomerate\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT count(*) FROM Companies WHERE Industry  =  \"Banking\" OR Industry  =  \"Conglomerate\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Companies",
            "WHERE",
            "Industry",
            "=",
            "``",
            "Banking",
            "''",
            "OR",
            "Industry",
            "=",
            "``",
            "Conglomerate",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "companies",
            "where",
            "industry",
            "=",
            "value",
            "or",
            "industry",
            "=",
            "value"
        ],
        "question": "How many companies are in either \"Banking\" industry or \"Conglomerate\" industry?",
        "question_toks": [
            "How",
            "many",
            "companies",
            "are",
            "in",
            "either",
            "``",
            "Banking",
            "''",
            "industry",
            "or",
            "``",
            "Conglomerate",
            "''",
            "industry",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Banking\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Conglomerate\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Headquarters FROM Companies GROUP BY Headquarters HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Headquarters",
            "FROM",
            "Companies",
            "GROUP",
            "BY",
            "Headquarters",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "companies",
            "group",
            "by",
            "headquarters",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the headquarters shared by more than two companies.",
        "question_toks": [
            "Show",
            "the",
            "headquarters",
            "shared",
            "by",
            "more",
            "than",
            "two",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "company_office",
        "query": "SELECT Headquarters FROM Companies GROUP BY Headquarters HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Headquarters",
            "FROM",
            "Companies",
            "GROUP",
            "BY",
            "Headquarters",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "headquarters",
            "from",
            "companies",
            "group",
            "by",
            "headquarters",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which headquarter locations are used by more than 2 companies?",
        "question_toks": [
            "Which",
            "headquarter",
            "locations",
            "are",
            "used",
            "by",
            "more",
            "than",
            "2",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT count(*) FROM Products",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products"
        ],
        "question": "How many products are there?",
        "question_toks": [
            "How",
            "many",
            "products",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Name FROM Products ORDER BY Product_Price ASC",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "Products",
            "ORDER",
            "BY",
            "Product_Price",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "asc"
        ],
        "question": "List the name of products in ascending order of price.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "products",
            "in",
            "ascending",
            "order",
            "of",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Name ,  Product_Type_Code FROM Products",
        "query_toks": [
            "SELECT",
            "Product_Name",
            ",",
            "Product_Type_Code",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "product_type_code",
            "from",
            "products"
        ],
        "question": "What are the names and type codes of products?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "type",
            "codes",
            "of",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Price FROM Products WHERE Product_Name  =  \"Dining\" OR Product_Name  =  \"Trading Policy\"",
        "query_toks": [
            "SELECT",
            "Product_Price",
            "FROM",
            "Products",
            "WHERE",
            "Product_Name",
            "=",
            "``",
            "Dining",
            "''",
            "OR",
            "Product_Name",
            "=",
            "``",
            "Trading",
            "Policy",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_price",
            "from",
            "products",
            "where",
            "product_name",
            "=",
            "value",
            "or",
            "product_name",
            "=",
            "value"
        ],
        "question": "Show the prices of the products named \"Dining\" or \"Trading Policy\".",
        "question_toks": [
            "Show",
            "the",
            "prices",
            "of",
            "the",
            "products",
            "named",
            "``",
            "Dining",
            "''",
            "or",
            "``",
            "Trading",
            "Policy",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Dining\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Trading Policy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT avg(Product_Price) FROM Products",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Product_Price",
            ")",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products"
        ],
        "question": "What is the average price for products?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "for",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Name FROM Products ORDER BY Product_Price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "Products",
            "ORDER",
            "BY",
            "Product_Price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the product with the highest price?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "product",
            "with",
            "the",
            "highest",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Type_Code ,  COUNT(*) FROM Products GROUP BY Product_Type_Code",
        "query_toks": [
            "SELECT",
            "Product_Type_Code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Products",
            "GROUP",
            "BY",
            "Product_Type_Code"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "group",
            "by",
            "product_type_code"
        ],
        "question": "Show different type codes of products and the number of products with each type code.",
        "question_toks": [
            "Show",
            "different",
            "type",
            "codes",
            "of",
            "products",
            "and",
            "the",
            "number",
            "of",
            "products",
            "with",
            "each",
            "type",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Product_Type_Code",
            "FROM",
            "Products",
            "GROUP",
            "BY",
            "Product_Type_Code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            "from",
            "products",
            "group",
            "by",
            "product_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common type code across products.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "type",
            "code",
            "across",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "Product_Type_Code",
            "FROM",
            "Products",
            "GROUP",
            "BY",
            "Product_Type_Code",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            "from",
            "products",
            "group",
            "by",
            "product_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the product type codes that have at least two products.",
        "question_toks": [
            "Show",
            "the",
            "product",
            "type",
            "codes",
            "that",
            "have",
            "at",
            "least",
            "two",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Type_Code FROM Products WHERE Product_Price  >  4500 INTERSECT SELECT Product_Type_Code FROM Products WHERE Product_Price  <  3000",
        "query_toks": [
            "SELECT",
            "Product_Type_Code",
            "FROM",
            "Products",
            "WHERE",
            "Product_Price",
            ">",
            "4500",
            "INTERSECT",
            "SELECT",
            "Product_Type_Code",
            "FROM",
            "Products",
            "WHERE",
            "Product_Price",
            "<",
            "3000"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            "from",
            "products",
            "where",
            "product_price",
            ">",
            "value",
            "intersect",
            "select",
            "product_type_code",
            "from",
            "products",
            "where",
            "product_price",
            "<",
            "value"
        ],
        "question": "Show the product type codes that have both products with price higher than 4500 and products with price lower than 3000.",
        "question_toks": [
            "Show",
            "the",
            "product",
            "type",
            "codes",
            "that",
            "have",
            "both",
            "products",
            "with",
            "price",
            "higher",
            "than",
            "4500",
            "and",
            "products",
            "with",
            "price",
            "lower",
            "than",
            "3000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    4500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        3000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT T1.Product_Name ,  COUNT(*) FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID  =  T2.Product_ID GROUP BY T1.Product_Name",
        "query_toks": [
            "SELECT",
            "T1.Product_Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Products",
            "AS",
            "T1",
            "JOIN",
            "Products_in_Events",
            "AS",
            "T2",
            "ON",
            "T1.Product_ID",
            "=",
            "T2.Product_ID",
            "GROUP",
            "BY",
            "T1.Product_Name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "products_in_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_name"
        ],
        "question": "Show the names of products and the number of events they are in.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "products",
            "and",
            "the",
            "number",
            "of",
            "events",
            "they",
            "are",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT T1.Product_Name ,  COUNT(*) FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID  =  T2.Product_ID GROUP BY T1.Product_Name ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "T1.Product_Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Products",
            "AS",
            "T1",
            "JOIN",
            "Products_in_Events",
            "AS",
            "T2",
            "ON",
            "T1.Product_ID",
            "=",
            "T2.Product_ID",
            "GROUP",
            "BY",
            "T1.Product_Name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "products_in_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Show the names of products and the number of events they are in, sorted by the number of events in descending order.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "products",
            "and",
            "the",
            "number",
            "of",
            "events",
            "they",
            "are",
            "in",
            ",",
            "sorted",
            "by",
            "the",
            "number",
            "of",
            "events",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT T1.Product_Name FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID  =  T2.Product_ID GROUP BY T1.Product_Name HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.Product_Name",
            "FROM",
            "Products",
            "AS",
            "T1",
            "JOIN",
            "Products_in_Events",
            "AS",
            "T2",
            "ON",
            "T1.Product_ID",
            "=",
            "T2.Product_ID",
            "GROUP",
            "BY",
            "T1.Product_Name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "products_in_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the names of products that are in at least two events.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "products",
            "that",
            "are",
            "in",
            "at",
            "least",
            "two",
            "events",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT T1.Product_Name FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID  =  T2.Product_ID GROUP BY T1.Product_Name HAVING COUNT(*)  >=  2 ORDER BY T1.Product_Name",
        "query_toks": [
            "SELECT",
            "T1.Product_Name",
            "FROM",
            "Products",
            "AS",
            "T1",
            "JOIN",
            "Products_in_Events",
            "AS",
            "T2",
            "ON",
            "T1.Product_ID",
            "=",
            "T2.Product_ID",
            "GROUP",
            "BY",
            "T1.Product_Name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2",
            "ORDER",
            "BY",
            "T1.Product_Name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "products_in_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "product_name"
        ],
        "question": "Show the names of products that are in at least two events in ascending alphabetical order of product name.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "products",
            "that",
            "are",
            "in",
            "at",
            "least",
            "two",
            "events",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "of",
            "product",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "solvency_ii",
        "query": "SELECT Product_Name FROM Products WHERE Product_ID NOT IN (SELECT Product_ID FROM Products_in_Events)",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "Products",
            "WHERE",
            "Product_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Product_ID",
            "FROM",
            "Products_in_Events",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "where",
            "product_id",
            "not",
            "in",
            "(",
            "select",
            "product_id",
            "from",
            "products_in_events",
            ")"
        ],
        "question": "List the names of products that are not in any event.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "products",
            "that",
            "are",
            "not",
            "in",
            "any",
            "event",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    8
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT count(*) FROM artwork",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artwork"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artwork"
        ],
        "question": "How many artworks are there?",
        "question_toks": [
            "How",
            "many",
            "artworks",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT Name FROM artwork ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "artwork",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artwork",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "List the name of artworks in ascending alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "artworks",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT Name FROM artwork WHERE TYPE != \"Program Talent Show\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "artwork",
            "WHERE",
            "TYPE",
            "!",
            "=",
            "``",
            "Program",
            "Talent",
            "Show",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artwork",
            "where",
            "type",
            "!",
            "=",
            "value"
        ],
        "question": "List the name of artworks whose type is not \"Program Talent Show\".",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "artworks",
            "whose",
            "type",
            "is",
            "not",
            "``",
            "Program",
            "Talent",
            "Show",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Program Talent Show\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT Festival_Name ,  LOCATION FROM festival_detail",
        "query_toks": [
            "SELECT",
            "Festival_Name",
            ",",
            "LOCATION",
            "FROM",
            "festival_detail"
        ],
        "query_toks_no_value": [
            "select",
            "festival_name",
            ",",
            "location",
            "from",
            "festival_detail"
        ],
        "question": "What are the names and locations of festivals?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "festivals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT Chair_Name FROM festival_detail ORDER BY YEAR ASC",
        "query_toks": [
            "SELECT",
            "Chair_Name",
            "FROM",
            "festival_detail",
            "ORDER",
            "BY",
            "YEAR",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "chair_name",
            "from",
            "festival_detail",
            "order",
            "by",
            "year",
            "asc"
        ],
        "question": "What are the names of the chairs of festivals, sorted in ascending order of the year held?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "chairs",
            "of",
            "festivals",
            ",",
            "sorted",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "year",
            "held",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT LOCATION FROM festival_detail ORDER BY Num_of_Audience DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "festival_detail",
            "ORDER",
            "BY",
            "Num_of_Audience",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "festival_detail",
            "order",
            "by",
            "num_of_audience",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the location of the festival with the largest number of audience?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "of",
            "the",
            "festival",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "audience",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT Festival_Name FROM festival_detail WHERE YEAR  =  2007",
        "query_toks": [
            "SELECT",
            "Festival_Name",
            "FROM",
            "festival_detail",
            "WHERE",
            "YEAR",
            "=",
            "2007"
        ],
        "query_toks_no_value": [
            "select",
            "festival_name",
            "from",
            "festival_detail",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are the names of festivals held in year 2007?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "festivals",
            "held",
            "in",
            "year",
            "2007",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT avg(Num_of_Audience) FROM festival_detail",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Num_of_Audience",
            ")",
            "FROM",
            "festival_detail"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "num_of_audience",
            ")",
            "from",
            "festival_detail"
        ],
        "question": "What is the average number of audience for festivals?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "audience",
            "for",
            "festivals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT Festival_Name FROM festival_detail ORDER BY YEAR DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "Festival_Name",
            "FROM",
            "festival_detail",
            "ORDER",
            "BY",
            "YEAR",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "festival_name",
            "from",
            "festival_detail",
            "order",
            "by",
            "year",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the names of the three most recent festivals.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "the",
            "three",
            "most",
            "recent",
            "festivals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT T2.Name ,  T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID  =  T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID  =  T3.Festival_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T3.Festival_Name",
            "FROM",
            "nomination",
            "AS",
            "T1",
            "JOIN",
            "artwork",
            "AS",
            "T2",
            "ON",
            "T1.Artwork_ID",
            "=",
            "T2.Artwork_ID",
            "JOIN",
            "festival_detail",
            "AS",
            "T3",
            "ON",
            "T1.Festival_ID",
            "=",
            "T3.Festival_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "festival_name",
            "from",
            "nomination",
            "as",
            "t1",
            "join",
            "artwork",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artwork_id",
            "=",
            "t2",
            ".",
            "artwork_id",
            "join",
            "festival_detail",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "festival_id",
            "=",
            "t3",
            ".",
            "festival_id"
        ],
        "question": "For each nomination, show the name of the artwork and name of the festival where it is nominated.",
        "question_toks": [
            "For",
            "each",
            "nomination",
            ",",
            "show",
            "the",
            "name",
            "of",
            "the",
            "artwork",
            "and",
            "name",
            "of",
            "the",
            "festival",
            "where",
            "it",
            "is",
            "nominated",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT DISTINCT T2.Type FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID  =  T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID  =  T3.Festival_ID WHERE T3.Year  =  2007",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Type",
            "FROM",
            "nomination",
            "AS",
            "T1",
            "JOIN",
            "artwork",
            "AS",
            "T2",
            "ON",
            "T1.Artwork_ID",
            "=",
            "T2.Artwork_ID",
            "JOIN",
            "festival_detail",
            "AS",
            "T3",
            "ON",
            "T1.Festival_ID",
            "=",
            "T3.Festival_ID",
            "WHERE",
            "T3.Year",
            "=",
            "2007"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "type",
            "from",
            "nomination",
            "as",
            "t1",
            "join",
            "artwork",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artwork_id",
            "=",
            "t2",
            ".",
            "artwork_id",
            "join",
            "festival_detail",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "festival_id",
            "=",
            "t3",
            ".",
            "festival_id",
            "where",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Show distinct types of artworks that are nominated in festivals in 2007.",
        "question_toks": [
            "Show",
            "distinct",
            "types",
            "of",
            "artworks",
            "that",
            "are",
            "nominated",
            "in",
            "festivals",
            "in",
            "2007",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT T2.Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID  =  T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID  =  T3.Festival_ID ORDER BY T3.Year",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "nomination",
            "AS",
            "T1",
            "JOIN",
            "artwork",
            "AS",
            "T2",
            "ON",
            "T1.Artwork_ID",
            "=",
            "T2.Artwork_ID",
            "JOIN",
            "festival_detail",
            "AS",
            "T3",
            "ON",
            "T1.Festival_ID",
            "=",
            "T3.Festival_ID",
            "ORDER",
            "BY",
            "T3.Year"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "nomination",
            "as",
            "t1",
            "join",
            "artwork",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artwork_id",
            "=",
            "t2",
            ".",
            "artwork_id",
            "join",
            "festival_detail",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "festival_id",
            "=",
            "t3",
            ".",
            "festival_id",
            "order",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "Show the names of artworks in ascending order of the year they are nominated in.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "artworks",
            "in",
            "ascending",
            "order",
            "of",
            "the",
            "year",
            "they",
            "are",
            "nominated",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID  =  T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID  =  T3.Festival_ID WHERE T2.Type  =  \"Program Talent Show\"",
        "query_toks": [
            "SELECT",
            "T3.Festival_Name",
            "FROM",
            "nomination",
            "AS",
            "T1",
            "JOIN",
            "artwork",
            "AS",
            "T2",
            "ON",
            "T1.Artwork_ID",
            "=",
            "T2.Artwork_ID",
            "JOIN",
            "festival_detail",
            "AS",
            "T3",
            "ON",
            "T1.Festival_ID",
            "=",
            "T3.Festival_ID",
            "WHERE",
            "T2.Type",
            "=",
            "``",
            "Program",
            "Talent",
            "Show",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "festival_name",
            "from",
            "nomination",
            "as",
            "t1",
            "join",
            "artwork",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artwork_id",
            "=",
            "t2",
            ".",
            "artwork_id",
            "join",
            "festival_detail",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "festival_id",
            "=",
            "t3",
            ".",
            "festival_id",
            "where",
            "t2",
            ".",
            "type",
            "=",
            "value"
        ],
        "question": "Show the names of festivals that have nominated artworks of type \"Program Talent Show\".",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "festivals",
            "that",
            "have",
            "nominated",
            "artworks",
            "of",
            "type",
            "``",
            "Program",
            "Talent",
            "Show",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Program Talent Show\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT T1.Festival_ID ,  T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID  =  T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID  =  T3.Festival_ID GROUP BY T1.Festival_ID HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.Festival_ID",
            ",",
            "T3.Festival_Name",
            "FROM",
            "nomination",
            "AS",
            "T1",
            "JOIN",
            "artwork",
            "AS",
            "T2",
            "ON",
            "T1.Artwork_ID",
            "=",
            "T2.Artwork_ID",
            "JOIN",
            "festival_detail",
            "AS",
            "T3",
            "ON",
            "T1.Festival_ID",
            "=",
            "T3.Festival_ID",
            "GROUP",
            "BY",
            "T1.Festival_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "festival_id",
            ",",
            "t3",
            ".",
            "festival_name",
            "from",
            "nomination",
            "as",
            "t1",
            "join",
            "artwork",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artwork_id",
            "=",
            "t2",
            ".",
            "artwork_id",
            "join",
            "festival_detail",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "festival_id",
            "=",
            "t3",
            ".",
            "festival_id",
            "group",
            "by",
            "t1",
            ".",
            "festival_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the ids and names of festivals that have at least two nominations for artworks.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "festivals",
            "that",
            "have",
            "at",
            "least",
            "two",
            "nominations",
            "for",
            "artworks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT T1.Festival_ID ,  T3.Festival_Name ,  COUNT(*) FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID  =  T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID  =  T3.Festival_ID GROUP BY T1.Festival_ID",
        "query_toks": [
            "SELECT",
            "T1.Festival_ID",
            ",",
            "T3.Festival_Name",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "nomination",
            "AS",
            "T1",
            "JOIN",
            "artwork",
            "AS",
            "T2",
            "ON",
            "T1.Artwork_ID",
            "=",
            "T2.Artwork_ID",
            "JOIN",
            "festival_detail",
            "AS",
            "T3",
            "ON",
            "T1.Festival_ID",
            "=",
            "T3.Festival_ID",
            "GROUP",
            "BY",
            "T1.Festival_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "festival_id",
            ",",
            "t3",
            ".",
            "festival_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "nomination",
            "as",
            "t1",
            "join",
            "artwork",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artwork_id",
            "=",
            "t2",
            ".",
            "artwork_id",
            "join",
            "festival_detail",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "festival_id",
            "=",
            "t3",
            ".",
            "festival_id",
            "group",
            "by",
            "t1",
            ".",
            "festival_id"
        ],
        "question": "Show the id, name of each festival and the number of artworks it has nominated.",
        "question_toks": [
            "Show",
            "the",
            "id",
            ",",
            "name",
            "of",
            "each",
            "festival",
            "and",
            "the",
            "number",
            "of",
            "artworks",
            "it",
            "has",
            "nominated",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT TYPE ,  COUNT(*) FROM artwork GROUP BY TYPE",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "artwork",
            "GROUP",
            "BY",
            "TYPE"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artwork",
            "group",
            "by",
            "type"
        ],
        "question": "Please show different types of artworks with the corresponding number of artworks of each type.",
        "question_toks": [
            "Please",
            "show",
            "different",
            "types",
            "of",
            "artworks",
            "with",
            "the",
            "corresponding",
            "number",
            "of",
            "artworks",
            "of",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT TYPE FROM artwork GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "artwork",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "artwork",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the most common type of artworks.",
        "question_toks": [
            "List",
            "the",
            "most",
            "common",
            "type",
            "of",
            "artworks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT YEAR FROM festival_detail GROUP BY YEAR HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "YEAR",
            "FROM",
            "festival_detail",
            "GROUP",
            "BY",
            "YEAR",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            "from",
            "festival_detail",
            "group",
            "by",
            "year",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the year in which there are more than one festivals.",
        "question_toks": [
            "List",
            "the",
            "year",
            "in",
            "which",
            "there",
            "are",
            "more",
            "than",
            "one",
            "festivals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT Name FROM Artwork WHERE Artwork_ID NOT IN (SELECT Artwork_ID FROM nomination)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "Artwork",
            "WHERE",
            "Artwork_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Artwork_ID",
            "FROM",
            "nomination",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "artwork",
            "where",
            "artwork_id",
            "not",
            "in",
            "(",
            "select",
            "artwork_id",
            "from",
            "nomination",
            ")"
        ],
        "question": "List the name of artworks that are not nominated.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "artworks",
            "that",
            "are",
            "not",
            "nominated",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT Num_of_Audience FROM festival_detail WHERE YEAR  =  2008 OR YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "Num_of_Audience",
            "FROM",
            "festival_detail",
            "WHERE",
            "YEAR",
            "=",
            "2008",
            "OR",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "num_of_audience",
            "from",
            "festival_detail",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "Show the number of audience in year 2008 or 2010.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "audience",
            "in",
            "year",
            "2008",
            "or",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT sum(Num_of_Audience) FROM festival_detail",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Num_of_Audience",
            ")",
            "FROM",
            "festival_detail"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "num_of_audience",
            ")",
            "from",
            "festival_detail"
        ],
        "question": "What are the total number of the audiences who visited any of the festivals?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "number",
            "of",
            "the",
            "audiences",
            "who",
            "visited",
            "any",
            "of",
            "the",
            "festivals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "entertainment_awards",
        "query": "SELECT YEAR FROM festival_detail WHERE LOCATION  =  'United States' INTERSECT SELECT YEAR FROM festival_detail WHERE LOCATION != 'United States'",
        "query_toks": [
            "SELECT",
            "YEAR",
            "FROM",
            "festival_detail",
            "WHERE",
            "LOCATION",
            "=",
            "'United",
            "States",
            "'",
            "INTERSECT",
            "SELECT",
            "YEAR",
            "FROM",
            "festival_detail",
            "WHERE",
            "LOCATION",
            "!",
            "=",
            "'United",
            "States",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            "from",
            "festival_detail",
            "where",
            "location",
            "=",
            "value",
            "intersect",
            "select",
            "year",
            "from",
            "festival_detail",
            "where",
            "location",
            "!",
            "=",
            "value"
        ],
        "question": "In which year are there festivals both inside the 'United States' and outside the 'United States'?",
        "question_toks": [
            "In",
            "which",
            "year",
            "are",
            "there",
            "festivals",
            "both",
            "inside",
            "the",
            "'United",
            "States",
            "'",
            "and",
            "outside",
            "the",
            "'United",
            "States",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        7,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"United States\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT count(*) FROM premises",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "premises"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "premises"
        ],
        "question": "How many premises are there?",
        "question_toks": [
            "How",
            "many",
            "premises",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT DISTINCT premises_type FROM premises",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "premises_type",
            "FROM",
            "premises"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "premises_type",
            "from",
            "premises"
        ],
        "question": "What are all the distinct premise types?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "distinct",
            "premise",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT premises_type ,  premise_details FROM premises ORDER BY premises_type",
        "query_toks": [
            "SELECT",
            "premises_type",
            ",",
            "premise_details",
            "FROM",
            "premises",
            "ORDER",
            "BY",
            "premises_type"
        ],
        "query_toks_no_value": [
            "select",
            "premises_type",
            ",",
            "premise_details",
            "from",
            "premises",
            "order",
            "by",
            "premises_type"
        ],
        "question": "Find the types and details for all premises and order by the premise type.",
        "question_toks": [
            "Find",
            "the",
            "types",
            "and",
            "details",
            "for",
            "all",
            "premises",
            "and",
            "order",
            "by",
            "the",
            "premise",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT premises_type ,  count(*) FROM premises GROUP BY premises_type",
        "query_toks": [
            "SELECT",
            "premises_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "premises",
            "GROUP",
            "BY",
            "premises_type"
        ],
        "query_toks_no_value": [
            "select",
            "premises_type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "premises",
            "group",
            "by",
            "premises_type"
        ],
        "question": "Show each premise type and the number of premises in that type.",
        "question_toks": [
            "Show",
            "each",
            "premise",
            "type",
            "and",
            "the",
            "number",
            "of",
            "premises",
            "in",
            "that",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT product_category ,  count(*) FROM mailshot_campaigns GROUP BY product_category",
        "query_toks": [
            "SELECT",
            "product_category",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "mailshot_campaigns",
            "GROUP",
            "BY",
            "product_category"
        ],
        "query_toks_no_value": [
            "select",
            "product_category",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "mailshot_campaigns",
            "group",
            "by",
            "product_category"
        ],
        "question": "Show all distinct product categories along with the number of mailshots in each category.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "product",
            "categories",
            "along",
            "with",
            "the",
            "number",
            "of",
            "mailshots",
            "in",
            "each",
            "category",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT customer_name ,  customer_phone FROM customers WHERE customer_id NOT IN (SELECT customer_id FROM mailshot_customers)",
        "query_toks": [
            "SELECT",
            "customer_name",
            ",",
            "customer_phone",
            "FROM",
            "customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "mailshot_customers",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            ",",
            "customer_phone",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "mailshot_customers",
            ")"
        ],
        "question": "Show the name and phone of the customer without any mailshot.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "phone",
            "of",
            "the",
            "customer",
            "without",
            "any",
            "mailshot",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            33,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT T1.customer_name ,  T1.customer_phone FROM customers AS T1 JOIN mailshot_customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.outcome_code  =  'No Response'",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            ",",
            "T1.customer_phone",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "mailshot_customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.outcome_code",
            "=",
            "'No",
            "Response",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_phone",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "mailshot_customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "outcome_code",
            "=",
            "value"
        ],
        "question": "Show the name and phone for customers with a mailshot with outcome code 'No Response'.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "phone",
            "for",
            "customers",
            "with",
            "a",
            "mailshot",
            "with",
            "outcome",
            "code",
            "'No",
            "Response",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    "\"No Response\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT outcome_code ,  count(*) FROM mailshot_customers GROUP BY outcome_code",
        "query_toks": [
            "SELECT",
            "outcome_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "mailshot_customers",
            "GROUP",
            "BY",
            "outcome_code"
        ],
        "query_toks_no_value": [
            "select",
            "outcome_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "mailshot_customers",
            "group",
            "by",
            "outcome_code"
        ],
        "question": "Show the outcome code of mailshots along with the number of mailshots in each outcome code.",
        "question_toks": [
            "Show",
            "the",
            "outcome",
            "code",
            "of",
            "mailshots",
            "along",
            "with",
            "the",
            "number",
            "of",
            "mailshots",
            "in",
            "each",
            "outcome",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT T2.customer_name FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE outcome_code  =  'Order' GROUP BY T1.customer_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.customer_name",
            "FROM",
            "mailshot_customers",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "outcome_code",
            "=",
            "'Order",
            "'",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_name",
            "from",
            "mailshot_customers",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "outcome_code",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the names of customers who have at least 2 mailshots with outcome code 'Order'.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "at",
            "least",
            "2",
            "mailshots",
            "with",
            "outcome",
            "code",
            "'Order",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    "\"Order\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    33,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT T2.customer_name FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.customer_name",
            "FROM",
            "mailshot_customers",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_name",
            "from",
            "mailshot_customers",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the names of customers who have the most mailshots.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "the",
            "most",
            "mailshots",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    33,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT T2.customer_name ,  T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.outcome_code  =  'Order' INTERSECT SELECT T2.customer_name ,  T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.outcome_code  =  'No Response'",
        "query_toks": [
            "SELECT",
            "T2.customer_name",
            ",",
            "T2.payment_method",
            "FROM",
            "mailshot_customers",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.outcome_code",
            "=",
            "'Order",
            "'",
            "INTERSECT",
            "SELECT",
            "T2.customer_name",
            ",",
            "T2.payment_method",
            "FROM",
            "mailshot_customers",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.outcome_code",
            "=",
            "'No",
            "Response",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_name",
            ",",
            "t2",
            ".",
            "payment_method",
            "from",
            "mailshot_customers",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "outcome_code",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "customer_name",
            ",",
            "t2",
            ".",
            "payment_method",
            "from",
            "mailshot_customers",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "outcome_code",
            "=",
            "value"
        ],
        "question": "What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome.",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "payment",
            "method",
            "of",
            "customers",
            "who",
            "have",
            "both",
            "mailshots",
            "in",
            "'Order",
            "'",
            "outcome",
            "and",
            "mailshots",
            "in",
            "'No",
            "Response",
            "'",
            "outcome",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    "\"Order\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    33,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        "\"No Response\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT T2.premises_type ,  T1.address_type_code FROM customer_addresses AS T1 JOIN premises AS T2 ON T1.premise_id  =  T2.premise_id",
        "query_toks": [
            "SELECT",
            "T2.premises_type",
            ",",
            "T1.address_type_code",
            "FROM",
            "customer_addresses",
            "AS",
            "T1",
            "JOIN",
            "premises",
            "AS",
            "T2",
            "ON",
            "T1.premise_id",
            "=",
            "T2.premise_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "premises_type",
            ",",
            "t1",
            ".",
            "address_type_code",
            "from",
            "customer_addresses",
            "as",
            "t1",
            "join",
            "premises",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "premise_id",
            "=",
            "t2",
            ".",
            "premise_id"
        ],
        "question": "Show the premise type and address type code for all customer addresses.",
        "question_toks": [
            "Show",
            "the",
            "premise",
            "type",
            "and",
            "address",
            "type",
            "code",
            "for",
            "all",
            "customer",
            "addresses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT DISTINCT address_type_code FROM customer_addresses",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "address_type_code",
            "FROM",
            "customer_addresses"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "address_type_code",
            "from",
            "customer_addresses"
        ],
        "question": "What are the distinct address type codes for all customer addresses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "address",
            "type",
            "codes",
            "for",
            "all",
            "customer",
            "addresses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT order_shipping_charges ,  customer_id FROM customer_orders WHERE order_status_code  =  'Cancelled' OR order_status_code  =  'Paid'",
        "query_toks": [
            "SELECT",
            "order_shipping_charges",
            ",",
            "customer_id",
            "FROM",
            "customer_orders",
            "WHERE",
            "order_status_code",
            "=",
            "'Cancelled",
            "'",
            "OR",
            "order_status_code",
            "=",
            "'Paid",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "order_shipping_charges",
            ",",
            "customer_id",
            "from",
            "customer_orders",
            "where",
            "order_status_code",
            "=",
            "value",
            "or",
            "order_status_code",
            "=",
            "value"
        ],
        "question": "Show the shipping charge and customer id for customer orders with order status Cancelled or Paid.",
        "question_toks": [
            "Show",
            "the",
            "shipping",
            "charge",
            "and",
            "customer",
            "id",
            "for",
            "customer",
            "orders",
            "with",
            "order",
            "status",
            "Cancelled",
            "or",
            "Paid",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Paid\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_campaigns_ecommerce",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE shipping_method_code  =  'FedEx' AND order_status_code  =  'Paid'",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "shipping_method_code",
            "=",
            "'FedEx",
            "'",
            "AND",
            "order_status_code",
            "=",
            "'Paid",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "shipping_method_code",
            "=",
            "value",
            "and",
            "order_status_code",
            "=",
            "value"
        ],
        "question": "Show the names of customers having an order with shipping method FedEx and order status Paid.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "customers",
            "having",
            "an",
            "order",
            "with",
            "shipping",
            "method",
            "FedEx",
            "and",
            "order",
            "status",
            "Paid",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"FedEx\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Paid\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT count(*) FROM COURSE",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "COURSE"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "course"
        ],
        "question": "How many courses are there in total?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT count(*) FROM COURSE",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "COURSE"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "course"
        ],
        "question": "Count the number of courses.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "courses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT count(*) FROM COURSE WHERE Credits  >  2",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "COURSE",
            "WHERE",
            "Credits",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "course",
            "where",
            "credits",
            ">",
            "value"
        ],
        "question": "How many courses have more than 2 credits?",
        "question_toks": [
            "How",
            "many",
            "courses",
            "have",
            "more",
            "than",
            "2",
            "credits",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT count(*) FROM COURSE WHERE Credits  >  2",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "COURSE",
            "WHERE",
            "Credits",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "course",
            "where",
            "credits",
            ">",
            "value"
        ],
        "question": "Count the number of courses with more than 2 credits.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "courses",
            "with",
            "more",
            "than",
            "2",
            "credits",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT CName FROM COURSE WHERE Credits  =  1",
        "query_toks": [
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "WHERE",
            "Credits",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "course",
            "where",
            "credits",
            "=",
            "value"
        ],
        "question": "List all names of courses with 1 credit?",
        "question_toks": [
            "List",
            "all",
            "names",
            "of",
            "courses",
            "with",
            "1",
            "credit",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT CName FROM COURSE WHERE Credits  =  1",
        "query_toks": [
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "WHERE",
            "Credits",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "course",
            "where",
            "credits",
            "=",
            "value"
        ],
        "question": "What are the names of courses with 1 credit?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "courses",
            "with",
            "1",
            "credit",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT CName FROM COURSE WHERE Days  =  \"MTW\"",
        "query_toks": [
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "WHERE",
            "Days",
            "=",
            "``",
            "MTW",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "course",
            "where",
            "days",
            "=",
            "value"
        ],
        "question": "Which courses are taught on days MTW?",
        "question_toks": [
            "Which",
            "courses",
            "are",
            "taught",
            "on",
            "days",
            "MTW",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"MTW\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT CName FROM COURSE WHERE Days  =  \"MTW\"",
        "query_toks": [
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "WHERE",
            "Days",
            "=",
            "``",
            "MTW",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "course",
            "where",
            "days",
            "=",
            "value"
        ],
        "question": "What are the course names for courses taught on MTW?",
        "question_toks": [
            "What",
            "are",
            "the",
            "course",
            "names",
            "for",
            "courses",
            "taught",
            "on",
            "MTW",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"MTW\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT count(*) FROM DEPARTMENT WHERE Division  =  \"AS\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Division",
            "=",
            "``",
            "AS",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "department",
            "where",
            "division",
            "=",
            "value"
        ],
        "question": "What is the number of departments in Division \"AS\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "departments",
            "in",
            "Division",
            "``",
            "AS",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"AS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT count(*) FROM DEPARTMENT WHERE Division  =  \"AS\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Division",
            "=",
            "``",
            "AS",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "department",
            "where",
            "division",
            "=",
            "value"
        ],
        "question": "How many departments are in the division AS?",
        "question_toks": [
            "How",
            "many",
            "departments",
            "are",
            "in",
            "the",
            "division",
            "AS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"AS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DPhone FROM DEPARTMENT WHERE Room  =  268",
        "query_toks": [
            "SELECT",
            "DPhone",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Room",
            "=",
            "268"
        ],
        "query_toks_no_value": [
            "select",
            "dphone",
            "from",
            "department",
            "where",
            "room",
            "=",
            "value"
        ],
        "question": "What are the phones of departments in Room 268?",
        "question_toks": [
            "What",
            "are",
            "the",
            "phones",
            "of",
            "departments",
            "in",
            "Room",
            "268",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    268.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DPhone FROM DEPARTMENT WHERE Room  =  268",
        "query_toks": [
            "SELECT",
            "DPhone",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Room",
            "=",
            "268"
        ],
        "query_toks_no_value": [
            "select",
            "dphone",
            "from",
            "department",
            "where",
            "room",
            "=",
            "value"
        ],
        "question": "Give the phones for departments in room 268.",
        "question_toks": [
            "Give",
            "the",
            "phones",
            "for",
            "departments",
            "in",
            "room",
            "268",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    268.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT COUNT(DISTINCT StuID) FROM ENROLLED_IN WHERE Grade  =  \"B\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "StuID",
            ")",
            "FROM",
            "ENROLLED_IN",
            "WHERE",
            "Grade",
            "=",
            "``",
            "B",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "stuid",
            ")",
            "from",
            "enrolled_in",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "Find the number of students that have at least one grade \"B\".",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "that",
            "have",
            "at",
            "least",
            "one",
            "grade",
            "``",
            "B",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                35,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"B\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT COUNT(DISTINCT StuID) FROM ENROLLED_IN WHERE Grade  =  \"B\"",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "StuID",
            ")",
            "FROM",
            "ENROLLED_IN",
            "WHERE",
            "Grade",
            "=",
            "``",
            "B",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "stuid",
            ")",
            "from",
            "enrolled_in",
            "where",
            "grade",
            "=",
            "value"
        ],
        "question": "How many students have had at least one \"B\" grade?",
        "question_toks": [
            "How",
            "many",
            "students",
            "have",
            "had",
            "at",
            "least",
            "one",
            "``",
            "B",
            "''",
            "grade",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                35,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"B\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT max(gradepoint) ,  min(gradepoint) FROM GRADECONVERSION",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "gradepoint",
            ")",
            ",",
            "min",
            "(",
            "gradepoint",
            ")",
            "FROM",
            "GRADECONVERSION"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "gradepoint",
            ")",
            ",",
            "min",
            "(",
            "gradepoint",
            ")",
            "from",
            "gradeconversion"
        ],
        "question": "Find the max and min grade point for all letter grade.",
        "question_toks": [
            "Find",
            "the",
            "max",
            "and",
            "min",
            "grade",
            "point",
            "for",
            "all",
            "letter",
            "grade",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT max(gradepoint) ,  min(gradepoint) FROM GRADECONVERSION",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "gradepoint",
            ")",
            ",",
            "min",
            "(",
            "gradepoint",
            ")",
            "FROM",
            "GRADECONVERSION"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "gradepoint",
            ")",
            ",",
            "min",
            "(",
            "gradepoint",
            ")",
            "from",
            "gradeconversion"
        ],
        "question": "What are the maximum and minumum grade points?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minumum",
            "grade",
            "points",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Fname",
            "FROM",
            "STUDENT",
            "WHERE",
            "Fname",
            "LIKE",
            "'",
            "%",
            "a",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "fname",
            "from",
            "student",
            "where",
            "fname",
            "like",
            "value"
        ],
        "question": "Find the first names of students whose first names contain letter \"a\".",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "students",
            "whose",
            "first",
            "names",
            "contain",
            "letter",
            "``",
            "a",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Fname",
            "FROM",
            "STUDENT",
            "WHERE",
            "Fname",
            "LIKE",
            "'",
            "%",
            "a",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "fname",
            "from",
            "student",
            "where",
            "fname",
            "like",
            "value"
        ],
        "question": "What are the first names for students who have an \"a\" in their first name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "for",
            "students",
            "who",
            "have",
            "an",
            "``",
            "a",
            "''",
            "in",
            "their",
            "first",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Fname ,  Lname FROM FACULTY WHERE sex  =  \"M\" AND Building  =  \"NEB\"",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "FACULTY",
            "WHERE",
            "sex",
            "=",
            "``",
            "M",
            "''",
            "AND",
            "Building",
            "=",
            "``",
            "NEB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "faculty",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "building",
            "=",
            "value"
        ],
        "question": "Find the first names and last names of male (sex is M) faculties who live in building NEB.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "male",
            "(",
            "sex",
            "is",
            "M",
            ")",
            "faculties",
            "who",
            "live",
            "in",
            "building",
            "NEB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"NEB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Fname ,  Lname FROM FACULTY WHERE sex  =  \"M\" AND Building  =  \"NEB\"",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "FACULTY",
            "WHERE",
            "sex",
            "=",
            "``",
            "M",
            "''",
            "AND",
            "Building",
            "=",
            "``",
            "NEB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "faculty",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "building",
            "=",
            "value"
        ],
        "question": "What are the full names of faculties with sex M and who live in building NEB?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "faculties",
            "with",
            "sex",
            "M",
            "and",
            "who",
            "live",
            "in",
            "building",
            "NEB",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"NEB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Room FROM FACULTY WHERE Rank  =  \"Professor\" AND Building  =  \"NEB\"",
        "query_toks": [
            "SELECT",
            "Room",
            "FROM",
            "FACULTY",
            "WHERE",
            "Rank",
            "=",
            "``",
            "Professor",
            "''",
            "AND",
            "Building",
            "=",
            "``",
            "NEB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "room",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "and",
            "building",
            "=",
            "value"
        ],
        "question": "Find the rooms of faculties with rank professor who live in building NEB.",
        "question_toks": [
            "Find",
            "the",
            "rooms",
            "of",
            "faculties",
            "with",
            "rank",
            "professor",
            "who",
            "live",
            "in",
            "building",
            "NEB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"NEB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Room FROM FACULTY WHERE Rank  =  \"Professor\" AND Building  =  \"NEB\"",
        "query_toks": [
            "SELECT",
            "Room",
            "FROM",
            "FACULTY",
            "WHERE",
            "Rank",
            "=",
            "``",
            "Professor",
            "''",
            "AND",
            "Building",
            "=",
            "``",
            "NEB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "room",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "and",
            "building",
            "=",
            "value"
        ],
        "question": "What are the rooms for members of the faculty who are professors and who live in building NEB?",
        "question_toks": [
            "What",
            "are",
            "the",
            "rooms",
            "for",
            "members",
            "of",
            "the",
            "faculty",
            "who",
            "are",
            "professors",
            "and",
            "who",
            "live",
            "in",
            "building",
            "NEB",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"NEB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DName FROM DEPARTMENT WHERE Building  =  \"Mergenthaler\"",
        "query_toks": [
            "SELECT",
            "DName",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Building",
            "=",
            "``",
            "Mergenthaler",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "dname",
            "from",
            "department",
            "where",
            "building",
            "=",
            "value"
        ],
        "question": "Find the department name that is in Building \"Mergenthaler\".",
        "question_toks": [
            "Find",
            "the",
            "department",
            "name",
            "that",
            "is",
            "in",
            "Building",
            "``",
            "Mergenthaler",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Mergenthaler\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DName FROM DEPARTMENT WHERE Building  =  \"Mergenthaler\"",
        "query_toks": [
            "SELECT",
            "DName",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Building",
            "=",
            "``",
            "Mergenthaler",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "dname",
            "from",
            "department",
            "where",
            "building",
            "=",
            "value"
        ],
        "question": "What is the name of the department in the Building Mergenthaler?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "in",
            "the",
            "Building",
            "Mergenthaler",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Mergenthaler\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT * FROM COURSE ORDER BY Credits",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "COURSE",
            "ORDER",
            "BY",
            "Credits"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "course",
            "order",
            "by",
            "credits"
        ],
        "question": "List all information about courses sorted by credits in the ascending order.",
        "question_toks": [
            "List",
            "all",
            "information",
            "about",
            "courses",
            "sorted",
            "by",
            "credits",
            "in",
            "the",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT * FROM COURSE ORDER BY Credits",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "COURSE",
            "ORDER",
            "BY",
            "Credits"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "course",
            "order",
            "by",
            "credits"
        ],
        "question": "What is all the information about courses, ordered by credits ascending?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "about",
            "courses",
            ",",
            "ordered",
            "by",
            "credits",
            "ascending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT CName FROM COURSE ORDER BY Credits",
        "query_toks": [
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "ORDER",
            "BY",
            "Credits"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "course",
            "order",
            "by",
            "credits"
        ],
        "question": "List the course name of courses sorted by credits.",
        "question_toks": [
            "List",
            "the",
            "course",
            "name",
            "of",
            "courses",
            "sorted",
            "by",
            "credits",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT CName FROM COURSE ORDER BY Credits",
        "query_toks": [
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "ORDER",
            "BY",
            "Credits"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "course",
            "order",
            "by",
            "credits"
        ],
        "question": "What are the course names, ordered by credits?",
        "question_toks": [
            "What",
            "are",
            "the",
            "course",
            "names",
            ",",
            "ordered",
            "by",
            "credits",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Fname FROM STUDENT ORDER BY Age DESC",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "STUDENT",
            "ORDER",
            "BY",
            "Age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "Find the first name of students in the descending order of age.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "students",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Fname FROM STUDENT ORDER BY Age DESC",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "STUDENT",
            "ORDER",
            "BY",
            "Age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "What are the first names of students, ordered by age from greatest to least?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "students",
            ",",
            "ordered",
            "by",
            "age",
            "from",
            "greatest",
            "to",
            "least",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT LName FROM STUDENT WHERE Sex  =  \"F\" ORDER BY Age DESC",
        "query_toks": [
            "SELECT",
            "LName",
            "FROM",
            "STUDENT",
            "WHERE",
            "Sex",
            "=",
            "``",
            "F",
            "''",
            "ORDER",
            "BY",
            "Age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "Find the last name of female (sex is F) students in the descending order of age.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "female",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "students",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT LName FROM STUDENT WHERE Sex  =  \"F\" ORDER BY Age DESC",
        "query_toks": [
            "SELECT",
            "LName",
            "FROM",
            "STUDENT",
            "WHERE",
            "Sex",
            "=",
            "``",
            "F",
            "''",
            "ORDER",
            "BY",
            "Age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "What are the last names of female students, ordered by age descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "female",
            "students",
            ",",
            "ordered",
            "by",
            "age",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Lname FROM FACULTY WHERE Building  =  \"Barton\" ORDER BY Lname",
        "query_toks": [
            "SELECT",
            "Lname",
            "FROM",
            "FACULTY",
            "WHERE",
            "Building",
            "=",
            "``",
            "Barton",
            "''",
            "ORDER",
            "BY",
            "Lname"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "faculty",
            "where",
            "building",
            "=",
            "value",
            "order",
            "by",
            "lname"
        ],
        "question": "Find the last names of faculties in building Barton in alphabetic order.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "faculties",
            "in",
            "building",
            "Barton",
            "in",
            "alphabetic",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Barton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Lname FROM FACULTY WHERE Building  =  \"Barton\" ORDER BY Lname",
        "query_toks": [
            "SELECT",
            "Lname",
            "FROM",
            "FACULTY",
            "WHERE",
            "Building",
            "=",
            "``",
            "Barton",
            "''",
            "ORDER",
            "BY",
            "Lname"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "faculty",
            "where",
            "building",
            "=",
            "value",
            "order",
            "by",
            "lname"
        ],
        "question": "What are the last names of faculty in building Barton, sorted by last name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "faculty",
            "in",
            "building",
            "Barton",
            ",",
            "sorted",
            "by",
            "last",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Barton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Fname FROM FACULTY WHERE Rank  =  \"Professor\" ORDER BY Fname",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "FACULTY",
            "WHERE",
            "Rank",
            "=",
            "``",
            "Professor",
            "''",
            "ORDER",
            "BY",
            "Fname"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "order",
            "by",
            "fname"
        ],
        "question": "Find the first names of faculties of rank Professor in alphabetic order.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "faculties",
            "of",
            "rank",
            "Professor",
            "in",
            "alphabetic",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Fname FROM FACULTY WHERE Rank  =  \"Professor\" ORDER BY Fname",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "FACULTY",
            "WHERE",
            "Rank",
            "=",
            "``",
            "Professor",
            "''",
            "ORDER",
            "BY",
            "Fname"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "order",
            "by",
            "fname"
        ],
        "question": "What are the first names for all faculty professors, ordered by first name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "for",
            "all",
            "faculty",
            "professors",
            ",",
            "ordered",
            "by",
            "first",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO  =  T2.DNO GROUP BY T2.DNO ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.DName",
            "FROM",
            "DEPARTMENT",
            "AS",
            "T1",
            "JOIN",
            "MINOR_IN",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T2.DNO",
            "GROUP",
            "BY",
            "T2.DNO",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "minor_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t2",
            ".",
            "dno",
            "group",
            "by",
            "t2",
            ".",
            "dno",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the department that has the biggest number of students minored in?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "department",
            "that",
            "has",
            "the",
            "biggest",
            "number",
            "of",
            "students",
            "minored",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO  =  T2.DNO GROUP BY T2.DNO ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.DName",
            "FROM",
            "DEPARTMENT",
            "AS",
            "T1",
            "JOIN",
            "MINOR_IN",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T2.DNO",
            "GROUP",
            "BY",
            "T2.DNO",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "minor_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t2",
            ".",
            "dno",
            "group",
            "by",
            "t2",
            ".",
            "dno",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the department with the most students minoring in it?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "with",
            "the",
            "most",
            "students",
            "minoring",
            "in",
            "it",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    34,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DName FROM DEPARTMENT EXCEPT SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO  =  T2.DNO",
        "query_toks": [
            "SELECT",
            "DName",
            "FROM",
            "DEPARTMENT",
            "EXCEPT",
            "SELECT",
            "T1.DName",
            "FROM",
            "DEPARTMENT",
            "AS",
            "T1",
            "JOIN",
            "MINOR_IN",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T2.DNO"
        ],
        "query_toks_no_value": [
            "select",
            "dname",
            "from",
            "department",
            "except",
            "select",
            "t1",
            ".",
            "dname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "minor_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t2",
            ".",
            "dno"
        ],
        "question": "Find the name of the department that has no students minored in?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "department",
            "that",
            "has",
            "no",
            "students",
            "minored",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DName FROM DEPARTMENT EXCEPT SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO  =  T2.DNO",
        "query_toks": [
            "SELECT",
            "DName",
            "FROM",
            "DEPARTMENT",
            "EXCEPT",
            "SELECT",
            "T1.DName",
            "FROM",
            "DEPARTMENT",
            "AS",
            "T1",
            "JOIN",
            "MINOR_IN",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T2.DNO"
        ],
        "query_toks_no_value": [
            "select",
            "dname",
            "from",
            "department",
            "except",
            "select",
            "t1",
            ".",
            "dname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "minor_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t2",
            ".",
            "dno"
        ],
        "question": "What is the name of the department htat has no students minoring in it?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "htat",
            "has",
            "no",
            "students",
            "minoring",
            "in",
            "it",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MEMBER_OF AS T2 ON T1.DNO  =  T2.DNO GROUP BY T2.DNO ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.DName",
            "FROM",
            "DEPARTMENT",
            "AS",
            "T1",
            "JOIN",
            "MEMBER_OF",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T2.DNO",
            "GROUP",
            "BY",
            "T2.DNO",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "member_of",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t2",
            ".",
            "dno",
            "group",
            "by",
            "t2",
            ".",
            "dno",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the name of the department that has the fewest members.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "department",
            "that",
            "has",
            "the",
            "fewest",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MEMBER_OF AS T2 ON T1.DNO  =  T2.DNO GROUP BY T2.DNO ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.DName",
            "FROM",
            "DEPARTMENT",
            "AS",
            "T1",
            "JOIN",
            "MEMBER_OF",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T2.DNO",
            "GROUP",
            "BY",
            "T2.DNO",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "member_of",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t2",
            ".",
            "dno",
            "group",
            "by",
            "t2",
            ".",
            "dno",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the name of the department with the fewest members?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "department",
            "with",
            "the",
            "fewest",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Rank FROM FACULTY GROUP BY Rank ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Rank",
            "FROM",
            "FACULTY",
            "GROUP",
            "BY",
            "Rank",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "faculty",
            "group",
            "by",
            "rank",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the rank of the faculty that the fewest faculties belong to.",
        "question_toks": [
            "Find",
            "the",
            "rank",
            "of",
            "the",
            "faculty",
            "that",
            "the",
            "fewest",
            "faculties",
            "belong",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Rank FROM FACULTY GROUP BY Rank ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Rank",
            "FROM",
            "FACULTY",
            "GROUP",
            "BY",
            "Rank",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "faculty",
            "group",
            "by",
            "rank",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the least common faculty rank?",
        "question_toks": [
            "What",
            "is",
            "the",
            "least",
            "common",
            "faculty",
            "rank",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Fname ,  T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor  =  T2.FacID GROUP BY T1.Instructor ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.Fname",
            ",",
            "T2.Lname",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "FACULTY",
            "AS",
            "T2",
            "ON",
            "T1.Instructor",
            "=",
            "T2.FacID",
            "GROUP",
            "BY",
            "T1.Instructor",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instructor",
            "=",
            "t2",
            ".",
            "facid",
            "group",
            "by",
            "t1",
            ".",
            "instructor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the first and last names of the instructors who teach the top 3 number of courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "instructors",
            "who",
            "teach",
            "the",
            "top",
            "3",
            "number",
            "of",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Fname ,  T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor  =  T2.FacID GROUP BY T1.Instructor ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.Fname",
            ",",
            "T2.Lname",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "FACULTY",
            "AS",
            "T2",
            "ON",
            "T1.Instructor",
            "=",
            "T2.FacID",
            "GROUP",
            "BY",
            "T1.Instructor",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instructor",
            "=",
            "t2",
            ".",
            "facid",
            "group",
            "by",
            "t1",
            ".",
            "instructor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the full names of the 3 instructors who teach the most courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "the",
            "3",
            "instructors",
            "who",
            "teach",
            "the",
            "most",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor  =  T2.FacID GROUP BY T1.Instructor ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Building",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "FACULTY",
            "AS",
            "T2",
            "ON",
            "T1.Instructor",
            "=",
            "T2.FacID",
            "GROUP",
            "BY",
            "T1.Instructor",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "building",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instructor",
            "=",
            "t2",
            ".",
            "facid",
            "group",
            "by",
            "t1",
            ".",
            "instructor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which building does the instructor who teaches the most number of courses live in?",
        "question_toks": [
            "Which",
            "building",
            "does",
            "the",
            "instructor",
            "who",
            "teaches",
            "the",
            "most",
            "number",
            "of",
            "courses",
            "live",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor  =  T2.FacID GROUP BY T1.Instructor ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Building",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "FACULTY",
            "AS",
            "T2",
            "ON",
            "T1.Instructor",
            "=",
            "T2.FacID",
            "GROUP",
            "BY",
            "T1.Instructor",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "building",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instructor",
            "=",
            "t2",
            ".",
            "facid",
            "group",
            "by",
            "t1",
            ".",
            "instructor",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the building that the instructor who teaches the greatest number of courses lives in.",
        "question_toks": [
            "Give",
            "the",
            "building",
            "that",
            "the",
            "instructor",
            "who",
            "teaches",
            "the",
            "greatest",
            "number",
            "of",
            "courses",
            "lives",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID  =  T2.CID GROUP BY T2.CID HAVING COUNT(*)  >=  5",
        "query_toks": [
            "SELECT",
            "T1.CName",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "ENROLLED_IN",
            "AS",
            "T2",
            "ON",
            "T1.CID",
            "=",
            "T2.CID",
            "GROUP",
            "BY",
            "T2.CID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cname",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "enrolled_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "group",
            "by",
            "t2",
            ".",
            "cid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the name of courses that have at least five enrollments?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "of",
            "courses",
            "that",
            "have",
            "at",
            "least",
            "five",
            "enrollments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID  =  T2.CID GROUP BY T2.CID HAVING COUNT(*)  >=  5",
        "query_toks": [
            "SELECT",
            "T1.CName",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "ENROLLED_IN",
            "AS",
            "T2",
            "ON",
            "T1.CID",
            "=",
            "T2.CID",
            "GROUP",
            "BY",
            "T2.CID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cname",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "enrolled_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "group",
            "by",
            "t2",
            ".",
            "cid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Give the names of the courses with at least five enrollments.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "the",
            "courses",
            "with",
            "at",
            "least",
            "five",
            "enrollments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    36,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Fname ,  T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor  =  T2.FacID WHERE T1.CName  =  \"COMPUTER LITERACY\"",
        "query_toks": [
            "SELECT",
            "T2.Fname",
            ",",
            "T2.Lname",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "FACULTY",
            "AS",
            "T2",
            "ON",
            "T1.Instructor",
            "=",
            "T2.FacID",
            "WHERE",
            "T1.CName",
            "=",
            "``",
            "COMPUTER",
            "LITERACY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instructor",
            "=",
            "t2",
            ".",
            "facid",
            "where",
            "t1",
            ".",
            "cname",
            "=",
            "value"
        ],
        "question": "Find the first name and last name of the instructor of course that has course name",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "instructor",
            "of",
            "course",
            "that",
            "has",
            "course",
            "name"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"COMPUTER LITERACY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Fname ,  T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor  =  T2.FacID WHERE T1.CName  =  \"COMPUTER LITERACY\"",
        "query_toks": [
            "SELECT",
            "T2.Fname",
            ",",
            "T2.Lname",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "FACULTY",
            "AS",
            "T2",
            "ON",
            "T1.Instructor",
            "=",
            "T2.FacID",
            "WHERE",
            "T1.CName",
            "=",
            "``",
            "COMPUTER",
            "LITERACY",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "instructor",
            "=",
            "t2",
            ".",
            "facid",
            "where",
            "t1",
            ".",
            "cname",
            "=",
            "value"
        ],
        "question": "What is the full name of the instructor who has a course named COMPUTER LITERACY?",
        "question_toks": [
            "What",
            "is",
            "the",
            "full",
            "name",
            "of",
            "the",
            "instructor",
            "who",
            "has",
            "a",
            "course",
            "named",
            "COMPUTER",
            "LITERACY",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"COMPUTER LITERACY\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Dname ,  T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO  =  T2.DNO WHERE T1.CName  =  \"INTRODUCTION TO COMPUTER SCIENCE\"",
        "query_toks": [
            "SELECT",
            "T2.Dname",
            ",",
            "T2.Room",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "DEPARTMENT",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T2.DNO",
            "WHERE",
            "T1.CName",
            "=",
            "``",
            "INTRODUCTION",
            "TO",
            "COMPUTER",
            "SCIENCE",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dname",
            ",",
            "t2",
            ".",
            "room",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t2",
            ".",
            "dno",
            "where",
            "t1",
            ".",
            "cname",
            "=",
            "value"
        ],
        "question": "Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.",
        "question_toks": [
            "Find",
            "the",
            "department",
            "name",
            "and",
            "room",
            "of",
            "the",
            "course",
            "INTRODUCTION",
            "TO",
            "COMPUTER",
            "SCIENCE",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"INTRODUCTION TO COMPUTER SCIENCE\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Dname ,  T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO  =  T2.DNO WHERE T1.CName  =  \"INTRODUCTION TO COMPUTER SCIENCE\"",
        "query_toks": [
            "SELECT",
            "T2.Dname",
            ",",
            "T2.Room",
            "FROM",
            "COURSE",
            "AS",
            "T1",
            "JOIN",
            "DEPARTMENT",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T2.DNO",
            "WHERE",
            "T1.CName",
            "=",
            "``",
            "INTRODUCTION",
            "TO",
            "COMPUTER",
            "SCIENCE",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dname",
            ",",
            "t2",
            ".",
            "room",
            "from",
            "course",
            "as",
            "t1",
            "join",
            "department",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t2",
            ".",
            "dno",
            "where",
            "t1",
            ".",
            "cname",
            "=",
            "value"
        ],
        "question": "What are the department name and room for the course INTRODUCTION TO COMPUTER SCIENCE?",
        "question_toks": [
            "What",
            "are",
            "the",
            "department",
            "name",
            "and",
            "room",
            "for",
            "the",
            "course",
            "INTRODUCTION",
            "TO",
            "COMPUTER",
            "SCIENCE",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"INTRODUCTION TO COMPUTER SCIENCE\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T3.Fname ,  T3.LName ,  T2.gradepoint FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID",
        "query_toks": [
            "SELECT",
            "T3.Fname",
            ",",
            "T3.LName",
            ",",
            "T2.gradepoint",
            "FROM",
            "ENROLLED_IN",
            "AS",
            "T1",
            "JOIN",
            "GRADECONVERSION",
            "AS",
            "T2",
            "JOIN",
            "STUDENT",
            "AS",
            "T3",
            "ON",
            "T1.Grade",
            "=",
            "T2.lettergrade",
            "AND",
            "T1.StuID",
            "=",
            "T3.StuID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            ",",
            "t2",
            ".",
            "gradepoint",
            "from",
            "enrolled_in",
            "as",
            "t1",
            "join",
            "gradeconversion",
            "as",
            "t2",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grade",
            "=",
            "t2",
            ".",
            "lettergrade",
            "and",
            "t1",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid"
        ],
        "question": "Find the student first and last names and grade points of all enrollments.",
        "question_toks": [
            "Find",
            "the",
            "student",
            "first",
            "and",
            "last",
            "names",
            "and",
            "grade",
            "points",
            "of",
            "all",
            "enrollments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T3.Fname ,  T3.LName ,  T2.gradepoint FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID",
        "query_toks": [
            "SELECT",
            "T3.Fname",
            ",",
            "T3.LName",
            ",",
            "T2.gradepoint",
            "FROM",
            "ENROLLED_IN",
            "AS",
            "T1",
            "JOIN",
            "GRADECONVERSION",
            "AS",
            "T2",
            "JOIN",
            "STUDENT",
            "AS",
            "T3",
            "ON",
            "T1.Grade",
            "=",
            "T2.lettergrade",
            "AND",
            "T1.StuID",
            "=",
            "T3.StuID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "fname",
            ",",
            "t3",
            ".",
            "lname",
            ",",
            "t2",
            ".",
            "gradepoint",
            "from",
            "enrolled_in",
            "as",
            "t1",
            "join",
            "gradeconversion",
            "as",
            "t2",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grade",
            "=",
            "t2",
            ".",
            "lettergrade",
            "and",
            "t1",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid"
        ],
        "question": "What are the full names and gradepoints for all enrollments?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "and",
            "gradepoints",
            "for",
            "all",
            "enrollments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID WHERE T2.gradepoint  >=  3.8",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.Fname",
            "FROM",
            "ENROLLED_IN",
            "AS",
            "T1",
            "JOIN",
            "GRADECONVERSION",
            "AS",
            "T2",
            "JOIN",
            "STUDENT",
            "AS",
            "T3",
            "ON",
            "T1.Grade",
            "=",
            "T2.lettergrade",
            "AND",
            "T1.StuID",
            "=",
            "T3.StuID",
            "WHERE",
            "T2.gradepoint",
            ">",
            "=",
            "3.8"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "fname",
            "from",
            "enrolled_in",
            "as",
            "t1",
            "join",
            "gradeconversion",
            "as",
            "t2",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grade",
            "=",
            "t2",
            ".",
            "lettergrade",
            "and",
            "t1",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "gradepoint",
            ">",
            "=",
            "value"
        ],
        "question": "Find the distinct student first names of all students that have grade point at least 3.8 in one course.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "student",
            "first",
            "names",
            "of",
            "all",
            "students",
            "that",
            "have",
            "grade",
            "point",
            "at",
            "least",
            "3.8",
            "in",
            "one",
            "course",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    3.8,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID WHERE T2.gradepoint  >=  3.8",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.Fname",
            "FROM",
            "ENROLLED_IN",
            "AS",
            "T1",
            "JOIN",
            "GRADECONVERSION",
            "AS",
            "T2",
            "JOIN",
            "STUDENT",
            "AS",
            "T3",
            "ON",
            "T1.Grade",
            "=",
            "T2.lettergrade",
            "AND",
            "T1.StuID",
            "=",
            "T3.StuID",
            "WHERE",
            "T2.gradepoint",
            ">",
            "=",
            "3.8"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "fname",
            "from",
            "enrolled_in",
            "as",
            "t1",
            "join",
            "gradeconversion",
            "as",
            "t2",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grade",
            "=",
            "t2",
            ".",
            "lettergrade",
            "and",
            "t1",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "gradepoint",
            ">",
            "=",
            "value"
        ],
        "question": "What are the distinct first names for students with a grade point of 3.8 or above in at least one course?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "first",
            "names",
            "for",
            "students",
            "with",
            "a",
            "grade",
            "point",
            "of",
            "3.8",
            "or",
            "above",
            "in",
            "at",
            "least",
            "one",
            "course",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            39,
                            false
                        ],
                        null
                    ],
                    3.8,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T1.Fname ,  T1.Lname FROM FACULTY AS T1 JOIN MEMBER_OF AS T2 ON T1.FacID  =  T2.FacID WHERE T2.DNO  =  520",
        "query_toks": [
            "SELECT",
            "T1.Fname",
            ",",
            "T1.Lname",
            "FROM",
            "FACULTY",
            "AS",
            "T1",
            "JOIN",
            "MEMBER_OF",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.FacID",
            "WHERE",
            "T2.DNO",
            "=",
            "520"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "member_of",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "where",
            "t2",
            ".",
            "dno",
            "=",
            "value"
        ],
        "question": "Find the full names of faculties who are members of department with department number 520.",
        "question_toks": [
            "Find",
            "the",
            "full",
            "names",
            "of",
            "faculties",
            "who",
            "are",
            "members",
            "of",
            "department",
            "with",
            "department",
            "number",
            "520",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    520.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T1.Fname ,  T1.Lname FROM FACULTY AS T1 JOIN MEMBER_OF AS T2 ON T1.FacID  =  T2.FacID WHERE T2.DNO  =  520",
        "query_toks": [
            "SELECT",
            "T1.Fname",
            ",",
            "T1.Lname",
            "FROM",
            "FACULTY",
            "AS",
            "T1",
            "JOIN",
            "MEMBER_OF",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.FacID",
            "WHERE",
            "T2.DNO",
            "=",
            "520"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "member_of",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "where",
            "t2",
            ".",
            "dno",
            "=",
            "value"
        ],
        "question": "What are the full names of faculty members who are a part of department 520?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "faculty",
            "members",
            "who",
            "are",
            "a",
            "part",
            "of",
            "department",
            "520",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    520.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Fname ,  T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID  =  T2.StuID WHERE T1.DNO  =  140",
        "query_toks": [
            "SELECT",
            "T2.Fname",
            ",",
            "T2.Lname",
            "FROM",
            "MINOR_IN",
            "AS",
            "T1",
            "JOIN",
            "STUDENT",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T1.DNO",
            "=",
            "140"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "minor_in",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "dno",
            "=",
            "value"
        ],
        "question": "What are the first names and last names of the students that minor in the department with DNO 140.",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "the",
            "students",
            "that",
            "minor",
            "in",
            "the",
            "department",
            "with",
            "DNO",
            "140",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    140.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Fname ,  T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID  =  T2.StuID WHERE T1.DNO  =  140",
        "query_toks": [
            "SELECT",
            "T2.Fname",
            ",",
            "T2.Lname",
            "FROM",
            "MINOR_IN",
            "AS",
            "T1",
            "JOIN",
            "STUDENT",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T1.DNO",
            "=",
            "140"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "minor_in",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "dno",
            "=",
            "value"
        ],
        "question": "What are the full names of students minoring in department 140?",
        "question_toks": [
            "What",
            "are",
            "the",
            "full",
            "names",
            "of",
            "students",
            "minoring",
            "in",
            "department",
            "140",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ],
                    140.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO  =  T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID  =  T3.FacID WHERE T1.DName  =  \"Computer Science\"",
        "query_toks": [
            "SELECT",
            "T2.Lname",
            "FROM",
            "DEPARTMENT",
            "AS",
            "T1",
            "JOIN",
            "FACULTY",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T3.DNO",
            "JOIN",
            "MEMBER_OF",
            "AS",
            "T3",
            "ON",
            "T2.FacID",
            "=",
            "T3.FacID",
            "WHERE",
            "T1.DName",
            "=",
            "``",
            "Computer",
            "Science",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t3",
            ".",
            "dno",
            "join",
            "member_of",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "facid",
            "=",
            "t3",
            ".",
            "facid",
            "where",
            "t1",
            ".",
            "dname",
            "=",
            "value"
        ],
        "question": "Find the last names of faculties who are members of computer science department.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "faculties",
            "who",
            "are",
            "members",
            "of",
            "computer",
            "science",
            "department",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Computer Science\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO  =  T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID  =  T3.FacID WHERE T1.DName  =  \"Computer Science\"",
        "query_toks": [
            "SELECT",
            "T2.Lname",
            "FROM",
            "DEPARTMENT",
            "AS",
            "T1",
            "JOIN",
            "FACULTY",
            "AS",
            "T2",
            "ON",
            "T1.DNO",
            "=",
            "T3.DNO",
            "JOIN",
            "MEMBER_OF",
            "AS",
            "T3",
            "ON",
            "T2.FacID",
            "=",
            "T3.FacID",
            "WHERE",
            "T1.DName",
            "=",
            "``",
            "Computer",
            "Science",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lname",
            "from",
            "department",
            "as",
            "t1",
            "join",
            "faculty",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dno",
            "=",
            "t3",
            ".",
            "dno",
            "join",
            "member_of",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "facid",
            "=",
            "t3",
            ".",
            "facid",
            "where",
            "t1",
            ".",
            "dname",
            "=",
            "value"
        ],
        "question": "What are the last names of faculty who are part of the computer science department?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "faculty",
            "who",
            "are",
            "part",
            "of",
            "the",
            "computer",
            "science",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Computer Science\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT avg(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID WHERE T3.LName  =  \"Smith\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.gradepoint",
            ")",
            "FROM",
            "ENROLLED_IN",
            "AS",
            "T1",
            "JOIN",
            "GRADECONVERSION",
            "AS",
            "T2",
            "JOIN",
            "STUDENT",
            "AS",
            "T3",
            "ON",
            "T1.Grade",
            "=",
            "T2.lettergrade",
            "AND",
            "T1.StuID",
            "=",
            "T3.StuID",
            "WHERE",
            "T3.LName",
            "=",
            "``",
            "Smith",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "gradepoint",
            ")",
            "from",
            "enrolled_in",
            "as",
            "t1",
            "join",
            "gradeconversion",
            "as",
            "t2",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grade",
            "=",
            "t2",
            ".",
            "lettergrade",
            "and",
            "t1",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the average grade point of student whose last name is Smith.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "grade",
            "point",
            "of",
            "student",
            "whose",
            "last",
            "name",
            "is",
            "Smith",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT avg(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID WHERE T3.LName  =  \"Smith\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.gradepoint",
            ")",
            "FROM",
            "ENROLLED_IN",
            "AS",
            "T1",
            "JOIN",
            "GRADECONVERSION",
            "AS",
            "T2",
            "JOIN",
            "STUDENT",
            "AS",
            "T3",
            "ON",
            "T1.Grade",
            "=",
            "T2.lettergrade",
            "AND",
            "T1.StuID",
            "=",
            "T3.StuID",
            "WHERE",
            "T3.LName",
            "=",
            "``",
            "Smith",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "gradepoint",
            ")",
            "from",
            "enrolled_in",
            "as",
            "t1",
            "join",
            "gradeconversion",
            "as",
            "t2",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grade",
            "=",
            "t2",
            ".",
            "lettergrade",
            "and",
            "t1",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What is the average gradepoint for students with the last name Smith?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "gradepoint",
            "for",
            "students",
            "with",
            "the",
            "last",
            "name",
            "Smith",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT max(T2.gradepoint) ,  min(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID WHERE T3.city_code  =  \"NYC\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.gradepoint",
            ")",
            ",",
            "min",
            "(",
            "T2.gradepoint",
            ")",
            "FROM",
            "ENROLLED_IN",
            "AS",
            "T1",
            "JOIN",
            "GRADECONVERSION",
            "AS",
            "T2",
            "JOIN",
            "STUDENT",
            "AS",
            "T3",
            "ON",
            "T1.Grade",
            "=",
            "T2.lettergrade",
            "AND",
            "T1.StuID",
            "=",
            "T3.StuID",
            "WHERE",
            "T3.city_code",
            "=",
            "``",
            "NYC",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "gradepoint",
            ")",
            ",",
            "min",
            "(",
            "t2",
            ".",
            "gradepoint",
            ")",
            "from",
            "enrolled_in",
            "as",
            "t1",
            "join",
            "gradeconversion",
            "as",
            "t2",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grade",
            "=",
            "t2",
            ".",
            "lettergrade",
            "and",
            "t1",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "city_code",
            "=",
            "value"
        ],
        "question": "What is the maximum and minimum grade point of students who live in NYC?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "and",
            "minimum",
            "grade",
            "point",
            "of",
            "students",
            "who",
            "live",
            "in",
            "NYC",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"NYC\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT max(T2.gradepoint) ,  min(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID WHERE T3.city_code  =  \"NYC\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.gradepoint",
            ")",
            ",",
            "min",
            "(",
            "T2.gradepoint",
            ")",
            "FROM",
            "ENROLLED_IN",
            "AS",
            "T1",
            "JOIN",
            "GRADECONVERSION",
            "AS",
            "T2",
            "JOIN",
            "STUDENT",
            "AS",
            "T3",
            "ON",
            "T1.Grade",
            "=",
            "T2.lettergrade",
            "AND",
            "T1.StuID",
            "=",
            "T3.StuID",
            "WHERE",
            "T3.city_code",
            "=",
            "``",
            "NYC",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "gradepoint",
            ")",
            ",",
            "min",
            "(",
            "t2",
            ".",
            "gradepoint",
            ")",
            "from",
            "enrolled_in",
            "as",
            "t1",
            "join",
            "gradeconversion",
            "as",
            "t2",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "grade",
            "=",
            "t2",
            ".",
            "lettergrade",
            "and",
            "t1",
            ".",
            "stuid",
            "=",
            "t3",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "city_code",
            "=",
            "value"
        ],
        "question": "Give the maximum and minimum gradepoints for students living in NYC?",
        "question_toks": [
            "Give",
            "the",
            "maximum",
            "and",
            "minimum",
            "gradepoints",
            "for",
            "students",
            "living",
            "in",
            "NYC",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"NYC\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT CName FROM COURSE WHERE Credits  =  3 UNION SELECT CName FROM COURSE WHERE Credits  =  1 AND Hours  =  4",
        "query_toks": [
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "WHERE",
            "Credits",
            "=",
            "3",
            "UNION",
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "WHERE",
            "Credits",
            "=",
            "1",
            "AND",
            "Hours",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "course",
            "where",
            "credits",
            "=",
            "value",
            "union",
            "select",
            "cname",
            "from",
            "course",
            "where",
            "credits",
            "=",
            "value",
            "and",
            "hours",
            "=",
            "value"
        ],
        "question": "Find the names of courses that have either 3 credits or 1 credit but 4 hours.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "courses",
            "that",
            "have",
            "either",
            "3",
            "credits",
            "or",
            "1",
            "credit",
            "but",
            "4",
            "hours",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    27,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        1.0,
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        4.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT CName FROM COURSE WHERE Credits  =  3 UNION SELECT CName FROM COURSE WHERE Credits  =  1 AND Hours  =  4",
        "query_toks": [
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "WHERE",
            "Credits",
            "=",
            "3",
            "UNION",
            "SELECT",
            "CName",
            "FROM",
            "COURSE",
            "WHERE",
            "Credits",
            "=",
            "1",
            "AND",
            "Hours",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "course",
            "where",
            "credits",
            "=",
            "value",
            "union",
            "select",
            "cname",
            "from",
            "course",
            "where",
            "credits",
            "=",
            "value",
            "and",
            "hours",
            "=",
            "value"
        ],
        "question": "What are the names of courses that give either 3 credits, or 1 credit and 4 hours?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "courses",
            "that",
            "give",
            "either",
            "3",
            "credits",
            ",",
            "or",
            "1",
            "credit",
            "and",
            "4",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    27,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        1.0,
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        4.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DName FROM DEPARTMENT WHERE Division  =  \"AS\" UNION SELECT DName FROM DEPARTMENT WHERE Division  =  \"EN\" AND Building  =  \"NEB\"",
        "query_toks": [
            "SELECT",
            "DName",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Division",
            "=",
            "``",
            "AS",
            "''",
            "UNION",
            "SELECT",
            "DName",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Division",
            "=",
            "``",
            "EN",
            "''",
            "AND",
            "Building",
            "=",
            "``",
            "NEB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "dname",
            "from",
            "department",
            "where",
            "division",
            "=",
            "value",
            "union",
            "select",
            "dname",
            "from",
            "department",
            "where",
            "division",
            "=",
            "value",
            "and",
            "building",
            "=",
            "value"
        ],
        "question": "Find the names of departments that are either in division AS or in division EN and in Building NEB.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "departments",
            "that",
            "are",
            "either",
            "in",
            "division",
            "AS",
            "or",
            "in",
            "division",
            "EN",
            "and",
            "in",
            "Building",
            "NEB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"AS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"EN\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"NEB\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT DName FROM DEPARTMENT WHERE Division  =  \"AS\" UNION SELECT DName FROM DEPARTMENT WHERE Division  =  \"EN\" AND Building  =  \"NEB\"",
        "query_toks": [
            "SELECT",
            "DName",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Division",
            "=",
            "``",
            "AS",
            "''",
            "UNION",
            "SELECT",
            "DName",
            "FROM",
            "DEPARTMENT",
            "WHERE",
            "Division",
            "=",
            "``",
            "EN",
            "''",
            "AND",
            "Building",
            "=",
            "``",
            "NEB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "dname",
            "from",
            "department",
            "where",
            "division",
            "=",
            "value",
            "union",
            "select",
            "dname",
            "from",
            "department",
            "where",
            "division",
            "=",
            "value",
            "and",
            "building",
            "=",
            "value"
        ],
        "question": "What are the names of departments either in division AS, or in division EN and in building NEB?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "departments",
            "either",
            "in",
            "division",
            "AS",
            ",",
            "or",
            "in",
            "division",
            "EN",
            "and",
            "in",
            "building",
            "NEB",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"AS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"EN\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "\"NEB\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Fname FROM STUDENT WHERE StuID NOT IN (SELECT StuID FROM ENROLLED_IN)",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "STUDENT",
            "WHERE",
            "StuID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "ENROLLED_IN",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "enrolled_in",
            ")"
        ],
        "question": "Find the first name of students not enrolled in any course.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "students",
            "not",
            "enrolled",
            "in",
            "any",
            "course",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            35,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "college_3",
        "query": "SELECT Fname FROM STUDENT WHERE StuID NOT IN (SELECT StuID FROM ENROLLED_IN)",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "STUDENT",
            "WHERE",
            "StuID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "ENROLLED_IN",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "stuid",
            "not",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "enrolled_in",
            ")"
        ],
        "question": "What are the first names of all students that are not enrolled in courses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "students",
            "that",
            "are",
            "not",
            "enrolled",
            "in",
            "courses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            35,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id FROM product_suppliers ORDER BY total_amount_purchased DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "product_suppliers",
            "ORDER",
            "BY",
            "total_amount_purchased",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "product_suppliers",
            "order",
            "by",
            "total_amount_purchased",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the ids of the top three products that were purchased in the largest amount?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "top",
            "three",
            "products",
            "that",
            "were",
            "purchased",
            "in",
            "the",
            "largest",
            "amount",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id FROM product_suppliers ORDER BY total_amount_purchased DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "product_suppliers",
            "ORDER",
            "BY",
            "total_amount_purchased",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "product_suppliers",
            "order",
            "by",
            "total_amount_purchased",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the ids of the three products purchased in the largest amounts.",
        "question_toks": [
            "Give",
            "the",
            "ids",
            "of",
            "the",
            "three",
            "products",
            "purchased",
            "in",
            "the",
            "largest",
            "amounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id ,  product_type_code FROM products ORDER BY product_price LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_id",
            ",",
            "product_type_code",
            "FROM",
            "products",
            "ORDER",
            "BY",
            "product_price",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            ",",
            "product_type_code",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "limit",
            "value"
        ],
        "question": "What are the product id and product type of the cheapest product?",
        "question_toks": [
            "What",
            "are",
            "the",
            "product",
            "id",
            "and",
            "product",
            "type",
            "of",
            "the",
            "cheapest",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id ,  product_type_code FROM products ORDER BY product_price LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_id",
            ",",
            "product_type_code",
            "FROM",
            "products",
            "ORDER",
            "BY",
            "product_price",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            ",",
            "product_type_code",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "limit",
            "value"
        ],
        "question": "Give the id and product type of the product with the lowest price.",
        "question_toks": [
            "Give",
            "the",
            "id",
            "and",
            "product",
            "type",
            "of",
            "the",
            "product",
            "with",
            "the",
            "lowest",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT count(DISTINCT product_type_code) FROM products",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "product_type_code",
            ")",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "product_type_code",
            ")",
            "from",
            "products"
        ],
        "question": "Find the number of different product types.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "different",
            "product",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT count(DISTINCT product_type_code) FROM products",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "product_type_code",
            ")",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "product_type_code",
            ")",
            "from",
            "products"
        ],
        "question": "Count the number of distinct product types.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "product",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.address_details FROM addresses AS T1 JOIN customer_addresses AS T2 ON T1.address_id  =  T2.address_id WHERE T2.customer_id  =  10",
        "query_toks": [
            "SELECT",
            "T1.address_details",
            "FROM",
            "addresses",
            "AS",
            "T1",
            "JOIN",
            "customer_addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T2.customer_id",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address_details",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "customer_id",
            "=",
            "value"
        ],
        "question": "Return the address of customer 10.",
        "question_toks": [
            "Return",
            "the",
            "address",
            "of",
            "customer",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.address_details FROM addresses AS T1 JOIN customer_addresses AS T2 ON T1.address_id  =  T2.address_id WHERE T2.customer_id  =  10",
        "query_toks": [
            "SELECT",
            "T1.address_details",
            "FROM",
            "addresses",
            "AS",
            "T1",
            "JOIN",
            "customer_addresses",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T2.customer_id",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "address_details",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "customer_id",
            "=",
            "value"
        ],
        "question": "What is the address for the customer with id 10?",
        "question_toks": [
            "What",
            "is",
            "the",
            "address",
            "for",
            "the",
            "customer",
            "with",
            "id",
            "10",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_id ,  T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.job_title_code  =  \"Department Manager\"",
        "query_toks": [
            "SELECT",
            "T1.staff_id",
            ",",
            "T1.staff_gender",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "staff_department_assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.job_title_code",
            "=",
            "``",
            "Department",
            "Manager",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_id",
            ",",
            "t1",
            ".",
            "staff_gender",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "job_title_code",
            "=",
            "value"
        ],
        "question": "What are the staff ids and genders of all staffs whose job title is Department Manager?",
        "question_toks": [
            "What",
            "are",
            "the",
            "staff",
            "ids",
            "and",
            "genders",
            "of",
            "all",
            "staffs",
            "whose",
            "job",
            "title",
            "is",
            "Department",
            "Manager",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ],
                    "\"Department Manager\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_id ,  T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.job_title_code  =  \"Department Manager\"",
        "query_toks": [
            "SELECT",
            "T1.staff_id",
            ",",
            "T1.staff_gender",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "staff_department_assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.job_title_code",
            "=",
            "``",
            "Department",
            "Manager",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_id",
            ",",
            "t1",
            ".",
            "staff_gender",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "job_title_code",
            "=",
            "value"
        ],
        "question": "Return the staff ids and genders for any staff with the title Department Manager.",
        "question_toks": [
            "Return",
            "the",
            "staff",
            "ids",
            "and",
            "genders",
            "for",
            "any",
            "staff",
            "with",
            "the",
            "title",
            "Department",
            "Manager",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ],
                    "\"Department Manager\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT payment_method_code ,  count(*) FROM customers GROUP BY payment_method_code",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "payment_method_code"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "group",
            "by",
            "payment_method_code"
        ],
        "question": "For each payment method, return how many customers use it.",
        "question_toks": [
            "For",
            "each",
            "payment",
            "method",
            ",",
            "return",
            "how",
            "many",
            "customers",
            "use",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT payment_method_code ,  count(*) FROM customers GROUP BY payment_method_code",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "payment_method_code"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "group",
            "by",
            "payment_method_code"
        ],
        "question": "How many customers use each payment method?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "use",
            "each",
            "payment",
            "method",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id FROM order_items GROUP BY product_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "order_items",
            "GROUP",
            "BY",
            "product_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "order_items",
            "group",
            "by",
            "product_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the product that was ordered the most often?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "product",
            "that",
            "was",
            "ordered",
            "the",
            "most",
            "often",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id FROM order_items GROUP BY product_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "order_items",
            "GROUP",
            "BY",
            "product_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "order_items",
            "group",
            "by",
            "product_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the product id for the product that was ordered most frequently.",
        "question_toks": [
            "Give",
            "the",
            "product",
            "id",
            "for",
            "the",
            "product",
            "that",
            "was",
            "ordered",
            "most",
            "frequently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.customer_name ,  T1.customer_phone ,  T1.customer_email FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T2.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            ",",
            "T1.customer_phone",
            ",",
            "T1.customer_email",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T2.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_phone",
            ",",
            "t1",
            ".",
            "customer_email",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t2",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the name, phone number and email address of the customer who made the largest number of orders?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            ",",
            "phone",
            "number",
            "and",
            "email",
            "address",
            "of",
            "the",
            "customer",
            "who",
            "made",
            "the",
            "largest",
            "number",
            "of",
            "orders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.customer_name ,  T1.customer_phone ,  T1.customer_email FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T2.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            ",",
            "T1.customer_phone",
            ",",
            "T1.customer_email",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T2.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_phone",
            ",",
            "t1",
            ".",
            "customer_email",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t2",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name, phone number and email address for the customer with the most orders.",
        "question_toks": [
            "Return",
            "the",
            "name",
            ",",
            "phone",
            "number",
            "and",
            "email",
            "address",
            "for",
            "the",
            "customer",
            "with",
            "the",
            "most",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_type_code ,  avg(product_price) FROM products GROUP BY product_type_code",
        "query_toks": [
            "SELECT",
            "product_type_code",
            ",",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            ",",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            "group",
            "by",
            "product_type_code"
        ],
        "question": "What is the average price for each type of product?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "for",
            "each",
            "type",
            "of",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_type_code ,  avg(product_price) FROM products GROUP BY product_type_code",
        "query_toks": [
            "SELECT",
            "product_type_code",
            ",",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            ",",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            "group",
            "by",
            "product_type_code"
        ],
        "question": "Return the average price for each product type.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "price",
            "for",
            "each",
            "product",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT count(*) FROM department_stores AS T1 JOIN department_store_chain AS T2 ON T1.dept_store_chain_id  =  T2.dept_store_chain_id WHERE T2.dept_store_chain_name  =  \"South\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "department_stores",
            "AS",
            "T1",
            "JOIN",
            "department_store_chain",
            "AS",
            "T2",
            "ON",
            "T1.dept_store_chain_id",
            "=",
            "T2.dept_store_chain_id",
            "WHERE",
            "T2.dept_store_chain_name",
            "=",
            "``",
            "South",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "department_stores",
            "as",
            "t1",
            "join",
            "department_store_chain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_store_chain_id",
            "=",
            "t2",
            ".",
            "dept_store_chain_id",
            "where",
            "t2",
            ".",
            "dept_store_chain_name",
            "=",
            "value"
        ],
        "question": "How many department stores does the store chain South have?",
        "question_toks": [
            "How",
            "many",
            "department",
            "stores",
            "does",
            "the",
            "store",
            "chain",
            "South",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"South\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT count(*) FROM department_stores AS T1 JOIN department_store_chain AS T2 ON T1.dept_store_chain_id  =  T2.dept_store_chain_id WHERE T2.dept_store_chain_name  =  \"South\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "department_stores",
            "AS",
            "T1",
            "JOIN",
            "department_store_chain",
            "AS",
            "T2",
            "ON",
            "T1.dept_store_chain_id",
            "=",
            "T2.dept_store_chain_id",
            "WHERE",
            "T2.dept_store_chain_name",
            "=",
            "``",
            "South",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "department_stores",
            "as",
            "t1",
            "join",
            "department_store_chain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_store_chain_id",
            "=",
            "t2",
            ".",
            "dept_store_chain_id",
            "where",
            "t2",
            ".",
            "dept_store_chain_name",
            "=",
            "value"
        ],
        "question": "Count the number of stores the chain South has.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "stores",
            "the",
            "chain",
            "South",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"South\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_name ,  T2.job_title_code FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id  =  T2.staff_id ORDER BY T2.date_assigned_to DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "T2.job_title_code",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "staff_department_assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "ORDER",
            "BY",
            "T2.date_assigned_to",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t2",
            ".",
            "job_title_code",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "t2",
            ".",
            "date_assigned_to",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and job title of the staff who was assigned the latest?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "job",
            "title",
            "of",
            "the",
            "staff",
            "who",
            "was",
            "assigned",
            "the",
            "latest",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_name ,  T2.job_title_code FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id  =  T2.staff_id ORDER BY T2.date_assigned_to DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "T2.job_title_code",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "staff_department_assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "ORDER",
            "BY",
            "T2.date_assigned_to",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t2",
            ".",
            "job_title_code",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "t2",
            ".",
            "date_assigned_to",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name and job title of the staff with the latest date assigned.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "and",
            "job",
            "title",
            "of",
            "the",
            "staff",
            "with",
            "the",
            "latest",
            "date",
            "assigned",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T2.product_type_code ,  T2.product_name ,  T2.product_price FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id  =  T2.product_id WHERE T1.supplier_id  =  3",
        "query_toks": [
            "SELECT",
            "T2.product_type_code",
            ",",
            "T2.product_name",
            ",",
            "T2.product_price",
            "FROM",
            "product_suppliers",
            "AS",
            "T1",
            "JOIN",
            "products",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.supplier_id",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_type_code",
            ",",
            "t2",
            ".",
            "product_name",
            ",",
            "t2",
            ".",
            "product_price",
            "from",
            "product_suppliers",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "supplier_id",
            "=",
            "value"
        ],
        "question": "Give me the product type, name and price for all the products supplied by supplier id 3.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "product",
            "type",
            ",",
            "name",
            "and",
            "price",
            "for",
            "all",
            "the",
            "products",
            "supplied",
            "by",
            "supplier",
            "id",
            "3",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T2.product_type_code ,  T2.product_name ,  T2.product_price FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id  =  T2.product_id WHERE T1.supplier_id  =  3",
        "query_toks": [
            "SELECT",
            "T2.product_type_code",
            ",",
            "T2.product_name",
            ",",
            "T2.product_price",
            "FROM",
            "product_suppliers",
            "AS",
            "T1",
            "JOIN",
            "products",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.supplier_id",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_type_code",
            ",",
            "t2",
            ".",
            "product_name",
            ",",
            "t2",
            ".",
            "product_price",
            "from",
            "product_suppliers",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "supplier_id",
            "=",
            "value"
        ],
        "question": "Return the product type, name, and price for products supplied by supplier 3.",
        "question_toks": [
            "Return",
            "the",
            "product",
            "type",
            ",",
            "name",
            ",",
            "and",
            "price",
            "for",
            "products",
            "supplied",
            "by",
            "supplier",
            "3",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.order_status_code  =  \"Pending\" ORDER BY T2.customer_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status_code",
            "=",
            "``",
            "Pending",
            "''",
            "ORDER",
            "BY",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status_code",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Return the distinct name of customers whose order status is Pending, in the order of customer id.",
        "question_toks": [
            "Return",
            "the",
            "distinct",
            "name",
            "of",
            "customers",
            "whose",
            "order",
            "status",
            "is",
            "Pending",
            ",",
            "in",
            "the",
            "order",
            "of",
            "customer",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Pending\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.order_status_code  =  \"Pending\" ORDER BY T2.customer_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status_code",
            "=",
            "``",
            "Pending",
            "''",
            "ORDER",
            "BY",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status_code",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "What are the distinct names of customers with an order status of Pending, sorted by customer id?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "of",
            "customers",
            "with",
            "an",
            "order",
            "status",
            "of",
            "Pending",
            ",",
            "sorted",
            "by",
            "customer",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Pending\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.customer_name ,  T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.order_status_code  =  \"New\" INTERSECT SELECT T1.customer_name ,  T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.order_status_code  =  \"Pending\"",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            ",",
            "T1.customer_address",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status_code",
            "=",
            "``",
            "New",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.customer_name",
            ",",
            "T1.customer_address",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status_code",
            "=",
            "``",
            "Pending",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_address",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_address",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status_code",
            "=",
            "value"
        ],
        "question": "Find the name and address of the customers who have both New and Pending orders.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "address",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "both",
            "New",
            "and",
            "Pending",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"New\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            8
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        "\"Pending\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.customer_name ,  T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.order_status_code  =  \"New\" INTERSECT SELECT T1.customer_name ,  T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.order_status_code  =  \"Pending\"",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            ",",
            "T1.customer_address",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status_code",
            "=",
            "``",
            "New",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.customer_name",
            ",",
            "T1.customer_address",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status_code",
            "=",
            "``",
            "Pending",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_address",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_address",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status_code",
            "=",
            "value"
        ],
        "question": "What are the names and addressed of customers who have both New and Pending orders?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "addressed",
            "of",
            "customers",
            "who",
            "have",
            "both",
            "New",
            "and",
            "Pending",
            "orders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"New\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            8
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        "\"Pending\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.product_id FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id  =  T2.product_id WHERE T1.supplier_id  =  2 AND T2.product_price  >  (SELECT avg(product_price) FROM products)",
        "query_toks": [
            "SELECT",
            "T1.product_id",
            "FROM",
            "product_suppliers",
            "AS",
            "T1",
            "JOIN",
            "products",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.supplier_id",
            "=",
            "2",
            "AND",
            "T2.product_price",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_id",
            "from",
            "product_suppliers",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "supplier_id",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "product_price",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            ")"
        ],
        "question": "Return ids of all the products that are supplied by supplier id 2 and are more expensive than the average price of all products.",
        "question_toks": [
            "Return",
            "ids",
            "of",
            "all",
            "the",
            "products",
            "that",
            "are",
            "supplied",
            "by",
            "supplier",
            "id",
            "2",
            "and",
            "are",
            "more",
            "expensive",
            "than",
            "the",
            "average",
            "price",
            "of",
            "all",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.product_id FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id  =  T2.product_id WHERE T1.supplier_id  =  2 AND T2.product_price  >  (SELECT avg(product_price) FROM products)",
        "query_toks": [
            "SELECT",
            "T1.product_id",
            "FROM",
            "product_suppliers",
            "AS",
            "T1",
            "JOIN",
            "products",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.supplier_id",
            "=",
            "2",
            "AND",
            "T2.product_price",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_id",
            "from",
            "product_suppliers",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "supplier_id",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "product_price",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            ")"
        ],
        "question": "What are the ids of products from the supplier with id 2, which are more expensive than the average price across all products?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "products",
            "from",
            "the",
            "supplier",
            "with",
            "id",
            "2",
            ",",
            "which",
            "are",
            "more",
            "expensive",
            "than",
            "the",
            "average",
            "price",
            "across",
            "all",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T2.dept_store_id ,  T2.store_name FROM departments AS T1 JOIN department_stores AS T2 ON T1.dept_store_id  =  T2.dept_store_id WHERE T1.department_name  =  \"marketing\" INTERSECT SELECT T2.dept_store_id ,  T2.store_name FROM departments AS T1 JOIN department_stores AS T2 ON T1.dept_store_id  =  T2.dept_store_id WHERE T1.department_name  =  \"managing\"",
        "query_toks": [
            "SELECT",
            "T2.dept_store_id",
            ",",
            "T2.store_name",
            "FROM",
            "departments",
            "AS",
            "T1",
            "JOIN",
            "department_stores",
            "AS",
            "T2",
            "ON",
            "T1.dept_store_id",
            "=",
            "T2.dept_store_id",
            "WHERE",
            "T1.department_name",
            "=",
            "``",
            "marketing",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.dept_store_id",
            ",",
            "T2.store_name",
            "FROM",
            "departments",
            "AS",
            "T1",
            "JOIN",
            "department_stores",
            "AS",
            "T2",
            "ON",
            "T1.dept_store_id",
            "=",
            "T2.dept_store_id",
            "WHERE",
            "T1.department_name",
            "=",
            "``",
            "managing",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_store_id",
            ",",
            "t2",
            ".",
            "store_name",
            "from",
            "departments",
            "as",
            "t1",
            "join",
            "department_stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_store_id",
            "=",
            "t2",
            ".",
            "dept_store_id",
            "where",
            "t1",
            ".",
            "department_name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "dept_store_id",
            ",",
            "t2",
            ".",
            "store_name",
            "from",
            "departments",
            "as",
            "t1",
            "join",
            "department_stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_store_id",
            "=",
            "t2",
            ".",
            "dept_store_id",
            "where",
            "t1",
            ".",
            "department_name",
            "=",
            "value"
        ],
        "question": "What is the id and name of the department store that has both marketing and managing department?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "department",
            "store",
            "that",
            "has",
            "both",
            "marketing",
            "and",
            "managing",
            "department",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"marketing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            10
                        ],
                        [
                            "table_unit",
                            9
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    41,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    34,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    36,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        "\"managing\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T2.dept_store_id ,  T2.store_name FROM departments AS T1 JOIN department_stores AS T2 ON T1.dept_store_id  =  T2.dept_store_id WHERE T1.department_name  =  \"marketing\" INTERSECT SELECT T2.dept_store_id ,  T2.store_name FROM departments AS T1 JOIN department_stores AS T2 ON T1.dept_store_id  =  T2.dept_store_id WHERE T1.department_name  =  \"managing\"",
        "query_toks": [
            "SELECT",
            "T2.dept_store_id",
            ",",
            "T2.store_name",
            "FROM",
            "departments",
            "AS",
            "T1",
            "JOIN",
            "department_stores",
            "AS",
            "T2",
            "ON",
            "T1.dept_store_id",
            "=",
            "T2.dept_store_id",
            "WHERE",
            "T1.department_name",
            "=",
            "``",
            "marketing",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.dept_store_id",
            ",",
            "T2.store_name",
            "FROM",
            "departments",
            "AS",
            "T1",
            "JOIN",
            "department_stores",
            "AS",
            "T2",
            "ON",
            "T1.dept_store_id",
            "=",
            "T2.dept_store_id",
            "WHERE",
            "T1.department_name",
            "=",
            "``",
            "managing",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "dept_store_id",
            ",",
            "t2",
            ".",
            "store_name",
            "from",
            "departments",
            "as",
            "t1",
            "join",
            "department_stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_store_id",
            "=",
            "t2",
            ".",
            "dept_store_id",
            "where",
            "t1",
            ".",
            "department_name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "dept_store_id",
            ",",
            "t2",
            ".",
            "store_name",
            "from",
            "departments",
            "as",
            "t1",
            "join",
            "department_stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dept_store_id",
            "=",
            "t2",
            ".",
            "dept_store_id",
            "where",
            "t1",
            ".",
            "department_name",
            "=",
            "value"
        ],
        "question": "What are the ids and names of department stores with both marketing and managing departments?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "department",
            "stores",
            "with",
            "both",
            "marketing",
            "and",
            "managing",
            "departments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                41,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "\"marketing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            10
                        ],
                        [
                            "table_unit",
                            9
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    41,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    34,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    36,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        "\"managing\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT dept_store_chain_id FROM department_stores GROUP BY dept_store_chain_id ORDER BY count(*) DESC LIMIT 2",
        "query_toks": [
            "SELECT",
            "dept_store_chain_id",
            "FROM",
            "department_stores",
            "GROUP",
            "BY",
            "dept_store_chain_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "dept_store_chain_id",
            "from",
            "department_stores",
            "group",
            "by",
            "dept_store_chain_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the ids of the two department store chains with the largest number of department stores?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "two",
            "department",
            "store",
            "chains",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "department",
            "stores",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    35,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 2,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT dept_store_chain_id FROM department_stores GROUP BY dept_store_chain_id ORDER BY count(*) DESC LIMIT 2",
        "query_toks": [
            "SELECT",
            "dept_store_chain_id",
            "FROM",
            "department_stores",
            "GROUP",
            "BY",
            "dept_store_chain_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "dept_store_chain_id",
            "from",
            "department_stores",
            "group",
            "by",
            "dept_store_chain_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the ids of the two department store chains with the most department stores.",
        "question_toks": [
            "Return",
            "the",
            "ids",
            "of",
            "the",
            "two",
            "department",
            "store",
            "chains",
            "with",
            "the",
            "most",
            "department",
            "stores",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    35,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 2,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT department_id FROM staff_department_assignments GROUP BY department_id ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "department_id",
            "FROM",
            "staff_department_assignments",
            "GROUP",
            "BY",
            "department_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "department_id",
            "from",
            "staff_department_assignments",
            "group",
            "by",
            "department_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the id of the department with the least number of staff?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "department",
            "with",
            "the",
            "least",
            "number",
            "of",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                53,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    53,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT department_id FROM staff_department_assignments GROUP BY department_id ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "department_id",
            "FROM",
            "staff_department_assignments",
            "GROUP",
            "BY",
            "department_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "department_id",
            "from",
            "staff_department_assignments",
            "group",
            "by",
            "department_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Return the id of the department with the fewest staff assignments.",
        "question_toks": [
            "Return",
            "the",
            "id",
            "of",
            "the",
            "department",
            "with",
            "the",
            "fewest",
            "staff",
            "assignments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                53,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    53,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_type_code ,  max(product_price) ,  min(product_price) FROM products GROUP BY product_type_code",
        "query_toks": [
            "SELECT",
            "product_type_code",
            ",",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "min",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            ",",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "min",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            "group",
            "by",
            "product_type_code"
        ],
        "question": "For each product type, return the maximum and minimum price.",
        "question_toks": [
            "For",
            "each",
            "product",
            "type",
            ",",
            "return",
            "the",
            "maximum",
            "and",
            "minimum",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_type_code ,  max(product_price) ,  min(product_price) FROM products GROUP BY product_type_code",
        "query_toks": [
            "SELECT",
            "product_type_code",
            ",",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "min",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            ",",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "min",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            "group",
            "by",
            "product_type_code"
        ],
        "question": "What are the maximum and minimum product prices for each product type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "product",
            "prices",
            "for",
            "each",
            "product",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_type_code FROM products GROUP BY product_type_code HAVING avg(product_price)  >  (SELECT avg(product_price) FROM products)",
        "query_toks": [
            "SELECT",
            "product_type_code",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code",
            "HAVING",
            "avg",
            "(",
            "product_price",
            ")",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            "from",
            "products",
            "group",
            "by",
            "product_type_code",
            "having",
            "avg",
            "(",
            "product_price",
            ")",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            ")"
        ],
        "question": "Find the product type whose average price is higher than the average price of all products.",
        "question_toks": [
            "Find",
            "the",
            "product",
            "type",
            "whose",
            "average",
            "price",
            "is",
            "higher",
            "than",
            "the",
            "average",
            "price",
            "of",
            "all",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_type_code FROM products GROUP BY product_type_code HAVING avg(product_price)  >  (SELECT avg(product_price) FROM products)",
        "query_toks": [
            "SELECT",
            "product_type_code",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code",
            "HAVING",
            "avg",
            "(",
            "product_price",
            ")",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            "from",
            "products",
            "group",
            "by",
            "product_type_code",
            "having",
            "avg",
            "(",
            "product_price",
            ")",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            ")"
        ],
        "question": "What is the code of the product type with an average price higher than the average price of all products?",
        "question_toks": [
            "What",
            "is",
            "the",
            "code",
            "of",
            "the",
            "product",
            "type",
            "with",
            "an",
            "average",
            "price",
            "higher",
            "than",
            "the",
            "average",
            "price",
            "of",
            "all",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            21,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_id ,  T1.staff_name FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id  =  T2.staff_id ORDER BY date_assigned_to - date_assigned_from LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.staff_id",
            ",",
            "T1.staff_name",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "Staff_Department_Assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "ORDER",
            "BY",
            "date_assigned_to",
            "-",
            "date_assigned_from",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_id",
            ",",
            "t1",
            ".",
            "staff_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "date_assigned_to",
            "-",
            "date_assigned_from",
            "limit",
            "value"
        ],
        "question": "Find the id and name of the staff who has been assigned for the shortest period.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "staff",
            "who",
            "has",
            "been",
            "assigned",
            "for",
            "the",
            "shortest",
            "period",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        1,
                        [
                            0,
                            56,
                            false
                        ],
                        [
                            0,
                            54,
                            false
                        ]
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_id ,  T1.staff_name FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id  =  T2.staff_id ORDER BY date_assigned_to - date_assigned_from LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.staff_id",
            ",",
            "T1.staff_name",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "Staff_Department_Assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "ORDER",
            "BY",
            "date_assigned_to",
            "-",
            "date_assigned_from",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_id",
            ",",
            "t1",
            ".",
            "staff_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "date_assigned_to",
            "-",
            "date_assigned_from",
            "limit",
            "value"
        ],
        "question": "What is the id and name of the staff who has been assigned for the least amount of time?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "name",
            "of",
            "the",
            "staff",
            "who",
            "has",
            "been",
            "assigned",
            "for",
            "the",
            "least",
            "amount",
            "of",
            "time",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        1,
                        [
                            0,
                            56,
                            false
                        ],
                        [
                            0,
                            54,
                            false
                        ]
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_name ,  product_id FROM products WHERE product_price BETWEEN 600 AND 700",
        "query_toks": [
            "SELECT",
            "product_name",
            ",",
            "product_id",
            "FROM",
            "products",
            "WHERE",
            "product_price",
            "BETWEEN",
            "600",
            "AND",
            "700"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "product_id",
            "from",
            "products",
            "where",
            "product_price",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Return the names and ids of all products whose price is between 600 and 700.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "all",
            "products",
            "whose",
            "price",
            "is",
            "between",
            "600",
            "and",
            "700",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    600.0,
                    700.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_name ,  product_id FROM products WHERE product_price BETWEEN 600 AND 700",
        "query_toks": [
            "SELECT",
            "product_name",
            ",",
            "product_id",
            "FROM",
            "products",
            "WHERE",
            "product_price",
            "BETWEEN",
            "600",
            "AND",
            "700"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "product_id",
            "from",
            "products",
            "where",
            "product_price",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names and ids of products costing between 600 and 700?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "products",
            "costing",
            "between",
            "600",
            "and",
            "700",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    600.0,
                    700.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT customer_id FROM Customer_Orders WHERE order_date  >  (SELECT min(order_date) FROM Customer_Orders WHERE order_status_code  =  \"Cancelled\")",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "customer_id",
            "FROM",
            "Customer_Orders",
            "WHERE",
            "order_date",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "order_date",
            ")",
            "FROM",
            "Customer_Orders",
            "WHERE",
            "order_status_code",
            "=",
            "``",
            "Cancelled",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "customer_id",
            "from",
            "customer_orders",
            "where",
            "order_date",
            ">",
            "(",
            "select",
            "min",
            "(",
            "order_date",
            ")",
            "from",
            "customer_orders",
            "where",
            "order_status_code",
            "=",
            "value",
            ")"
        ],
        "question": "Find the ids of all distinct customers who made order after some orders that were Cancelled.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "all",
            "distinct",
            "customers",
            "who",
            "made",
            "order",
            "after",
            "some",
            "orders",
            "that",
            "were",
            "Cancelled",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    8
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            33,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        32,
                                        false
                                    ],
                                    null
                                ],
                                "\"Cancelled\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT customer_id FROM Customer_Orders WHERE order_date  >  (SELECT min(order_date) FROM Customer_Orders WHERE order_status_code  =  \"Cancelled\")",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "customer_id",
            "FROM",
            "Customer_Orders",
            "WHERE",
            "order_date",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "order_date",
            ")",
            "FROM",
            "Customer_Orders",
            "WHERE",
            "order_status_code",
            "=",
            "``",
            "Cancelled",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "customer_id",
            "from",
            "customer_orders",
            "where",
            "order_date",
            ">",
            "(",
            "select",
            "min",
            "(",
            "order_date",
            ")",
            "from",
            "customer_orders",
            "where",
            "order_status_code",
            "=",
            "value",
            ")"
        ],
        "question": "What are the distinct ids of customers who made an order after any order that was Cancelled?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "ids",
            "of",
            "customers",
            "who",
            "made",
            "an",
            "order",
            "after",
            "any",
            "order",
            "that",
            "was",
            "Cancelled",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    8
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            33,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        32,
                                        false
                                    ],
                                    null
                                ],
                                "\"Cancelled\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to  <  (SELECT max(date_assigned_to) FROM Staff_Department_Assignments WHERE job_title_code  =  'Clerical Staff')",
        "query_toks": [
            "SELECT",
            "staff_id",
            "FROM",
            "Staff_Department_Assignments",
            "WHERE",
            "date_assigned_to",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "date_assigned_to",
            ")",
            "FROM",
            "Staff_Department_Assignments",
            "WHERE",
            "job_title_code",
            "=",
            "'Clerical",
            "Staff",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "staff_id",
            "from",
            "staff_department_assignments",
            "where",
            "date_assigned_to",
            "<",
            "(",
            "select",
            "max",
            "(",
            "date_assigned_to",
            ")",
            "from",
            "staff_department_assignments",
            "where",
            "job_title_code",
            "=",
            "value",
            ")"
        ],
        "question": "What is id of the staff who had a Staff Department Assignment earlier than any Clerical Staff?",
        "question_toks": [
            "What",
            "is",
            "id",
            "of",
            "the",
            "staff",
            "who",
            "had",
            "a",
            "Staff",
            "Department",
            "Assignment",
            "earlier",
            "than",
            "any",
            "Clerical",
            "Staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                52,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    13
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            56,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        55,
                                        false
                                    ],
                                    null
                                ],
                                "\"Clerical Staff\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to  <  (SELECT max(date_assigned_to) FROM Staff_Department_Assignments WHERE job_title_code  =  'Clerical Staff')",
        "query_toks": [
            "SELECT",
            "staff_id",
            "FROM",
            "Staff_Department_Assignments",
            "WHERE",
            "date_assigned_to",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "date_assigned_to",
            ")",
            "FROM",
            "Staff_Department_Assignments",
            "WHERE",
            "job_title_code",
            "=",
            "'Clerical",
            "Staff",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "staff_id",
            "from",
            "staff_department_assignments",
            "where",
            "date_assigned_to",
            "<",
            "(",
            "select",
            "max",
            "(",
            "date_assigned_to",
            ")",
            "from",
            "staff_department_assignments",
            "where",
            "job_title_code",
            "=",
            "value",
            ")"
        ],
        "question": "Return the id of the staff whose Staff Department Assignment was earlier than that of any Clerical Staff.",
        "question_toks": [
            "Return",
            "the",
            "id",
            "of",
            "the",
            "staff",
            "whose",
            "Staff",
            "Department",
            "Assignment",
            "was",
            "earlier",
            "than",
            "that",
            "of",
            "any",
            "Clerical",
            "Staff",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                52,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            56,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    13
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            56,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        55,
                                        false
                                    ],
                                    null
                                ],
                                "\"Clerical Staff\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT customer_name ,  customer_id FROM customers WHERE customer_address LIKE \"%TN%\"",
        "query_toks": [
            "SELECT",
            "customer_name",
            ",",
            "customer_id",
            "FROM",
            "customers",
            "WHERE",
            "customer_address",
            "LIKE",
            "``",
            "%",
            "TN",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            ",",
            "customer_id",
            "from",
            "customers",
            "where",
            "customer_address",
            "like",
            "value"
        ],
        "question": "What are the names and ids of customers whose address contains TN?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "customers",
            "whose",
            "address",
            "contains",
            "TN",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%TN%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT customer_name ,  customer_id FROM customers WHERE customer_address LIKE \"%TN%\"",
        "query_toks": [
            "SELECT",
            "customer_name",
            ",",
            "customer_id",
            "FROM",
            "customers",
            "WHERE",
            "customer_address",
            "LIKE",
            "``",
            "%",
            "TN",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            ",",
            "customer_id",
            "from",
            "customers",
            "where",
            "customer_address",
            "like",
            "value"
        ],
        "question": "Return the names and ids of customers who have TN in their address.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "customers",
            "who",
            "have",
            "TN",
            "in",
            "their",
            "address",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%TN%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_name ,  T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.date_assigned_from LIKE \"2016%\"",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "T1.staff_gender",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "staff_department_assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.date_assigned_from",
            "LIKE",
            "``",
            "2016",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t1",
            ".",
            "staff_gender",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "date_assigned_from",
            "like",
            "value"
        ],
        "question": "Return the name and gender of the staff who was assigned in 2016.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "and",
            "gender",
            "of",
            "the",
            "staff",
            "who",
            "was",
            "assigned",
            "in",
            "2016",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            54,
                            false
                        ],
                        null
                    ],
                    "\"2016%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_name ,  T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.date_assigned_from LIKE \"2016%\"",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "T1.staff_gender",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "staff_department_assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.date_assigned_from",
            "LIKE",
            "``",
            "2016",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t1",
            ".",
            "staff_gender",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "date_assigned_from",
            "like",
            "value"
        ],
        "question": "What are the names and genders of staff who were assigned in 2016?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "genders",
            "of",
            "staff",
            "who",
            "were",
            "assigned",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            54,
                            false
                        ],
                        null
                    ],
                    "\"2016%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_name FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id  =  T2.staff_id GROUP BY T2.staff_id HAVING COUNT (*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "staff_department_assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "GROUP",
            "BY",
            "T2.staff_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "group",
            "by",
            "t2",
            ".",
            "staff_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the name of staff who has been assigned multiple jobs.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "staff",
            "who",
            "has",
            "been",
            "assigned",
            "multiple",
            "jobs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    52,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_name FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id  =  T2.staff_id GROUP BY T2.staff_id HAVING COUNT (*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "staff_department_assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "GROUP",
            "BY",
            "T2.staff_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "group",
            "by",
            "t2",
            ".",
            "staff_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of staff who have been assigned multiple jobs?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "staff",
            "who",
            "have",
            "been",
            "assigned",
            "multiple",
            "jobs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    52,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.supplier_name ,  T1.supplier_phone FROM Suppliers AS T1 JOIN supplier_addresses AS T2 ON T1.supplier_id  =  T2.supplier_id JOIN addresses AS T3 ON T2.address_id  =  T3.address_id ORDER BY T3.address_details",
        "query_toks": [
            "SELECT",
            "T1.supplier_name",
            ",",
            "T1.supplier_phone",
            "FROM",
            "Suppliers",
            "AS",
            "T1",
            "JOIN",
            "supplier_addresses",
            "AS",
            "T2",
            "ON",
            "T1.supplier_id",
            "=",
            "T2.supplier_id",
            "JOIN",
            "addresses",
            "AS",
            "T3",
            "ON",
            "T2.address_id",
            "=",
            "T3.address_id",
            "ORDER",
            "BY",
            "T3.address_details"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "supplier_name",
            ",",
            "t1",
            ".",
            "supplier_phone",
            "from",
            "suppliers",
            "as",
            "t1",
            "join",
            "supplier_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supplier_id",
            "=",
            "t2",
            ".",
            "supplier_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "order",
            "by",
            "t3",
            ".",
            "address_details"
        ],
        "question": "List the name and phone number of all suppliers in the alphabetical order of their addresses.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "phone",
            "number",
            "of",
            "all",
            "suppliers",
            "in",
            "the",
            "alphabetical",
            "order",
            "of",
            "their",
            "addresses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.supplier_name ,  T1.supplier_phone FROM Suppliers AS T1 JOIN supplier_addresses AS T2 ON T1.supplier_id  =  T2.supplier_id JOIN addresses AS T3 ON T2.address_id  =  T3.address_id ORDER BY T3.address_details",
        "query_toks": [
            "SELECT",
            "T1.supplier_name",
            ",",
            "T1.supplier_phone",
            "FROM",
            "Suppliers",
            "AS",
            "T1",
            "JOIN",
            "supplier_addresses",
            "AS",
            "T2",
            "ON",
            "T1.supplier_id",
            "=",
            "T2.supplier_id",
            "JOIN",
            "addresses",
            "AS",
            "T3",
            "ON",
            "T2.address_id",
            "=",
            "T3.address_id",
            "ORDER",
            "BY",
            "T3.address_details"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "supplier_name",
            ",",
            "t1",
            ".",
            "supplier_phone",
            "from",
            "suppliers",
            "as",
            "t1",
            "join",
            "supplier_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supplier_id",
            "=",
            "t2",
            ".",
            "supplier_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "order",
            "by",
            "t3",
            ".",
            "address_details"
        ],
        "question": "What are the names and phone numbers for all suppliers, sorted in alphabetical order of their addressed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "phone",
            "numbers",
            "for",
            "all",
            "suppliers",
            ",",
            "sorted",
            "in",
            "alphabetical",
            "order",
            "of",
            "their",
            "addressed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT customer_phone FROM customers UNION SELECT supplier_phone FROM suppliers",
        "query_toks": [
            "SELECT",
            "customer_phone",
            "FROM",
            "customers",
            "UNION",
            "SELECT",
            "supplier_phone",
            "FROM",
            "suppliers"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "customers",
            "union",
            "select",
            "supplier_phone",
            "from",
            "suppliers"
        ],
        "question": "What are the phone numbers of all customers and suppliers.",
        "question_toks": [
            "What",
            "are",
            "the",
            "phone",
            "numbers",
            "of",
            "all",
            "customers",
            "and",
            "suppliers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT customer_phone FROM customers UNION SELECT supplier_phone FROM suppliers",
        "query_toks": [
            "SELECT",
            "customer_phone",
            "FROM",
            "customers",
            "UNION",
            "SELECT",
            "supplier_phone",
            "FROM",
            "suppliers"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "customers",
            "union",
            "select",
            "supplier_phone",
            "from",
            "suppliers"
        ],
        "question": "Return the phone numbers for all customers and suppliers.",
        "question_toks": [
            "Return",
            "the",
            "phone",
            "numbers",
            "for",
            "all",
            "customers",
            "and",
            "suppliers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id FROM Order_Items GROUP BY product_id HAVING count(*)  >  3 UNION SELECT product_id FROM Product_Suppliers GROUP BY product_id HAVING sum(total_amount_purchased)  >  80000",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "Order_Items",
            "GROUP",
            "BY",
            "product_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3",
            "UNION",
            "SELECT",
            "product_id",
            "FROM",
            "Product_Suppliers",
            "GROUP",
            "BY",
            "product_id",
            "HAVING",
            "sum",
            "(",
            "total_amount_purchased",
            ")",
            ">",
            "80000"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "order_items",
            "group",
            "by",
            "product_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            "union",
            "select",
            "product_id",
            "from",
            "product_suppliers",
            "group",
            "by",
            "product_id",
            "having",
            "sum",
            "(",
            "total_amount_purchased",
            ")",
            ">",
            "value"
        ],
        "question": "Return the ids of all products that were ordered more than three times or supplied more than 80000.",
        "question_toks": [
            "Return",
            "the",
            "ids",
            "of",
            "all",
            "products",
            "that",
            "were",
            "ordered",
            "more",
            "than",
            "three",
            "times",
            "or",
            "supplied",
            "more",
            "than",
            "80000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            12
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    46,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        46,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                4,
                                50,
                                false
                            ],
                            null
                        ],
                        80000.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id FROM Order_Items GROUP BY product_id HAVING count(*)  >  3 UNION SELECT product_id FROM Product_Suppliers GROUP BY product_id HAVING sum(total_amount_purchased)  >  80000",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "Order_Items",
            "GROUP",
            "BY",
            "product_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3",
            "UNION",
            "SELECT",
            "product_id",
            "FROM",
            "Product_Suppliers",
            "GROUP",
            "BY",
            "product_id",
            "HAVING",
            "sum",
            "(",
            "total_amount_purchased",
            ")",
            ">",
            "80000"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "order_items",
            "group",
            "by",
            "product_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            "union",
            "select",
            "product_id",
            "from",
            "product_suppliers",
            "group",
            "by",
            "product_id",
            "having",
            "sum",
            "(",
            "total_amount_purchased",
            ")",
            ">",
            "value"
        ],
        "question": "What are the ids of all products that were either ordered more than 3 times or have a cumulative amount purchased of above 80000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "products",
            "that",
            "were",
            "either",
            "ordered",
            "more",
            "than",
            "3",
            "times",
            "or",
            "have",
            "a",
            "cumulative",
            "amount",
            "purchased",
            "of",
            "above",
            "80000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    45,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            12
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    46,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        46,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                4,
                                50,
                                false
                            ],
                            null
                        ],
                        80000.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id ,  product_name FROM products WHERE product_price  <  600 OR product_price  >  900",
        "query_toks": [
            "SELECT",
            "product_id",
            ",",
            "product_name",
            "FROM",
            "products",
            "WHERE",
            "product_price",
            "<",
            "600",
            "OR",
            "product_price",
            ">",
            "900"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            ",",
            "product_name",
            "from",
            "products",
            "where",
            "product_price",
            "<",
            "value",
            "or",
            "product_price",
            ">",
            "value"
        ],
        "question": "What are id and name of the products whose price is lower than 600 or higher than 900?",
        "question_toks": [
            "What",
            "are",
            "id",
            "and",
            "name",
            "of",
            "the",
            "products",
            "whose",
            "price",
            "is",
            "lower",
            "than",
            "600",
            "or",
            "higher",
            "than",
            "900",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    900.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_id ,  product_name FROM products WHERE product_price  <  600 OR product_price  >  900",
        "query_toks": [
            "SELECT",
            "product_id",
            ",",
            "product_name",
            "FROM",
            "products",
            "WHERE",
            "product_price",
            "<",
            "600",
            "OR",
            "product_price",
            ">",
            "900"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            ",",
            "product_name",
            "from",
            "products",
            "where",
            "product_price",
            "<",
            "value",
            "or",
            "product_price",
            ">",
            "value"
        ],
        "question": "Give the ids and names of products with price lower than 600 or higher than 900.",
        "question_toks": [
            "Give",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "products",
            "with",
            "price",
            "lower",
            "than",
            "600",
            "or",
            "higher",
            "than",
            "900",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    900.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING avg(total_amount_purchased)  >  50000 OR avg(total_amount_purchased)  <  30000",
        "query_toks": [
            "SELECT",
            "supplier_id",
            "FROM",
            "Product_Suppliers",
            "GROUP",
            "BY",
            "supplier_id",
            "HAVING",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            ">",
            "50000",
            "OR",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            "<",
            "30000"
        ],
        "query_toks_no_value": [
            "select",
            "supplier_id",
            "from",
            "product_suppliers",
            "group",
            "by",
            "supplier_id",
            "having",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            ">",
            "value",
            "or",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            "<",
            "value"
        ],
        "question": "Find the id of suppliers whose average amount purchased for each product is above 50000 or below 30000.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "suppliers",
            "whose",
            "average",
            "amount",
            "purchased",
            "for",
            "each",
            "product",
            "is",
            "above",
            "50000",
            "or",
            "below",
            "30000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    47,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            50,
                            false
                        ],
                        null
                    ],
                    50000.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            50,
                            false
                        ],
                        null
                    ],
                    30000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING avg(total_amount_purchased)  >  50000 OR avg(total_amount_purchased)  <  30000",
        "query_toks": [
            "SELECT",
            "supplier_id",
            "FROM",
            "Product_Suppliers",
            "GROUP",
            "BY",
            "supplier_id",
            "HAVING",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            ">",
            "50000",
            "OR",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            "<",
            "30000"
        ],
        "query_toks_no_value": [
            "select",
            "supplier_id",
            "from",
            "product_suppliers",
            "group",
            "by",
            "supplier_id",
            "having",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            ">",
            "value",
            "or",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            "<",
            "value"
        ],
        "question": "What are the ids of suppliers which have an average amount purchased of above 50000 or below 30000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "suppliers",
            "which",
            "have",
            "an",
            "average",
            "amount",
            "purchased",
            "of",
            "above",
            "50000",
            "or",
            "below",
            "30000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                47,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    47,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            5,
                            50,
                            false
                        ],
                        null
                    ],
                    50000.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            50,
                            false
                        ],
                        null
                    ],
                    30000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT avg(total_amount_purchased) ,  avg(total_value_purchased) FROM Product_Suppliers WHERE supplier_id  =  (SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            ",",
            "avg",
            "(",
            "total_value_purchased",
            ")",
            "FROM",
            "Product_Suppliers",
            "WHERE",
            "supplier_id",
            "=",
            "(",
            "SELECT",
            "supplier_id",
            "FROM",
            "Product_Suppliers",
            "GROUP",
            "BY",
            "supplier_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            ",",
            "avg",
            "(",
            "total_value_purchased",
            ")",
            "from",
            "product_suppliers",
            "where",
            "supplier_id",
            "=",
            "(",
            "select",
            "supplier_id",
            "from",
            "product_suppliers",
            "group",
            "by",
            "supplier_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the average amount purchased and value purchased for the supplier who supplies the most products.",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "amount",
            "purchased",
            "and",
            "value",
            "purchased",
            "for",
            "the",
            "supplier",
            "who",
            "supplies",
            "the",
            "most",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    12
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            47,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                47,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT avg(total_amount_purchased) ,  avg(total_value_purchased) FROM Product_Suppliers WHERE supplier_id  =  (SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            ",",
            "avg",
            "(",
            "total_value_purchased",
            ")",
            "FROM",
            "Product_Suppliers",
            "WHERE",
            "supplier_id",
            "=",
            "(",
            "SELECT",
            "supplier_id",
            "FROM",
            "Product_Suppliers",
            "GROUP",
            "BY",
            "supplier_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "total_amount_purchased",
            ")",
            ",",
            "avg",
            "(",
            "total_value_purchased",
            ")",
            "from",
            "product_suppliers",
            "where",
            "supplier_id",
            "=",
            "(",
            "select",
            "supplier_id",
            "from",
            "product_suppliers",
            "group",
            "by",
            "supplier_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Return the average total amount purchased and total value purchased for the supplier who supplies the greatest number of products.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "total",
            "amount",
            "purchased",
            "and",
            "total",
            "value",
            "purchased",
            "for",
            "the",
            "supplier",
            "who",
            "supplies",
            "the",
            "greatest",
            "number",
            "of",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    12
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            47,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                47,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT max(customer_code) ,  min(customer_code) FROM Customers",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "customer_code",
            ")",
            ",",
            "min",
            "(",
            "customer_code",
            ")",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "customer_code",
            ")",
            ",",
            "min",
            "(",
            "customer_code",
            ")",
            "from",
            "customers"
        ],
        "question": "What is the largest and smallest customer codes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "largest",
            "and",
            "smallest",
            "customer",
            "codes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT max(customer_code) ,  min(customer_code) FROM Customers",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "customer_code",
            ")",
            ",",
            "min",
            "(",
            "customer_code",
            ")",
            "FROM",
            "Customers"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "customer_code",
            ")",
            ",",
            "min",
            "(",
            "customer_code",
            ")",
            "from",
            "customers"
        ],
        "question": "Return the maximum and minimum customer codes.",
        "question_toks": [
            "Return",
            "the",
            "maximum",
            "and",
            "minimum",
            "customer",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id JOIN order_items AS T3 ON T2.order_id  =  T3.order_id JOIN products AS T4 ON T3.product_id  =  T4.product_id WHERE T4.product_name  =  \"keyboard\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "ON",
            "T2.order_id",
            "=",
            "T3.order_id",
            "JOIN",
            "products",
            "AS",
            "T4",
            "ON",
            "T3.product_id",
            "=",
            "T4.product_id",
            "WHERE",
            "T4.product_name",
            "=",
            "``",
            "keyboard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "List the names of all the distinct customers who bought a keyboard.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "the",
            "distinct",
            "customers",
            "who",
            "bought",
            "a",
            "keyboard",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"keyboard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id JOIN order_items AS T3 ON T2.order_id  =  T3.order_id JOIN products AS T4 ON T3.product_id  =  T4.product_id WHERE T4.product_name  =  \"keyboard\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "ON",
            "T2.order_id",
            "=",
            "T3.order_id",
            "JOIN",
            "products",
            "AS",
            "T4",
            "ON",
            "T3.product_id",
            "=",
            "T4.product_id",
            "WHERE",
            "T4.product_name",
            "=",
            "``",
            "keyboard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What are the distinct names of customers who have purchased a keyboard?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "purchased",
            "a",
            "keyboard",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"keyboard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T1.supplier_name ,  T1.supplier_phone FROM suppliers AS T1 JOIN product_suppliers AS T2 ON T1.supplier_id  =  T2.supplier_id JOIN products AS T3 ON T2.product_id  =  T3.product_id WHERE T3.product_name  =  \"red jeans\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.supplier_name",
            ",",
            "T1.supplier_phone",
            "FROM",
            "suppliers",
            "AS",
            "T1",
            "JOIN",
            "product_suppliers",
            "AS",
            "T2",
            "ON",
            "T1.supplier_id",
            "=",
            "T2.supplier_id",
            "JOIN",
            "products",
            "AS",
            "T3",
            "ON",
            "T2.product_id",
            "=",
            "T3.product_id",
            "WHERE",
            "T3.product_name",
            "=",
            "``",
            "red",
            "jeans",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "supplier_name",
            ",",
            "t1",
            ".",
            "supplier_phone",
            "from",
            "suppliers",
            "as",
            "t1",
            "join",
            "product_suppliers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supplier_id",
            "=",
            "t2",
            ".",
            "supplier_id",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "where",
            "t3",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "List the names and phone numbers of all the distinct suppliers who supply red jeans.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "phone",
            "numbers",
            "of",
            "all",
            "the",
            "distinct",
            "suppliers",
            "who",
            "supply",
            "red",
            "jeans",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"red jeans\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T1.supplier_name ,  T1.supplier_phone FROM suppliers AS T1 JOIN product_suppliers AS T2 ON T1.supplier_id  =  T2.supplier_id JOIN products AS T3 ON T2.product_id  =  T3.product_id WHERE T3.product_name  =  \"red jeans\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.supplier_name",
            ",",
            "T1.supplier_phone",
            "FROM",
            "suppliers",
            "AS",
            "T1",
            "JOIN",
            "product_suppliers",
            "AS",
            "T2",
            "ON",
            "T1.supplier_id",
            "=",
            "T2.supplier_id",
            "JOIN",
            "products",
            "AS",
            "T3",
            "ON",
            "T2.product_id",
            "=",
            "T3.product_id",
            "WHERE",
            "T3.product_name",
            "=",
            "``",
            "red",
            "jeans",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "supplier_name",
            ",",
            "t1",
            ".",
            "supplier_phone",
            "from",
            "suppliers",
            "as",
            "t1",
            "join",
            "product_suppliers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "supplier_id",
            "=",
            "t2",
            ".",
            "supplier_id",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "where",
            "t3",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What are the distinct names and phone numbers for suppliers who have red jeans?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "and",
            "phone",
            "numbers",
            "for",
            "suppliers",
            "who",
            "have",
            "red",
            "jeans",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"red jeans\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT max(product_price) ,  min(product_price) ,  product_type_code FROM products GROUP BY product_type_code ORDER BY product_type_code",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "min",
            "(",
            "product_price",
            ")",
            ",",
            "product_type_code",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code",
            "ORDER",
            "BY",
            "product_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "min",
            "(",
            "product_price",
            ")",
            ",",
            "product_type_code",
            "from",
            "products",
            "group",
            "by",
            "product_type_code",
            "order",
            "by",
            "product_type_code"
        ],
        "question": "What are the highest and lowest prices of products, grouped by and alphabetically ordered by product type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "highest",
            "and",
            "lowest",
            "prices",
            "of",
            "products",
            ",",
            "grouped",
            "by",
            "and",
            "alphabetically",
            "ordered",
            "by",
            "product",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT max(product_price) ,  min(product_price) ,  product_type_code FROM products GROUP BY product_type_code ORDER BY product_type_code",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "min",
            "(",
            "product_price",
            ")",
            ",",
            "product_type_code",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code",
            "ORDER",
            "BY",
            "product_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "min",
            "(",
            "product_price",
            ")",
            ",",
            "product_type_code",
            "from",
            "products",
            "group",
            "by",
            "product_type_code",
            "order",
            "by",
            "product_type_code"
        ],
        "question": "Give the maximum and minimum product prices for each product type, grouped and ordered by product type.",
        "question_toks": [
            "Give",
            "the",
            "maximum",
            "and",
            "minimum",
            "product",
            "prices",
            "for",
            "each",
            "product",
            "type",
            ",",
            "grouped",
            "and",
            "ordered",
            "by",
            "product",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT order_id ,  customer_id FROM customer_orders WHERE order_status_code  =   \"Cancelled\" ORDER BY order_date",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "customer_id",
            "FROM",
            "customer_orders",
            "WHERE",
            "order_status_code",
            "=",
            "``",
            "Cancelled",
            "''",
            "ORDER",
            "BY",
            "order_date"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "customer_id",
            "from",
            "customer_orders",
            "where",
            "order_status_code",
            "=",
            "value",
            "order",
            "by",
            "order_date"
        ],
        "question": "List the order id, customer id for orders in Cancelled status, ordered by their order dates.",
        "question_toks": [
            "List",
            "the",
            "order",
            "id",
            ",",
            "customer",
            "id",
            "for",
            "orders",
            "in",
            "Cancelled",
            "status",
            ",",
            "ordered",
            "by",
            "their",
            "order",
            "dates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT order_id ,  customer_id FROM customer_orders WHERE order_status_code  =   \"Cancelled\" ORDER BY order_date",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "customer_id",
            "FROM",
            "customer_orders",
            "WHERE",
            "order_status_code",
            "=",
            "``",
            "Cancelled",
            "''",
            "ORDER",
            "BY",
            "order_date"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "customer_id",
            "from",
            "customer_orders",
            "where",
            "order_status_code",
            "=",
            "value",
            "order",
            "by",
            "order_date"
        ],
        "question": "What are the order ids and customer ids for orders that have been Cancelled, sorted by their order dates?",
        "question_toks": [
            "What",
            "are",
            "the",
            "order",
            "ids",
            "and",
            "customer",
            "ids",
            "for",
            "orders",
            "that",
            "have",
            "been",
            "Cancelled",
            ",",
            "sorted",
            "by",
            "their",
            "order",
            "dates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T3.product_name FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id  =  T2.order_id JOIN products AS T3 ON T2.product_id  =  T3.product_id GROUP BY T3.product_id HAVING COUNT (DISTINCT T1.customer_id)  >=  2",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.product_name",
            "FROM",
            "customer_orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "JOIN",
            "products",
            "AS",
            "T3",
            "ON",
            "T2.product_id",
            "=",
            "T3.product_id",
            "GROUP",
            "BY",
            "T3.product_id",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "T1.customer_id",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "product_name",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "group",
            "by",
            "t3",
            ".",
            "product_id",
            "having",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "customer_id",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the names of products that were bought by at least two distinct customers.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "products",
            "that",
            "were",
            "bought",
            "by",
            "at",
            "least",
            "two",
            "distinct",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            31,
                            true
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T3.product_name FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id  =  T2.order_id JOIN products AS T3 ON T2.product_id  =  T3.product_id GROUP BY T3.product_id HAVING COUNT (DISTINCT T1.customer_id)  >=  2",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T3.product_name",
            "FROM",
            "customer_orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "JOIN",
            "products",
            "AS",
            "T3",
            "ON",
            "T2.product_id",
            "=",
            "T3.product_id",
            "GROUP",
            "BY",
            "T3.product_id",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "T1.customer_id",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "product_name",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "group",
            "by",
            "t3",
            ".",
            "product_id",
            "having",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "customer_id",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the distinct names of products purchased by at least two different customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "of",
            "products",
            "purchased",
            "by",
            "at",
            "least",
            "two",
            "different",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            31,
                            true
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id JOIN order_items AS T3 ON T2.order_id  =  T3.order_id GROUP BY T1.customer_id HAVING COUNT (DISTINCT T3.product_id)  >=  3",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "ON",
            "T2.order_id",
            "=",
            "T3.order_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "T3.product_id",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "product_id",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the names of customers who have bought by at least three distinct products.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "bought",
            "by",
            "at",
            "least",
            "three",
            "distinct",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            45,
                            true
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id JOIN order_items AS T3 ON T2.order_id  =  T3.order_id GROUP BY T1.customer_id HAVING COUNT (DISTINCT T3.product_id)  >=  3",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "ON",
            "T2.order_id",
            "=",
            "T3.order_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "T3.product_id",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "product_id",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the distinct names of customers who have purchased at least three different products?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "purchased",
            "at",
            "least",
            "three",
            "different",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            45,
                            true
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_name ,  T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.job_title_code  =  \"Sales Person\" EXCEPT SELECT T1.staff_name ,  T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.job_title_code  =  \"Clerical Staff\"",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "T1.staff_gender",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "Staff_Department_Assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.job_title_code",
            "=",
            "``",
            "Sales",
            "Person",
            "''",
            "EXCEPT",
            "SELECT",
            "T1.staff_name",
            ",",
            "T1.staff_gender",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "Staff_Department_Assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.job_title_code",
            "=",
            "``",
            "Clerical",
            "Staff",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t1",
            ".",
            "staff_gender",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "job_title_code",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t1",
            ".",
            "staff_gender",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "job_title_code",
            "=",
            "value"
        ],
        "question": "Find the name and gender of the staff who has been assigned the job of Sales Person but never Clerical Staff.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "gender",
            "of",
            "the",
            "staff",
            "who",
            "has",
            "been",
            "assigned",
            "the",
            "job",
            "of",
            "Sales",
            "Person",
            "but",
            "never",
            "Clerical",
            "Staff",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ],
                    "\"Sales Person\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            13
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                52,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ],
                        "\"Clerical Staff\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT T1.staff_name ,  T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.job_title_code  =  \"Sales Person\" EXCEPT SELECT T1.staff_name ,  T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id  =  T2.staff_id WHERE T2.job_title_code  =  \"Clerical Staff\"",
        "query_toks": [
            "SELECT",
            "T1.staff_name",
            ",",
            "T1.staff_gender",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "Staff_Department_Assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.job_title_code",
            "=",
            "``",
            "Sales",
            "Person",
            "''",
            "EXCEPT",
            "SELECT",
            "T1.staff_name",
            ",",
            "T1.staff_gender",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "Staff_Department_Assignments",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.job_title_code",
            "=",
            "``",
            "Clerical",
            "Staff",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t1",
            ".",
            "staff_gender",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "job_title_code",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "staff_name",
            ",",
            "t1",
            ".",
            "staff_gender",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "staff_department_assignments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "job_title_code",
            "=",
            "value"
        ],
        "question": "What are the names and genders of staff who have held the title Sales Person, but never Clerical Staff?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "genders",
            "of",
            "staff",
            "who",
            "have",
            "held",
            "the",
            "title",
            "Sales",
            "Person",
            ",",
            "but",
            "never",
            "Clerical",
            "Staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            55,
                            false
                        ],
                        null
                    ],
                    "\"Sales Person\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            13
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                52,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                55,
                                false
                            ],
                            null
                        ],
                        "\"Clerical Staff\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT customer_id ,  customer_name FROM customers WHERE customer_address LIKE \"%WY%\" AND payment_method_code != \"Credit Card\"",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "customer_address",
            "LIKE",
            "``",
            "%",
            "WY",
            "%",
            "''",
            "AND",
            "payment_method_code",
            "!",
            "=",
            "``",
            "Credit",
            "Card",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "customer_name",
            "from",
            "customers",
            "where",
            "customer_address",
            "like",
            "value",
            "and",
            "payment_method_code",
            "!",
            "=",
            "value"
        ],
        "question": "Find the id and name of customers whose address contains WY state and do not use credit card for payment.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "name",
            "of",
            "customers",
            "whose",
            "address",
            "contains",
            "WY",
            "state",
            "and",
            "do",
            "not",
            "use",
            "credit",
            "card",
            "for",
            "payment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%WY%\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Credit Card\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT customer_id ,  customer_name FROM customers WHERE customer_address LIKE \"%WY%\" AND payment_method_code != \"Credit Card\"",
        "query_toks": [
            "SELECT",
            "customer_id",
            ",",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "customer_address",
            "LIKE",
            "``",
            "%",
            "WY",
            "%",
            "''",
            "AND",
            "payment_method_code",
            "!",
            "=",
            "``",
            "Credit",
            "Card",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_id",
            ",",
            "customer_name",
            "from",
            "customers",
            "where",
            "customer_address",
            "like",
            "value",
            "and",
            "payment_method_code",
            "!",
            "=",
            "value"
        ],
        "question": "What are the ids and names of customers with addressed that contain WY and who do not use a credit card for payment?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "customers",
            "with",
            "addressed",
            "that",
            "contain",
            "WY",
            "and",
            "who",
            "do",
            "not",
            "use",
            "a",
            "credit",
            "card",
            "for",
            "payment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"%WY%\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Credit Card\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT avg(product_price) FROM products WHERE product_type_code  =  'Clothes'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_type_code",
            "=",
            "'Clothes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            "where",
            "product_type_code",
            "=",
            "value"
        ],
        "question": "Find the average price of all product clothes.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "price",
            "of",
            "all",
            "product",
            "clothes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Clothes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT avg(product_price) FROM products WHERE product_type_code  =  'Clothes'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_type_code",
            "=",
            "'Clothes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            "where",
            "product_type_code",
            "=",
            "value"
        ],
        "question": "What is the average price of clothes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "of",
            "clothes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Clothes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_name FROM products WHERE product_type_code  =  'Hardware' ORDER BY product_price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "products",
            "WHERE",
            "product_type_code",
            "=",
            "'Hardware",
            "'",
            "ORDER",
            "BY",
            "product_price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "where",
            "product_type_code",
            "=",
            "value",
            "order",
            "by",
            "product_price",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the most expensive hardware product.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "most",
            "expensive",
            "hardware",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Hardware\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "department_store",
        "query": "SELECT product_name FROM products WHERE product_type_code  =  'Hardware' ORDER BY product_price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "products",
            "WHERE",
            "product_type_code",
            "=",
            "'Hardware",
            "'",
            "ORDER",
            "BY",
            "product_price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "where",
            "product_type_code",
            "=",
            "value",
            "order",
            "by",
            "product_price",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the hardware product with the greatest price?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "hardware",
            "product",
            "with",
            "the",
            "greatest",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Hardware\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT count(*) FROM aircraft",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "aircraft"
        ],
        "question": "How many aircrafts are there?",
        "question_toks": [
            "How",
            "many",
            "aircrafts",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT count(*) FROM aircraft",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "aircraft"
        ],
        "question": "What is the number of aircraft?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "aircraft",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Description FROM aircraft",
        "query_toks": [
            "SELECT",
            "Description",
            "FROM",
            "aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "description",
            "from",
            "aircraft"
        ],
        "question": "List the description of all aircrafts.",
        "question_toks": [
            "List",
            "the",
            "description",
            "of",
            "all",
            "aircrafts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Description FROM aircraft",
        "query_toks": [
            "SELECT",
            "Description",
            "FROM",
            "aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "description",
            "from",
            "aircraft"
        ],
        "question": "What are the descriptions for the aircrafts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "descriptions",
            "for",
            "the",
            "aircrafts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT avg(International_Passengers) FROM airport",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "International_Passengers",
            ")",
            "FROM",
            "airport"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "international_passengers",
            ")",
            "from",
            "airport"
        ],
        "question": "What is the average number of international passengers of all airports?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "international",
            "passengers",
            "of",
            "all",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT avg(International_Passengers) FROM airport",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "International_Passengers",
            ")",
            "FROM",
            "airport"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "international_passengers",
            ")",
            "from",
            "airport"
        ],
        "question": "What is the average number of international passengers for an airport?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "international",
            "passengers",
            "for",
            "an",
            "airport",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT International_Passengers ,  Domestic_Passengers FROM airport WHERE Airport_Name  =  \"London Heathrow\"",
        "query_toks": [
            "SELECT",
            "International_Passengers",
            ",",
            "Domestic_Passengers",
            "FROM",
            "airport",
            "WHERE",
            "Airport_Name",
            "=",
            "``",
            "London",
            "Heathrow",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "international_passengers",
            ",",
            "domestic_passengers",
            "from",
            "airport",
            "where",
            "airport_name",
            "=",
            "value"
        ],
        "question": "What are the number of international and domestic passengers of the airport named London \"Heathrow\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "number",
            "of",
            "international",
            "and",
            "domestic",
            "passengers",
            "of",
            "the",
            "airport",
            "named",
            "London",
            "``",
            "Heathrow",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"London Heathrow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT International_Passengers ,  Domestic_Passengers FROM airport WHERE Airport_Name  =  \"London Heathrow\"",
        "query_toks": [
            "SELECT",
            "International_Passengers",
            ",",
            "Domestic_Passengers",
            "FROM",
            "airport",
            "WHERE",
            "Airport_Name",
            "=",
            "``",
            "London",
            "Heathrow",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "international_passengers",
            ",",
            "domestic_passengers",
            "from",
            "airport",
            "where",
            "airport_name",
            "=",
            "value"
        ],
        "question": "How many international and domestic passengers are there in the airport London Heathrow?",
        "question_toks": [
            "How",
            "many",
            "international",
            "and",
            "domestic",
            "passengers",
            "are",
            "there",
            "in",
            "the",
            "airport",
            "London",
            "Heathrow",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"London Heathrow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT sum(Domestic_Passengers) FROM airport WHERE Airport_Name LIKE \"%London%\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Domestic_Passengers",
            ")",
            "FROM",
            "airport",
            "WHERE",
            "Airport_Name",
            "LIKE",
            "``",
            "%",
            "London",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "domestic_passengers",
            ")",
            "from",
            "airport",
            "where",
            "airport_name",
            "like",
            "value"
        ],
        "question": "What are the total number of Domestic Passengers of airports that contain the word \"London\".",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "number",
            "of",
            "Domestic",
            "Passengers",
            "of",
            "airports",
            "that",
            "contain",
            "the",
            "word",
            "``",
            "London",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"%London%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT sum(Domestic_Passengers) FROM airport WHERE Airport_Name LIKE \"%London%\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "Domestic_Passengers",
            ")",
            "FROM",
            "airport",
            "WHERE",
            "Airport_Name",
            "LIKE",
            "``",
            "%",
            "London",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "domestic_passengers",
            ")",
            "from",
            "airport",
            "where",
            "airport_name",
            "like",
            "value"
        ],
        "question": "What are the total number of domestic passengers at all London airports?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "number",
            "of",
            "domestic",
            "passengers",
            "at",
            "all",
            "London",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"%London%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT max(Transit_Passengers) ,  min(Transit_Passengers) FROM airport",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Transit_Passengers",
            ")",
            ",",
            "min",
            "(",
            "Transit_Passengers",
            ")",
            "FROM",
            "airport"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "transit_passengers",
            ")",
            ",",
            "min",
            "(",
            "transit_passengers",
            ")",
            "from",
            "airport"
        ],
        "question": "What are the maximum and minimum number of transit passengers of all aiports.",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "number",
            "of",
            "transit",
            "passengers",
            "of",
            "all",
            "aiports",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT max(Transit_Passengers) ,  min(Transit_Passengers) FROM airport",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Transit_Passengers",
            ")",
            ",",
            "min",
            "(",
            "Transit_Passengers",
            ")",
            "FROM",
            "airport"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "transit_passengers",
            ")",
            ",",
            "min",
            "(",
            "transit_passengers",
            ")",
            "from",
            "airport"
        ],
        "question": "What is the maximum and mininum number of transit passengers for all airports?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "and",
            "mininum",
            "number",
            "of",
            "transit",
            "passengers",
            "for",
            "all",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Name FROM pilot WHERE Age  >=  25",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "pilot",
            "WHERE",
            "Age",
            ">",
            "=",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "where",
            "age",
            ">",
            "=",
            "value"
        ],
        "question": "What are the name of pilots aged 25 or older?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "of",
            "pilots",
            "aged",
            "25",
            "or",
            "older",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Name FROM pilot WHERE Age  >=  25",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "pilot",
            "WHERE",
            "Age",
            ">",
            "=",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "where",
            "age",
            ">",
            "=",
            "value"
        ],
        "question": "what is the name of every pilot who is at least 25 years old?",
        "question_toks": [
            "what",
            "is",
            "the",
            "name",
            "of",
            "every",
            "pilot",
            "who",
            "is",
            "at",
            "least",
            "25",
            "years",
            "old",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Name FROM pilot ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "pilot",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "List all pilot names in ascending alphabetical order.",
        "question_toks": [
            "List",
            "all",
            "pilot",
            "names",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Name FROM pilot ORDER BY Name ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "pilot",
            "ORDER",
            "BY",
            "Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "order",
            "by",
            "name",
            "asc"
        ],
        "question": "What are the names of the pilots in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "pilots",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Name FROM pilot WHERE Age  <=  30 ORDER BY Name DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "pilot",
            "WHERE",
            "Age",
            "<",
            "=",
            "30",
            "ORDER",
            "BY",
            "Name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "where",
            "age",
            "<",
            "=",
            "value",
            "order",
            "by",
            "name",
            "desc"
        ],
        "question": "List names of all pilot aged 30 or younger in descending alphabetical order.",
        "question_toks": [
            "List",
            "names",
            "of",
            "all",
            "pilot",
            "aged",
            "30",
            "or",
            "younger",
            "in",
            "descending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Name FROM pilot WHERE Age  <=  30 ORDER BY Name DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "pilot",
            "WHERE",
            "Age",
            "<",
            "=",
            "30",
            "ORDER",
            "BY",
            "Name",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "where",
            "age",
            "<",
            "=",
            "value",
            "order",
            "by",
            "name",
            "desc"
        ],
        "question": "What are the names of all pilots 30 years old or young in descending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "pilots",
            "30",
            "years",
            "old",
            "or",
            "young",
            "in",
            "descending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  \"London Gatwick\"",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T3.Airport_Name",
            "=",
            "``",
            "London",
            "Gatwick",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t3",
            ".",
            "airport_name",
            "=",
            "value"
        ],
        "question": "Please show the names of aircrafts associated with airport with name \"London Gatwick\".",
        "question_toks": [
            "Please",
            "show",
            "the",
            "names",
            "of",
            "aircrafts",
            "associated",
            "with",
            "airport",
            "with",
            "name",
            "``",
            "London",
            "Gatwick",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"London Gatwick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  \"London Gatwick\"",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T3.Airport_Name",
            "=",
            "``",
            "London",
            "Gatwick",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t3",
            ".",
            "airport_name",
            "=",
            "value"
        ],
        "question": "What are the names of all the aircrafts associated with London Gatwick airport?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "aircrafts",
            "associated",
            "with",
            "London",
            "Gatwick",
            "airport",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"London Gatwick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft ,  T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Total_Passengers  >  10000000",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            ",",
            "T1.Description",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T3.Total_Passengers",
            ">",
            "10000000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            ",",
            "t1",
            ".",
            "description",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t3",
            ".",
            "total_passengers",
            ">",
            "value"
        ],
        "question": "Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "names",
            "and",
            "descriptions",
            "of",
            "aircrafts",
            "associated",
            "with",
            "airports",
            "that",
            "have",
            "a",
            "total",
            "number",
            "of",
            "passengers",
            "bigger",
            "than",
            "10000000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    10000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft ,  T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Total_Passengers  >  10000000",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            ",",
            "T1.Description",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T3.Total_Passengers",
            ">",
            "10000000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            ",",
            "t1",
            ".",
            "description",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t3",
            ".",
            "total_passengers",
            ">",
            "value"
        ],
        "question": "What are the names and descriptions of aircrafts associated with an airport that has more total passengers than 10000000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "descriptions",
            "of",
            "aircrafts",
            "associated",
            "with",
            "an",
            "airport",
            "that",
            "has",
            "more",
            "total",
            "passengers",
            "than",
            "10000000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    10000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T1.Aircraft  =  \"Robinson R-22\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T3.Total_Passengers",
            ")",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T1.Aircraft",
            "=",
            "``",
            "Robinson",
            "R-22",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "total_passengers",
            ")",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t1",
            ".",
            "aircraft",
            "=",
            "value"
        ],
        "question": "What is the average total number of passengers of airports that are associated with aircraft \"Robinson R-22\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "total",
            "number",
            "of",
            "passengers",
            "of",
            "airports",
            "that",
            "are",
            "associated",
            "with",
            "aircraft",
            "``",
            "Robinson",
            "R-22",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Robinson R-22\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T1.Aircraft  =  \"Robinson R-22\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T3.Total_Passengers",
            ")",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T1.Aircraft",
            "=",
            "``",
            "Robinson",
            "R-22",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "total_passengers",
            ")",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t1",
            ".",
            "aircraft",
            "=",
            "value"
        ],
        "question": "What is the average total number of passengers for all airports that the aircraft \"Robinson R-22\" visits?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "total",
            "number",
            "of",
            "passengers",
            "for",
            "all",
            "airports",
            "that",
            "the",
            "aircraft",
            "``",
            "Robinson",
            "R-22",
            "''",
            "visits",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Robinson R-22\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T2.Location ,  T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft",
        "query_toks": [
            "SELECT",
            "T2.Location",
            ",",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "MATCH",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Winning_Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "location",
            ",",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "winning_aircraft"
        ],
        "question": "Please list the location and the winning aircraft name.",
        "question_toks": [
            "Please",
            "list",
            "the",
            "location",
            "and",
            "the",
            "winning",
            "aircraft",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T2.Location ,  T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft",
        "query_toks": [
            "SELECT",
            "T2.Location",
            ",",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "MATCH",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Winning_Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "location",
            ",",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "winning_aircraft"
        ],
        "question": "What is the location and name of the winning aircraft?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "and",
            "name",
            "of",
            "the",
            "winning",
            "aircraft",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "MATCH",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Winning_Aircraft",
            "GROUP",
            "BY",
            "T2.Winning_Aircraft",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "winning_aircraft",
            "group",
            "by",
            "t2",
            ".",
            "winning_aircraft",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the name of the aircraft that has been named winning aircraft the most number of times.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "aircraft",
            "that",
            "has",
            "been",
            "named",
            "winning",
            "aircraft",
            "the",
            "most",
            "number",
            "of",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "MATCH",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Winning_Aircraft",
            "GROUP",
            "BY",
            "T2.Winning_Aircraft",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "winning_aircraft",
            "group",
            "by",
            "t2",
            ".",
            "winning_aircraft",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the aircraft that has won an award the most?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "aircraft",
            "that",
            "has",
            "won",
            "an",
            "award",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft ,  COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "MATCH",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Winning_Aircraft",
            "GROUP",
            "BY",
            "T2.Winning_Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "winning_aircraft",
            "group",
            "by",
            "t2",
            ".",
            "winning_aircraft"
        ],
        "question": "List the names of aircrafts and the number of times it won matches.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "aircrafts",
            "and",
            "the",
            "number",
            "of",
            "times",
            "it",
            "won",
            "matches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft ,  COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "MATCH",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Winning_Aircraft",
            "GROUP",
            "BY",
            "T2.Winning_Aircraft"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "winning_aircraft",
            "group",
            "by",
            "t2",
            ".",
            "winning_aircraft"
        ],
        "question": "For each aircraft that has won an award, what is its name and how many time has it won?",
        "question_toks": [
            "For",
            "each",
            "aircraft",
            "that",
            "has",
            "won",
            "an",
            "award",
            ",",
            "what",
            "is",
            "its",
            "name",
            "and",
            "how",
            "many",
            "time",
            "has",
            "it",
            "won",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Name FROM pilot ORDER BY Age DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "pilot",
            "ORDER",
            "BY",
            "Age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "List names of all pilot in descending order of age.",
        "question_toks": [
            "List",
            "names",
            "of",
            "all",
            "pilot",
            "in",
            "descending",
            "order",
            "of",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Name FROM pilot ORDER BY Age DESC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "pilot",
            "ORDER",
            "BY",
            "Age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "What are the names of all pilots listed by descending age?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "pilots",
            "listed",
            "by",
            "descending",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "MATCH",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Winning_Aircraft",
            "GROUP",
            "BY",
            "T2.Winning_Aircraft",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "winning_aircraft",
            "group",
            "by",
            "t2",
            ".",
            "winning_aircraft",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List the names of aircrafts and that won matches at least twice.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "aircrafts",
            "and",
            "that",
            "won",
            "matches",
            "at",
            "least",
            "twice",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "MATCH",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Winning_Aircraft",
            "GROUP",
            "BY",
            "T2.Winning_Aircraft",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "winning_aircraft",
            "group",
            "by",
            "t2",
            ".",
            "winning_aircraft",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of all aircrafts that have won a match at least twice?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "aircrafts",
            "that",
            "have",
            "won",
            "a",
            "match",
            "at",
            "least",
            "twice",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)",
        "query_toks": [
            "SELECT",
            "Aircraft",
            "FROM",
            "aircraft",
            "WHERE",
            "Aircraft_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Winning_Aircraft",
            "FROM",
            "MATCH",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "aircraft",
            "from",
            "aircraft",
            "where",
            "aircraft_id",
            "not",
            "in",
            "(",
            "select",
            "winning_aircraft",
            "from",
            "match",
            ")"
        ],
        "question": "List the names of aircrafts and that did not win any match.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "aircrafts",
            "and",
            "that",
            "did",
            "not",
            "win",
            "any",
            "match",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)",
        "query_toks": [
            "SELECT",
            "Aircraft",
            "FROM",
            "aircraft",
            "WHERE",
            "Aircraft_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Winning_Aircraft",
            "FROM",
            "MATCH",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "aircraft",
            "from",
            "aircraft",
            "where",
            "aircraft_id",
            "not",
            "in",
            "(",
            "select",
            "winning_aircraft",
            "from",
            "match",
            ")"
        ],
        "question": "What are the names of all aicrafts that have never won any match?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "aicrafts",
            "that",
            "have",
            "never",
            "won",
            "any",
            "match",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  \"London Gatwick\"",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T3.Airport_Name",
            "=",
            "``",
            "London",
            "Heathrow",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T3.Airport_Name",
            "=",
            "``",
            "London",
            "Gatwick",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t3",
            ".",
            "airport_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t3",
            ".",
            "airport_name",
            "=",
            "value"
        ],
        "question": "Show the names of aircrafts that are associated with both an airport named \"London Heathrow\" and an airport named \"London Gatwick\"",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "aircrafts",
            "that",
            "are",
            "associated",
            "with",
            "both",
            "an",
            "airport",
            "named",
            "``",
            "London",
            "Heathrow",
            "''",
            "and",
            "an",
            "airport",
            "named",
            "``",
            "London",
            "Gatwick",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"London Heathrow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    27,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"London Gatwick\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  \"London Gatwick\"",
        "query_toks": [
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T3.Airport_Name",
            "=",
            "``",
            "London",
            "Heathrow",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Aircraft",
            "FROM",
            "aircraft",
            "AS",
            "T1",
            "JOIN",
            "airport_aircraft",
            "AS",
            "T2",
            "ON",
            "T1.Aircraft_ID",
            "=",
            "T2.Aircraft_ID",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.Airport_ID",
            "=",
            "T3.Airport_ID",
            "WHERE",
            "T3.Airport_Name",
            "=",
            "``",
            "London",
            "Gatwick",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t3",
            ".",
            "airport_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "aircraft",
            "from",
            "aircraft",
            "as",
            "t1",
            "join",
            "airport_aircraft",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aircraft_id",
            "=",
            "t2",
            ".",
            "aircraft_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "airport_id",
            "where",
            "t3",
            ".",
            "airport_name",
            "=",
            "value"
        ],
        "question": "What are the names of all aircrafts that are associated with both London Heathrow and Gatwick airports?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "aircrafts",
            "that",
            "are",
            "associated",
            "with",
            "both",
            "London",
            "Heathrow",
            "and",
            "Gatwick",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"London Heathrow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    27,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"London Gatwick\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "airport",
            "ORDER",
            "BY",
            "International_Passengers",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "airport",
            "order",
            "by",
            "international_passengers",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show all information on the airport that has the largest number of international passengers.",
        "question_toks": [
            "Show",
            "all",
            "information",
            "on",
            "the",
            "airport",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "international",
            "passengers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "airport",
            "ORDER",
            "BY",
            "International_Passengers",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "airport",
            "order",
            "by",
            "international_passengers",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is all the information on the airport with the largest number of international passengers?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "on",
            "the",
            "airport",
            "with",
            "the",
            "largest",
            "number",
            "of",
            "international",
            "passengers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT t1.name ,  t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id  =  t2.winning_pilot WHERE t1.age  <  30 GROUP BY t2.winning_pilot ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.age",
            "FROM",
            "pilot",
            "AS",
            "t1",
            "JOIN",
            "MATCH",
            "AS",
            "t2",
            "ON",
            "t1.pilot_id",
            "=",
            "t2.winning_pilot",
            "WHERE",
            "t1.age",
            "<",
            "30",
            "GROUP",
            "BY",
            "t2.winning_pilot",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "pilot",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t2",
            ".",
            "winning_pilot",
            "where",
            "t1",
            ".",
            "age",
            "<",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "winning_pilot",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30.",
        "question_toks": [
            "find",
            "the",
            "name",
            "and",
            "age",
            "of",
            "the",
            "pilot",
            "who",
            "has",
            "won",
            "the",
            "most",
            "number",
            "of",
            "times",
            "among",
            "the",
            "pilots",
            "who",
            "are",
            "younger",
            "than",
            "30",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT t1.name ,  t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id  =  t2.winning_pilot WHERE t1.age  <  30 GROUP BY t2.winning_pilot ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.age",
            "FROM",
            "pilot",
            "AS",
            "t1",
            "JOIN",
            "MATCH",
            "AS",
            "t2",
            "ON",
            "t1.pilot_id",
            "=",
            "t2.winning_pilot",
            "WHERE",
            "t1.age",
            "<",
            "30",
            "GROUP",
            "BY",
            "t2.winning_pilot",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "pilot",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t2",
            ".",
            "winning_pilot",
            "where",
            "t1",
            ".",
            "age",
            "<",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "winning_pilot",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and age of the pilot younger than 30 who has won the most number of times?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "age",
            "of",
            "the",
            "pilot",
            "younger",
            "than",
            "30",
            "who",
            "has",
            "won",
            "the",
            "most",
            "number",
            "of",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT t1.name ,  t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id  =  t2.winning_pilot ORDER BY t1.age LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.age",
            "FROM",
            "pilot",
            "AS",
            "t1",
            "JOIN",
            "MATCH",
            "AS",
            "t2",
            "ON",
            "t1.pilot_id",
            "=",
            "t2.winning_pilot",
            "ORDER",
            "BY",
            "t1.age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "pilot",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t2",
            ".",
            "winning_pilot",
            "order",
            "by",
            "t1",
            ".",
            "age",
            "limit",
            "value"
        ],
        "question": "what is the name and age of the youngest winning pilot?",
        "question_toks": [
            "what",
            "is",
            "the",
            "name",
            "and",
            "age",
            "of",
            "the",
            "youngest",
            "winning",
            "pilot",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT t1.name ,  t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id  =  t2.winning_pilot ORDER BY t1.age LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.age",
            "FROM",
            "pilot",
            "AS",
            "t1",
            "JOIN",
            "MATCH",
            "AS",
            "t2",
            "ON",
            "t1.pilot_id",
            "=",
            "t2.winning_pilot",
            "ORDER",
            "BY",
            "t1.age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "pilot",
            "as",
            "t1",
            "join",
            "match",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pilot_id",
            "=",
            "t2",
            ".",
            "winning_pilot",
            "order",
            "by",
            "t1",
            ".",
            "age",
            "limit",
            "value"
        ],
        "question": "How old is the youngest winning pilot and what is their name?",
        "question_toks": [
            "How",
            "old",
            "is",
            "the",
            "youngest",
            "winning",
            "pilot",
            "and",
            "what",
            "is",
            "their",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT name FROM pilot WHERE pilot_id NOT IN (SELECT Winning_Pilot  FROM MATCH WHERE country  =  'Australia')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "pilot",
            "WHERE",
            "pilot_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Winning_Pilot",
            "FROM",
            "MATCH",
            "WHERE",
            "country",
            "=",
            "'Australia",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "where",
            "pilot_id",
            "not",
            "in",
            "(",
            "select",
            "winning_pilot",
            "from",
            "match",
            "where",
            "country",
            "=",
            "value",
            ")"
        ],
        "question": "find the name of pilots who did not win the matches held in the country of Australia.",
        "question_toks": [
            "find",
            "the",
            "name",
            "of",
            "pilots",
            "who",
            "did",
            "not",
            "win",
            "the",
            "matches",
            "held",
            "in",
            "the",
            "country",
            "of",
            "Australia",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"Australia\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "aircraft",
        "query": "SELECT name FROM pilot WHERE pilot_id NOT IN (SELECT Winning_Pilot  FROM MATCH WHERE country  =  'Australia')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "pilot",
            "WHERE",
            "pilot_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Winning_Pilot",
            "FROM",
            "MATCH",
            "WHERE",
            "country",
            "=",
            "'Australia",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "pilot",
            "where",
            "pilot_id",
            "not",
            "in",
            "(",
            "select",
            "winning_pilot",
            "from",
            "match",
            "where",
            "country",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of the pilots that have not won any matches in Australia?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "pilots",
            "that",
            "have",
            "not",
            "won",
            "any",
            "matches",
            "in",
            "Australia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"Australia\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT T1.property_id ,  count(*) FROM properties AS T1 JOIN residents AS T2 ON T1.property_id  =  T2.property_id GROUP BY T1.property_id",
        "query_toks": [
            "SELECT",
            "T1.property_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "properties",
            "AS",
            "T1",
            "JOIN",
            "residents",
            "AS",
            "T2",
            "ON",
            "T1.property_id",
            "=",
            "T2.property_id",
            "GROUP",
            "BY",
            "T1.property_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "property_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "properties",
            "as",
            "t1",
            "join",
            "residents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "property_id",
            "=",
            "t2",
            ".",
            "property_id",
            "group",
            "by",
            "t1",
            ".",
            "property_id"
        ],
        "question": "How many residents does each property have? List property id and resident count.",
        "question_toks": [
            "How",
            "many",
            "residents",
            "does",
            "each",
            "property",
            "have",
            "?",
            "List",
            "property",
            "id",
            "and",
            "resident",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT DISTINCT T1.service_type_code FROM services AS T1 JOIN organizations AS T2 ON T1.organization_id  =  T2.organization_id WHERE T2.organization_details  =  'Denesik and Sons Party'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.service_type_code",
            "FROM",
            "services",
            "AS",
            "T1",
            "JOIN",
            "organizations",
            "AS",
            "T2",
            "ON",
            "T1.organization_id",
            "=",
            "T2.organization_id",
            "WHERE",
            "T2.organization_details",
            "=",
            "'Denesik",
            "and",
            "Sons",
            "Party",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "service_type_code",
            "from",
            "services",
            "as",
            "t1",
            "join",
            "organizations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organization_id",
            "=",
            "t2",
            ".",
            "organization_id",
            "where",
            "t2",
            ".",
            "organization_details",
            "=",
            "value"
        ],
        "question": "What is the distinct service types that are provided by the organization which has detail 'Denesik and Sons Party'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "distinct",
            "service",
            "types",
            "that",
            "are",
            "provided",
            "by",
            "the",
            "organization",
            "which",
            "has",
            "detail",
            "'Denesik",
            "and",
            "Sons",
            "Party",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Denesik and Sons Party\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT T1.resident_id ,  T1.other_details ,  count(*) FROM Residents AS T1 JOIN Residents_Services AS T2 ON T1.resident_id  =  T2.resident_id GROUP BY T1.resident_id ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "T1.resident_id",
            ",",
            "T1.other_details",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Residents",
            "AS",
            "T1",
            "JOIN",
            "Residents_Services",
            "AS",
            "T2",
            "ON",
            "T1.resident_id",
            "=",
            "T2.resident_id",
            "GROUP",
            "BY",
            "T1.resident_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "resident_id",
            ",",
            "t1",
            ".",
            "other_details",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "residents",
            "as",
            "t1",
            "join",
            "residents_services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "resident_id",
            "=",
            "t2",
            ".",
            "resident_id",
            "group",
            "by",
            "t1",
            ".",
            "resident_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "How many services has each resident requested? List the resident id, details, and the count in descending order of the count.",
        "question_toks": [
            "How",
            "many",
            "services",
            "has",
            "each",
            "resident",
            "requested",
            "?",
            "List",
            "the",
            "resident",
            "id",
            ",",
            "details",
            ",",
            "and",
            "the",
            "count",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT T1.service_id ,  T1.service_details ,  count(*) FROM Services AS T1 JOIN Residents_Services AS T2 ON T1.service_id  =  T2.service_id GROUP BY T1.service_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.service_id",
            ",",
            "T1.service_details",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Services",
            "AS",
            "T1",
            "JOIN",
            "Residents_Services",
            "AS",
            "T2",
            "ON",
            "T1.service_id",
            "=",
            "T2.service_id",
            "GROUP",
            "BY",
            "T1.service_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_id",
            ",",
            "t1",
            ".",
            "service_details",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "services",
            "as",
            "t1",
            "join",
            "residents_services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_id",
            "=",
            "t2",
            ".",
            "service_id",
            "group",
            "by",
            "t1",
            ".",
            "service_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the maximum number that a certain service is provided? List the service id, details and number.",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "number",
            "that",
            "a",
            "certain",
            "service",
            "is",
            "provided",
            "?",
            "List",
            "the",
            "service",
            "id",
            ",",
            "details",
            "and",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT T1.thing_id ,  T1.type_of_Thing_Code ,  T2.organization_details FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id  =  T2.organization_id",
        "query_toks": [
            "SELECT",
            "T1.thing_id",
            ",",
            "T1.type_of_Thing_Code",
            ",",
            "T2.organization_details",
            "FROM",
            "Things",
            "AS",
            "T1",
            "JOIN",
            "Organizations",
            "AS",
            "T2",
            "ON",
            "T1.organization_id",
            "=",
            "T2.organization_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "thing_id",
            ",",
            "t1",
            ".",
            "type_of_thing_code",
            ",",
            "t2",
            ".",
            "organization_details",
            "from",
            "things",
            "as",
            "t1",
            "join",
            "organizations",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organization_id",
            "=",
            "t2",
            ".",
            "organization_id"
        ],
        "question": "List the id and type of each thing, and the details of the organization that owns it.",
        "question_toks": [
            "List",
            "the",
            "id",
            "and",
            "type",
            "of",
            "each",
            "thing",
            ",",
            "and",
            "the",
            "details",
            "of",
            "the",
            "organization",
            "that",
            "owns",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT T1.customer_id ,  T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            ",",
            "T1.customer_details",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Events",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            ",",
            "t1",
            ".",
            "customer_details",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the id and details of the customers who have at least 3 events?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "and",
            "details",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "at",
            "least",
            "3",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT T2.date_moved_in ,  T1.customer_id ,  T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id  =  T2.customer_id",
        "query_toks": [
            "SELECT",
            "T2.date_moved_in",
            ",",
            "T1.customer_id",
            ",",
            "T1.customer_details",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Customer_Events",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_moved_in",
            ",",
            "t1",
            ".",
            "customer_id",
            ",",
            "t1",
            ".",
            "customer_details",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_events",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "What is each customer's move in date, and the corresponding customer id and details?",
        "question_toks": [
            "What",
            "is",
            "each",
            "customer",
            "'s",
            "move",
            "in",
            "date",
            ",",
            "and",
            "the",
            "corresponding",
            "customer",
            "id",
            "and",
            "details",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT T1.Customer_Event_ID  ,  T1.property_id FROM Customer_Events AS T1 JOIN Customer_Event_Notes AS T2 ON T1.Customer_Event_ID  =  T2.Customer_Event_ID GROUP BY T1.customer_event_id HAVING count(*) BETWEEN 1 AND 3",
        "query_toks": [
            "SELECT",
            "T1.Customer_Event_ID",
            ",",
            "T1.property_id",
            "FROM",
            "Customer_Events",
            "AS",
            "T1",
            "JOIN",
            "Customer_Event_Notes",
            "AS",
            "T2",
            "ON",
            "T1.Customer_Event_ID",
            "=",
            "T2.Customer_Event_ID",
            "GROUP",
            "BY",
            "T1.customer_event_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "BETWEEN",
            "1",
            "AND",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_event_id",
            ",",
            "t1",
            ".",
            "property_id",
            "from",
            "customer_events",
            "as",
            "t1",
            "join",
            "customer_event_notes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_event_id",
            "=",
            "t2",
            ".",
            "customer_event_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_event_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Which events have the number of notes between one and three? List the event id and the property id.",
        "question_toks": [
            "Which",
            "events",
            "have",
            "the",
            "number",
            "of",
            "notes",
            "between",
            "one",
            "and",
            "three",
            "?",
            "List",
            "the",
            "event",
            "id",
            "and",
            "the",
            "property",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    3.0
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT DISTINCT T2.thing_id ,  T2.Type_of_Thing_Code FROM Timed_Status_of_Things AS T1 JOIN Things AS T2 ON T1.thing_id  =  T2.thing_id WHERE T1.Status_of_Thing_Code  =  'Close' OR T1.Date_and_Date  <  '2017-06-19 02:59:21'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.thing_id",
            ",",
            "T2.Type_of_Thing_Code",
            "FROM",
            "Timed_Status_of_Things",
            "AS",
            "T1",
            "JOIN",
            "Things",
            "AS",
            "T2",
            "ON",
            "T1.thing_id",
            "=",
            "T2.thing_id",
            "WHERE",
            "T1.Status_of_Thing_Code",
            "=",
            "'Close",
            "'",
            "OR",
            "T1.Date_and_Date",
            "<",
            "'2017-06-19",
            "02:59:21",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "thing_id",
            ",",
            "t2",
            ".",
            "type_of_thing_code",
            "from",
            "timed_status_of_things",
            "as",
            "t1",
            "join",
            "things",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "thing_id",
            "=",
            "t2",
            ".",
            "thing_id",
            "where",
            "t1",
            ".",
            "status_of_thing_code",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "date_and_date",
            "<",
            "value"
        ],
        "question": "What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21'",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "id",
            "and",
            "type",
            "of",
            "the",
            "thing",
            "that",
            "has",
            "the",
            "status",
            "'Close",
            "'",
            "or",
            "has",
            "a",
            "status",
            "record",
            "before",
            "the",
            "date",
            "'2017-06-19",
            "02:59:21",
            "'"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            45,
                            false
                        ],
                        null
                    ],
                    "\"Close\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    "\"2017-06-19 02:59:21\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT count(DISTINCT T2.Location_Code) FROM Things AS T1 JOIN Timed_Locations_of_Things AS T2 ON T1.thing_id  =  T2.thing_id WHERE T1.service_details  =  'Unsatisfied'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T2.Location_Code",
            ")",
            "FROM",
            "Things",
            "AS",
            "T1",
            "JOIN",
            "Timed_Locations_of_Things",
            "AS",
            "T2",
            "ON",
            "T1.thing_id",
            "=",
            "T2.thing_id",
            "WHERE",
            "T1.service_details",
            "=",
            "'Unsatisfied",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "location_code",
            ")",
            "from",
            "things",
            "as",
            "t1",
            "join",
            "timed_locations_of_things",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "thing_id",
            "=",
            "t2",
            ".",
            "thing_id",
            "where",
            "t1",
            ".",
            "service_details",
            "=",
            "value"
        ],
        "question": "How many distinct locations have the things with service detail 'Unsatisfied' been located in?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "locations",
            "have",
            "the",
            "things",
            "with",
            "service",
            "detail",
            "'Unsatisfied",
            "'",
            "been",
            "located",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            46,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                48,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"Unsatisfied\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT count(DISTINCT Status_of_Thing_Code) FROM Timed_Status_of_Things",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Status_of_Thing_Code",
            ")",
            "FROM",
            "Timed_Status_of_Things"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "status_of_thing_code",
            ")",
            "from",
            "timed_status_of_things"
        ],
        "question": "How many different status codes of things are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "status",
            "codes",
            "of",
            "things",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                45,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT organization_id FROM organizations EXCEPT SELECT parent_organization_id FROM organizations",
        "query_toks": [
            "SELECT",
            "organization_id",
            "FROM",
            "organizations",
            "EXCEPT",
            "SELECT",
            "parent_organization_id",
            "FROM",
            "organizations"
        ],
        "query_toks_no_value": [
            "select",
            "organization_id",
            "from",
            "organizations",
            "except",
            "select",
            "parent_organization_id",
            "from",
            "organizations"
        ],
        "question": "Which organizations are not a parent organization of others? List the organization id.",
        "question_toks": [
            "Which",
            "organizations",
            "are",
            "not",
            "a",
            "parent",
            "organization",
            "of",
            "others",
            "?",
            "List",
            "the",
            "organization",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT max(date_moved_in) FROM Residents",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "date_moved_in",
            ")",
            "FROM",
            "Residents"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "date_moved_in",
            ")",
            "from",
            "residents"
        ],
        "question": "When is the last day any resident moved in?",
        "question_toks": [
            "When",
            "is",
            "the",
            "last",
            "day",
            "any",
            "resident",
            "moved",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT other_details FROM Residents WHERE other_details LIKE '%Miss%'",
        "query_toks": [
            "SELECT",
            "other_details",
            "FROM",
            "Residents",
            "WHERE",
            "other_details",
            "LIKE",
            "'",
            "%",
            "Miss",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "other_details",
            "from",
            "residents",
            "where",
            "other_details",
            "like",
            "value"
        ],
        "question": "What are the resident details containing the substring 'Miss'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "resident",
            "details",
            "containing",
            "the",
            "substring",
            "'Miss",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"%Miss%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT customer_event_id ,  date_moved_in ,  property_id FROM customer_events",
        "query_toks": [
            "SELECT",
            "customer_event_id",
            ",",
            "date_moved_in",
            ",",
            "property_id",
            "FROM",
            "customer_events"
        ],
        "query_toks_no_value": [
            "select",
            "customer_event_id",
            ",",
            "date_moved_in",
            ",",
            "property_id",
            "from",
            "customer_events"
        ],
        "question": "List the customer event id and the corresponding move in date and property id.",
        "question_toks": [
            "List",
            "the",
            "customer",
            "event",
            "id",
            "and",
            "the",
            "corresponding",
            "move",
            "in",
            "date",
            "and",
            "property",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT count(*) FROM customers WHERE customer_id NOT IN ( SELECT customer_id FROM customer_events )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "customer_events",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "customer_events",
            ")"
        ],
        "question": "How many customers did not have any event?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "did",
            "not",
            "have",
            "any",
            "event",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    7
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            32,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "local_govt_and_lot",
        "query": "SELECT DISTINCT date_moved_in FROM residents",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "date_moved_in",
            "FROM",
            "residents"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "date_moved_in",
            "from",
            "residents"
        ],
        "question": "What are the distinct move in dates of the residents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "move",
            "in",
            "dates",
            "of",
            "the",
            "residents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT count(*) FROM school",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school"
        ],
        "question": "How many schools are there?",
        "question_toks": [
            "How",
            "many",
            "schools",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT count(*) FROM school",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school"
        ],
        "question": "Count the number of schools.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT LOCATION FROM school ORDER BY Enrollment ASC",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "school",
            "ORDER",
            "BY",
            "Enrollment",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "school",
            "order",
            "by",
            "enrollment",
            "asc"
        ],
        "question": "List the locations of schools in ascending order of enrollment.",
        "question_toks": [
            "List",
            "the",
            "locations",
            "of",
            "schools",
            "in",
            "ascending",
            "order",
            "of",
            "enrollment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT LOCATION FROM school ORDER BY Enrollment ASC",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "school",
            "ORDER",
            "BY",
            "Enrollment",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "school",
            "order",
            "by",
            "enrollment",
            "asc"
        ],
        "question": "What is the list of school locations sorted in ascending order of school enrollment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "list",
            "of",
            "school",
            "locations",
            "sorted",
            "in",
            "ascending",
            "order",
            "of",
            "school",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT LOCATION FROM school ORDER BY Founded DESC",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "school",
            "ORDER",
            "BY",
            "Founded",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "school",
            "order",
            "by",
            "founded",
            "desc"
        ],
        "question": "List the locations of schools in descending order of founded year.",
        "question_toks": [
            "List",
            "the",
            "locations",
            "of",
            "schools",
            "in",
            "descending",
            "order",
            "of",
            "founded",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT LOCATION FROM school ORDER BY Founded DESC",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "school",
            "ORDER",
            "BY",
            "Founded",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "school",
            "order",
            "by",
            "founded",
            "desc"
        ],
        "question": "What is the list of school locations sorted in descending order of school foundation year?",
        "question_toks": [
            "What",
            "is",
            "the",
            "list",
            "of",
            "school",
            "locations",
            "sorted",
            "in",
            "descending",
            "order",
            "of",
            "school",
            "foundation",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Enrollment FROM school WHERE Denomination != \"Catholic\"",
        "query_toks": [
            "SELECT",
            "Enrollment",
            "FROM",
            "school",
            "WHERE",
            "Denomination",
            "!",
            "=",
            "``",
            "Catholic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "enrollment",
            "from",
            "school",
            "where",
            "denomination",
            "!",
            "=",
            "value"
        ],
        "question": "What are the enrollments of schools whose denomination is not \"Catholic\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "enrollments",
            "of",
            "schools",
            "whose",
            "denomination",
            "is",
            "not",
            "``",
            "Catholic",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Catholic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Enrollment FROM school WHERE Denomination != \"Catholic\"",
        "query_toks": [
            "SELECT",
            "Enrollment",
            "FROM",
            "school",
            "WHERE",
            "Denomination",
            "!",
            "=",
            "``",
            "Catholic",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "enrollment",
            "from",
            "school",
            "where",
            "denomination",
            "!",
            "=",
            "value"
        ],
        "question": "List the enrollment for each school that does not have \"Catholic\" as denomination.",
        "question_toks": [
            "List",
            "the",
            "enrollment",
            "for",
            "each",
            "school",
            "that",
            "does",
            "not",
            "have",
            "``",
            "Catholic",
            "''",
            "as",
            "denomination",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Catholic\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT avg(Enrollment) FROM school",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Enrollment",
            ")",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enrollment",
            ")",
            "from",
            "school"
        ],
        "question": "What is the average enrollment of schools?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "enrollment",
            "of",
            "schools",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT avg(Enrollment) FROM school",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Enrollment",
            ")",
            "FROM",
            "school"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enrollment",
            ")",
            "from",
            "school"
        ],
        "question": "Take the average of the school enrollment.",
        "question_toks": [
            "Take",
            "the",
            "average",
            "of",
            "the",
            "school",
            "enrollment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Team FROM player ORDER BY Team ASC",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "player",
            "ORDER",
            "BY",
            "Team",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "player",
            "order",
            "by",
            "team",
            "asc"
        ],
        "question": "What are the teams of the players, sorted in ascending alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "teams",
            "of",
            "the",
            "players",
            ",",
            "sorted",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Team FROM player ORDER BY Team ASC",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "player",
            "ORDER",
            "BY",
            "Team",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "player",
            "order",
            "by",
            "team",
            "asc"
        ],
        "question": "Find the team of each player and sort them in ascending alphabetical order.",
        "question_toks": [
            "Find",
            "the",
            "team",
            "of",
            "each",
            "player",
            "and",
            "sort",
            "them",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT count(DISTINCT POSITION) FROM player",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "POSITION",
            ")",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "position",
            ")",
            "from",
            "player"
        ],
        "question": "How many different positions of players are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "positions",
            "of",
            "players",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                25,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT count(DISTINCT POSITION) FROM player",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "POSITION",
            ")",
            "FROM",
            "player"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "position",
            ")",
            "from",
            "player"
        ],
        "question": "Count the number of distinct player positions.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "player",
            "positions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                25,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Team FROM player ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "player",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "player",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the team of the player of the highest age.",
        "question_toks": [
            "Find",
            "the",
            "team",
            "of",
            "the",
            "player",
            "of",
            "the",
            "highest",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Team FROM player ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "player",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "player",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which team has the oldest player?",
        "question_toks": [
            "Which",
            "team",
            "has",
            "the",
            "oldest",
            "player",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Team FROM player ORDER BY Age DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "player",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "player",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the teams of the players with the top 5 largest ages.",
        "question_toks": [
            "List",
            "the",
            "teams",
            "of",
            "the",
            "players",
            "with",
            "the",
            "top",
            "5",
            "largest",
            "ages",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Team FROM player ORDER BY Age DESC LIMIT 5",
        "query_toks": [
            "SELECT",
            "Team",
            "FROM",
            "player",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "team",
            "from",
            "player",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the teams that have the 5 oldest players?",
        "question_toks": [
            "What",
            "are",
            "the",
            "teams",
            "that",
            "have",
            "the",
            "5",
            "oldest",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT T1.Team ,  T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID",
        "query_toks": [
            "SELECT",
            "T1.Team",
            ",",
            "T2.Location",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.School_ID",
            "=",
            "T2.School_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "team",
            ",",
            "t2",
            ".",
            "location",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id"
        ],
        "question": "For each player, show the team and the location of school they belong to.",
        "question_toks": [
            "For",
            "each",
            "player",
            ",",
            "show",
            "the",
            "team",
            "and",
            "the",
            "location",
            "of",
            "school",
            "they",
            "belong",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT T1.Team ,  T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID",
        "query_toks": [
            "SELECT",
            "T1.Team",
            ",",
            "T2.Location",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.School_ID",
            "=",
            "T2.School_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "team",
            ",",
            "t2",
            ".",
            "location",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id"
        ],
        "question": "What are the team and the location of school each player belongs to?",
        "question_toks": [
            "What",
            "are",
            "the",
            "team",
            "and",
            "the",
            "location",
            "of",
            "school",
            "each",
            "player",
            "belongs",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Location",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.School_ID",
            "=",
            "T2.School_ID",
            "GROUP",
            "BY",
            "T1.School_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "location",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "group",
            "by",
            "t1",
            ".",
            "school_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the locations of schools that have more than 1 player.",
        "question_toks": [
            "Show",
            "the",
            "locations",
            "of",
            "schools",
            "that",
            "have",
            "more",
            "than",
            "1",
            "player",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Location",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.School_ID",
            "=",
            "T2.School_ID",
            "GROUP",
            "BY",
            "T1.School_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "location",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "group",
            "by",
            "t1",
            ".",
            "school_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which schools have more than 1 player? Give me the school locations.",
        "question_toks": [
            "Which",
            "schools",
            "have",
            "more",
            "than",
            "1",
            "player",
            "?",
            "Give",
            "me",
            "the",
            "school",
            "locations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT T2.Denomination FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID GROUP BY T1.School_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Denomination",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.School_ID",
            "=",
            "T2.School_ID",
            "GROUP",
            "BY",
            "T1.School_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "denomination",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "group",
            "by",
            "t1",
            ".",
            "school_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the denomination of the school that has the most players.",
        "question_toks": [
            "Show",
            "the",
            "denomination",
            "of",
            "the",
            "school",
            "that",
            "has",
            "the",
            "most",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT T2.Denomination FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID GROUP BY T1.School_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Denomination",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.School_ID",
            "=",
            "T2.School_ID",
            "GROUP",
            "BY",
            "T1.School_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "denomination",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "group",
            "by",
            "t1",
            ".",
            "school_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the denomination of the school the most players belong to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "denomination",
            "of",
            "the",
            "school",
            "the",
            "most",
            "players",
            "belong",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT T1.Location ,  T2.Nickname FROM school AS T1 JOIN school_details AS T2 ON T1.School_ID  =  T2.School_ID",
        "query_toks": [
            "SELECT",
            "T1.Location",
            ",",
            "T2.Nickname",
            "FROM",
            "school",
            "AS",
            "T1",
            "JOIN",
            "school_details",
            "AS",
            "T2",
            "ON",
            "T1.School_ID",
            "=",
            "T2.School_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "location",
            ",",
            "t2",
            ".",
            "nickname",
            "from",
            "school",
            "as",
            "t1",
            "join",
            "school_details",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id"
        ],
        "question": "Show locations and nicknames of schools.",
        "question_toks": [
            "Show",
            "locations",
            "and",
            "nicknames",
            "of",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT T1.Location ,  T2.Nickname FROM school AS T1 JOIN school_details AS T2 ON T1.School_ID  =  T2.School_ID",
        "query_toks": [
            "SELECT",
            "T1.Location",
            ",",
            "T2.Nickname",
            "FROM",
            "school",
            "AS",
            "T1",
            "JOIN",
            "school_details",
            "AS",
            "T2",
            "ON",
            "T1.School_ID",
            "=",
            "T2.School_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "location",
            ",",
            "t2",
            ".",
            "nickname",
            "from",
            "school",
            "as",
            "t1",
            "join",
            "school_details",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id"
        ],
        "question": "What are the location and nickname of each school?",
        "question_toks": [
            "What",
            "are",
            "the",
            "location",
            "and",
            "nickname",
            "of",
            "each",
            "school",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Denomination ,  COUNT(*) FROM school GROUP BY Denomination",
        "query_toks": [
            "SELECT",
            "Denomination",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "school",
            "GROUP",
            "BY",
            "Denomination"
        ],
        "query_toks_no_value": [
            "select",
            "denomination",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school",
            "group",
            "by",
            "denomination"
        ],
        "question": "Please show different denominations and the corresponding number of schools.",
        "question_toks": [
            "Please",
            "show",
            "different",
            "denominations",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Denomination ,  COUNT(*) FROM school GROUP BY Denomination",
        "query_toks": [
            "SELECT",
            "Denomination",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "school",
            "GROUP",
            "BY",
            "Denomination"
        ],
        "query_toks_no_value": [
            "select",
            "denomination",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school",
            "group",
            "by",
            "denomination"
        ],
        "question": "For each denomination, return the denomination and the count of schools with that denomination.",
        "question_toks": [
            "For",
            "each",
            "denomination",
            ",",
            "return",
            "the",
            "denomination",
            "and",
            "the",
            "count",
            "of",
            "schools",
            "with",
            "that",
            "denomination",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Denomination ,  COUNT(*) FROM school GROUP BY Denomination ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "Denomination",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "school",
            "GROUP",
            "BY",
            "Denomination",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "denomination",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school",
            "group",
            "by",
            "denomination",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Please show different denominations and the corresponding number of schools in descending order.",
        "question_toks": [
            "Please",
            "show",
            "different",
            "denominations",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "schools",
            "in",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Denomination ,  COUNT(*) FROM school GROUP BY Denomination ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "Denomination",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "school",
            "GROUP",
            "BY",
            "Denomination",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "denomination",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school",
            "group",
            "by",
            "denomination",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Order denominations in descending order of the count of schools with the denomination. Return each denomination with the count of schools.",
        "question_toks": [
            "Order",
            "denominations",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "count",
            "of",
            "schools",
            "with",
            "the",
            "denomination",
            ".",
            "Return",
            "each",
            "denomination",
            "with",
            "the",
            "count",
            "of",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT School_Colors FROM school ORDER BY Enrollment DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "School_Colors",
            "FROM",
            "school",
            "ORDER",
            "BY",
            "Enrollment",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "school_colors",
            "from",
            "school",
            "order",
            "by",
            "enrollment",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the school color of the school that has the largest enrollment.",
        "question_toks": [
            "List",
            "the",
            "school",
            "color",
            "of",
            "the",
            "school",
            "that",
            "has",
            "the",
            "largest",
            "enrollment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT School_Colors FROM school ORDER BY Enrollment DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "School_Colors",
            "FROM",
            "school",
            "ORDER",
            "BY",
            "Enrollment",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "school_colors",
            "from",
            "school",
            "order",
            "by",
            "enrollment",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the school color of the school with the largest enrollment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "school",
            "color",
            "of",
            "the",
            "school",
            "with",
            "the",
            "largest",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT LOCATION FROM school WHERE School_ID NOT IN (SELECT School_ID FROM Player)",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "school",
            "WHERE",
            "School_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "School_ID",
            "FROM",
            "Player",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "school",
            "where",
            "school_id",
            "not",
            "in",
            "(",
            "select",
            "school_id",
            "from",
            "player",
            ")"
        ],
        "question": "List the locations of schools that do not have any player.",
        "question_toks": [
            "List",
            "the",
            "locations",
            "of",
            "schools",
            "that",
            "do",
            "not",
            "have",
            "any",
            "player",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT LOCATION FROM school WHERE School_ID NOT IN (SELECT School_ID FROM Player)",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "school",
            "WHERE",
            "School_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "School_ID",
            "FROM",
            "Player",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "school",
            "where",
            "school_id",
            "not",
            "in",
            "(",
            "select",
            "school_id",
            "from",
            "player",
            ")"
        ],
        "question": "Which schools do not have any player? Give me the school locations.",
        "question_toks": [
            "Which",
            "schools",
            "do",
            "not",
            "have",
            "any",
            "player",
            "?",
            "Give",
            "me",
            "the",
            "school",
            "locations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Denomination FROM school WHERE Founded  <  1890 INTERSECT SELECT Denomination FROM school WHERE Founded  >  1900",
        "query_toks": [
            "SELECT",
            "Denomination",
            "FROM",
            "school",
            "WHERE",
            "Founded",
            "<",
            "1890",
            "INTERSECT",
            "SELECT",
            "Denomination",
            "FROM",
            "school",
            "WHERE",
            "Founded",
            ">",
            "1900"
        ],
        "query_toks_no_value": [
            "select",
            "denomination",
            "from",
            "school",
            "where",
            "founded",
            "<",
            "value",
            "intersect",
            "select",
            "denomination",
            "from",
            "school",
            "where",
            "founded",
            ">",
            "value"
        ],
        "question": "Show the denomination shared by schools founded before 1890 and schools founded after 1900",
        "question_toks": [
            "Show",
            "the",
            "denomination",
            "shared",
            "by",
            "schools",
            "founded",
            "before",
            "1890",
            "and",
            "schools",
            "founded",
            "after",
            "1900"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1890.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        1900.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Denomination FROM school WHERE Founded  <  1890 INTERSECT SELECT Denomination FROM school WHERE Founded  >  1900",
        "query_toks": [
            "SELECT",
            "Denomination",
            "FROM",
            "school",
            "WHERE",
            "Founded",
            "<",
            "1890",
            "INTERSECT",
            "SELECT",
            "Denomination",
            "FROM",
            "school",
            "WHERE",
            "Founded",
            ">",
            "1900"
        ],
        "query_toks_no_value": [
            "select",
            "denomination",
            "from",
            "school",
            "where",
            "founded",
            "<",
            "value",
            "intersect",
            "select",
            "denomination",
            "from",
            "school",
            "where",
            "founded",
            ">",
            "value"
        ],
        "question": "What are the denominations used by both schools founded before 1890 and schools founded  after 1900?",
        "question_toks": [
            "What",
            "are",
            "the",
            "denominations",
            "used",
            "by",
            "both",
            "schools",
            "founded",
            "before",
            "1890",
            "and",
            "schools",
            "founded",
            "after",
            "1900",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1890.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        1900.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Nickname FROM school_details WHERE Division != \"Division 1\"",
        "query_toks": [
            "SELECT",
            "Nickname",
            "FROM",
            "school_details",
            "WHERE",
            "Division",
            "!",
            "=",
            "``",
            "Division",
            "1",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "nickname",
            "from",
            "school_details",
            "where",
            "division",
            "!",
            "=",
            "value"
        ],
        "question": "Show the nicknames of schools that are not in division 1.",
        "question_toks": [
            "Show",
            "the",
            "nicknames",
            "of",
            "schools",
            "that",
            "are",
            "not",
            "in",
            "division",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Division 1\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Nickname FROM school_details WHERE Division != \"Division 1\"",
        "query_toks": [
            "SELECT",
            "Nickname",
            "FROM",
            "school_details",
            "WHERE",
            "Division",
            "!",
            "=",
            "``",
            "Division",
            "1",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "nickname",
            "from",
            "school_details",
            "where",
            "division",
            "!",
            "=",
            "value"
        ],
        "question": "What are the nicknames of schools whose division is not 1?",
        "question_toks": [
            "What",
            "are",
            "the",
            "nicknames",
            "of",
            "schools",
            "whose",
            "division",
            "is",
            "not",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Division 1\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Denomination FROM school GROUP BY Denomination HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "Denomination",
            "FROM",
            "school",
            "GROUP",
            "BY",
            "Denomination",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "denomination",
            "from",
            "school",
            "group",
            "by",
            "denomination",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the denomination shared by more than one school.",
        "question_toks": [
            "Show",
            "the",
            "denomination",
            "shared",
            "by",
            "more",
            "than",
            "one",
            "school",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_player",
        "query": "SELECT Denomination FROM school GROUP BY Denomination HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "Denomination",
            "FROM",
            "school",
            "GROUP",
            "BY",
            "Denomination",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "denomination",
            "from",
            "school",
            "group",
            "by",
            "denomination",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the denomination more than one school have?",
        "question_toks": [
            "What",
            "are",
            "the",
            "denomination",
            "more",
            "than",
            "one",
            "school",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT DISTINCT District_name FROM district ORDER BY city_area DESC",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "District_name",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_area",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "district_name",
            "from",
            "district",
            "order",
            "by",
            "city_area",
            "desc"
        ],
        "question": "Find all the distinct district names ordered by city area in descending.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "distinct",
            "district",
            "names",
            "ordered",
            "by",
            "city",
            "area",
            "in",
            "descending",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT DISTINCT District_name FROM district ORDER BY city_area DESC",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "District_name",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_area",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "district_name",
            "from",
            "district",
            "order",
            "by",
            "city_area",
            "desc"
        ],
        "question": "What are the different district names in order of descending city area?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "district",
            "names",
            "in",
            "order",
            "of",
            "descending",
            "city",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT max_page_size FROM product GROUP BY max_page_size HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "max_page_size",
            "FROM",
            "product",
            "GROUP",
            "BY",
            "max_page_size",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "max_page_size",
            "from",
            "product",
            "group",
            "by",
            "max_page_size",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the list of page size which have more than 3 product listed",
        "question_toks": [
            "Find",
            "the",
            "list",
            "of",
            "page",
            "size",
            "which",
            "have",
            "more",
            "than",
            "3",
            "product",
            "listed"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT max_page_size FROM product GROUP BY max_page_size HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "max_page_size",
            "FROM",
            "product",
            "GROUP",
            "BY",
            "max_page_size",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "max_page_size",
            "from",
            "product",
            "group",
            "by",
            "max_page_size",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What is the maximum page size for everything that has more than 3 products listed?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "page",
            "size",
            "for",
            "everything",
            "that",
            "has",
            "more",
            "than",
            "3",
            "products",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT District_name ,  City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000",
        "query_toks": [
            "SELECT",
            "District_name",
            ",",
            "City_Population",
            "FROM",
            "district",
            "WHERE",
            "City_Population",
            "BETWEEN",
            "200000",
            "AND",
            "2000000"
        ],
        "query_toks_no_value": [
            "select",
            "district_name",
            ",",
            "city_population",
            "from",
            "district",
            "where",
            "city_population",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the name and population of district with population between 200000 and 2000000",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "population",
            "of",
            "district",
            "with",
            "population",
            "between",
            "200000",
            "and",
            "2000000"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    200000.0,
                    2000000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT District_name ,  City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000",
        "query_toks": [
            "SELECT",
            "District_name",
            ",",
            "City_Population",
            "FROM",
            "district",
            "WHERE",
            "City_Population",
            "BETWEEN",
            "200000",
            "AND",
            "2000000"
        ],
        "query_toks_no_value": [
            "select",
            "district_name",
            ",",
            "city_population",
            "from",
            "district",
            "where",
            "city_population",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the district names and city populations for all districts that between 200,000 and 2,000,000 residents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "district",
            "names",
            "and",
            "city",
            "populations",
            "for",
            "all",
            "districts",
            "that",
            "between",
            "200,000",
            "and",
            "2,000,000",
            "residents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    200000.0,
                    2000000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT district_name FROM district WHERE city_area  >  10 OR City_Population  >  100000",
        "query_toks": [
            "SELECT",
            "district_name",
            "FROM",
            "district",
            "WHERE",
            "city_area",
            ">",
            "10",
            "OR",
            "City_Population",
            ">",
            "100000"
        ],
        "query_toks_no_value": [
            "select",
            "district_name",
            "from",
            "district",
            "where",
            "city_area",
            ">",
            "value",
            "or",
            "city_population",
            ">",
            "value"
        ],
        "question": "Find the name all districts with city area greater than 10 or population larger than 100000",
        "question_toks": [
            "Find",
            "the",
            "name",
            "all",
            "districts",
            "with",
            "city",
            "area",
            "greater",
            "than",
            "10",
            "or",
            "population",
            "larger",
            "than",
            "100000"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT district_name FROM district WHERE city_area  >  10 OR City_Population  >  100000",
        "query_toks": [
            "SELECT",
            "district_name",
            "FROM",
            "district",
            "WHERE",
            "city_area",
            ">",
            "10",
            "OR",
            "City_Population",
            ">",
            "100000"
        ],
        "query_toks_no_value": [
            "select",
            "district_name",
            "from",
            "district",
            "where",
            "city_area",
            ">",
            "value",
            "or",
            "city_population",
            ">",
            "value"
        ],
        "question": "What are the names of all districts with a city area greater than 10 or have more than 100000 people living there?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "districts",
            "with",
            "a",
            "city",
            "area",
            "greater",
            "than",
            "10",
            "or",
            "have",
            "more",
            "than",
            "100000",
            "people",
            "living",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    100000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "district_name",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "district_name",
            "from",
            "district",
            "order",
            "by",
            "city_population",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which district has the largest population?",
        "question_toks": [
            "Which",
            "district",
            "has",
            "the",
            "largest",
            "population",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "district_name",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "district_name",
            "from",
            "district",
            "order",
            "by",
            "city_population",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the district with the most residents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "district",
            "with",
            "the",
            "most",
            "residents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT district_name FROM district ORDER BY city_area ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "district_name",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_area",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "district_name",
            "from",
            "district",
            "order",
            "by",
            "city_area",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which district has the least area?",
        "question_toks": [
            "Which",
            "district",
            "has",
            "the",
            "least",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT district_name FROM district ORDER BY city_area ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "district_name",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_area",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "district_name",
            "from",
            "district",
            "order",
            "by",
            "city_area",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the name of the district with the smallest area?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "district",
            "with",
            "the",
            "smallest",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT sum(city_population) FROM district ORDER BY city_area DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "city_population",
            ")",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_area",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "city_population",
            ")",
            "from",
            "district",
            "order",
            "by",
            "city_area",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the total population of the top 3 districts with the largest area.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "population",
            "of",
            "the",
            "top",
            "3",
            "districts",
            "with",
            "the",
            "largest",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT sum(city_population) FROM district ORDER BY city_area DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "city_population",
            ")",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_area",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "city_population",
            ")",
            "from",
            "district",
            "order",
            "by",
            "city_area",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the total number of residents for the districts with the 3 largest areas?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "residents",
            "for",
            "the",
            "districts",
            "with",
            "the",
            "3",
            "largest",
            "areas",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT TYPE ,  count(*) FROM store GROUP BY TYPE",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "store",
            "GROUP",
            "BY",
            "TYPE"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "store",
            "group",
            "by",
            "type"
        ],
        "question": "Find all types of store and number of them.",
        "question_toks": [
            "Find",
            "all",
            "types",
            "of",
            "store",
            "and",
            "number",
            "of",
            "them",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT TYPE ,  count(*) FROM store GROUP BY TYPE",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "store",
            "GROUP",
            "BY",
            "TYPE"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "store",
            "group",
            "by",
            "type"
        ],
        "question": "For each type of store, how many of them are there?",
        "question_toks": [
            "For",
            "each",
            "type",
            "of",
            "store",
            ",",
            "how",
            "many",
            "of",
            "them",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t3.district_name  =  \"Khanewal District\"",
        "query_toks": [
            "SELECT",
            "t1.store_name",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "WHERE",
            "t3.district_name",
            "=",
            "``",
            "Khanewal",
            "District",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "store_name",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "where",
            "t3",
            ".",
            "district_name",
            "=",
            "value"
        ],
        "question": "Find the names of all stores in Khanewal District.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "stores",
            "in",
            "Khanewal",
            "District",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Khanewal District\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t3.district_name  =  \"Khanewal District\"",
        "query_toks": [
            "SELECT",
            "t1.store_name",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "WHERE",
            "t3.district_name",
            "=",
            "``",
            "Khanewal",
            "District",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "store_name",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "where",
            "t3",
            ".",
            "district_name",
            "=",
            "value"
        ],
        "question": "What are the names of all the stores located in Khanewal District?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "stores",
            "located",
            "in",
            "Khanewal",
            "District",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Khanewal District\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id WHERE district_id  =  (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "t1.store_name",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "WHERE",
            "district_id",
            "=",
            "(",
            "SELECT",
            "district_id",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_population",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "store_name",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "where",
            "district_id",
            "=",
            "(",
            "select",
            "district_id",
            "from",
            "district",
            "order",
            "by",
            "city_population",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find all the stores in the district with the most population.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "stores",
            "in",
            "the",
            "district",
            "with",
            "the",
            "most",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id WHERE district_id  =  (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "t1.store_name",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "WHERE",
            "district_id",
            "=",
            "(",
            "SELECT",
            "district_id",
            "FROM",
            "district",
            "ORDER",
            "BY",
            "city_population",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "store_name",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "where",
            "district_id",
            "=",
            "(",
            "select",
            "district_id",
            "from",
            "district",
            "order",
            "by",
            "city_population",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the names of all the stores in the largest district by population?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "stores",
            "in",
            "the",
            "largest",
            "district",
            "by",
            "population",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.store_name  =  \"Blackville\"",
        "query_toks": [
            "SELECT",
            "t3.headquartered_city",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "WHERE",
            "t1.store_name",
            "=",
            "``",
            "Blackville",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "headquartered_city",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "where",
            "t1",
            ".",
            "store_name",
            "=",
            "value"
        ],
        "question": "Which city is the headquarter of the store named \"Blackville\" in?",
        "question_toks": [
            "Which",
            "city",
            "is",
            "the",
            "headquarter",
            "of",
            "the",
            "store",
            "named",
            "``",
            "Blackville",
            "''",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Blackville\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.store_name  =  \"Blackville\"",
        "query_toks": [
            "SELECT",
            "t3.headquartered_city",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "WHERE",
            "t1.store_name",
            "=",
            "``",
            "Blackville",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "headquartered_city",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "where",
            "t1",
            ".",
            "store_name",
            "=",
            "value"
        ],
        "question": "What city is the headquarter of the store Blackville?",
        "question_toks": [
            "What",
            "city",
            "is",
            "the",
            "headquarter",
            "of",
            "the",
            "store",
            "Blackville",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Blackville\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t3.headquartered_city ,  count(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id GROUP BY t3.headquartered_city",
        "query_toks": [
            "SELECT",
            "t3.headquartered_city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "GROUP",
            "BY",
            "t3.headquartered_city"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "headquartered_city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "group",
            "by",
            "t3",
            ".",
            "headquartered_city"
        ],
        "question": "Find the number of stores in each city.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "stores",
            "in",
            "each",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t3.headquartered_city ,  count(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id GROUP BY t3.headquartered_city",
        "query_toks": [
            "SELECT",
            "t3.headquartered_city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "GROUP",
            "BY",
            "t3.headquartered_city"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "headquartered_city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "group",
            "by",
            "t3",
            ".",
            "headquartered_city"
        ],
        "question": "How many stores are headquarted in each city?",
        "question_toks": [
            "How",
            "many",
            "stores",
            "are",
            "headquarted",
            "in",
            "each",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id GROUP BY t3.headquartered_city ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.headquartered_city",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "GROUP",
            "BY",
            "t3.headquartered_city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "headquartered_city",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "group",
            "by",
            "t3",
            ".",
            "headquartered_city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the city with the most number of stores.",
        "question_toks": [
            "Find",
            "the",
            "city",
            "with",
            "the",
            "most",
            "number",
            "of",
            "stores",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id GROUP BY t3.headquartered_city ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.headquartered_city",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "GROUP",
            "BY",
            "t3.headquartered_city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "headquartered_city",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "group",
            "by",
            "t3",
            ".",
            "headquartered_city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the city with the most number of flagship stores?",
        "question_toks": [
            "What",
            "is",
            "the",
            "city",
            "with",
            "the",
            "most",
            "number",
            "of",
            "flagship",
            "stores",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT avg(pages_per_minute_color) FROM product",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "pages_per_minute_color",
            ")",
            "FROM",
            "product"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "pages_per_minute_color",
            ")",
            "from",
            "product"
        ],
        "question": "What is the average pages per minute color?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "pages",
            "per",
            "minute",
            "color",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT avg(pages_per_minute_color) FROM product",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "pages_per_minute_color",
            ")",
            "FROM",
            "product"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "pages_per_minute_color",
            ")",
            "from",
            "product"
        ],
        "question": "What is the average number of pages per minute color?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "pages",
            "per",
            "minute",
            "color",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id  =  t2.product_id JOIN store AS t3 ON t2.store_id  =  t3.store_id WHERE t3.store_name  =  \"Miramichi\"",
        "query_toks": [
            "SELECT",
            "t1.product",
            "FROM",
            "product",
            "AS",
            "t1",
            "JOIN",
            "store_product",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "store",
            "AS",
            "t3",
            "ON",
            "t2.store_id",
            "=",
            "t3.store_id",
            "WHERE",
            "t3.store_name",
            "=",
            "``",
            "Miramichi",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product",
            "from",
            "product",
            "as",
            "t1",
            "join",
            "store_product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "store",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "store_id",
            "=",
            "t3",
            ".",
            "store_id",
            "where",
            "t3",
            ".",
            "store_name",
            "=",
            "value"
        ],
        "question": "What products are available at store named \"Miramichi\"?",
        "question_toks": [
            "What",
            "products",
            "are",
            "available",
            "at",
            "store",
            "named",
            "``",
            "Miramichi",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Miramichi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id  =  t2.product_id JOIN store AS t3 ON t2.store_id  =  t3.store_id WHERE t3.store_name  =  \"Miramichi\"",
        "query_toks": [
            "SELECT",
            "t1.product",
            "FROM",
            "product",
            "AS",
            "t1",
            "JOIN",
            "store_product",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "store",
            "AS",
            "t3",
            "ON",
            "t2.store_id",
            "=",
            "t3.store_id",
            "WHERE",
            "t3.store_name",
            "=",
            "``",
            "Miramichi",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product",
            "from",
            "product",
            "as",
            "t1",
            "join",
            "store_product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "store",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "store_id",
            "=",
            "t3",
            ".",
            "store_id",
            "where",
            "t3",
            ".",
            "store_name",
            "=",
            "value"
        ],
        "question": "What products are sold at the store named Miramichi?",
        "question_toks": [
            "What",
            "products",
            "are",
            "sold",
            "at",
            "the",
            "store",
            "named",
            "Miramichi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Miramichi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT product FROM product WHERE max_page_size  =  \"A4\" AND pages_per_minute_color  <  5",
        "query_toks": [
            "SELECT",
            "product",
            "FROM",
            "product",
            "WHERE",
            "max_page_size",
            "=",
            "``",
            "A4",
            "''",
            "AND",
            "pages_per_minute_color",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            "from",
            "product",
            "where",
            "max_page_size",
            "=",
            "value",
            "and",
            "pages_per_minute_color",
            "<",
            "value"
        ],
        "question": "Find products with max page size as \"A4\" and pages per minute color smaller than 5.",
        "question_toks": [
            "Find",
            "products",
            "with",
            "max",
            "page",
            "size",
            "as",
            "``",
            "A4",
            "''",
            "and",
            "pages",
            "per",
            "minute",
            "color",
            "smaller",
            "than",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"A4\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT product FROM product WHERE max_page_size  =  \"A4\" AND pages_per_minute_color  <  5",
        "query_toks": [
            "SELECT",
            "product",
            "FROM",
            "product",
            "WHERE",
            "max_page_size",
            "=",
            "``",
            "A4",
            "''",
            "AND",
            "pages_per_minute_color",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            "from",
            "product",
            "where",
            "max_page_size",
            "=",
            "value",
            "and",
            "pages_per_minute_color",
            "<",
            "value"
        ],
        "question": "What are the products with the maximum page size A4 that also have a pages per minute color smaller than 5?",
        "question_toks": [
            "What",
            "are",
            "the",
            "products",
            "with",
            "the",
            "maximum",
            "page",
            "size",
            "A4",
            "that",
            "also",
            "have",
            "a",
            "pages",
            "per",
            "minute",
            "color",
            "smaller",
            "than",
            "5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"A4\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT product FROM product WHERE max_page_size  =  \"A4\" OR pages_per_minute_color  <  5",
        "query_toks": [
            "SELECT",
            "product",
            "FROM",
            "product",
            "WHERE",
            "max_page_size",
            "=",
            "``",
            "A4",
            "''",
            "OR",
            "pages_per_minute_color",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            "from",
            "product",
            "where",
            "max_page_size",
            "=",
            "value",
            "or",
            "pages_per_minute_color",
            "<",
            "value"
        ],
        "question": "Find products with max page size as \"A4\" or pages per minute color smaller than 5.",
        "question_toks": [
            "Find",
            "products",
            "with",
            "max",
            "page",
            "size",
            "as",
            "``",
            "A4",
            "''",
            "or",
            "pages",
            "per",
            "minute",
            "color",
            "smaller",
            "than",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"A4\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT product FROM product WHERE max_page_size  =  \"A4\" OR pages_per_minute_color  <  5",
        "query_toks": [
            "SELECT",
            "product",
            "FROM",
            "product",
            "WHERE",
            "max_page_size",
            "=",
            "``",
            "A4",
            "''",
            "OR",
            "pages_per_minute_color",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            "from",
            "product",
            "where",
            "max_page_size",
            "=",
            "value",
            "or",
            "pages_per_minute_color",
            "<",
            "value"
        ],
        "question": "What are the products with the maximum page size eqal to A4 or a pages per minute color less than 5?",
        "question_toks": [
            "What",
            "are",
            "the",
            "products",
            "with",
            "the",
            "maximum",
            "page",
            "size",
            "eqal",
            "to",
            "A4",
            "or",
            "a",
            "pages",
            "per",
            "minute",
            "color",
            "less",
            "than",
            "5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"A4\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT product FROM product WHERE product LIKE \"%Scanner%\"",
        "query_toks": [
            "SELECT",
            "product",
            "FROM",
            "product",
            "WHERE",
            "product",
            "LIKE",
            "``",
            "%",
            "Scanner",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            "from",
            "product",
            "where",
            "product",
            "like",
            "value"
        ],
        "question": "Find all the product whose name contains the word \"Scanner\".",
        "question_toks": [
            "Find",
            "all",
            "the",
            "product",
            "whose",
            "name",
            "contains",
            "the",
            "word",
            "``",
            "Scanner",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Scanner%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT product FROM product WHERE product LIKE \"%Scanner%\"",
        "query_toks": [
            "SELECT",
            "product",
            "FROM",
            "product",
            "WHERE",
            "product",
            "LIKE",
            "``",
            "%",
            "Scanner",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            "from",
            "product",
            "where",
            "product",
            "like",
            "value"
        ],
        "question": "What are all of the products whose name includes the substring \"Scanner\"?",
        "question_toks": [
            "What",
            "are",
            "all",
            "of",
            "the",
            "products",
            "whose",
            "name",
            "includes",
            "the",
            "substring",
            "``",
            "Scanner",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Scanner%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "max_page_size",
            "FROM",
            "product",
            "GROUP",
            "BY",
            "max_page_size",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "max_page_size",
            "from",
            "product",
            "group",
            "by",
            "max_page_size",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the most prominent max page size among all the products.",
        "question_toks": [
            "Find",
            "the",
            "most",
            "prominent",
            "max",
            "page",
            "size",
            "among",
            "all",
            "the",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "max_page_size",
            "FROM",
            "product",
            "GROUP",
            "BY",
            "max_page_size",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "max_page_size",
            "from",
            "product",
            "group",
            "by",
            "max_page_size",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common maximum page size?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "maximum",
            "page",
            "size",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT product FROM product WHERE product != (SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "product",
            "FROM",
            "product",
            "WHERE",
            "product",
            "!",
            "=",
            "(",
            "SELECT",
            "max_page_size",
            "FROM",
            "product",
            "GROUP",
            "BY",
            "max_page_size",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            "from",
            "product",
            "where",
            "product",
            "!",
            "=",
            "(",
            "select",
            "max_page_size",
            "from",
            "product",
            "group",
            "by",
            "max_page_size",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the name of the products that are not using the most frequently-used max page size.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "products",
            "that",
            "are",
            "not",
            "using",
            "the",
            "most",
            "frequently-used",
            "max",
            "page",
            "size",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                6,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT product FROM product WHERE product != (SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "product",
            "FROM",
            "product",
            "WHERE",
            "product",
            "!",
            "=",
            "(",
            "SELECT",
            "max_page_size",
            "FROM",
            "product",
            "GROUP",
            "BY",
            "max_page_size",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "product",
            "from",
            "product",
            "where",
            "product",
            "!",
            "=",
            "(",
            "select",
            "max_page_size",
            "from",
            "product",
            "group",
            "by",
            "max_page_size",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the names of all products that are not the most frequently-used maximum page size?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "products",
            "that",
            "are",
            "not",
            "the",
            "most",
            "frequently-used",
            "maximum",
            "page",
            "size",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                6,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT sum(city_population) FROM district WHERE city_area  >  (SELECT avg(city_area) FROM district)",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "city_population",
            ")",
            "FROM",
            "district",
            "WHERE",
            "city_area",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "city_area",
            ")",
            "FROM",
            "district",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "city_population",
            ")",
            "from",
            "district",
            "where",
            "city_area",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "city_area",
            ")",
            "from",
            "district",
            ")"
        ],
        "question": "Find the total population of the districts where the area is bigger than the average city area.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "population",
            "of",
            "the",
            "districts",
            "where",
            "the",
            "area",
            "is",
            "bigger",
            "than",
            "the",
            "average",
            "city",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT sum(city_population) FROM district WHERE city_area  >  (SELECT avg(city_area) FROM district)",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "city_population",
            ")",
            "FROM",
            "district",
            "WHERE",
            "city_area",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "city_area",
            ")",
            "FROM",
            "district",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "city_population",
            ")",
            "from",
            "district",
            "where",
            "city_area",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "city_area",
            ")",
            "from",
            "district",
            ")"
        ],
        "question": "What is the total population for all the districts that have an area larger tahn the average city area?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "population",
            "for",
            "all",
            "the",
            "districts",
            "that",
            "have",
            "an",
            "area",
            "larger",
            "tahn",
            "the",
            "average",
            "city",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.Type  =  \"City Mall\" INTERSECT SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.Type  =  \"Village Store\"",
        "query_toks": [
            "SELECT",
            "t3.District_name",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "WHERE",
            "t1.Type",
            "=",
            "``",
            "City",
            "Mall",
            "''",
            "INTERSECT",
            "SELECT",
            "t3.District_name",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "WHERE",
            "t1.Type",
            "=",
            "``",
            "Village",
            "Store",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "district_name",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "where",
            "t1",
            ".",
            "type",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "district_name",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "where",
            "t1",
            ".",
            "type",
            "=",
            "value"
        ],
        "question": "Find the names of districts where have both city mall and village store type stores.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "districts",
            "where",
            "have",
            "both",
            "city",
            "mall",
            "and",
            "village",
            "store",
            "type",
            "stores",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"City Mall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Village Store\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "store_product",
        "query": "SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.Type  =  \"City Mall\" INTERSECT SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.Type  =  \"Village Store\"",
        "query_toks": [
            "SELECT",
            "t3.District_name",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "WHERE",
            "t1.Type",
            "=",
            "``",
            "City",
            "Mall",
            "''",
            "INTERSECT",
            "SELECT",
            "t3.District_name",
            "FROM",
            "store",
            "AS",
            "t1",
            "JOIN",
            "store_district",
            "AS",
            "t2",
            "ON",
            "t1.store_id",
            "=",
            "t2.store_id",
            "JOIN",
            "district",
            "AS",
            "t3",
            "ON",
            "t2.district_id",
            "=",
            "t3.district_id",
            "WHERE",
            "t1.Type",
            "=",
            "``",
            "Village",
            "Store",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "district_name",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "where",
            "t1",
            ".",
            "type",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "district_name",
            "from",
            "store",
            "as",
            "t1",
            "join",
            "store_district",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "store_id",
            "=",
            "t2",
            ".",
            "store_id",
            "join",
            "district",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "district_id",
            "=",
            "t3",
            ".",
            "district_id",
            "where",
            "t1",
            ".",
            "type",
            "=",
            "value"
        ],
        "question": "What are the names of the districts that have both mall and village store style shops?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "districts",
            "that",
            "have",
            "both",
            "mall",
            "and",
            "village",
            "store",
            "style",
            "shops",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"City Mall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Village Store\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT sum(enr) FROM College",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enr",
            ")",
            "FROM",
            "College"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enr",
            ")",
            "from",
            "college"
        ],
        "question": "What is the total enrollment number of all colleges?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "enrollment",
            "number",
            "of",
            "all",
            "colleges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT sum(enr) FROM College",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enr",
            ")",
            "FROM",
            "College"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enr",
            ")",
            "from",
            "college"
        ],
        "question": "How many students are enrolled in college?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "enrolled",
            "in",
            "college",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(enr) FROM College",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "enr",
            ")",
            "FROM",
            "College"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enr",
            ")",
            "from",
            "college"
        ],
        "question": "What is the average enrollment number?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "enrollment",
            "number",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(enr) FROM College",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "enr",
            ")",
            "FROM",
            "College"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enr",
            ")",
            "from",
            "college"
        ],
        "question": "How many students, on average, does each college have enrolled?",
        "question_toks": [
            "How",
            "many",
            "students",
            ",",
            "on",
            "average",
            ",",
            "does",
            "each",
            "college",
            "have",
            "enrolled",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM College",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "College"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "college"
        ],
        "question": "How many colleges in total?",
        "question_toks": [
            "How",
            "many",
            "colleges",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM College",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "College"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "college"
        ],
        "question": "How many different colleges are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "colleges",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM Player WHERE HS  >  1000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Player",
            "WHERE",
            "HS",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player",
            "where",
            "hs",
            ">",
            "value"
        ],
        "question": "How many players have more than 1000 hours of training?",
        "question_toks": [
            "How",
            "many",
            "players",
            "have",
            "more",
            "than",
            "1000",
            "hours",
            "of",
            "training",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM Player WHERE HS  >  1000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Player",
            "WHERE",
            "HS",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "player",
            "where",
            "hs",
            ">",
            "value"
        ],
        "question": "How many different players trained for more than 1000 hours?",
        "question_toks": [
            "How",
            "many",
            "different",
            "players",
            "trained",
            "for",
            "more",
            "than",
            "1000",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM College WHERE enr  >  15000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "College",
            "WHERE",
            "enr",
            ">",
            "15000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "value"
        ],
        "question": "How many colleges has more than 15000 students?",
        "question_toks": [
            "How",
            "many",
            "colleges",
            "has",
            "more",
            "than",
            "15000",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    15000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM College WHERE enr  >  15000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "College",
            "WHERE",
            "enr",
            ">",
            "15000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "value"
        ],
        "question": "What is the number of colleges with a student population greater than 15000?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "colleges",
            "with",
            "a",
            "student",
            "population",
            "greater",
            "than",
            "15000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    15000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(HS) FROM Player",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "HS",
            ")",
            "FROM",
            "Player"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "hs",
            ")",
            "from",
            "player"
        ],
        "question": "What is the average training hours of all players?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "training",
            "hours",
            "of",
            "all",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(HS) FROM Player",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "HS",
            ")",
            "FROM",
            "Player"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "hs",
            ")",
            "from",
            "player"
        ],
        "question": "How many hours do the players train on average?",
        "question_toks": [
            "How",
            "many",
            "hours",
            "do",
            "the",
            "players",
            "train",
            "on",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT pName ,  HS FROM Player WHERE HS  <  1500",
        "query_toks": [
            "SELECT",
            "pName",
            ",",
            "HS",
            "FROM",
            "Player",
            "WHERE",
            "HS",
            "<",
            "1500"
        ],
        "query_toks_no_value": [
            "select",
            "pname",
            ",",
            "hs",
            "from",
            "player",
            "where",
            "hs",
            "<",
            "value"
        ],
        "question": "Find the name and training hours of players whose hours are below 1500.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "training",
            "hours",
            "of",
            "players",
            "whose",
            "hours",
            "are",
            "below",
            "1500",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT pName ,  HS FROM Player WHERE HS  <  1500",
        "query_toks": [
            "SELECT",
            "pName",
            ",",
            "HS",
            "FROM",
            "Player",
            "WHERE",
            "HS",
            "<",
            "1500"
        ],
        "query_toks_no_value": [
            "select",
            "pname",
            ",",
            "hs",
            "from",
            "player",
            "where",
            "hs",
            "<",
            "value"
        ],
        "question": "What are the names and number of hours spent training for each player who trains for less than 1500 hours?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "number",
            "of",
            "hours",
            "spent",
            "training",
            "for",
            "each",
            "player",
            "who",
            "trains",
            "for",
            "less",
            "than",
            "1500",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(DISTINCT cName) FROM tryout",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "cName",
            ")",
            "FROM",
            "tryout"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "cname",
            ")",
            "from",
            "tryout"
        ],
        "question": "How many different colleges do attend the tryout test?",
        "question_toks": [
            "How",
            "many",
            "different",
            "colleges",
            "do",
            "attend",
            "the",
            "tryout",
            "test",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(DISTINCT cName) FROM tryout",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "cName",
            ")",
            "FROM",
            "tryout"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "cname",
            ")",
            "from",
            "tryout"
        ],
        "question": "How many different colleges were represented at tryouts?",
        "question_toks": [
            "How",
            "many",
            "different",
            "colleges",
            "were",
            "represented",
            "at",
            "tryouts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                9,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(DISTINCT pPos) FROM tryout",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "pPos",
            ")",
            "FROM",
            "tryout"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "ppos",
            ")",
            "from",
            "tryout"
        ],
        "question": "What are the unique types of player positions in the tryout?",
        "question_toks": [
            "What",
            "are",
            "the",
            "unique",
            "types",
            "of",
            "player",
            "positions",
            "in",
            "the",
            "tryout",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(DISTINCT pPos) FROM tryout",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "pPos",
            ")",
            "FROM",
            "tryout"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "ppos",
            ")",
            "from",
            "tryout"
        ],
        "question": "What are the different types of player positions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "types",
            "of",
            "player",
            "positions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM tryout WHERE decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "tryout",
            "WHERE",
            "decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tryout",
            "where",
            "decision",
            "=",
            "value"
        ],
        "question": "How many students got accepted after the tryout?",
        "question_toks": [
            "How",
            "many",
            "students",
            "got",
            "accepted",
            "after",
            "the",
            "tryout",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM tryout WHERE decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "tryout",
            "WHERE",
            "decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tryout",
            "where",
            "decision",
            "=",
            "value"
        ],
        "question": "How many students received a yes from tryouts?",
        "question_toks": [
            "How",
            "many",
            "students",
            "received",
            "a",
            "yes",
            "from",
            "tryouts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM tryout WHERE pPos  =  'goalie'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'goalie",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value"
        ],
        "question": "How many students whose are playing the role of goalie?",
        "question_toks": [
            "How",
            "many",
            "students",
            "whose",
            "are",
            "playing",
            "the",
            "role",
            "of",
            "goalie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"goalie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) FROM tryout WHERE pPos  =  'goalie'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'goalie",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value"
        ],
        "question": "What is the number of students playing as a goalie?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "students",
            "playing",
            "as",
            "a",
            "goalie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"goalie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(HS) ,  max(HS) ,  min(HS) FROM Player",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "HS",
            ")",
            ",",
            "max",
            "(",
            "HS",
            ")",
            ",",
            "min",
            "(",
            "HS",
            ")",
            "FROM",
            "Player"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "hs",
            ")",
            ",",
            "max",
            "(",
            "hs",
            ")",
            ",",
            "min",
            "(",
            "hs",
            ")",
            "from",
            "player"
        ],
        "question": "Find the max, average and min training hours of all players.",
        "question_toks": [
            "Find",
            "the",
            "max",
            ",",
            "average",
            "and",
            "min",
            "training",
            "hours",
            "of",
            "all",
            "players",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(HS) ,  max(HS) ,  min(HS) FROM Player",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "HS",
            ")",
            ",",
            "max",
            "(",
            "HS",
            ")",
            ",",
            "min",
            "(",
            "HS",
            ")",
            "FROM",
            "Player"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "hs",
            ")",
            ",",
            "max",
            "(",
            "hs",
            ")",
            ",",
            "min",
            "(",
            "hs",
            ")",
            "from",
            "player"
        ],
        "question": "What is the average, maximum, and minimum for the number of hours spent training?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            ",",
            "maximum",
            ",",
            "and",
            "minimum",
            "for",
            "the",
            "number",
            "of",
            "hours",
            "spent",
            "training",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(enr) FROM College WHERE state  =  'FL'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "enr",
            ")",
            "FROM",
            "College",
            "WHERE",
            "state",
            "=",
            "'FL",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "What is average enrollment of colleges in the state FL?",
        "question_toks": [
            "What",
            "is",
            "average",
            "enrollment",
            "of",
            "colleges",
            "in",
            "the",
            "state",
            "FL",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"FL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(enr) FROM College WHERE state  =  'FL'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "enr",
            ")",
            "FROM",
            "College",
            "WHERE",
            "state",
            "=",
            "'FL",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "where",
            "state",
            "=",
            "value"
        ],
        "question": "What is average number of students enrolled in Florida colleges?",
        "question_toks": [
            "What",
            "is",
            "average",
            "number",
            "of",
            "students",
            "enrolled",
            "in",
            "Florida",
            "colleges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"FL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500",
        "query_toks": [
            "SELECT",
            "pName",
            "FROM",
            "Player",
            "WHERE",
            "HS",
            "BETWEEN",
            "500",
            "AND",
            "1500"
        ],
        "query_toks_no_value": [
            "select",
            "pname",
            "from",
            "player",
            "where",
            "hs",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names of players whose training hours is between 500 and 1500?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "players",
            "whose",
            "training",
            "hours",
            "is",
            "between",
            "500",
            "and",
            "1500",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    500.0,
                    1500.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500",
        "query_toks": [
            "SELECT",
            "pName",
            "FROM",
            "Player",
            "WHERE",
            "HS",
            "BETWEEN",
            "500",
            "AND",
            "1500"
        ],
        "query_toks_no_value": [
            "select",
            "pname",
            "from",
            "player",
            "where",
            "hs",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names of players who train between 500 and 1500 hours?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "players",
            "who",
            "train",
            "between",
            "500",
            "and",
            "1500",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    500.0,
                    1500.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "pName",
            "FROM",
            "Player",
            "WHERE",
            "pName",
            "LIKE",
            "'",
            "%",
            "a",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "pname",
            "from",
            "player",
            "where",
            "pname",
            "like",
            "value"
        ],
        "question": "Find the players whose names contain letter 'a'.",
        "question_toks": [
            "Find",
            "the",
            "players",
            "whose",
            "names",
            "contain",
            "letter",
            "'a",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "pName",
            "FROM",
            "Player",
            "WHERE",
            "pName",
            "LIKE",
            "'",
            "%",
            "a",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "pname",
            "from",
            "player",
            "where",
            "pname",
            "like",
            "value"
        ],
        "question": "Who are the players that have names containing the letter a?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "players",
            "that",
            "have",
            "names",
            "containing",
            "the",
            "letter",
            "a",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName ,  enr FROM College WHERE enr  >  10000 AND state = \"LA\"",
        "query_toks": [
            "SELECT",
            "cName",
            ",",
            "enr",
            "FROM",
            "College",
            "WHERE",
            "enr",
            ">",
            "10000",
            "AND",
            "state",
            "=",
            "``",
            "LA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            ",",
            "enr",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "value",
            "and",
            "state",
            "=",
            "value"
        ],
        "question": "Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "enrollment",
            "of",
            "the",
            "colleges",
            "whose",
            "size",
            "is",
            "bigger",
            "than",
            "10000",
            "and",
            "location",
            "is",
            "in",
            "state",
            "LA",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"LA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName ,  enr FROM College WHERE enr  >  10000 AND state = \"LA\"",
        "query_toks": [
            "SELECT",
            "cName",
            ",",
            "enr",
            "FROM",
            "College",
            "WHERE",
            "enr",
            ">",
            "10000",
            "AND",
            "state",
            "=",
            "``",
            "LA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            ",",
            "enr",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "value",
            "and",
            "state",
            "=",
            "value"
        ],
        "question": "What are the names and enrollment numbers for colleges that have more than 10000 enrolled and are located in Louisiana?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "enrollment",
            "numbers",
            "for",
            "colleges",
            "that",
            "have",
            "more",
            "than",
            "10000",
            "enrolled",
            "and",
            "are",
            "located",
            "in",
            "Louisiana",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"LA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT * FROM College ORDER BY enr",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "College",
            "ORDER",
            "BY",
            "enr"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "college",
            "order",
            "by",
            "enr"
        ],
        "question": "List all information about college sorted by enrollment number in the ascending order.",
        "question_toks": [
            "List",
            "all",
            "information",
            "about",
            "college",
            "sorted",
            "by",
            "enrollment",
            "number",
            "in",
            "the",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT * FROM College ORDER BY enr",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "College",
            "ORDER",
            "BY",
            "enr"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "college",
            "order",
            "by",
            "enr"
        ],
        "question": "What information do you have on colleges sorted by increasing enrollment numbers?",
        "question_toks": [
            "What",
            "information",
            "do",
            "you",
            "have",
            "on",
            "colleges",
            "sorted",
            "by",
            "increasing",
            "enrollment",
            "numbers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM College WHERE enr  >  18000 ORDER BY cName",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "College",
            "WHERE",
            "enr",
            ">",
            "18000",
            "ORDER",
            "BY",
            "cName"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "value",
            "order",
            "by",
            "cname"
        ],
        "question": "List the name of the colleges whose enrollment is greater 18000 sorted by the college's name.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "colleges",
            "whose",
            "enrollment",
            "is",
            "greater",
            "18000",
            "sorted",
            "by",
            "the",
            "college",
            "'s",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    18000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM College WHERE enr  >  18000 ORDER BY cName",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "College",
            "WHERE",
            "enr",
            ">",
            "18000",
            "ORDER",
            "BY",
            "cName"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "value",
            "order",
            "by",
            "cname"
        ],
        "question": "What is the name of every college in alphabetical order that has more than 18000 students enrolled?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "every",
            "college",
            "in",
            "alphabetical",
            "order",
            "that",
            "has",
            "more",
            "than",
            "18000",
            "students",
            "enrolled",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    18000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT pName FROM Player WHERE yCard  =  'yes' ORDER BY HS DESC",
        "query_toks": [
            "SELECT",
            "pName",
            "FROM",
            "Player",
            "WHERE",
            "yCard",
            "=",
            "'yes",
            "'",
            "ORDER",
            "BY",
            "HS",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "pname",
            "from",
            "player",
            "where",
            "ycard",
            "=",
            "value",
            "order",
            "by",
            "hs",
            "desc"
        ],
        "question": "Find the name of players whose card is yes in the descending order of training hours.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "players",
            "whose",
            "card",
            "is",
            "yes",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "training",
            "hours",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT pName FROM Player WHERE yCard  =  'yes' ORDER BY HS DESC",
        "query_toks": [
            "SELECT",
            "pName",
            "FROM",
            "Player",
            "WHERE",
            "yCard",
            "=",
            "'yes",
            "'",
            "ORDER",
            "BY",
            "HS",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "pname",
            "from",
            "player",
            "where",
            "ycard",
            "=",
            "value",
            "order",
            "by",
            "hs",
            "desc"
        ],
        "question": "What are the name of the players who received a card in descending order of the hours of training?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "of",
            "the",
            "players",
            "who",
            "received",
            "a",
            "card",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "hours",
            "of",
            "training",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT cName FROM tryout ORDER BY cName",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "cName",
            "FROM",
            "tryout",
            "ORDER",
            "BY",
            "cName"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "cname",
            "from",
            "tryout",
            "order",
            "by",
            "cname"
        ],
        "question": "Find the name of different colleges involved in the tryout in alphabetical order.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "different",
            "colleges",
            "involved",
            "in",
            "the",
            "tryout",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT cName FROM tryout ORDER BY cName",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "cName",
            "FROM",
            "tryout",
            "ORDER",
            "BY",
            "cName"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "cname",
            "from",
            "tryout",
            "order",
            "by",
            "cname"
        ],
        "question": "What are the different names of the colleges involved in the tryout in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "of",
            "the",
            "colleges",
            "involved",
            "in",
            "the",
            "tryout",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT pPos FROM tryout GROUP BY pPos ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "pPos",
            "FROM",
            "tryout",
            "GROUP",
            "BY",
            "pPos",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "ppos",
            "from",
            "tryout",
            "group",
            "by",
            "ppos",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which position is most popular among players in the tryout?",
        "question_toks": [
            "Which",
            "position",
            "is",
            "most",
            "popular",
            "among",
            "players",
            "in",
            "the",
            "tryout",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT pPos FROM tryout GROUP BY pPos ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "pPos",
            "FROM",
            "tryout",
            "GROUP",
            "BY",
            "pPos",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "ppos",
            "from",
            "tryout",
            "group",
            "by",
            "ppos",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What was the most popular position at tryouts?",
        "question_toks": [
            "What",
            "was",
            "the",
            "most",
            "popular",
            "position",
            "at",
            "tryouts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) ,  cName FROM tryout GROUP BY cName ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "cName",
            "FROM",
            "tryout",
            "GROUP",
            "BY",
            "cName",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "cname",
            "from",
            "tryout",
            "group",
            "by",
            "cname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Find the number of students who participate in the tryout for each college ordered by descending count.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "who",
            "participate",
            "in",
            "the",
            "tryout",
            "for",
            "each",
            "college",
            "ordered",
            "by",
            "descending",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(*) ,  cName FROM tryout GROUP BY cName ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "cName",
            "FROM",
            "tryout",
            "GROUP",
            "BY",
            "cName",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "cname",
            "from",
            "tryout",
            "group",
            "by",
            "cname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "How many students participated in tryouts for each college by descennding count?",
        "question_toks": [
            "How",
            "many",
            "students",
            "participated",
            "in",
            "tryouts",
            "for",
            "each",
            "college",
            "by",
            "descennding",
            "count",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT min(T2.HS) ,   T1.pPos FROM tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID GROUP BY T1.pPos",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "T2.HS",
            ")",
            ",",
            "T1.pPos",
            "FROM",
            "tryout",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "GROUP",
            "BY",
            "T1.pPos"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "t2",
            ".",
            "hs",
            ")",
            ",",
            "t1",
            ".",
            "ppos",
            "from",
            "tryout",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "group",
            "by",
            "t1",
            ".",
            "ppos"
        ],
        "question": "What is minimum hours of the students playing in different position?",
        "question_toks": [
            "What",
            "is",
            "minimum",
            "hours",
            "of",
            "the",
            "students",
            "playing",
            "in",
            "different",
            "position",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT min(T2.HS) ,   T1.pPos FROM tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID GROUP BY T1.pPos",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "T2.HS",
            ")",
            ",",
            "T1.pPos",
            "FROM",
            "tryout",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "GROUP",
            "BY",
            "T1.pPos"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "t2",
            ".",
            "hs",
            ")",
            ",",
            "t1",
            ".",
            "ppos",
            "from",
            "tryout",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "group",
            "by",
            "t1",
            ".",
            "ppos"
        ],
        "question": "For each position, what is the minimum time students spent practicing?",
        "question_toks": [
            "For",
            "each",
            "position",
            ",",
            "what",
            "is",
            "the",
            "minimum",
            "time",
            "students",
            "spent",
            "practicing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM college ORDER BY enr DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "college",
            "ORDER",
            "BY",
            "enr",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "college",
            "order",
            "by",
            "enr",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of schools with the top 3 largest size?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "schools",
            "with",
            "the",
            "top",
            "3",
            "largest",
            "size",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM college ORDER BY enr DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "college",
            "ORDER",
            "BY",
            "enr",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "college",
            "order",
            "by",
            "enr",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the schools with the top 3 largest class sizes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "schools",
            "with",
            "the",
            "top",
            "3",
            "largest",
            "class",
            "sizes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName ,  state ,  min(enr) FROM college GROUP BY state",
        "query_toks": [
            "SELECT",
            "cName",
            ",",
            "state",
            ",",
            "min",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            "GROUP",
            "BY",
            "state"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            ",",
            "state",
            ",",
            "min",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "group",
            "by",
            "state"
        ],
        "question": "What is the name of school that has the smallest enrollment in each state?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "school",
            "that",
            "has",
            "the",
            "smallest",
            "enrollment",
            "in",
            "each",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName ,  state ,  min(enr) FROM college GROUP BY state",
        "query_toks": [
            "SELECT",
            "cName",
            ",",
            "state",
            ",",
            "min",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            "GROUP",
            "BY",
            "state"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            ",",
            "state",
            ",",
            "min",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "group",
            "by",
            "state"
        ],
        "question": "What is the name of the school with smallest enrollment size per state?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "school",
            "with",
            "smallest",
            "enrollment",
            "size",
            "per",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname"
        ],
        "question": "Find the states where have some college students in tryout.",
        "question_toks": [
            "Find",
            "the",
            "states",
            "where",
            "have",
            "some",
            "college",
            "students",
            "in",
            "tryout",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname"
        ],
        "question": "What are the different states that have students trying out?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "states",
            "that",
            "have",
            "students",
            "trying",
            "out",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "Find the states where have some college students in tryout and their decisions are yes.",
        "question_toks": [
            "Find",
            "the",
            "states",
            "where",
            "have",
            "some",
            "college",
            "students",
            "in",
            "tryout",
            "and",
            "their",
            "decisions",
            "are",
            "yes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "What are the different states that had students successfully try out?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "states",
            "that",
            "had",
            "students",
            "successfully",
            "try",
            "out",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.pName ,  T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "T1.pName",
            ",",
            "T2.cName",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pname",
            ",",
            "t2",
            ".",
            "cname",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "Find the name and college of students whose decisions are yes in the tryout.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "college",
            "of",
            "students",
            "whose",
            "decisions",
            "are",
            "yes",
            "in",
            "the",
            "tryout",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.pName ,  T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "T1.pName",
            ",",
            "T2.cName",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pname",
            ",",
            "t2",
            ".",
            "cname",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "What are the names of all the players who received a yes during tryouts, and also what are the names of their colleges?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "players",
            "who",
            "received",
            "a",
            "yes",
            "during",
            "tryouts",
            ",",
            "and",
            "also",
            "what",
            "are",
            "the",
            "names",
            "of",
            "their",
            "colleges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID ORDER BY T1.pName",
        "query_toks": [
            "SELECT",
            "T1.pName",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "ORDER",
            "BY",
            "T1.pName"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pname",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "order",
            "by",
            "t1",
            ".",
            "pname"
        ],
        "question": "Find the name of all students who were in the tryout sorted in alphabetic order.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "all",
            "students",
            "who",
            "were",
            "in",
            "the",
            "tryout",
            "sorted",
            "in",
            "alphabetic",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID ORDER BY T1.pName",
        "query_toks": [
            "SELECT",
            "T1.pName",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "ORDER",
            "BY",
            "T1.pName"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pname",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "order",
            "by",
            "t1",
            ".",
            "pname"
        ],
        "question": "What are the names of all students who tried out in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "students",
            "who",
            "tried",
            "out",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.pName ,  T1.HS FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "T1.pName",
            ",",
            "T1.HS",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pname",
            ",",
            "t1",
            ".",
            "hs",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "Find the name and hours of the students whose tryout decision is yes.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "hours",
            "of",
            "the",
            "students",
            "whose",
            "tryout",
            "decision",
            "is",
            "yes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.pName ,  T1.HS FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "T1.pName",
            ",",
            "T1.HS",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pname",
            ",",
            "t1",
            ".",
            "hs",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "What are the names and hours spent practicing of every student who received a yes at tryouts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "hours",
            "spent",
            "practicing",
            "of",
            "every",
            "student",
            "who",
            "received",
            "a",
            "yes",
            "at",
            "tryouts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'striker'",
        "query_toks": [
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'striker",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value"
        ],
        "question": "Find the states of the colleges that have students in the tryout who played in striker position.",
        "question_toks": [
            "Find",
            "the",
            "states",
            "of",
            "the",
            "colleges",
            "that",
            "have",
            "students",
            "in",
            "the",
            "tryout",
            "who",
            "played",
            "in",
            "striker",
            "position",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"striker\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'striker'",
        "query_toks": [
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'striker",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value"
        ],
        "question": "What are the states of the colleges where students who tried out for the striker position attend?",
        "question_toks": [
            "What",
            "are",
            "the",
            "states",
            "of",
            "the",
            "colleges",
            "where",
            "students",
            "who",
            "tried",
            "out",
            "for",
            "the",
            "striker",
            "position",
            "attend",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"striker\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes' AND T2.pPos  =  'striker'",
        "query_toks": [
            "SELECT",
            "T1.pName",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'",
            "AND",
            "T2.pPos",
            "=",
            "'striker",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pname",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "ppos",
            "=",
            "value"
        ],
        "question": "Find the names of the students who are in the position of striker and got a yes tryout decision.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "students",
            "who",
            "are",
            "in",
            "the",
            "position",
            "of",
            "striker",
            "and",
            "got",
            "a",
            "yes",
            "tryout",
            "decision",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"striker\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes' AND T2.pPos  =  'striker'",
        "query_toks": [
            "SELECT",
            "T1.pName",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'",
            "AND",
            "T2.pPos",
            "=",
            "'striker",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "pname",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "ppos",
            "=",
            "value"
        ],
        "question": "What are the names of all students who successfully tried out for the position of striker?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "students",
            "who",
            "successfully",
            "tried",
            "out",
            "for",
            "the",
            "position",
            "of",
            "striker",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"striker\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName JOIN player AS T3 ON T2.pID  =  T3.pID WHERE T3.pName  =  'Charles'",
        "query_toks": [
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "JOIN",
            "player",
            "AS",
            "T3",
            "ON",
            "T2.pID",
            "=",
            "T3.pID",
            "WHERE",
            "T3.pName",
            "=",
            "'Charles",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "join",
            "player",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t3",
            ".",
            "pname",
            "=",
            "value"
        ],
        "question": "Find the state of the college which player Charles is attending.",
        "question_toks": [
            "Find",
            "the",
            "state",
            "of",
            "the",
            "college",
            "which",
            "player",
            "Charles",
            "is",
            "attending",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Charles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName JOIN player AS T3 ON T2.pID  =  T3.pID WHERE T3.pName  =  'Charles'",
        "query_toks": [
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "JOIN",
            "player",
            "AS",
            "T3",
            "ON",
            "T2.pID",
            "=",
            "T3.pID",
            "WHERE",
            "T3.pName",
            "=",
            "'Charles",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "join",
            "player",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t3",
            ".",
            "pname",
            "=",
            "value"
        ],
        "question": "In which state is the college that Charles attends?",
        "question_toks": [
            "In",
            "which",
            "state",
            "is",
            "the",
            "college",
            "that",
            "Charles",
            "attends",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Charles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(T1.HS) ,  max(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.HS",
            ")",
            ",",
            "max",
            "(",
            "T1.HS",
            ")",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "hs",
            ")",
            ",",
            "max",
            "(",
            "t1",
            ".",
            "hs",
            ")",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "Find the average and maximum hours for the students whose tryout decision is yes.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "and",
            "maximum",
            "hours",
            "for",
            "the",
            "students",
            "whose",
            "tryout",
            "decision",
            "is",
            "yes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(T1.HS) ,  max(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.HS",
            ")",
            ",",
            "max",
            "(",
            "T1.HS",
            ")",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "hs",
            ")",
            ",",
            "max",
            "(",
            "t1",
            ".",
            "hs",
            ")",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "What is the average and maximum number of hours students who made the team practiced?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "and",
            "maximum",
            "number",
            "of",
            "hours",
            "students",
            "who",
            "made",
            "the",
            "team",
            "practiced",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'no'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.HS",
            ")",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'no",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "hs",
            ")",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "Find the average hours for the students whose tryout decision is no.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "hours",
            "for",
            "the",
            "students",
            "whose",
            "tryout",
            "decision",
            "is",
            "no",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"no\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT avg(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'no'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.HS",
            ")",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.decision",
            "=",
            "'no",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "hs",
            ")",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "What is the average number of hours spent practicing for students who got rejected?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "number",
            "of",
            "hours",
            "spent",
            "practicing",
            "for",
            "students",
            "who",
            "got",
            "rejected",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"no\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT max(T1.HS) ,  pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T1.HS  >  1000 GROUP BY T2.pPos",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.HS",
            ")",
            ",",
            "pPos",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T1.HS",
            ">",
            "1000",
            "GROUP",
            "BY",
            "T2.pPos"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "hs",
            ")",
            ",",
            "ppos",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "hs",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "ppos"
        ],
        "question": "What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "training",
            "hours",
            "for",
            "the",
            "students",
            "whose",
            "training",
            "hours",
            "is",
            "greater",
            "than",
            "1000",
            "in",
            "different",
            "positions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT max(T1.HS) ,  pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T1.HS  >  1000 GROUP BY T2.pPos",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.HS",
            ")",
            ",",
            "pPos",
            "FROM",
            "player",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T1.HS",
            ">",
            "1000",
            "GROUP",
            "BY",
            "T2.pPos"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "hs",
            ")",
            ",",
            "ppos",
            "from",
            "player",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "hs",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "ppos"
        ],
        "question": "For each position, what is the maximum number of  hours for students who spent more than 1000 hours training?",
        "question_toks": [
            "For",
            "each",
            "position",
            ",",
            "what",
            "is",
            "the",
            "maximum",
            "number",
            "of",
            "hours",
            "for",
            "students",
            "who",
            "spent",
            "more",
            "than",
            "1000",
            "hours",
            "training",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.cName FROM  tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID WHERE T2.pName LIKE 'D%'",
        "query_toks": [
            "SELECT",
            "T1.cName",
            "FROM",
            "tryout",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.pName",
            "LIKE",
            "'D",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cname",
            "from",
            "tryout",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "pname",
            "like",
            "value"
        ],
        "question": "Which colleges do the tryout players whose name starts with letter D go to?",
        "question_toks": [
            "Which",
            "colleges",
            "do",
            "the",
            "tryout",
            "players",
            "whose",
            "name",
            "starts",
            "with",
            "letter",
            "D",
            "go",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"D%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.cName FROM  tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID WHERE T2.pName LIKE 'D%'",
        "query_toks": [
            "SELECT",
            "T1.cName",
            "FROM",
            "tryout",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T2.pName",
            "LIKE",
            "'D",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "cname",
            "from",
            "tryout",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "pname",
            "like",
            "value"
        ],
        "question": "Which colleges does each player with a name that starts with the letter D  who tried out go to?",
        "question_toks": [
            "Which",
            "colleges",
            "does",
            "each",
            "player",
            "with",
            "a",
            "name",
            "that",
            "starts",
            "with",
            "the",
            "letter",
            "D",
            "who",
            "tried",
            "out",
            "go",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"D%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM  tryout WHERE decision  =  'yes' AND pPos  =  'goalie'",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "decision",
            "=",
            "'yes",
            "'",
            "AND",
            "pPos",
            "=",
            "'goalie",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "decision",
            "=",
            "value",
            "and",
            "ppos",
            "=",
            "value"
        ],
        "question": "Which college has any student who is a goalie and succeeded in the tryout.",
        "question_toks": [
            "Which",
            "college",
            "has",
            "any",
            "student",
            "who",
            "is",
            "a",
            "goalie",
            "and",
            "succeeded",
            "in",
            "the",
            "tryout",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"goalie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM  tryout WHERE decision  =  'yes' AND pPos  =  'goalie'",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "decision",
            "=",
            "'yes",
            "'",
            "AND",
            "pPos",
            "=",
            "'goalie",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "decision",
            "=",
            "value",
            "and",
            "ppos",
            "=",
            "value"
        ],
        "question": "What college has a student who successfully made the team in the role of a goalie?",
        "question_toks": [
            "What",
            "college",
            "has",
            "a",
            "student",
            "who",
            "successfully",
            "made",
            "the",
            "team",
            "in",
            "the",
            "role",
            "of",
            "a",
            "goalie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"goalie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T2.pName FROM  tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID WHERE T1.cName  =  (SELECT cName FROM college ORDER BY enr DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "T2.pName",
            "FROM",
            "tryout",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T1.cName",
            "=",
            "(",
            "SELECT",
            "cName",
            "FROM",
            "college",
            "ORDER",
            "BY",
            "enr",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "pname",
            "from",
            "tryout",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "cname",
            "=",
            "(",
            "select",
            "cname",
            "from",
            "college",
            "order",
            "by",
            "enr",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the name of the tryout players who are from the college with largest size.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "tryout",
            "players",
            "who",
            "are",
            "from",
            "the",
            "college",
            "with",
            "largest",
            "size",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T2.pName FROM  tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID WHERE T1.cName  =  (SELECT cName FROM college ORDER BY enr DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "T2.pName",
            "FROM",
            "tryout",
            "AS",
            "T1",
            "JOIN",
            "player",
            "AS",
            "T2",
            "ON",
            "T1.pID",
            "=",
            "T2.pID",
            "WHERE",
            "T1.cName",
            "=",
            "(",
            "SELECT",
            "cName",
            "FROM",
            "college",
            "ORDER",
            "BY",
            "enr",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "pname",
            "from",
            "tryout",
            "as",
            "t1",
            "join",
            "player",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "cname",
            "=",
            "(",
            "select",
            "cname",
            "from",
            "college",
            "order",
            "by",
            "enr",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the names of all tryout participants who are from the largest college?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "tryout",
            "participants",
            "who",
            "are",
            "from",
            "the",
            "largest",
            "college",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT T1.state ,  T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.state",
            ",",
            "T1.enr",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "state",
            ",",
            "t1",
            ".",
            "enr",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision.",
        "question_toks": [
            "What",
            "is",
            "the",
            "state",
            "and",
            "enrollment",
            "of",
            "the",
            "colleges",
            "where",
            "have",
            "any",
            "students",
            "who",
            "got",
            "accepted",
            "in",
            "the",
            "tryout",
            "decision",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT T1.state ,  T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.decision  =  'yes'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.state",
            ",",
            "T1.enr",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.decision",
            "=",
            "'yes",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "state",
            ",",
            "t1",
            ".",
            "enr",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "decision",
            "=",
            "value"
        ],
        "question": "How many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "enrolled",
            "in",
            "colleges",
            "that",
            "have",
            "student",
            "accepted",
            "during",
            "tryouts",
            ",",
            "and",
            "in",
            "which",
            "states",
            "are",
            "those",
            "colleges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"yes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM College WHERE enr  <  13000 AND state = \"AZ\" UNION SELECT cName FROM College WHERE enr  >  15000 AND state = \"LA\"",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "College",
            "WHERE",
            "enr",
            "<",
            "13000",
            "AND",
            "state",
            "=",
            "``",
            "AZ",
            "''",
            "UNION",
            "SELECT",
            "cName",
            "FROM",
            "College",
            "WHERE",
            "enr",
            ">",
            "15000",
            "AND",
            "state",
            "=",
            "``",
            "LA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            "<",
            "value",
            "and",
            "state",
            "=",
            "value",
            "union",
            "select",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "value",
            "and",
            "state",
            "=",
            "value"
        ],
        "question": "Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enrollment.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "either",
            "colleges",
            "in",
            "LA",
            "with",
            "greater",
            "than",
            "15000",
            "size",
            "or",
            "in",
            "state",
            "AZ",
            "with",
            "less",
            "than",
            "13000",
            "enrollment",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    13000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AZ\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        15000.0,
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"LA\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM College WHERE enr  <  13000 AND state = \"AZ\" UNION SELECT cName FROM College WHERE enr  >  15000 AND state = \"LA\"",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "College",
            "WHERE",
            "enr",
            "<",
            "13000",
            "AND",
            "state",
            "=",
            "``",
            "AZ",
            "''",
            "UNION",
            "SELECT",
            "cName",
            "FROM",
            "College",
            "WHERE",
            "enr",
            ">",
            "15000",
            "AND",
            "state",
            "=",
            "``",
            "LA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            "<",
            "value",
            "and",
            "state",
            "=",
            "value",
            "union",
            "select",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "value",
            "and",
            "state",
            "=",
            "value"
        ],
        "question": "What are the names of colleges in LA that have more than 15,000 students and of colleges in AZ with less than 13,000 students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "colleges",
            "in",
            "LA",
            "that",
            "have",
            "more",
            "than",
            "15,000",
            "students",
            "and",
            "of",
            "colleges",
            "in",
            "AZ",
            "with",
            "less",
            "than",
            "13,000",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    13000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AZ\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        15000.0,
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"LA\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM  tryout WHERE pPos  =  'goalie' INTERSECT SELECT cName FROM  tryout WHERE pPos  =  'mid'",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'goalie",
            "'",
            "INTERSECT",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'mid",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            "intersect",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value"
        ],
        "question": "Find the names of schools that have some students playing in goalie and mid positions.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "schools",
            "that",
            "have",
            "some",
            "students",
            "playing",
            "in",
            "goalie",
            "and",
            "mid",
            "positions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"goalie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"mid\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM  tryout WHERE pPos  =  'goalie' INTERSECT SELECT cName FROM  tryout WHERE pPos  =  'mid'",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'goalie",
            "'",
            "INTERSECT",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'mid",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            "intersect",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value"
        ],
        "question": "What are the names of all schools that have students trying out for the position of goal and 'mid'-field.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "schools",
            "that",
            "have",
            "students",
            "trying",
            "out",
            "for",
            "the",
            "position",
            "of",
            "goal",
            "and",
            "'mid'-field",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"goalie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"mid\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'mid'",
        "query_toks": [
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'goalie",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'mid",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value"
        ],
        "question": "Find the names of states that have some college students playing in goalie and mid positions.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "states",
            "that",
            "have",
            "some",
            "college",
            "students",
            "playing",
            "in",
            "goalie",
            "and",
            "mid",
            "positions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"goalie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"mid\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'mid'",
        "query_toks": [
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'goalie",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'mid",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value"
        ],
        "question": "What are the names of the states that have some college students playing in the positions of goalie and mid-field?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "states",
            "that",
            "have",
            "some",
            "college",
            "students",
            "playing",
            "in",
            "the",
            "positions",
            "of",
            "goalie",
            "and",
            "mid-field",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"goalie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"mid\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT COUNT(*) FROM (SELECT cName FROM  tryout WHERE pPos  =  'goalie' INTERSECT SELECT cName FROM  tryout WHERE pPos  =  'mid')",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'goalie",
            "'",
            "INTERSECT",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'mid",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            "intersect",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            ")"
        ],
        "question": "How many schools have some students playing in goalie and mid positions.",
        "question_toks": [
            "How",
            "many",
            "schools",
            "have",
            "some",
            "students",
            "playing",
            "in",
            "goalie",
            "and",
            "mid",
            "positions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                9,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"goalie\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": {
                                "from": {
                                    "table_units": [
                                        [
                                            "table_unit",
                                            2
                                        ]
                                    ],
                                    "conds": []
                                },
                                "select": [
                                    false,
                                    [
                                        [
                                            0,
                                            [
                                                0,
                                                [
                                                    0,
                                                    9,
                                                    false
                                                ],
                                                null
                                            ]
                                        ]
                                    ]
                                ],
                                "where": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                10,
                                                false
                                            ],
                                            null
                                        ],
                                        "\"mid\"",
                                        null
                                    ]
                                ],
                                "groupBy": [],
                                "having": [],
                                "orderBy": [],
                                "limit": null,
                                "intersect": null,
                                "union": null,
                                "except": null
                            },
                            "union": null,
                            "except": null
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT COUNT(*) FROM (SELECT cName FROM  tryout WHERE pPos  =  'goalie' INTERSECT SELECT cName FROM  tryout WHERE pPos  =  'mid')",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'goalie",
            "'",
            "INTERSECT",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'mid",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            "intersect",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            ")"
        ],
        "question": "How many schools have students playing in goalie and mid-field positions?",
        "question_toks": [
            "How",
            "many",
            "schools",
            "have",
            "students",
            "playing",
            "in",
            "goalie",
            "and",
            "mid-field",
            "positions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                9,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"goalie\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": {
                                "from": {
                                    "table_units": [
                                        [
                                            "table_unit",
                                            2
                                        ]
                                    ],
                                    "conds": []
                                },
                                "select": [
                                    false,
                                    [
                                        [
                                            0,
                                            [
                                                0,
                                                [
                                                    0,
                                                    9,
                                                    false
                                                ],
                                                null
                                            ]
                                        ]
                                    ]
                                ],
                                "where": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                10,
                                                false
                                            ],
                                            null
                                        ],
                                        "\"mid\"",
                                        null
                                    ]
                                ],
                                "groupBy": [],
                                "having": [],
                                "orderBy": [],
                                "limit": null,
                                "intersect": null,
                                "union": null,
                                "except": null
                            },
                            "union": null,
                            "except": null
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM  tryout WHERE pPos  =  'mid' EXCEPT SELECT cName FROM  tryout WHERE pPos  =  'goalie'",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'mid",
            "'",
            "EXCEPT",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'goalie",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            "except",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value"
        ],
        "question": "Find the names of schools that have some players in the mid position but not in the goalie position.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "schools",
            "that",
            "have",
            "some",
            "players",
            "in",
            "the",
            "mid",
            "position",
            "but",
            "not",
            "in",
            "the",
            "goalie",
            "position",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"mid\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"goalie\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM  tryout WHERE pPos  =  'mid' EXCEPT SELECT cName FROM  tryout WHERE pPos  =  'goalie'",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'mid",
            "'",
            "EXCEPT",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "'goalie",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            "except",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value"
        ],
        "question": "What are the names of the schools with some players in the mid position but no goalies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "schools",
            "with",
            "some",
            "players",
            "in",
            "the",
            "mid",
            "position",
            "but",
            "no",
            "goalies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"mid\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"goalie\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'goalie'",
        "query_toks": [
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'mid",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'goalie",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value"
        ],
        "question": "Find the names of states that have some college students playing in the mid position but not in the goalie position.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "states",
            "that",
            "have",
            "some",
            "college",
            "students",
            "playing",
            "in",
            "the",
            "mid",
            "position",
            "but",
            "not",
            "in",
            "the",
            "goalie",
            "position",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"mid\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"goalie\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'goalie'",
        "query_toks": [
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'mid",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'goalie",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value"
        ],
        "question": "What are the names of all the states with college students playing in the mid position but no goalies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "states",
            "with",
            "college",
            "students",
            "playing",
            "in",
            "the",
            "mid",
            "position",
            "but",
            "no",
            "goalies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"mid\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"goalie\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT COUNT(*) FROM (SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'goalie')",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'mid",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'goalie",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value",
            ")"
        ],
        "question": "How many states that have some college students playing in the mid position but not in the goalie position.",
        "question_toks": [
            "How",
            "many",
            "states",
            "that",
            "have",
            "some",
            "college",
            "students",
            "playing",
            "in",
            "the",
            "mid",
            "position",
            "but",
            "not",
            "in",
            "the",
            "goalie",
            "position",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        0
                                    ],
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                1,
                                                false
                                            ],
                                            null
                                        ],
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                2,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"mid\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": {
                                "from": {
                                    "table_units": [
                                        [
                                            "table_unit",
                                            0
                                        ],
                                        [
                                            "table_unit",
                                            2
                                        ]
                                    ],
                                    "conds": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    1,
                                                    false
                                                ],
                                                null
                                            ],
                                            [
                                                0,
                                                9,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                },
                                "select": [
                                    false,
                                    [
                                        [
                                            0,
                                            [
                                                0,
                                                [
                                                    0,
                                                    2,
                                                    false
                                                ],
                                                null
                                            ]
                                        ]
                                    ]
                                ],
                                "where": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                10,
                                                false
                                            ],
                                            null
                                        ],
                                        "\"goalie\"",
                                        null
                                    ]
                                ],
                                "groupBy": [],
                                "having": [],
                                "orderBy": [],
                                "limit": null,
                                "intersect": null,
                                "union": null,
                                "except": null
                            }
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT COUNT(*) FROM (SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'goalie')",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'mid",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.state",
            "FROM",
            "college",
            "AS",
            "T1",
            "JOIN",
            "tryout",
            "AS",
            "T2",
            "ON",
            "T1.cName",
            "=",
            "T2.cName",
            "WHERE",
            "T2.pPos",
            "=",
            "'goalie",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "state",
            "from",
            "college",
            "as",
            "t1",
            "join",
            "tryout",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "cname",
            "=",
            "t2",
            ".",
            "cname",
            "where",
            "t2",
            ".",
            "ppos",
            "=",
            "value",
            ")"
        ],
        "question": "What is the count of states with college students playing in the mid position but not as goalies?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "states",
            "with",
            "college",
            "students",
            "playing",
            "in",
            "the",
            "mid",
            "position",
            "but",
            "not",
            "as",
            "goalies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        0
                                    ],
                                    [
                                        "table_unit",
                                        2
                                    ]
                                ],
                                "conds": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                1,
                                                false
                                            ],
                                            null
                                        ],
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                2,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"mid\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": {
                                "from": {
                                    "table_units": [
                                        [
                                            "table_unit",
                                            0
                                        ],
                                        [
                                            "table_unit",
                                            2
                                        ]
                                    ],
                                    "conds": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    1,
                                                    false
                                                ],
                                                null
                                            ],
                                            [
                                                0,
                                                9,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                },
                                "select": [
                                    false,
                                    [
                                        [
                                            0,
                                            [
                                                0,
                                                [
                                                    0,
                                                    2,
                                                    false
                                                ],
                                                null
                                            ]
                                        ]
                                    ]
                                ],
                                "where": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                10,
                                                false
                                            ],
                                            null
                                        ],
                                        "\"goalie\"",
                                        null
                                    ]
                                ],
                                "groupBy": [],
                                "having": [],
                                "orderBy": [],
                                "limit": null,
                                "intersect": null,
                                "union": null,
                                "except": null
                            }
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT state FROM college WHERE enr  <  (SELECT max(enr) FROM college)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "state",
            "FROM",
            "college",
            "WHERE",
            "enr",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "state",
            "from",
            "college",
            "where",
            "enr",
            "<",
            "(",
            "select",
            "max",
            "(",
            "enr",
            ")",
            "from",
            "college",
            ")"
        ],
        "question": "Find the states where have the colleges whose enrollments are less than the largest size.",
        "question_toks": [
            "Find",
            "the",
            "states",
            "where",
            "have",
            "the",
            "colleges",
            "whose",
            "enrollments",
            "are",
            "less",
            "than",
            "the",
            "largest",
            "size",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT state FROM college WHERE enr  <  (SELECT max(enr) FROM college)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "state",
            "FROM",
            "college",
            "WHERE",
            "enr",
            "<",
            "(",
            "SELECT",
            "max",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "state",
            "from",
            "college",
            "where",
            "enr",
            "<",
            "(",
            "select",
            "max",
            "(",
            "enr",
            ")",
            "from",
            "college",
            ")"
        ],
        "question": "What are the states with colleges that have enrollments less than the some other college?",
        "question_toks": [
            "What",
            "are",
            "the",
            "states",
            "with",
            "colleges",
            "that",
            "have",
            "enrollments",
            "less",
            "than",
            "the",
            "some",
            "other",
            "college",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT cName FROM college WHERE enr  >  (SELECT min(enr) FROM college WHERE state  =  'FL')",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "cName",
            "FROM",
            "college",
            "WHERE",
            "enr",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            "WHERE",
            "state",
            "=",
            "'FL",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "(",
            "select",
            "min",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "where",
            "state",
            "=",
            "value",
            ")"
        ],
        "question": "Find names of colleges with enrollment greater than that of some (at least one) college in the FL state.",
        "question_toks": [
            "Find",
            "names",
            "of",
            "colleges",
            "with",
            "enrollment",
            "greater",
            "than",
            "that",
            "of",
            "some",
            "(",
            "at",
            "least",
            "one",
            ")",
            "college",
            "in",
            "the",
            "FL",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"FL\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT DISTINCT cName FROM college WHERE enr  >  (SELECT min(enr) FROM college WHERE state  =  'FL')",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "cName",
            "FROM",
            "college",
            "WHERE",
            "enr",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            "WHERE",
            "state",
            "=",
            "'FL",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "(",
            "select",
            "min",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "where",
            "state",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of the colleges that are larger than at least one college in Florida?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "colleges",
            "that",
            "are",
            "larger",
            "than",
            "at",
            "least",
            "one",
            "college",
            "in",
            "Florida",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"FL\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM college WHERE enr  >  (SELECT max(enr) FROM college WHERE state  =  'FL')",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "college",
            "WHERE",
            "enr",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            "WHERE",
            "state",
            "=",
            "'FL",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "(",
            "select",
            "max",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "where",
            "state",
            "=",
            "value",
            ")"
        ],
        "question": "Find names of all colleges whose enrollment is greater than that of all colleges in the FL state.",
        "question_toks": [
            "Find",
            "names",
            "of",
            "all",
            "colleges",
            "whose",
            "enrollment",
            "is",
            "greater",
            "than",
            "that",
            "of",
            "all",
            "colleges",
            "in",
            "the",
            "FL",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"FL\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT cName FROM college WHERE enr  >  (SELECT max(enr) FROM college WHERE state  =  'FL')",
        "query_toks": [
            "SELECT",
            "cName",
            "FROM",
            "college",
            "WHERE",
            "enr",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            "WHERE",
            "state",
            "=",
            "'FL",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "cname",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "(",
            "select",
            "max",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "where",
            "state",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of all colleges with a larger enrollment than the largest college in Florida?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "colleges",
            "with",
            "a",
            "larger",
            "enrollment",
            "than",
            "the",
            "largest",
            "college",
            "in",
            "Florida",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"FL\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT sum(enr) FROM college WHERE cName NOT IN (SELECT cName FROM tryout WHERE pPos  =  \"goalie\")",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            "WHERE",
            "cName",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "``",
            "goalie",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "where",
            "cname",
            "not",
            "in",
            "(",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            ")"
        ],
        "question": "What is the total number of enrollment of schools that do not have any goalie player?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "enrollment",
            "of",
            "schools",
            "that",
            "do",
            "not",
            "have",
            "any",
            "goalie",
            "player",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"goalie\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT sum(enr) FROM college WHERE cName NOT IN (SELECT cName FROM tryout WHERE pPos  =  \"goalie\")",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            "WHERE",
            "cName",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "cName",
            "FROM",
            "tryout",
            "WHERE",
            "pPos",
            "=",
            "``",
            "goalie",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "enr",
            ")",
            "from",
            "college",
            "where",
            "cname",
            "not",
            "in",
            "(",
            "select",
            "cname",
            "from",
            "tryout",
            "where",
            "ppos",
            "=",
            "value",
            ")"
        ],
        "question": "What is the total number of students enrolled in schools without any goalies?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "students",
            "enrolled",
            "in",
            "schools",
            "without",
            "any",
            "goalies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"goalie\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(DISTINCT state) FROM college WHERE enr  >  (SELECT avg(enr) FROM college)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "state",
            ")",
            "FROM",
            "college",
            "WHERE",
            "enr",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "state",
            ")",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "enr",
            ")",
            "from",
            "college",
            ")"
        ],
        "question": "What is the number of states that has some college whose enrollment is larger than the average enrollment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "states",
            "that",
            "has",
            "some",
            "college",
            "whose",
            "enrollment",
            "is",
            "larger",
            "than",
            "the",
            "average",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(DISTINCT state) FROM college WHERE enr  >  (SELECT avg(enr) FROM college)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "state",
            ")",
            "FROM",
            "college",
            "WHERE",
            "enr",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "state",
            ")",
            "from",
            "college",
            "where",
            "enr",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "enr",
            ")",
            "from",
            "college",
            ")"
        ],
        "question": "How many states have a college with more students than average?",
        "question_toks": [
            "How",
            "many",
            "states",
            "have",
            "a",
            "college",
            "with",
            "more",
            "students",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(DISTINCT state) FROM college WHERE enr  <  (SELECT avg(enr) FROM college)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "state",
            ")",
            "FROM",
            "college",
            "WHERE",
            "enr",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "state",
            ")",
            "from",
            "college",
            "where",
            "enr",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "enr",
            ")",
            "from",
            "college",
            ")"
        ],
        "question": "What is the number of states that has some colleges whose enrollment is smaller than the average enrollment?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "states",
            "that",
            "has",
            "some",
            "colleges",
            "whose",
            "enrollment",
            "is",
            "smaller",
            "than",
            "the",
            "average",
            "enrollment",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "soccer_2",
        "query": "SELECT count(DISTINCT state) FROM college WHERE enr  <  (SELECT avg(enr) FROM college)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "state",
            ")",
            "FROM",
            "college",
            "WHERE",
            "enr",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "enr",
            ")",
            "FROM",
            "college",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "state",
            ")",
            "from",
            "college",
            "where",
            "enr",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "enr",
            ")",
            "from",
            "college",
            ")"
        ],
        "question": "How many states have smaller colleges than average?",
        "question_toks": [
            "How",
            "many",
            "states",
            "have",
            "smaller",
            "colleges",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT count(*) FROM device",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "device"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "device"
        ],
        "question": "How many devices are there?",
        "question_toks": [
            "How",
            "many",
            "devices",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT count(*) FROM device",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "device"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "device"
        ],
        "question": "Count the number of devices.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "devices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Carrier FROM device ORDER BY Carrier ASC",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "device",
            "ORDER",
            "BY",
            "Carrier",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "device",
            "order",
            "by",
            "carrier",
            "asc"
        ],
        "question": "List the carriers of devices in ascending alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "carriers",
            "of",
            "devices",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Carrier FROM device ORDER BY Carrier ASC",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "device",
            "ORDER",
            "BY",
            "Carrier",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "device",
            "order",
            "by",
            "carrier",
            "asc"
        ],
        "question": "What are the different carriers for devices, listed in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "carriers",
            "for",
            "devices",
            ",",
            "listed",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Carrier FROM device WHERE Software_Platform != 'Android'",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "device",
            "WHERE",
            "Software_Platform",
            "!",
            "=",
            "'Android",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "device",
            "where",
            "software_platform",
            "!",
            "=",
            "value"
        ],
        "question": "What are the carriers of devices whose software platforms are not \"Android\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "carriers",
            "of",
            "devices",
            "whose",
            "software",
            "platforms",
            "are",
            "not",
            "``",
            "Android",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Android\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Carrier FROM device WHERE Software_Platform != 'Android'",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "device",
            "WHERE",
            "Software_Platform",
            "!",
            "=",
            "'Android",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "device",
            "where",
            "software_platform",
            "!",
            "=",
            "value"
        ],
        "question": "Return the device carriers that do not have Android as their software platform.",
        "question_toks": [
            "Return",
            "the",
            "device",
            "carriers",
            "that",
            "do",
            "not",
            "have",
            "Android",
            "as",
            "their",
            "software",
            "platform",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Android\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Shop_Name FROM shop ORDER BY Open_Year ASC",
        "query_toks": [
            "SELECT",
            "Shop_Name",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "Open_Year",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "shop_name",
            "from",
            "shop",
            "order",
            "by",
            "open_year",
            "asc"
        ],
        "question": "What are the names of shops in ascending order of open year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "shops",
            "in",
            "ascending",
            "order",
            "of",
            "open",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Shop_Name FROM shop ORDER BY Open_Year ASC",
        "query_toks": [
            "SELECT",
            "Shop_Name",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "Open_Year",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "shop_name",
            "from",
            "shop",
            "order",
            "by",
            "open_year",
            "asc"
        ],
        "question": "Return the names of shops, ordered by year of opening ascending.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "shops",
            ",",
            "ordered",
            "by",
            "year",
            "of",
            "opening",
            "ascending",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT avg(Quantity) FROM stock",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Quantity",
            ")",
            "FROM",
            "stock"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "quantity",
            ")",
            "from",
            "stock"
        ],
        "question": "What is the average quantity of stocks?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "quantity",
            "of",
            "stocks",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT avg(Quantity) FROM stock",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Quantity",
            ")",
            "FROM",
            "stock"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "quantity",
            ")",
            "from",
            "stock"
        ],
        "question": "Give the average quantity of stocks.",
        "question_toks": [
            "Give",
            "the",
            "average",
            "quantity",
            "of",
            "stocks",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Shop_Name ,  LOCATION FROM shop ORDER BY Shop_Name ASC",
        "query_toks": [
            "SELECT",
            "Shop_Name",
            ",",
            "LOCATION",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "Shop_Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "shop_name",
            ",",
            "location",
            "from",
            "shop",
            "order",
            "by",
            "shop_name",
            "asc"
        ],
        "question": "What are the names and location of the shops in ascending alphabetical order of name.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "location",
            "of",
            "the",
            "shops",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "of",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Shop_Name ,  LOCATION FROM shop ORDER BY Shop_Name ASC",
        "query_toks": [
            "SELECT",
            "Shop_Name",
            ",",
            "LOCATION",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "Shop_Name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "shop_name",
            ",",
            "location",
            "from",
            "shop",
            "order",
            "by",
            "shop_name",
            "asc"
        ],
        "question": "Return the names and locations of shops, ordered by name in alphabetical order.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "shops",
            ",",
            "ordered",
            "by",
            "name",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT count(DISTINCT Software_Platform) FROM device",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Software_Platform",
            ")",
            "FROM",
            "device"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "software_platform",
            ")",
            "from",
            "device"
        ],
        "question": "How many different software platforms are there for devices?",
        "question_toks": [
            "How",
            "many",
            "different",
            "software",
            "platforms",
            "are",
            "there",
            "for",
            "devices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT count(DISTINCT Software_Platform) FROM device",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Software_Platform",
            ")",
            "FROM",
            "device"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "software_platform",
            ")",
            "from",
            "device"
        ],
        "question": "Count the number of different software platforms.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "software",
            "platforms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Open_Date ,  Open_Year FROM shop WHERE Shop_Name  =  \"Apple\"",
        "query_toks": [
            "SELECT",
            "Open_Date",
            ",",
            "Open_Year",
            "FROM",
            "shop",
            "WHERE",
            "Shop_Name",
            "=",
            "``",
            "Apple",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "open_date",
            ",",
            "open_year",
            "from",
            "shop",
            "where",
            "shop_name",
            "=",
            "value"
        ],
        "question": "List the open date of open year of the shop named \"Apple\".",
        "question_toks": [
            "List",
            "the",
            "open",
            "date",
            "of",
            "open",
            "year",
            "of",
            "the",
            "shop",
            "named",
            "``",
            "Apple",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Apple\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Open_Date ,  Open_Year FROM shop WHERE Shop_Name  =  \"Apple\"",
        "query_toks": [
            "SELECT",
            "Open_Date",
            ",",
            "Open_Year",
            "FROM",
            "shop",
            "WHERE",
            "Shop_Name",
            "=",
            "``",
            "Apple",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "open_date",
            ",",
            "open_year",
            "from",
            "shop",
            "where",
            "shop_name",
            "=",
            "value"
        ],
        "question": "What are the open dates and years for the shop named Apple?",
        "question_toks": [
            "What",
            "are",
            "the",
            "open",
            "dates",
            "and",
            "years",
            "for",
            "the",
            "shop",
            "named",
            "Apple",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Apple\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Shop_Name FROM shop ORDER BY Open_Year DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Shop_Name",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "Open_Year",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "shop_name",
            "from",
            "shop",
            "order",
            "by",
            "open_year",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the name of the shop with the latest open year.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "shop",
            "with",
            "the",
            "latest",
            "open",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Shop_Name FROM shop ORDER BY Open_Year DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Shop_Name",
            "FROM",
            "shop",
            "ORDER",
            "BY",
            "Open_Year",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "shop_name",
            "from",
            "shop",
            "order",
            "by",
            "open_year",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the shop name corresponding to the shop that opened in the most recent year?",
        "question_toks": [
            "What",
            "is",
            "the",
            "shop",
            "name",
            "corresponding",
            "to",
            "the",
            "shop",
            "that",
            "opened",
            "in",
            "the",
            "most",
            "recent",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T3.Shop_Name ,  T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID  =  T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID  =  T3.Shop_ID",
        "query_toks": [
            "SELECT",
            "T3.Shop_Name",
            ",",
            "T2.Carrier",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "device",
            "AS",
            "T2",
            "ON",
            "T1.Device_ID",
            "=",
            "T2.Device_ID",
            "JOIN",
            "shop",
            "AS",
            "T3",
            "ON",
            "T1.Shop_ID",
            "=",
            "T3.Shop_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "shop_name",
            ",",
            "t2",
            ".",
            "carrier",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "device",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "device_id",
            "=",
            "t2",
            ".",
            "device_id",
            "join",
            "shop",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t3",
            ".",
            "shop_id"
        ],
        "question": "Show names of shops and the carriers of devices they have in stock.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "shops",
            "and",
            "the",
            "carriers",
            "of",
            "devices",
            "they",
            "have",
            "in",
            "stock",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T3.Shop_Name ,  T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID  =  T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID  =  T3.Shop_ID",
        "query_toks": [
            "SELECT",
            "T3.Shop_Name",
            ",",
            "T2.Carrier",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "device",
            "AS",
            "T2",
            "ON",
            "T1.Device_ID",
            "=",
            "T2.Device_ID",
            "JOIN",
            "shop",
            "AS",
            "T3",
            "ON",
            "T1.Shop_ID",
            "=",
            "T3.Shop_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "shop_name",
            ",",
            "t2",
            ".",
            "carrier",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "device",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "device_id",
            "=",
            "t2",
            ".",
            "device_id",
            "join",
            "shop",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t3",
            ".",
            "shop_id"
        ],
        "question": "What are the names of device shops, and what are the carriers that they carry devices in stock for?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "device",
            "shops",
            ",",
            "and",
            "what",
            "are",
            "the",
            "carriers",
            "that",
            "they",
            "carry",
            "devices",
            "in",
            "stock",
            "for",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Shop_Name",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "shop",
            "AS",
            "T2",
            "ON",
            "T1.Shop_ID",
            "=",
            "T2.Shop_ID",
            "GROUP",
            "BY",
            "T1.Shop_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "shop_name",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "shop",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "shop_id",
            "group",
            "by",
            "t1",
            ".",
            "shop_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show names of shops that have more than one kind of device in stock.",
        "question_toks": [
            "Show",
            "names",
            "of",
            "shops",
            "that",
            "have",
            "more",
            "than",
            "one",
            "kind",
            "of",
            "device",
            "in",
            "stock",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Shop_Name",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "shop",
            "AS",
            "T2",
            "ON",
            "T1.Shop_ID",
            "=",
            "T2.Shop_ID",
            "GROUP",
            "BY",
            "T1.Shop_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "shop_name",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "shop",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "shop_id",
            "group",
            "by",
            "t1",
            ".",
            "shop_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of shops that have more than a single kind of device in stock?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "shops",
            "that",
            "have",
            "more",
            "than",
            "a",
            "single",
            "kind",
            "of",
            "device",
            "in",
            "stock",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Shop_Name",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "shop",
            "AS",
            "T2",
            "ON",
            "T1.Shop_ID",
            "=",
            "T2.Shop_ID",
            "GROUP",
            "BY",
            "T1.Shop_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "shop_name",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "shop",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "shop_id",
            "group",
            "by",
            "t1",
            ".",
            "shop_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name of the shop that has the most kind of devices in stock.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "the",
            "shop",
            "that",
            "has",
            "the",
            "most",
            "kind",
            "of",
            "devices",
            "in",
            "stock",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Shop_Name",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "shop",
            "AS",
            "T2",
            "ON",
            "T1.Shop_ID",
            "=",
            "T2.Shop_ID",
            "GROUP",
            "BY",
            "T1.Shop_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "shop_name",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "shop",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "shop_id",
            "group",
            "by",
            "t1",
            ".",
            "shop_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the shop that has the most different kinds of devices in stock?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "shop",
            "that",
            "has",
            "the",
            "most",
            "different",
            "kinds",
            "of",
            "devices",
            "in",
            "stock",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Shop_Name",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "shop",
            "AS",
            "T2",
            "ON",
            "T1.Shop_ID",
            "=",
            "T2.Shop_ID",
            "GROUP",
            "BY",
            "T1.Shop_ID",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "T1.quantity",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "shop_name",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "shop",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "shop_id",
            "group",
            "by",
            "t1",
            ".",
            "shop_id",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "quantity",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name of the shop that have the largest quantity of devices in stock.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "the",
            "shop",
            "that",
            "have",
            "the",
            "largest",
            "quantity",
            "of",
            "devices",
            "in",
            "stock",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Shop_Name",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "shop",
            "AS",
            "T2",
            "ON",
            "T1.Shop_ID",
            "=",
            "T2.Shop_ID",
            "GROUP",
            "BY",
            "T1.Shop_ID",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "T1.quantity",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "shop_name",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "shop",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "shop_id",
            "group",
            "by",
            "t1",
            ".",
            "shop_id",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "quantity",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the shop that has the greatest quantity of devices in stock?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "shop",
            "that",
            "has",
            "the",
            "greatest",
            "quantity",
            "of",
            "devices",
            "in",
            "stock",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Software_Platform ,  COUNT(*) FROM device GROUP BY Software_Platform",
        "query_toks": [
            "SELECT",
            "Software_Platform",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "device",
            "GROUP",
            "BY",
            "Software_Platform"
        ],
        "query_toks_no_value": [
            "select",
            "software_platform",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "device",
            "group",
            "by",
            "software_platform"
        ],
        "question": "Please show different software platforms and the corresponding number of devices using each.",
        "question_toks": [
            "Please",
            "show",
            "different",
            "software",
            "platforms",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "devices",
            "using",
            "each",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Software_Platform ,  COUNT(*) FROM device GROUP BY Software_Platform",
        "query_toks": [
            "SELECT",
            "Software_Platform",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "device",
            "GROUP",
            "BY",
            "Software_Platform"
        ],
        "query_toks_no_value": [
            "select",
            "software_platform",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "device",
            "group",
            "by",
            "software_platform"
        ],
        "question": "What are the different software platforms for devices, and how many devices have each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "software",
            "platforms",
            "for",
            "devices",
            ",",
            "and",
            "how",
            "many",
            "devices",
            "have",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "Software_Platform",
            "FROM",
            "device",
            "GROUP",
            "BY",
            "Software_Platform",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "software_platform",
            "from",
            "device",
            "group",
            "by",
            "software_platform",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Please show the software platforms of devices in descending order of the count.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "software",
            "platforms",
            "of",
            "devices",
            "in",
            "descending",
            "order",
            "of",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "Software_Platform",
            "FROM",
            "device",
            "GROUP",
            "BY",
            "Software_Platform",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "software_platform",
            "from",
            "device",
            "group",
            "by",
            "software_platform",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "What are the different software platforms for devices, ordered by frequency descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "software",
            "platforms",
            "for",
            "devices",
            ",",
            "ordered",
            "by",
            "frequency",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Software_Platform",
            "FROM",
            "device",
            "GROUP",
            "BY",
            "Software_Platform",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "software_platform",
            "from",
            "device",
            "group",
            "by",
            "software_platform",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "List the software platform shared by the greatest number of devices.",
        "question_toks": [
            "List",
            "the",
            "software",
            "platform",
            "shared",
            "by",
            "the",
            "greatest",
            "number",
            "of",
            "devices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Software_Platform",
            "FROM",
            "device",
            "GROUP",
            "BY",
            "Software_Platform",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "software_platform",
            "from",
            "device",
            "group",
            "by",
            "software_platform",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the software platform that is most common amongst all devices?",
        "question_toks": [
            "What",
            "is",
            "the",
            "software",
            "platform",
            "that",
            "is",
            "most",
            "common",
            "amongst",
            "all",
            "devices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Shop_Name FROM shop WHERE Shop_ID NOT IN (SELECT Shop_ID FROM stock)",
        "query_toks": [
            "SELECT",
            "Shop_Name",
            "FROM",
            "shop",
            "WHERE",
            "Shop_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Shop_ID",
            "FROM",
            "stock",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "shop_name",
            "from",
            "shop",
            "where",
            "shop_id",
            "not",
            "in",
            "(",
            "select",
            "shop_id",
            "from",
            "stock",
            ")"
        ],
        "question": "List the names of shops that have no devices in stock.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "shops",
            "that",
            "have",
            "no",
            "devices",
            "in",
            "stock",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Shop_Name FROM shop WHERE Shop_ID NOT IN (SELECT Shop_ID FROM stock)",
        "query_toks": [
            "SELECT",
            "Shop_Name",
            "FROM",
            "shop",
            "WHERE",
            "Shop_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Shop_ID",
            "FROM",
            "stock",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "shop_name",
            "from",
            "shop",
            "where",
            "shop_id",
            "not",
            "in",
            "(",
            "select",
            "shop_id",
            "from",
            "stock",
            ")"
        ],
        "question": "What are the names of shops that do not have any devices in stock?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "shops",
            "that",
            "do",
            "not",
            "have",
            "any",
            "devices",
            "in",
            "stock",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT LOCATION FROM shop WHERE Open_Year  >  2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year  <  2008",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "shop",
            "WHERE",
            "Open_Year",
            ">",
            "2012",
            "INTERSECT",
            "SELECT",
            "LOCATION",
            "FROM",
            "shop",
            "WHERE",
            "Open_Year",
            "<",
            "2008"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "shop",
            "where",
            "open_year",
            ">",
            "value",
            "intersect",
            "select",
            "location",
            "from",
            "shop",
            "where",
            "open_year",
            "<",
            "value"
        ],
        "question": "Show the locations shared by shops with open year later than 2012 and shops with open year before 2008.",
        "question_toks": [
            "Show",
            "the",
            "locations",
            "shared",
            "by",
            "shops",
            "with",
            "open",
            "year",
            "later",
            "than",
            "2012",
            "and",
            "shops",
            "with",
            "open",
            "year",
            "before",
            "2008",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        2008.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT LOCATION FROM shop WHERE Open_Year  >  2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year  <  2008",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "shop",
            "WHERE",
            "Open_Year",
            ">",
            "2012",
            "INTERSECT",
            "SELECT",
            "LOCATION",
            "FROM",
            "shop",
            "WHERE",
            "Open_Year",
            "<",
            "2008"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "shop",
            "where",
            "open_year",
            ">",
            "value",
            "intersect",
            "select",
            "location",
            "from",
            "shop",
            "where",
            "open_year",
            "<",
            "value"
        ],
        "question": "Which locations contains both shops that opened after the year 2012 and shops that opened before 2008?",
        "question_toks": [
            "Which",
            "locations",
            "contains",
            "both",
            "shops",
            "that",
            "opened",
            "after",
            "the",
            "year",
            "2012",
            "and",
            "shops",
            "that",
            "opened",
            "before",
            "2008",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        2008.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Carrier FROM device WHERE Device_ID NOT IN (SELECT Device_ID FROM stock)",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "device",
            "WHERE",
            "Device_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Device_ID",
            "FROM",
            "stock",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "device",
            "where",
            "device_id",
            "not",
            "in",
            "(",
            "select",
            "device_id",
            "from",
            "stock",
            ")"
        ],
        "question": "List the carriers of devices that have no devices in stock.",
        "question_toks": [
            "List",
            "the",
            "carriers",
            "of",
            "devices",
            "that",
            "have",
            "no",
            "devices",
            "in",
            "stock",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT Carrier FROM device WHERE Device_ID NOT IN (SELECT Device_ID FROM stock)",
        "query_toks": [
            "SELECT",
            "Carrier",
            "FROM",
            "device",
            "WHERE",
            "Device_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Device_ID",
            "FROM",
            "stock",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "carrier",
            "from",
            "device",
            "where",
            "device_id",
            "not",
            "in",
            "(",
            "select",
            "device_id",
            "from",
            "stock",
            ")"
        ],
        "question": "What are the carriers of devices that are not in stock anywhere?",
        "question_toks": [
            "What",
            "are",
            "the",
            "carriers",
            "of",
            "devices",
            "that",
            "are",
            "not",
            "in",
            "stock",
            "anywhere",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID  =  T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Carrier",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "device",
            "AS",
            "T2",
            "ON",
            "T1.Device_ID",
            "=",
            "T2.Device_ID",
            "GROUP",
            "BY",
            "T1.Device_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "carrier",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "device",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "device_id",
            "=",
            "t2",
            ".",
            "device_id",
            "group",
            "by",
            "t1",
            ".",
            "device_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the carriers of devices in stock at more than one shop.",
        "question_toks": [
            "Show",
            "the",
            "carriers",
            "of",
            "devices",
            "in",
            "stock",
            "at",
            "more",
            "than",
            "one",
            "shop",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "device",
        "query": "SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID  =  T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Carrier",
            "FROM",
            "stock",
            "AS",
            "T1",
            "JOIN",
            "device",
            "AS",
            "T2",
            "ON",
            "T1.Device_ID",
            "=",
            "T2.Device_ID",
            "GROUP",
            "BY",
            "T1.Device_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "carrier",
            "from",
            "stock",
            "as",
            "t1",
            "join",
            "device",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "device_id",
            "=",
            "t2",
            ".",
            "device_id",
            "group",
            "by",
            "t1",
            ".",
            "device_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the carriers of devices that are in stock in more than a single shop?",
        "question_toks": [
            "What",
            "are",
            "the",
            "carriers",
            "of",
            "devices",
            "that",
            "are",
            "in",
            "stock",
            "in",
            "more",
            "than",
            "a",
            "single",
            "shop",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT count(*) FROM BOOKINGS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "BOOKINGS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "bookings"
        ],
        "question": "How many bookings do we have?",
        "question_toks": [
            "How",
            "many",
            "bookings",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT count(*) FROM BOOKINGS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "BOOKINGS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "bookings"
        ],
        "question": "Count the total number of bookings made.",
        "question_toks": [
            "Count",
            "the",
            "total",
            "number",
            "of",
            "bookings",
            "made",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Order_Date FROM BOOKINGS",
        "query_toks": [
            "SELECT",
            "Order_Date",
            "FROM",
            "BOOKINGS"
        ],
        "query_toks_no_value": [
            "select",
            "order_date",
            "from",
            "bookings"
        ],
        "question": "List the order dates of all the bookings.",
        "question_toks": [
            "List",
            "the",
            "order",
            "dates",
            "of",
            "all",
            "the",
            "bookings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Order_Date FROM BOOKINGS",
        "query_toks": [
            "SELECT",
            "Order_Date",
            "FROM",
            "BOOKINGS"
        ],
        "query_toks_no_value": [
            "select",
            "order_date",
            "from",
            "bookings"
        ],
        "question": "What is the order date of each booking?",
        "question_toks": [
            "What",
            "is",
            "the",
            "order",
            "date",
            "of",
            "each",
            "booking",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Planned_Delivery_Date ,  Actual_Delivery_Date FROM BOOKINGS",
        "query_toks": [
            "SELECT",
            "Planned_Delivery_Date",
            ",",
            "Actual_Delivery_Date",
            "FROM",
            "BOOKINGS"
        ],
        "query_toks_no_value": [
            "select",
            "planned_delivery_date",
            ",",
            "actual_delivery_date",
            "from",
            "bookings"
        ],
        "question": "Show all the planned delivery dates and actual delivery dates of bookings.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "planned",
            "delivery",
            "dates",
            "and",
            "actual",
            "delivery",
            "dates",
            "of",
            "bookings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                60,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                61,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Planned_Delivery_Date ,  Actual_Delivery_Date FROM BOOKINGS",
        "query_toks": [
            "SELECT",
            "Planned_Delivery_Date",
            ",",
            "Actual_Delivery_Date",
            "FROM",
            "BOOKINGS"
        ],
        "query_toks_no_value": [
            "select",
            "planned_delivery_date",
            ",",
            "actual_delivery_date",
            "from",
            "bookings"
        ],
        "question": "What are the planned delivery date and actual delivery date for each booking?",
        "question_toks": [
            "What",
            "are",
            "the",
            "planned",
            "delivery",
            "date",
            "and",
            "actual",
            "delivery",
            "date",
            "for",
            "each",
            "booking",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                60,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                61,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT count(*) FROM CUSTOMERS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CUSTOMERS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "How many customers do we have?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT count(*) FROM CUSTOMERS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CUSTOMERS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "Count the number of customers recorded.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "recorded",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Customer_Phone ,  Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name  =  \"Harold\"",
        "query_toks": [
            "SELECT",
            "Customer_Phone",
            ",",
            "Customer_Email_Address",
            "FROM",
            "CUSTOMERS",
            "WHERE",
            "Customer_Name",
            "=",
            "``",
            "Harold",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            ",",
            "customer_email_address",
            "from",
            "customers",
            "where",
            "customer_name",
            "=",
            "value"
        ],
        "question": "What are the phone and email for customer Harold?",
        "question_toks": [
            "What",
            "are",
            "the",
            "phone",
            "and",
            "email",
            "for",
            "customer",
            "Harold",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Harold\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Customer_Phone ,  Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name  =  \"Harold\"",
        "query_toks": [
            "SELECT",
            "Customer_Phone",
            ",",
            "Customer_Email_Address",
            "FROM",
            "CUSTOMERS",
            "WHERE",
            "Customer_Name",
            "=",
            "``",
            "Harold",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            ",",
            "customer_email_address",
            "from",
            "customers",
            "where",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Find the phone number and email address of customer \"Harold\".",
        "question_toks": [
            "Find",
            "the",
            "phone",
            "number",
            "and",
            "email",
            "address",
            "of",
            "customer",
            "``",
            "Harold",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                45,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Harold\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Store_Name FROM Drama_Workshop_Groups",
        "query_toks": [
            "SELECT",
            "Store_Name",
            "FROM",
            "Drama_Workshop_Groups"
        ],
        "query_toks_no_value": [
            "select",
            "store_name",
            "from",
            "drama_workshop_groups"
        ],
        "question": "Show all the Store_Name of drama workshop groups.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "Store_Name",
            "of",
            "drama",
            "workshop",
            "groups",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Store_Name FROM Drama_Workshop_Groups",
        "query_toks": [
            "SELECT",
            "Store_Name",
            "FROM",
            "Drama_Workshop_Groups"
        ],
        "query_toks_no_value": [
            "select",
            "store_name",
            "from",
            "drama_workshop_groups"
        ],
        "question": "What are the store names of drama workshop groups?",
        "question_toks": [
            "What",
            "are",
            "the",
            "store",
            "names",
            "of",
            "drama",
            "workshop",
            "groups",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT min(Order_Quantity) ,  avg(Order_Quantity) ,  max(Order_Quantity) FROM INVOICES",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "Order_Quantity",
            ")",
            ",",
            "avg",
            "(",
            "Order_Quantity",
            ")",
            ",",
            "max",
            "(",
            "Order_Quantity",
            ")",
            "FROM",
            "INVOICES"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "order_quantity",
            ")",
            ",",
            "avg",
            "(",
            "order_quantity",
            ")",
            ",",
            "max",
            "(",
            "order_quantity",
            ")",
            "from",
            "invoices"
        ],
        "question": "Show the minimum, average, maximum order quantity of all invoices.",
        "question_toks": [
            "Show",
            "the",
            "minimum",
            ",",
            "average",
            ",",
            "maximum",
            "order",
            "quantity",
            "of",
            "all",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                81,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                81,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                81,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT min(Order_Quantity) ,  avg(Order_Quantity) ,  max(Order_Quantity) FROM INVOICES",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "Order_Quantity",
            ")",
            ",",
            "avg",
            "(",
            "Order_Quantity",
            ")",
            ",",
            "max",
            "(",
            "Order_Quantity",
            ")",
            "FROM",
            "INVOICES"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "order_quantity",
            ")",
            ",",
            "avg",
            "(",
            "order_quantity",
            ")",
            ",",
            "max",
            "(",
            "order_quantity",
            ")",
            "from",
            "invoices"
        ],
        "question": "What are the minimum, average, and maximum quantities ordered? Check all the invoices.",
        "question_toks": [
            "What",
            "are",
            "the",
            "minimum",
            ",",
            "average",
            ",",
            "and",
            "maximum",
            "quantities",
            "ordered",
            "?",
            "Check",
            "all",
            "the",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                81,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                81,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                81,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT DISTINCT payment_method_code FROM INVOICES",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "payment_method_code",
            "FROM",
            "INVOICES"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "payment_method_code",
            "from",
            "invoices"
        ],
        "question": "What are the distinct payment method codes in all the invoices?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "payment",
            "method",
            "codes",
            "in",
            "all",
            "the",
            "invoices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                79,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT DISTINCT payment_method_code FROM INVOICES",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "payment_method_code",
            "FROM",
            "INVOICES"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "payment_method_code",
            "from",
            "invoices"
        ],
        "question": "Show me the distinct payment method codes from the invoice record.",
        "question_toks": [
            "Show",
            "me",
            "the",
            "distinct",
            "payment",
            "method",
            "codes",
            "from",
            "the",
            "invoice",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                79,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name  =  \"China\"",
        "query_toks": [
            "SELECT",
            "Marketing_Region_Descriptrion",
            "FROM",
            "Marketing_Regions",
            "WHERE",
            "Marketing_Region_Name",
            "=",
            "``",
            "China",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "marketing_region_descriptrion",
            "from",
            "marketing_regions",
            "where",
            "marketing_region_name",
            "=",
            "value"
        ],
        "question": "What is the description of the marketing region China?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "marketing",
            "region",
            "China",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name  =  \"China\"",
        "query_toks": [
            "SELECT",
            "Marketing_Region_Descriptrion",
            "FROM",
            "Marketing_Regions",
            "WHERE",
            "Marketing_Region_Name",
            "=",
            "``",
            "China",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "marketing_region_descriptrion",
            "from",
            "marketing_regions",
            "where",
            "marketing_region_name",
            "=",
            "value"
        ],
        "question": "Find the marketing region description of China?",
        "question_toks": [
            "Find",
            "the",
            "marketing",
            "region",
            "description",
            "of",
            "China",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT DISTINCT Product_Name FROM PRODUCTS WHERE Product_Price  >  (SELECT avg(Product_Price) FROM PRODUCTS)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Product_Name",
            "FROM",
            "PRODUCTS",
            "WHERE",
            "Product_Price",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "Product_Price",
            ")",
            "FROM",
            "PRODUCTS",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_name",
            "from",
            "products",
            "where",
            "product_price",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            ")"
        ],
        "question": "Show all the distinct product names with price higher than the average.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "distinct",
            "product",
            "names",
            "with",
            "price",
            "higher",
            "than",
            "the",
            "average",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT DISTINCT Product_Name FROM PRODUCTS WHERE Product_Price  >  (SELECT avg(Product_Price) FROM PRODUCTS)",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Product_Name",
            "FROM",
            "PRODUCTS",
            "WHERE",
            "Product_Price",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "Product_Price",
            ")",
            "FROM",
            "PRODUCTS",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_name",
            "from",
            "products",
            "where",
            "product_price",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            ")"
        ],
        "question": "What are the distinct names of the products that cost more than the average?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "of",
            "the",
            "products",
            "that",
            "cost",
            "more",
            "than",
            "the",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "PRODUCTS",
            "ORDER",
            "BY",
            "Product_Price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the most expensive product?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "most",
            "expensive",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "PRODUCTS",
            "ORDER",
            "BY",
            "Product_Price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "desc",
            "limit",
            "value"
        ],
        "question": "Tell me the name of the most pricy product.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "name",
            "of",
            "the",
            "most",
            "pricy",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_Name FROM Products ORDER BY Product_Price ASC",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "Products",
            "ORDER",
            "BY",
            "Product_Price",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "asc"
        ],
        "question": "List all product names in ascending order of price.",
        "question_toks": [
            "List",
            "all",
            "product",
            "names",
            "in",
            "ascending",
            "order",
            "of",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_Name FROM Products ORDER BY Product_Price ASC",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "Products",
            "ORDER",
            "BY",
            "Product_Price",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "asc"
        ],
        "question": "Sort the names of products in ascending order of their price.",
        "question_toks": [
            "Sort",
            "the",
            "names",
            "of",
            "products",
            "in",
            "ascending",
            "order",
            "of",
            "their",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Customer_Phone FROM PERFORMERS WHERE Customer_Name  =  \"Ashley\"",
        "query_toks": [
            "SELECT",
            "Customer_Phone",
            "FROM",
            "PERFORMERS",
            "WHERE",
            "Customer_Name",
            "=",
            "``",
            "Ashley",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "performers",
            "where",
            "customer_name",
            "=",
            "value"
        ],
        "question": "What is the phone number of the performer Ashley?",
        "question_toks": [
            "What",
            "is",
            "the",
            "phone",
            "number",
            "of",
            "the",
            "performer",
            "Ashley",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Ashley\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Customer_Phone FROM PERFORMERS WHERE Customer_Name  =  \"Ashley\"",
        "query_toks": [
            "SELECT",
            "Customer_Phone",
            "FROM",
            "PERFORMERS",
            "WHERE",
            "Customer_Name",
            "=",
            "``",
            "Ashley",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_phone",
            "from",
            "performers",
            "where",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Find the phone number of performer \"Ashley\".",
        "question_toks": [
            "Find",
            "the",
            "phone",
            "number",
            "of",
            "performer",
            "``",
            "Ashley",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "\"Ashley\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT payment_method_code ,  count(*) FROM INVOICES GROUP BY payment_method_code",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "INVOICES",
            "GROUP",
            "BY",
            "payment_method_code"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "payment_method_code"
        ],
        "question": "Show all payment method codes and the number of orders for each code.",
        "question_toks": [
            "Show",
            "all",
            "payment",
            "method",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "orders",
            "for",
            "each",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                79,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    79,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT payment_method_code ,  count(*) FROM INVOICES GROUP BY payment_method_code",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "INVOICES",
            "GROUP",
            "BY",
            "payment_method_code"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "invoices",
            "group",
            "by",
            "payment_method_code"
        ],
        "question": "List the distinct payment method codes with the number of orders made",
        "question_toks": [
            "List",
            "the",
            "distinct",
            "payment",
            "method",
            "codes",
            "with",
            "the",
            "number",
            "of",
            "orders",
            "made"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                79,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    79,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT payment_method_code FROM INVOICES GROUP BY payment_method_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            "FROM",
            "INVOICES",
            "GROUP",
            "BY",
            "payment_method_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            "from",
            "invoices",
            "group",
            "by",
            "payment_method_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the payment method code used by the most orders?",
        "question_toks": [
            "What",
            "is",
            "the",
            "payment",
            "method",
            "code",
            "used",
            "by",
            "the",
            "most",
            "orders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                79,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    79,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT payment_method_code FROM INVOICES GROUP BY payment_method_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            "FROM",
            "INVOICES",
            "GROUP",
            "BY",
            "payment_method_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            "from",
            "invoices",
            "group",
            "by",
            "payment_method_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the payment method that is used the most often in all the invoices. Give me its code.",
        "question_toks": [
            "Find",
            "the",
            "payment",
            "method",
            "that",
            "is",
            "used",
            "the",
            "most",
            "often",
            "in",
            "all",
            "the",
            "invoices",
            ".",
            "Give",
            "me",
            "its",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                79,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    79,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T2.Store_Name  =  \"FJA Filming\"",
        "query_toks": [
            "SELECT",
            "T1.City_Town",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Stores",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "WHERE",
            "T2.Store_Name",
            "=",
            "``",
            "FJA",
            "Filming",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city_town",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "store_name",
            "=",
            "value"
        ],
        "question": "Which city is the address of the store named \"FJA Filming\" located in?",
        "question_toks": [
            "Which",
            "city",
            "is",
            "the",
            "address",
            "of",
            "the",
            "store",
            "named",
            "``",
            "FJA",
            "Filming",
            "''",
            "located",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"FJA Filming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T2.Store_Name  =  \"FJA Filming\"",
        "query_toks": [
            "SELECT",
            "T1.City_Town",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Stores",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "WHERE",
            "T2.Store_Name",
            "=",
            "``",
            "FJA",
            "Filming",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city_town",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "store_name",
            "=",
            "value"
        ],
        "question": "Find the city the store named \"FJA Filming\" is in.",
        "question_toks": [
            "Find",
            "the",
            "city",
            "the",
            "store",
            "named",
            "``",
            "FJA",
            "Filming",
            "''",
            "is",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"FJA Filming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.State_County FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T2.Marketing_Region_Code  =  \"CA\"",
        "query_toks": [
            "SELECT",
            "T1.State_County",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Stores",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "WHERE",
            "T2.Marketing_Region_Code",
            "=",
            "``",
            "CA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state_county",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "marketing_region_code",
            "=",
            "value"
        ],
        "question": "What are the states or counties of the address of the stores with marketing region code \"CA\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "states",
            "or",
            "counties",
            "of",
            "the",
            "address",
            "of",
            "the",
            "stores",
            "with",
            "marketing",
            "region",
            "code",
            "``",
            "CA",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ],
                    "\"CA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.State_County FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T2.Marketing_Region_Code  =  \"CA\"",
        "query_toks": [
            "SELECT",
            "T1.State_County",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Stores",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "WHERE",
            "T2.Marketing_Region_Code",
            "=",
            "``",
            "CA",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state_county",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "marketing_region_code",
            "=",
            "value"
        ],
        "question": "Find the states or counties where the stores with marketing region code \"CA\" are located.",
        "question_toks": [
            "Find",
            "the",
            "states",
            "or",
            "counties",
            "where",
            "the",
            "stores",
            "with",
            "marketing",
            "region",
            "code",
            "``",
            "CA",
            "''",
            "are",
            "located",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            48,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ],
                    "\"CA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Marketing_Region_Name FROM Marketing_Regions AS T1 JOIN Stores AS T2 ON T1.Marketing_Region_Code  =  T2.Marketing_Region_Code WHERE T2.Store_Name  =  \"Rob Dinning\"",
        "query_toks": [
            "SELECT",
            "T1.Marketing_Region_Name",
            "FROM",
            "Marketing_Regions",
            "AS",
            "T1",
            "JOIN",
            "Stores",
            "AS",
            "T2",
            "ON",
            "T1.Marketing_Region_Code",
            "=",
            "T2.Marketing_Region_Code",
            "WHERE",
            "T2.Store_Name",
            "=",
            "``",
            "Rob",
            "Dinning",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "marketing_region_name",
            "from",
            "marketing_regions",
            "as",
            "t1",
            "join",
            "stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "marketing_region_code",
            "=",
            "t2",
            ".",
            "marketing_region_code",
            "where",
            "t2",
            ".",
            "store_name",
            "=",
            "value"
        ],
        "question": "What is the name of the marketing region that the store Rob Dinning belongs to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "marketing",
            "region",
            "that",
            "the",
            "store",
            "Rob",
            "Dinning",
            "belongs",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Rob Dinning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Marketing_Region_Name FROM Marketing_Regions AS T1 JOIN Stores AS T2 ON T1.Marketing_Region_Code  =  T2.Marketing_Region_Code WHERE T2.Store_Name  =  \"Rob Dinning\"",
        "query_toks": [
            "SELECT",
            "T1.Marketing_Region_Name",
            "FROM",
            "Marketing_Regions",
            "AS",
            "T1",
            "JOIN",
            "Stores",
            "AS",
            "T2",
            "ON",
            "T1.Marketing_Region_Code",
            "=",
            "T2.Marketing_Region_Code",
            "WHERE",
            "T2.Store_Name",
            "=",
            "``",
            "Rob",
            "Dinning",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "marketing_region_name",
            "from",
            "marketing_regions",
            "as",
            "t1",
            "join",
            "stores",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "marketing_region_code",
            "=",
            "t2",
            ".",
            "marketing_region_code",
            "where",
            "t2",
            ".",
            "store_name",
            "=",
            "value"
        ],
        "question": "Return the name of the marketing region the store Rob Dinning is located in.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "marketing",
            "region",
            "the",
            "store",
            "Rob",
            "Dinning",
            "is",
            "located",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            49,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            50,
                            false
                        ],
                        null
                    ],
                    "\"Rob Dinning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Price  >  100",
        "query_toks": [
            "SELECT",
            "T1.Service_Type_Description",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "WHERE",
            "T2.Product_Price",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_description",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "where",
            "t2",
            ".",
            "product_price",
            ">",
            "value"
        ],
        "question": "What are the descriptions of the service types with product price above 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "descriptions",
            "of",
            "the",
            "service",
            "types",
            "with",
            "product",
            "price",
            "above",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            85,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            89,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Price  >  100",
        "query_toks": [
            "SELECT",
            "T1.Service_Type_Description",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "WHERE",
            "T2.Product_Price",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_description",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "where",
            "t2",
            ".",
            "product_price",
            ">",
            "value"
        ],
        "question": "Give me the descriptions of the service types that cost more than 100.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "descriptions",
            "of",
            "the",
            "service",
            "types",
            "that",
            "cost",
            "more",
            "than",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            85,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            89,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Service_Type_Description ,  T2.Service_Type_Code ,  COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code GROUP BY T2.Service_Type_Code",
        "query_toks": [
            "SELECT",
            "T1.Service_Type_Description",
            ",",
            "T2.Service_Type_Code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "GROUP",
            "BY",
            "T2.Service_Type_Code"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_description",
            ",",
            "t2",
            ".",
            "service_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "group",
            "by",
            "t2",
            ".",
            "service_type_code"
        ],
        "question": "What is the description, code and the corresponding count of each service type?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            ",",
            "code",
            "and",
            "the",
            "corresponding",
            "count",
            "of",
            "each",
            "service",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            85,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                85,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    85,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Service_Type_Description ,  T2.Service_Type_Code ,  COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code GROUP BY T2.Service_Type_Code",
        "query_toks": [
            "SELECT",
            "T1.Service_Type_Description",
            ",",
            "T2.Service_Type_Code",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "GROUP",
            "BY",
            "T2.Service_Type_Code"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_description",
            ",",
            "t2",
            ".",
            "service_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "group",
            "by",
            "t2",
            ".",
            "service_type_code"
        ],
        "question": "List the description, code and the number of services for each service type.",
        "question_toks": [
            "List",
            "the",
            "description",
            ",",
            "code",
            "and",
            "the",
            "number",
            "of",
            "services",
            "for",
            "each",
            "service",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            85,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                85,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    85,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Service_Type_Description , T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Service_Type_Description",
            ",",
            "T1.Service_Type_Code",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "GROUP",
            "BY",
            "T1.Service_Type_Code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_description",
            ",",
            "t1",
            ".",
            "service_type_code",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "group",
            "by",
            "t1",
            ".",
            "service_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the description and code of the type of service that is performed the most often?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "and",
            "code",
            "of",
            "the",
            "type",
            "of",
            "service",
            "that",
            "is",
            "performed",
            "the",
            "most",
            "often",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            85,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Service_Type_Description , T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Service_Type_Description",
            ",",
            "T1.Service_Type_Code",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "GROUP",
            "BY",
            "T1.Service_Type_Code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_description",
            ",",
            "t1",
            ".",
            "service_type_code",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "group",
            "by",
            "t1",
            ".",
            "service_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the description and code of the service type that is performed the most times.",
        "question_toks": [
            "Find",
            "the",
            "description",
            "and",
            "code",
            "of",
            "the",
            "service",
            "type",
            "that",
            "is",
            "performed",
            "the",
            "most",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            85,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Store_Phone ,  T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID",
        "query_toks": [
            "SELECT",
            "T1.Store_Phone",
            ",",
            "T1.Store_Email_Address",
            "FROM",
            "Drama_Workshop_Groups",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Workshop_Group_ID",
            "=",
            "T2.Workshop_Group_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "store_phone",
            ",",
            "t1",
            ".",
            "store_email_address",
            "from",
            "drama_workshop_groups",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "workshop_group_id",
            "=",
            "t2",
            ".",
            "workshop_group_id"
        ],
        "question": "What are the phones and emails of workshop groups in which services are performed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "phones",
            "and",
            "emails",
            "of",
            "workshop",
            "groups",
            "in",
            "which",
            "services",
            "are",
            "performed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            86,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Store_Phone ,  T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID",
        "query_toks": [
            "SELECT",
            "T1.Store_Phone",
            ",",
            "T1.Store_Email_Address",
            "FROM",
            "Drama_Workshop_Groups",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Workshop_Group_ID",
            "=",
            "T2.Workshop_Group_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "store_phone",
            ",",
            "t1",
            ".",
            "store_email_address",
            "from",
            "drama_workshop_groups",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "workshop_group_id",
            "=",
            "t2",
            ".",
            "workshop_group_id"
        ],
        "question": "Give me all the phone numbers and email addresses of the workshop groups where services are performed.",
        "question_toks": [
            "Give",
            "me",
            "all",
            "the",
            "phone",
            "numbers",
            "and",
            "email",
            "addresses",
            "of",
            "the",
            "workshop",
            "groups",
            "where",
            "services",
            "are",
            "performed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            86,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Store_Phone ,  T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID WHERE T2.Product_Name  =  \"film\"",
        "query_toks": [
            "SELECT",
            "T1.Store_Phone",
            ",",
            "T1.Store_Email_Address",
            "FROM",
            "Drama_Workshop_Groups",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Workshop_Group_ID",
            "=",
            "T2.Workshop_Group_ID",
            "WHERE",
            "T2.Product_Name",
            "=",
            "``",
            "film",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "store_phone",
            ",",
            "t1",
            ".",
            "store_email_address",
            "from",
            "drama_workshop_groups",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "workshop_group_id",
            "=",
            "t2",
            ".",
            "workshop_group_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What are the names of workshop groups in which services with product name \"film\" are performed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "workshop",
            "groups",
            "in",
            "which",
            "services",
            "with",
            "product",
            "name",
            "``",
            "film",
            "''",
            "are",
            "performed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            86,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            88,
                            false
                        ],
                        null
                    ],
                    "\"film\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Store_Phone ,  T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID WHERE T2.Product_Name  =  \"film\"",
        "query_toks": [
            "SELECT",
            "T1.Store_Phone",
            ",",
            "T1.Store_Email_Address",
            "FROM",
            "Drama_Workshop_Groups",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Workshop_Group_ID",
            "=",
            "T2.Workshop_Group_ID",
            "WHERE",
            "T2.Product_Name",
            "=",
            "``",
            "film",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "store_phone",
            ",",
            "t1",
            ".",
            "store_email_address",
            "from",
            "drama_workshop_groups",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "workshop_group_id",
            "=",
            "t2",
            ".",
            "workshop_group_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Find the names of the workshop groups where services with product name \"film\" are performed.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "workshop",
            "groups",
            "where",
            "services",
            "with",
            "product",
            "name",
            "``",
            "film",
            "''",
            "are",
            "performed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            86,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            88,
                            false
                        ],
                        null
                    ],
                    "\"film\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_Name ,  avg(Product_Price) FROM PRODUCTS GROUP BY Product_Name",
        "query_toks": [
            "SELECT",
            "Product_Name",
            ",",
            "avg",
            "(",
            "Product_Price",
            ")",
            "FROM",
            "PRODUCTS",
            "GROUP",
            "BY",
            "Product_Name"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            "group",
            "by",
            "product_name"
        ],
        "question": "What are the different product names? What is the average product price for each of them?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "product",
            "names",
            "?",
            "What",
            "is",
            "the",
            "average",
            "product",
            "price",
            "for",
            "each",
            "of",
            "them",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_Name ,  avg(Product_Price) FROM PRODUCTS GROUP BY Product_Name",
        "query_toks": [
            "SELECT",
            "Product_Name",
            ",",
            "avg",
            "(",
            "Product_Price",
            ")",
            "FROM",
            "PRODUCTS",
            "GROUP",
            "BY",
            "Product_Name"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            "group",
            "by",
            "product_name"
        ],
        "question": "For each distinct product name, show its average product price.",
        "question_toks": [
            "For",
            "each",
            "distinct",
            "product",
            "name",
            ",",
            "show",
            "its",
            "average",
            "product",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING avg(Product_Price)  <  1000000",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "PRODUCTS",
            "GROUP",
            "BY",
            "Product_Name",
            "HAVING",
            "avg",
            "(",
            "Product_Price",
            ")",
            "<",
            "1000000"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "group",
            "by",
            "product_name",
            "having",
            "avg",
            "(",
            "product_price",
            ")",
            "<",
            "value"
        ],
        "question": "What are the product names with average product price smaller than 1000000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "product",
            "names",
            "with",
            "average",
            "product",
            "price",
            "smaller",
            "than",
            "1000000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ],
                    1000000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING avg(Product_Price)  <  1000000",
        "query_toks": [
            "SELECT",
            "Product_Name",
            "FROM",
            "PRODUCTS",
            "GROUP",
            "BY",
            "Product_Name",
            "HAVING",
            "avg",
            "(",
            "Product_Price",
            ")",
            "<",
            "1000000"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "group",
            "by",
            "product_name",
            "having",
            "avg",
            "(",
            "product_price",
            ")",
            "<",
            "value"
        ],
        "question": "Find the product names whose average product price is below 1000000.",
        "question_toks": [
            "Find",
            "the",
            "product",
            "names",
            "whose",
            "average",
            "product",
            "price",
            "is",
            "below",
            "1000000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            14,
                            false
                        ],
                        null
                    ],
                    1000000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT sum(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID  =  T2.Product_ID WHERE T2.Product_Name  =  \"photo\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.Order_Quantity",
            ")",
            "FROM",
            "ORDER_ITEMS",
            "AS",
            "T1",
            "JOIN",
            "Products",
            "AS",
            "T2",
            "ON",
            "T1.Product_ID",
            "=",
            "T2.Product_ID",
            "WHERE",
            "T2.Product_Name",
            "=",
            "``",
            "photo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "order_quantity",
            ")",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What are the total order quantities of photo products?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "order",
            "quantities",
            "of",
            "photo",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                74,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"photo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT sum(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID  =  T2.Product_ID WHERE T2.Product_Name  =  \"photo\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.Order_Quantity",
            ")",
            "FROM",
            "ORDER_ITEMS",
            "AS",
            "T1",
            "JOIN",
            "Products",
            "AS",
            "T2",
            "ON",
            "T1.Product_ID",
            "=",
            "T2.Product_ID",
            "WHERE",
            "T2.Product_Name",
            "=",
            "``",
            "photo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "order_quantity",
            ")",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Compute the total order quantities of the product \"photo\".",
        "question_toks": [
            "Compute",
            "the",
            "total",
            "order",
            "quantities",
            "of",
            "the",
            "product",
            "``",
            "photo",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                74,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                75,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"photo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID  =  T2.Product_ID WHERE T2.Product_price  >  2000",
        "query_toks": [
            "SELECT",
            "T1.Other_Item_Details",
            "FROM",
            "ORDER_ITEMS",
            "AS",
            "T1",
            "JOIN",
            "Products",
            "AS",
            "T2",
            "ON",
            "T1.Product_ID",
            "=",
            "T2.Product_ID",
            "WHERE",
            "T2.Product_price",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "other_item_details",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t2",
            ".",
            "product_price",
            ">",
            "value"
        ],
        "question": "What are the order details of the products with price higher than 2000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "order",
            "details",
            "of",
            "the",
            "products",
            "with",
            "price",
            "higher",
            "than",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                74,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                76,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID  =  T2.Product_ID WHERE T2.Product_price  >  2000",
        "query_toks": [
            "SELECT",
            "T1.Other_Item_Details",
            "FROM",
            "ORDER_ITEMS",
            "AS",
            "T1",
            "JOIN",
            "Products",
            "AS",
            "T2",
            "ON",
            "T1.Product_ID",
            "=",
            "T2.Product_ID",
            "WHERE",
            "T2.Product_price",
            ">",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "other_item_details",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t2",
            ".",
            "product_price",
            ">",
            "value"
        ],
        "question": "Find the order detail for the products with price above 2000.",
        "question_toks": [
            "Find",
            "the",
            "order",
            "detail",
            "for",
            "the",
            "products",
            "with",
            "price",
            "above",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                74,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                76,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID  =  T2.Order_ID WHERE T2.Order_Quantity  =  1",
        "query_toks": [
            "SELECT",
            "T1.Actual_Delivery_Date",
            "FROM",
            "Customer_Orders",
            "AS",
            "T1",
            "JOIN",
            "ORDER_ITEMS",
            "AS",
            "T2",
            "ON",
            "T1.Order_ID",
            "=",
            "T2.Order_ID",
            "WHERE",
            "T2.Order_Quantity",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "actual_delivery_date",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t2",
            ".",
            "order_quantity",
            "=",
            "value"
        ],
        "question": "What are the actual delivery dates of orders with quantity 1?",
        "question_toks": [
            "What",
            "are",
            "the",
            "actual",
            "delivery",
            "dates",
            "of",
            "orders",
            "with",
            "quantity",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            73,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                70,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            75,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID  =  T2.Order_ID WHERE T2.Order_Quantity  =  1",
        "query_toks": [
            "SELECT",
            "T1.Actual_Delivery_Date",
            "FROM",
            "Customer_Orders",
            "AS",
            "T1",
            "JOIN",
            "ORDER_ITEMS",
            "AS",
            "T2",
            "ON",
            "T1.Order_ID",
            "=",
            "T2.Order_ID",
            "WHERE",
            "T2.Order_Quantity",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "actual_delivery_date",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t2",
            ".",
            "order_quantity",
            "=",
            "value"
        ],
        "question": "List the actual delivery date for all the orders with quantity 1",
        "question_toks": [
            "List",
            "the",
            "actual",
            "delivery",
            "date",
            "for",
            "all",
            "the",
            "orders",
            "with",
            "quantity",
            "1"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            73,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                70,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            75,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID  =  T2.Order_ID JOIN Products AS T3 ON T2.Product_ID  =  T3.Product_ID WHERE T3.Product_price  >  1000",
        "query_toks": [
            "SELECT",
            "T1.Order_Date",
            "FROM",
            "Customer_Orders",
            "AS",
            "T1",
            "JOIN",
            "ORDER_ITEMS",
            "AS",
            "T2",
            "ON",
            "T1.Order_ID",
            "=",
            "T2.Order_ID",
            "JOIN",
            "Products",
            "AS",
            "T3",
            "ON",
            "T2.Product_ID",
            "=",
            "T3.Product_ID",
            "WHERE",
            "T3.Product_price",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "order_date",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "where",
            "t3",
            ".",
            "product_price",
            ">",
            "value"
        ],
        "question": "What are the order dates of orders with price higher than 1000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "order",
            "dates",
            "of",
            "orders",
            "with",
            "price",
            "higher",
            "than",
            "1000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            73,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                74,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                68,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID  =  T2.Order_ID JOIN Products AS T3 ON T2.Product_ID  =  T3.Product_ID WHERE T3.Product_price  >  1000",
        "query_toks": [
            "SELECT",
            "T1.Order_Date",
            "FROM",
            "Customer_Orders",
            "AS",
            "T1",
            "JOIN",
            "ORDER_ITEMS",
            "AS",
            "T2",
            "ON",
            "T1.Order_ID",
            "=",
            "T2.Order_ID",
            "JOIN",
            "Products",
            "AS",
            "T3",
            "ON",
            "T2.Product_ID",
            "=",
            "T3.Product_ID",
            "WHERE",
            "T3.Product_price",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "order_date",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "where",
            "t3",
            ".",
            "product_price",
            ">",
            "value"
        ],
        "question": "Find the order dates of the orders with price above 1000.",
        "question_toks": [
            "Find",
            "the",
            "order",
            "dates",
            "of",
            "the",
            "orders",
            "with",
            "price",
            "above",
            "1000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            73,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                74,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                68,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT count(DISTINCT Currency_Code) FROM Drama_Workshop_Groups",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Currency_Code",
            ")",
            "FROM",
            "Drama_Workshop_Groups"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "currency_code",
            ")",
            "from",
            "drama_workshop_groups"
        ],
        "question": "How many distinct currency codes are there for all drama workshop groups?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "currency",
            "codes",
            "are",
            "there",
            "for",
            "all",
            "drama",
            "workshop",
            "groups",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT count(DISTINCT Currency_Code) FROM Drama_Workshop_Groups",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Currency_Code",
            ")",
            "FROM",
            "Drama_Workshop_Groups"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "currency_code",
            ")",
            "from",
            "drama_workshop_groups"
        ],
        "question": "Find the number of distinct currency codes used in drama workshop groups.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "currency",
            "codes",
            "used",
            "in",
            "drama",
            "workshop",
            "groups",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T2.Store_Name FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T1.City_Town  =  \"Feliciaberg\"",
        "query_toks": [
            "SELECT",
            "T2.Store_Name",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Drama_Workshop_Groups",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "WHERE",
            "T1.City_Town",
            "=",
            "``",
            "Feliciaberg",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "store_name",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "drama_workshop_groups",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "city_town",
            "=",
            "value"
        ],
        "question": "What are the names of the drama workshop groups with address in Feliciaberg city?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "drama",
            "workshop",
            "groups",
            "with",
            "address",
            "in",
            "Feliciaberg",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Feliciaberg\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T2.Store_Name FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T1.City_Town  =  \"Feliciaberg\"",
        "query_toks": [
            "SELECT",
            "T2.Store_Name",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Drama_Workshop_Groups",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "WHERE",
            "T1.City_Town",
            "=",
            "``",
            "Feliciaberg",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "store_name",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "drama_workshop_groups",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "city_town",
            "=",
            "value"
        ],
        "question": "Return the the names of the drama workshop groups that are located in Feliciaberg city.",
        "question_toks": [
            "Return",
            "the",
            "the",
            "names",
            "of",
            "the",
            "drama",
            "workshop",
            "groups",
            "that",
            "are",
            "located",
            "in",
            "Feliciaberg",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Feliciaberg\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T2.Store_Email_Address FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T1.State_County  =  \"Alaska\"",
        "query_toks": [
            "SELECT",
            "T2.Store_Email_Address",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Drama_Workshop_Groups",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "WHERE",
            "T1.State_County",
            "=",
            "``",
            "Alaska",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "store_email_address",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "drama_workshop_groups",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "state_county",
            "=",
            "value"
        ],
        "question": "What are the email addresses of the drama workshop groups with address in Alaska state?",
        "question_toks": [
            "What",
            "are",
            "the",
            "email",
            "addresses",
            "of",
            "the",
            "drama",
            "workshop",
            "groups",
            "with",
            "address",
            "in",
            "Alaska",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Alaska\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T2.Store_Email_Address FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T1.State_County  =  \"Alaska\"",
        "query_toks": [
            "SELECT",
            "T2.Store_Email_Address",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Drama_Workshop_Groups",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "WHERE",
            "T1.State_County",
            "=",
            "``",
            "Alaska",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "store_email_address",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "drama_workshop_groups",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "state_county",
            "=",
            "value"
        ],
        "question": "List the email addresses of the drama workshop groups located in Alaska state.",
        "question_toks": [
            "List",
            "the",
            "email",
            "addresses",
            "of",
            "the",
            "drama",
            "workshop",
            "groups",
            "located",
            "in",
            "Alaska",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Alaska\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.City_Town ,  count(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID  =  T2.Address_ID GROUP BY T1.City_Town",
        "query_toks": [
            "SELECT",
            "T1.City_Town",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Drama_Workshop_Groups",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "GROUP",
            "BY",
            "T1.City_Town"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city_town",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "drama_workshop_groups",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "group",
            "by",
            "t1",
            ".",
            "city_town"
        ],
        "question": "Show all cities along with the number of drama workshop groups in each city.",
        "question_toks": [
            "Show",
            "all",
            "cities",
            "along",
            "with",
            "the",
            "number",
            "of",
            "drama",
            "workshop",
            "groups",
            "in",
            "each",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.City_Town ,  count(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID  =  T2.Address_ID GROUP BY T1.City_Town",
        "query_toks": [
            "SELECT",
            "T1.City_Town",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Drama_Workshop_Groups",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "GROUP",
            "BY",
            "T1.City_Town"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city_town",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "drama_workshop_groups",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "group",
            "by",
            "t1",
            ".",
            "city_town"
        ],
        "question": "How many drama workshop groups are there in each city? Return both the city and the count.",
        "question_toks": [
            "How",
            "many",
            "drama",
            "workshop",
            "groups",
            "are",
            "there",
            "in",
            "each",
            "city",
            "?",
            "Return",
            "both",
            "the",
            "city",
            "and",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Marketing_Region_Code FROM Drama_Workshop_Groups GROUP BY Marketing_Region_Code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Marketing_Region_Code",
            "FROM",
            "Drama_Workshop_Groups",
            "GROUP",
            "BY",
            "Marketing_Region_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "marketing_region_code",
            "from",
            "drama_workshop_groups",
            "group",
            "by",
            "marketing_region_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the marketing region code that has the most drama workshop groups?",
        "question_toks": [
            "What",
            "is",
            "the",
            "marketing",
            "region",
            "code",
            "that",
            "has",
            "the",
            "most",
            "drama",
            "workshop",
            "groups",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Marketing_Region_Code FROM Drama_Workshop_Groups GROUP BY Marketing_Region_Code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Marketing_Region_Code",
            "FROM",
            "Drama_Workshop_Groups",
            "GROUP",
            "BY",
            "Marketing_Region_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "marketing_region_code",
            "from",
            "drama_workshop_groups",
            "group",
            "by",
            "marketing_region_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which marketing region has the most drama workshop groups? Give me the region code.",
        "question_toks": [
            "Which",
            "marketing",
            "region",
            "has",
            "the",
            "most",
            "drama",
            "workshop",
            "groups",
            "?",
            "Give",
            "me",
            "the",
            "region",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.City_Town FROM Addresses AS T1 JOIN Customers AS T2 ON T1.Address_ID  =  T2.Address_ID EXCEPT SELECT T1.City_Town FROM Addresses AS T1 JOIN Performers AS T2 ON T1.Address_ID  =  T2.Address_ID",
        "query_toks": [
            "SELECT",
            "T1.City_Town",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "EXCEPT",
            "SELECT",
            "T1.City_Town",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Performers",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city_town",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "except",
            "select",
            "t1",
            ".",
            "city_town",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "performers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id"
        ],
        "question": "Show all cities where at least one customer lives in but no performer lives in.",
        "question_toks": [
            "Show",
            "all",
            "cities",
            "where",
            "at",
            "least",
            "one",
            "customer",
            "lives",
            "in",
            "but",
            "no",
            "performer",
            "lives",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.City_Town FROM Addresses AS T1 JOIN Customers AS T2 ON T1.Address_ID  =  T2.Address_ID EXCEPT SELECT T1.City_Town FROM Addresses AS T1 JOIN Performers AS T2 ON T1.Address_ID  =  T2.Address_ID",
        "query_toks": [
            "SELECT",
            "T1.City_Town",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID",
            "EXCEPT",
            "SELECT",
            "T1.City_Town",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Performers",
            "AS",
            "T2",
            "ON",
            "T1.Address_ID",
            "=",
            "T2.Address_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city_town",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "except",
            "select",
            "t1",
            ".",
            "city_town",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "performers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "address_id"
        ],
        "question": "Which cities have at least one customer but no performer?",
        "question_toks": [
            "Which",
            "cities",
            "have",
            "at",
            "least",
            "one",
            "customer",
            "but",
            "no",
            "performer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            7
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Status_Code",
            "FROM",
            "BOOKINGS",
            "GROUP",
            "BY",
            "Status_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "status_code",
            "from",
            "bookings",
            "group",
            "by",
            "status_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most frequent status of bookings?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "frequent",
            "status",
            "of",
            "bookings",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    57,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Status_Code",
            "FROM",
            "BOOKINGS",
            "GROUP",
            "BY",
            "Status_Code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "status_code",
            "from",
            "bookings",
            "group",
            "by",
            "status_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which status code is the most common of all the bookings?",
        "question_toks": [
            "Which",
            "status",
            "code",
            "is",
            "the",
            "most",
            "common",
            "of",
            "all",
            "the",
            "bookings",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                57,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    57,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID WHERE T1.Status_Code  =  \"stop\"",
        "query_toks": [
            "SELECT",
            "T2.Store_Name",
            "FROM",
            "Bookings",
            "AS",
            "T1",
            "JOIN",
            "Drama_Workshop_Groups",
            "AS",
            "T2",
            "ON",
            "T1.Workshop_Group_ID",
            "=",
            "T2.Workshop_Group_ID",
            "WHERE",
            "T1.Status_Code",
            "=",
            "``",
            "stop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "store_name",
            "from",
            "bookings",
            "as",
            "t1",
            "join",
            "drama_workshop_groups",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "workshop_group_id",
            "=",
            "t2",
            ".",
            "workshop_group_id",
            "where",
            "t1",
            ".",
            "status_code",
            "=",
            "value"
        ],
        "question": "What are the names of the workshop groups that have bookings with status code \"stop\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "workshop",
            "groups",
            "that",
            "have",
            "bookings",
            "with",
            "status",
            "code",
            "``",
            "stop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                56,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ],
                    "\"stop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID WHERE T1.Status_Code  =  \"stop\"",
        "query_toks": [
            "SELECT",
            "T2.Store_Name",
            "FROM",
            "Bookings",
            "AS",
            "T1",
            "JOIN",
            "Drama_Workshop_Groups",
            "AS",
            "T2",
            "ON",
            "T1.Workshop_Group_ID",
            "=",
            "T2.Workshop_Group_ID",
            "WHERE",
            "T1.Status_Code",
            "=",
            "``",
            "stop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "store_name",
            "from",
            "bookings",
            "as",
            "t1",
            "join",
            "drama_workshop_groups",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "workshop_group_id",
            "=",
            "t2",
            ".",
            "workshop_group_id",
            "where",
            "t1",
            ".",
            "status_code",
            "=",
            "value"
        ],
        "question": "Which workshop groups have bookings with status code \"stop\"? Give me the names.",
        "question_toks": [
            "Which",
            "workshop",
            "groups",
            "have",
            "bookings",
            "with",
            "status",
            "code",
            "``",
            "stop",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                56,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ],
                    "\"stop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Customer_Name FROM Clients EXCEPT SELECT T2.Customer_Name FROM Bookings AS T1 JOIN Clients AS T2 ON T1.Customer_ID  =  T2.Client_ID",
        "query_toks": [
            "SELECT",
            "Customer_Name",
            "FROM",
            "Clients",
            "EXCEPT",
            "SELECT",
            "T2.Customer_Name",
            "FROM",
            "Bookings",
            "AS",
            "T1",
            "JOIN",
            "Clients",
            "AS",
            "T2",
            "ON",
            "T1.Customer_ID",
            "=",
            "T2.Client_ID"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "clients",
            "except",
            "select",
            "t2",
            ".",
            "customer_name",
            "from",
            "bookings",
            "as",
            "t1",
            "join",
            "clients",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "client_id"
        ],
        "question": "Show the names of all the clients with no booking.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "all",
            "the",
            "clients",
            "with",
            "no",
            "booking",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            10
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    55,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Customer_Name FROM Clients EXCEPT SELECT T2.Customer_Name FROM Bookings AS T1 JOIN Clients AS T2 ON T1.Customer_ID  =  T2.Client_ID",
        "query_toks": [
            "SELECT",
            "Customer_Name",
            "FROM",
            "Clients",
            "EXCEPT",
            "SELECT",
            "T2.Customer_Name",
            "FROM",
            "Bookings",
            "AS",
            "T1",
            "JOIN",
            "Clients",
            "AS",
            "T2",
            "ON",
            "T1.Customer_ID",
            "=",
            "T2.Client_ID"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "clients",
            "except",
            "select",
            "t2",
            ".",
            "customer_name",
            "from",
            "bookings",
            "as",
            "t1",
            "join",
            "clients",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "client_id"
        ],
        "question": "What are the names of the clients who do not have any booking?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "clients",
            "who",
            "do",
            "not",
            "have",
            "any",
            "booking",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            10
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    55,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT avg(Order_Quantity) FROM Invoices WHERE payment_method_code  =  \"MasterCard\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Order_Quantity",
            ")",
            "FROM",
            "Invoices",
            "WHERE",
            "payment_method_code",
            "=",
            "``",
            "MasterCard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "order_quantity",
            ")",
            "from",
            "invoices",
            "where",
            "payment_method_code",
            "=",
            "value"
        ],
        "question": "What is the average quantities ordered with payment method code \"MasterCard\" on invoices?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "quantities",
            "ordered",
            "with",
            "payment",
            "method",
            "code",
            "``",
            "MasterCard",
            "''",
            "on",
            "invoices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                81,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            79,
                            false
                        ],
                        null
                    ],
                    "\"MasterCard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT avg(Order_Quantity) FROM Invoices WHERE payment_method_code  =  \"MasterCard\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Order_Quantity",
            ")",
            "FROM",
            "Invoices",
            "WHERE",
            "payment_method_code",
            "=",
            "``",
            "MasterCard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "order_quantity",
            ")",
            "from",
            "invoices",
            "where",
            "payment_method_code",
            "=",
            "value"
        ],
        "question": "Check the invoices record and compute the average quantities ordered with the payment method \"MasterCard\".",
        "question_toks": [
            "Check",
            "the",
            "invoices",
            "record",
            "and",
            "compute",
            "the",
            "average",
            "quantities",
            "ordered",
            "with",
            "the",
            "payment",
            "method",
            "``",
            "MasterCard",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                81,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            79,
                            false
                        ],
                        null
                    ],
                    "\"MasterCard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Product_ID",
            "FROM",
            "INVOICES",
            "GROUP",
            "BY",
            "Product_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "invoices",
            "group",
            "by",
            "product_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the product ID of the most frequently ordered item on invoices?",
        "question_toks": [
            "What",
            "is",
            "the",
            "product",
            "ID",
            "of",
            "the",
            "most",
            "frequently",
            "ordered",
            "item",
            "on",
            "invoices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                80,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    80,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Product_ID",
            "FROM",
            "INVOICES",
            "GROUP",
            "BY",
            "Product_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "invoices",
            "group",
            "by",
            "product_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id of the product ordered the most often on invoices.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "product",
            "ordered",
            "the",
            "most",
            "often",
            "on",
            "invoices",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                80,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    80,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Name  =  'photo' INTERSECT SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Name  =  'film'",
        "query_toks": [
            "SELECT",
            "T1.Service_Type_Description",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "WHERE",
            "T2.Product_Name",
            "=",
            "'photo",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.Service_Type_Description",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "WHERE",
            "T2.Product_Name",
            "=",
            "'film",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_description",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "service_type_description",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What is the description of the service type which offers both the photo product and the film product?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "service",
            "type",
            "which",
            "offers",
            "both",
            "the",
            "photo",
            "product",
            "and",
            "the",
            "film",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            85,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            88,
                            false
                        ],
                        null
                    ],
                    "\"photo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            15
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                85,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                88,
                                false
                            ],
                            null
                        ],
                        "\"film\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Drama_Workshop_Groups",
        "query": "SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Name  =  'photo' INTERSECT SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Name  =  'film'",
        "query_toks": [
            "SELECT",
            "T1.Service_Type_Description",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "WHERE",
            "T2.Product_Name",
            "=",
            "'photo",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.Service_Type_Description",
            "FROM",
            "Ref_Service_Types",
            "AS",
            "T1",
            "JOIN",
            "Services",
            "AS",
            "T2",
            "ON",
            "T1.Service_Type_Code",
            "=",
            "T2.Service_Type_Code",
            "WHERE",
            "T2.Product_Name",
            "=",
            "'film",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "service_type_description",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "service_type_description",
            "from",
            "ref_service_types",
            "as",
            "t1",
            "join",
            "services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_type_code",
            "=",
            "t2",
            ".",
            "service_type_code",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Give me the description of the service type that offers not only the photo product but also the film product.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "description",
            "of",
            "the",
            "service",
            "type",
            "that",
            "offers",
            "not",
            "only",
            "the",
            "photo",
            "product",
            "but",
            "also",
            "the",
            "film",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        15
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            85,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            88,
                            false
                        ],
                        null
                    ],
                    "\"photo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            15
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                85,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                88,
                                false
                            ],
                            null
                        ],
                        "\"film\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM Band",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Band"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "band"
        ],
        "question": "How many bands are there?",
        "question_toks": [
            "How",
            "many",
            "bands",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM Band",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Band"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "band"
        ],
        "question": "Find the number of bands.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "bands",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT label FROM Albums",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "label",
            "FROM",
            "Albums"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "label",
            "from",
            "albums"
        ],
        "question": "What are all the labels?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "labels",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT label FROM Albums",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "label",
            "FROM",
            "Albums"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "label",
            "from",
            "albums"
        ],
        "question": "What are the different album labels listed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "album",
            "labels",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT * FROM Albums WHERE YEAR  =  2012",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "Albums",
            "WHERE",
            "YEAR",
            "=",
            "2012"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "albums",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Find all the albums in 2012.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "albums",
            "in",
            "2012",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT * FROM Albums WHERE YEAR  =  2012",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "Albums",
            "WHERE",
            "YEAR",
            "=",
            "2012"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "albums",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "return all columns of the albums created in the year of 2012.",
        "question_toks": [
            "return",
            "all",
            "columns",
            "of",
            "the",
            "albums",
            "created",
            "in",
            "the",
            "year",
            "of",
            "2012",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id WHERE Firstname  =  \"Solveig\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.stageposition",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "Firstname",
            "=",
            "``",
            "Solveig",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "stageposition",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "firstname",
            "=",
            "value"
        ],
        "question": "Find all the stage positions of the musicians with first name \"Solveig\"",
        "question_toks": [
            "Find",
            "all",
            "the",
            "stage",
            "positions",
            "of",
            "the",
            "musicians",
            "with",
            "first",
            "name",
            "``",
            "Solveig",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Solveig\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id WHERE Firstname  =  \"Solveig\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.stageposition",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "Firstname",
            "=",
            "``",
            "Solveig",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "stageposition",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "firstname",
            "=",
            "value"
        ],
        "question": "What are the different stage positions for all musicians whose first name is \"Solveig\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "stage",
            "positions",
            "for",
            "all",
            "musicians",
            "whose",
            "first",
            "name",
            "is",
            "``",
            "Solveig",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Solveig\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM Songs",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Songs"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "songs"
        ],
        "question": "How many songs are there?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM Songs",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Songs"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "songs"
        ],
        "question": "Count the number of songs.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "songs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T2.Lastname  =  \"Heilo\"",
        "query_toks": [
            "SELECT",
            "T3.Title",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T2.Lastname",
            "=",
            "``",
            "Heilo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find all the songs performed by artist with last name \"Heilo\"",
        "question_toks": [
            "Find",
            "all",
            "the",
            "songs",
            "performed",
            "by",
            "artist",
            "with",
            "last",
            "name",
            "``",
            "Heilo",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T2.Lastname  =  \"Heilo\"",
        "query_toks": [
            "SELECT",
            "T3.Title",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T2.Lastname",
            "=",
            "``",
            "Heilo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "What are the names of the songs by the artist whose last name is \"Heilo\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "songs",
            "by",
            "the",
            "artist",
            "whose",
            "last",
            "name",
            "is",
            "``",
            "Heilo",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id JOIN songs AS T3 ON T3.songid  =  T1.songid WHERE T3.Title  =  \"Flash\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "performance",
            "AS",
            "T1",
            "JOIN",
            "band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "songs",
            "AS",
            "T3",
            "ON",
            "T3.songid",
            "=",
            "T1.songid",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Flash",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Hom many musicians performed in the song \"Flash\"?",
        "question_toks": [
            "Hom",
            "many",
            "musicians",
            "performed",
            "in",
            "the",
            "song",
            "``",
            "Flash",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Flash\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id JOIN songs AS T3 ON T3.songid  =  T1.songid WHERE T3.Title  =  \"Flash\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "performance",
            "AS",
            "T1",
            "JOIN",
            "band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "songs",
            "AS",
            "T3",
            "ON",
            "T3.songid",
            "=",
            "T1.songid",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Flash",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "How many musicians play in the song \"Flash\"?",
        "question_toks": [
            "How",
            "many",
            "musicians",
            "play",
            "in",
            "the",
            "song",
            "``",
            "Flash",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Flash\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T2.firstname  =  \"Marianne\"",
        "query_toks": [
            "SELECT",
            "T3.Title",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "Marianne",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value"
        ],
        "question": "Find all the songs produced by artists with first name \"Marianne\".",
        "question_toks": [
            "Find",
            "all",
            "the",
            "songs",
            "produced",
            "by",
            "artists",
            "with",
            "first",
            "name",
            "``",
            "Marianne",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Marianne\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T2.firstname  =  \"Marianne\"",
        "query_toks": [
            "SELECT",
            "T3.Title",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T2.firstname",
            "=",
            "``",
            "Marianne",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t2",
            ".",
            "firstname",
            "=",
            "value"
        ],
        "question": "What are the names of all songs produced by the artist with the first name \"Marianne\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "songs",
            "produced",
            "by",
            "the",
            "artist",
            "with",
            "the",
            "first",
            "name",
            "``",
            "Marianne",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Marianne\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  \"Badlands\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Badlands",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who performed the song named \"Badlands\"? Show the first name and the last name.",
        "question_toks": [
            "Who",
            "performed",
            "the",
            "song",
            "named",
            "``",
            "Badlands",
            "''",
            "?",
            "Show",
            "the",
            "first",
            "name",
            "and",
            "the",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  \"Badlands\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Badlands",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the first and last names of the artist who perfomed the song \"Badlands\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "artist",
            "who",
            "perfomed",
            "the",
            "song",
            "``",
            "Badlands",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  \"Badlands\" AND T1.StagePosition  =  \"back\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Badlands",
            "''",
            "AND",
            "T1.StagePosition",
            "=",
            "``",
            "back",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "stageposition",
            "=",
            "value"
        ],
        "question": "Who is performing in the back stage position for the song \"Badlands\"? Show the first name and the last name.",
        "question_toks": [
            "Who",
            "is",
            "performing",
            "in",
            "the",
            "back",
            "stage",
            "position",
            "for",
            "the",
            "song",
            "``",
            "Badlands",
            "''",
            "?",
            "Show",
            "the",
            "first",
            "name",
            "and",
            "the",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"back\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  \"Badlands\" AND T1.StagePosition  =  \"back\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Badlands",
            "''",
            "AND",
            "T1.StagePosition",
            "=",
            "``",
            "back",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "stageposition",
            "=",
            "value"
        ],
        "question": "What are the first and last names of the performer who was in the back stage position for the song \"Badlands\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "the",
            "performer",
            "who",
            "was",
            "in",
            "the",
            "back",
            "stage",
            "position",
            "for",
            "the",
            "song",
            "``",
            "Badlands",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"back\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT label) FROM albums",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "label",
            ")",
            "FROM",
            "albums"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "label",
            ")",
            "from",
            "albums"
        ],
        "question": "How many unique labels are there for albums?",
        "question_toks": [
            "How",
            "many",
            "unique",
            "labels",
            "are",
            "there",
            "for",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT label) FROM albums",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "label",
            ")",
            "FROM",
            "albums"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "label",
            ")",
            "from",
            "albums"
        ],
        "question": "What are the unique labels for the albums?",
        "question_toks": [
            "What",
            "are",
            "the",
            "unique",
            "labels",
            "for",
            "the",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT label FROM albums GROUP BY label ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "label",
            "FROM",
            "albums",
            "GROUP",
            "BY",
            "label",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "label",
            "from",
            "albums",
            "group",
            "by",
            "label",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the label that has the most albums?",
        "question_toks": [
            "What",
            "is",
            "the",
            "label",
            "that",
            "has",
            "the",
            "most",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT label FROM albums GROUP BY label ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "label",
            "FROM",
            "albums",
            "GROUP",
            "BY",
            "label",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "label",
            "from",
            "albums",
            "group",
            "by",
            "label",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the label with the most albums?",
        "question_toks": [
            "What",
            "is",
            "the",
            "label",
            "with",
            "the",
            "most",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "GROUP",
            "BY",
            "lastname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "group",
            "by",
            "lastname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the musician that have produced the most number of songs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "musician",
            "that",
            "have",
            "produced",
            "the",
            "most",
            "number",
            "of",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "GROUP",
            "BY",
            "lastname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "group",
            "by",
            "lastname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the musician who was in the most songs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "musician",
            "who",
            "was",
            "in",
            "the",
            "most",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id WHERE stageposition  =  \"back\" GROUP BY lastname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "stageposition",
            "=",
            "``",
            "back",
            "''",
            "GROUP",
            "BY",
            "lastname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "stageposition",
            "=",
            "value",
            "group",
            "by",
            "lastname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the musician that has been at the back position the most?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "musician",
            "that",
            "has",
            "been",
            "at",
            "the",
            "back",
            "position",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"back\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id WHERE stageposition  =  \"back\" GROUP BY lastname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "stageposition",
            "=",
            "``",
            "back",
            "''",
            "GROUP",
            "BY",
            "lastname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "stageposition",
            "=",
            "value",
            "group",
            "by",
            "lastname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the musicians who has played back position the most?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "musicians",
            "who",
            "has",
            "played",
            "back",
            "position",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"back\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT title FROM songs WHERE title LIKE '% the %'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "songs",
            "WHERE",
            "title",
            "LIKE",
            "'",
            "%",
            "the",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "songs",
            "where",
            "title",
            "like",
            "value"
        ],
        "question": "Find all the songs whose name contains the word \"the\".",
        "question_toks": [
            "Find",
            "all",
            "the",
            "songs",
            "whose",
            "name",
            "contains",
            "the",
            "word",
            "``",
            "the",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"% the %\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT title FROM songs WHERE title LIKE '% the %'",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "songs",
            "WHERE",
            "title",
            "LIKE",
            "'",
            "%",
            "the",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "songs",
            "where",
            "title",
            "like",
            "value"
        ],
        "question": "What are the names of the songs whose title has the word \"the\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "songs",
            "whose",
            "title",
            "has",
            "the",
            "word",
            "``",
            "the",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"% the %\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT instrument FROM Instruments",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "instrument",
            "FROM",
            "Instruments"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "instrument",
            "from",
            "instruments"
        ],
        "question": "What are all the instruments used?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "instruments",
            "used",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT instrument FROM Instruments",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "instrument",
            "FROM",
            "Instruments"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "instrument",
            "from",
            "instruments"
        ],
        "question": "What are the different instruments listed in the database?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "instruments",
            "listed",
            "in",
            "the",
            "database",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  \"Heilo\" AND T3.title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "T4.instrument",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "JOIN",
            "Instruments",
            "AS",
            "T4",
            "ON",
            "T4.songid",
            "=",
            "T3.songid",
            "AND",
            "T4.bandmateid",
            "=",
            "T2.id",
            "WHERE",
            "T2.lastname",
            "=",
            "``",
            "Heilo",
            "''",
            "AND",
            "T3.title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "instrument",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "join",
            "instruments",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "and",
            "t4",
            ".",
            "bandmateid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What instrument did the musician with last name \"Heilo\" use in the song \"Le Pop\"?",
        "question_toks": [
            "What",
            "instrument",
            "did",
            "the",
            "musician",
            "with",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "use",
            "in",
            "the",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  \"Heilo\" AND T3.title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "T4.instrument",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "JOIN",
            "Instruments",
            "AS",
            "T4",
            "ON",
            "T4.songid",
            "=",
            "T3.songid",
            "AND",
            "T4.bandmateid",
            "=",
            "T2.id",
            "WHERE",
            "T2.lastname",
            "=",
            "``",
            "Heilo",
            "''",
            "AND",
            "T3.title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "instrument",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "join",
            "instruments",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "and",
            "t4",
            ".",
            "bandmateid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What instruments did the musician with the last name \"Heilo\" play in the song \"Le Pop\"?",
        "question_toks": [
            "What",
            "instruments",
            "did",
            "the",
            "musician",
            "with",
            "the",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "play",
            "in",
            "the",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT instrument FROM instruments GROUP BY instrument ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "instrument",
            "FROM",
            "instruments",
            "GROUP",
            "BY",
            "instrument",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "instrument",
            "from",
            "instruments",
            "group",
            "by",
            "instrument",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most used instrument?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "used",
            "instrument",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT instrument FROM instruments GROUP BY instrument ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "instrument",
            "FROM",
            "instruments",
            "GROUP",
            "BY",
            "instrument",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "instrument",
            "from",
            "instruments",
            "group",
            "by",
            "instrument",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What instrument is used the most?",
        "question_toks": [
            "What",
            "instrument",
            "is",
            "used",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM instruments WHERE instrument  =  \"drums\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "instruments",
            "WHERE",
            "instrument",
            "=",
            "``",
            "drums",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "instruments",
            "where",
            "instrument",
            "=",
            "value"
        ],
        "question": "How many songs have used the instrument \"drums\"?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "have",
            "used",
            "the",
            "instrument",
            "``",
            "drums",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"drums\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM instruments WHERE instrument  =  \"drums\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "instruments",
            "WHERE",
            "instrument",
            "=",
            "``",
            "drums",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "instruments",
            "where",
            "instrument",
            "=",
            "value"
        ],
        "question": "How many songs use drums as an instrument?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "use",
            "drums",
            "as",
            "an",
            "instrument",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"drums\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "instrument",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "instrument",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What instruments does the the song \"Le Pop\" use?",
        "question_toks": [
            "What",
            "instruments",
            "does",
            "the",
            "the",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "use",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "instrument",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "instrument",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What are the instruments are used in the song \"Le Pop\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "instruments",
            "are",
            "used",
            "in",
            "the",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "instrument",
            ")",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "instrument",
            ")",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "How many instruments does the song \"Le Pop\" use?",
        "question_toks": [
            "How",
            "many",
            "instruments",
            "does",
            "the",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "use",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "instrument",
            ")",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "instrument",
            ")",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "How many different instruments are used in the song \"Le Pop\"?",
        "question_toks": [
            "How",
            "many",
            "different",
            "instruments",
            "are",
            "used",
            "in",
            "the",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  \"Heilo\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "instrument",
            ")",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmateid",
            "=",
            "T2.id",
            "WHERE",
            "T2.lastname",
            "=",
            "``",
            "Heilo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "instrument",
            ")",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmateid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many instrument does the musician with last name \"Heilo\" use?",
        "question_toks": [
            "How",
            "many",
            "instrument",
            "does",
            "the",
            "musician",
            "with",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "use",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  \"Heilo\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "instrument",
            ")",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmateid",
            "=",
            "T2.id",
            "WHERE",
            "T2.lastname",
            "=",
            "``",
            "Heilo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "instrument",
            ")",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmateid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "How many different instruments does the musician with the last name \"Heilo\" use?",
        "question_toks": [
            "How",
            "many",
            "different",
            "instruments",
            "does",
            "the",
            "musician",
            "with",
            "the",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "use",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT instrument FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  \"Heilo\"",
        "query_toks": [
            "SELECT",
            "instrument",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmateid",
            "=",
            "T2.id",
            "WHERE",
            "T2.lastname",
            "=",
            "``",
            "Heilo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "instrument",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmateid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "Find all the instruments ever used by the musician with last name \"Heilo\"?",
        "question_toks": [
            "Find",
            "all",
            "the",
            "instruments",
            "ever",
            "used",
            "by",
            "the",
            "musician",
            "with",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT instrument FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  \"Heilo\"",
        "query_toks": [
            "SELECT",
            "instrument",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmateid",
            "=",
            "T2.id",
            "WHERE",
            "T2.lastname",
            "=",
            "``",
            "Heilo",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "instrument",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmateid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value"
        ],
        "question": "What are all the instruments used by the musician with the last name \"Heilo\"?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "instruments",
            "used",
            "by",
            "the",
            "musician",
            "with",
            "the",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid GROUP BY T1.songid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "GROUP",
            "BY",
            "T1.songid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "group",
            "by",
            "t1",
            ".",
            "songid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which song has the most vocals?",
        "question_toks": [
            "Which",
            "song",
            "has",
            "the",
            "most",
            "vocals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid GROUP BY T1.songid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "GROUP",
            "BY",
            "T1.songid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "group",
            "by",
            "t1",
            ".",
            "songid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the song with the most vocals?",
        "question_toks": [
            "What",
            "is",
            "the",
            "song",
            "with",
            "the",
            "most",
            "vocals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which vocal type is the most frequently appearring type?",
        "question_toks": [
            "Which",
            "vocal",
            "type",
            "is",
            "the",
            "most",
            "frequently",
            "appearring",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the type of vocables that appears most frequently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "of",
            "vocables",
            "that",
            "appears",
            "most",
            "frequently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE lastname  =  \"Heilo\" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "lastname",
            "=",
            "``",
            "Heilo",
            "''",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "lastname",
            "=",
            "value",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which vocal type has the band mate with last name \"Heilo\" played the most?",
        "question_toks": [
            "Which",
            "vocal",
            "type",
            "has",
            "the",
            "band",
            "mate",
            "with",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "played",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE lastname  =  \"Heilo\" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "lastname",
            "=",
            "``",
            "Heilo",
            "''",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "lastname",
            "=",
            "value",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the type of vocals that the band member with the last name \"Heilo\" played the most?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "of",
            "vocals",
            "that",
            "the",
            "band",
            "member",
            "with",
            "the",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "played",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What are the vocal types used in song \"Le Pop\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "vocal",
            "types",
            "used",
            "in",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What are the types of vocals used in the song \"Le Pop\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "vocals",
            "used",
            "in",
            "the",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Demon Kitty Rag\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Demon",
            "Kitty",
            "Rag",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "Find the number of vocal types used in song \"Demon Kitty Rag\"?",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "vocal",
            "types",
            "used",
            "in",
            "song",
            "``",
            "Demon",
            "Kitty",
            "Rag",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Demon Kitty Rag\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Demon Kitty Rag\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Demon",
            "Kitty",
            "Rag",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What are the types of vocals used in the song \"Demon Kitty Rag\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "vocals",
            "used",
            "in",
            "the",
            "song",
            "``",
            "Demon",
            "Kitty",
            "Rag",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Demon Kitty Rag\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  \"lead\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "title",
            ")",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "lead",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "title",
            ")",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "How many songs have a lead vocal?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "have",
            "a",
            "lead",
            "vocal",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"lead\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  \"lead\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "title",
            ")",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "lead",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "title",
            ")",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "How many songs have vocals of type lead?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "have",
            "vocals",
            "of",
            "type",
            "lead",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"lead\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid JOIN band AS T3 ON T1.bandmate  =  T3.id WHERE T3.firstname  =  \"Solveig\" AND T2.title  =  \"A Bar In Amsterdam\"",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "JOIN",
            "band",
            "AS",
            "T3",
            "ON",
            "T1.bandmate",
            "=",
            "T3.id",
            "WHERE",
            "T3.firstname",
            "=",
            "``",
            "Solveig",
            "''",
            "AND",
            "T2.title",
            "=",
            "``",
            "A",
            "Bar",
            "In",
            "Amsterdam",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "join",
            "band",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Which vocal type did the musician with first name \"Solveig\" played in the song with title \"A Bar in Amsterdam\"?",
        "question_toks": [
            "Which",
            "vocal",
            "type",
            "did",
            "the",
            "musician",
            "with",
            "first",
            "name",
            "``",
            "Solveig",
            "''",
            "played",
            "in",
            "the",
            "song",
            "with",
            "title",
            "``",
            "A",
            "Bar",
            "in",
            "Amsterdam",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Solveig\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"A Bar In Amsterdam\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid JOIN band AS T3 ON T1.bandmate  =  T3.id WHERE T3.firstname  =  \"Solveig\" AND T2.title  =  \"A Bar In Amsterdam\"",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "JOIN",
            "band",
            "AS",
            "T3",
            "ON",
            "T1.bandmate",
            "=",
            "T3.id",
            "WHERE",
            "T3.firstname",
            "=",
            "``",
            "Solveig",
            "''",
            "AND",
            "T2.title",
            "=",
            "``",
            "A",
            "Bar",
            "In",
            "Amsterdam",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "join",
            "band",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "firstname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the types of vocals that the musician with the first name \"Solveig\" played in the song \"A Bar in Amsterdam\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "vocals",
            "that",
            "the",
            "musician",
            "with",
            "the",
            "first",
            "name",
            "``",
            "Solveig",
            "''",
            "played",
            "in",
            "the",
            "song",
            "``",
            "A",
            "Bar",
            "in",
            "Amsterdam",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Solveig\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"A Bar In Amsterdam\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  \"lead\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "EXCEPT",
            "SELECT",
            "t2.title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "lead",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "except",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "Find all the songs that do not have a lead vocal.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "songs",
            "that",
            "do",
            "not",
            "have",
            "a",
            "lead",
            "vocal",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    20,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"lead\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  \"lead\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "EXCEPT",
            "SELECT",
            "t2.title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "lead",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "except",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "What are the names of the songs without a lead vocal?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "songs",
            "without",
            "a",
            "lead",
            "vocal",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    20,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"lead\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT TYPE FROM vocals",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "TYPE",
            "FROM",
            "vocals"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "type",
            "from",
            "vocals"
        ],
        "question": "Find all the vocal types.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "vocal",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT TYPE FROM vocals",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "TYPE",
            "FROM",
            "vocals"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "type",
            "from",
            "vocals"
        ],
        "question": "What are the different types of vocals?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "types",
            "of",
            "vocals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT * FROM Albums WHERE YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "Albums",
            "WHERE",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "albums",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are the albums produced in year 2010?",
        "question_toks": [
            "What",
            "are",
            "the",
            "albums",
            "produced",
            "in",
            "year",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT * FROM Albums WHERE YEAR  =  2010",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "Albums",
            "WHERE",
            "YEAR",
            "=",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "albums",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What information is there on albums from 2010?",
        "question_toks": [
            "What",
            "information",
            "is",
            "there",
            "on",
            "albums",
            "from",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who performed the song named \"Le Pop\"?",
        "question_toks": [
            "Who",
            "performed",
            "the",
            "song",
            "named",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What is the first and last name of artist who performed \"Le Pop\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "artist",
            "who",
            "performed",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "GROUP",
            "BY",
            "lastname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "group",
            "by",
            "lastname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the musician that have produced the most songs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "musician",
            "that",
            "have",
            "produced",
            "the",
            "most",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "GROUP",
            "BY",
            "lastname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "group",
            "by",
            "lastname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the artist who sang the most songs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "artist",
            "who",
            "sang",
            "the",
            "most",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  \"Heilo\" AND T3.title  =  \"Badlands\"",
        "query_toks": [
            "SELECT",
            "T4.instrument",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "JOIN",
            "Instruments",
            "AS",
            "T4",
            "ON",
            "T4.songid",
            "=",
            "T3.songid",
            "AND",
            "T4.bandmateid",
            "=",
            "T2.id",
            "WHERE",
            "T2.lastname",
            "=",
            "``",
            "Heilo",
            "''",
            "AND",
            "T3.title",
            "=",
            "``",
            "Badlands",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "instrument",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "join",
            "instruments",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "and",
            "t4",
            ".",
            "bandmateid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What instrument did the musician with last name \"Heilo\" use in the song \"Badlands\"?",
        "question_toks": [
            "What",
            "instrument",
            "did",
            "the",
            "musician",
            "with",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "use",
            "in",
            "the",
            "song",
            "``",
            "Badlands",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  \"Heilo\" AND T3.title  =  \"Badlands\"",
        "query_toks": [
            "SELECT",
            "T4.instrument",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "JOIN",
            "Instruments",
            "AS",
            "T4",
            "ON",
            "T4.songid",
            "=",
            "T3.songid",
            "AND",
            "T4.bandmateid",
            "=",
            "T2.id",
            "WHERE",
            "T2.lastname",
            "=",
            "``",
            "Heilo",
            "''",
            "AND",
            "T3.title",
            "=",
            "``",
            "Badlands",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "instrument",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "join",
            "instruments",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "and",
            "t4",
            ".",
            "bandmateid",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "lastname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What instruments did the musician with the last name \"Heilo\" play in \"Badlands\"?",
        "question_toks": [
            "What",
            "instruments",
            "did",
            "the",
            "musician",
            "with",
            "the",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "play",
            "in",
            "``",
            "Badlands",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Badlands\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "instrument",
            ")",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Badlands",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "instrument",
            ")",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "How many instruments does the song \"Badlands\" use?",
        "question_toks": [
            "How",
            "many",
            "instruments",
            "does",
            "the",
            "song",
            "``",
            "Badlands",
            "''",
            "use",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Badlands\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "instrument",
            ")",
            "FROM",
            "instruments",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Badlands",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "instrument",
            ")",
            "from",
            "instruments",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "How many different instruments are used in the song \"Badlands\"?",
        "question_toks": [
            "How",
            "many",
            "different",
            "instruments",
            "are",
            "used",
            "in",
            "the",
            "song",
            "``",
            "Badlands",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Badlands\"",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Badlands",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What are the vocal types used in song \"Badlands\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "vocal",
            "types",
            "used",
            "in",
            "song",
            "``",
            "Badlands",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Badlands\"",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Badlands",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What types of vocals are used in the song \"Badlands\"?",
        "question_toks": [
            "What",
            "types",
            "of",
            "vocals",
            "are",
            "used",
            "in",
            "the",
            "song",
            "``",
            "Badlands",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Badlands\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "Find the number of vocal types used in song \"Le Pop\"",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "vocal",
            "types",
            "used",
            "in",
            "song",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  \"Le Pop\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "title",
            "=",
            "``",
            "Le",
            "Pop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "How many vocal types are used in the song \"Le Pop\"?",
        "question_toks": [
            "How",
            "many",
            "vocal",
            "types",
            "are",
            "used",
            "in",
            "the",
            "song",
            "``",
            "Le",
            "Pop",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Le Pop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  \"shared\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "title",
            ")",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "shared",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "title",
            ")",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "How many songs have a shared vocal?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "have",
            "a",
            "shared",
            "vocal",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"shared\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  \"shared\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "title",
            ")",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "shared",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "title",
            ")",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "How many different songs have shared vocals?",
        "question_toks": [
            "How",
            "many",
            "different",
            "songs",
            "have",
            "shared",
            "vocals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"shared\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  \"back\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "EXCEPT",
            "SELECT",
            "t2.title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "back",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "except",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "Find all the songs that do not have a back vocal.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "songs",
            "that",
            "do",
            "not",
            "have",
            "a",
            "back",
            "vocal",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    20,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"back\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  \"back\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "EXCEPT",
            "SELECT",
            "t2.title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "back",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "except",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "What are the different names of all songs without back vocals?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "of",
            "all",
            "songs",
            "without",
            "back",
            "vocals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    20,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"back\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE firstname  =  \"Solveig\" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "firstname",
            "=",
            "``",
            "Solveig",
            "''",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "firstname",
            "=",
            "value",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which vocal type has the band mate with first name \"Solveig\" played the most?",
        "question_toks": [
            "Which",
            "vocal",
            "type",
            "has",
            "the",
            "band",
            "mate",
            "with",
            "first",
            "name",
            "``",
            "Solveig",
            "''",
            "played",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Solveig\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE firstname  =  \"Solveig\" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "firstname",
            "=",
            "``",
            "Solveig",
            "''",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "firstname",
            "=",
            "value",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the types of vocals that the band member with the first name \"Solveig\" played the most?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "vocals",
            "that",
            "the",
            "band",
            "member",
            "with",
            "the",
            "first",
            "name",
            "``",
            "Solveig",
            "''",
            "played",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Solveig\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid JOIN band AS T3 ON T1.bandmate  =  T3.id WHERE T3.lastname  =  \"Heilo\" AND T2.title  =  \"Der Kapitan\"",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "JOIN",
            "band",
            "AS",
            "T3",
            "ON",
            "T1.bandmate",
            "=",
            "T3.id",
            "WHERE",
            "T3.lastname",
            "=",
            "``",
            "Heilo",
            "''",
            "AND",
            "T2.title",
            "=",
            "``",
            "Der",
            "Kapitan",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "join",
            "band",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "lastname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Which vocal type did the musician with last name \"Heilo\" played in the song with title \"Der Kapitan\"?",
        "question_toks": [
            "Which",
            "vocal",
            "type",
            "did",
            "the",
            "musician",
            "with",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "played",
            "in",
            "the",
            "song",
            "with",
            "title",
            "``",
            "Der",
            "Kapitan",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Der Kapitan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid JOIN band AS T3 ON T1.bandmate  =  T3.id WHERE T3.lastname  =  \"Heilo\" AND T2.title  =  \"Der Kapitan\"",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "songs",
            "AS",
            "T2",
            "ON",
            "T1.songid",
            "=",
            "T2.songid",
            "JOIN",
            "band",
            "AS",
            "T3",
            "ON",
            "T1.bandmate",
            "=",
            "T3.id",
            "WHERE",
            "T3.lastname",
            "=",
            "``",
            "Heilo",
            "''",
            "AND",
            "T2.title",
            "=",
            "``",
            "Der",
            "Kapitan",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "join",
            "band",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t3",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "lastname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the types of vocals that the musician with the last name \"Heilo\" played in \"Der Kapitan\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "vocals",
            "that",
            "the",
            "musician",
            "with",
            "the",
            "last",
            "name",
            "``",
            "Heilo",
            "''",
            "played",
            "in",
            "``",
            "Der",
            "Kapitan",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Heilo\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Der Kapitan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT t2.firstname FROM Performance AS t1 JOIN Band AS t2 ON t1.bandmate  =  t2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY firstname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.firstname",
            "FROM",
            "Performance",
            "AS",
            "t1",
            "JOIN",
            "Band",
            "AS",
            "t2",
            "ON",
            "t1.bandmate",
            "=",
            "t2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "GROUP",
            "BY",
            "firstname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "group",
            "by",
            "firstname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the first name of the band mate that has performed in most songs.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "the",
            "band",
            "mate",
            "that",
            "has",
            "performed",
            "in",
            "most",
            "songs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT t2.firstname FROM Performance AS t1 JOIN Band AS t2 ON t1.bandmate  =  t2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY firstname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.firstname",
            "FROM",
            "Performance",
            "AS",
            "t1",
            "JOIN",
            "Band",
            "AS",
            "t2",
            "ON",
            "t1.bandmate",
            "=",
            "t2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "GROUP",
            "BY",
            "firstname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "group",
            "by",
            "firstname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first name of the band mate who perfomed in the most songs?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "the",
            "band",
            "mate",
            "who",
            "perfomed",
            "in",
            "the",
            "most",
            "songs",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE firstname  =  \"Marianne\" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "firstname",
            "=",
            "``",
            "Marianne",
            "''",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "firstname",
            "=",
            "value",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which vocal type has the band mate with first name \"Marianne\" played the most?",
        "question_toks": [
            "Which",
            "vocal",
            "type",
            "has",
            "the",
            "band",
            "mate",
            "with",
            "first",
            "name",
            "``",
            "Marianne",
            "''",
            "played",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Marianne\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE firstname  =  \"Marianne\" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "vocals",
            "AS",
            "T1",
            "JOIN",
            "band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "WHERE",
            "firstname",
            "=",
            "``",
            "Marianne",
            "''",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "firstname",
            "=",
            "value",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the vocal type of the band mate whose first name is \"Marianne\" played the most?",
        "question_toks": [
            "What",
            "is",
            "the",
            "vocal",
            "type",
            "of",
            "the",
            "band",
            "mate",
            "whose",
            "first",
            "name",
            "is",
            "``",
            "Marianne",
            "''",
            "played",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Marianne\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  \"Der Kapitan\" AND T1.StagePosition  =  \"back\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Der",
            "Kapitan",
            "''",
            "AND",
            "T1.StagePosition",
            "=",
            "``",
            "back",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "stageposition",
            "=",
            "value"
        ],
        "question": "Who is performing in the back stage position for the song \"Der Kapitan\"? Show the first name and last name.",
        "question_toks": [
            "Who",
            "is",
            "performing",
            "in",
            "the",
            "back",
            "stage",
            "position",
            "for",
            "the",
            "song",
            "``",
            "Der",
            "Kapitan",
            "''",
            "?",
            "Show",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Der Kapitan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"back\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  \"Der Kapitan\" AND T1.StagePosition  =  \"back\"",
        "query_toks": [
            "SELECT",
            "T2.firstname",
            ",",
            "T2.lastname",
            "FROM",
            "Performance",
            "AS",
            "T1",
            "JOIN",
            "Band",
            "AS",
            "T2",
            "ON",
            "T1.bandmate",
            "=",
            "T2.id",
            "JOIN",
            "Songs",
            "AS",
            "T3",
            "ON",
            "T3.SongId",
            "=",
            "T1.SongId",
            "WHERE",
            "T3.Title",
            "=",
            "``",
            "Der",
            "Kapitan",
            "''",
            "AND",
            "T1.StagePosition",
            "=",
            "``",
            "back",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "firstname",
            ",",
            "t2",
            ".",
            "lastname",
            "from",
            "performance",
            "as",
            "t1",
            "join",
            "band",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "bandmate",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "songid",
            "=",
            "t1",
            ".",
            "songid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "stageposition",
            "=",
            "value"
        ],
        "question": "What is the first and last name of the artist who performed back stage for the song \"Der Kapitan\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "artist",
            "who",
            "performed",
            "back",
            "stage",
            "for",
            "the",
            "song",
            "``",
            "Der",
            "Kapitan",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Der Kapitan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"back\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  \"back\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "EXCEPT",
            "SELECT",
            "t2.title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "back",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "except",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "Find the name of songs that does not have a back vocal.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "songs",
            "that",
            "does",
            "not",
            "have",
            "a",
            "back",
            "vocal",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    20,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"back\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  \"back\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "EXCEPT",
            "SELECT",
            "t2.title",
            "FROM",
            "vocals",
            "AS",
            "t1",
            "JOIN",
            "songs",
            "AS",
            "t2",
            "ON",
            "t1.songid",
            "=",
            "t2.songid",
            "WHERE",
            "TYPE",
            "=",
            "``",
            "back",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "except",
            "select",
            "t2",
            ".",
            "title",
            "from",
            "vocals",
            "as",
            "t1",
            "join",
            "songs",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "songid",
            "=",
            "t2",
            ".",
            "songid",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "What are the names of the songs that do not have back vocals?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "songs",
            "that",
            "do",
            "not",
            "have",
            "back",
            "vocals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    20,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"back\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid  =  T2.albumid JOIN songs AS T3 ON T2.songid  =  T3.songid WHERE T1.title  =  \"A Kiss Before You Go: Live in Hamburg\"",
        "query_toks": [
            "SELECT",
            "T3.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracklists",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.albumid",
            "JOIN",
            "songs",
            "AS",
            "T3",
            "ON",
            "T2.songid",
            "=",
            "T3.songid",
            "WHERE",
            "T1.title",
            "=",
            "``",
            "A",
            "Kiss",
            "Before",
            "You",
            "Go",
            ":",
            "Live",
            "in",
            "Hamburg",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracklists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the songs in album \"A Kiss Before You Go: Live in Hamburg\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "songs",
            "in",
            "album",
            "``",
            "A",
            "Kiss",
            "Before",
            "You",
            "Go",
            ":",
            "Live",
            "in",
            "Hamburg",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"A Kiss Before You Go: Live in Hamburg\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid  =  T2.albumid JOIN songs AS T3 ON T2.songid  =  T3.songid WHERE T1.title  =  \"A Kiss Before You Go: Live in Hamburg\"",
        "query_toks": [
            "SELECT",
            "T3.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracklists",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.albumid",
            "JOIN",
            "songs",
            "AS",
            "T3",
            "ON",
            "T2.songid",
            "=",
            "T3.songid",
            "WHERE",
            "T1.title",
            "=",
            "``",
            "A",
            "Kiss",
            "Before",
            "You",
            "Go",
            ":",
            "Live",
            "in",
            "Hamburg",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracklists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the song titles on the album \"A Kiss Before You Go: Live in Hamburg\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "song",
            "titles",
            "on",
            "the",
            "album",
            "``",
            "A",
            "Kiss",
            "Before",
            "You",
            "Go",
            ":",
            "Live",
            "in",
            "Hamburg",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"A Kiss Before You Go: Live in Hamburg\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid  =  T2.albumid JOIN songs AS T3 ON T2.songid  =  T3.songid WHERE t1.label  =  \"Universal Music Group\"",
        "query_toks": [
            "SELECT",
            "T3.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracklists",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.albumid",
            "JOIN",
            "songs",
            "AS",
            "T3",
            "ON",
            "T2.songid",
            "=",
            "T3.songid",
            "WHERE",
            "t1.label",
            "=",
            "``",
            "Universal",
            "Music",
            "Group",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracklists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "where",
            "t1",
            ".",
            "label",
            "=",
            "value"
        ],
        "question": "What are all the songs in albums under label \"Universal Music Group\"?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "songs",
            "in",
            "albums",
            "under",
            "label",
            "``",
            "Universal",
            "Music",
            "Group",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Universal Music Group\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid  =  T2.albumid JOIN songs AS T3 ON T2.songid  =  T3.songid WHERE t1.label  =  \"Universal Music Group\"",
        "query_toks": [
            "SELECT",
            "T3.title",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracklists",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.albumid",
            "JOIN",
            "songs",
            "AS",
            "T3",
            "ON",
            "T2.songid",
            "=",
            "T3.songid",
            "WHERE",
            "t1.label",
            "=",
            "``",
            "Universal",
            "Music",
            "Group",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracklists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "where",
            "t1",
            ".",
            "label",
            "=",
            "value"
        ],
        "question": "What are the names of all the songs whose album is under the label of \"Universal Music Group\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "songs",
            "whose",
            "album",
            "is",
            "under",
            "the",
            "label",
            "of",
            "``",
            "Universal",
            "Music",
            "Group",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Universal Music Group\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT T3.title) FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid  =  T2.albumid JOIN songs AS T3 ON T2.songid  =  T3.songid WHERE t1.type  =  \"Studio\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T3.title",
            ")",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracklists",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.albumid",
            "JOIN",
            "songs",
            "AS",
            "T3",
            "ON",
            "T2.songid",
            "=",
            "T3.songid",
            "WHERE",
            "t1.type",
            "=",
            "``",
            "Studio",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracklists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "where",
            "t1",
            ".",
            "type",
            "=",
            "value"
        ],
        "question": "Find the number of songs in all the studio albums.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "songs",
            "in",
            "all",
            "the",
            "studio",
            "albums",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Studio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_2",
        "query": "SELECT count(DISTINCT T3.title) FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid  =  T2.albumid JOIN songs AS T3 ON T2.songid  =  T3.songid WHERE t1.type  =  \"Studio\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T3.title",
            ")",
            "FROM",
            "albums",
            "AS",
            "T1",
            "JOIN",
            "tracklists",
            "AS",
            "T2",
            "ON",
            "T1.aid",
            "=",
            "T2.albumid",
            "JOIN",
            "songs",
            "AS",
            "T3",
            "ON",
            "T2.songid",
            "=",
            "T3.songid",
            "WHERE",
            "t1.type",
            "=",
            "``",
            "Studio",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "albums",
            "as",
            "t1",
            "join",
            "tracklists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "albumid",
            "join",
            "songs",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "songid",
            "=",
            "t3",
            ".",
            "songid",
            "where",
            "t1",
            ".",
            "type",
            "=",
            "value"
        ],
        "question": "How many songs appear in studio albums?",
        "question_toks": [
            "How",
            "many",
            "songs",
            "appear",
            "in",
            "studio",
            "albums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Studio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT founder FROM manufacturers WHERE name  =  'Sony'",
        "query_toks": [
            "SELECT",
            "founder",
            "FROM",
            "manufacturers",
            "WHERE",
            "name",
            "=",
            "'Sony",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "founder",
            "from",
            "manufacturers",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Who is the founder of Sony?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "founder",
            "of",
            "Sony",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sony\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT founder FROM manufacturers WHERE name  =  'Sony'",
        "query_toks": [
            "SELECT",
            "founder",
            "FROM",
            "manufacturers",
            "WHERE",
            "name",
            "=",
            "'Sony",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "founder",
            "from",
            "manufacturers",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Return the founder of Sony.",
        "question_toks": [
            "Return",
            "the",
            "founder",
            "of",
            "Sony",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Sony\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT headquarter FROM manufacturers WHERE founder  =  'James'",
        "query_toks": [
            "SELECT",
            "headquarter",
            "FROM",
            "manufacturers",
            "WHERE",
            "founder",
            "=",
            "'James",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "headquarter",
            "from",
            "manufacturers",
            "where",
            "founder",
            "=",
            "value"
        ],
        "question": "Where is the headquarter of the company founded by James?",
        "question_toks": [
            "Where",
            "is",
            "the",
            "headquarter",
            "of",
            "the",
            "company",
            "founded",
            "by",
            "James",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"James\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT headquarter FROM manufacturers WHERE founder  =  'James'",
        "query_toks": [
            "SELECT",
            "headquarter",
            "FROM",
            "manufacturers",
            "WHERE",
            "founder",
            "=",
            "'James",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "headquarter",
            "from",
            "manufacturers",
            "where",
            "founder",
            "=",
            "value"
        ],
        "question": "What is the headquarter of the company whose founder is James?",
        "question_toks": [
            "What",
            "is",
            "the",
            "headquarter",
            "of",
            "the",
            "company",
            "whose",
            "founder",
            "is",
            "James",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"James\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  headquarter FROM manufacturers ORDER BY revenue DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "headquarter",
            "FROM",
            "manufacturers",
            "ORDER",
            "BY",
            "revenue",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "headquarter",
            "from",
            "manufacturers",
            "order",
            "by",
            "revenue",
            "desc"
        ],
        "question": "Find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first.",
        "question_toks": [
            "Find",
            "all",
            "manufacturers",
            "'",
            "names",
            "and",
            "their",
            "headquarters",
            ",",
            "sorted",
            "by",
            "the",
            "ones",
            "with",
            "highest",
            "revenue",
            "first",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  headquarter FROM manufacturers ORDER BY revenue DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "headquarter",
            "FROM",
            "manufacturers",
            "ORDER",
            "BY",
            "revenue",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "headquarter",
            "from",
            "manufacturers",
            "order",
            "by",
            "revenue",
            "desc"
        ],
        "question": "What are the names and headquarters of all manufacturers, ordered by revenue descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "headquarters",
            "of",
            "all",
            "manufacturers",
            ",",
            "ordered",
            "by",
            "revenue",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(revenue) ,  max(revenue) ,  sum(revenue) FROM manufacturers",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "revenue",
            ")",
            ",",
            "max",
            "(",
            "revenue",
            ")",
            ",",
            "sum",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "revenue",
            ")",
            ",",
            "max",
            "(",
            "revenue",
            ")",
            ",",
            "sum",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers"
        ],
        "question": "What are the average, maximum and total revenues of all companies?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            ",",
            "maximum",
            "and",
            "total",
            "revenues",
            "of",
            "all",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(revenue) ,  max(revenue) ,  sum(revenue) FROM manufacturers",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "revenue",
            ")",
            ",",
            "max",
            "(",
            "revenue",
            ")",
            ",",
            "sum",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "revenue",
            ")",
            ",",
            "max",
            "(",
            "revenue",
            ")",
            ",",
            "sum",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers"
        ],
        "question": "Return the average, maximum, and total revenues across all manufacturers.",
        "question_toks": [
            "Return",
            "the",
            "average",
            ",",
            "maximum",
            ",",
            "and",
            "total",
            "revenues",
            "across",
            "all",
            "manufacturers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(*) FROM manufacturers WHERE founder  =  'Andy'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "founder",
            "=",
            "'Andy",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "manufacturers",
            "where",
            "founder",
            "=",
            "value"
        ],
        "question": "How many companies were created by Andy?",
        "question_toks": [
            "How",
            "many",
            "companies",
            "were",
            "created",
            "by",
            "Andy",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Andy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(*) FROM manufacturers WHERE founder  =  'Andy'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "founder",
            "=",
            "'Andy",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "manufacturers",
            "where",
            "founder",
            "=",
            "value"
        ],
        "question": "Return the number of companies created by Andy.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "companies",
            "created",
            "by",
            "Andy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Andy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) FROM manufacturers WHERE headquarter  =  'Austin'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "headquarter",
            "=",
            "'Austin",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value"
        ],
        "question": "Find the total revenue created by the companies whose headquarter is located at Austin.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "revenue",
            "created",
            "by",
            "the",
            "companies",
            "whose",
            "headquarter",
            "is",
            "located",
            "at",
            "Austin",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Austin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) FROM manufacturers WHERE headquarter  =  'Austin'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "headquarter",
            "=",
            "'Austin",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value"
        ],
        "question": "What is the sum of revenue from companies with headquarters in Austin?",
        "question_toks": [
            "What",
            "is",
            "the",
            "sum",
            "of",
            "revenue",
            "from",
            "companies",
            "with",
            "headquarters",
            "in",
            "Austin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Austin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT DISTINCT headquarter FROM manufacturers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "headquarter",
            "FROM",
            "manufacturers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "headquarter",
            "from",
            "manufacturers"
        ],
        "question": "What are the different cities listed?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "cities",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT DISTINCT headquarter FROM manufacturers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "headquarter",
            "FROM",
            "manufacturers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "headquarter",
            "from",
            "manufacturers"
        ],
        "question": "Give the distinct headquarters of manufacturers.",
        "question_toks": [
            "Give",
            "the",
            "distinct",
            "headquarters",
            "of",
            "manufacturers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(*) FROM manufacturers WHERE headquarter  =  'Tokyo' OR headquarter  =  'Beijing'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "headquarter",
            "=",
            "'Tokyo",
            "'",
            "OR",
            "headquarter",
            "=",
            "'Beijing",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value",
            "or",
            "headquarter",
            "=",
            "value"
        ],
        "question": "Find the number of manufactures that are based in Tokyo or Beijing.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "manufactures",
            "that",
            "are",
            "based",
            "in",
            "Tokyo",
            "or",
            "Beijing",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Tokyo\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Beijing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(*) FROM manufacturers WHERE headquarter  =  'Tokyo' OR headquarter  =  'Beijing'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "headquarter",
            "=",
            "'Tokyo",
            "'",
            "OR",
            "headquarter",
            "=",
            "'Beijing",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value",
            "or",
            "headquarter",
            "=",
            "value"
        ],
        "question": "How many manufacturers have headquarters in either Tokyo or Beijing?",
        "question_toks": [
            "How",
            "many",
            "manufacturers",
            "have",
            "headquarters",
            "in",
            "either",
            "Tokyo",
            "or",
            "Beijing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Tokyo\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Beijing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT founder FROM manufacturers WHERE name LIKE 'S%'",
        "query_toks": [
            "SELECT",
            "founder",
            "FROM",
            "manufacturers",
            "WHERE",
            "name",
            "LIKE",
            "'S",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "founder",
            "from",
            "manufacturers",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Find the founder of the company whose name begins with the letter 'S'.",
        "question_toks": [
            "Find",
            "the",
            "founder",
            "of",
            "the",
            "company",
            "whose",
            "name",
            "begins",
            "with",
            "the",
            "letter",
            "'S",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"S%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT founder FROM manufacturers WHERE name LIKE 'S%'",
        "query_toks": [
            "SELECT",
            "founder",
            "FROM",
            "manufacturers",
            "WHERE",
            "name",
            "LIKE",
            "'S",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "founder",
            "from",
            "manufacturers",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Who is the founders of companies whose first letter is S?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "founders",
            "of",
            "companies",
            "whose",
            "first",
            "letter",
            "is",
            "S",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"S%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM manufacturers WHERE revenue BETWEEN 100 AND 150",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "manufacturers",
            "WHERE",
            "revenue",
            "BETWEEN",
            "100",
            "AND",
            "150"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manufacturers",
            "where",
            "revenue",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the name of companies whose revenue is between 100 and 150.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "companies",
            "whose",
            "revenue",
            "is",
            "between",
            "100",
            "and",
            "150",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    100.0,
                    150.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM manufacturers WHERE revenue BETWEEN 100 AND 150",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "manufacturers",
            "WHERE",
            "revenue",
            "BETWEEN",
            "100",
            "AND",
            "150"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manufacturers",
            "where",
            "revenue",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names of companies with revenue between 100 and 150?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "companies",
            "with",
            "revenue",
            "between",
            "100",
            "and",
            "150",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    100.0,
                    150.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) FROM manufacturers WHERE Headquarter  =  'Tokyo' OR Headquarter  =  'Taiwan'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "Headquarter",
            "=",
            "'Tokyo",
            "'",
            "OR",
            "Headquarter",
            "=",
            "'Taiwan",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value",
            "or",
            "headquarter",
            "=",
            "value"
        ],
        "question": "What is the total revenue of all companies whose main office is at Tokyo or Taiwan?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "revenue",
            "of",
            "all",
            "companies",
            "whose",
            "main",
            "office",
            "is",
            "at",
            "Tokyo",
            "or",
            "Taiwan",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Tokyo\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Taiwan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) FROM manufacturers WHERE Headquarter  =  'Tokyo' OR Headquarter  =  'Taiwan'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "Headquarter",
            "=",
            "'Tokyo",
            "'",
            "OR",
            "Headquarter",
            "=",
            "'Taiwan",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value",
            "or",
            "headquarter",
            "=",
            "value"
        ],
        "question": "Return the total revenue of companies with headquarters in Tokyo or Taiwan.",
        "question_toks": [
            "Return",
            "the",
            "total",
            "revenue",
            "of",
            "companies",
            "with",
            "headquarters",
            "in",
            "Tokyo",
            "or",
            "Taiwan",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Tokyo\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Taiwan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code WHERE T2.name  =  'Creative Labs' INTERSECT SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code WHERE T2.name  =  'Sony'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "WHERE",
            "T2.name",
            "=",
            "'Creative",
            "Labs",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "WHERE",
            "T2.name",
            "=",
            "'Sony",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the name of product that is produced by both companies Creative Labs and Sony.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "product",
            "that",
            "is",
            "produced",
            "by",
            "both",
            "companies",
            "Creative",
            "Labs",
            "and",
            "Sony",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Creative Labs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Sony\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code WHERE T2.name  =  'Creative Labs' INTERSECT SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code WHERE T2.name  =  'Sony'",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "WHERE",
            "T2.name",
            "=",
            "'Creative",
            "Labs",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "WHERE",
            "T2.name",
            "=",
            "'Sony",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of products produced by both Creative Labs and Sony?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "products",
            "produced",
            "by",
            "both",
            "Creative",
            "Labs",
            "and",
            "Sony",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Creative Labs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Sony\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  headquarter ,  founder FROM manufacturers ORDER BY revenue DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "headquarter",
            ",",
            "founder",
            "FROM",
            "manufacturers",
            "ORDER",
            "BY",
            "revenue",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "headquarter",
            ",",
            "founder",
            "from",
            "manufacturers",
            "order",
            "by",
            "revenue",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name, headquarter and founder of the manufacturer that has the highest revenue.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "headquarter",
            "and",
            "founder",
            "of",
            "the",
            "manufacturer",
            "that",
            "has",
            "the",
            "highest",
            "revenue",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  headquarter ,  founder FROM manufacturers ORDER BY revenue DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "headquarter",
            ",",
            "founder",
            "FROM",
            "manufacturers",
            "ORDER",
            "BY",
            "revenue",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "headquarter",
            ",",
            "founder",
            "from",
            "manufacturers",
            "order",
            "by",
            "revenue",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names, headquarters and founders of the company with the highest revenue?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "headquarters",
            "and",
            "founders",
            "of",
            "the",
            "company",
            "with",
            "the",
            "highest",
            "revenue",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  headquarter ,  revenue FROM manufacturers ORDER BY revenue DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "headquarter",
            ",",
            "revenue",
            "FROM",
            "manufacturers",
            "ORDER",
            "BY",
            "revenue",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "headquarter",
            ",",
            "revenue",
            "from",
            "manufacturers",
            "order",
            "by",
            "revenue",
            "desc"
        ],
        "question": "Find the name, headquarter and revenue of all manufacturers sorted by their revenue in the descending order.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "headquarter",
            "and",
            "revenue",
            "of",
            "all",
            "manufacturers",
            "sorted",
            "by",
            "their",
            "revenue",
            "in",
            "the",
            "descending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  headquarter ,  revenue FROM manufacturers ORDER BY revenue DESC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "headquarter",
            ",",
            "revenue",
            "FROM",
            "manufacturers",
            "ORDER",
            "BY",
            "revenue",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "headquarter",
            ",",
            "revenue",
            "from",
            "manufacturers",
            "order",
            "by",
            "revenue",
            "desc"
        ],
        "question": "What are the names, headquarters and revenues for manufacturers, sorted by revenue descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "headquarters",
            "and",
            "revenues",
            "for",
            "manufacturers",
            ",",
            "sorted",
            "by",
            "revenue",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM manufacturers WHERE revenue  >  (SELECT avg(revenue) FROM manufacturers)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "manufacturers",
            "WHERE",
            "revenue",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manufacturers",
            "where",
            "revenue",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            ")"
        ],
        "question": "Find the name of companies whose revenue is greater than the average revenue of all companies.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "companies",
            "whose",
            "revenue",
            "is",
            "greater",
            "than",
            "the",
            "average",
            "revenue",
            "of",
            "all",
            "companies",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM manufacturers WHERE revenue  >  (SELECT avg(revenue) FROM manufacturers)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "manufacturers",
            "WHERE",
            "revenue",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manufacturers",
            "where",
            "revenue",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            ")"
        ],
        "question": "What are the names of manufacturers with revenue greater than the average of all revenues?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "manufacturers",
            "with",
            "revenue",
            "greater",
            "than",
            "the",
            "average",
            "of",
            "all",
            "revenues",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM manufacturers WHERE revenue  <  (SELECT min(revenue) FROM manufacturers WHERE headquarter  =  'Austin')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "manufacturers",
            "WHERE",
            "revenue",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "headquarter",
            "=",
            "'Austin",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manufacturers",
            "where",
            "revenue",
            "<",
            "(",
            "select",
            "min",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value",
            ")"
        ],
        "question": "Find the name of companies whose revenue is smaller than the revenue of all companies based in Austin.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "companies",
            "whose",
            "revenue",
            "is",
            "smaller",
            "than",
            "the",
            "revenue",
            "of",
            "all",
            "companies",
            "based",
            "in",
            "Austin",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"Austin\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM manufacturers WHERE revenue  <  (SELECT min(revenue) FROM manufacturers WHERE headquarter  =  'Austin')",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "manufacturers",
            "WHERE",
            "revenue",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "headquarter",
            "=",
            "'Austin",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manufacturers",
            "where",
            "revenue",
            "<",
            "(",
            "select",
            "min",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of companies with revenue less than the lowest revenue of any manufacturer in Austin?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "companies",
            "with",
            "revenue",
            "less",
            "than",
            "the",
            "lowest",
            "revenue",
            "of",
            "any",
            "manufacturer",
            "in",
            "Austin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"Austin\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) FROM manufacturers WHERE revenue  >  (SELECT min(revenue) FROM manufacturers WHERE headquarter  =  'Austin')",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "revenue",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "headquarter",
            "=",
            "'Austin",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "revenue",
            ">",
            "(",
            "select",
            "min",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value",
            ")"
        ],
        "question": "Find the total revenue of companies whose revenue is larger than the revenue of some companies based in Austin.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "revenue",
            "of",
            "companies",
            "whose",
            "revenue",
            "is",
            "larger",
            "than",
            "the",
            "revenue",
            "of",
            "some",
            "companies",
            "based",
            "in",
            "Austin",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"Austin\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) FROM manufacturers WHERE revenue  >  (SELECT min(revenue) FROM manufacturers WHERE headquarter  =  'Austin')",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "revenue",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "revenue",
            ")",
            "FROM",
            "manufacturers",
            "WHERE",
            "headquarter",
            "=",
            "'Austin",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "revenue",
            ">",
            "(",
            "select",
            "min",
            "(",
            "revenue",
            ")",
            "from",
            "manufacturers",
            "where",
            "headquarter",
            "=",
            "value",
            ")"
        ],
        "question": "What is the total revenue of companies with revenue greater than the lowest revenue of any manufacturer in Austin?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "revenue",
            "of",
            "companies",
            "with",
            "revenue",
            "greater",
            "than",
            "the",
            "lowest",
            "revenue",
            "of",
            "any",
            "manufacturer",
            "in",
            "Austin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"Austin\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) ,  founder FROM manufacturers GROUP BY founder",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            ",",
            "founder",
            "FROM",
            "manufacturers",
            "GROUP",
            "BY",
            "founder"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            ",",
            "founder",
            "from",
            "manufacturers",
            "group",
            "by",
            "founder"
        ],
        "question": "Find the total revenue of companies of each founder.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "revenue",
            "of",
            "companies",
            "of",
            "each",
            "founder",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) ,  founder FROM manufacturers GROUP BY founder",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            ",",
            "founder",
            "FROM",
            "manufacturers",
            "GROUP",
            "BY",
            "founder"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            ",",
            "founder",
            "from",
            "manufacturers",
            "group",
            "by",
            "founder"
        ],
        "question": "What is the total revenue of companies started by founder?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "revenue",
            "of",
            "companies",
            "started",
            "by",
            "founder",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  max(revenue) ,  Headquarter FROM manufacturers GROUP BY Headquarter",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "max",
            "(",
            "revenue",
            ")",
            ",",
            "Headquarter",
            "FROM",
            "manufacturers",
            "GROUP",
            "BY",
            "Headquarter"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "max",
            "(",
            "revenue",
            ")",
            ",",
            "headquarter",
            "from",
            "manufacturers",
            "group",
            "by",
            "headquarter"
        ],
        "question": "Find the name and revenue of the company that earns the highest revenue in each city.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "revenue",
            "of",
            "the",
            "company",
            "that",
            "earns",
            "the",
            "highest",
            "revenue",
            "in",
            "each",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  max(revenue) ,  Headquarter FROM manufacturers GROUP BY Headquarter",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "max",
            "(",
            "revenue",
            ")",
            ",",
            "Headquarter",
            "FROM",
            "manufacturers",
            "GROUP",
            "BY",
            "Headquarter"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "max",
            "(",
            "revenue",
            ")",
            ",",
            "headquarter",
            "from",
            "manufacturers",
            "group",
            "by",
            "headquarter"
        ],
        "question": "What are the names and revenues of the companies with the highest revenues in each headquarter city?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "revenues",
            "of",
            "the",
            "companies",
            "with",
            "the",
            "highest",
            "revenues",
            "in",
            "each",
            "headquarter",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) ,  name FROM manufacturers GROUP BY name",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            ",",
            "name",
            "FROM",
            "manufacturers",
            "GROUP",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            ",",
            "name",
            "from",
            "manufacturers",
            "group",
            "by",
            "name"
        ],
        "question": "Find the total revenue for each manufacturer.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "revenue",
            "for",
            "each",
            "manufacturer",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT sum(revenue) ,  name FROM manufacturers GROUP BY name",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "revenue",
            ")",
            ",",
            "name",
            "FROM",
            "manufacturers",
            "GROUP",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "revenue",
            ")",
            ",",
            "name",
            "from",
            "manufacturers",
            "group",
            "by",
            "name"
        ],
        "question": "What is the total revenue of each manufacturer?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "revenue",
            "of",
            "each",
            "manufacturer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(T1.price) ,  T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.price",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "Find the average prices of all products from each manufacture, and list each company's name.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "prices",
            "of",
            "all",
            "products",
            "from",
            "each",
            "manufacture",
            ",",
            "and",
            "list",
            "each",
            "company",
            "'s",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(T1.price) ,  T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.price",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "What are the average prices of products for each manufacturer?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "prices",
            "of",
            "products",
            "for",
            "each",
            "manufacturer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(DISTINCT T1.name) ,  T2.Headquarter FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.Headquarter",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T1.name",
            ")",
            ",",
            "T2.Headquarter",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.Headquarter"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            ",",
            "t2",
            ".",
            "headquarter",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "headquarter"
        ],
        "question": "Find the number of different products that are produced by companies at different headquarter cities.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "different",
            "products",
            "that",
            "are",
            "produced",
            "by",
            "companies",
            "at",
            "different",
            "headquarter",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(DISTINCT T1.name) ,  T2.Headquarter FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.Headquarter",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "T1.name",
            ")",
            ",",
            "T2.Headquarter",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.Headquarter"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            ",",
            "t2",
            ".",
            "headquarter",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "headquarter"
        ],
        "question": "How many different products are produced in each headquarter city?",
        "question_toks": [
            "How",
            "many",
            "different",
            "products",
            "are",
            "produced",
            "in",
            "each",
            "headquarter",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(DISTINCT name) FROM products WHERE name NOT IN (SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code WHERE T2.name  =  'Sony')",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "products",
            "WHERE",
            "name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "WHERE",
            "T2.name",
            "=",
            "'Sony",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "products",
            "where",
            "name",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "Find number of products which Sony does not make.",
        "question_toks": [
            "Find",
            "number",
            "of",
            "products",
            "which",
            "Sony",
            "does",
            "not",
            "make",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"Sony\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(DISTINCT name) FROM products WHERE name NOT IN (SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code WHERE T2.name  =  'Sony')",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "products",
            "WHERE",
            "name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "WHERE",
            "T2.name",
            "=",
            "'Sony",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "products",
            "where",
            "name",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            ")"
        ],
        "question": "How many products are not made by Sony?",
        "question_toks": [
            "How",
            "many",
            "products",
            "are",
            "not",
            "made",
            "by",
            "Sony",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                "\"Sony\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM manufacturers EXCEPT SELECT T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code WHERE T1.name  =  'DVD drive'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "manufacturers",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "WHERE",
            "T1.name",
            "=",
            "'DVD",
            "drive",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manufacturers",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the name of companies that do not make DVD drive.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "companies",
            "that",
            "do",
            "not",
            "make",
            "DVD",
            "drive",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"DVD drive\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM manufacturers EXCEPT SELECT T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code WHERE T1.name  =  'DVD drive'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "manufacturers",
            "EXCEPT",
            "SELECT",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "WHERE",
            "T1.name",
            "=",
            "'DVD",
            "drive",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manufacturers",
            "except",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of companies that do not make DVD drives?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "companies",
            "that",
            "do",
            "not",
            "make",
            "DVD",
            "drives",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"DVD drive\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(*) ,  T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "Find the number of products for each manufacturer, showing the name of each company.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "products",
            "for",
            "each",
            "manufacturer",
            ",",
            "showing",
            "the",
            "name",
            "of",
            "each",
            "company",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(*) ,  T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer  =  T2.code GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.Manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "How many products are there for each manufacturer?",
        "question_toks": [
            "How",
            "many",
            "products",
            "are",
            "there",
            "for",
            "each",
            "manufacturer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT Name FROM Products",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "products"
        ],
        "question": "Select the names of all the products in the store.",
        "question_toks": [
            "Select",
            "the",
            "names",
            "of",
            "all",
            "the",
            "products",
            "in",
            "the",
            "store",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT Name FROM Products",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "Products"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "products"
        ],
        "question": "What are the names of all products?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  price FROM products",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "price",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "price",
            "from",
            "products"
        ],
        "question": "Select the names and the prices of all the products in the store.",
        "question_toks": [
            "Select",
            "the",
            "names",
            "and",
            "the",
            "prices",
            "of",
            "all",
            "the",
            "products",
            "in",
            "the",
            "store",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  price FROM products",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "price",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "price",
            "from",
            "products"
        ],
        "question": "What are the names and prices of all products in the store?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "prices",
            "of",
            "all",
            "products",
            "in",
            "the",
            "store",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM products WHERE price  <=  200",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "products",
            "WHERE",
            "price",
            "<",
            "=",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "products",
            "where",
            "price",
            "<",
            "=",
            "value"
        ],
        "question": "Select the name of the products with a price less than or equal to $200.",
        "question_toks": [
            "Select",
            "the",
            "name",
            "of",
            "the",
            "products",
            "with",
            "a",
            "price",
            "less",
            "than",
            "or",
            "equal",
            "to",
            "$",
            "200",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name FROM products WHERE price  <=  200",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "products",
            "WHERE",
            "price",
            "<",
            "=",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "products",
            "where",
            "price",
            "<",
            "=",
            "value"
        ],
        "question": "What are the names of products with price at most 200?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "products",
            "with",
            "price",
            "at",
            "most",
            "200",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT * FROM products WHERE price BETWEEN 60 AND 120",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "products",
            "WHERE",
            "price",
            "BETWEEN",
            "60",
            "AND",
            "120"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "products",
            "where",
            "price",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find all information of all the products with a price between $60 and $120.",
        "question_toks": [
            "Find",
            "all",
            "information",
            "of",
            "all",
            "the",
            "products",
            "with",
            "a",
            "price",
            "between",
            "$",
            "60",
            "and",
            "$",
            "120",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    60.0,
                    120.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT * FROM products WHERE price BETWEEN 60 AND 120",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "products",
            "WHERE",
            "price",
            "BETWEEN",
            "60",
            "AND",
            "120"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "products",
            "where",
            "price",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What is all the information of all the products that have a price between 60 and 120?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "information",
            "of",
            "all",
            "the",
            "products",
            "that",
            "have",
            "a",
            "price",
            "between",
            "60",
            "and",
            "120",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    60.0,
                    120.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(price) FROM products",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "products"
        ],
        "question": "Compute the average price of all the products.",
        "question_toks": [
            "Compute",
            "the",
            "average",
            "price",
            "of",
            "all",
            "the",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(price) FROM products",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "products"
        ],
        "question": "What is the average price across all products?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "across",
            "all",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(price) FROM products WHERE Manufacturer  =  2",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "products",
            "WHERE",
            "Manufacturer",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "products",
            "where",
            "manufacturer",
            "=",
            "value"
        ],
        "question": "Compute the average price of all products with manufacturer code equal to 2.",
        "question_toks": [
            "Compute",
            "the",
            "average",
            "price",
            "of",
            "all",
            "products",
            "with",
            "manufacturer",
            "code",
            "equal",
            "to",
            "2",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(price) FROM products WHERE Manufacturer  =  2",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "products",
            "WHERE",
            "Manufacturer",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "products",
            "where",
            "manufacturer",
            "=",
            "value"
        ],
        "question": "What is the average price of products with manufacturer codes equal to 2?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "of",
            "products",
            "with",
            "manufacturer",
            "codes",
            "equal",
            "to",
            "2",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(*) FROM products WHERE price >= 180",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "price",
            ">",
            "=",
            "180"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "price",
            ">",
            "=",
            "value"
        ],
        "question": "Compute the number of products with a price larger than or equal to $180.",
        "question_toks": [
            "Compute",
            "the",
            "number",
            "of",
            "products",
            "with",
            "a",
            "price",
            "larger",
            "than",
            "or",
            "equal",
            "to",
            "$",
            "180",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    180.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT count(*) FROM products WHERE price >= 180",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "price",
            ">",
            "=",
            "180"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "price",
            ">",
            "=",
            "value"
        ],
        "question": "How many products have prices of at least 180?",
        "question_toks": [
            "How",
            "many",
            "products",
            "have",
            "prices",
            "of",
            "at",
            "least",
            "180",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    180.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  price FROM products WHERE price  >=  180 ORDER BY price DESC ,  name ASC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "price",
            "FROM",
            "products",
            "WHERE",
            "price",
            ">",
            "=",
            "180",
            "ORDER",
            "BY",
            "price",
            "DESC",
            ",",
            "name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "price",
            "from",
            "products",
            "where",
            "price",
            ">",
            "=",
            "value",
            "order",
            "by",
            "price",
            "desc",
            ",",
            "name",
            "asc"
        ],
        "question": "Select the name and price of all products with a price larger than or equal to $180, and sort first by price (in descending order), and then by name  (in ascending order).",
        "question_toks": [
            "Select",
            "the",
            "name",
            "and",
            "price",
            "of",
            "all",
            "products",
            "with",
            "a",
            "price",
            "larger",
            "than",
            "or",
            "equal",
            "to",
            "$",
            "180",
            ",",
            "and",
            "sort",
            "first",
            "by",
            "price",
            "(",
            "in",
            "descending",
            "order",
            ")",
            ",",
            "and",
            "then",
            "by",
            "name",
            "(",
            "in",
            "ascending",
            "order",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    180.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  price FROM products WHERE price  >=  180 ORDER BY price DESC ,  name ASC",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "price",
            "FROM",
            "products",
            "WHERE",
            "price",
            ">",
            "=",
            "180",
            "ORDER",
            "BY",
            "price",
            "DESC",
            ",",
            "name",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "price",
            "from",
            "products",
            "where",
            "price",
            ">",
            "=",
            "value",
            "order",
            "by",
            "price",
            "desc",
            ",",
            "name",
            "asc"
        ],
        "question": "What are the names and prices of products that cost at least 180, sorted by price decreasing and name ascending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "prices",
            "of",
            "products",
            "that",
            "cost",
            "at",
            "least",
            "180",
            ",",
            "sorted",
            "by",
            "price",
            "decreasing",
            "and",
            "name",
            "ascending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    180.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT * FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.manufacturer",
            "=",
            "T2.code"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code"
        ],
        "question": "Select all the data from the products and each product's manufacturer.",
        "question_toks": [
            "Select",
            "all",
            "the",
            "data",
            "from",
            "the",
            "products",
            "and",
            "each",
            "product",
            "'s",
            "manufacturer",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT * FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.manufacturer",
            "=",
            "T2.code"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code"
        ],
        "question": "What is all the product data, as well as  each product's manufacturer?",
        "question_toks": [
            "What",
            "is",
            "all",
            "the",
            "product",
            "data",
            ",",
            "as",
            "well",
            "as",
            "each",
            "product",
            "'s",
            "manufacturer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT AVG(Price) ,  Manufacturer FROM Products GROUP BY Manufacturer",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "Price",
            ")",
            ",",
            "Manufacturer",
            "FROM",
            "Products",
            "GROUP",
            "BY",
            "Manufacturer"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            ",",
            "manufacturer",
            "from",
            "products",
            "group",
            "by",
            "manufacturer"
        ],
        "question": "Select the average price of each manufacturer's products, showing only the manufacturer's code.",
        "question_toks": [
            "Select",
            "the",
            "average",
            "price",
            "of",
            "each",
            "manufacturer",
            "'s",
            "products",
            ",",
            "showing",
            "only",
            "the",
            "manufacturer",
            "'s",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT AVG(Price) ,  Manufacturer FROM Products GROUP BY Manufacturer",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "Price",
            ")",
            ",",
            "Manufacturer",
            "FROM",
            "Products",
            "GROUP",
            "BY",
            "Manufacturer"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            ",",
            "manufacturer",
            "from",
            "products",
            "group",
            "by",
            "manufacturer"
        ],
        "question": "What are the average prices of products, grouped by manufacturer code?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "prices",
            "of",
            "products",
            ",",
            "grouped",
            "by",
            "manufacturer",
            "code",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(T1.Price) ,  T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Price",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "Select the average price of each manufacturer's products, showing the manufacturer's name.",
        "question_toks": [
            "Select",
            "the",
            "average",
            "price",
            "of",
            "each",
            "manufacturer",
            "'s",
            "products",
            ",",
            "showing",
            "the",
            "manufacturer",
            "'s",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(T1.Price) ,  T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Price",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "What are the average prices of products, grouped by manufacturer name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "prices",
            "of",
            "products",
            ",",
            "grouped",
            "by",
            "manufacturer",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(T1.Price) ,  T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code GROUP BY T2.name HAVING avg(T1.price) >= 150",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Price",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name",
            "HAVING",
            "avg",
            "(",
            "T1.price",
            ")",
            ">",
            "=",
            "150"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "avg",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Select the names of manufacturer whose products have an average price higher than or equal to $150.",
        "question_toks": [
            "Select",
            "the",
            "names",
            "of",
            "manufacturer",
            "whose",
            "products",
            "have",
            "an",
            "average",
            "price",
            "higher",
            "than",
            "or",
            "equal",
            "to",
            "$",
            "150",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            5,
                            8,
                            false
                        ],
                        null
                    ],
                    150.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT avg(T1.Price) ,  T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code GROUP BY T2.name HAVING avg(T1.price) >= 150",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Price",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name",
            "HAVING",
            "avg",
            "(",
            "T1.price",
            ")",
            ">",
            "=",
            "150"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "avg",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names and average prices of products for manufacturers whose products cost on average 150 or more?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "average",
            "prices",
            "of",
            "products",
            "for",
            "manufacturers",
            "whose",
            "products",
            "cost",
            "on",
            "average",
            "150",
            "or",
            "more",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            5,
                            8,
                            false
                        ],
                        null
                    ],
                    150.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  price FROM Products ORDER BY price ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "price",
            "FROM",
            "Products",
            "ORDER",
            "BY",
            "price",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "price",
            "from",
            "products",
            "order",
            "by",
            "price",
            "asc",
            "limit",
            "value"
        ],
        "question": "Select the name and price of the cheapest product.",
        "question_toks": [
            "Select",
            "the",
            "name",
            "and",
            "price",
            "of",
            "the",
            "cheapest",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT name ,  price FROM Products ORDER BY price ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "price",
            "FROM",
            "Products",
            "ORDER",
            "BY",
            "price",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "price",
            "from",
            "products",
            "order",
            "by",
            "price",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the name and price of the cheapest product?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "price",
            "of",
            "the",
            "cheapest",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT T1.Name ,  max(T1.Price) ,  T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "max",
            "(",
            "T1.Price",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "max",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "Select the name of each manufacturer along with the name and price of its most expensive product.",
        "question_toks": [
            "Select",
            "the",
            "name",
            "of",
            "each",
            "manufacturer",
            "along",
            "with",
            "the",
            "name",
            "and",
            "price",
            "of",
            "its",
            "most",
            "expensive",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT T1.Name ,  max(T1.Price) ,  T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code GROUP BY T2.name",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "max",
            "(",
            "T1.Price",
            ")",
            ",",
            "T2.name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Manufacturers",
            "AS",
            "T2",
            "ON",
            "T1.manufacturer",
            "=",
            "T2.code",
            "GROUP",
            "BY",
            "T2.name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "max",
            "(",
            "t1",
            ".",
            "price",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "manufacturers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "manufacturer",
            "=",
            "t2",
            ".",
            "code",
            "group",
            "by",
            "t2",
            ".",
            "name"
        ],
        "question": "For each manufacturer name, what are the names and prices of their most expensive product?",
        "question_toks": [
            "For",
            "each",
            "manufacturer",
            "name",
            ",",
            "what",
            "are",
            "the",
            "names",
            "and",
            "prices",
            "of",
            "their",
            "most",
            "expensive",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT code ,  name ,  min(price) FROM products GROUP BY name",
        "query_toks": [
            "SELECT",
            "code",
            ",",
            "name",
            ",",
            "min",
            "(",
            "price",
            ")",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "code",
            ",",
            "name",
            ",",
            "min",
            "(",
            "price",
            ")",
            "from",
            "products",
            "group",
            "by",
            "name"
        ],
        "question": "Select the code of the product that is cheapest in each product category.",
        "question_toks": [
            "Select",
            "the",
            "code",
            "of",
            "the",
            "product",
            "that",
            "is",
            "cheapest",
            "in",
            "each",
            "product",
            "category",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "manufactory_1",
        "query": "SELECT code ,  name ,  min(price) FROM products GROUP BY name",
        "query_toks": [
            "SELECT",
            "code",
            ",",
            "name",
            ",",
            "min",
            "(",
            "price",
            ")",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "code",
            ",",
            "name",
            ",",
            "min",
            "(",
            "price",
            ")",
            "from",
            "products",
            "group",
            "by",
            "name"
        ],
        "question": "What are the codes and names of the cheapest products in each category?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "and",
            "names",
            "of",
            "the",
            "cheapest",
            "products",
            "in",
            "each",
            "category",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_log_id FROM problem_log ORDER BY log_entry_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "problem_log_id",
            "FROM",
            "problem_log",
            "ORDER",
            "BY",
            "log_entry_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "problem_log_id",
            "from",
            "problem_log",
            "order",
            "by",
            "log_entry_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the problem log that is created most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "problem",
            "log",
            "that",
            "is",
            "created",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_log_id FROM problem_log ORDER BY log_entry_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "problem_log_id",
            "FROM",
            "problem_log",
            "ORDER",
            "BY",
            "log_entry_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "problem_log_id",
            "from",
            "problem_log",
            "order",
            "by",
            "log_entry_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which problem log was created most recently? Give me the log id.",
        "question_toks": [
            "Which",
            "problem",
            "log",
            "was",
            "created",
            "most",
            "recently",
            "?",
            "Give",
            "me",
            "the",
            "log",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_log_id ,  problem_id FROM problem_log ORDER BY log_entry_date LIMIT 1",
        "query_toks": [
            "SELECT",
            "problem_log_id",
            ",",
            "problem_id",
            "FROM",
            "problem_log",
            "ORDER",
            "BY",
            "log_entry_date",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "problem_log_id",
            ",",
            "problem_id",
            "from",
            "problem_log",
            "order",
            "by",
            "log_entry_date",
            "limit",
            "value"
        ],
        "question": "What is the oldest log id and its corresponding problem id?",
        "question_toks": [
            "What",
            "is",
            "the",
            "oldest",
            "log",
            "id",
            "and",
            "its",
            "corresponding",
            "problem",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_log_id ,  problem_id FROM problem_log ORDER BY log_entry_date LIMIT 1",
        "query_toks": [
            "SELECT",
            "problem_log_id",
            ",",
            "problem_id",
            "FROM",
            "problem_log",
            "ORDER",
            "BY",
            "log_entry_date",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "problem_log_id",
            ",",
            "problem_id",
            "from",
            "problem_log",
            "order",
            "by",
            "log_entry_date",
            "limit",
            "value"
        ],
        "question": "Find the oldest log id and its corresponding problem id.",
        "question_toks": [
            "Find",
            "the",
            "oldest",
            "log",
            "id",
            "and",
            "its",
            "corresponding",
            "problem",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_log_id ,  log_entry_date FROM problem_log WHERE problem_id = 10",
        "query_toks": [
            "SELECT",
            "problem_log_id",
            ",",
            "log_entry_date",
            "FROM",
            "problem_log",
            "WHERE",
            "problem_id",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "problem_log_id",
            ",",
            "log_entry_date",
            "from",
            "problem_log",
            "where",
            "problem_id",
            "=",
            "value"
        ],
        "question": "Find all the ids and dates of the logs for the problem whose id is 10.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "ids",
            "and",
            "dates",
            "of",
            "the",
            "logs",
            "for",
            "the",
            "problem",
            "whose",
            "id",
            "is",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_log_id ,  log_entry_date FROM problem_log WHERE problem_id = 10",
        "query_toks": [
            "SELECT",
            "problem_log_id",
            ",",
            "log_entry_date",
            "FROM",
            "problem_log",
            "WHERE",
            "problem_id",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "problem_log_id",
            ",",
            "log_entry_date",
            "from",
            "problem_log",
            "where",
            "problem_id",
            "=",
            "value"
        ],
        "question": "For the problem with id 10, return the ids and dates of its problem logs.",
        "question_toks": [
            "For",
            "the",
            "problem",
            "with",
            "id",
            "10",
            ",",
            "return",
            "the",
            "ids",
            "and",
            "dates",
            "of",
            "its",
            "problem",
            "logs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_log_id ,  log_entry_description FROM problem_log",
        "query_toks": [
            "SELECT",
            "problem_log_id",
            ",",
            "log_entry_description",
            "FROM",
            "problem_log"
        ],
        "query_toks_no_value": [
            "select",
            "problem_log_id",
            ",",
            "log_entry_description",
            "from",
            "problem_log"
        ],
        "question": "List all the log ids and their descriptions from the problem logs.",
        "question_toks": [
            "List",
            "all",
            "the",
            "log",
            "ids",
            "and",
            "their",
            "descriptions",
            "from",
            "the",
            "problem",
            "logs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_log_id ,  log_entry_description FROM problem_log",
        "query_toks": [
            "SELECT",
            "problem_log_id",
            ",",
            "log_entry_description",
            "FROM",
            "problem_log"
        ],
        "query_toks_no_value": [
            "select",
            "problem_log_id",
            ",",
            "log_entry_description",
            "from",
            "problem_log"
        ],
        "question": "What are the log id and entry description of each problem?",
        "question_toks": [
            "What",
            "are",
            "the",
            "log",
            "id",
            "and",
            "entry",
            "description",
            "of",
            "each",
            "problem",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT DISTINCT staff_first_name ,  staff_last_name FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T2.problem_id = 1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "staff_first_name",
            ",",
            "staff_last_name",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "problem_log",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.assigned_to_staff_id",
            "WHERE",
            "T2.problem_id",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "staff_first_name",
            ",",
            "staff_last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "problem_log",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "assigned_to_staff_id",
            "where",
            "t2",
            ".",
            "problem_id",
            "=",
            "value"
        ],
        "question": "List the first and last names of all distinct staff members who are assigned to the problem whose id is 1.",
        "question_toks": [
            "List",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "distinct",
            "staff",
            "members",
            "who",
            "are",
            "assigned",
            "to",
            "the",
            "problem",
            "whose",
            "id",
            "is",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT DISTINCT staff_first_name ,  staff_last_name FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T2.problem_id = 1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "staff_first_name",
            ",",
            "staff_last_name",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "problem_log",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.assigned_to_staff_id",
            "WHERE",
            "T2.problem_id",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "staff_first_name",
            ",",
            "staff_last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "problem_log",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "assigned_to_staff_id",
            "where",
            "t2",
            ".",
            "problem_id",
            "=",
            "value"
        ],
        "question": "Which staff members are assigned to the problem with id 1? Give me their first and last names.",
        "question_toks": [
            "Which",
            "staff",
            "members",
            "are",
            "assigned",
            "to",
            "the",
            "problem",
            "with",
            "id",
            "1",
            "?",
            "Give",
            "me",
            "their",
            "first",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT DISTINCT T2.problem_id ,  T2.problem_log_id FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T1.staff_first_name = \"Rylan\" AND T1.staff_last_name = \"Homenick\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.problem_id",
            ",",
            "T2.problem_log_id",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "problem_log",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.assigned_to_staff_id",
            "WHERE",
            "T1.staff_first_name",
            "=",
            "``",
            "Rylan",
            "''",
            "AND",
            "T1.staff_last_name",
            "=",
            "``",
            "Homenick",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "problem_id",
            ",",
            "t2",
            ".",
            "problem_log_id",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "problem_log",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "assigned_to_staff_id",
            "where",
            "t1",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "List the problem id and log id which are assigned to the staff named Rylan Homenick.",
        "question_toks": [
            "List",
            "the",
            "problem",
            "id",
            "and",
            "log",
            "id",
            "which",
            "are",
            "assigned",
            "to",
            "the",
            "staff",
            "named",
            "Rylan",
            "Homenick",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Rylan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Homenick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT DISTINCT T2.problem_id ,  T2.problem_log_id FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T1.staff_first_name = \"Rylan\" AND T1.staff_last_name = \"Homenick\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.problem_id",
            ",",
            "T2.problem_log_id",
            "FROM",
            "staff",
            "AS",
            "T1",
            "JOIN",
            "problem_log",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.assigned_to_staff_id",
            "WHERE",
            "T1.staff_first_name",
            "=",
            "``",
            "Rylan",
            "''",
            "AND",
            "T1.staff_last_name",
            "=",
            "``",
            "Homenick",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "problem_id",
            ",",
            "t2",
            ".",
            "problem_log_id",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "problem_log",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "assigned_to_staff_id",
            "where",
            "t1",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "Which problem id and log id are assigned to the staff named Rylan Homenick?",
        "question_toks": [
            "Which",
            "problem",
            "id",
            "and",
            "log",
            "id",
            "are",
            "assigned",
            "to",
            "the",
            "staff",
            "named",
            "Rylan",
            "Homenick",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Rylan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Homenick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT count(*) FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id WHERE T1.product_name = \"voluptatem\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "product",
            "AS",
            "T1",
            "JOIN",
            "problems",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.product_name",
            "=",
            "``",
            "voluptatem",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "product",
            "as",
            "t1",
            "join",
            "problems",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "How many problems are there for product voluptatem?",
        "question_toks": [
            "How",
            "many",
            "problems",
            "are",
            "there",
            "for",
            "product",
            "voluptatem",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"voluptatem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT count(*) FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id WHERE T1.product_name = \"voluptatem\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "product",
            "AS",
            "T1",
            "JOIN",
            "problems",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.product_name",
            "=",
            "``",
            "voluptatem",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "product",
            "as",
            "t1",
            "join",
            "problems",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "How many problems did the product called \"voluptatem\" have in record?",
        "question_toks": [
            "How",
            "many",
            "problems",
            "did",
            "the",
            "product",
            "called",
            "``",
            "voluptatem",
            "''",
            "have",
            "in",
            "record",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"voluptatem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT count(*) ,  T1.product_name FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.product_name",
            "FROM",
            "product",
            "AS",
            "T1",
            "JOIN",
            "problems",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T1.product_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "product_name",
            "from",
            "product",
            "as",
            "t1",
            "join",
            "problems",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many problems does the product with the most problems have? List the number of the problems and product name.",
        "question_toks": [
            "How",
            "many",
            "problems",
            "does",
            "the",
            "product",
            "with",
            "the",
            "most",
            "problems",
            "have",
            "?",
            "List",
            "the",
            "number",
            "of",
            "the",
            "problems",
            "and",
            "product",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT count(*) ,  T1.product_name FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.product_name",
            "FROM",
            "product",
            "AS",
            "T1",
            "JOIN",
            "problems",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T1.product_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "product_name",
            "from",
            "product",
            "as",
            "t1",
            "join",
            "problems",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which product has the most problems? Give me the number of problems and the product name.",
        "question_toks": [
            "Which",
            "product",
            "has",
            "the",
            "most",
            "problems",
            "?",
            "Give",
            "me",
            "the",
            "number",
            "of",
            "problems",
            "and",
            "the",
            "product",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_description FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Christop\"",
        "query_toks": [
            "SELECT",
            "T1.problem_description",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Christop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_description",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value"
        ],
        "question": "Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop.",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "descriptions",
            "of",
            "the",
            "problems",
            "that",
            "are",
            "reported",
            "by",
            "the",
            "staff",
            "whose",
            "first",
            "name",
            "is",
            "Christop",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Christop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_description FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Christop\"",
        "query_toks": [
            "SELECT",
            "T1.problem_description",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Christop",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_description",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value"
        ],
        "question": "Which problems are reported by the staff with first name \"Christop\"? Show the descriptions of the problems.",
        "question_toks": [
            "Which",
            "problems",
            "are",
            "reported",
            "by",
            "the",
            "staff",
            "with",
            "first",
            "name",
            "``",
            "Christop",
            "''",
            "?",
            "Show",
            "the",
            "descriptions",
            "of",
            "the",
            "problems",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Christop\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_last_name = \"Bosco\"",
        "query_toks": [
            "SELECT",
            "T1.problem_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_last_name",
            "=",
            "``",
            "Bosco",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "Find the ids of the problems that are reported by the staff whose last name is Bosco.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "that",
            "are",
            "reported",
            "by",
            "the",
            "staff",
            "whose",
            "last",
            "name",
            "is",
            "Bosco",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Bosco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_last_name = \"Bosco\"",
        "query_toks": [
            "SELECT",
            "T1.problem_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_last_name",
            "=",
            "``",
            "Bosco",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "Which problems are reported by the staff with last name \"Bosco\"? Show the ids of the problems.",
        "question_toks": [
            "Which",
            "problems",
            "are",
            "reported",
            "by",
            "the",
            "staff",
            "with",
            "last",
            "name",
            "``",
            "Bosco",
            "''",
            "?",
            "Show",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Bosco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_id FROM problems WHERE date_problem_reported > \"1978-06-26\"",
        "query_toks": [
            "SELECT",
            "problem_id",
            "FROM",
            "problems",
            "WHERE",
            "date_problem_reported",
            ">",
            "``",
            "1978-06-26",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "problem_id",
            "from",
            "problems",
            "where",
            "date_problem_reported",
            ">",
            "value"
        ],
        "question": "What are the ids of the problems which are reported after 1978-06-26?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "which",
            "are",
            "reported",
            "after",
            "1978-06-26",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"1978-06-26\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_id FROM problems WHERE date_problem_reported > \"1978-06-26\"",
        "query_toks": [
            "SELECT",
            "problem_id",
            "FROM",
            "problems",
            "WHERE",
            "date_problem_reported",
            ">",
            "``",
            "1978-06-26",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "problem_id",
            "from",
            "problems",
            "where",
            "date_problem_reported",
            ">",
            "value"
        ],
        "question": "Find the ids of the problems reported after 1978-06-26.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "reported",
            "after",
            "1978-06-26",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"1978-06-26\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_id FROM problems WHERE date_problem_reported < \"1978-06-26\"",
        "query_toks": [
            "SELECT",
            "problem_id",
            "FROM",
            "problems",
            "WHERE",
            "date_problem_reported",
            "<",
            "``",
            "1978-06-26",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "problem_id",
            "from",
            "problems",
            "where",
            "date_problem_reported",
            "<",
            "value"
        ],
        "question": "What are the ids of the problems which are reported before 1978-06-26?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "which",
            "are",
            "reported",
            "before",
            "1978-06-26",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"1978-06-26\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT problem_id FROM problems WHERE date_problem_reported < \"1978-06-26\"",
        "query_toks": [
            "SELECT",
            "problem_id",
            "FROM",
            "problems",
            "WHERE",
            "date_problem_reported",
            "<",
            "``",
            "1978-06-26",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "problem_id",
            "from",
            "problems",
            "where",
            "date_problem_reported",
            "<",
            "value"
        ],
        "question": "Which problems are reported before 1978-06-26? Give me the ids of the problems.",
        "question_toks": [
            "Which",
            "problems",
            "are",
            "reported",
            "before",
            "1978-06-26",
            "?",
            "Give",
            "me",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"1978-06-26\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT count(*) ,  T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T2.product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T2.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t2",
            ".",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t2",
            ".",
            "product_id"
        ],
        "question": "For each product which has problems, what are the number of problems and the product id?",
        "question_toks": [
            "For",
            "each",
            "product",
            "which",
            "has",
            "problems",
            ",",
            "what",
            "are",
            "the",
            "number",
            "of",
            "problems",
            "and",
            "the",
            "product",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT count(*) ,  T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T2.product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T2.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t2",
            ".",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t2",
            ".",
            "product_id"
        ],
        "question": "For each product with some problems, list the count of problems and the product id.",
        "question_toks": [
            "For",
            "each",
            "product",
            "with",
            "some",
            "problems",
            ",",
            "list",
            "the",
            "count",
            "of",
            "problems",
            "and",
            "the",
            "product",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT count(*) ,  T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id WHERE T1.date_problem_reported > \"1986-11-13\" GROUP BY T2.product_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T2.product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.date_problem_reported",
            ">",
            "``",
            "1986-11-13",
            "''",
            "GROUP",
            "BY",
            "T2.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t2",
            ".",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "date_problem_reported",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "product_id"
        ],
        "question": "For each product that has problems, find the number of problems reported after 1986-11-13 and the product id?",
        "question_toks": [
            "For",
            "each",
            "product",
            "that",
            "has",
            "problems",
            ",",
            "find",
            "the",
            "number",
            "of",
            "problems",
            "reported",
            "after",
            "1986-11-13",
            "and",
            "the",
            "product",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"1986-11-13\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT count(*) ,  T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id WHERE T1.date_problem_reported > \"1986-11-13\" GROUP BY T2.product_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T2.product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T1.date_problem_reported",
            ">",
            "``",
            "1986-11-13",
            "''",
            "GROUP",
            "BY",
            "T2.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t2",
            ".",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "date_problem_reported",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "product_id"
        ],
        "question": "What are the products that have problems reported after 1986-11-13? Give me the product id and the count of problems reported after 1986-11-13.",
        "question_toks": [
            "What",
            "are",
            "the",
            "products",
            "that",
            "have",
            "problems",
            "reported",
            "after",
            "1986-11-13",
            "?",
            "Give",
            "me",
            "the",
            "product",
            "id",
            "and",
            "the",
            "count",
            "of",
            "problems",
            "reported",
            "after",
            "1986-11-13",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"1986-11-13\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT DISTINCT product_name FROM product ORDER BY product_name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_name",
            "FROM",
            "product",
            "ORDER",
            "BY",
            "product_name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_name",
            "from",
            "product",
            "order",
            "by",
            "product_name"
        ],
        "question": "List the names of all the distinct product names in alphabetical order?",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "the",
            "distinct",
            "product",
            "names",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT DISTINCT product_name FROM product ORDER BY product_name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_name",
            "FROM",
            "product",
            "ORDER",
            "BY",
            "product_name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_name",
            "from",
            "product",
            "order",
            "by",
            "product_name"
        ],
        "question": "Sort all the distinct product names in alphabetical order.",
        "question_toks": [
            "Sort",
            "all",
            "the",
            "distinct",
            "product",
            "names",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT DISTINCT product_name FROM product ORDER BY product_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_name",
            "FROM",
            "product",
            "ORDER",
            "BY",
            "product_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_name",
            "from",
            "product",
            "order",
            "by",
            "product_id"
        ],
        "question": "List all the distinct product names ordered by product id?",
        "question_toks": [
            "List",
            "all",
            "the",
            "distinct",
            "product",
            "names",
            "ordered",
            "by",
            "product",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT DISTINCT product_name FROM product ORDER BY product_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_name",
            "FROM",
            "product",
            "ORDER",
            "BY",
            "product_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_name",
            "from",
            "product",
            "order",
            "by",
            "product_id"
        ],
        "question": "What is the list of distinct product names sorted by product id?",
        "question_toks": [
            "What",
            "is",
            "the",
            "list",
            "of",
            "distinct",
            "product",
            "names",
            "sorted",
            "by",
            "product",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Dameon\" AND T2.staff_last_name = \"Frami\" UNION SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Jolie\" AND T2.staff_last_name = \"Weber\"",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Dameon",
            "''",
            "AND",
            "T2.staff_last_name",
            "=",
            "``",
            "Frami",
            "''",
            "UNION",
            "SELECT",
            "product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Jolie",
            "''",
            "AND",
            "T2.staff_last_name",
            "=",
            "``",
            "Weber",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value",
            "union",
            "select",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "What are the id of problems reported by the staff named Dameon Frami or Jolie Weber?",
        "question_toks": [
            "What",
            "are",
            "the",
            "id",
            "of",
            "problems",
            "reported",
            "by",
            "the",
            "staff",
            "named",
            "Dameon",
            "Frami",
            "or",
            "Jolie",
            "Weber",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Dameon\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Frami\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"Jolie\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Weber\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Dameon\" AND T2.staff_last_name = \"Frami\" UNION SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Jolie\" AND T2.staff_last_name = \"Weber\"",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Dameon",
            "''",
            "AND",
            "T2.staff_last_name",
            "=",
            "``",
            "Frami",
            "''",
            "UNION",
            "SELECT",
            "product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Jolie",
            "''",
            "AND",
            "T2.staff_last_name",
            "=",
            "``",
            "Weber",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value",
            "union",
            "select",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "Which problems were reported by the staff named Dameon Frami or Jolie Weber? Give me the ids of the problems.",
        "question_toks": [
            "Which",
            "problems",
            "were",
            "reported",
            "by",
            "the",
            "staff",
            "named",
            "Dameon",
            "Frami",
            "or",
            "Jolie",
            "Weber",
            "?",
            "Give",
            "me",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Dameon\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Frami\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"Jolie\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Weber\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Christop\" AND T2.staff_last_name = \"Berge\" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Ashley\" AND T2.staff_last_name = \"Medhurst\"",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Christop",
            "''",
            "AND",
            "T2.staff_last_name",
            "=",
            "``",
            "Berge",
            "''",
            "INTERSECT",
            "SELECT",
            "product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.closure_authorised_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Ashley",
            "''",
            "AND",
            "T2.staff_last_name",
            "=",
            "``",
            "Medhurst",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value",
            "intersect",
            "select",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "closure_authorised_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?",
        "question_toks": [
            "What",
            "are",
            "the",
            "product",
            "ids",
            "for",
            "the",
            "problems",
            "reported",
            "by",
            "Christop",
            "Berge",
            "with",
            "closure",
            "authorised",
            "by",
            "Ashley",
            "Medhurst",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Christop\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Berge\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"Ashley\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Medhurst\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Christop\" AND T2.staff_last_name = \"Berge\" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Ashley\" AND T2.staff_last_name = \"Medhurst\"",
        "query_toks": [
            "SELECT",
            "product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Christop",
            "''",
            "AND",
            "T2.staff_last_name",
            "=",
            "``",
            "Berge",
            "''",
            "INTERSECT",
            "SELECT",
            "product_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.closure_authorised_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.staff_first_name",
            "=",
            "``",
            "Ashley",
            "''",
            "AND",
            "T2.staff_last_name",
            "=",
            "``",
            "Medhurst",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value",
            "intersect",
            "select",
            "product_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "closure_authorised_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "For which product was there a problem reported by Christop Berge, with closure authorised by Ashley Medhurst? Return the product ids.",
        "question_toks": [
            "For",
            "which",
            "product",
            "was",
            "there",
            "a",
            "problem",
            "reported",
            "by",
            "Christop",
            "Berge",
            ",",
            "with",
            "closure",
            "authorised",
            "by",
            "Ashley",
            "Medhurst",
            "?",
            "Return",
            "the",
            "product",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Christop\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Berge\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    23,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"Ashley\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Medhurst\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported  <  ( SELECT min(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = \"Lysanne\" AND T4.staff_last_name = \"Turcotte\" )",
        "query_toks": [
            "SELECT",
            "T1.problem_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "date_problem_reported",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "date_problem_reported",
            ")",
            "FROM",
            "problems",
            "AS",
            "T3",
            "JOIN",
            "staff",
            "AS",
            "T4",
            "ON",
            "T3.reported_by_staff_id",
            "=",
            "T4.staff_id",
            "WHERE",
            "T4.staff_first_name",
            "=",
            "``",
            "Lysanne",
            "''",
            "AND",
            "T4.staff_last_name",
            "=",
            "``",
            "Turcotte",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "date_problem_reported",
            "<",
            "(",
            "select",
            "min",
            "(",
            "date_problem_reported",
            ")",
            "from",
            "problems",
            "as",
            "t3",
            "join",
            "staff",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "reported_by_staff_id",
            "=",
            "t4",
            ".",
            "staff_id",
            "where",
            "t4",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "staff_last_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "reported",
            "before",
            "the",
            "date",
            "of",
            "any",
            "problem",
            "reported",
            "by",
            "Lysanne",
            "Turcotte",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ],
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        18,
                                        false
                                    ],
                                    null
                                ],
                                "\"Lysanne\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        19,
                                        false
                                    ],
                                    null
                                ],
                                "\"Turcotte\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported  <  ( SELECT min(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = \"Lysanne\" AND T4.staff_last_name = \"Turcotte\" )",
        "query_toks": [
            "SELECT",
            "T1.problem_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "date_problem_reported",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "date_problem_reported",
            ")",
            "FROM",
            "problems",
            "AS",
            "T3",
            "JOIN",
            "staff",
            "AS",
            "T4",
            "ON",
            "T3.reported_by_staff_id",
            "=",
            "T4.staff_id",
            "WHERE",
            "T4.staff_first_name",
            "=",
            "``",
            "Lysanne",
            "''",
            "AND",
            "T4.staff_last_name",
            "=",
            "``",
            "Turcotte",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "date_problem_reported",
            "<",
            "(",
            "select",
            "min",
            "(",
            "date_problem_reported",
            ")",
            "from",
            "problems",
            "as",
            "t3",
            "join",
            "staff",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "reported_by_staff_id",
            "=",
            "t4",
            ".",
            "staff_id",
            "where",
            "t4",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "staff_last_name",
            "=",
            "value",
            ")"
        ],
        "question": "Which problems were reported before the date of any problem reported by the staff Lysanne Turcotte? Give me the ids of the problems.",
        "question_toks": [
            "Which",
            "problems",
            "were",
            "reported",
            "before",
            "the",
            "date",
            "of",
            "any",
            "problem",
            "reported",
            "by",
            "the",
            "staff",
            "Lysanne",
            "Turcotte",
            "?",
            "Give",
            "me",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ],
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        18,
                                        false
                                    ],
                                    null
                                ],
                                "\"Lysanne\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        19,
                                        false
                                    ],
                                    null
                                ],
                                "\"Turcotte\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported  >  ( SELECT max(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = \"Rylan\" AND T4.staff_last_name = \"Homenick\" )",
        "query_toks": [
            "SELECT",
            "T1.problem_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "date_problem_reported",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "date_problem_reported",
            ")",
            "FROM",
            "problems",
            "AS",
            "T3",
            "JOIN",
            "staff",
            "AS",
            "T4",
            "ON",
            "T3.reported_by_staff_id",
            "=",
            "T4.staff_id",
            "WHERE",
            "T4.staff_first_name",
            "=",
            "``",
            "Rylan",
            "''",
            "AND",
            "T4.staff_last_name",
            "=",
            "``",
            "Homenick",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "date_problem_reported",
            ">",
            "(",
            "select",
            "max",
            "(",
            "date_problem_reported",
            ")",
            "from",
            "problems",
            "as",
            "t3",
            "join",
            "staff",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "reported_by_staff_id",
            "=",
            "t4",
            ".",
            "staff_id",
            "where",
            "t4",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "staff_last_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the ids of the problems reported after the date of any problems reported by Rylan Homenick?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "reported",
            "after",
            "the",
            "date",
            "of",
            "any",
            "problems",
            "reported",
            "by",
            "Rylan",
            "Homenick",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ],
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        18,
                                        false
                                    ],
                                    null
                                ],
                                "\"Rylan\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        19,
                                        false
                                    ],
                                    null
                                ],
                                "\"Homenick\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported  >  ( SELECT max(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = \"Rylan\" AND T4.staff_last_name = \"Homenick\" )",
        "query_toks": [
            "SELECT",
            "T1.problem_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "staff",
            "AS",
            "T2",
            "ON",
            "T1.reported_by_staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "date_problem_reported",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "date_problem_reported",
            ")",
            "FROM",
            "problems",
            "AS",
            "T3",
            "JOIN",
            "staff",
            "AS",
            "T4",
            "ON",
            "T3.reported_by_staff_id",
            "=",
            "T4.staff_id",
            "WHERE",
            "T4.staff_first_name",
            "=",
            "``",
            "Rylan",
            "''",
            "AND",
            "T4.staff_last_name",
            "=",
            "``",
            "Homenick",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "date_problem_reported",
            ">",
            "(",
            "select",
            "max",
            "(",
            "date_problem_reported",
            ")",
            "from",
            "problems",
            "as",
            "t3",
            "join",
            "staff",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "reported_by_staff_id",
            "=",
            "t4",
            ".",
            "staff_id",
            "where",
            "t4",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "staff_last_name",
            "=",
            "value",
            ")"
        ],
        "question": "Find the ids of the problems reported after the date of any problems reported by the staff Rylan Homenick.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "reported",
            "after",
            "the",
            "date",
            "of",
            "any",
            "problems",
            "reported",
            "by",
            "the",
            "staff",
            "Rylan",
            "Homenick",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ],
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        18,
                                        false
                                    ],
                                    null
                                ],
                                "\"Rylan\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        19,
                                        false
                                    ],
                                    null
                                ],
                                "\"Homenick\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T2.product_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t2",
            ".",
            "product_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the top 3 products which have the largest number of problems?",
        "question_toks": [
            "Find",
            "the",
            "top",
            "3",
            "products",
            "which",
            "have",
            "the",
            "largest",
            "number",
            "of",
            "problems",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T2.product_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t2",
            ".",
            "product_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the three products that have the most problems?s",
        "question_toks": [
            "What",
            "are",
            "the",
            "three",
            "products",
            "that",
            "have",
            "the",
            "most",
            "problems",
            "?",
            "s"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id WHERE T2.product_name = \"voluptatem\" AND T1.date_problem_reported > \"1995\"",
        "query_toks": [
            "SELECT",
            "T1.problem_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T2.product_name",
            "=",
            "``",
            "voluptatem",
            "''",
            "AND",
            "T1.date_problem_reported",
            ">",
            "``",
            "1995",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "date_problem_reported",
            ">",
            "value"
        ],
        "question": "List the ids of the problems from the product \"voluptatem\" that are reported after 1995?",
        "question_toks": [
            "List",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "from",
            "the",
            "product",
            "``",
            "voluptatem",
            "''",
            "that",
            "are",
            "reported",
            "after",
            "1995",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"voluptatem\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"1995\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T1.problem_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id WHERE T2.product_name = \"voluptatem\" AND T1.date_problem_reported > \"1995\"",
        "query_toks": [
            "SELECT",
            "T1.problem_id",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "WHERE",
            "T2.product_name",
            "=",
            "``",
            "voluptatem",
            "''",
            "AND",
            "T1.date_problem_reported",
            ">",
            "``",
            "1995",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "problem_id",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "date_problem_reported",
            ">",
            "value"
        ],
        "question": "What are the ids of the problems that are from the product \"voluptatem\" and are reported after 1995?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "problems",
            "that",
            "are",
            "from",
            "the",
            "product",
            "``",
            "voluptatem",
            "''",
            "and",
            "are",
            "reported",
            "after",
            "1995",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"voluptatem\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"1995\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T3.staff_first_name ,  T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = \"rem\" EXCEPT SELECT T3.staff_first_name ,  T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = \"aut\"",
        "query_toks": [
            "SELECT",
            "T3.staff_first_name",
            ",",
            "T3.staff_last_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "JOIN",
            "staff",
            "AS",
            "T3",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "AND",
            "T1.reported_by_staff_id",
            "=",
            "T3.staff_id",
            "WHERE",
            "T2.product_name",
            "=",
            "``",
            "rem",
            "''",
            "EXCEPT",
            "SELECT",
            "T3.staff_first_name",
            ",",
            "T3.staff_last_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "JOIN",
            "staff",
            "AS",
            "T3",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "AND",
            "T1.reported_by_staff_id",
            "=",
            "T3.staff_id",
            "WHERE",
            "T2.product_name",
            "=",
            "``",
            "aut",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "staff_first_name",
            ",",
            "t3",
            ".",
            "staff_last_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "join",
            "staff",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "and",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t3",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value",
            "except",
            "select",
            "t3",
            ".",
            "staff_first_name",
            ",",
            "t3",
            ".",
            "staff_last_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "join",
            "staff",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "and",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t3",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Find the first and last name of the staff members who reported problems from the product \"rem\" but not \"aut\"?",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "staff",
            "members",
            "who",
            "reported",
            "problems",
            "from",
            "the",
            "product",
            "``",
            "rem",
            "''",
            "but",
            "not",
            "``",
            "aut",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"rem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "\"aut\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T3.staff_first_name ,  T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = \"rem\" EXCEPT SELECT T3.staff_first_name ,  T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = \"aut\"",
        "query_toks": [
            "SELECT",
            "T3.staff_first_name",
            ",",
            "T3.staff_last_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "JOIN",
            "staff",
            "AS",
            "T3",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "AND",
            "T1.reported_by_staff_id",
            "=",
            "T3.staff_id",
            "WHERE",
            "T2.product_name",
            "=",
            "``",
            "rem",
            "''",
            "EXCEPT",
            "SELECT",
            "T3.staff_first_name",
            ",",
            "T3.staff_last_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "JOIN",
            "staff",
            "AS",
            "T3",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "AND",
            "T1.reported_by_staff_id",
            "=",
            "T3.staff_id",
            "WHERE",
            "T2.product_name",
            "=",
            "``",
            "aut",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "staff_first_name",
            ",",
            "t3",
            ".",
            "staff_last_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "join",
            "staff",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "and",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t3",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value",
            "except",
            "select",
            "t3",
            ".",
            "staff_first_name",
            ",",
            "t3",
            ".",
            "staff_last_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "join",
            "staff",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "and",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t3",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Which staff members who reported problems from the product \"rem\" but not \"aut\"? Give me their first and last names.",
        "question_toks": [
            "Which",
            "staff",
            "members",
            "who",
            "reported",
            "problems",
            "from",
            "the",
            "product",
            "``",
            "rem",
            "''",
            "but",
            "not",
            "``",
            "aut",
            "''",
            "?",
            "Give",
            "me",
            "their",
            "first",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"rem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    19,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "\"aut\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = \"Lacey\" AND T3.staff_last_name = \"Bosco\" INTERSECT SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = \"Kenton\" AND T3.staff_last_name = \"Champlin\"",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "JOIN",
            "staff",
            "AS",
            "T3",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "AND",
            "T1.reported_by_staff_id",
            "=",
            "T3.staff_id",
            "WHERE",
            "T3.staff_first_name",
            "=",
            "``",
            "Lacey",
            "''",
            "AND",
            "T3.staff_last_name",
            "=",
            "``",
            "Bosco",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.product_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "JOIN",
            "staff",
            "AS",
            "T3",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "AND",
            "T1.reported_by_staff_id",
            "=",
            "T3.staff_id",
            "WHERE",
            "T3.staff_first_name",
            "=",
            "``",
            "Kenton",
            "''",
            "AND",
            "T3.staff_last_name",
            "=",
            "``",
            "Champlin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "join",
            "staff",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "and",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t3",
            ".",
            "staff_id",
            "where",
            "t3",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "staff_last_name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "product_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "join",
            "staff",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "and",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t3",
            ".",
            "staff_id",
            "where",
            "t3",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "Find the products which have problems reported by both Lacey Bosco and Kenton Champlin?",
        "question_toks": [
            "Find",
            "the",
            "products",
            "which",
            "have",
            "problems",
            "reported",
            "by",
            "both",
            "Lacey",
            "Bosco",
            "and",
            "Kenton",
            "Champlin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Lacey\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Bosco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"Kenton\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Champlin\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_software_problems",
        "query": "SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = \"Lacey\" AND T3.staff_last_name = \"Bosco\" INTERSECT SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = \"Kenton\" AND T3.staff_last_name = \"Champlin\"",
        "query_toks": [
            "SELECT",
            "T2.product_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "JOIN",
            "staff",
            "AS",
            "T3",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "AND",
            "T1.reported_by_staff_id",
            "=",
            "T3.staff_id",
            "WHERE",
            "T3.staff_first_name",
            "=",
            "``",
            "Lacey",
            "''",
            "AND",
            "T3.staff_last_name",
            "=",
            "``",
            "Bosco",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.product_name",
            "FROM",
            "problems",
            "AS",
            "T1",
            "JOIN",
            "product",
            "AS",
            "T2",
            "JOIN",
            "staff",
            "AS",
            "T3",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "AND",
            "T1.reported_by_staff_id",
            "=",
            "T3.staff_id",
            "WHERE",
            "T3.staff_first_name",
            "=",
            "``",
            "Kenton",
            "''",
            "AND",
            "T3.staff_last_name",
            "=",
            "``",
            "Champlin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "join",
            "staff",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "and",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t3",
            ".",
            "staff_id",
            "where",
            "t3",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "staff_last_name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "product_name",
            "from",
            "problems",
            "as",
            "t1",
            "join",
            "product",
            "as",
            "t2",
            "join",
            "staff",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "and",
            "t1",
            ".",
            "reported_by_staff_id",
            "=",
            "t3",
            ".",
            "staff_id",
            "where",
            "t3",
            ".",
            "staff_first_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "staff_last_name",
            "=",
            "value"
        ],
        "question": "Which products have problems reported by both the staff named Lacey Bosco and the staff named Kenton Champlin?",
        "question_toks": [
            "Which",
            "products",
            "have",
            "problems",
            "reported",
            "by",
            "both",
            "the",
            "staff",
            "named",
            "Lacey",
            "Bosco",
            "and",
            "the",
            "staff",
            "named",
            "Kenton",
            "Champlin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Lacey\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Bosco\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    24,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"Kenton\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Champlin\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT count(*) FROM branch WHERE membership_amount  >  (SELECT avg(membership_amount) FROM branch)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "branch",
            "WHERE",
            "membership_amount",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "membership_amount",
            ")",
            "FROM",
            "branch",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "branch",
            "where",
            "membership_amount",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "membership_amount",
            ")",
            "from",
            "branch",
            ")"
        ],
        "question": "How many branches where have more than average number of memberships are there?",
        "question_toks": [
            "How",
            "many",
            "branches",
            "where",
            "have",
            "more",
            "than",
            "average",
            "number",
            "of",
            "memberships",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT count(*) FROM branch WHERE membership_amount  >  (SELECT avg(membership_amount) FROM branch)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "branch",
            "WHERE",
            "membership_amount",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "membership_amount",
            ")",
            "FROM",
            "branch",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "branch",
            "where",
            "membership_amount",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "membership_amount",
            ")",
            "from",
            "branch",
            ")"
        ],
        "question": "What is the number of branches that have more than the average number of memberships?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "branches",
            "that",
            "have",
            "more",
            "than",
            "the",
            "average",
            "number",
            "of",
            "memberships",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT name ,  address_road ,  city FROM branch ORDER BY open_year",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "address_road",
            ",",
            "city",
            "FROM",
            "branch",
            "ORDER",
            "BY",
            "open_year"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "address_road",
            ",",
            "city",
            "from",
            "branch",
            "order",
            "by",
            "open_year"
        ],
        "question": "Show name, address road, and city for all branches sorted by open year.",
        "question_toks": [
            "Show",
            "name",
            ",",
            "address",
            "road",
            ",",
            "and",
            "city",
            "for",
            "all",
            "branches",
            "sorted",
            "by",
            "open",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT name ,  address_road ,  city FROM branch ORDER BY open_year",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "address_road",
            ",",
            "city",
            "FROM",
            "branch",
            "ORDER",
            "BY",
            "open_year"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "address_road",
            ",",
            "city",
            "from",
            "branch",
            "order",
            "by",
            "open_year"
        ],
        "question": "What are the names, address roads, and cities of the branches ordered by opening year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "address",
            "roads",
            ",",
            "and",
            "cities",
            "of",
            "the",
            "branches",
            "ordered",
            "by",
            "opening",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "branch",
            "ORDER",
            "BY",
            "membership_amount",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "branch",
            "order",
            "by",
            "membership_amount",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are names for top three branches with most number of membership?",
        "question_toks": [
            "What",
            "are",
            "names",
            "for",
            "top",
            "three",
            "branches",
            "with",
            "most",
            "number",
            "of",
            "membership",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "branch",
            "ORDER",
            "BY",
            "membership_amount",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "branch",
            "order",
            "by",
            "membership_amount",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names for the 3 branches that have the most memberships?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "for",
            "the",
            "3",
            "branches",
            "that",
            "have",
            "the",
            "most",
            "memberships",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT DISTINCT city FROM branch WHERE membership_amount  >=  100",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "city",
            "FROM",
            "branch",
            "WHERE",
            "membership_amount",
            ">",
            "=",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "city",
            "from",
            "branch",
            "where",
            "membership_amount",
            ">",
            "=",
            "value"
        ],
        "question": "Show all distinct city where branches with at least 100 memberships are located.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "city",
            "where",
            "branches",
            "with",
            "at",
            "least",
            "100",
            "memberships",
            "are",
            "located",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT DISTINCT city FROM branch WHERE membership_amount  >=  100",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "city",
            "FROM",
            "branch",
            "WHERE",
            "membership_amount",
            ">",
            "=",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "city",
            "from",
            "branch",
            "where",
            "membership_amount",
            ">",
            "=",
            "value"
        ],
        "question": "What are the different cities that have more than 100 memberships?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "cities",
            "that",
            "have",
            "more",
            "than",
            "100",
            "memberships",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT open_year FROM branch GROUP BY open_year HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "open_year",
            "FROM",
            "branch",
            "GROUP",
            "BY",
            "open_year",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "open_year",
            "from",
            "branch",
            "group",
            "by",
            "open_year",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List all open years when at least two shops are opened.",
        "question_toks": [
            "List",
            "all",
            "open",
            "years",
            "when",
            "at",
            "least",
            "two",
            "shops",
            "are",
            "opened",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT open_year FROM branch GROUP BY open_year HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "open_year",
            "FROM",
            "branch",
            "GROUP",
            "BY",
            "open_year",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "open_year",
            "from",
            "branch",
            "group",
            "by",
            "open_year",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the opening years in which at least two shops opened?",
        "question_toks": [
            "What",
            "are",
            "the",
            "opening",
            "years",
            "in",
            "which",
            "at",
            "least",
            "two",
            "shops",
            "opened",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT min(membership_amount) ,  max(membership_amount) FROM branch WHERE open_year  =  2011 OR city  =  'London'",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "membership_amount",
            ")",
            ",",
            "max",
            "(",
            "membership_amount",
            ")",
            "FROM",
            "branch",
            "WHERE",
            "open_year",
            "=",
            "2011",
            "OR",
            "city",
            "=",
            "'London",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "membership_amount",
            ")",
            ",",
            "max",
            "(",
            "membership_amount",
            ")",
            "from",
            "branch",
            "where",
            "open_year",
            "=",
            "value",
            "or",
            "city",
            "=",
            "value"
        ],
        "question": "Show minimum and maximum amount of memberships for all branches opened in 2011 or located at city London.",
        "question_toks": [
            "Show",
            "minimum",
            "and",
            "maximum",
            "amount",
            "of",
            "memberships",
            "for",
            "all",
            "branches",
            "opened",
            "in",
            "2011",
            "or",
            "located",
            "at",
            "city",
            "London",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT min(membership_amount) ,  max(membership_amount) FROM branch WHERE open_year  =  2011 OR city  =  'London'",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "membership_amount",
            ")",
            ",",
            "max",
            "(",
            "membership_amount",
            ")",
            "FROM",
            "branch",
            "WHERE",
            "open_year",
            "=",
            "2011",
            "OR",
            "city",
            "=",
            "'London",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "membership_amount",
            ")",
            ",",
            "max",
            "(",
            "membership_amount",
            ")",
            "from",
            "branch",
            "where",
            "open_year",
            "=",
            "value",
            "or",
            "city",
            "=",
            "value"
        ],
        "question": "What are the minimum and maximum membership amounts for all branches that either opened in 2011 or are located in London?",
        "question_toks": [
            "What",
            "are",
            "the",
            "minimum",
            "and",
            "maximum",
            "membership",
            "amounts",
            "for",
            "all",
            "branches",
            "that",
            "either",
            "opened",
            "in",
            "2011",
            "or",
            "are",
            "located",
            "in",
            "London",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT city ,  count(*) FROM branch WHERE open_year  <  2010 GROUP BY city",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "branch",
            "WHERE",
            "open_year",
            "<",
            "2010",
            "GROUP",
            "BY",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "branch",
            "where",
            "open_year",
            "<",
            "value",
            "group",
            "by",
            "city"
        ],
        "question": "Show the city and the number of branches opened before 2010 for each city.",
        "question_toks": [
            "Show",
            "the",
            "city",
            "and",
            "the",
            "number",
            "of",
            "branches",
            "opened",
            "before",
            "2010",
            "for",
            "each",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT city ,  count(*) FROM branch WHERE open_year  <  2010 GROUP BY city",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "branch",
            "WHERE",
            "open_year",
            "<",
            "2010",
            "GROUP",
            "BY",
            "city"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "branch",
            "where",
            "open_year",
            "<",
            "value",
            "group",
            "by",
            "city"
        ],
        "question": "For each city, how many branches opened before 2010?",
        "question_toks": [
            "For",
            "each",
            "city",
            ",",
            "how",
            "many",
            "branches",
            "opened",
            "before",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT count(DISTINCT LEVEL) FROM member",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "LEVEL",
            ")",
            "FROM",
            "member"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "level",
            ")",
            "from",
            "member"
        ],
        "question": "How many different levels do members have?",
        "question_toks": [
            "How",
            "many",
            "different",
            "levels",
            "do",
            "members",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT count(DISTINCT LEVEL) FROM member",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "LEVEL",
            ")",
            "FROM",
            "member"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "level",
            ")",
            "from",
            "member"
        ],
        "question": "What are the different membership levels?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "membership",
            "levels",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT card_number ,  name ,  hometown FROM member ORDER BY LEVEL DESC",
        "query_toks": [
            "SELECT",
            "card_number",
            ",",
            "name",
            ",",
            "hometown",
            "FROM",
            "member",
            "ORDER",
            "BY",
            "LEVEL",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "card_number",
            ",",
            "name",
            ",",
            "hometown",
            "from",
            "member",
            "order",
            "by",
            "level",
            "desc"
        ],
        "question": "Show card number, name, and hometown for all members in a descending order of level.",
        "question_toks": [
            "Show",
            "card",
            "number",
            ",",
            "name",
            ",",
            "and",
            "hometown",
            "for",
            "all",
            "members",
            "in",
            "a",
            "descending",
            "order",
            "of",
            "level",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT card_number ,  name ,  hometown FROM member ORDER BY LEVEL DESC",
        "query_toks": [
            "SELECT",
            "card_number",
            ",",
            "name",
            ",",
            "hometown",
            "FROM",
            "member",
            "ORDER",
            "BY",
            "LEVEL",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "card_number",
            ",",
            "name",
            ",",
            "hometown",
            "from",
            "member",
            "order",
            "by",
            "level",
            "desc"
        ],
        "question": "What are the card numbers, names, and hometowns of every member ordered by descending level?",
        "question_toks": [
            "What",
            "are",
            "the",
            "card",
            "numbers",
            ",",
            "names",
            ",",
            "and",
            "hometowns",
            "of",
            "every",
            "member",
            "ordered",
            "by",
            "descending",
            "level",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT LEVEL FROM member GROUP BY LEVEL ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LEVEL",
            "FROM",
            "member",
            "GROUP",
            "BY",
            "LEVEL",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "level",
            "from",
            "member",
            "group",
            "by",
            "level",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the membership level with most number of members.",
        "question_toks": [
            "Show",
            "the",
            "membership",
            "level",
            "with",
            "most",
            "number",
            "of",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT LEVEL FROM member GROUP BY LEVEL ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LEVEL",
            "FROM",
            "member",
            "GROUP",
            "BY",
            "LEVEL",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "level",
            "from",
            "member",
            "group",
            "by",
            "level",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the membership level with the most people?",
        "question_toks": [
            "What",
            "is",
            "the",
            "membership",
            "level",
            "with",
            "the",
            "most",
            "people",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T3.name ,  T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id ORDER BY T1.register_year",
        "query_toks": [
            "SELECT",
            "T3.name",
            ",",
            "T2.name",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "member",
            "AS",
            "T3",
            "ON",
            "T1.member_id",
            "=",
            "T3.member_id",
            "ORDER",
            "BY",
            "T1.register_year"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "member",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t3",
            ".",
            "member_id",
            "order",
            "by",
            "t1",
            ".",
            "register_year"
        ],
        "question": "Show all member names and registered branch names sorted by register year.",
        "question_toks": [
            "Show",
            "all",
            "member",
            "names",
            "and",
            "registered",
            "branch",
            "names",
            "sorted",
            "by",
            "register",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T3.name ,  T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id ORDER BY T1.register_year",
        "query_toks": [
            "SELECT",
            "T3.name",
            ",",
            "T2.name",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "member",
            "AS",
            "T3",
            "ON",
            "T1.member_id",
            "=",
            "T3.member_id",
            "ORDER",
            "BY",
            "T1.register_year"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "member",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t3",
            ".",
            "member_id",
            "order",
            "by",
            "t1",
            ".",
            "register_year"
        ],
        "question": "What are the names of the members and branches at which they are registered sorted by year of registration?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "members",
            "and",
            "branches",
            "at",
            "which",
            "they",
            "are",
            "registered",
            "sorted",
            "by",
            "year",
            "of",
            "registration",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T2.name ,  count(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  >  2015 GROUP BY T2.branch_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T1.register_year",
            ">",
            "2015",
            "GROUP",
            "BY",
            "T2.branch_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t1",
            ".",
            "register_year",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "branch_id"
        ],
        "question": "Show all branch names with the number of members in each branch registered after 2015.",
        "question_toks": [
            "Show",
            "all",
            "branch",
            "names",
            "with",
            "the",
            "number",
            "of",
            "members",
            "in",
            "each",
            "branch",
            "registered",
            "after",
            "2015",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T2.name ,  count(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  >  2015 GROUP BY T2.branch_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T1.register_year",
            ">",
            "2015",
            "GROUP",
            "BY",
            "T2.branch_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t1",
            ".",
            "register_year",
            ">",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "branch_id"
        ],
        "question": "For each branch id, what are the names of the branches that were registered after 2015?",
        "question_toks": [
            "For",
            "each",
            "branch",
            "id",
            ",",
            "what",
            "are",
            "the",
            "names",
            "of",
            "the",
            "branches",
            "that",
            "were",
            "registered",
            "after",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT name FROM member WHERE member_id NOT IN (SELECT member_id FROM membership_register_branch)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "member",
            "WHERE",
            "member_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "member_id",
            "FROM",
            "membership_register_branch",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "member",
            "where",
            "member_id",
            "not",
            "in",
            "(",
            "select",
            "member_id",
            "from",
            "membership_register_branch",
            ")"
        ],
        "question": "Show member names without any registered branch.",
        "question_toks": [
            "Show",
            "member",
            "names",
            "without",
            "any",
            "registered",
            "branch",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT name FROM member WHERE member_id NOT IN (SELECT member_id FROM membership_register_branch)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "member",
            "WHERE",
            "member_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "member_id",
            "FROM",
            "membership_register_branch",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "member",
            "where",
            "member_id",
            "not",
            "in",
            "(",
            "select",
            "member_id",
            "from",
            "membership_register_branch",
            ")"
        ],
        "question": "What are the names of the members that have never registered at any branch?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "members",
            "that",
            "have",
            "never",
            "registered",
            "at",
            "any",
            "branch",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT name ,  city FROM branch WHERE branch_id NOT IN (SELECT branch_id FROM membership_register_branch)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "city",
            "FROM",
            "branch",
            "WHERE",
            "branch_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "branch_id",
            "FROM",
            "membership_register_branch",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "city",
            "from",
            "branch",
            "where",
            "branch_id",
            "not",
            "in",
            "(",
            "select",
            "branch_id",
            "from",
            "membership_register_branch",
            ")"
        ],
        "question": "List the branch name and city without any registered members.",
        "question_toks": [
            "List",
            "the",
            "branch",
            "name",
            "and",
            "city",
            "without",
            "any",
            "registered",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT name ,  city FROM branch WHERE branch_id NOT IN (SELECT branch_id FROM membership_register_branch)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "city",
            "FROM",
            "branch",
            "WHERE",
            "branch_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "branch_id",
            "FROM",
            "membership_register_branch",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "city",
            "from",
            "branch",
            "where",
            "branch_id",
            "not",
            "in",
            "(",
            "select",
            "branch_id",
            "from",
            "membership_register_branch",
            ")"
        ],
        "question": "What are the names and cities of the branches that do not have any registered members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "cities",
            "of",
            "the",
            "branches",
            "that",
            "do",
            "not",
            "have",
            "any",
            "registered",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T2.name ,  T2.open_year FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  =  2016 GROUP BY T2.branch_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.open_year",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T1.register_year",
            "=",
            "2016",
            "GROUP",
            "BY",
            "T2.branch_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "open_year",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t1",
            ".",
            "register_year",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "branch_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and open year for the branch with most number of memberships registered in 2016?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "open",
            "year",
            "for",
            "the",
            "branch",
            "with",
            "most",
            "number",
            "of",
            "memberships",
            "registered",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T2.name ,  T2.open_year FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  =  2016 GROUP BY T2.branch_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.open_year",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T1.register_year",
            "=",
            "2016",
            "GROUP",
            "BY",
            "T2.branch_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "open_year",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t1",
            ".",
            "register_year",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "branch_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and opening year for the branch that registered the most members in 2016?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "opening",
            "year",
            "for",
            "the",
            "branch",
            "that",
            "registered",
            "the",
            "most",
            "members",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T2.name ,  T2.hometown FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T1.register_year  =  2016",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.hometown",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.member_id",
            "=",
            "T2.member_id",
            "WHERE",
            "T1.register_year",
            "=",
            "2016"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "hometown",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "where",
            "t1",
            ".",
            "register_year",
            "=",
            "value"
        ],
        "question": "Show the member name and hometown who registered a branch in 2016.",
        "question_toks": [
            "Show",
            "the",
            "member",
            "name",
            "and",
            "hometown",
            "who",
            "registered",
            "a",
            "branch",
            "in",
            "2016",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T2.name ,  T2.hometown FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T1.register_year  =  2016",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T2.hometown",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.member_id",
            "=",
            "T2.member_id",
            "WHERE",
            "T1.register_year",
            "=",
            "2016"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "hometown",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "where",
            "t1",
            ".",
            "register_year",
            "=",
            "value"
        ],
        "question": "What are the member names and hometowns of those who registered at a branch in 2016?",
        "question_toks": [
            "What",
            "are",
            "the",
            "member",
            "names",
            "and",
            "hometowns",
            "of",
            "those",
            "who",
            "registered",
            "at",
            "a",
            "branch",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT city FROM branch WHERE open_year  =  2001 AND membership_amount  >  100",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "branch",
            "WHERE",
            "open_year",
            "=",
            "2001",
            "AND",
            "membership_amount",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "branch",
            "where",
            "open_year",
            "=",
            "value",
            "and",
            "membership_amount",
            ">",
            "value"
        ],
        "question": "Show all city with a branch opened in 2001 and a branch with more than 100 membership.",
        "question_toks": [
            "Show",
            "all",
            "city",
            "with",
            "a",
            "branch",
            "opened",
            "in",
            "2001",
            "and",
            "a",
            "branch",
            "with",
            "more",
            "than",
            "100",
            "membership",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT city FROM branch WHERE open_year  =  2001 AND membership_amount  >  100",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "branch",
            "WHERE",
            "open_year",
            "=",
            "2001",
            "AND",
            "membership_amount",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "branch",
            "where",
            "open_year",
            "=",
            "value",
            "and",
            "membership_amount",
            ">",
            "value"
        ],
        "question": "What are the cities that have a branch that opened in 2001 and a branch with more than 100 members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "cities",
            "that",
            "have",
            "a",
            "branch",
            "that",
            "opened",
            "in",
            "2001",
            "and",
            "a",
            "branch",
            "with",
            "more",
            "than",
            "100",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2001.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT city FROM branch EXCEPT SELECT city FROM branch WHERE membership_amount  >  100",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "branch",
            "EXCEPT",
            "SELECT",
            "city",
            "FROM",
            "branch",
            "WHERE",
            "membership_amount",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "branch",
            "except",
            "select",
            "city",
            "from",
            "branch",
            "where",
            "membership_amount",
            ">",
            "value"
        ],
        "question": "Show all cities without a branch having more than 100 memberships.",
        "question_toks": [
            "Show",
            "all",
            "cities",
            "without",
            "a",
            "branch",
            "having",
            "more",
            "than",
            "100",
            "memberships",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        100.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT city FROM branch EXCEPT SELECT city FROM branch WHERE membership_amount  >  100",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "branch",
            "EXCEPT",
            "SELECT",
            "city",
            "FROM",
            "branch",
            "WHERE",
            "membership_amount",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "branch",
            "except",
            "select",
            "city",
            "from",
            "branch",
            "where",
            "membership_amount",
            ">",
            "value"
        ],
        "question": "What are the cities that do not have any branches with more than 100 members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "cities",
            "that",
            "do",
            "not",
            "have",
            "any",
            "branches",
            "with",
            "more",
            "than",
            "100",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        100.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT sum(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T2.city  =  'London' AND T1.year  =  2018",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "total_pounds",
            ")",
            "FROM",
            "purchase",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T2.city",
            "=",
            "'London",
            "'",
            "AND",
            "T1.year",
            "=",
            "2018"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "total_pounds",
            ")",
            "from",
            "purchase",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What is the sum of total pounds of purchase in year 2018 for all branches in London?",
        "question_toks": [
            "What",
            "is",
            "the",
            "sum",
            "of",
            "total",
            "pounds",
            "of",
            "purchase",
            "in",
            "year",
            "2018",
            "for",
            "all",
            "branches",
            "in",
            "London",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    2018.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT sum(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T2.city  =  'London' AND T1.year  =  2018",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "total_pounds",
            ")",
            "FROM",
            "purchase",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "WHERE",
            "T2.city",
            "=",
            "'London",
            "'",
            "AND",
            "T1.year",
            "=",
            "2018"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "total_pounds",
            ")",
            "from",
            "purchase",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many total pounds were purchased in the year 2018 at all London branches?",
        "question_toks": [
            "How",
            "many",
            "total",
            "pounds",
            "were",
            "purchased",
            "in",
            "the",
            "year",
            "2018",
            "at",
            "all",
            "London",
            "branches",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    2018.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT count(*) FROM purchase AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T2.level  =  6",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "purchase",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.member_id",
            "=",
            "T2.member_id",
            "WHERE",
            "T2.level",
            "=",
            "6"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "purchase",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "where",
            "t2",
            ".",
            "level",
            "=",
            "value"
        ],
        "question": "What is the total number of purchases for members with level 6?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "purchases",
            "for",
            "members",
            "with",
            "level",
            "6",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    6.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT count(*) FROM purchase AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T2.level  =  6",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "purchase",
            "AS",
            "T1",
            "JOIN",
            "member",
            "AS",
            "T2",
            "ON",
            "T1.member_id",
            "=",
            "T2.member_id",
            "WHERE",
            "T2.level",
            "=",
            "6"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "purchase",
            "as",
            "t1",
            "join",
            "member",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t2",
            ".",
            "member_id",
            "where",
            "t2",
            ".",
            "level",
            "=",
            "value"
        ],
        "question": "What are the total purchases for members rated at level 6?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "purchases",
            "for",
            "members",
            "rated",
            "at",
            "level",
            "6",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    6.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Louisville ,  Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Hiram ,  Georgia'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "member",
            "AS",
            "T3",
            "ON",
            "T1.member_id",
            "=",
            "T3.member_id",
            "WHERE",
            "T3.Hometown",
            "=",
            "'Louisville",
            ",",
            "Kentucky",
            "'",
            "INTERSECT",
            "SELECT",
            "T2.name",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "member",
            "AS",
            "T3",
            "ON",
            "T1.member_id",
            "=",
            "T3.member_id",
            "WHERE",
            "T3.Hometown",
            "=",
            "'Hiram",
            ",",
            "Georgia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "member",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t3",
            ".",
            "member_id",
            "where",
            "t3",
            ".",
            "hometown",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "member",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t3",
            ".",
            "member_id",
            "where",
            "t3",
            ".",
            "hometown",
            "=",
            "value"
        ],
        "question": "Find the name of branches where have some members whose hometown is in Louisville, Kentucky and some in Hiram, Georgia.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "branches",
            "where",
            "have",
            "some",
            "members",
            "whose",
            "hometown",
            "is",
            "in",
            "Louisville",
            ",",
            "Kentucky",
            "and",
            "some",
            "in",
            "Hiram",
            ",",
            "Georgia",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Louisville ,  Kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Hiram ,  Georgia\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Louisville ,  Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Hiram ,  Georgia'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "member",
            "AS",
            "T3",
            "ON",
            "T1.member_id",
            "=",
            "T3.member_id",
            "WHERE",
            "T3.Hometown",
            "=",
            "'Louisville",
            ",",
            "Kentucky",
            "'",
            "INTERSECT",
            "SELECT",
            "T2.name",
            "FROM",
            "membership_register_branch",
            "AS",
            "T1",
            "JOIN",
            "branch",
            "AS",
            "T2",
            "ON",
            "T1.branch_id",
            "=",
            "T2.branch_id",
            "JOIN",
            "member",
            "AS",
            "T3",
            "ON",
            "T1.member_id",
            "=",
            "T3.member_id",
            "WHERE",
            "T3.Hometown",
            "=",
            "'Hiram",
            ",",
            "Georgia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "member",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t3",
            ".",
            "member_id",
            "where",
            "t3",
            ".",
            "hometown",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "membership_register_branch",
            "as",
            "t1",
            "join",
            "branch",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "branch_id",
            "=",
            "t2",
            ".",
            "branch_id",
            "join",
            "member",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "member_id",
            "=",
            "t3",
            ".",
            "member_id",
            "where",
            "t3",
            ".",
            "hometown",
            "=",
            "value"
        ],
        "question": "What are the names of the branches that have some members with a hometown in Louisville, Kentucky and also those from Hiram, Goergia?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "branches",
            "that",
            "have",
            "some",
            "members",
            "with",
            "a",
            "hometown",
            "in",
            "Louisville",
            ",",
            "Kentucky",
            "and",
            "also",
            "those",
            "from",
            "Hiram",
            ",",
            "Goergia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Louisville ,  Kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"Hiram ,  Georgia\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT card_number FROM member WHERE Hometown LIKE \"%Kentucky%\"",
        "query_toks": [
            "SELECT",
            "card_number",
            "FROM",
            "member",
            "WHERE",
            "Hometown",
            "LIKE",
            "``",
            "%",
            "Kentucky",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "card_number",
            "from",
            "member",
            "where",
            "hometown",
            "like",
            "value"
        ],
        "question": "list the card number of all members whose hometown address includes word \"Kentucky\".",
        "question_toks": [
            "list",
            "the",
            "card",
            "number",
            "of",
            "all",
            "members",
            "whose",
            "hometown",
            "address",
            "includes",
            "word",
            "``",
            "Kentucky",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"%Kentucky%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "shop_membership",
        "query": "SELECT card_number FROM member WHERE Hometown LIKE \"%Kentucky%\"",
        "query_toks": [
            "SELECT",
            "card_number",
            "FROM",
            "member",
            "WHERE",
            "Hometown",
            "LIKE",
            "``",
            "%",
            "Kentucky",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "card_number",
            "from",
            "member",
            "where",
            "hometown",
            "like",
            "value"
        ],
        "question": "What are the card numbers of members from Kentucky?",
        "question_toks": [
            "What",
            "are",
            "the",
            "card",
            "numbers",
            "of",
            "members",
            "from",
            "Kentucky",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"%Kentucky%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(*) FROM STUDENT",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENT"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student"
        ],
        "question": "Find the number of students in total.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(*) FROM STUDENT",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENT"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student"
        ],
        "question": "How many students are there in total?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(*) FROM VOTING_RECORD",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "VOTING_RECORD"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "voting_record"
        ],
        "question": "Find the number of voting records in total.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "voting",
            "records",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(*) FROM VOTING_RECORD",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "VOTING_RECORD"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "voting_record"
        ],
        "question": "How many voting records do we have?",
        "question_toks": [
            "How",
            "many",
            "voting",
            "records",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(DISTINCT President_Vote) FROM VOTING_RECORD",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "President_Vote",
            ")",
            "FROM",
            "VOTING_RECORD"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "president_vote",
            ")",
            "from",
            "voting_record"
        ],
        "question": "Find the distinct number of president votes.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "number",
            "of",
            "president",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(DISTINCT President_Vote) FROM VOTING_RECORD",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "President_Vote",
            ")",
            "FROM",
            "VOTING_RECORD"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "president_vote",
            ")",
            "from",
            "voting_record"
        ],
        "question": "How many distinct president votes are recorded?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "president",
            "votes",
            "are",
            "recorded",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT max(Age) FROM STUDENT",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Age",
            ")",
            "FROM",
            "STUDENT"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "student"
        ],
        "question": "Find the maximum age of all the students.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "age",
            "of",
            "all",
            "the",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT max(Age) FROM STUDENT",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Age",
            ")",
            "FROM",
            "STUDENT"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "age",
            ")",
            "from",
            "student"
        ],
        "question": "What is the oldest age among the students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "oldest",
            "age",
            "among",
            "the",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT LName FROM STUDENT WHERE Major  =  50",
        "query_toks": [
            "SELECT",
            "LName",
            "FROM",
            "STUDENT",
            "WHERE",
            "Major",
            "=",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value"
        ],
        "question": "Find the last names of students with major 50.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "names",
            "of",
            "students",
            "with",
            "major",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT LName FROM STUDENT WHERE Major  =  50",
        "query_toks": [
            "SELECT",
            "LName",
            "FROM",
            "STUDENT",
            "WHERE",
            "Major",
            "=",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value"
        ],
        "question": "What are the last names of students studying major 50?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "students",
            "studying",
            "major",
            "50",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Fname FROM STUDENT WHERE Age  >  22",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "STUDENT",
            "WHERE",
            "Age",
            ">",
            "22"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "Find the first names of students with age above 22.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "students",
            "with",
            "age",
            "above",
            "22",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    22.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Fname FROM STUDENT WHERE Age  >  22",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "STUDENT",
            "WHERE",
            "Age",
            ">",
            "22"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "What are the first names of all the students aged above 22?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "the",
            "students",
            "aged",
            "above",
            "22",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    22.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Major FROM STUDENT WHERE Sex  =  \"M\"",
        "query_toks": [
            "SELECT",
            "Major",
            "FROM",
            "STUDENT",
            "WHERE",
            "Sex",
            "=",
            "``",
            "M",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "What are the majors of male (sex is M) students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "majors",
            "of",
            "male",
            "(",
            "sex",
            "is",
            "M",
            ")",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Major FROM STUDENT WHERE Sex  =  \"M\"",
        "query_toks": [
            "SELECT",
            "Major",
            "FROM",
            "STUDENT",
            "WHERE",
            "Sex",
            "=",
            "``",
            "M",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "List the major of each male student.",
        "question_toks": [
            "List",
            "the",
            "major",
            "of",
            "each",
            "male",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT avg(Age) FROM STUDENT WHERE Sex  =  \"F\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Age",
            ")",
            "FROM",
            "STUDENT",
            "WHERE",
            "Sex",
            "=",
            "``",
            "F",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "What is the average age of female (sex is F) students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "of",
            "female",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT avg(Age) FROM STUDENT WHERE Sex  =  \"F\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Age",
            ")",
            "FROM",
            "STUDENT",
            "WHERE",
            "Sex",
            "=",
            "``",
            "F",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "Find the average age of female students.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "female",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT max(Age) ,  min(Age) FROM STUDENT WHERE Major  =  600",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Age",
            ")",
            ",",
            "min",
            "(",
            "Age",
            ")",
            "FROM",
            "STUDENT",
            "WHERE",
            "Major",
            "=",
            "600"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value"
        ],
        "question": "What are the maximum and minimum age of students with major 600?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "age",
            "of",
            "students",
            "with",
            "major",
            "600",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT max(Age) ,  min(Age) FROM STUDENT WHERE Major  =  600",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Age",
            ")",
            ",",
            "min",
            "(",
            "Age",
            ")",
            "FROM",
            "STUDENT",
            "WHERE",
            "Major",
            "=",
            "600"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value"
        ],
        "question": "Tell me the ages of the oldest and youngest students studying major 600.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "ages",
            "of",
            "the",
            "oldest",
            "and",
            "youngest",
            "students",
            "studying",
            "major",
            "600",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Advisor FROM STUDENT WHERE city_code  =  \"BAL\"",
        "query_toks": [
            "SELECT",
            "Advisor",
            "FROM",
            "STUDENT",
            "WHERE",
            "city_code",
            "=",
            "``",
            "BAL",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value"
        ],
        "question": "Who are the advisors for students that live in a city with city code \"BAL\"?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "advisors",
            "for",
            "students",
            "that",
            "live",
            "in",
            "a",
            "city",
            "with",
            "city",
            "code",
            "``",
            "BAL",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"BAL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Advisor FROM STUDENT WHERE city_code  =  \"BAL\"",
        "query_toks": [
            "SELECT",
            "Advisor",
            "FROM",
            "STUDENT",
            "WHERE",
            "city_code",
            "=",
            "``",
            "BAL",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value"
        ],
        "question": "Show the advisors of the students whose city of residence has city code \"BAL\".",
        "question_toks": [
            "Show",
            "the",
            "advisors",
            "of",
            "the",
            "students",
            "whose",
            "city",
            "of",
            "residence",
            "has",
            "city",
            "code",
            "``",
            "BAL",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"BAL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT Secretary_Vote FROM VOTING_RECORD WHERE ELECTION_CYCLE  =  \"Fall\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Secretary_Vote",
            "FROM",
            "VOTING_RECORD",
            "WHERE",
            "ELECTION_CYCLE",
            "=",
            "``",
            "Fall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "secretary_vote",
            "from",
            "voting_record",
            "where",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "What are the distinct secretary votes in the fall election cycle?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "secretary",
            "votes",
            "in",
            "the",
            "fall",
            "election",
            "cycle",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT Secretary_Vote FROM VOTING_RECORD WHERE ELECTION_CYCLE  =  \"Fall\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Secretary_Vote",
            "FROM",
            "VOTING_RECORD",
            "WHERE",
            "ELECTION_CYCLE",
            "=",
            "``",
            "Fall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "secretary_vote",
            "from",
            "voting_record",
            "where",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Return all the distinct secretary votes made in the fall election cycle.",
        "question_toks": [
            "Return",
            "all",
            "the",
            "distinct",
            "secretary",
            "votes",
            "made",
            "in",
            "the",
            "fall",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT PRESIDENT_Vote FROM VOTING_RECORD WHERE Registration_Date  =  \"08/30/2015\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "PRESIDENT_Vote",
            "FROM",
            "VOTING_RECORD",
            "WHERE",
            "Registration_Date",
            "=",
            "``",
            "08/30/2015",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "president_vote",
            "from",
            "voting_record",
            "where",
            "registration_date",
            "=",
            "value"
        ],
        "question": "What are the distinct president votes on 08/30/2015?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "president",
            "votes",
            "on",
            "08/30/2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"08/30/2015\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT PRESIDENT_Vote FROM VOTING_RECORD WHERE Registration_Date  =  \"08/30/2015\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "PRESIDENT_Vote",
            "FROM",
            "VOTING_RECORD",
            "WHERE",
            "Registration_Date",
            "=",
            "``",
            "08/30/2015",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "president_vote",
            "from",
            "voting_record",
            "where",
            "registration_date",
            "=",
            "value"
        ],
        "question": "Show all the distinct president votes made on 08/30/2015.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "distinct",
            "president",
            "votes",
            "made",
            "on",
            "08/30/2015",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"08/30/2015\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT Registration_Date ,  Election_Cycle FROM VOTING_RECORD",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Registration_Date",
            ",",
            "Election_Cycle",
            "FROM",
            "VOTING_RECORD"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "registration_date",
            ",",
            "election_cycle",
            "from",
            "voting_record"
        ],
        "question": "Report the distinct registration date and the election cycle.",
        "question_toks": [
            "Report",
            "the",
            "distinct",
            "registration",
            "date",
            "and",
            "the",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT Registration_Date ,  Election_Cycle FROM VOTING_RECORD",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Registration_Date",
            ",",
            "Election_Cycle",
            "FROM",
            "VOTING_RECORD"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "registration_date",
            ",",
            "election_cycle",
            "from",
            "voting_record"
        ],
        "question": "What are the distinct registration dates and the election cycles?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "registration",
            "dates",
            "and",
            "the",
            "election",
            "cycles",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT President_Vote ,  VICE_President_Vote FROM VOTING_RECORD",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "President_Vote",
            ",",
            "VICE_President_Vote",
            "FROM",
            "VOTING_RECORD"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "president_vote",
            ",",
            "vice_president_vote",
            "from",
            "voting_record"
        ],
        "question": "Report the distinct president vote and the vice president vote.",
        "question_toks": [
            "Report",
            "the",
            "distinct",
            "president",
            "vote",
            "and",
            "the",
            "vice",
            "president",
            "vote",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT President_Vote ,  VICE_President_Vote FROM VOTING_RECORD",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "President_Vote",
            ",",
            "VICE_President_Vote",
            "FROM",
            "VOTING_RECORD"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "president_vote",
            ",",
            "vice_president_vote",
            "from",
            "voting_record"
        ],
        "question": "List all the distinct president votes and the vice president votes.",
        "question_toks": [
            "List",
            "all",
            "the",
            "distinct",
            "president",
            "votes",
            "and",
            "the",
            "vice",
            "president",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.CLASS_President_VOTE",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.CLASS_President_VOTE"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "class_president_vote"
        ],
        "question": "Find the distinct last names of the students who have class president votes.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "last",
            "names",
            "of",
            "the",
            "students",
            "who",
            "have",
            "class",
            "president",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.CLASS_President_VOTE",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.CLASS_President_VOTE"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "class_president_vote"
        ],
        "question": "What are the distinct last names of the students who have class president votes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "last",
            "names",
            "of",
            "the",
            "students",
            "who",
            "have",
            "class",
            "president",
            "votes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.CLASS_Senator_VOTE",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fname",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.CLASS_Senator_VOTE"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "class_senator_vote"
        ],
        "question": "Find the distinct first names of the students who have class senator votes.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "first",
            "names",
            "of",
            "the",
            "students",
            "who",
            "have",
            "class",
            "senator",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.CLASS_Senator_VOTE",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fname",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.CLASS_Senator_VOTE"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "class_senator_vote"
        ],
        "question": "What are the distinct first names of the students who have class president votes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "first",
            "names",
            "of",
            "the",
            "students",
            "who",
            "have",
            "class",
            "president",
            "votes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Age FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.Secretary_Vote WHERE T2.Election_Cycle  =  \"Fall\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Age",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.Secretary_Vote",
            "WHERE",
            "T2.Election_Cycle",
            "=",
            "``",
            "Fall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "age",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "secretary_vote",
            "where",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Find the distinct ages of students who have secretary votes in the fall election cycle.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "ages",
            "of",
            "students",
            "who",
            "have",
            "secretary",
            "votes",
            "in",
            "the",
            "fall",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Age FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.Secretary_Vote WHERE T2.Election_Cycle  =  \"Fall\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Age",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.Secretary_Vote",
            "WHERE",
            "T2.Election_Cycle",
            "=",
            "``",
            "Fall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "age",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "secretary_vote",
            "where",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "What are the distinct ages of students who have secretary votes in the fall election cycle?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "ages",
            "of",
            "students",
            "who",
            "have",
            "secretary",
            "votes",
            "in",
            "the",
            "fall",
            "election",
            "cycle",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Advisor FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.Treasurer_Vote WHERE T2.Election_Cycle  =  \"Spring\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Advisor",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.Treasurer_Vote",
            "WHERE",
            "T2.Election_Cycle",
            "=",
            "``",
            "Spring",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "advisor",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "treasurer_vote",
            "where",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Find the distinct Advisor of students who have treasurer votes in the spring election cycle.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "Advisor",
            "of",
            "students",
            "who",
            "have",
            "treasurer",
            "votes",
            "in",
            "the",
            "spring",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Advisor FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.Treasurer_Vote WHERE T2.Election_Cycle  =  \"Spring\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Advisor",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.Treasurer_Vote",
            "WHERE",
            "T2.Election_Cycle",
            "=",
            "``",
            "Spring",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "advisor",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "treasurer_vote",
            "where",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Who served as an advisor for students who have treasurer votes in the spring election cycle?",
        "question_toks": [
            "Who",
            "served",
            "as",
            "an",
            "advisor",
            "for",
            "students",
            "who",
            "have",
            "treasurer",
            "votes",
            "in",
            "the",
            "spring",
            "election",
            "cycle",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Major FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.Treasurer_Vote",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Major",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.Treasurer_Vote"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "major",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "treasurer_vote"
        ],
        "question": "Find the distinct majors of students who have treasurer votes.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "majors",
            "of",
            "students",
            "who",
            "have",
            "treasurer",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Major FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.Treasurer_Vote",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Major",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.Treasurer_Vote"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "major",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "treasurer_vote"
        ],
        "question": "What are the distinct majors that students with treasurer votes are studying?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "majors",
            "that",
            "students",
            "with",
            "treasurer",
            "votes",
            "are",
            "studying",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Fname ,  T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.President_VOTE WHERE T1.sex  =  \"F\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fname",
            ",",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.President_VOTE",
            "WHERE",
            "T1.sex",
            "=",
            "``",
            "F",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "president_vote",
            "where",
            "t1",
            ".",
            "sex",
            "=",
            "value"
        ],
        "question": "Find the first and last names of all the female (sex is F) students who have president votes.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "the",
            "female",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "students",
            "who",
            "have",
            "president",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Fname ,  T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.President_VOTE WHERE T1.sex  =  \"F\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fname",
            ",",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.President_VOTE",
            "WHERE",
            "T1.sex",
            "=",
            "``",
            "F",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "president_vote",
            "where",
            "t1",
            ".",
            "sex",
            "=",
            "value"
        ],
        "question": "What are the first and last names of all the female students who have president votes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "the",
            "female",
            "students",
            "who",
            "have",
            "president",
            "votes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Fname ,  T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.VICE_President_VOTE WHERE T1.age  =  18",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fname",
            ",",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.VICE_President_VOTE",
            "WHERE",
            "T1.age",
            "=",
            "18"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "vice_president_vote",
            "where",
            "t1",
            ".",
            "age",
            "=",
            "value"
        ],
        "question": "Find the first and last name of all the students of age 18 who have vice president votes.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "the",
            "students",
            "of",
            "age",
            "18",
            "who",
            "have",
            "vice",
            "president",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Fname ,  T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.VICE_President_VOTE WHERE T1.age  =  18",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fname",
            ",",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.VICE_President_VOTE",
            "WHERE",
            "T1.age",
            "=",
            "18"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "vice_president_vote",
            "where",
            "t1",
            ".",
            "age",
            "=",
            "value"
        ],
        "question": "What are the first names and last names of the students who are 18 years old and have vice president votes.",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "last",
            "names",
            "of",
            "the",
            "students",
            "who",
            "are",
            "18",
            "years",
            "old",
            "and",
            "have",
            "vice",
            "president",
            "votes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    18.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(*) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  Class_Senator_Vote WHERE T1.Sex  =  \"M\" AND T2.Election_Cycle  =  \"Fall\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "Class_Senator_Vote",
            "WHERE",
            "T1.Sex",
            "=",
            "``",
            "M",
            "''",
            "AND",
            "T2.Election_Cycle",
            "=",
            "``",
            "Fall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "class_senator_vote",
            "where",
            "t1",
            ".",
            "sex",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "How many male (sex is M) students have class senator votes in the fall election cycle?",
        "question_toks": [
            "How",
            "many",
            "male",
            "(",
            "sex",
            "is",
            "M",
            ")",
            "students",
            "have",
            "class",
            "senator",
            "votes",
            "in",
            "the",
            "fall",
            "election",
            "cycle",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(*) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  Class_Senator_Vote WHERE T1.Sex  =  \"M\" AND T2.Election_Cycle  =  \"Fall\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "Class_Senator_Vote",
            "WHERE",
            "T1.Sex",
            "=",
            "``",
            "M",
            "''",
            "AND",
            "T2.Election_Cycle",
            "=",
            "``",
            "Fall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "class_senator_vote",
            "where",
            "t1",
            ".",
            "sex",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Count the number of male students who had class senator votes in the fall election cycle.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "male",
            "students",
            "who",
            "had",
            "class",
            "senator",
            "votes",
            "in",
            "the",
            "fall",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Fall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(*) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  Class_Senator_Vote WHERE T1.city_code  =  \"NYC\" AND T2.Election_Cycle  =  \"Spring\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "Class_Senator_Vote",
            "WHERE",
            "T1.city_code",
            "=",
            "``",
            "NYC",
            "''",
            "AND",
            "T2.Election_Cycle",
            "=",
            "``",
            "Spring",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "class_senator_vote",
            "where",
            "t1",
            ".",
            "city_code",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Find the number of students whose city code is NYC and who have class senator votes in the spring election cycle.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "whose",
            "city",
            "code",
            "is",
            "NYC",
            "and",
            "who",
            "have",
            "class",
            "senator",
            "votes",
            "in",
            "the",
            "spring",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"NYC\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT count(*) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  Class_Senator_Vote WHERE T1.city_code  =  \"NYC\" AND T2.Election_Cycle  =  \"Spring\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "Class_Senator_Vote",
            "WHERE",
            "T1.city_code",
            "=",
            "``",
            "NYC",
            "''",
            "AND",
            "T2.Election_Cycle",
            "=",
            "``",
            "Spring",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "class_senator_vote",
            "where",
            "t1",
            ".",
            "city_code",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Which students live in the city with code \"NYC\" and have class senator votes in the spring election cycle? Count the numbers.",
        "question_toks": [
            "Which",
            "students",
            "live",
            "in",
            "the",
            "city",
            "with",
            "code",
            "``",
            "NYC",
            "''",
            "and",
            "have",
            "class",
            "senator",
            "votes",
            "in",
            "the",
            "spring",
            "election",
            "cycle",
            "?",
            "Count",
            "the",
            "numbers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"NYC\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT avg(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  SECRETARY_Vote WHERE T1.city_code  =  \"NYC\" AND T2.Election_Cycle  =  \"Spring\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Age",
            ")",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "SECRETARY_Vote",
            "WHERE",
            "T1.city_code",
            "=",
            "``",
            "NYC",
            "''",
            "AND",
            "T2.Election_Cycle",
            "=",
            "``",
            "Spring",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "secretary_vote",
            "where",
            "t1",
            ".",
            "city_code",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Find the average age of students who live in the city with code \"NYC\" and have secretary votes in the spring election cycle.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "students",
            "who",
            "live",
            "in",
            "the",
            "city",
            "with",
            "code",
            "``",
            "NYC",
            "''",
            "and",
            "have",
            "secretary",
            "votes",
            "in",
            "the",
            "spring",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"NYC\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT avg(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  SECRETARY_Vote WHERE T1.city_code  =  \"NYC\" AND T2.Election_Cycle  =  \"Spring\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Age",
            ")",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "SECRETARY_Vote",
            "WHERE",
            "T1.city_code",
            "=",
            "``",
            "NYC",
            "''",
            "AND",
            "T2.Election_Cycle",
            "=",
            "``",
            "Spring",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "secretary_vote",
            "where",
            "t1",
            ".",
            "city_code",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "What is the average age of students who have city code \"NYC\" and have secretary votes for the spring election cycle?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "of",
            "students",
            "who",
            "have",
            "city",
            "code",
            "``",
            "NYC",
            "''",
            "and",
            "have",
            "secretary",
            "votes",
            "for",
            "the",
            "spring",
            "election",
            "cycle",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"NYC\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT avg(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  SECRETARY_Vote WHERE T1.Sex  =  \"F\" AND T2.Election_Cycle  =  \"Spring\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Age",
            ")",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "SECRETARY_Vote",
            "WHERE",
            "T1.Sex",
            "=",
            "``",
            "F",
            "''",
            "AND",
            "T2.Election_Cycle",
            "=",
            "``",
            "Spring",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "secretary_vote",
            "where",
            "t1",
            ".",
            "sex",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "Find the average age of female (sex is F) students who have secretary votes in the spring election cycle.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "female",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "students",
            "who",
            "have",
            "secretary",
            "votes",
            "in",
            "the",
            "spring",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT avg(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  SECRETARY_Vote WHERE T1.Sex  =  \"F\" AND T2.Election_Cycle  =  \"Spring\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.Age",
            ")",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "SECRETARY_Vote",
            "WHERE",
            "T1.Sex",
            "=",
            "``",
            "F",
            "''",
            "AND",
            "T2.Election_Cycle",
            "=",
            "``",
            "Spring",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "secretary_vote",
            "where",
            "t1",
            ".",
            "sex",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "election_cycle",
            "=",
            "value"
        ],
        "question": "What is the average age of the female students with secretary votes in the spring election cycle?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "of",
            "the",
            "female",
            "students",
            "with",
            "secretary",
            "votes",
            "in",
            "the",
            "spring",
            "election",
            "cycle",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Spring\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.VICE_PRESIDENT_Vote EXCEPT SELECT DISTINCT Fname FROM STUDENT WHERE city_code  =  \"PIT\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fname",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.VICE_PRESIDENT_Vote",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "Fname",
            "FROM",
            "STUDENT",
            "WHERE",
            "city_code",
            "=",
            "``",
            "PIT",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "vice_president_vote",
            "except",
            "select",
            "distinct",
            "fname",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value"
        ],
        "question": "Find the distinct first names of all the students who have vice president votes and whose city code is not PIT.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "first",
            "names",
            "of",
            "all",
            "the",
            "students",
            "who",
            "have",
            "vice",
            "president",
            "votes",
            "and",
            "whose",
            "city",
            "code",
            "is",
            "not",
            "PIT",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"PIT\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  T2.VICE_PRESIDENT_Vote EXCEPT SELECT DISTINCT Fname FROM STUDENT WHERE city_code  =  \"PIT\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Fname",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.VICE_PRESIDENT_Vote",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "Fname",
            "FROM",
            "STUDENT",
            "WHERE",
            "city_code",
            "=",
            "``",
            "PIT",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "vice_president_vote",
            "except",
            "select",
            "distinct",
            "fname",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value"
        ],
        "question": "What are the distinct first names of the students who have vice president votes and reside in a city whose city code is not PIT?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "first",
            "names",
            "of",
            "the",
            "students",
            "who",
            "have",
            "vice",
            "president",
            "votes",
            "and",
            "reside",
            "in",
            "a",
            "city",
            "whose",
            "city",
            "code",
            "is",
            "not",
            "PIT",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"PIT\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  PRESIDENT_Vote EXCEPT SELECT DISTINCT LName FROM STUDENT WHERE Advisor  =  \"2192\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "PRESIDENT_Vote",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "LName",
            "FROM",
            "STUDENT",
            "WHERE",
            "Advisor",
            "=",
            "``",
            "2192",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "president_vote",
            "except",
            "select",
            "distinct",
            "lname",
            "from",
            "student",
            "where",
            "advisor",
            "=",
            "value"
        ],
        "question": "Find the distinct last names of all the students who have president votes and whose advisor is not 2192.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "last",
            "names",
            "of",
            "all",
            "the",
            "students",
            "who",
            "have",
            "president",
            "votes",
            "and",
            "whose",
            "advisor",
            "is",
            "not",
            "2192",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"2192\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  PRESIDENT_Vote EXCEPT SELECT DISTINCT LName FROM STUDENT WHERE Advisor  =  \"2192\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "PRESIDENT_Vote",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "LName",
            "FROM",
            "STUDENT",
            "WHERE",
            "Advisor",
            "=",
            "``",
            "2192",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "president_vote",
            "except",
            "select",
            "distinct",
            "lname",
            "from",
            "student",
            "where",
            "advisor",
            "=",
            "value"
        ],
        "question": "What are the distinct last names of the students who have president votes but do not have 2192 as the advisor?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "last",
            "names",
            "of",
            "the",
            "students",
            "who",
            "have",
            "president",
            "votes",
            "but",
            "do",
            "not",
            "have",
            "2192",
            "as",
            "the",
            "advisor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"2192\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  PRESIDENT_Vote INTERSECT SELECT DISTINCT LName FROM STUDENT WHERE Advisor  =  \"8741\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "PRESIDENT_Vote",
            "INTERSECT",
            "SELECT",
            "DISTINCT",
            "LName",
            "FROM",
            "STUDENT",
            "WHERE",
            "Advisor",
            "=",
            "``",
            "8741",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "president_vote",
            "intersect",
            "select",
            "distinct",
            "lname",
            "from",
            "student",
            "where",
            "advisor",
            "=",
            "value"
        ],
        "question": "Find the distinct last names of all the students who have president votes and whose advisor is 8741.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "last",
            "names",
            "of",
            "all",
            "the",
            "students",
            "who",
            "have",
            "president",
            "votes",
            "and",
            "whose",
            "advisor",
            "is",
            "8741",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"8741\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  PRESIDENT_Vote INTERSECT SELECT DISTINCT LName FROM STUDENT WHERE Advisor  =  \"8741\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.LName",
            "FROM",
            "STUDENT",
            "AS",
            "T1",
            "JOIN",
            "VOTING_RECORD",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "PRESIDENT_Vote",
            "INTERSECT",
            "SELECT",
            "DISTINCT",
            "LName",
            "FROM",
            "STUDENT",
            "WHERE",
            "Advisor",
            "=",
            "``",
            "8741",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "voting_record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "president_vote",
            "intersect",
            "select",
            "distinct",
            "lname",
            "from",
            "student",
            "where",
            "advisor",
            "=",
            "value"
        ],
        "question": "What are the distinct last names of the students who have president votes and have 8741 as the advisor?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "last",
            "names",
            "of",
            "the",
            "students",
            "who",
            "have",
            "president",
            "votes",
            "and",
            "have",
            "8741",
            "as",
            "the",
            "advisor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        "\"8741\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Advisor ,  count(*) FROM STUDENT GROUP BY Advisor",
        "query_toks": [
            "SELECT",
            "Advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "Advisor"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "advisor"
        ],
        "question": "For each advisor, report the total number of students advised by him or her.",
        "question_toks": [
            "For",
            "each",
            "advisor",
            ",",
            "report",
            "the",
            "total",
            "number",
            "of",
            "students",
            "advised",
            "by",
            "him",
            "or",
            "her",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Advisor ,  count(*) FROM STUDENT GROUP BY Advisor",
        "query_toks": [
            "SELECT",
            "Advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "Advisor"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "group",
            "by",
            "advisor"
        ],
        "question": "How many students does each advisor have?",
        "question_toks": [
            "How",
            "many",
            "students",
            "does",
            "each",
            "advisor",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Advisor FROM STUDENT GROUP BY Advisor HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Advisor",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "Advisor",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Report all advisors that advise more than 2 students.",
        "question_toks": [
            "Report",
            "all",
            "advisors",
            "that",
            "advise",
            "more",
            "than",
            "2",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Advisor FROM STUDENT GROUP BY Advisor HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Advisor",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "Advisor",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which advisors have more than two students?",
        "question_toks": [
            "Which",
            "advisors",
            "have",
            "more",
            "than",
            "two",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Major FROM STUDENT GROUP BY Major HAVING COUNT(*)  <  3",
        "query_toks": [
            "SELECT",
            "Major",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "Major",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "<",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "value"
        ],
        "question": "Report all majors that have less than 3 students.",
        "question_toks": [
            "Report",
            "all",
            "majors",
            "that",
            "have",
            "less",
            "than",
            "3",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Major FROM STUDENT GROUP BY Major HAVING COUNT(*)  <  3",
        "query_toks": [
            "SELECT",
            "Major",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "Major",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            "<",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "value"
        ],
        "question": "What are the majors only less than three students are studying?",
        "question_toks": [
            "What",
            "are",
            "the",
            "majors",
            "only",
            "less",
            "than",
            "three",
            "students",
            "are",
            "studying",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Election_Cycle ,  count(*) FROM VOTING_RECORD GROUP BY Election_Cycle",
        "query_toks": [
            "SELECT",
            "Election_Cycle",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "VOTING_RECORD",
            "GROUP",
            "BY",
            "Election_Cycle"
        ],
        "query_toks_no_value": [
            "select",
            "election_cycle",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "voting_record",
            "group",
            "by",
            "election_cycle"
        ],
        "question": "For each election cycle, report the number of voting records.",
        "question_toks": [
            "For",
            "each",
            "election",
            "cycle",
            ",",
            "report",
            "the",
            "number",
            "of",
            "voting",
            "records",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Election_Cycle ,  count(*) FROM VOTING_RECORD GROUP BY Election_Cycle",
        "query_toks": [
            "SELECT",
            "Election_Cycle",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "VOTING_RECORD",
            "GROUP",
            "BY",
            "Election_Cycle"
        ],
        "query_toks_no_value": [
            "select",
            "election_cycle",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "voting_record",
            "group",
            "by",
            "election_cycle"
        ],
        "question": "Count the number of voting records for each election cycle.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "voting",
            "records",
            "for",
            "each",
            "election",
            "cycle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Major FROM STUDENT GROUP BY major ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Major",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "major",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which major has the most students?",
        "question_toks": [
            "Which",
            "major",
            "has",
            "the",
            "most",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Major FROM STUDENT GROUP BY major ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Major",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "major",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the major that is studied by the largest number of students.",
        "question_toks": [
            "Find",
            "the",
            "major",
            "that",
            "is",
            "studied",
            "by",
            "the",
            "largest",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Major FROM STUDENT WHERE Sex  =  \"F\" GROUP BY major ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Major",
            "FROM",
            "STUDENT",
            "WHERE",
            "Sex",
            "=",
            "``",
            "F",
            "''",
            "GROUP",
            "BY",
            "major",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common major among female (sex is F) students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "major",
            "among",
            "female",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Major FROM STUDENT WHERE Sex  =  \"F\" GROUP BY major ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Major",
            "FROM",
            "STUDENT",
            "WHERE",
            "Sex",
            "=",
            "``",
            "F",
            "''",
            "GROUP",
            "BY",
            "major",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the major that is studied by the most female students.",
        "question_toks": [
            "Find",
            "the",
            "major",
            "that",
            "is",
            "studied",
            "by",
            "the",
            "most",
            "female",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT city_code FROM STUDENT GROUP BY city_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "city_code",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "city_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the city_code of the city that the most students live in?",
        "question_toks": [
            "What",
            "is",
            "the",
            "city_code",
            "of",
            "the",
            "city",
            "that",
            "the",
            "most",
            "students",
            "live",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT city_code FROM STUDENT GROUP BY city_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "city_code",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "city_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the code of the city that has the most students.",
        "question_toks": [
            "Return",
            "the",
            "code",
            "of",
            "the",
            "city",
            "that",
            "has",
            "the",
            "most",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Advisor FROM STUDENT GROUP BY Advisor HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "Advisor",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "Advisor",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Report the distinct advisors who have more than 2 students.",
        "question_toks": [
            "Report",
            "the",
            "distinct",
            "advisors",
            "who",
            "have",
            "more",
            "than",
            "2",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "voter_2",
        "query": "SELECT Advisor FROM STUDENT GROUP BY Advisor HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "Advisor",
            "FROM",
            "STUDENT",
            "GROUP",
            "BY",
            "Advisor",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which advisors are advising more than 2 students?",
        "question_toks": [
            "Which",
            "advisors",
            "are",
            "advising",
            "more",
            "than",
            "2",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products"
        ],
        "question": "How many products are there?",
        "question_toks": [
            "How",
            "many",
            "products",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products"
        ],
        "question": "Count the number of products.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM ref_colors",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ref_colors"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_colors"
        ],
        "question": "How many colors are there?",
        "question_toks": [
            "How",
            "many",
            "colors",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM ref_colors",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ref_colors"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_colors"
        ],
        "question": "Count the number of colors.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "colors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM CHARACTERISTICS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CHARACTERISTICS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "characteristics"
        ],
        "question": "How many characteristics are there?",
        "question_toks": [
            "How",
            "many",
            "characteristics",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM CHARACTERISTICS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "CHARACTERISTICS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "characteristics"
        ],
        "question": "Count the number of characteristics.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "characteristics",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_name ,  typical_buying_price FROM products",
        "query_toks": [
            "SELECT",
            "product_name",
            ",",
            "typical_buying_price",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "typical_buying_price",
            "from",
            "products"
        ],
        "question": "What are the names and buying prices of all the products?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "buying",
            "prices",
            "of",
            "all",
            "the",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_name ,  typical_buying_price FROM products",
        "query_toks": [
            "SELECT",
            "product_name",
            ",",
            "typical_buying_price",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "typical_buying_price",
            "from",
            "products"
        ],
        "question": "Return the names and typical buying prices for all products.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "and",
            "typical",
            "buying",
            "prices",
            "for",
            "all",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT color_description FROM ref_colors",
        "query_toks": [
            "SELECT",
            "color_description",
            "FROM",
            "ref_colors"
        ],
        "query_toks_no_value": [
            "select",
            "color_description",
            "from",
            "ref_colors"
        ],
        "question": "List the description of all the colors.",
        "question_toks": [
            "List",
            "the",
            "description",
            "of",
            "all",
            "the",
            "colors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT color_description FROM ref_colors",
        "query_toks": [
            "SELECT",
            "color_description",
            "FROM",
            "ref_colors"
        ],
        "query_toks_no_value": [
            "select",
            "color_description",
            "from",
            "ref_colors"
        ],
        "question": "What are the descriptions for each color?",
        "question_toks": [
            "What",
            "are",
            "the",
            "descriptions",
            "for",
            "each",
            "color",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT DISTINCT characteristic_name FROM CHARACTERISTICS",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "characteristic_name",
            "FROM",
            "CHARACTERISTICS"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "characteristic_name",
            "from",
            "characteristics"
        ],
        "question": "Find the names of all the product characteristics.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "the",
            "product",
            "characteristics",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT DISTINCT characteristic_name FROM CHARACTERISTICS",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "characteristic_name",
            "FROM",
            "CHARACTERISTICS"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "characteristic_name",
            "from",
            "characteristics"
        ],
        "question": "What are the different names of the product characteristics?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "names",
            "of",
            "the",
            "product",
            "characteristics",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_name FROM products WHERE product_category_code  =  \"Spices\"",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "products",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Spices",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "What are the names of products with category \"Spices\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "products",
            "with",
            "category",
            "``",
            "Spices",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Spices\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_name FROM products WHERE product_category_code  =  \"Spices\"",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "products",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Spices",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "Return the names of products in the category 'Spices'.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "products",
            "in",
            "the",
            "category",
            "'Spices",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Spices\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT T1.product_name ,  T2.color_description ,  T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code  =  T2.color_code WHERE product_category_code  =  \"Herbs\"",
        "query_toks": [
            "SELECT",
            "T1.product_name",
            ",",
            "T2.color_description",
            ",",
            "T1.product_description",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Ref_colors",
            "AS",
            "T2",
            "ON",
            "T1.color_code",
            "=",
            "T2.color_code",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Herbs",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "t2",
            ".",
            "color_description",
            ",",
            "t1",
            ".",
            "product_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "List the names, color descriptions and product descriptions of products with category \"Herbs\".",
        "question_toks": [
            "List",
            "the",
            "names",
            ",",
            "color",
            "descriptions",
            "and",
            "product",
            "descriptions",
            "of",
            "products",
            "with",
            "category",
            "``",
            "Herbs",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Herbs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT T1.product_name ,  T2.color_description ,  T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code  =  T2.color_code WHERE product_category_code  =  \"Herbs\"",
        "query_toks": [
            "SELECT",
            "T1.product_name",
            ",",
            "T2.color_description",
            ",",
            "T1.product_description",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "Ref_colors",
            "AS",
            "T2",
            "ON",
            "T1.color_code",
            "=",
            "T2.color_code",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Herbs",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "t2",
            ".",
            "color_description",
            ",",
            "t1",
            ".",
            "product_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "What are the names, color descriptions, and product descriptions for products in the 'Herbs' category?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "color",
            "descriptions",
            ",",
            "and",
            "product",
            "descriptions",
            "for",
            "products",
            "in",
            "the",
            "'Herbs",
            "'",
            "category",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Herbs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products WHERE product_category_code  =  \"Seeds\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Seeds",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "How many products are there under the category \"Seeds\"?",
        "question_toks": [
            "How",
            "many",
            "products",
            "are",
            "there",
            "under",
            "the",
            "category",
            "``",
            "Seeds",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Seeds\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products WHERE product_category_code  =  \"Seeds\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Seeds",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "Count the number of products in the category 'Seeds'.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "products",
            "in",
            "the",
            "category",
            "'Seeds",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Seeds\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products WHERE product_category_code  =  \"Spices\" AND typical_buying_price  >  1000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Spices",
            "''",
            "AND",
            "typical_buying_price",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "product_category_code",
            "=",
            "value",
            "and",
            "typical_buying_price",
            ">",
            "value"
        ],
        "question": "Find the number of products with category \"Spices\" and typically sold above 1000.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "products",
            "with",
            "category",
            "``",
            "Spices",
            "''",
            "and",
            "typically",
            "sold",
            "above",
            "1000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Spices\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products WHERE product_category_code  =  \"Spices\" AND typical_buying_price  >  1000",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Spices",
            "''",
            "AND",
            "typical_buying_price",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "product_category_code",
            "=",
            "value",
            "and",
            "typical_buying_price",
            ">",
            "value"
        ],
        "question": "How many products are in the 'Spices' category and have a typical price of over 1000?",
        "question_toks": [
            "How",
            "many",
            "products",
            "are",
            "in",
            "the",
            "'Spices",
            "'",
            "category",
            "and",
            "have",
            "a",
            "typical",
            "price",
            "of",
            "over",
            "1000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Spices\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_category_code ,  typical_buying_price FROM products WHERE product_name  =  \"cumin\"",
        "query_toks": [
            "SELECT",
            "product_category_code",
            ",",
            "typical_buying_price",
            "FROM",
            "products",
            "WHERE",
            "product_name",
            "=",
            "``",
            "cumin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_category_code",
            ",",
            "typical_buying_price",
            "from",
            "products",
            "where",
            "product_name",
            "=",
            "value"
        ],
        "question": "What is the category and typical buying price  of the product with name \"cumin\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "category",
            "and",
            "typical",
            "buying",
            "price",
            "of",
            "the",
            "product",
            "with",
            "name",
            "``",
            "cumin",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"cumin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_category_code ,  typical_buying_price FROM products WHERE product_name  =  \"cumin\"",
        "query_toks": [
            "SELECT",
            "product_category_code",
            ",",
            "typical_buying_price",
            "FROM",
            "products",
            "WHERE",
            "product_name",
            "=",
            "``",
            "cumin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_category_code",
            ",",
            "typical_buying_price",
            "from",
            "products",
            "where",
            "product_name",
            "=",
            "value"
        ],
        "question": "Return the category code and typical price of 'cumin'.",
        "question_toks": [
            "Return",
            "the",
            "category",
            "code",
            "and",
            "typical",
            "price",
            "of",
            "'cumin",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"cumin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_category_code FROM products WHERE product_name  =  \"flax\"",
        "query_toks": [
            "SELECT",
            "product_category_code",
            "FROM",
            "products",
            "WHERE",
            "product_name",
            "=",
            "``",
            "flax",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_category_code",
            "from",
            "products",
            "where",
            "product_name",
            "=",
            "value"
        ],
        "question": "Which category does the product named \"flax\" belong to?",
        "question_toks": [
            "Which",
            "category",
            "does",
            "the",
            "product",
            "named",
            "``",
            "flax",
            "''",
            "belong",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"flax\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_category_code FROM products WHERE product_name  =  \"flax\"",
        "query_toks": [
            "SELECT",
            "product_category_code",
            "FROM",
            "products",
            "WHERE",
            "product_name",
            "=",
            "``",
            "flax",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_category_code",
            "from",
            "products",
            "where",
            "product_name",
            "=",
            "value"
        ],
        "question": "What is the code of the category that the product with the name 'flax' belongs to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "code",
            "of",
            "the",
            "category",
            "that",
            "the",
            "product",
            "with",
            "the",
            "name",
            "'flax",
            "'",
            "belongs",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"flax\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT T1.product_name FROM products AS T1 JOIN ref_colors AS T2 ON T1.color_code  =  T2.color_code WHERE T2.color_description  =  'yellow'",
        "query_toks": [
            "SELECT",
            "T1.product_name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "ref_colors",
            "AS",
            "T2",
            "ON",
            "T1.color_code",
            "=",
            "T2.color_code",
            "WHERE",
            "T2.color_description",
            "=",
            "'yellow",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t2",
            ".",
            "color_description",
            "=",
            "value"
        ],
        "question": "What is the name of the product with the color description 'yellow'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "product",
            "with",
            "the",
            "color",
            "description",
            "'yellow",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"yellow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT T1.product_name FROM products AS T1 JOIN ref_colors AS T2 ON T1.color_code  =  T2.color_code WHERE T2.color_description  =  'yellow'",
        "query_toks": [
            "SELECT",
            "T1.product_name",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "ref_colors",
            "AS",
            "T2",
            "ON",
            "T1.color_code",
            "=",
            "T2.color_code",
            "WHERE",
            "T2.color_description",
            "=",
            "'yellow",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t2",
            ".",
            "color_description",
            "=",
            "value"
        ],
        "question": "Give the name of the products that have a color description 'yellow'.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "the",
            "products",
            "that",
            "have",
            "a",
            "color",
            "description",
            "'yellow",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"yellow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT T1.product_category_description FROM ref_product_categories AS T1 JOIN products AS T2 ON T1.product_category_code  =  T2.product_category_code WHERE T2.product_description LIKE '%t%'",
        "query_toks": [
            "SELECT",
            "T1.product_category_description",
            "FROM",
            "ref_product_categories",
            "AS",
            "T1",
            "JOIN",
            "products",
            "AS",
            "T2",
            "ON",
            "T1.product_category_code",
            "=",
            "T2.product_category_code",
            "WHERE",
            "T2.product_description",
            "LIKE",
            "'",
            "%",
            "t",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_category_description",
            "from",
            "ref_product_categories",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_category_code",
            "=",
            "t2",
            ".",
            "product_category_code",
            "where",
            "t2",
            ".",
            "product_description",
            "like",
            "value"
        ],
        "question": "Find the category descriptions of the products whose descriptions include letter 't'.",
        "question_toks": [
            "Find",
            "the",
            "category",
            "descriptions",
            "of",
            "the",
            "products",
            "whose",
            "descriptions",
            "include",
            "letter",
            "'t",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"%t%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT T1.product_category_description FROM ref_product_categories AS T1 JOIN products AS T2 ON T1.product_category_code  =  T2.product_category_code WHERE T2.product_description LIKE '%t%'",
        "query_toks": [
            "SELECT",
            "T1.product_category_description",
            "FROM",
            "ref_product_categories",
            "AS",
            "T1",
            "JOIN",
            "products",
            "AS",
            "T2",
            "ON",
            "T1.product_category_code",
            "=",
            "T2.product_category_code",
            "WHERE",
            "T2.product_description",
            "LIKE",
            "'",
            "%",
            "t",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_category_description",
            "from",
            "ref_product_categories",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_category_code",
            "=",
            "t2",
            ".",
            "product_category_code",
            "where",
            "t2",
            ".",
            "product_description",
            "like",
            "value"
        ],
        "question": "What are the descriptions of the categories that products with product descriptions that contain the letter t are in?",
        "question_toks": [
            "What",
            "are",
            "the",
            "descriptions",
            "of",
            "the",
            "categories",
            "that",
            "products",
            "with",
            "product",
            "descriptions",
            "that",
            "contain",
            "the",
            "letter",
            "t",
            "are",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"%t%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code WHERE t1.product_name  =  \"catnip\"",
        "query_toks": [
            "SELECT",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "catnip",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What is the color description of the product with name \"catnip\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "color",
            "description",
            "of",
            "the",
            "product",
            "with",
            "name",
            "``",
            "catnip",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"catnip\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code WHERE t1.product_name  =  \"catnip\"",
        "query_toks": [
            "SELECT",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "catnip",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Give the color description for the product 'catnip'.",
        "question_toks": [
            "Give",
            "the",
            "color",
            "description",
            "for",
            "the",
            "product",
            "'catnip",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"catnip\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.color_code ,  t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code WHERE t1.product_name  =  \"chervil\"",
        "query_toks": [
            "SELECT",
            "t1.color_code",
            ",",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "chervil",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "color_code",
            ",",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What is the color code and description of the product named \"chervil\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "color",
            "code",
            "and",
            "description",
            "of",
            "the",
            "product",
            "named",
            "``",
            "chervil",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"chervil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.color_code ,  t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code WHERE t1.product_name  =  \"chervil\"",
        "query_toks": [
            "SELECT",
            "t1.color_code",
            ",",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "chervil",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "color_code",
            ",",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Return the color code and description for the product with the name 'chervil'.",
        "question_toks": [
            "Return",
            "the",
            "color",
            "code",
            "and",
            "description",
            "for",
            "the",
            "product",
            "with",
            "the",
            "name",
            "'chervil",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"chervil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.product_id ,  t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code JOIN product_characteristics AS t3 ON t1.product_id  =  t3.product_id GROUP BY t1.product_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "t1.product_id",
            ",",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "JOIN",
            "product_characteristics",
            "AS",
            "t3",
            "ON",
            "t1.product_id",
            "=",
            "t3.product_id",
            "GROUP",
            "BY",
            "t1.product_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_id",
            ",",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "join",
            "product_characteristics",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the id and color description of the products with at least 2 characteristics.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "color",
            "description",
            "of",
            "the",
            "products",
            "with",
            "at",
            "least",
            "2",
            "characteristics",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.product_id ,  t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code JOIN product_characteristics AS t3 ON t1.product_id  =  t3.product_id GROUP BY t1.product_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "t1.product_id",
            ",",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "JOIN",
            "product_characteristics",
            "AS",
            "t3",
            "ON",
            "t1.product_id",
            "=",
            "t3.product_id",
            "GROUP",
            "BY",
            "t1.product_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_id",
            ",",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "join",
            "product_characteristics",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the product ids and color descriptions for products with two or more characteristics?",
        "question_toks": [
            "What",
            "are",
            "the",
            "product",
            "ids",
            "and",
            "color",
            "descriptions",
            "for",
            "products",
            "with",
            "two",
            "or",
            "more",
            "characteristics",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.product_name FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code WHERE t2.color_description  =  \"white\"",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "WHERE",
            "t2.color_description",
            "=",
            "``",
            "white",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t2",
            ".",
            "color_description",
            "=",
            "value"
        ],
        "question": "List all the product names with the color description \"white\".",
        "question_toks": [
            "List",
            "all",
            "the",
            "product",
            "names",
            "with",
            "the",
            "color",
            "description",
            "``",
            "white",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"white\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.product_name FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code WHERE t2.color_description  =  \"white\"",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "WHERE",
            "t2.color_description",
            "=",
            "``",
            "white",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t2",
            ".",
            "color_description",
            "=",
            "value"
        ],
        "question": "What are the names of products with 'white' as their color description?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "products",
            "with",
            "'white",
            "'",
            "as",
            "their",
            "color",
            "description",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"white\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.product_name ,  t1.typical_buying_price ,  t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code WHERE t2.color_description  =  \"yellow\"",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            ",",
            "t1.typical_buying_price",
            ",",
            "t1.typical_selling_price",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "WHERE",
            "t2.color_description",
            "=",
            "``",
            "yellow",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "t1",
            ".",
            "typical_buying_price",
            ",",
            "t1",
            ".",
            "typical_selling_price",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t2",
            ".",
            "color_description",
            "=",
            "value"
        ],
        "question": "What are the name and typical buying and selling prices of the products that have color described as \"yellow\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "typical",
            "buying",
            "and",
            "selling",
            "prices",
            "of",
            "the",
            "products",
            "that",
            "have",
            "color",
            "described",
            "as",
            "``",
            "yellow",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"yellow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.product_name ,  t1.typical_buying_price ,  t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code WHERE t2.color_description  =  \"yellow\"",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            ",",
            "t1.typical_buying_price",
            ",",
            "t1.typical_selling_price",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "WHERE",
            "t2.color_description",
            "=",
            "``",
            "yellow",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "t1",
            ".",
            "typical_buying_price",
            ",",
            "t1",
            ".",
            "typical_selling_price",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "where",
            "t2",
            ".",
            "color_description",
            "=",
            "value"
        ],
        "question": "Return the names and typical buying and selling prices for products that have 'yellow' as their color description.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "and",
            "typical",
            "buying",
            "and",
            "selling",
            "prices",
            "for",
            "products",
            "that",
            "have",
            "'yellow",
            "'",
            "as",
            "their",
            "color",
            "description",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"yellow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id WHERE t1.product_name  =  \"sesame\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "sesame",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "How many characteristics does the product named \"sesame\" have?",
        "question_toks": [
            "How",
            "many",
            "characteristics",
            "does",
            "the",
            "product",
            "named",
            "``",
            "sesame",
            "''",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"sesame\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id WHERE t1.product_name  =  \"sesame\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "sesame",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Count the number of characteristics the product 'sesame' has.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "characteristics",
            "the",
            "product",
            "'sesame",
            "'",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"sesame\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(DISTINCT t3.characteristic_name) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"sesame\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t3.characteristic_name",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "sesame",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "characteristic_name",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "How many distinct characteristic names does the product \"cumin\" have?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "characteristic",
            "names",
            "does",
            "the",
            "product",
            "``",
            "cumin",
            "''",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"sesame\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(DISTINCT t3.characteristic_name) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"sesame\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t3.characteristic_name",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "sesame",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "characteristic_name",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Count the number of different characteristic names the product 'cumin' has.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "characteristic",
            "names",
            "the",
            "product",
            "'cumin",
            "'",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"sesame\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"sesame\"",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "sesame",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What are all the characteristic names of product \"sesame\"?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "characteristic",
            "names",
            "of",
            "product",
            "``",
            "sesame",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"sesame\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"sesame\"",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "sesame",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Return the characteristic names of the 'sesame' product.",
        "question_toks": [
            "Return",
            "the",
            "characteristic",
            "names",
            "of",
            "the",
            "'sesame",
            "'",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"sesame\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name ,  t3.characteristic_data_type FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"cumin\"",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            ",",
            "t3.characteristic_data_type",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "cumin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            ",",
            "t3",
            ".",
            "characteristic_data_type",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "List all the characteristic names and data types of product \"cumin\".",
        "question_toks": [
            "List",
            "all",
            "the",
            "characteristic",
            "names",
            "and",
            "data",
            "types",
            "of",
            "product",
            "``",
            "cumin",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"cumin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name ,  t3.characteristic_data_type FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"cumin\"",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            ",",
            "t3.characteristic_data_type",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "cumin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            ",",
            "t3",
            ".",
            "characteristic_data_type",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What are the names and data types of the characteristics of the 'cumin' product?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "data",
            "types",
            "of",
            "the",
            "characteristics",
            "of",
            "the",
            "'cumin",
            "'",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"cumin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"sesame\" AND t3.characteristic_type_code  =  \"Grade\"",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "sesame",
            "''",
            "AND",
            "t3.characteristic_type_code",
            "=",
            "``",
            "Grade",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "characteristic_type_code",
            "=",
            "value"
        ],
        "question": "List all characteristics of product named \"sesame\" with type code \"Grade\".",
        "question_toks": [
            "List",
            "all",
            "characteristics",
            "of",
            "product",
            "named",
            "``",
            "sesame",
            "''",
            "with",
            "type",
            "code",
            "``",
            "Grade",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"sesame\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Grade\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"sesame\" AND t3.characteristic_type_code  =  \"Grade\"",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "sesame",
            "''",
            "AND",
            "t3.characteristic_type_code",
            "=",
            "``",
            "Grade",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "characteristic_type_code",
            "=",
            "value"
        ],
        "question": "What are the names of the characteristics of the product 'sesame' that have the characteristic type code 'Grade'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "characteristics",
            "of",
            "the",
            "product",
            "'sesame",
            "'",
            "that",
            "have",
            "the",
            "characteristic",
            "type",
            "code",
            "'Grade",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"sesame\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Grade\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"laurel\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "laurel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "How many characteristics does the product named \"laurel\" have?",
        "question_toks": [
            "How",
            "many",
            "characteristics",
            "does",
            "the",
            "product",
            "named",
            "``",
            "laurel",
            "''",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"laurel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"laurel\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "laurel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Count the number of characteristics of the product named 'laurel'.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "characteristics",
            "of",
            "the",
            "product",
            "named",
            "'laurel",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"laurel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"flax\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "flax",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Find the number of characteristics that the product \"flax\" has.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "characteristics",
            "that",
            "the",
            "product",
            "``",
            "flax",
            "''",
            "has",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"flax\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t1.product_name  =  \"flax\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "flax",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Count the number of characteristics of the 'flax' product.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "characteristics",
            "of",
            "the",
            "'flax",
            "'",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"flax\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code  =  t4.color_code WHERE t4.color_description  =  \"red\" AND t3.characteristic_name  =  \"fast\"",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "JOIN",
            "ref_colors",
            "AS",
            "t4",
            "ON",
            "t1.color_code",
            "=",
            "t4.color_code",
            "WHERE",
            "t4.color_description",
            "=",
            "``",
            "red",
            "''",
            "AND",
            "t3.characteristic_name",
            "=",
            "``",
            "fast",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "join",
            "ref_colors",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t4",
            ".",
            "color_code",
            "where",
            "t4",
            ".",
            "color_description",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "Find the name of the products that have the color description \"red\" and have the characteristic name \"fast\".",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "products",
            "that",
            "have",
            "the",
            "color",
            "description",
            "``",
            "red",
            "''",
            "and",
            "have",
            "the",
            "characteristic",
            "name",
            "``",
            "fast",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"red\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"fast\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code  =  t4.color_code WHERE t4.color_description  =  \"red\" AND t3.characteristic_name  =  \"fast\"",
        "query_toks": [
            "SELECT",
            "product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "JOIN",
            "ref_colors",
            "AS",
            "t4",
            "ON",
            "t1.color_code",
            "=",
            "t4.color_code",
            "WHERE",
            "t4.color_description",
            "=",
            "``",
            "red",
            "''",
            "AND",
            "t3.characteristic_name",
            "=",
            "``",
            "fast",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "join",
            "ref_colors",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t4",
            ".",
            "color_code",
            "where",
            "t4",
            ".",
            "color_description",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "What are the names of the products that have a color description of 'red' and the 'fast' characteristic?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "products",
            "that",
            "have",
            "a",
            "color",
            "description",
            "of",
            "'red",
            "'",
            "and",
            "the",
            "'fast",
            "'",
            "characteristic",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"red\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"fast\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t3.characteristic_name  =  \"hot\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t3.characteristic_name",
            "=",
            "``",
            "hot",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "How many products have the characteristic named \"hot\"?",
        "question_toks": [
            "How",
            "many",
            "products",
            "have",
            "the",
            "characteristic",
            "named",
            "``",
            "hot",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"hot\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t3.characteristic_name  =  \"hot\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t3.characteristic_name",
            "=",
            "``",
            "hot",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "Count the number of products with the 'hot' charactersitic.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "products",
            "with",
            "the",
            "'hot",
            "'",
            "charactersitic",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"hot\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT DISTINCT t1.product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t3.characteristic_name  =  \"warm\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t3.characteristic_name",
            "=",
            "``",
            "warm",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "List the all the distinct names of the products with the characteristic name 'warm'.",
        "question_toks": [
            "List",
            "the",
            "all",
            "the",
            "distinct",
            "names",
            "of",
            "the",
            "products",
            "with",
            "the",
            "characteristic",
            "name",
            "'warm",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"warm\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT DISTINCT t1.product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id WHERE t3.characteristic_name  =  \"warm\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "WHERE",
            "t3.characteristic_name",
            "=",
            "``",
            "warm",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "where",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "What are the different product names for products that have the 'warm' characteristic:?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "product",
            "names",
            "for",
            "products",
            "that",
            "have",
            "the",
            "'warm",
            "'",
            "characteristic",
            ":",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"warm\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code  =  t4.color_code WHERE t4.color_description  =  \"red\" AND t3.characteristic_name  =  \"slow\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "JOIN",
            "ref_colors",
            "AS",
            "t4",
            "ON",
            "t1.color_code",
            "=",
            "t4.color_code",
            "WHERE",
            "t4.color_description",
            "=",
            "``",
            "red",
            "''",
            "AND",
            "t3.characteristic_name",
            "=",
            "``",
            "slow",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "join",
            "ref_colors",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t4",
            ".",
            "color_code",
            "where",
            "t4",
            ".",
            "color_description",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "Find the number of the products that have their color described as \"red\" and have a characteristic named \"slow\".",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "the",
            "products",
            "that",
            "have",
            "their",
            "color",
            "described",
            "as",
            "``",
            "red",
            "''",
            "and",
            "have",
            "a",
            "characteristic",
            "named",
            "``",
            "slow",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"red\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"slow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code  =  t4.color_code WHERE t4.color_description  =  \"red\" AND t3.characteristic_name  =  \"slow\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "JOIN",
            "ref_colors",
            "AS",
            "t4",
            "ON",
            "t1.color_code",
            "=",
            "t4.color_code",
            "WHERE",
            "t4.color_description",
            "=",
            "``",
            "red",
            "''",
            "AND",
            "t3.characteristic_name",
            "=",
            "``",
            "slow",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "join",
            "ref_colors",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t4",
            ".",
            "color_code",
            "where",
            "t4",
            ".",
            "color_description",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "How many products have the color description 'red' and the characteristic name 'slow'?",
        "question_toks": [
            "How",
            "many",
            "products",
            "have",
            "the",
            "color",
            "description",
            "'red",
            "'",
            "and",
            "the",
            "characteristic",
            "name",
            "'slow",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"red\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"slow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code  =  t4.color_code WHERE t4.color_description  =  \"white\" OR t3.characteristic_name  =  \"hot\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "JOIN",
            "ref_colors",
            "AS",
            "t4",
            "ON",
            "t1.color_code",
            "=",
            "t4.color_code",
            "WHERE",
            "t4.color_description",
            "=",
            "``",
            "white",
            "''",
            "OR",
            "t3.characteristic_name",
            "=",
            "``",
            "hot",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "join",
            "ref_colors",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t4",
            ".",
            "color_code",
            "where",
            "t4",
            ".",
            "color_description",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "Count the products that have the color description \"white\" or have the characteristic name \"hot\".",
        "question_toks": [
            "Count",
            "the",
            "products",
            "that",
            "have",
            "the",
            "color",
            "description",
            "``",
            "white",
            "''",
            "or",
            "have",
            "the",
            "characteristic",
            "name",
            "``",
            "hot",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"white\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"hot\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code  =  t4.color_code WHERE t4.color_description  =  \"white\" OR t3.characteristic_name  =  \"hot\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "JOIN",
            "ref_colors",
            "AS",
            "t4",
            "ON",
            "t1.color_code",
            "=",
            "t4.color_code",
            "WHERE",
            "t4.color_description",
            "=",
            "``",
            "white",
            "''",
            "OR",
            "t3.characteristic_name",
            "=",
            "``",
            "hot",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "join",
            "ref_colors",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t4",
            ".",
            "color_code",
            "where",
            "t4",
            ".",
            "color_description",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "characteristic_name",
            "=",
            "value"
        ],
        "question": "How many products have their color described as 'white' or have a characteristic with the name 'hot'?",
        "question_toks": [
            "How",
            "many",
            "products",
            "have",
            "their",
            "color",
            "described",
            "as",
            "'white",
            "'",
            "or",
            "have",
            "a",
            "characteristic",
            "with",
            "the",
            "name",
            "'hot",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"white\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"hot\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT unit_of_measure FROM ref_product_categories WHERE product_category_code  =  \"Herbs\"",
        "query_toks": [
            "SELECT",
            "unit_of_measure",
            "FROM",
            "ref_product_categories",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Herbs",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "unit_of_measure",
            "from",
            "ref_product_categories",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "What is the unit of measuerment of the product category code \"Herbs\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "unit",
            "of",
            "measuerment",
            "of",
            "the",
            "product",
            "category",
            "code",
            "``",
            "Herbs",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Herbs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT unit_of_measure FROM ref_product_categories WHERE product_category_code  =  \"Herbs\"",
        "query_toks": [
            "SELECT",
            "unit_of_measure",
            "FROM",
            "ref_product_categories",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Herbs",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "unit_of_measure",
            "from",
            "ref_product_categories",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "Return the unit of measure for 'Herb' products.",
        "question_toks": [
            "Return",
            "the",
            "unit",
            "of",
            "measure",
            "for",
            "'Herb",
            "'",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Herbs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_category_description FROM ref_product_categories WHERE product_category_code  =  \"Spices\"",
        "query_toks": [
            "SELECT",
            "product_category_description",
            "FROM",
            "ref_product_categories",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Spices",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_category_description",
            "from",
            "ref_product_categories",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "Find the product category description of the product category with code \"Spices\".",
        "question_toks": [
            "Find",
            "the",
            "product",
            "category",
            "description",
            "of",
            "the",
            "product",
            "category",
            "with",
            "code",
            "``",
            "Spices",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Spices\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_category_description FROM ref_product_categories WHERE product_category_code  =  \"Spices\"",
        "query_toks": [
            "SELECT",
            "product_category_description",
            "FROM",
            "ref_product_categories",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Spices",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_category_description",
            "from",
            "ref_product_categories",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "What is the description of the product category with the code 'Spices'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "product",
            "category",
            "with",
            "the",
            "code",
            "'Spices",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Spices\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_category_description ,  unit_of_measure FROM ref_product_categories WHERE product_category_code  =  \"Herbs\"",
        "query_toks": [
            "SELECT",
            "product_category_description",
            ",",
            "unit_of_measure",
            "FROM",
            "ref_product_categories",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Herbs",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_category_description",
            ",",
            "unit_of_measure",
            "from",
            "ref_product_categories",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "What is the product category description and unit of measurement of category \"Herbs\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "product",
            "category",
            "description",
            "and",
            "unit",
            "of",
            "measurement",
            "of",
            "category",
            "``",
            "Herbs",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Herbs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT product_category_description ,  unit_of_measure FROM ref_product_categories WHERE product_category_code  =  \"Herbs\"",
        "query_toks": [
            "SELECT",
            "product_category_description",
            ",",
            "unit_of_measure",
            "FROM",
            "ref_product_categories",
            "WHERE",
            "product_category_code",
            "=",
            "``",
            "Herbs",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_category_description",
            ",",
            "unit_of_measure",
            "from",
            "ref_product_categories",
            "where",
            "product_category_code",
            "=",
            "value"
        ],
        "question": "Return the description and unit of measurement for products in the 'Herbs' category.",
        "question_toks": [
            "Return",
            "the",
            "description",
            "and",
            "unit",
            "of",
            "measurement",
            "for",
            "products",
            "in",
            "the",
            "'Herbs",
            "'",
            "category",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Herbs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.unit_of_measure FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code  =  t2.product_category_code WHERE t1.product_name  =  \"cumin\"",
        "query_toks": [
            "SELECT",
            "t2.unit_of_measure",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_product_categories",
            "AS",
            "t2",
            "ON",
            "t1.product_category_code",
            "=",
            "t2.product_category_code",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "cumin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "unit_of_measure",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_product_categories",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_category_code",
            "=",
            "t2",
            ".",
            "product_category_code",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What is the unit of measurement of product named \"cumin\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "unit",
            "of",
            "measurement",
            "of",
            "product",
            "named",
            "``",
            "cumin",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"cumin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.unit_of_measure FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code  =  t2.product_category_code WHERE t1.product_name  =  \"cumin\"",
        "query_toks": [
            "SELECT",
            "t2.unit_of_measure",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_product_categories",
            "AS",
            "t2",
            "ON",
            "t1.product_category_code",
            "=",
            "t2.product_category_code",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "cumin",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "unit_of_measure",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_product_categories",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_category_code",
            "=",
            "t2",
            ".",
            "product_category_code",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Give the unit of measure for the product with the name 'cumin'.",
        "question_toks": [
            "Give",
            "the",
            "unit",
            "of",
            "measure",
            "for",
            "the",
            "product",
            "with",
            "the",
            "name",
            "'cumin",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"cumin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.unit_of_measure ,  t2.product_category_code FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code  =  t2.product_category_code WHERE t1.product_name  =  \"chervil\"",
        "query_toks": [
            "SELECT",
            "t2.unit_of_measure",
            ",",
            "t2.product_category_code",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_product_categories",
            "AS",
            "t2",
            "ON",
            "t1.product_category_code",
            "=",
            "t2.product_category_code",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "chervil",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "unit_of_measure",
            ",",
            "t2",
            ".",
            "product_category_code",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_product_categories",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_category_code",
            "=",
            "t2",
            ".",
            "product_category_code",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "Find the unit of measurement and product category code of product named \"chervil\".",
        "question_toks": [
            "Find",
            "the",
            "unit",
            "of",
            "measurement",
            "and",
            "product",
            "category",
            "code",
            "of",
            "product",
            "named",
            "``",
            "chervil",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"chervil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.unit_of_measure ,  t2.product_category_code FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code  =  t2.product_category_code WHERE t1.product_name  =  \"chervil\"",
        "query_toks": [
            "SELECT",
            "t2.unit_of_measure",
            ",",
            "t2.product_category_code",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_product_categories",
            "AS",
            "t2",
            "ON",
            "t1.product_category_code",
            "=",
            "t2.product_category_code",
            "WHERE",
            "t1.product_name",
            "=",
            "``",
            "chervil",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "unit_of_measure",
            ",",
            "t2",
            ".",
            "product_category_code",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_product_categories",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_category_code",
            "=",
            "t2",
            ".",
            "product_category_code",
            "where",
            "t1",
            ".",
            "product_name",
            "=",
            "value"
        ],
        "question": "What are the unit of measure and category code for the 'chervil' product?",
        "question_toks": [
            "What",
            "are",
            "the",
            "unit",
            "of",
            "measure",
            "and",
            "category",
            "code",
            "for",
            "the",
            "'chervil",
            "'",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"chervil\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.product_name FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code  =  t2.product_category_code JOIN ref_colors AS t3 ON t1.color_code  =  t3.color_code WHERE t3.color_description  =  \"white\" AND t2.unit_of_measure != \"Handful\"",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_product_categories",
            "AS",
            "t2",
            "ON",
            "t1.product_category_code",
            "=",
            "t2.product_category_code",
            "JOIN",
            "ref_colors",
            "AS",
            "t3",
            "ON",
            "t1.color_code",
            "=",
            "t3.color_code",
            "WHERE",
            "t3.color_description",
            "=",
            "``",
            "white",
            "''",
            "AND",
            "t2.unit_of_measure",
            "!",
            "=",
            "``",
            "Handful",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_product_categories",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_category_code",
            "=",
            "t2",
            ".",
            "product_category_code",
            "join",
            "ref_colors",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t3",
            ".",
            "color_code",
            "where",
            "t3",
            ".",
            "color_description",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "unit_of_measure",
            "!",
            "=",
            "value"
        ],
        "question": "Find the product names that are colored 'white' but do not have unit of measurement \"Handful\".",
        "question_toks": [
            "Find",
            "the",
            "product",
            "names",
            "that",
            "are",
            "colored",
            "'white",
            "'",
            "but",
            "do",
            "not",
            "have",
            "unit",
            "of",
            "measurement",
            "``",
            "Handful",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"white\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Handful\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t1.product_name FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code  =  t2.product_category_code JOIN ref_colors AS t3 ON t1.color_code  =  t3.color_code WHERE t3.color_description  =  \"white\" AND t2.unit_of_measure != \"Handful\"",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_product_categories",
            "AS",
            "t2",
            "ON",
            "t1.product_category_code",
            "=",
            "t2.product_category_code",
            "JOIN",
            "ref_colors",
            "AS",
            "t3",
            "ON",
            "t1.color_code",
            "=",
            "t3.color_code",
            "WHERE",
            "t3.color_description",
            "=",
            "``",
            "white",
            "''",
            "AND",
            "t2.unit_of_measure",
            "!",
            "=",
            "``",
            "Handful",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_product_categories",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_category_code",
            "=",
            "t2",
            ".",
            "product_category_code",
            "join",
            "ref_colors",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t3",
            ".",
            "color_code",
            "where",
            "t3",
            ".",
            "color_description",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "unit_of_measure",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of products that are not 'white' in color and are not measured by the unit 'Handful'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "products",
            "that",
            "are",
            "not",
            "'white",
            "'",
            "in",
            "color",
            "and",
            "are",
            "not",
            "measured",
            "by",
            "the",
            "unit",
            "'Handful",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"white\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Handful\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code GROUP BY t2.color_description ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "GROUP",
            "BY",
            "t2.color_description",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "group",
            "by",
            "t2",
            ".",
            "color_description",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the description of the color for most products?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "color",
            "for",
            "most",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code GROUP BY t2.color_description ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "GROUP",
            "BY",
            "t2.color_description",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "group",
            "by",
            "t2",
            ".",
            "color_description",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the color description that is most common across all products.",
        "question_toks": [
            "Return",
            "the",
            "color",
            "description",
            "that",
            "is",
            "most",
            "common",
            "across",
            "all",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code GROUP BY t2.color_description ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "GROUP",
            "BY",
            "t2.color_description",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "group",
            "by",
            "t2",
            ".",
            "color_description",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the description of the color used by least products?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "color",
            "used",
            "by",
            "least",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code  =  t2.color_code GROUP BY t2.color_description ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.color_description",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "ref_colors",
            "AS",
            "t2",
            "ON",
            "t1.color_code",
            "=",
            "t2.color_code",
            "GROUP",
            "BY",
            "t2.color_description",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "color_description",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "ref_colors",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "color_code",
            "=",
            "t2",
            ".",
            "color_code",
            "group",
            "by",
            "t2",
            ".",
            "color_description",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Give the color description that is least common across products.",
        "question_toks": [
            "Give",
            "the",
            "color",
            "description",
            "that",
            "is",
            "least",
            "common",
            "across",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id GROUP BY t3.characteristic_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "GROUP",
            "BY",
            "t3.characteristic_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "group",
            "by",
            "t3",
            ".",
            "characteristic_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the characteristic name used by most number of the products?",
        "question_toks": [
            "What",
            "is",
            "the",
            "characteristic",
            "name",
            "used",
            "by",
            "most",
            "number",
            "of",
            "the",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id GROUP BY t3.characteristic_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "GROUP",
            "BY",
            "t3.characteristic_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "group",
            "by",
            "t3",
            ".",
            "characteristic_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name of the characteristic that is most common across all products.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "characteristic",
            "that",
            "is",
            "most",
            "common",
            "across",
            "all",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT characteristic_name ,  other_characteristic_details ,  characteristic_data_type FROM CHARACTERISTICS EXCEPT SELECT t1.characteristic_name ,  t1.other_characteristic_details ,  t1.characteristic_data_type FROM CHARACTERISTICS AS t1 JOIN product_characteristics AS t2 ON t1.characteristic_id  =  t2.characteristic_id",
        "query_toks": [
            "SELECT",
            "characteristic_name",
            ",",
            "other_characteristic_details",
            ",",
            "characteristic_data_type",
            "FROM",
            "CHARACTERISTICS",
            "EXCEPT",
            "SELECT",
            "t1.characteristic_name",
            ",",
            "t1.other_characteristic_details",
            ",",
            "t1.characteristic_data_type",
            "FROM",
            "CHARACTERISTICS",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.characteristic_id",
            "=",
            "t2.characteristic_id"
        ],
        "query_toks_no_value": [
            "select",
            "characteristic_name",
            ",",
            "other_characteristic_details",
            ",",
            "characteristic_data_type",
            "from",
            "characteristics",
            "except",
            "select",
            "t1",
            ".",
            "characteristic_name",
            ",",
            "t1",
            ".",
            "other_characteristic_details",
            ",",
            "t1",
            ".",
            "characteristic_data_type",
            "from",
            "characteristics",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "characteristic_id",
            "=",
            "t2",
            ".",
            "characteristic_id"
        ],
        "question": "What are the names, details and data types of the characteristics which are never used by any product?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "details",
            "and",
            "data",
            "types",
            "of",
            "the",
            "characteristics",
            "which",
            "are",
            "never",
            "used",
            "by",
            "any",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT characteristic_name ,  other_characteristic_details ,  characteristic_data_type FROM CHARACTERISTICS EXCEPT SELECT t1.characteristic_name ,  t1.other_characteristic_details ,  t1.characteristic_data_type FROM CHARACTERISTICS AS t1 JOIN product_characteristics AS t2 ON t1.characteristic_id  =  t2.characteristic_id",
        "query_toks": [
            "SELECT",
            "characteristic_name",
            ",",
            "other_characteristic_details",
            ",",
            "characteristic_data_type",
            "FROM",
            "CHARACTERISTICS",
            "EXCEPT",
            "SELECT",
            "t1.characteristic_name",
            ",",
            "t1.other_characteristic_details",
            ",",
            "t1.characteristic_data_type",
            "FROM",
            "CHARACTERISTICS",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.characteristic_id",
            "=",
            "t2.characteristic_id"
        ],
        "query_toks_no_value": [
            "select",
            "characteristic_name",
            ",",
            "other_characteristic_details",
            ",",
            "characteristic_data_type",
            "from",
            "characteristics",
            "except",
            "select",
            "t1",
            ".",
            "characteristic_name",
            ",",
            "t1",
            ".",
            "other_characteristic_details",
            ",",
            "t1",
            ".",
            "characteristic_data_type",
            "from",
            "characteristics",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "characteristic_id",
            "=",
            "t2",
            ".",
            "characteristic_id"
        ],
        "question": "Give the names, details, and data types of characteristics that are not found in any product.",
        "question_toks": [
            "Give",
            "the",
            "names",
            ",",
            "details",
            ",",
            "and",
            "data",
            "types",
            "of",
            "characteristics",
            "that",
            "are",
            "not",
            "found",
            "in",
            "any",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id GROUP BY t3.characteristic_name HAVING count(*)  >= 2",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "GROUP",
            "BY",
            "t3.characteristic_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "group",
            "by",
            "t3",
            ".",
            "characteristic_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are characteristic names used at least twice across all products?",
        "question_toks": [
            "What",
            "are",
            "characteristic",
            "names",
            "used",
            "at",
            "least",
            "twice",
            "across",
            "all",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id  =  t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id  =  t3.characteristic_id GROUP BY t3.characteristic_name HAVING count(*)  >= 2",
        "query_toks": [
            "SELECT",
            "t3.characteristic_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "product_characteristics",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "CHARACTERISTICS",
            "AS",
            "t3",
            "ON",
            "t2.characteristic_id",
            "=",
            "t3.characteristic_id",
            "GROUP",
            "BY",
            "t3.characteristic_name",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "characteristic_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "product_characteristics",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "characteristics",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "characteristic_id",
            "=",
            "t3",
            ".",
            "characteristic_id",
            "group",
            "by",
            "t3",
            ".",
            "characteristic_name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Give the names of characteristics that are in two or more products?",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "characteristics",
            "that",
            "are",
            "in",
            "two",
            "or",
            "more",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM Ref_colors WHERE color_code NOT IN ( SELECT color_code FROM products )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_colors",
            "WHERE",
            "color_code",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "color_code",
            "FROM",
            "products",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_colors",
            "where",
            "color_code",
            "not",
            "in",
            "(",
            "select",
            "color_code",
            "from",
            "products",
            ")"
        ],
        "question": "How many colors are never used by any product?",
        "question_toks": [
            "How",
            "many",
            "colors",
            "are",
            "never",
            "used",
            "by",
            "any",
            "product",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "products_gen_characteristics",
        "query": "SELECT count(*) FROM Ref_colors WHERE color_code NOT IN ( SELECT color_code FROM products )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_colors",
            "WHERE",
            "color_code",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "color_code",
            "FROM",
            "products",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_colors",
            "where",
            "color_code",
            "not",
            "in",
            "(",
            "select",
            "color_code",
            "from",
            "products",
            ")"
        ],
        "question": "Count the number of colors that are not used in any products.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "colors",
            "that",
            "are",
            "not",
            "used",
            "in",
            "any",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT count(*) FROM event",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "event"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "event"
        ],
        "question": "How many events are there?",
        "question_toks": [
            "How",
            "many",
            "events",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT name FROM event ORDER BY YEAR DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "event",
            "ORDER",
            "BY",
            "YEAR",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "event",
            "order",
            "by",
            "year",
            "desc"
        ],
        "question": "List all the event names by year from the most recent to the oldest.",
        "question_toks": [
            "List",
            "all",
            "the",
            "event",
            "names",
            "by",
            "year",
            "from",
            "the",
            "most",
            "recent",
            "to",
            "the",
            "oldest",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT name FROM event ORDER BY YEAR DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "event",
            "ORDER",
            "BY",
            "YEAR",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "event",
            "order",
            "by",
            "year",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the event that happened in the most recent year?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "event",
            "that",
            "happened",
            "in",
            "the",
            "most",
            "recent",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT count(*) FROM stadium",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "stadium"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "stadium"
        ],
        "question": "How many stadiums are there?",
        "question_toks": [
            "How",
            "many",
            "stadiums",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT name FROM stadium ORDER BY capacity DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "stadium",
            "ORDER",
            "BY",
            "capacity",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "stadium",
            "order",
            "by",
            "capacity",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the stadium that has the maximum capacity.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "stadium",
            "that",
            "has",
            "the",
            "maximum",
            "capacity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT name FROM stadium WHERE capacity  <  (SELECT avg(capacity) FROM stadium)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "stadium",
            "WHERE",
            "capacity",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "capacity",
            ")",
            "FROM",
            "stadium",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "stadium",
            "where",
            "capacity",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "capacity",
            ")",
            "from",
            "stadium",
            ")"
        ],
        "question": "Find the names of stadiums whose capacity is smaller than the average capacity.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "stadiums",
            "whose",
            "capacity",
            "is",
            "smaller",
            "than",
            "the",
            "average",
            "capacity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT country FROM stadium GROUP BY country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "stadium",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "stadium",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the country that has the most stadiums.",
        "question_toks": [
            "Find",
            "the",
            "country",
            "that",
            "has",
            "the",
            "most",
            "stadiums",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT country FROM stadium GROUP BY country HAVING count(*)  <=  3",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "stadium",
            "GROUP",
            "BY",
            "country",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "stadium",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "Which country has at most 3 stadiums listed?",
        "question_toks": [
            "Which",
            "country",
            "has",
            "at",
            "most",
            "3",
            "stadiums",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT country FROM stadium WHERE capacity  >  60000 INTERSECT SELECT country FROM stadium WHERE capacity  <  50000",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "stadium",
            "WHERE",
            "capacity",
            ">",
            "60000",
            "INTERSECT",
            "SELECT",
            "country",
            "FROM",
            "stadium",
            "WHERE",
            "capacity",
            "<",
            "50000"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "stadium",
            "where",
            "capacity",
            ">",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "stadium",
            "where",
            "capacity",
            "<",
            "value"
        ],
        "question": "Which country has both stadiums with capacity greater than 60000 and stadiums with capacity less than 50000?",
        "question_toks": [
            "Which",
            "country",
            "has",
            "both",
            "stadiums",
            "with",
            "capacity",
            "greater",
            "than",
            "60000",
            "and",
            "stadiums",
            "with",
            "capacity",
            "less",
            "than",
            "50000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    60000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        50000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT count(DISTINCT city) FROM stadium WHERE opening_year  <  2006",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "stadium",
            "WHERE",
            "opening_year",
            "<",
            "2006"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "stadium",
            "where",
            "opening_year",
            "<",
            "value"
        ],
        "question": "How many cities have a stadium that was opened before the year of 2006?",
        "question_toks": [
            "How",
            "many",
            "cities",
            "have",
            "a",
            "stadium",
            "that",
            "was",
            "opened",
            "before",
            "the",
            "year",
            "of",
            "2006",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    2006.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT country ,  count(*) FROM stadium GROUP BY country",
        "query_toks": [
            "SELECT",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "stadium",
            "GROUP",
            "BY",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "stadium",
            "group",
            "by",
            "country"
        ],
        "question": "How many stadiums does each country have?",
        "question_toks": [
            "How",
            "many",
            "stadiums",
            "does",
            "each",
            "country",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT country FROM stadium EXCEPT SELECT country FROM stadium WHERE opening_year  >  2006",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "stadium",
            "EXCEPT",
            "SELECT",
            "country",
            "FROM",
            "stadium",
            "WHERE",
            "opening_year",
            ">",
            "2006"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "stadium",
            "except",
            "select",
            "country",
            "from",
            "stadium",
            "where",
            "opening_year",
            ">",
            "value"
        ],
        "question": "Which countries do not have a stadium that was opened after 2006?",
        "question_toks": [
            "Which",
            "countries",
            "do",
            "not",
            "have",
            "a",
            "stadium",
            "that",
            "was",
            "opened",
            "after",
            "2006",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        2006.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT count(*) FROM stadium WHERE country != 'Russia'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "stadium",
            "WHERE",
            "country",
            "!",
            "=",
            "'Russia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "stadium",
            "where",
            "country",
            "!",
            "=",
            "value"
        ],
        "question": "How many stadiums are not in country \"Russia\"?",
        "question_toks": [
            "How",
            "many",
            "stadiums",
            "are",
            "not",
            "in",
            "country",
            "``",
            "Russia",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Russia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT name FROM swimmer ORDER BY meter_100",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "swimmer",
            "ORDER",
            "BY",
            "meter_100"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "swimmer",
            "order",
            "by",
            "meter_100"
        ],
        "question": "Find the names of all swimmers, sorted by their 100 meter scores in ascending order.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "swimmers",
            ",",
            "sorted",
            "by",
            "their",
            "100",
            "meter",
            "scores",
            "in",
            "ascending",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT count(DISTINCT nationality) FROM swimmer",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "nationality",
            ")",
            "FROM",
            "swimmer"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "nationality",
            ")",
            "from",
            "swimmer"
        ],
        "question": "How many different countries are all the swimmers from?",
        "question_toks": [
            "How",
            "many",
            "different",
            "countries",
            "are",
            "all",
            "the",
            "swimmers",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT nationality ,  count(*) FROM swimmer GROUP BY nationality HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "nationality",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "swimmer",
            "GROUP",
            "BY",
            "nationality",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "swimmer",
            "group",
            "by",
            "nationality",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List countries that have more than one swimmer.",
        "question_toks": [
            "List",
            "countries",
            "that",
            "have",
            "more",
            "than",
            "one",
            "swimmer",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT meter_200 ,  meter_300 FROM swimmer WHERE nationality  =  'Australia'",
        "query_toks": [
            "SELECT",
            "meter_200",
            ",",
            "meter_300",
            "FROM",
            "swimmer",
            "WHERE",
            "nationality",
            "=",
            "'Australia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "meter_200",
            ",",
            "meter_300",
            "from",
            "swimmer",
            "where",
            "nationality",
            "=",
            "value"
        ],
        "question": "Find all 200 meter and 300 meter results of swimmers with nationality \"Australia\".",
        "question_toks": [
            "Find",
            "all",
            "200",
            "meter",
            "and",
            "300",
            "meter",
            "results",
            "of",
            "swimmers",
            "with",
            "nationality",
            "``",
            "Australia",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Australia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id  =  t2.swimmer_id WHERE RESULT  =  'Win'",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "swimmer",
            "AS",
            "t1",
            "JOIN",
            "record",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.swimmer_id",
            "WHERE",
            "RESULT",
            "=",
            "'Win",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "swimmer",
            "as",
            "t1",
            "join",
            "record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "swimmer_id",
            "where",
            "result",
            "=",
            "value"
        ],
        "question": "Find the names of swimmers who has a result of \"win\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "swimmers",
            "who",
            "has",
            "a",
            "result",
            "of",
            "``",
            "win",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Win\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t1.name FROM stadium AS t1 JOIN event AS t2 ON t1.id  =  t2.stadium_id GROUP BY t2.stadium_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "stadium",
            "AS",
            "t1",
            "JOIN",
            "event",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.stadium_id",
            "GROUP",
            "BY",
            "t2.stadium_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "stadium",
            "as",
            "t1",
            "join",
            "event",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "group",
            "by",
            "t2",
            ".",
            "stadium_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the stadium which held the most events?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "stadium",
            "which",
            "held",
            "the",
            "most",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t1.name ,  t1.capacity FROM stadium AS t1 JOIN event AS t2 ON t1.id  =  t2.stadium_id WHERE t2.name  =  'World Junior'",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.capacity",
            "FROM",
            "stadium",
            "AS",
            "t1",
            "JOIN",
            "event",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.stadium_id",
            "WHERE",
            "t2.name",
            "=",
            "'World",
            "Junior",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "capacity",
            "from",
            "stadium",
            "as",
            "t1",
            "join",
            "event",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the name and capacity of the stadium where the event named \"World Junior\" happened.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "capacity",
            "of",
            "the",
            "stadium",
            "where",
            "the",
            "event",
            "named",
            "``",
            "World",
            "Junior",
            "''",
            "happened",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"World Junior\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT name FROM stadium WHERE id NOT IN (SELECT stadium_id FROM event)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "stadium",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "stadium_id",
            "FROM",
            "event",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "stadium",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "stadium_id",
            "from",
            "event",
            ")"
        ],
        "question": "Find the names of stadiums which have never had any event.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "stadiums",
            "which",
            "have",
            "never",
            "had",
            "any",
            "event",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            20,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id  =  t2.swimmer_id GROUP BY t2.swimmer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "swimmer",
            "AS",
            "t1",
            "JOIN",
            "record",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.swimmer_id",
            "GROUP",
            "BY",
            "t2.swimmer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "swimmer",
            "as",
            "t1",
            "join",
            "record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "swimmer_id",
            "group",
            "by",
            "t2",
            ".",
            "swimmer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the swimmer who has the most records.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "swimmer",
            "who",
            "has",
            "the",
            "most",
            "records",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id  =  t2.swimmer_id GROUP BY t2.swimmer_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "swimmer",
            "AS",
            "t1",
            "JOIN",
            "record",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.swimmer_id",
            "GROUP",
            "BY",
            "t2.swimmer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "swimmer",
            "as",
            "t1",
            "join",
            "record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "swimmer_id",
            "group",
            "by",
            "t2",
            ".",
            "swimmer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the name of the swimmer who has at least 2 records.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "swimmer",
            "who",
            "has",
            "at",
            "least",
            "2",
            "records",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t1.name ,  t1.nationality FROM swimmer AS t1 JOIN record AS t2 ON t1.id  =  t2.swimmer_id WHERE RESULT  =  'Win' GROUP BY t2.swimmer_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "t1.name",
            ",",
            "t1.nationality",
            "FROM",
            "swimmer",
            "AS",
            "t1",
            "JOIN",
            "record",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.swimmer_id",
            "WHERE",
            "RESULT",
            "=",
            "'Win",
            "'",
            "GROUP",
            "BY",
            "t2.swimmer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "nationality",
            "from",
            "swimmer",
            "as",
            "t1",
            "join",
            "record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "swimmer_id",
            "where",
            "result",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "swimmer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name and nationality of the swimmer who has won (i.e., has a result of \"win\") more than 1 time.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "nationality",
            "of",
            "the",
            "swimmer",
            "who",
            "has",
            "won",
            "(",
            "i.e.",
            ",",
            "has",
            "a",
            "result",
            "of",
            "``",
            "win",
            "''",
            ")",
            "more",
            "than",
            "1",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Win\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT name FROM swimmer WHERE id NOT IN (SELECT swimmer_id FROM record)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "swimmer",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "swimmer_id",
            "FROM",
            "record",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "swimmer",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "swimmer_id",
            "from",
            "record",
            ")"
        ],
        "question": "Find the names of the swimmers who have no record.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "swimmers",
            "who",
            "have",
            "no",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id  =  t2.swimmer_id WHERE RESULT  =  'Win' INTERSECT SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id  =  t2.swimmer_id WHERE RESULT  =  'Loss'",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "swimmer",
            "AS",
            "t1",
            "JOIN",
            "record",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.swimmer_id",
            "WHERE",
            "RESULT",
            "=",
            "'Win",
            "'",
            "INTERSECT",
            "SELECT",
            "t1.name",
            "FROM",
            "swimmer",
            "AS",
            "t1",
            "JOIN",
            "record",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.swimmer_id",
            "WHERE",
            "RESULT",
            "=",
            "'Loss",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "swimmer",
            "as",
            "t1",
            "join",
            "record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "swimmer_id",
            "where",
            "result",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "swimmer",
            "as",
            "t1",
            "join",
            "record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "swimmer_id",
            "where",
            "result",
            "=",
            "value"
        ],
        "question": "Find the names of the swimmers who have both \"win\" and \"loss\" results in the record.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "swimmers",
            "who",
            "have",
            "both",
            "``",
            "win",
            "''",
            "and",
            "``",
            "loss",
            "''",
            "results",
            "in",
            "the",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Win\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        "\"Loss\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t4.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id  =  t2.swimmer_id JOIN event AS t3 ON t2.event_id  =  t3.id JOIN stadium AS t4 ON t4.id  =  t3.stadium_id WHERE t1.nationality  =  'Australia'",
        "query_toks": [
            "SELECT",
            "t4.name",
            "FROM",
            "swimmer",
            "AS",
            "t1",
            "JOIN",
            "record",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.swimmer_id",
            "JOIN",
            "event",
            "AS",
            "t3",
            "ON",
            "t2.event_id",
            "=",
            "t3.id",
            "JOIN",
            "stadium",
            "AS",
            "t4",
            "ON",
            "t4.id",
            "=",
            "t3.stadium_id",
            "WHERE",
            "t1.nationality",
            "=",
            "'Australia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "name",
            "from",
            "swimmer",
            "as",
            "t1",
            "join",
            "record",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "swimmer_id",
            "join",
            "event",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "event_id",
            "=",
            "t3",
            ".",
            "id",
            "join",
            "stadium",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "stadium_id",
            "where",
            "t1",
            ".",
            "nationality",
            "=",
            "value"
        ],
        "question": "Find the names of stadiums that some Australian swimmers have been to.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "stadiums",
            "that",
            "some",
            "Australian",
            "swimmers",
            "have",
            "been",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Australia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT t3.name FROM record AS t1 JOIN event AS t2 ON t1.event_id  =  t2.id JOIN stadium AS t3 ON t3.id  =  t2.stadium_id GROUP BY t2.stadium_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "record",
            "AS",
            "t1",
            "JOIN",
            "event",
            "AS",
            "t2",
            "ON",
            "t1.event_id",
            "=",
            "t2.id",
            "JOIN",
            "stadium",
            "AS",
            "t3",
            "ON",
            "t3.id",
            "=",
            "t2.stadium_id",
            "GROUP",
            "BY",
            "t2.stadium_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "record",
            "as",
            "t1",
            "join",
            "event",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "event_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "stadium",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "stadium_id",
            "group",
            "by",
            "t2",
            ".",
            "stadium_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the names of stadiums that the most swimmers have been to.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "stadiums",
            "that",
            "the",
            "most",
            "swimmers",
            "have",
            "been",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT * FROM swimmer",
        "query_toks": [
            "SELECT",
            "*",
            "FROM",
            "swimmer"
        ],
        "query_toks_no_value": [
            "select",
            "*",
            "from",
            "swimmer"
        ],
        "question": "Find all details for each swimmer.",
        "question_toks": [
            "Find",
            "all",
            "details",
            "for",
            "each",
            "swimmer",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "swimming",
        "query": "SELECT avg(capacity) FROM stadium WHERE opening_year  =  2005",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "capacity",
            ")",
            "FROM",
            "stadium",
            "WHERE",
            "opening_year",
            "=",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "capacity",
            ")",
            "from",
            "stadium",
            "where",
            "opening_year",
            "=",
            "value"
        ],
        "question": "What is the average capacity of the stadiums that were opened in year 2005?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "capacity",
            "of",
            "the",
            "stadiums",
            "that",
            "were",
            "opened",
            "in",
            "year",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT count(*) FROM railway",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "railway"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "railway"
        ],
        "question": "How many railways are there?",
        "question_toks": [
            "How",
            "many",
            "railways",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Builder FROM railway ORDER BY Builder ASC",
        "query_toks": [
            "SELECT",
            "Builder",
            "FROM",
            "railway",
            "ORDER",
            "BY",
            "Builder",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "builder",
            "from",
            "railway",
            "order",
            "by",
            "builder",
            "asc"
        ],
        "question": "List the builders of railways in ascending alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "builders",
            "of",
            "railways",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Wheels ,  LOCATION FROM railway",
        "query_toks": [
            "SELECT",
            "Wheels",
            ",",
            "LOCATION",
            "FROM",
            "railway"
        ],
        "query_toks_no_value": [
            "select",
            "wheels",
            ",",
            "location",
            "from",
            "railway"
        ],
        "question": "List the wheels and locations of the railways.",
        "question_toks": [
            "List",
            "the",
            "wheels",
            "and",
            "locations",
            "of",
            "the",
            "railways",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT max(LEVEL) FROM manager WHERE Country != \"Australia\t\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "LEVEL",
            ")",
            "FROM",
            "manager",
            "WHERE",
            "Country",
            "!",
            "=",
            "``",
            "Australia",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "level",
            ")",
            "from",
            "manager",
            "where",
            "country",
            "!",
            "=",
            "value"
        ],
        "question": "What is the maximum level of managers in countries that are not \"Australia\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "level",
            "of",
            "managers",
            "in",
            "countries",
            "that",
            "are",
            "not",
            "``",
            "Australia",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Australia\t\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT avg(Age) FROM manager",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Age",
            ")",
            "FROM",
            "manager"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "manager"
        ],
        "question": "What is the average age for all managers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "for",
            "all",
            "managers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Name FROM manager ORDER BY LEVEL ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "manager",
            "ORDER",
            "BY",
            "LEVEL",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manager",
            "order",
            "by",
            "level",
            "asc"
        ],
        "question": "What are the names of managers in ascending order of level?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "managers",
            "in",
            "ascending",
            "order",
            "of",
            "level",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Name ,  Arrival FROM train",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Arrival",
            "FROM",
            "train"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "arrival",
            "from",
            "train"
        ],
        "question": "What are the names and arrival times of trains?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "arrival",
            "times",
            "of",
            "trains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Name FROM manager ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "manager",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "manager",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the oldest manager?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "oldest",
            "manager",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT T2.Name ,  T1.Location FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID  =  T2.Railway_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Location",
            "FROM",
            "railway",
            "AS",
            "T1",
            "JOIN",
            "train",
            "AS",
            "T2",
            "ON",
            "T1.Railway_ID",
            "=",
            "T2.Railway_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "location",
            "from",
            "railway",
            "as",
            "t1",
            "join",
            "train",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "railway_id",
            "=",
            "t2",
            ".",
            "railway_id"
        ],
        "question": "Show the names of trains and locations of railways they are in.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "trains",
            "and",
            "locations",
            "of",
            "railways",
            "they",
            "are",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT T1.Builder FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID  =  T2.Railway_ID WHERE T2.Name  =  \"Andaman Exp\"",
        "query_toks": [
            "SELECT",
            "T1.Builder",
            "FROM",
            "railway",
            "AS",
            "T1",
            "JOIN",
            "train",
            "AS",
            "T2",
            "ON",
            "T1.Railway_ID",
            "=",
            "T2.Railway_ID",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "Andaman",
            "Exp",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "builder",
            "from",
            "railway",
            "as",
            "t1",
            "join",
            "train",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "railway_id",
            "=",
            "t2",
            ".",
            "railway_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Show the builder of railways associated with the trains named \"Andaman Exp\".",
        "question_toks": [
            "Show",
            "the",
            "builder",
            "of",
            "railways",
            "associated",
            "with",
            "the",
            "trains",
            "named",
            "``",
            "Andaman",
            "Exp",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Andaman Exp\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT T2.Railway_ID ,  T1.Location FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID  =  T2.Railway_ID GROUP BY T2.Railway_ID HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Railway_ID",
            ",",
            "T1.Location",
            "FROM",
            "railway",
            "AS",
            "T1",
            "JOIN",
            "train",
            "AS",
            "T2",
            "ON",
            "T1.Railway_ID",
            "=",
            "T2.Railway_ID",
            "GROUP",
            "BY",
            "T2.Railway_ID",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "railway_id",
            ",",
            "t1",
            ".",
            "location",
            "from",
            "railway",
            "as",
            "t1",
            "join",
            "train",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "railway_id",
            "=",
            "t2",
            ".",
            "railway_id",
            "group",
            "by",
            "t2",
            ".",
            "railway_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show id and location of railways that are associated with more than one train.",
        "question_toks": [
            "Show",
            "id",
            "and",
            "location",
            "of",
            "railways",
            "that",
            "are",
            "associated",
            "with",
            "more",
            "than",
            "one",
            "train",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT T2.Railway_ID ,  T1.Builder FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID  =  T2.Railway_ID GROUP BY T2.Railway_ID ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Railway_ID",
            ",",
            "T1.Builder",
            "FROM",
            "railway",
            "AS",
            "T1",
            "JOIN",
            "train",
            "AS",
            "T2",
            "ON",
            "T1.Railway_ID",
            "=",
            "T2.Railway_ID",
            "GROUP",
            "BY",
            "T2.Railway_ID",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "railway_id",
            ",",
            "t1",
            ".",
            "builder",
            "from",
            "railway",
            "as",
            "t1",
            "join",
            "train",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "railway_id",
            "=",
            "t2",
            ".",
            "railway_id",
            "group",
            "by",
            "t2",
            ".",
            "railway_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the id and builder of the railway that are associated with the most trains.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "and",
            "builder",
            "of",
            "the",
            "railway",
            "that",
            "are",
            "associated",
            "with",
            "the",
            "most",
            "trains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Builder ,  COUNT(*) FROM railway GROUP BY Builder",
        "query_toks": [
            "SELECT",
            "Builder",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "railway",
            "GROUP",
            "BY",
            "Builder"
        ],
        "query_toks_no_value": [
            "select",
            "builder",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "railway",
            "group",
            "by",
            "builder"
        ],
        "question": "Show different builders of railways, along with the corresponding number of railways using each builder.",
        "question_toks": [
            "Show",
            "different",
            "builders",
            "of",
            "railways",
            ",",
            "along",
            "with",
            "the",
            "corresponding",
            "number",
            "of",
            "railways",
            "using",
            "each",
            "builder",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Builder FROM railway GROUP BY Builder ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Builder",
            "FROM",
            "railway",
            "GROUP",
            "BY",
            "Builder",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "builder",
            "from",
            "railway",
            "group",
            "by",
            "builder",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common builder of railways.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "builder",
            "of",
            "railways",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT LOCATION ,  COUNT(*) FROM railway GROUP BY LOCATION",
        "query_toks": [
            "SELECT",
            "LOCATION",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "railway",
            "GROUP",
            "BY",
            "LOCATION"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "railway",
            "group",
            "by",
            "location"
        ],
        "question": "Show different locations of railways along with the corresponding number of railways at each location.",
        "question_toks": [
            "Show",
            "different",
            "locations",
            "of",
            "railways",
            "along",
            "with",
            "the",
            "corresponding",
            "number",
            "of",
            "railways",
            "at",
            "each",
            "location",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT LOCATION FROM railway GROUP BY LOCATION HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "railway",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "railway",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the locations that have more than one railways.",
        "question_toks": [
            "Show",
            "the",
            "locations",
            "that",
            "have",
            "more",
            "than",
            "one",
            "railways",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT ObjectNumber FROM railway WHERE Railway_ID NOT IN (SELECT Railway_ID FROM train)",
        "query_toks": [
            "SELECT",
            "ObjectNumber",
            "FROM",
            "railway",
            "WHERE",
            "Railway_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Railway_ID",
            "FROM",
            "train",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "objectnumber",
            "from",
            "railway",
            "where",
            "railway_id",
            "not",
            "in",
            "(",
            "select",
            "railway_id",
            "from",
            "train",
            ")"
        ],
        "question": "List the object number of railways that do not have any trains.",
        "question_toks": [
            "List",
            "the",
            "object",
            "number",
            "of",
            "railways",
            "that",
            "do",
            "not",
            "have",
            "any",
            "trains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Country FROM manager WHERE Age  >  50 INTERSECT SELECT Country FROM manager WHERE Age  <  46",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "manager",
            "WHERE",
            "Age",
            ">",
            "50",
            "INTERSECT",
            "SELECT",
            "Country",
            "FROM",
            "manager",
            "WHERE",
            "Age",
            "<",
            "46"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "manager",
            "where",
            "age",
            ">",
            "value",
            "intersect",
            "select",
            "country",
            "from",
            "manager",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "Show the countries that have both managers of age above 50 and managers of age below 46.",
        "question_toks": [
            "Show",
            "the",
            "countries",
            "that",
            "have",
            "both",
            "managers",
            "of",
            "age",
            "above",
            "50",
            "and",
            "managers",
            "of",
            "age",
            "below",
            "46",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        46.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT DISTINCT Country FROM manager",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Country",
            "FROM",
            "manager"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "country",
            "from",
            "manager"
        ],
        "question": "Show the distinct countries of managers.",
        "question_toks": [
            "Show",
            "the",
            "distinct",
            "countries",
            "of",
            "managers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Working_year_starts FROM manager ORDER BY LEVEL DESC",
        "query_toks": [
            "SELECT",
            "Working_year_starts",
            "FROM",
            "manager",
            "ORDER",
            "BY",
            "LEVEL",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "working_year_starts",
            "from",
            "manager",
            "order",
            "by",
            "level",
            "desc"
        ],
        "question": "Show the working years of managers in descending order of their level.",
        "question_toks": [
            "Show",
            "the",
            "working",
            "years",
            "of",
            "managers",
            "in",
            "descending",
            "order",
            "of",
            "their",
            "level",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "railway",
        "query": "SELECT Country FROM manager WHERE Age  >  50 OR Age  <  46",
        "query_toks": [
            "SELECT",
            "Country",
            "FROM",
            "manager",
            "WHERE",
            "Age",
            ">",
            "50",
            "OR",
            "Age",
            "<",
            "46"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "manager",
            "where",
            "age",
            ">",
            "value",
            "or",
            "age",
            "<",
            "value"
        ],
        "question": "Show the countries that have managers of age above 50 or below 46.",
        "question_toks": [
            "Show",
            "the",
            "countries",
            "that",
            "have",
            "managers",
            "of",
            "age",
            "above",
            "50",
            "or",
            "below",
            "46",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    46.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT count(*) FROM addresses WHERE country  =  'USA'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "addresses",
            "WHERE",
            "country",
            "=",
            "'USA",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many addresses are there in country USA?",
        "question_toks": [
            "How",
            "many",
            "addresses",
            "are",
            "there",
            "in",
            "country",
            "USA",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"USA\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT DISTINCT city FROM addresses",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "city",
            "FROM",
            "addresses"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "city",
            "from",
            "addresses"
        ],
        "question": "Show all distinct cities in the address record.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "cities",
            "in",
            "the",
            "address",
            "record",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT state_province_county ,  count(*) FROM addresses GROUP BY state_province_county",
        "query_toks": [
            "SELECT",
            "state_province_county",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "addresses",
            "GROUP",
            "BY",
            "state_province_county"
        ],
        "query_toks_no_value": [
            "select",
            "state_province_county",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "group",
            "by",
            "state_province_county"
        ],
        "question": "Show each state and the number of addresses in each state.",
        "question_toks": [
            "Show",
            "each",
            "state",
            "and",
            "the",
            "number",
            "of",
            "addresses",
            "in",
            "each",
            "state",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT customer_name ,  customer_phone FROM customers WHERE customer_id NOT IN (SELECT customer_id FROM customer_address_history)",
        "query_toks": [
            "SELECT",
            "customer_name",
            ",",
            "customer_phone",
            "FROM",
            "customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "customer_address_history",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            ",",
            "customer_phone",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "customer_address_history",
            ")"
        ],
        "question": "Show names and phones of customers who do not have address information.",
        "question_toks": [
            "Show",
            "names",
            "and",
            "phones",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "have",
            "address",
            "information",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name of the customer who has the most orders.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "most",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT product_type_code FROM products GROUP BY product_type_code HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "product_type_code",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            "from",
            "products",
            "group",
            "by",
            "product_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the product type codes which have at least two products.",
        "question_toks": [
            "Show",
            "the",
            "product",
            "type",
            "codes",
            "which",
            "have",
            "at",
            "least",
            "two",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.order_status_code  =  'Completed' INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T2.order_status_code  =  'Part'",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status_code",
            "=",
            "'Completed",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status_code",
            "=",
            "'Part",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status_code",
            "=",
            "value"
        ],
        "question": "Show the names of customers who have both an order in completed status and an order in part status.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "both",
            "an",
            "order",
            "in",
            "completed",
            "status",
            "and",
            "an",
            "order",
            "in",
            "part",
            "status",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"Completed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        "\"Part\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT customer_name ,  customer_phone ,  payment_method_code FROM customers ORDER BY customer_number DESC",
        "query_toks": [
            "SELECT",
            "customer_name",
            ",",
            "customer_phone",
            ",",
            "payment_method_code",
            "FROM",
            "customers",
            "ORDER",
            "BY",
            "customer_number",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            ",",
            "customer_phone",
            ",",
            "payment_method_code",
            "from",
            "customers",
            "order",
            "by",
            "customer_number",
            "desc"
        ],
        "question": "Show the name, phone, and payment method code for all customers in descending order of customer number.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "phone",
            ",",
            "and",
            "payment",
            "method",
            "code",
            "for",
            "all",
            "customers",
            "in",
            "descending",
            "order",
            "of",
            "customer",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT T1.product_name ,  sum(T2.order_quantity) FROM products AS T1 JOIN order_items AS T2 ON T1.product_id  =  T2.product_id GROUP BY T1.product_id",
        "query_toks": [
            "SELECT",
            "T1.product_name",
            ",",
            "sum",
            "(",
            "T2.order_quantity",
            ")",
            "FROM",
            "products",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "ON",
            "T1.product_id",
            "=",
            "T2.product_id",
            "GROUP",
            "BY",
            "T1.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "order_quantity",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_id"
        ],
        "question": "Show the product name and total order quantity for each product.",
        "question_toks": [
            "Show",
            "the",
            "product",
            "name",
            "and",
            "total",
            "order",
            "quantity",
            "for",
            "each",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            34,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT min(product_price) ,  max(product_price) ,  avg(product_price) FROM products",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "product_price",
            ")",
            ",",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "product_price",
            ")",
            ",",
            "max",
            "(",
            "product_price",
            ")",
            ",",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products"
        ],
        "question": "Show the minimum, maximum, average price for all products.",
        "question_toks": [
            "Show",
            "the",
            "minimum",
            ",",
            "maximum",
            ",",
            "average",
            "price",
            "for",
            "all",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT count(*) FROM products WHERE product_price  >  (SELECT avg(product_price) FROM products)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "WHERE",
            "product_price",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            "FROM",
            "products",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "where",
            "product_price",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            "from",
            "products",
            ")"
        ],
        "question": "How many products have a price higher than the average?",
        "question_toks": [
            "How",
            "many",
            "products",
            "have",
            "a",
            "price",
            "higher",
            "than",
            "the",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT T2.customer_name ,  T3.city ,  T1.date_from ,  T1.date_to FROM customer_address_history AS T1 JOIN customers AS T2 ON T1.customer_id  =  T2.customer_id JOIN addresses AS T3 ON T1.address_id  =  T3.address_id",
        "query_toks": [
            "SELECT",
            "T2.customer_name",
            ",",
            "T3.city",
            ",",
            "T1.date_from",
            ",",
            "T1.date_to",
            "FROM",
            "customer_address_history",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "T3",
            "ON",
            "T1.address_id",
            "=",
            "T3.address_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_name",
            ",",
            "t3",
            ".",
            "city",
            ",",
            "t1",
            ".",
            "date_from",
            ",",
            "t1",
            ".",
            "date_to",
            "from",
            "customer_address_history",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id"
        ],
        "question": "Show the customer name, customer address city, date from, and date to for each customer address history.",
        "question_toks": [
            "Show",
            "the",
            "customer",
            "name",
            ",",
            "customer",
            "address",
            "city",
            ",",
            "date",
            "from",
            ",",
            "and",
            "date",
            "to",
            "for",
            "each",
            "customer",
            "address",
            "history",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id WHERE T1.payment_method_code  =  'Credit Card' GROUP BY T1.customer_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.payment_method_code",
            "=",
            "'Credit",
            "Card",
            "'",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "payment_method_code",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the names of customers who use Credit Card payment method and have more than 2 orders.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "use",
            "Credit",
            "Card",
            "payment",
            "method",
            "and",
            "have",
            "more",
            "than",
            "2",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Credit Card\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT  T1.customer_name ,  T1.customer_phone FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id  =  T2.customer_id JOIN order_items AS T3 ON T3.order_id  =  T2.order_id GROUP BY T1.customer_id ORDER BY sum(T3.order_quantity) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            ",",
            "T1.customer_phone",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "customer_orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "ON",
            "T3.order_id",
            "=",
            "T2.order_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "T3.order_quantity",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t1",
            ".",
            "customer_phone",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "order_quantity",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the name and phone of the customer with the most ordered product quantity?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "phone",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "most",
            "ordered",
            "product",
            "quantity",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_products_contacts",
        "query": "SELECT product_type_code ,  product_name FROM products WHERE product_price  >  1000 OR product_price  <  500",
        "query_toks": [
            "SELECT",
            "product_type_code",
            ",",
            "product_name",
            "FROM",
            "products",
            "WHERE",
            "product_price",
            ">",
            "1000",
            "OR",
            "product_price",
            "<",
            "500"
        ],
        "query_toks_no_value": [
            "select",
            "product_type_code",
            ",",
            "product_name",
            "from",
            "products",
            "where",
            "product_price",
            ">",
            "value",
            "or",
            "product_price",
            "<",
            "value"
        ],
        "question": "Show the product type and name for the products with price higher than 1000 or lower than 500.",
        "question_toks": [
            "Show",
            "the",
            "product",
            "type",
            "and",
            "name",
            "for",
            "the",
            "products",
            "with",
            "price",
            "higher",
            "than",
            "1000",
            "or",
            "lower",
            "than",
            "500",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    500.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm WHERE gender  =  'F'",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "WHERE",
            "gender",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "where",
            "gender",
            "=",
            "value"
        ],
        "question": "Find the name of dorms only for female (F gender).",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "dorms",
            "only",
            "for",
            "female",
            "(",
            "F",
            "gender",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm WHERE gender  =  'F'",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "WHERE",
            "gender",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "where",
            "gender",
            "=",
            "value"
        ],
        "question": "What are the names of the all-female dorms?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "all-female",
            "dorms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm WHERE student_capacity  >  300",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "WHERE",
            "student_capacity",
            ">",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "where",
            "student_capacity",
            ">",
            "value"
        ],
        "question": "Find the name of dorms that can accommodate more than 300 students.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "dorms",
            "that",
            "can",
            "accommodate",
            "more",
            "than",
            "300",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm WHERE student_capacity  >  300",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "WHERE",
            "student_capacity",
            ">",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "where",
            "student_capacity",
            ">",
            "value"
        ],
        "question": "What are the names of all the dorms that can accomdate more than 300 students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "dorms",
            "that",
            "can",
            "accomdate",
            "more",
            "than",
            "300",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM student WHERE sex  =  'F' AND age  <  25",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "WHERE",
            "sex",
            "=",
            "'F",
            "'",
            "AND",
            "age",
            "<",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "age",
            "<",
            "value"
        ],
        "question": "How many female students (sex is F) whose age is below 25?",
        "question_toks": [
            "How",
            "many",
            "female",
            "students",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "whose",
            "age",
            "is",
            "below",
            "25",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM student WHERE sex  =  'F' AND age  <  25",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "WHERE",
            "sex",
            "=",
            "'F",
            "'",
            "AND",
            "age",
            "<",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "age",
            "<",
            "value"
        ],
        "question": "How many girl students who are younger than 25?",
        "question_toks": [
            "How",
            "many",
            "girl",
            "students",
            "who",
            "are",
            "younger",
            "than",
            "25",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname FROM student WHERE age  >  20",
        "query_toks": [
            "SELECT",
            "fname",
            "FROM",
            "student",
            "WHERE",
            "age",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "Find the first name of students who is older than 20.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "students",
            "who",
            "is",
            "older",
            "than",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname FROM student WHERE age  >  20",
        "query_toks": [
            "SELECT",
            "fname",
            "FROM",
            "student",
            "WHERE",
            "age",
            ">",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "What are the first names of all students who are older than 20?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "students",
            "who",
            "are",
            "older",
            "than",
            "20",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname FROM student WHERE city_code  =  'PHL' AND age BETWEEN 20 AND 25",
        "query_toks": [
            "SELECT",
            "fname",
            "FROM",
            "student",
            "WHERE",
            "city_code",
            "=",
            "'PHL",
            "'",
            "AND",
            "age",
            "BETWEEN",
            "20",
            "AND",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value",
            "and",
            "age",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the first name of students living in city PHL whose age is between 20 and 25.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "students",
            "living",
            "in",
            "city",
            "PHL",
            "whose",
            "age",
            "is",
            "between",
            "20",
            "and",
            "25",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"PHL\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    25.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname FROM student WHERE city_code  =  'PHL' AND age BETWEEN 20 AND 25",
        "query_toks": [
            "SELECT",
            "fname",
            "FROM",
            "student",
            "WHERE",
            "city_code",
            "=",
            "'PHL",
            "'",
            "AND",
            "age",
            "BETWEEN",
            "20",
            "AND",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value",
            "and",
            "age",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What is the first name of the students who are in age 20 to 25 and living in PHL city?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "the",
            "students",
            "who",
            "are",
            "in",
            "age",
            "20",
            "to",
            "25",
            "and",
            "living",
            "in",
            "PHL",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"PHL\"",
                    null
                ],
                "and",
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    25.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM dorm",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "dorm"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "dorm"
        ],
        "question": "How many dorms are there?",
        "question_toks": [
            "How",
            "many",
            "dorms",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM dorm",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "dorm"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "dorm"
        ],
        "question": "How many dorms are in the database?",
        "question_toks": [
            "How",
            "many",
            "dorms",
            "are",
            "in",
            "the",
            "database",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM dorm_amenity",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "dorm_amenity"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "dorm_amenity"
        ],
        "question": "Find the number of distinct amenities.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "amenities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM dorm_amenity",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "dorm_amenity"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "dorm_amenity"
        ],
        "question": "How many diffrent dorm amenities are there?",
        "question_toks": [
            "How",
            "many",
            "diffrent",
            "dorm",
            "amenities",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT sum(student_capacity) FROM dorm",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "student_capacity",
            ")",
            "FROM",
            "dorm"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "student_capacity",
            ")",
            "from",
            "dorm"
        ],
        "question": "Find the total capacity of all dorms.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "capacity",
            "of",
            "all",
            "dorms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT sum(student_capacity) FROM dorm",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "student_capacity",
            ")",
            "FROM",
            "dorm"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "student_capacity",
            ")",
            "from",
            "dorm"
        ],
        "question": "What is the total student capacity of all dorms?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "student",
            "capacity",
            "of",
            "all",
            "dorms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student"
        ],
        "question": "How many students are there?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student"
        ],
        "question": "How many students exist?",
        "question_toks": [
            "How",
            "many",
            "students",
            "exist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(age) ,  city_code FROM student GROUP BY city_code",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "city_code"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code"
        ],
        "question": "Find the average age of all students living in the each city.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "all",
            "students",
            "living",
            "in",
            "the",
            "each",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(age) ,  city_code FROM student GROUP BY city_code",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "city_code"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code"
        ],
        "question": "What is the average age for each city and what are those cities?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "for",
            "each",
            "city",
            "and",
            "what",
            "are",
            "those",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(student_capacity) ,  sum(student_capacity) FROM dorm WHERE gender  =  'X'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "student_capacity",
            ")",
            ",",
            "sum",
            "(",
            "student_capacity",
            ")",
            "FROM",
            "dorm",
            "WHERE",
            "gender",
            "=",
            "'X",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "student_capacity",
            ")",
            ",",
            "sum",
            "(",
            "student_capacity",
            ")",
            "from",
            "dorm",
            "where",
            "gender",
            "=",
            "value"
        ],
        "question": "Find the average and total capacity of dorms for the students with gender X.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "and",
            "total",
            "capacity",
            "of",
            "dorms",
            "for",
            "the",
            "students",
            "with",
            "gender",
            "X",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"X\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(student_capacity) ,  sum(student_capacity) FROM dorm WHERE gender  =  'X'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "student_capacity",
            ")",
            ",",
            "sum",
            "(",
            "student_capacity",
            ")",
            "FROM",
            "dorm",
            "WHERE",
            "gender",
            "=",
            "'X",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "student_capacity",
            ")",
            ",",
            "sum",
            "(",
            "student_capacity",
            ")",
            "from",
            "dorm",
            "where",
            "gender",
            "=",
            "value"
        ],
        "question": "What is the average and total capacity for all dorms who are of gender X?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "and",
            "total",
            "capacity",
            "for",
            "all",
            "dorms",
            "who",
            "are",
            "of",
            "gender",
            "X",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"X\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(DISTINCT dormid) FROM has_amenity",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dormid",
            ")",
            "FROM",
            "has_amenity"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dormid",
            ")",
            "from",
            "has_amenity"
        ],
        "question": "Find the number of dorms that have some amenity.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "dorms",
            "that",
            "have",
            "some",
            "amenity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(DISTINCT dormid) FROM has_amenity",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dormid",
            ")",
            "FROM",
            "has_amenity"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dormid",
            ")",
            "from",
            "has_amenity"
        ],
        "question": "How many dorms have amenities?",
        "question_toks": [
            "How",
            "many",
            "dorms",
            "have",
            "amenities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm WHERE dormid NOT IN (SELECT dormid FROM has_amenity)",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "WHERE",
            "dormid",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "dormid",
            "FROM",
            "has_amenity",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "where",
            "dormid",
            "not",
            "in",
            "(",
            "select",
            "dormid",
            "from",
            "has_amenity",
            ")"
        ],
        "question": "Find the name of dorms that do not have any amenity",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "dorms",
            "that",
            "do",
            "not",
            "have",
            "any",
            "amenity"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm WHERE dormid NOT IN (SELECT dormid FROM has_amenity)",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "WHERE",
            "dormid",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "dormid",
            "FROM",
            "has_amenity",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "where",
            "dormid",
            "not",
            "in",
            "(",
            "select",
            "dormid",
            "from",
            "has_amenity",
            ")"
        ],
        "question": "What are the names of all the dorms that don't have any amenities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "dorms",
            "that",
            "do",
            "n't",
            "have",
            "any",
            "amenities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(DISTINCT gender) FROM dorm",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "gender",
            ")",
            "FROM",
            "dorm"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "gender",
            ")",
            "from",
            "dorm"
        ],
        "question": "Find the number of distinct gender for dorms.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "gender",
            "for",
            "dorms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(DISTINCT gender) FROM dorm",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "gender",
            ")",
            "FROM",
            "dorm"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "gender",
            ")",
            "from",
            "dorm"
        ],
        "question": "How many different genders are there in the dorms?",
        "question_toks": [
            "How",
            "many",
            "different",
            "genders",
            "are",
            "there",
            "in",
            "the",
            "dorms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT student_capacity ,  gender FROM dorm WHERE dorm_name LIKE '%Donor%'",
        "query_toks": [
            "SELECT",
            "student_capacity",
            ",",
            "gender",
            "FROM",
            "dorm",
            "WHERE",
            "dorm_name",
            "LIKE",
            "'",
            "%",
            "Donor",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "student_capacity",
            ",",
            "gender",
            "from",
            "dorm",
            "where",
            "dorm_name",
            "like",
            "value"
        ],
        "question": "Find the capacity and gender type of the dorm whose name has substring \u2018Donor\u2019.",
        "question_toks": [
            "Find",
            "the",
            "capacity",
            "and",
            "gender",
            "type",
            "of",
            "the",
            "dorm",
            "whose",
            "name",
            "has",
            "substring",
            "\u2018Donor\u2019",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"%Donor%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT student_capacity ,  gender FROM dorm WHERE dorm_name LIKE '%Donor%'",
        "query_toks": [
            "SELECT",
            "student_capacity",
            ",",
            "gender",
            "FROM",
            "dorm",
            "WHERE",
            "dorm_name",
            "LIKE",
            "'",
            "%",
            "Donor",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "student_capacity",
            ",",
            "gender",
            "from",
            "dorm",
            "where",
            "dorm_name",
            "like",
            "value"
        ],
        "question": "What is the student capacity and type of gender for the dorm whose name as the phrase Donor in it?",
        "question_toks": [
            "What",
            "is",
            "the",
            "student",
            "capacity",
            "and",
            "type",
            "of",
            "gender",
            "for",
            "the",
            "dorm",
            "whose",
            "name",
            "as",
            "the",
            "phrase",
            "Donor",
            "in",
            "it",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"%Donor%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name ,  gender FROM dorm WHERE student_capacity  >  300 OR student_capacity  <  100",
        "query_toks": [
            "SELECT",
            "dorm_name",
            ",",
            "gender",
            "FROM",
            "dorm",
            "WHERE",
            "student_capacity",
            ">",
            "300",
            "OR",
            "student_capacity",
            "<",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            ",",
            "gender",
            "from",
            "dorm",
            "where",
            "student_capacity",
            ">",
            "value",
            "or",
            "student_capacity",
            "<",
            "value"
        ],
        "question": "Find the name and gender type of the dorms whose capacity is greater than 300 or less than 100.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "gender",
            "type",
            "of",
            "the",
            "dorms",
            "whose",
            "capacity",
            "is",
            "greater",
            "than",
            "300",
            "or",
            "less",
            "than",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name ,  gender FROM dorm WHERE student_capacity  >  300 OR student_capacity  <  100",
        "query_toks": [
            "SELECT",
            "dorm_name",
            ",",
            "gender",
            "FROM",
            "dorm",
            "WHERE",
            "student_capacity",
            ">",
            "300",
            "OR",
            "student_capacity",
            "<",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            ",",
            "gender",
            "from",
            "dorm",
            "where",
            "student_capacity",
            ">",
            "value",
            "or",
            "student_capacity",
            "<",
            "value"
        ],
        "question": "What are the names and types of the dorms that have a capacity greater than 300 or less than 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "types",
            "of",
            "the",
            "dorms",
            "that",
            "have",
            "a",
            "capacity",
            "greater",
            "than",
            "300",
            "or",
            "less",
            "than",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(DISTINCT major) ,  count(DISTINCT city_code) FROM student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "major",
            ")",
            ",",
            "count",
            "(",
            "DISTINCT",
            "city_code",
            ")",
            "FROM",
            "student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "major",
            ")",
            ",",
            "count",
            "(",
            "distinct",
            "city_code",
            ")",
            "from",
            "student"
        ],
        "question": "Find the numbers of different majors and cities.",
        "question_toks": [
            "Find",
            "the",
            "numbers",
            "of",
            "different",
            "majors",
            "and",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(DISTINCT major) ,  count(DISTINCT city_code) FROM student",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "major",
            ")",
            ",",
            "count",
            "(",
            "DISTINCT",
            "city_code",
            ")",
            "FROM",
            "student"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "major",
            ")",
            ",",
            "count",
            "(",
            "distinct",
            "city_code",
            ")",
            "from",
            "student"
        ],
        "question": "How many different majors are there and how many different city codes are there for each student?",
        "question_toks": [
            "How",
            "many",
            "different",
            "majors",
            "are",
            "there",
            "and",
            "how",
            "many",
            "different",
            "city",
            "codes",
            "are",
            "there",
            "for",
            "each",
            "student",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                8,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'TV Lounge' INTERSECT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'Study Room'",
        "query_toks": [
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'Study",
            "Room",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value"
        ],
        "question": "Find the name of dorms which have both TV Lounge and Study Room as amenities.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "dorms",
            "which",
            "have",
            "both",
            "TV",
            "Lounge",
            "and",
            "Study",
            "Room",
            "as",
            "amenities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"TV Lounge\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Study Room\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'TV Lounge' INTERSECT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'Study Room'",
        "query_toks": [
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'Study",
            "Room",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value"
        ],
        "question": "What is the name of the dorm with both a TV Lounge and Study Room listed as amenities?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "dorm",
            "with",
            "both",
            "a",
            "TV",
            "Lounge",
            "and",
            "Study",
            "Room",
            "listed",
            "as",
            "amenities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"TV Lounge\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Study Room\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'TV Lounge' EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'Study Room'",
        "query_toks": [
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'Study",
            "Room",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value"
        ],
        "question": "Find the name of dorms which have TV Lounge but no Study Room as amenity.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "dorms",
            "which",
            "have",
            "TV",
            "Lounge",
            "but",
            "no",
            "Study",
            "Room",
            "as",
            "amenity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"TV Lounge\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Study Room\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'TV Lounge' EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'Study Room'",
        "query_toks": [
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'",
            "EXCEPT",
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'Study",
            "Room",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value"
        ],
        "question": "What is the name of each dorm that has a TV Lounge but no study rooms?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "each",
            "dorm",
            "that",
            "has",
            "a",
            "TV",
            "Lounge",
            "but",
            "no",
            "study",
            "rooms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"TV Lounge\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"Study Room\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT lname FROM student WHERE sex  =  'F' AND city_code  =  'BAL' UNION SELECT lname FROM student WHERE sex  =  'M' AND age  <  20",
        "query_toks": [
            "SELECT",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "sex",
            "=",
            "'F",
            "'",
            "AND",
            "city_code",
            "=",
            "'BAL",
            "'",
            "UNION",
            "SELECT",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "sex",
            "=",
            "'M",
            "'",
            "AND",
            "age",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "city_code",
            "=",
            "value",
            "union",
            "select",
            "lname",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "age",
            "<",
            "value"
        ],
        "question": "Find the last name of students who is either female (sex is F) and living in the city of code BAL or male (sex is M) and in age of below 20.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "students",
            "who",
            "is",
            "either",
            "female",
            "(",
            "sex",
            "is",
            "F",
            ")",
            "and",
            "living",
            "in",
            "the",
            "city",
            "of",
            "code",
            "BAL",
            "or",
            "male",
            "(",
            "sex",
            "is",
            "M",
            ")",
            "and",
            "in",
            "age",
            "of",
            "below",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"BAL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"M\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT lname FROM student WHERE sex  =  'F' AND city_code  =  'BAL' UNION SELECT lname FROM student WHERE sex  =  'M' AND age  <  20",
        "query_toks": [
            "SELECT",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "sex",
            "=",
            "'F",
            "'",
            "AND",
            "city_code",
            "=",
            "'BAL",
            "'",
            "UNION",
            "SELECT",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "sex",
            "=",
            "'M",
            "'",
            "AND",
            "age",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "city_code",
            "=",
            "value",
            "union",
            "select",
            "lname",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "age",
            "<",
            "value"
        ],
        "question": "What is the last name of every student who is either female or living in a city with the code BAL or male and under 20?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "every",
            "student",
            "who",
            "is",
            "either",
            "female",
            "or",
            "living",
            "in",
            "a",
            "city",
            "with",
            "the",
            "code",
            "BAL",
            "or",
            "male",
            "and",
            "under",
            "20",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"BAL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"M\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm ORDER BY student_capacity DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "ORDER",
            "BY",
            "student_capacity",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "order",
            "by",
            "student_capacity",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the dorm with the largest capacity.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "dorm",
            "with",
            "the",
            "largest",
            "capacity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm ORDER BY student_capacity DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "ORDER",
            "BY",
            "student_capacity",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "order",
            "by",
            "student_capacity",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the names of the dorm with the largest capacity?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "dorm",
            "with",
            "the",
            "largest",
            "capacity",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT amenity_name FROM dorm_amenity ORDER BY amenity_name",
        "query_toks": [
            "SELECT",
            "amenity_name",
            "FROM",
            "dorm_amenity",
            "ORDER",
            "BY",
            "amenity_name"
        ],
        "query_toks_no_value": [
            "select",
            "amenity_name",
            "from",
            "dorm_amenity",
            "order",
            "by",
            "amenity_name"
        ],
        "question": "List in alphabetic order all different amenities.",
        "question_toks": [
            "List",
            "in",
            "alphabetic",
            "order",
            "all",
            "different",
            "amenities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT amenity_name FROM dorm_amenity ORDER BY amenity_name",
        "query_toks": [
            "SELECT",
            "amenity_name",
            "FROM",
            "dorm_amenity",
            "ORDER",
            "BY",
            "amenity_name"
        ],
        "query_toks_no_value": [
            "select",
            "amenity_name",
            "from",
            "dorm_amenity",
            "order",
            "by",
            "amenity_name"
        ],
        "question": "What are the different dorm amenity names in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "dorm",
            "amenity",
            "names",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT city_code FROM student GROUP BY city_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "city_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "city_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the code of city where most of students are living in.",
        "question_toks": [
            "Find",
            "the",
            "code",
            "of",
            "city",
            "where",
            "most",
            "of",
            "students",
            "are",
            "living",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT city_code FROM student GROUP BY city_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "city_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "city_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the code of the city with the most students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "code",
            "of",
            "the",
            "city",
            "with",
            "the",
            "most",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname ,  lname FROM student WHERE age  <  (SELECT avg(age) FROM student)",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "age",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "student",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "age",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            ")"
        ],
        "question": "Find the first and last name of students whose age is younger than the average age.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "students",
            "whose",
            "age",
            "is",
            "younger",
            "than",
            "the",
            "average",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname ,  lname FROM student WHERE age  <  (SELECT avg(age) FROM student)",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "age",
            "<",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "student",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "age",
            "<",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            ")"
        ],
        "question": "What is the first and last name of all students who are younger than average?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "students",
            "who",
            "are",
            "younger",
            "than",
            "average",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname ,  lname FROM student WHERE city_code != 'HKG' ORDER BY age",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "city_code",
            "!",
            "=",
            "'HKG",
            "'",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "city_code",
            "!",
            "=",
            "value",
            "order",
            "by",
            "age"
        ],
        "question": "List the first and last name of students who are not living in the city with code HKG, and sorted the results by their ages.",
        "question_toks": [
            "List",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "students",
            "who",
            "are",
            "not",
            "living",
            "in",
            "the",
            "city",
            "with",
            "code",
            "HKG",
            ",",
            "and",
            "sorted",
            "the",
            "results",
            "by",
            "their",
            "ages",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"HKG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname ,  lname FROM student WHERE city_code != 'HKG' ORDER BY age",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "city_code",
            "!",
            "=",
            "'HKG",
            "'",
            "ORDER",
            "BY",
            "age"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "city_code",
            "!",
            "=",
            "value",
            "order",
            "by",
            "age"
        ],
        "question": "What are the first and last names of all students who are not living in the city HKG and order the results by age?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "students",
            "who",
            "are",
            "not",
            "living",
            "in",
            "the",
            "city",
            "HKG",
            "and",
            "order",
            "the",
            "results",
            "by",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"HKG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T2.amenid  =  T1.amenid JOIN dorm AS T3 ON T2.dormid  =  T3.dormid WHERE T3.dorm_name  =  'Anonymous Donor Hall' ORDER BY T1.amenity_name",
        "query_toks": [
            "SELECT",
            "T1.amenity_name",
            "FROM",
            "dorm_amenity",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T2.amenid",
            "=",
            "T1.amenid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T2.dormid",
            "=",
            "T3.dormid",
            "WHERE",
            "T3.dorm_name",
            "=",
            "'Anonymous",
            "Donor",
            "Hall",
            "'",
            "ORDER",
            "BY",
            "T1.amenity_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "amenity_name",
            "from",
            "dorm_amenity",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t1",
            ".",
            "amenid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dormid",
            "=",
            "t3",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "dorm_name",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "amenity_name"
        ],
        "question": "List name of all amenities which Anonymous Donor Hall has, and sort the results in alphabetic order.",
        "question_toks": [
            "List",
            "name",
            "of",
            "all",
            "amenities",
            "which",
            "Anonymous",
            "Donor",
            "Hall",
            "has",
            ",",
            "and",
            "sort",
            "the",
            "results",
            "in",
            "alphabetic",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Anonymous Donor Hall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T2.amenid  =  T1.amenid JOIN dorm AS T3 ON T2.dormid  =  T3.dormid WHERE T3.dorm_name  =  'Anonymous Donor Hall' ORDER BY T1.amenity_name",
        "query_toks": [
            "SELECT",
            "T1.amenity_name",
            "FROM",
            "dorm_amenity",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T2.amenid",
            "=",
            "T1.amenid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T2.dormid",
            "=",
            "T3.dormid",
            "WHERE",
            "T3.dorm_name",
            "=",
            "'Anonymous",
            "Donor",
            "Hall",
            "'",
            "ORDER",
            "BY",
            "T1.amenity_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "amenity_name",
            "from",
            "dorm_amenity",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t1",
            ".",
            "amenid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "dormid",
            "=",
            "t3",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "dorm_name",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "amenity_name"
        ],
        "question": "What are the amenities in alphabetical order that Anonymous Donor Hall has?",
        "question_toks": [
            "What",
            "are",
            "the",
            "amenities",
            "in",
            "alphabetical",
            "order",
            "that",
            "Anonymous",
            "Donor",
            "Hall",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Anonymous Donor Hall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  sum(student_capacity) ,  gender FROM dorm GROUP BY gender",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "student_capacity",
            ")",
            ",",
            "gender",
            "FROM",
            "dorm",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "student_capacity",
            ")",
            ",",
            "gender",
            "from",
            "dorm",
            "group",
            "by",
            "gender"
        ],
        "question": "Find the number of dorms and total capacity for each gender.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "dorms",
            "and",
            "total",
            "capacity",
            "for",
            "each",
            "gender",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  sum(student_capacity) ,  gender FROM dorm GROUP BY gender",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "student_capacity",
            ")",
            ",",
            "gender",
            "FROM",
            "dorm",
            "GROUP",
            "BY",
            "gender"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "student_capacity",
            ")",
            ",",
            "gender",
            "from",
            "dorm",
            "group",
            "by",
            "gender"
        ],
        "question": "How many dorms are there and what is the total capacity for each gender?",
        "question_toks": [
            "How",
            "many",
            "dorms",
            "are",
            "there",
            "and",
            "what",
            "is",
            "the",
            "total",
            "capacity",
            "for",
            "each",
            "gender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(age) ,  max(age) ,  sex FROM student GROUP BY sex",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            ",",
            "sex",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            ",",
            "sex",
            "from",
            "student",
            "group",
            "by",
            "sex"
        ],
        "question": "Find the average and oldest age for students with different sex.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "and",
            "oldest",
            "age",
            "for",
            "students",
            "with",
            "different",
            "sex",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(age) ,  max(age) ,  sex FROM student GROUP BY sex",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            ",",
            "sex",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            ",",
            "sex",
            "from",
            "student",
            "group",
            "by",
            "sex"
        ],
        "question": "What is the average and oldest age for each gender of student?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "and",
            "oldest",
            "age",
            "for",
            "each",
            "gender",
            "of",
            "student",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  major FROM student GROUP BY major",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "major",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "major"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major"
        ],
        "question": "Find the number of students in each major.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "in",
            "each",
            "major",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  major FROM student GROUP BY major",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "major",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "major"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major"
        ],
        "question": "How many students are there in each major?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "there",
            "in",
            "each",
            "major",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  avg(age) ,  city_code FROM student GROUP BY city_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "city_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code"
        ],
        "question": "Find the number and average age of students living in each city.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "and",
            "average",
            "age",
            "of",
            "students",
            "living",
            "in",
            "each",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  avg(age) ,  city_code FROM student GROUP BY city_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "city_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code"
        ],
        "question": "How many students live in each city and what are their average ages?",
        "question_toks": [
            "How",
            "many",
            "students",
            "live",
            "in",
            "each",
            "city",
            "and",
            "what",
            "are",
            "their",
            "average",
            "ages",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  avg(age) ,  city_code FROM student WHERE sex  =  'M' GROUP BY city_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "FROM",
            "student",
            "WHERE",
            "sex",
            "=",
            "'M",
            "'",
            "GROUP",
            "BY",
            "city_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "group",
            "by",
            "city_code"
        ],
        "question": "Find the average age and number of male students (with sex M) from each city.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "and",
            "number",
            "of",
            "male",
            "students",
            "(",
            "with",
            "sex",
            "M",
            ")",
            "from",
            "each",
            "city",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  avg(age) ,  city_code FROM student WHERE sex  =  'M' GROUP BY city_code",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "FROM",
            "student",
            "WHERE",
            "sex",
            "=",
            "'M",
            "'",
            "GROUP",
            "BY",
            "city_code"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "city_code",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "group",
            "by",
            "city_code"
        ],
        "question": "What is the average age and how many male students are there in each city?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "and",
            "how",
            "many",
            "male",
            "students",
            "are",
            "there",
            "in",
            "each",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  city_code FROM student GROUP BY city_code HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "city_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the number of students for the cities where have more than one student.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "for",
            "the",
            "cities",
            "where",
            "have",
            "more",
            "than",
            "one",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  city_code FROM student GROUP BY city_code HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city_code",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "city_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city_code",
            "from",
            "student",
            "group",
            "by",
            "city_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "How many students are from each city, and which cities have more than one cities?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "from",
            "each",
            "city",
            ",",
            "and",
            "which",
            "cities",
            "have",
            "more",
            "than",
            "one",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname ,  lname FROM student WHERE major != (SELECT major FROM student GROUP BY major ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "major",
            "!",
            "=",
            "(",
            "SELECT",
            "major",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "major",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "major",
            "!",
            "=",
            "(",
            "select",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the first and last name of students who are not in the largest major.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "students",
            "who",
            "are",
            "not",
            "in",
            "the",
            "largest",
            "major",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                6,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT fname ,  lname FROM student WHERE major != (SELECT major FROM student GROUP BY major ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "student",
            "WHERE",
            "major",
            "!",
            "=",
            "(",
            "SELECT",
            "major",
            "FROM",
            "student",
            "GROUP",
            "BY",
            "major",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "student",
            "where",
            "major",
            "!",
            "=",
            "(",
            "select",
            "major",
            "from",
            "student",
            "group",
            "by",
            "major",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What is the first and last name of the students who are not in the largest major?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "students",
            "who",
            "are",
            "not",
            "in",
            "the",
            "largest",
            "major",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                6,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  sex FROM student WHERE age  >  (SELECT avg(age) FROM student) GROUP BY sex",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "FROM",
            "student",
            "WHERE",
            "age",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "student",
            ")",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "from",
            "student",
            "where",
            "age",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            ")",
            "group",
            "by",
            "sex"
        ],
        "question": "Find the number of students whose age is older than the average age for each gender.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "whose",
            "age",
            "is",
            "older",
            "than",
            "the",
            "average",
            "age",
            "for",
            "each",
            "gender",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  sex FROM student WHERE age  >  (SELECT avg(age) FROM student) GROUP BY sex",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "FROM",
            "student",
            "WHERE",
            "age",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            "FROM",
            "student",
            ")",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sex",
            "from",
            "student",
            "where",
            "age",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "student",
            ")",
            "group",
            "by",
            "sex"
        ],
        "question": "How many students are older than average for each gender?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "older",
            "than",
            "average",
            "for",
            "each",
            "gender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(T1.age) ,  T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid GROUP BY T3.dorm_name",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.age",
            ")",
            ",",
            "T3.dorm_name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "GROUP",
            "BY",
            "T3.dorm_name"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            ",",
            "t3",
            ".",
            "dorm_name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "group",
            "by",
            "t3",
            ".",
            "dorm_name"
        ],
        "question": "Find the average age of students living in each dorm and the name of dorm.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "students",
            "living",
            "in",
            "each",
            "dorm",
            "and",
            "the",
            "name",
            "of",
            "dorm",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(T1.age) ,  T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid GROUP BY T3.dorm_name",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.age",
            ")",
            ",",
            "T3.dorm_name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "GROUP",
            "BY",
            "T3.dorm_name"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            ",",
            "t3",
            ".",
            "dorm_name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "group",
            "by",
            "t3",
            ".",
            "dorm_name"
        ],
        "question": "What is the average age for each dorm and what are the names of each dorm?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "for",
            "each",
            "dorm",
            "and",
            "what",
            "are",
            "the",
            "names",
            "of",
            "each",
            "dorm",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  T1.dormid FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid WHERE T1.student_capacity  >  100 GROUP BY T1.dormid",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.dormid",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T1.student_capacity",
            ">",
            "100",
            "GROUP",
            "BY",
            "T1.dormid"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "dormid",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t1",
            ".",
            "student_capacity",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "dormid"
        ],
        "question": "Find the number of amenities for each of the dorms that can accommodate more than 100 students.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "amenities",
            "for",
            "each",
            "of",
            "the",
            "dorms",
            "that",
            "can",
            "accommodate",
            "more",
            "than",
            "100",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  T1.dormid FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid WHERE T1.student_capacity  >  100 GROUP BY T1.dormid",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.dormid",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T1.student_capacity",
            ">",
            "100",
            "GROUP",
            "BY",
            "T1.dormid"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "dormid",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t1",
            ".",
            "student_capacity",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "dormid"
        ],
        "question": "For each dorm, how many amenities does it have?",
        "question_toks": [
            "For",
            "each",
            "dorm",
            ",",
            "how",
            "many",
            "amenities",
            "does",
            "it",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T1.age  >  20 GROUP BY T3.dorm_name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T3.dorm_name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T1.age",
            ">",
            "20",
            "GROUP",
            "BY",
            "T3.dorm_name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t3",
            ".",
            "dorm_name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t1",
            ".",
            "age",
            ">",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "dorm_name"
        ],
        "question": "Find the number of students who is older than 20 in each dorm.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "students",
            "who",
            "is",
            "older",
            "than",
            "20",
            "in",
            "each",
            "dorm",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) ,  T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T1.age  >  20 GROUP BY T3.dorm_name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T3.dorm_name",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T1.age",
            ">",
            "20",
            "GROUP",
            "BY",
            "T3.dorm_name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t3",
            ".",
            "dorm_name",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t1",
            ".",
            "age",
            ">",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "dorm_name"
        ],
        "question": "How many students are older than 20 in each dorm?",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "older",
            "than",
            "20",
            "in",
            "each",
            "dorm",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T3.dorm_name  =  'Smith Hall'",
        "query_toks": [
            "SELECT",
            "T1.fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T3.dorm_name",
            "=",
            "'Smith",
            "Hall",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "dorm_name",
            "=",
            "value"
        ],
        "question": "Find the first name of students who are living in the Smith Hall.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "students",
            "who",
            "are",
            "living",
            "in",
            "the",
            "Smith",
            "Hall",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Smith Hall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T3.dorm_name  =  'Smith Hall'",
        "query_toks": [
            "SELECT",
            "T1.fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T3.dorm_name",
            "=",
            "'Smith",
            "Hall",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "dorm_name",
            "=",
            "value"
        ],
        "question": "What are the first names of all students in Smith Hall?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "students",
            "in",
            "Smith",
            "Hall",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Smith Hall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(T1.age) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T3.student_capacity  =  (SELECT max(student_capacity) FROM dorm)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.age",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T3.student_capacity",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "student_capacity",
            ")",
            "FROM",
            "dorm",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "student_capacity",
            "=",
            "(",
            "select",
            "max",
            "(",
            "student_capacity",
            ")",
            "from",
            "dorm",
            ")"
        ],
        "question": "Find the average age of students who are living in the dorm with the largest capacity.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "age",
            "of",
            "students",
            "who",
            "are",
            "living",
            "in",
            "the",
            "dorm",
            "with",
            "the",
            "largest",
            "capacity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT avg(T1.age) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T3.student_capacity  =  (SELECT max(student_capacity) FROM dorm)",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T1.age",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T3.student_capacity",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "student_capacity",
            ")",
            "FROM",
            "dorm",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "age",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "student_capacity",
            "=",
            "(",
            "select",
            "max",
            "(",
            "student_capacity",
            ")",
            "from",
            "dorm",
            ")"
        ],
        "question": "What is the average age of students who are living in the dorm with the largest capacity?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "of",
            "students",
            "who",
            "are",
            "living",
            "in",
            "the",
            "dorm",
            "with",
            "the",
            "largest",
            "capacity",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T3.gender  =  'M'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T3.gender",
            "=",
            "'M",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "gender",
            "=",
            "value"
        ],
        "question": "Find the total number of students living in the male dorm (with gender M).",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "students",
            "living",
            "in",
            "the",
            "male",
            "dorm",
            "(",
            "with",
            "gender",
            "M",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T3.gender  =  'M'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T3.gender",
            "=",
            "'M",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "gender",
            "=",
            "value"
        ],
        "question": "What are the total number of students who are living in a male dorm?",
        "question_toks": [
            "What",
            "are",
            "the",
            "total",
            "number",
            "of",
            "students",
            "who",
            "are",
            "living",
            "in",
            "a",
            "male",
            "dorm",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T3.dorm_name  =  'Smith Hall' AND T1.sex  =  'F'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T3.dorm_name",
            "=",
            "'Smith",
            "Hall",
            "'",
            "AND",
            "T1.sex",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "dorm_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "sex",
            "=",
            "value"
        ],
        "question": "Find the number of female students (with F sex) living in Smith Hall",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "female",
            "students",
            "(",
            "with",
            "F",
            "sex",
            ")",
            "living",
            "in",
            "Smith",
            "Hall"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Smith Hall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT count(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid JOIN dorm AS T3 ON T3.dormid  =  T2.dormid WHERE T3.dorm_name  =  'Smith Hall' AND T1.sex  =  'F'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "JOIN",
            "dorm",
            "AS",
            "T3",
            "ON",
            "T3.dormid",
            "=",
            "T2.dormid",
            "WHERE",
            "T3.dorm_name",
            "=",
            "'Smith",
            "Hall",
            "'",
            "AND",
            "T1.sex",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "join",
            "dorm",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "where",
            "t3",
            ".",
            "dorm_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "sex",
            "=",
            "value"
        ],
        "question": "How many female students live in Smith Hall?",
        "question_toks": [
            "How",
            "many",
            "female",
            "students",
            "live",
            "in",
            "Smith",
            "Hall",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Smith Hall\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T1.dorm_name  =  'Smith Hall'",
        "query_toks": [
            "SELECT",
            "T3.amenity_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T1.dorm_name",
            "=",
            "'Smith",
            "Hall",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "amenity_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t1",
            ".",
            "dorm_name",
            "=",
            "value"
        ],
        "question": "Find the name of amenities Smith Hall dorm have.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "amenities",
            "Smith",
            "Hall",
            "dorm",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Smith Hall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T1.dorm_name  =  'Smith Hall'",
        "query_toks": [
            "SELECT",
            "T3.amenity_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T1.dorm_name",
            "=",
            "'Smith",
            "Hall",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "amenity_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t1",
            ".",
            "dorm_name",
            "=",
            "value"
        ],
        "question": "What are the names of the amenities that Smith Hall has?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "amenities",
            "that",
            "Smith",
            "Hall",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Smith Hall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T1.dorm_name  =  'Smith Hall' ORDER BY T3.amenity_name",
        "query_toks": [
            "SELECT",
            "T3.amenity_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T1.dorm_name",
            "=",
            "'Smith",
            "Hall",
            "'",
            "ORDER",
            "BY",
            "T3.amenity_name"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "amenity_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t1",
            ".",
            "dorm_name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "amenity_name"
        ],
        "question": "Find the name of amenities Smith Hall dorm have. ordered the results by amenity names.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "amenities",
            "Smith",
            "Hall",
            "dorm",
            "have",
            ".",
            "ordered",
            "the",
            "results",
            "by",
            "amenity",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Smith Hall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T1.dorm_name  =  'Smith Hall' ORDER BY T3.amenity_name",
        "query_toks": [
            "SELECT",
            "T3.amenity_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T1.dorm_name",
            "=",
            "'Smith",
            "Hall",
            "'",
            "ORDER",
            "BY",
            "T3.amenity_name"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "amenity_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t1",
            ".",
            "dorm_name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "amenity_name"
        ],
        "question": "What amenities does Smith Hall have in alphabetical order?",
        "question_toks": [
            "What",
            "amenities",
            "does",
            "Smith",
            "Hall",
            "have",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Smith Hall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T1.amenid  =  T2.amenid GROUP BY T2.amenid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.amenity_name",
            "FROM",
            "dorm_amenity",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.amenid",
            "=",
            "T2.amenid",
            "GROUP",
            "BY",
            "T2.amenid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "amenity_name",
            "from",
            "dorm_amenity",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "amenid",
            "=",
            "t2",
            ".",
            "amenid",
            "group",
            "by",
            "t2",
            ".",
            "amenid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of amenity that is most common in all dorms.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "amenity",
            "that",
            "is",
            "most",
            "common",
            "in",
            "all",
            "dorms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T1.amenid  =  T2.amenid GROUP BY T2.amenid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.amenity_name",
            "FROM",
            "dorm_amenity",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.amenid",
            "=",
            "T2.amenid",
            "GROUP",
            "BY",
            "T2.amenid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "amenity_name",
            "from",
            "dorm_amenity",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "amenid",
            "=",
            "t2",
            ".",
            "amenid",
            "group",
            "by",
            "t2",
            ".",
            "amenid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common amenity in the dorms?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "amenity",
            "in",
            "the",
            "dorms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid WHERE T2.dormid IN (SELECT T2.dormid FROM dorm AS T3 JOIN has_amenity AS T4 ON T3.dormid  =  T4.dormid JOIN dorm_amenity AS T5 ON T4.amenid  =  T5.amenid GROUP BY T3.dormid ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "T1.fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T2.dormid",
            "IN",
            "(",
            "SELECT",
            "T2.dormid",
            "FROM",
            "dorm",
            "AS",
            "T3",
            "JOIN",
            "has_amenity",
            "AS",
            "T4",
            "ON",
            "T3.dormid",
            "=",
            "T4.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T5",
            "ON",
            "T4.amenid",
            "=",
            "T5.amenid",
            "GROUP",
            "BY",
            "T3.dormid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "dormid",
            "in",
            "(",
            "select",
            "t2",
            ".",
            "dormid",
            "from",
            "dorm",
            "as",
            "t3",
            "join",
            "has_amenity",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t4",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "amenid",
            "=",
            "t5",
            ".",
            "amenid",
            "group",
            "by",
            "t3",
            ".",
            "dormid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the first name of students who are living in the dorm that has most number of amenities.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "of",
            "students",
            "who",
            "are",
            "living",
            "in",
            "the",
            "dorm",
            "that",
            "has",
            "most",
            "number",
            "of",
            "amenities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    3
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "and",
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                9,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid WHERE T2.dormid IN (SELECT T2.dormid FROM dorm AS T3 JOIN has_amenity AS T4 ON T3.dormid  =  T4.dormid JOIN dorm_amenity AS T5 ON T4.amenid  =  T5.amenid GROUP BY T3.dormid ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "T1.fname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T2.dormid",
            "IN",
            "(",
            "SELECT",
            "T2.dormid",
            "FROM",
            "dorm",
            "AS",
            "T3",
            "JOIN",
            "has_amenity",
            "AS",
            "T4",
            "ON",
            "T3.dormid",
            "=",
            "T4.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T5",
            "ON",
            "T4.amenid",
            "=",
            "T5.amenid",
            "GROUP",
            "BY",
            "T3.dormid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "dormid",
            "in",
            "(",
            "select",
            "t2",
            ".",
            "dormid",
            "from",
            "dorm",
            "as",
            "t3",
            "join",
            "has_amenity",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "dormid",
            "=",
            "t4",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "amenid",
            "=",
            "t5",
            ".",
            "amenid",
            "group",
            "by",
            "t3",
            ".",
            "dormid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the first names of all students who live in the dorm with the most amenities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "all",
            "students",
            "who",
            "live",
            "in",
            "the",
            "dorm",
            "with",
            "the",
            "most",
            "amenities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    3
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "and",
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            18,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                9,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.dorm_name ,  T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid GROUP BY T2.dormid ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.dorm_name",
            ",",
            "T1.student_capacity",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "GROUP",
            "BY",
            "T2.dormid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dorm_name",
            ",",
            "t1",
            ".",
            "student_capacity",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "group",
            "by",
            "t2",
            ".",
            "dormid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Find the name and capacity of the dorm with least number of amenities.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "capacity",
            "of",
            "the",
            "dorm",
            "with",
            "least",
            "number",
            "of",
            "amenities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.dorm_name ,  T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid GROUP BY T2.dormid ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.dorm_name",
            ",",
            "T1.student_capacity",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "GROUP",
            "BY",
            "T2.dormid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "dorm_name",
            ",",
            "t1",
            ".",
            "student_capacity",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "group",
            "by",
            "t2",
            ".",
            "dormid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the name and capacity of the dorm with the fewest amount of amenities?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "capacity",
            "of",
            "the",
            "dorm",
            "with",
            "the",
            "fewest",
            "amount",
            "of",
            "amenities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'TV Lounge'",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "EXCEPT",
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "except",
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value"
        ],
        "question": "Find the name of dorms that do not have amenity TV Lounge.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "dorms",
            "that",
            "do",
            "not",
            "have",
            "amenity",
            "TV",
            "Lounge",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"TV Lounge\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT dorm_name FROM dorm EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid WHERE T3.amenity_name  =  'TV Lounge'",
        "query_toks": [
            "SELECT",
            "dorm_name",
            "FROM",
            "dorm",
            "EXCEPT",
            "SELECT",
            "T1.dorm_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "WHERE",
            "T3.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "dorm_name",
            "from",
            "dorm",
            "except",
            "select",
            "t1",
            ".",
            "dorm_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "where",
            "t3",
            ".",
            "amenity_name",
            "=",
            "value"
        ],
        "question": "What are the names of the dorm that does not have a TV Lounge?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "dorm",
            "that",
            "does",
            "not",
            "have",
            "a",
            "TV",
            "Lounge",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        "\"TV Lounge\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.fname ,  T1.lname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid  =  T4.amenid WHERE T4.amenity_name  =  'TV Lounge')",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T2.dormid",
            "IN",
            "(",
            "SELECT",
            "T3.dormid",
            "FROM",
            "has_amenity",
            "AS",
            "T3",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T4",
            "ON",
            "T3.amenid",
            "=",
            "T4.amenid",
            "WHERE",
            "T4.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "dormid",
            "in",
            "(",
            "select",
            "t3",
            ".",
            "dormid",
            "from",
            "has_amenity",
            "as",
            "t3",
            "join",
            "dorm_amenity",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "amenid",
            "=",
            "t4",
            ".",
            "amenid",
            "where",
            "t4",
            ".",
            "amenity_name",
            "=",
            "value",
            ")"
        ],
        "question": "Find the first and last name of students who are living in the dorms that have amenity TV Lounge.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "students",
            "who",
            "are",
            "living",
            "in",
            "the",
            "dorms",
            "that",
            "have",
            "amenity",
            "TV",
            "Lounge",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        14,
                                        false
                                    ],
                                    null
                                ],
                                "\"TV Lounge\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.fname ,  T1.lname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid  =  T4.amenid WHERE T4.amenity_name  =  'TV Lounge')",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T2.dormid",
            "IN",
            "(",
            "SELECT",
            "T3.dormid",
            "FROM",
            "has_amenity",
            "AS",
            "T3",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T4",
            "ON",
            "T3.amenid",
            "=",
            "T4.amenid",
            "WHERE",
            "T4.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "dormid",
            "in",
            "(",
            "select",
            "t3",
            ".",
            "dormid",
            "from",
            "has_amenity",
            "as",
            "t3",
            "join",
            "dorm_amenity",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "amenid",
            "=",
            "t4",
            ".",
            "amenid",
            "where",
            "t4",
            ".",
            "amenity_name",
            "=",
            "value",
            ")"
        ],
        "question": "What are the first and last names of all students who are living in a dorm with a TV Lounge?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "students",
            "who",
            "are",
            "living",
            "in",
            "a",
            "dorm",
            "with",
            "a",
            "TV",
            "Lounge",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        14,
                                        false
                                    ],
                                    null
                                ],
                                "\"TV Lounge\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.fname ,  T1.age FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid WHERE T2.dormid NOT IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid  =  T4.amenid WHERE T4.amenity_name  =  'TV Lounge')",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.age",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T2.dormid",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T3.dormid",
            "FROM",
            "has_amenity",
            "AS",
            "T3",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T4",
            "ON",
            "T3.amenid",
            "=",
            "T4.amenid",
            "WHERE",
            "T4.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "dormid",
            "not",
            "in",
            "(",
            "select",
            "t3",
            ".",
            "dormid",
            "from",
            "has_amenity",
            "as",
            "t3",
            "join",
            "dorm_amenity",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "amenid",
            "=",
            "t4",
            ".",
            "amenid",
            "where",
            "t4",
            ".",
            "amenity_name",
            "=",
            "value",
            ")"
        ],
        "question": "Find the first name and age of students who are living in the dorms that do not have amenity TV Lounge.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "age",
            "of",
            "students",
            "who",
            "are",
            "living",
            "in",
            "the",
            "dorms",
            "that",
            "do",
            "not",
            "have",
            "amenity",
            "TV",
            "Lounge",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        14,
                                        false
                                    ],
                                    null
                                ],
                                "\"TV Lounge\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T1.fname ,  T1.age FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid  =  T2.stuid WHERE T2.dormid NOT IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid  =  T4.amenid WHERE T4.amenity_name  =  'TV Lounge')",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.age",
            "FROM",
            "student",
            "AS",
            "T1",
            "JOIN",
            "lives_in",
            "AS",
            "T2",
            "ON",
            "T1.stuid",
            "=",
            "T2.stuid",
            "WHERE",
            "T2.dormid",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T3.dormid",
            "FROM",
            "has_amenity",
            "AS",
            "T3",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T4",
            "ON",
            "T3.amenid",
            "=",
            "T4.amenid",
            "WHERE",
            "T4.amenity_name",
            "=",
            "'TV",
            "Lounge",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "age",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "lives_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "dormid",
            "not",
            "in",
            "(",
            "select",
            "t3",
            ".",
            "dormid",
            "from",
            "has_amenity",
            "as",
            "t3",
            "join",
            "dorm_amenity",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "amenid",
            "=",
            "t4",
            ".",
            "amenid",
            "where",
            "t4",
            ".",
            "amenity_name",
            "=",
            "value",
            ")"
        ],
        "question": "What is the first name and age of every student who lives in a dorm with a TV Lounge?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "and",
            "age",
            "of",
            "every",
            "student",
            "who",
            "lives",
            "in",
            "a",
            "dorm",
            "with",
            "a",
            "TV",
            "Lounge",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        14,
                                        false
                                    ],
                                    null
                                ],
                                "\"TV Lounge\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid JOIN lives_in AS T4 ON T4.dormid  =  T1.dormid JOIN student AS T5 ON T5.stuid  =  T4.stuid WHERE T5.lname  =  'Smith'",
        "query_toks": [
            "SELECT",
            "T3.amenity_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "JOIN",
            "lives_in",
            "AS",
            "T4",
            "ON",
            "T4.dormid",
            "=",
            "T1.dormid",
            "JOIN",
            "student",
            "AS",
            "T5",
            "ON",
            "T5.stuid",
            "=",
            "T4.stuid",
            "WHERE",
            "T5.lname",
            "=",
            "'Smith",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "amenity_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "join",
            "lives_in",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "dormid",
            "=",
            "t1",
            ".",
            "dormid",
            "join",
            "student",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "stuid",
            "=",
            "t4",
            ".",
            "stuid",
            "where",
            "t5",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the name of amenities of the dorm where the student with last name Smith is living in.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "amenities",
            "of",
            "the",
            "dorm",
            "where",
            "the",
            "student",
            "with",
            "last",
            "name",
            "Smith",
            "is",
            "living",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "dorm_1",
        "query": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid JOIN lives_in AS T4 ON T4.dormid  =  T1.dormid JOIN student AS T5 ON T5.stuid  =  T4.stuid WHERE T5.lname  =  'Smith'",
        "query_toks": [
            "SELECT",
            "T3.amenity_name",
            "FROM",
            "dorm",
            "AS",
            "T1",
            "JOIN",
            "has_amenity",
            "AS",
            "T2",
            "ON",
            "T1.dormid",
            "=",
            "T2.dormid",
            "JOIN",
            "dorm_amenity",
            "AS",
            "T3",
            "ON",
            "T2.amenid",
            "=",
            "T3.amenid",
            "JOIN",
            "lives_in",
            "AS",
            "T4",
            "ON",
            "T4.dormid",
            "=",
            "T1.dormid",
            "JOIN",
            "student",
            "AS",
            "T5",
            "ON",
            "T5.stuid",
            "=",
            "T4.stuid",
            "WHERE",
            "T5.lname",
            "=",
            "'Smith",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "amenity_name",
            "from",
            "dorm",
            "as",
            "t1",
            "join",
            "has_amenity",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dormid",
            "=",
            "t2",
            ".",
            "dormid",
            "join",
            "dorm_amenity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "amenid",
            "=",
            "t3",
            ".",
            "amenid",
            "join",
            "lives_in",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "dormid",
            "=",
            "t1",
            ".",
            "dormid",
            "join",
            "student",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "stuid",
            "=",
            "t4",
            ".",
            "stuid",
            "where",
            "t5",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What are the amenities in the dorm that a student who has the last name of Smith lives in?",
        "question_toks": [
            "What",
            "are",
            "the",
            "amenities",
            "in",
            "the",
            "dorm",
            "that",
            "a",
            "student",
            "who",
            "has",
            "the",
            "last",
            "name",
            "of",
            "Smith",
            "lives",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT count(*) FROM customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "How many customers are there?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT count(*) FROM customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "Count the number of customers.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT email_address ,  phone_number FROM customers ORDER BY email_address ,  phone_number",
        "query_toks": [
            "SELECT",
            "email_address",
            ",",
            "phone_number",
            "FROM",
            "customers",
            "ORDER",
            "BY",
            "email_address",
            ",",
            "phone_number"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            ",",
            "phone_number",
            "from",
            "customers",
            "order",
            "by",
            "email_address",
            ",",
            "phone_number"
        ],
        "question": "Find the emails and phone numbers of all the customers, ordered by email address and phone number.",
        "question_toks": [
            "Find",
            "the",
            "emails",
            "and",
            "phone",
            "numbers",
            "of",
            "all",
            "the",
            "customers",
            ",",
            "ordered",
            "by",
            "email",
            "address",
            "and",
            "phone",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT email_address ,  phone_number FROM customers ORDER BY email_address ,  phone_number",
        "query_toks": [
            "SELECT",
            "email_address",
            ",",
            "phone_number",
            "FROM",
            "customers",
            "ORDER",
            "BY",
            "email_address",
            ",",
            "phone_number"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            ",",
            "phone_number",
            "from",
            "customers",
            "order",
            "by",
            "email_address",
            ",",
            "phone_number"
        ],
        "question": "What are the emails and phone numbers of all customers, sorted by email address and phone number?",
        "question_toks": [
            "What",
            "are",
            "the",
            "emails",
            "and",
            "phone",
            "numbers",
            "of",
            "all",
            "customers",
            ",",
            "sorted",
            "by",
            "email",
            "address",
            "and",
            "phone",
            "number",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT town_city FROM customers WHERE customer_type_code  =  \"Good Credit Rating\" GROUP BY town_city ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "town_city",
            "FROM",
            "customers",
            "WHERE",
            "customer_type_code",
            "=",
            "``",
            "Good",
            "Credit",
            "Rating",
            "''",
            "GROUP",
            "BY",
            "town_city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "town_city",
            "from",
            "customers",
            "where",
            "customer_type_code",
            "=",
            "value",
            "group",
            "by",
            "town_city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Which city has the least number of customers whose type code is \"Good Credit Rating\"?",
        "question_toks": [
            "Which",
            "city",
            "has",
            "the",
            "least",
            "number",
            "of",
            "customers",
            "whose",
            "type",
            "code",
            "is",
            "``",
            "Good",
            "Credit",
            "Rating",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Good Credit Rating\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT town_city FROM customers WHERE customer_type_code  =  \"Good Credit Rating\" GROUP BY town_city ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "town_city",
            "FROM",
            "customers",
            "WHERE",
            "customer_type_code",
            "=",
            "``",
            "Good",
            "Credit",
            "Rating",
            "''",
            "GROUP",
            "BY",
            "town_city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "town_city",
            "from",
            "customers",
            "where",
            "customer_type_code",
            "=",
            "value",
            "group",
            "by",
            "town_city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Return the city with the customer type code \"Good Credit Rating\" that had the fewest customers.",
        "question_toks": [
            "Return",
            "the",
            "city",
            "with",
            "the",
            "customer",
            "type",
            "code",
            "``",
            "Good",
            "Credit",
            "Rating",
            "''",
            "that",
            "had",
            "the",
            "fewest",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Good Credit Rating\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.product_name ,  count(*) FROM products AS t1 JOIN complaints AS t2 ON t1.product_id  =  t2.product_id GROUP BY t1.product_name",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "GROUP",
            "BY",
            "t1.product_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_name"
        ],
        "question": "List the name of all products along with the number of complaints that they have received.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "all",
            "products",
            "along",
            "with",
            "the",
            "number",
            "of",
            "complaints",
            "that",
            "they",
            "have",
            "received",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.product_name ,  count(*) FROM products AS t1 JOIN complaints AS t2 ON t1.product_id  =  t2.product_id GROUP BY t1.product_name",
        "query_toks": [
            "SELECT",
            "t1.product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "GROUP",
            "BY",
            "t1.product_name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_name"
        ],
        "question": "What are all the different product names, and how many complains has each received?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "different",
            "product",
            "names",
            ",",
            "and",
            "how",
            "many",
            "complains",
            "has",
            "each",
            "received",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id  =  t2.customer_id GROUP BY t1.customer_id ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.email_address",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "email_address",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Find the emails of customers who has filed a complaints of the product with the most complaints.",
        "question_toks": [
            "Find",
            "the",
            "emails",
            "of",
            "customers",
            "who",
            "has",
            "filed",
            "a",
            "complaints",
            "of",
            "the",
            "product",
            "with",
            "the",
            "most",
            "complaints",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id  =  t2.customer_id GROUP BY t1.customer_id ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.email_address",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "email_address",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What are the emails of customers who have filed complaints on the product which has had the greatest number of complaints?",
        "question_toks": [
            "What",
            "are",
            "the",
            "emails",
            "of",
            "customers",
            "who",
            "have",
            "filed",
            "complaints",
            "on",
            "the",
            "product",
            "which",
            "has",
            "had",
            "the",
            "greatest",
            "number",
            "of",
            "complaints",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT DISTINCT t1.product_name FROM products AS t1 JOIN complaints AS t2 ON t1.product_id  =  t2.product_id JOIN customers AS t3 GROUP BY t3.customer_id ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "customers",
            "AS",
            "t3",
            "GROUP",
            "BY",
            "t3.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "customers",
            "as",
            "t3",
            "group",
            "by",
            "t3",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Which products has been complained by the customer who has filed least amount of complaints?",
        "question_toks": [
            "Which",
            "products",
            "has",
            "been",
            "complained",
            "by",
            "the",
            "customer",
            "who",
            "has",
            "filed",
            "least",
            "amount",
            "of",
            "complaints",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT DISTINCT t1.product_name FROM products AS t1 JOIN complaints AS t2 ON t1.product_id  =  t2.product_id JOIN customers AS t3 GROUP BY t3.customer_id ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.product_name",
            "FROM",
            "products",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "JOIN",
            "customers",
            "AS",
            "t3",
            "GROUP",
            "BY",
            "t3.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "product_name",
            "from",
            "products",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "join",
            "customers",
            "as",
            "t3",
            "group",
            "by",
            "t3",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Return the names of products that have had complaints filed by the customer who has filed the fewest complaints.",
        "question_toks": [
            "Return",
            "the",
            "names",
            "of",
            "products",
            "that",
            "have",
            "had",
            "complaints",
            "filed",
            "by",
            "the",
            "customer",
            "who",
            "has",
            "filed",
            "the",
            "fewest",
            "complaints",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.phone_number FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id  =  t2.customer_id ORDER BY t2.date_complaint_raised DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.phone_number",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "ORDER",
            "BY",
            "t2.date_complaint_raised",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "phone_number",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "order",
            "by",
            "t2",
            ".",
            "date_complaint_raised",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the phone number of the customer who has filed the most recent complaint?",
        "question_toks": [
            "What",
            "is",
            "the",
            "phone",
            "number",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "filed",
            "the",
            "most",
            "recent",
            "complaint",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.phone_number FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id  =  t2.customer_id ORDER BY t2.date_complaint_raised DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.phone_number",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "ORDER",
            "BY",
            "t2.date_complaint_raised",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "phone_number",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "order",
            "by",
            "t2",
            ".",
            "date_complaint_raised",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the phone number of the customer who filed the complaint that was raised most recently.",
        "question_toks": [
            "Return",
            "the",
            "phone",
            "number",
            "of",
            "the",
            "customer",
            "who",
            "filed",
            "the",
            "complaint",
            "that",
            "was",
            "raised",
            "most",
            "recently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT email_address ,  phone_number FROM customers WHERE customer_id NOT IN (SELECT customer_id FROM complaints)",
        "query_toks": [
            "SELECT",
            "email_address",
            ",",
            "phone_number",
            "FROM",
            "customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "complaints",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            ",",
            "phone_number",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "complaints",
            ")"
        ],
        "question": "Find the email and phone number of the customers who have never filed a complaint before.",
        "question_toks": [
            "Find",
            "the",
            "email",
            "and",
            "phone",
            "number",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "never",
            "filed",
            "a",
            "complaint",
            "before",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT email_address ,  phone_number FROM customers WHERE customer_id NOT IN (SELECT customer_id FROM complaints)",
        "query_toks": [
            "SELECT",
            "email_address",
            ",",
            "phone_number",
            "FROM",
            "customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "complaints",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            ",",
            "phone_number",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "complaints",
            ")"
        ],
        "question": "What are the emails and phone numbers of custoemrs who have never filed a complaint?",
        "question_toks": [
            "What",
            "are",
            "the",
            "emails",
            "and",
            "phone",
            "numbers",
            "of",
            "custoemrs",
            "who",
            "have",
            "never",
            "filed",
            "a",
            "complaint",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT phone_number FROM customers UNION SELECT phone_number FROM staff",
        "query_toks": [
            "SELECT",
            "phone_number",
            "FROM",
            "customers",
            "UNION",
            "SELECT",
            "phone_number",
            "FROM",
            "staff"
        ],
        "query_toks_no_value": [
            "select",
            "phone_number",
            "from",
            "customers",
            "union",
            "select",
            "phone_number",
            "from",
            "staff"
        ],
        "question": "Find the phone number of all the customers and staff.",
        "question_toks": [
            "Find",
            "the",
            "phone",
            "number",
            "of",
            "all",
            "the",
            "customers",
            "and",
            "staff",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT phone_number FROM customers UNION SELECT phone_number FROM staff",
        "query_toks": [
            "SELECT",
            "phone_number",
            "FROM",
            "customers",
            "UNION",
            "SELECT",
            "phone_number",
            "FROM",
            "staff"
        ],
        "query_toks_no_value": [
            "select",
            "phone_number",
            "from",
            "customers",
            "union",
            "select",
            "phone_number",
            "from",
            "staff"
        ],
        "question": "What are the phone numbers of all customers and all staff members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "phone",
            "numbers",
            "of",
            "all",
            "customers",
            "and",
            "all",
            "staff",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT product_description FROM products WHERE product_name  =  \"Chocolate\"",
        "query_toks": [
            "SELECT",
            "product_description",
            "FROM",
            "products",
            "WHERE",
            "product_name",
            "=",
            "``",
            "Chocolate",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_description",
            "from",
            "products",
            "where",
            "product_name",
            "=",
            "value"
        ],
        "question": "What is the description of the product named \"Chocolate\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "of",
            "the",
            "product",
            "named",
            "``",
            "Chocolate",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Chocolate\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT product_description FROM products WHERE product_name  =  \"Chocolate\"",
        "query_toks": [
            "SELECT",
            "product_description",
            "FROM",
            "products",
            "WHERE",
            "product_name",
            "=",
            "``",
            "Chocolate",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_description",
            "from",
            "products",
            "where",
            "product_name",
            "=",
            "value"
        ],
        "question": "Return the description of the product called \"Chocolate\".",
        "question_toks": [
            "Return",
            "the",
            "description",
            "of",
            "the",
            "product",
            "called",
            "``",
            "Chocolate",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Chocolate\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT product_name ,  product_category_code FROM products ORDER BY product_price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_name",
            ",",
            "product_category_code",
            "FROM",
            "products",
            "ORDER",
            "BY",
            "product_price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "product_category_code",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and category of the most expensive product.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "category",
            "of",
            "the",
            "most",
            "expensive",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT product_name ,  product_category_code FROM products ORDER BY product_price DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "product_name",
            ",",
            "product_category_code",
            "FROM",
            "products",
            "ORDER",
            "BY",
            "product_price",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "product_name",
            ",",
            "product_category_code",
            "from",
            "products",
            "order",
            "by",
            "product_price",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and category code of the product with the highest price?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "category",
            "code",
            "of",
            "the",
            "product",
            "with",
            "the",
            "highest",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT product_price FROM products WHERE product_id NOT IN (SELECT product_id FROM complaints)",
        "query_toks": [
            "SELECT",
            "product_price",
            "FROM",
            "products",
            "WHERE",
            "product_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "product_id",
            "FROM",
            "complaints",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "product_price",
            "from",
            "products",
            "where",
            "product_id",
            "not",
            "in",
            "(",
            "select",
            "product_id",
            "from",
            "complaints",
            ")"
        ],
        "question": "Find the prices of products which has never received a single complaint.",
        "question_toks": [
            "Find",
            "the",
            "prices",
            "of",
            "products",
            "which",
            "has",
            "never",
            "received",
            "a",
            "single",
            "complaint",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT product_price FROM products WHERE product_id NOT IN (SELECT product_id FROM complaints)",
        "query_toks": [
            "SELECT",
            "product_price",
            "FROM",
            "products",
            "WHERE",
            "product_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "product_id",
            "FROM",
            "complaints",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "product_price",
            "from",
            "products",
            "where",
            "product_id",
            "not",
            "in",
            "(",
            "select",
            "product_id",
            "from",
            "complaints",
            ")"
        ],
        "question": "What are the prices of products that have never gotten a complaint?",
        "question_toks": [
            "What",
            "are",
            "the",
            "prices",
            "of",
            "products",
            "that",
            "have",
            "never",
            "gotten",
            "a",
            "complaint",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT avg(product_price) ,  product_category_code FROM products GROUP BY product_category_code",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            ",",
            "product_category_code",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_category_code"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            ",",
            "product_category_code",
            "from",
            "products",
            "group",
            "by",
            "product_category_code"
        ],
        "question": "What is the average price of the products for each category?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "of",
            "the",
            "products",
            "for",
            "each",
            "category",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT avg(product_price) ,  product_category_code FROM products GROUP BY product_category_code",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "product_price",
            ")",
            ",",
            "product_category_code",
            "FROM",
            "products",
            "GROUP",
            "BY",
            "product_category_code"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "product_price",
            ")",
            ",",
            "product_category_code",
            "from",
            "products",
            "group",
            "by",
            "product_category_code"
        ],
        "question": "Return the average price of products that have each category code.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "price",
            "of",
            "products",
            "that",
            "have",
            "each",
            "category",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id  =  t2.staff_id JOIN products AS t3 ON t2.product_id  =  t3.product_id ORDER BY t3.product_price LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.last_name",
            "FROM",
            "staff",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.staff_id",
            "=",
            "t2.staff_id",
            "JOIN",
            "products",
            "AS",
            "t3",
            "ON",
            "t2.product_id",
            "=",
            "t3.product_id",
            "ORDER",
            "BY",
            "t3.product_price",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "order",
            "by",
            "t3",
            ".",
            "product_price",
            "limit",
            "value"
        ],
        "question": "Find the last name of the staff member who processed the complaint of the cheapest product.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "the",
            "staff",
            "member",
            "who",
            "processed",
            "the",
            "complaint",
            "of",
            "the",
            "cheapest",
            "product",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id  =  t2.staff_id JOIN products AS t3 ON t2.product_id  =  t3.product_id ORDER BY t3.product_price LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.last_name",
            "FROM",
            "staff",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.staff_id",
            "=",
            "t2.staff_id",
            "JOIN",
            "products",
            "AS",
            "t3",
            "ON",
            "t2.product_id",
            "=",
            "t3.product_id",
            "ORDER",
            "BY",
            "t3.product_price",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "order",
            "by",
            "t3",
            ".",
            "product_price",
            "limit",
            "value"
        ],
        "question": "What is the last name of the staff member in charge of the complaint on the product with the lowest price?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "staff",
            "member",
            "in",
            "charge",
            "of",
            "the",
            "complaint",
            "on",
            "the",
            "product",
            "with",
            "the",
            "lowest",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT complaint_status_code FROM complaints GROUP BY complaint_status_code HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "complaint_status_code",
            "FROM",
            "complaints",
            "GROUP",
            "BY",
            "complaint_status_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "complaint_status_code",
            "from",
            "complaints",
            "group",
            "by",
            "complaint_status_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which complaint status has more than 3 records on file?",
        "question_toks": [
            "Which",
            "complaint",
            "status",
            "has",
            "more",
            "than",
            "3",
            "records",
            "on",
            "file",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT complaint_status_code FROM complaints GROUP BY complaint_status_code HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "complaint_status_code",
            "FROM",
            "complaints",
            "GROUP",
            "BY",
            "complaint_status_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "complaint_status_code",
            "from",
            "complaints",
            "group",
            "by",
            "complaint_status_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Return complaint status codes have more than 3 corresponding complaints?",
        "question_toks": [
            "Return",
            "complaint",
            "status",
            "codes",
            "have",
            "more",
            "than",
            "3",
            "corresponding",
            "complaints",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT last_name FROM staff WHERE email_address LIKE \"%wrau%\"",
        "query_toks": [
            "SELECT",
            "last_name",
            "FROM",
            "staff",
            "WHERE",
            "email_address",
            "LIKE",
            "``",
            "%",
            "wrau",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "last_name",
            "from",
            "staff",
            "where",
            "email_address",
            "like",
            "value"
        ],
        "question": "Find the last name of the staff whose email address contains \"wrau\".",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "the",
            "staff",
            "whose",
            "email",
            "address",
            "contains",
            "``",
            "wrau",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%wrau%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT last_name FROM staff WHERE email_address LIKE \"%wrau%\"",
        "query_toks": [
            "SELECT",
            "last_name",
            "FROM",
            "staff",
            "WHERE",
            "email_address",
            "LIKE",
            "``",
            "%",
            "wrau",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "last_name",
            "from",
            "staff",
            "where",
            "email_address",
            "like",
            "value"
        ],
        "question": "What are the last names of staff with email addressed containing the substring \"wrau\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "staff",
            "with",
            "email",
            "addressed",
            "containing",
            "the",
            "substring",
            "``",
            "wrau",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"%wrau%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT count(*) FROM customers GROUP BY customer_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "customer_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "group",
            "by",
            "customer_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "How many customers are there in the customer type with the most customers?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "are",
            "there",
            "in",
            "the",
            "customer",
            "type",
            "with",
            "the",
            "most",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT count(*) FROM customers GROUP BY customer_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "customer_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "group",
            "by",
            "customer_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Count the number of customers that have the customer type that is most common.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "customers",
            "that",
            "have",
            "the",
            "customer",
            "type",
            "that",
            "is",
            "most",
            "common",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id  =  t2.staff_id ORDER BY t2.date_complaint_raised LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.last_name",
            "FROM",
            "staff",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.staff_id",
            "=",
            "t2.staff_id",
            "ORDER",
            "BY",
            "t2.date_complaint_raised",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "t2",
            ".",
            "date_complaint_raised",
            "limit",
            "value"
        ],
        "question": "What is the last name of the staff who has handled the first ever complaint?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "staff",
            "who",
            "has",
            "handled",
            "the",
            "first",
            "ever",
            "complaint",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id  =  t2.staff_id ORDER BY t2.date_complaint_raised LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.last_name",
            "FROM",
            "staff",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.staff_id",
            "=",
            "t2.staff_id",
            "ORDER",
            "BY",
            "t2.date_complaint_raised",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "last_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "t2",
            ".",
            "date_complaint_raised",
            "limit",
            "value"
        ],
        "question": "Return the last name of the staff member who handled the complaint with the earliest date raised.",
        "question_toks": [
            "Return",
            "the",
            "last",
            "name",
            "of",
            "the",
            "staff",
            "member",
            "who",
            "handled",
            "the",
            "complaint",
            "with",
            "the",
            "earliest",
            "date",
            "raised",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT count(DISTINCT complaint_type_code) FROM complaints",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "complaint_type_code",
            ")",
            "FROM",
            "complaints"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "complaint_type_code",
            ")",
            "from",
            "complaints"
        ],
        "question": "How many distinct complaint type codes are there in the database?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "complaint",
            "type",
            "codes",
            "are",
            "there",
            "in",
            "the",
            "database",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                28,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT count(DISTINCT complaint_type_code) FROM complaints",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "complaint_type_code",
            ")",
            "FROM",
            "complaints"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "complaint_type_code",
            ")",
            "from",
            "complaints"
        ],
        "question": "Count the number of different complaint type codes.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "complaint",
            "type",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                28,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT address_line_1 ,  address_line_2 FROM customers WHERE email_address  =  \"vbogisich@example.org\"",
        "query_toks": [
            "SELECT",
            "address_line_1",
            ",",
            "address_line_2",
            "FROM",
            "customers",
            "WHERE",
            "email_address",
            "=",
            "``",
            "vbogisich",
            "@",
            "example.org",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "address_line_1",
            ",",
            "address_line_2",
            "from",
            "customers",
            "where",
            "email_address",
            "=",
            "value"
        ],
        "question": "Find the address line 1 and 2 of the customer with email \"vbogisich@example.org\".",
        "question_toks": [
            "Find",
            "the",
            "address",
            "line",
            "1",
            "and",
            "2",
            "of",
            "the",
            "customer",
            "with",
            "email",
            "``",
            "vbogisich",
            "@",
            "example.org",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"vbogisich@example.org\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT address_line_1 ,  address_line_2 FROM customers WHERE email_address  =  \"vbogisich@example.org\"",
        "query_toks": [
            "SELECT",
            "address_line_1",
            ",",
            "address_line_2",
            "FROM",
            "customers",
            "WHERE",
            "email_address",
            "=",
            "``",
            "vbogisich",
            "@",
            "example.org",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "address_line_1",
            ",",
            "address_line_2",
            "from",
            "customers",
            "where",
            "email_address",
            "=",
            "value"
        ],
        "question": "What are lines 1 and 2 of the addressed of the customer with the email \"vbogisich@example.org\"?",
        "question_toks": [
            "What",
            "are",
            "lines",
            "1",
            "and",
            "2",
            "of",
            "the",
            "addressed",
            "of",
            "the",
            "customer",
            "with",
            "the",
            "email",
            "``",
            "vbogisich",
            "@",
            "example.org",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"vbogisich@example.org\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT complaint_status_code ,  count(*) FROM complaints WHERE complaint_type_code  =  \"Product Failure\" GROUP BY complaint_status_code",
        "query_toks": [
            "SELECT",
            "complaint_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "complaints",
            "WHERE",
            "complaint_type_code",
            "=",
            "``",
            "Product",
            "Failure",
            "''",
            "GROUP",
            "BY",
            "complaint_status_code"
        ],
        "query_toks_no_value": [
            "select",
            "complaint_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "complaints",
            "where",
            "complaint_type_code",
            "=",
            "value",
            "group",
            "by",
            "complaint_status_code"
        ],
        "question": "Find the number of complaints with Product Failure type for each complaint status.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "complaints",
            "with",
            "Product",
            "Failure",
            "type",
            "for",
            "each",
            "complaint",
            "status",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"Product Failure\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT complaint_status_code ,  count(*) FROM complaints WHERE complaint_type_code  =  \"Product Failure\" GROUP BY complaint_status_code",
        "query_toks": [
            "SELECT",
            "complaint_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "complaints",
            "WHERE",
            "complaint_type_code",
            "=",
            "``",
            "Product",
            "Failure",
            "''",
            "GROUP",
            "BY",
            "complaint_status_code"
        ],
        "query_toks_no_value": [
            "select",
            "complaint_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "complaints",
            "where",
            "complaint_type_code",
            "=",
            "value",
            "group",
            "by",
            "complaint_status_code"
        ],
        "question": "Of complaints with the type code \"Product Failure\", how many had each different status code?",
        "question_toks": [
            "Of",
            "complaints",
            "with",
            "the",
            "type",
            "code",
            "``",
            "Product",
            "Failure",
            "''",
            ",",
            "how",
            "many",
            "had",
            "each",
            "different",
            "status",
            "code",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"Product Failure\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.first_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id  =  t2.staff_id GROUP BY t2.staff_id ORDER BY count(*) LIMIT 5",
        "query_toks": [
            "SELECT",
            "t1.first_name",
            "FROM",
            "staff",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.staff_id",
            "=",
            "t2.staff_id",
            "GROUP",
            "BY",
            "t2.staff_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "group",
            "by",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What is first names of the top 5 staff who have handled the greatest number of complaints?",
        "question_toks": [
            "What",
            "is",
            "first",
            "names",
            "of",
            "the",
            "top",
            "5",
            "staff",
            "who",
            "have",
            "handled",
            "the",
            "greatest",
            "number",
            "of",
            "complaints",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT t1.first_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id  =  t2.staff_id GROUP BY t2.staff_id ORDER BY count(*) LIMIT 5",
        "query_toks": [
            "SELECT",
            "t1.first_name",
            "FROM",
            "staff",
            "AS",
            "t1",
            "JOIN",
            "complaints",
            "AS",
            "t2",
            "ON",
            "t1.staff_id",
            "=",
            "t2.staff_id",
            "GROUP",
            "BY",
            "t2.staff_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "complaints",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "group",
            "by",
            "t2",
            ".",
            "staff_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Return the first names of the 5 staff members who have handled the most complaints.",
        "question_toks": [
            "Return",
            "the",
            "first",
            "names",
            "of",
            "the",
            "5",
            "staff",
            "members",
            "who",
            "have",
            "handled",
            "the",
            "most",
            "complaints",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT state FROM customers GROUP BY state ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "state",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "state",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            "from",
            "customers",
            "group",
            "by",
            "state",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Which state has the most customers?",
        "question_toks": [
            "Which",
            "state",
            "has",
            "the",
            "most",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customer_complaints",
        "query": "SELECT state FROM customers GROUP BY state ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "state",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "state",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            "from",
            "customers",
            "group",
            "by",
            "state",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Give the state that has the most customers.",
        "question_toks": [
            "Give",
            "the",
            "state",
            "that",
            "has",
            "the",
            "most",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT count(*) FROM submission",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "submission"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "submission"
        ],
        "question": "How many submissions are there?",
        "question_toks": [
            "How",
            "many",
            "submissions",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT count(*) FROM submission",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "submission"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "submission"
        ],
        "question": "Count the number of submissions.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "submissions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author FROM submission ORDER BY Scores ASC",
        "query_toks": [
            "SELECT",
            "Author",
            "FROM",
            "submission",
            "ORDER",
            "BY",
            "Scores",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            "from",
            "submission",
            "order",
            "by",
            "scores",
            "asc"
        ],
        "question": "List the authors of submissions in ascending order of scores.",
        "question_toks": [
            "List",
            "the",
            "authors",
            "of",
            "submissions",
            "in",
            "ascending",
            "order",
            "of",
            "scores",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author FROM submission ORDER BY Scores ASC",
        "query_toks": [
            "SELECT",
            "Author",
            "FROM",
            "submission",
            "ORDER",
            "BY",
            "Scores",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            "from",
            "submission",
            "order",
            "by",
            "scores",
            "asc"
        ],
        "question": "Find the author for each submission and list them in ascending order of submission score.",
        "question_toks": [
            "Find",
            "the",
            "author",
            "for",
            "each",
            "submission",
            "and",
            "list",
            "them",
            "in",
            "ascending",
            "order",
            "of",
            "submission",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author ,  College FROM submission",
        "query_toks": [
            "SELECT",
            "Author",
            ",",
            "College",
            "FROM",
            "submission"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            ",",
            "college",
            "from",
            "submission"
        ],
        "question": "What are the authors of submissions and their colleges?",
        "question_toks": [
            "What",
            "are",
            "the",
            "authors",
            "of",
            "submissions",
            "and",
            "their",
            "colleges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author ,  College FROM submission",
        "query_toks": [
            "SELECT",
            "Author",
            ",",
            "College",
            "FROM",
            "submission"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            ",",
            "college",
            "from",
            "submission"
        ],
        "question": "For each submission, show the author and their affiliated college.",
        "question_toks": [
            "For",
            "each",
            "submission",
            ",",
            "show",
            "the",
            "author",
            "and",
            "their",
            "affiliated",
            "college",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author FROM submission WHERE College  =  \"Florida\" OR College  =  \"Temple\"",
        "query_toks": [
            "SELECT",
            "Author",
            "FROM",
            "submission",
            "WHERE",
            "College",
            "=",
            "``",
            "Florida",
            "''",
            "OR",
            "College",
            "=",
            "``",
            "Temple",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            "from",
            "submission",
            "where",
            "college",
            "=",
            "value",
            "or",
            "college",
            "=",
            "value"
        ],
        "question": "Show the names of authors from college \"Florida\" or \"Temple\"",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "authors",
            "from",
            "college",
            "``",
            "Florida",
            "''",
            "or",
            "``",
            "Temple",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Florida\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Temple\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author FROM submission WHERE College  =  \"Florida\" OR College  =  \"Temple\"",
        "query_toks": [
            "SELECT",
            "Author",
            "FROM",
            "submission",
            "WHERE",
            "College",
            "=",
            "``",
            "Florida",
            "''",
            "OR",
            "College",
            "=",
            "``",
            "Temple",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            "from",
            "submission",
            "where",
            "college",
            "=",
            "value",
            "or",
            "college",
            "=",
            "value"
        ],
        "question": "Which authors with submissions are from college \"Florida\" or \"Temple\"?",
        "question_toks": [
            "Which",
            "authors",
            "with",
            "submissions",
            "are",
            "from",
            "college",
            "``",
            "Florida",
            "''",
            "or",
            "``",
            "Temple",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Florida\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Temple\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT avg(Scores) FROM submission",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Scores",
            ")",
            "FROM",
            "submission"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "scores",
            ")",
            "from",
            "submission"
        ],
        "question": "What is the average score of submissions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "score",
            "of",
            "submissions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT avg(Scores) FROM submission",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Scores",
            ")",
            "FROM",
            "submission"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "scores",
            ")",
            "from",
            "submission"
        ],
        "question": "Compute the average score of submissions.",
        "question_toks": [
            "Compute",
            "the",
            "average",
            "score",
            "of",
            "submissions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author FROM submission ORDER BY Scores DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Author",
            "FROM",
            "submission",
            "ORDER",
            "BY",
            "Scores",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            "from",
            "submission",
            "order",
            "by",
            "scores",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the author of the submission with the highest score?",
        "question_toks": [
            "What",
            "is",
            "the",
            "author",
            "of",
            "the",
            "submission",
            "with",
            "the",
            "highest",
            "score",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author FROM submission ORDER BY Scores DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Author",
            "FROM",
            "submission",
            "ORDER",
            "BY",
            "Scores",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            "from",
            "submission",
            "order",
            "by",
            "scores",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the author who achieved the highest score in a submission.",
        "question_toks": [
            "Find",
            "the",
            "author",
            "who",
            "achieved",
            "the",
            "highest",
            "score",
            "in",
            "a",
            "submission",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT College ,  COUNT(*) FROM submission GROUP BY College",
        "query_toks": [
            "SELECT",
            "College",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "submission",
            "GROUP",
            "BY",
            "College"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "submission",
            "group",
            "by",
            "college"
        ],
        "question": "Show different colleges along with the number of authors of submission from each college.",
        "question_toks": [
            "Show",
            "different",
            "colleges",
            "along",
            "with",
            "the",
            "number",
            "of",
            "authors",
            "of",
            "submission",
            "from",
            "each",
            "college",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT College ,  COUNT(*) FROM submission GROUP BY College",
        "query_toks": [
            "SELECT",
            "College",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "submission",
            "GROUP",
            "BY",
            "College"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "submission",
            "group",
            "by",
            "college"
        ],
        "question": "For each college, return the college name and the count of authors with submissions from that college.",
        "question_toks": [
            "For",
            "each",
            "college",
            ",",
            "return",
            "the",
            "college",
            "name",
            "and",
            "the",
            "count",
            "of",
            "authors",
            "with",
            "submissions",
            "from",
            "that",
            "college",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT College FROM submission GROUP BY College ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "submission",
            "GROUP",
            "BY",
            "College",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "submission",
            "group",
            "by",
            "college",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the most common college of authors of submissions.",
        "question_toks": [
            "Show",
            "the",
            "most",
            "common",
            "college",
            "of",
            "authors",
            "of",
            "submissions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT College FROM submission GROUP BY College ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "submission",
            "GROUP",
            "BY",
            "College",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "submission",
            "group",
            "by",
            "college",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which college has the most authors with submissions?",
        "question_toks": [
            "Which",
            "college",
            "has",
            "the",
            "most",
            "authors",
            "with",
            "submissions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    8,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT College FROM submission WHERE Scores  >  90 INTERSECT SELECT College FROM submission WHERE Scores  <  80",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "submission",
            "WHERE",
            "Scores",
            ">",
            "90",
            "INTERSECT",
            "SELECT",
            "College",
            "FROM",
            "submission",
            "WHERE",
            "Scores",
            "<",
            "80"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "submission",
            "where",
            "scores",
            ">",
            "value",
            "intersect",
            "select",
            "college",
            "from",
            "submission",
            "where",
            "scores",
            "<",
            "value"
        ],
        "question": "Show the colleges that have both authors with submission score larger than 90 and authors with submission score smaller than 80.",
        "question_toks": [
            "Show",
            "the",
            "colleges",
            "that",
            "have",
            "both",
            "authors",
            "with",
            "submission",
            "score",
            "larger",
            "than",
            "90",
            "and",
            "authors",
            "with",
            "submission",
            "score",
            "smaller",
            "than",
            "80",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        80.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT College FROM submission WHERE Scores  >  90 INTERSECT SELECT College FROM submission WHERE Scores  <  80",
        "query_toks": [
            "SELECT",
            "College",
            "FROM",
            "submission",
            "WHERE",
            "Scores",
            ">",
            "90",
            "INTERSECT",
            "SELECT",
            "College",
            "FROM",
            "submission",
            "WHERE",
            "Scores",
            "<",
            "80"
        ],
        "query_toks_no_value": [
            "select",
            "college",
            "from",
            "submission",
            "where",
            "scores",
            ">",
            "value",
            "intersect",
            "select",
            "college",
            "from",
            "submission",
            "where",
            "scores",
            "<",
            "value"
        ],
        "question": "Which colleges have both authors with submission score above 90 and authors with submission score below 80?",
        "question_toks": [
            "Which",
            "colleges",
            "have",
            "both",
            "authors",
            "with",
            "submission",
            "score",
            "above",
            "90",
            "and",
            "authors",
            "with",
            "submission",
            "score",
            "below",
            "80",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        80.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT T2.Author ,  T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID",
        "query_toks": [
            "SELECT",
            "T2.Author",
            ",",
            "T1.Result",
            "FROM",
            "acceptance",
            "AS",
            "T1",
            "JOIN",
            "submission",
            "AS",
            "T2",
            "ON",
            "T1.Submission_ID",
            "=",
            "T2.Submission_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "author",
            ",",
            "t1",
            ".",
            "result",
            "from",
            "acceptance",
            "as",
            "t1",
            "join",
            "submission",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "submission_id",
            "=",
            "t2",
            ".",
            "submission_id"
        ],
        "question": "Show the authors of submissions and the acceptance results of their submissions.",
        "question_toks": [
            "Show",
            "the",
            "authors",
            "of",
            "submissions",
            "and",
            "the",
            "acceptance",
            "results",
            "of",
            "their",
            "submissions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT T2.Author ,  T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID",
        "query_toks": [
            "SELECT",
            "T2.Author",
            ",",
            "T1.Result",
            "FROM",
            "acceptance",
            "AS",
            "T1",
            "JOIN",
            "submission",
            "AS",
            "T2",
            "ON",
            "T1.Submission_ID",
            "=",
            "T2.Submission_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "author",
            ",",
            "t1",
            ".",
            "result",
            "from",
            "acceptance",
            "as",
            "t1",
            "join",
            "submission",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "submission_id",
            "=",
            "t2",
            ".",
            "submission_id"
        ],
        "question": "For each submission, find its author and acceptance result.",
        "question_toks": [
            "For",
            "each",
            "submission",
            ",",
            "find",
            "its",
            "author",
            "and",
            "acceptance",
            "result",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID ORDER BY T2.Scores DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Result",
            "FROM",
            "acceptance",
            "AS",
            "T1",
            "JOIN",
            "submission",
            "AS",
            "T2",
            "ON",
            "T1.Submission_ID",
            "=",
            "T2.Submission_ID",
            "ORDER",
            "BY",
            "T2.Scores",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "result",
            "from",
            "acceptance",
            "as",
            "t1",
            "join",
            "submission",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "submission_id",
            "=",
            "t2",
            ".",
            "submission_id",
            "order",
            "by",
            "t2",
            ".",
            "scores",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the result of the submission with the highest score.",
        "question_toks": [
            "Show",
            "the",
            "result",
            "of",
            "the",
            "submission",
            "with",
            "the",
            "highest",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID ORDER BY T2.Scores DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Result",
            "FROM",
            "acceptance",
            "AS",
            "T1",
            "JOIN",
            "submission",
            "AS",
            "T2",
            "ON",
            "T1.Submission_ID",
            "=",
            "T2.Submission_ID",
            "ORDER",
            "BY",
            "T2.Scores",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "result",
            "from",
            "acceptance",
            "as",
            "t1",
            "join",
            "submission",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "submission_id",
            "=",
            "t2",
            ".",
            "submission_id",
            "order",
            "by",
            "t2",
            ".",
            "scores",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which submission received the highest score in acceptance result. Show me the result.",
        "question_toks": [
            "Which",
            "submission",
            "received",
            "the",
            "highest",
            "score",
            "in",
            "acceptance",
            "result",
            ".",
            "Show",
            "me",
            "the",
            "result",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT T2.Author ,  COUNT(DISTINCT T1.workshop_id) FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID GROUP BY T2.Author",
        "query_toks": [
            "SELECT",
            "T2.Author",
            ",",
            "COUNT",
            "(",
            "DISTINCT",
            "T1.workshop_id",
            ")",
            "FROM",
            "acceptance",
            "AS",
            "T1",
            "JOIN",
            "submission",
            "AS",
            "T2",
            "ON",
            "T1.Submission_ID",
            "=",
            "T2.Submission_ID",
            "GROUP",
            "BY",
            "T2.Author"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "author",
            ",",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "workshop_id",
            ")",
            "from",
            "acceptance",
            "as",
            "t1",
            "join",
            "submission",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "submission_id",
            "=",
            "t2",
            ".",
            "submission_id",
            "group",
            "by",
            "t2",
            ".",
            "author"
        ],
        "question": "Show each author and the number of workshops they submitted to.",
        "question_toks": [
            "Show",
            "each",
            "author",
            "and",
            "the",
            "number",
            "of",
            "workshops",
            "they",
            "submitted",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT T2.Author ,  COUNT(DISTINCT T1.workshop_id) FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID GROUP BY T2.Author",
        "query_toks": [
            "SELECT",
            "T2.Author",
            ",",
            "COUNT",
            "(",
            "DISTINCT",
            "T1.workshop_id",
            ")",
            "FROM",
            "acceptance",
            "AS",
            "T1",
            "JOIN",
            "submission",
            "AS",
            "T2",
            "ON",
            "T1.Submission_ID",
            "=",
            "T2.Submission_ID",
            "GROUP",
            "BY",
            "T2.Author"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "author",
            ",",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "workshop_id",
            ")",
            "from",
            "acceptance",
            "as",
            "t1",
            "join",
            "submission",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "submission_id",
            "=",
            "t2",
            ".",
            "submission_id",
            "group",
            "by",
            "t2",
            ".",
            "author"
        ],
        "question": "How many workshops did each author submit to? Return the author name and the number of workshops.",
        "question_toks": [
            "How",
            "many",
            "workshops",
            "did",
            "each",
            "author",
            "submit",
            "to",
            "?",
            "Return",
            "the",
            "author",
            "name",
            "and",
            "the",
            "number",
            "of",
            "workshops",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT T2.Author FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID GROUP BY T2.Author HAVING COUNT(DISTINCT T1.workshop_id)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Author",
            "FROM",
            "acceptance",
            "AS",
            "T1",
            "JOIN",
            "submission",
            "AS",
            "T2",
            "ON",
            "T1.Submission_ID",
            "=",
            "T2.Submission_ID",
            "GROUP",
            "BY",
            "T2.Author",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "T1.workshop_id",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "author",
            "from",
            "acceptance",
            "as",
            "t1",
            "join",
            "submission",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "submission_id",
            "=",
            "t2",
            ".",
            "submission_id",
            "group",
            "by",
            "t2",
            ".",
            "author",
            "having",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "workshop_id",
            ")",
            ">",
            "value"
        ],
        "question": "Show the authors who have submissions to more than one workshop.",
        "question_toks": [
            "Show",
            "the",
            "authors",
            "who",
            "have",
            "submissions",
            "to",
            "more",
            "than",
            "one",
            "workshop",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            10,
                            true
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT T2.Author FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID GROUP BY T2.Author HAVING COUNT(DISTINCT T1.workshop_id)  >  1",
        "query_toks": [
            "SELECT",
            "T2.Author",
            "FROM",
            "acceptance",
            "AS",
            "T1",
            "JOIN",
            "submission",
            "AS",
            "T2",
            "ON",
            "T1.Submission_ID",
            "=",
            "T2.Submission_ID",
            "GROUP",
            "BY",
            "T2.Author",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "T1.workshop_id",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "author",
            "from",
            "acceptance",
            "as",
            "t1",
            "join",
            "submission",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "submission_id",
            "=",
            "t2",
            ".",
            "submission_id",
            "group",
            "by",
            "t2",
            ".",
            "author",
            "having",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "workshop_id",
            ")",
            ">",
            "value"
        ],
        "question": "Which authors have submitted to more than one workshop?",
        "question_toks": [
            "Which",
            "authors",
            "have",
            "submitted",
            "to",
            "more",
            "than",
            "one",
            "workshop",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            10,
                            true
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Date ,  Venue FROM workshop ORDER BY Venue",
        "query_toks": [
            "SELECT",
            "Date",
            ",",
            "Venue",
            "FROM",
            "workshop",
            "ORDER",
            "BY",
            "Venue"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "venue",
            "from",
            "workshop",
            "order",
            "by",
            "venue"
        ],
        "question": "Show the date and venue of each workshop in ascending alphabetical order of the venue.",
        "question_toks": [
            "Show",
            "the",
            "date",
            "and",
            "venue",
            "of",
            "each",
            "workshop",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "of",
            "the",
            "venue",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Date ,  Venue FROM workshop ORDER BY Venue",
        "query_toks": [
            "SELECT",
            "Date",
            ",",
            "Venue",
            "FROM",
            "workshop",
            "ORDER",
            "BY",
            "Venue"
        ],
        "query_toks_no_value": [
            "select",
            "date",
            ",",
            "venue",
            "from",
            "workshop",
            "order",
            "by",
            "venue"
        ],
        "question": "Sort the each workshop in alphabetical order of the venue. Return the date and venue of each workshop.",
        "question_toks": [
            "Sort",
            "the",
            "each",
            "workshop",
            "in",
            "alphabetical",
            "order",
            "of",
            "the",
            "venue",
            ".",
            "Return",
            "the",
            "date",
            "and",
            "venue",
            "of",
            "each",
            "workshop",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author FROM submission WHERE Submission_ID NOT IN (SELECT Submission_ID FROM acceptance)",
        "query_toks": [
            "SELECT",
            "Author",
            "FROM",
            "submission",
            "WHERE",
            "Submission_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Submission_ID",
            "FROM",
            "acceptance",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            "from",
            "submission",
            "where",
            "submission_id",
            "not",
            "in",
            "(",
            "select",
            "submission_id",
            "from",
            "acceptance",
            ")"
        ],
        "question": "List the authors who do not have submission to any workshop.",
        "question_toks": [
            "List",
            "the",
            "authors",
            "who",
            "do",
            "not",
            "have",
            "submission",
            "to",
            "any",
            "workshop",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "workshop_paper",
        "query": "SELECT Author FROM submission WHERE Submission_ID NOT IN (SELECT Submission_ID FROM acceptance)",
        "query_toks": [
            "SELECT",
            "Author",
            "FROM",
            "submission",
            "WHERE",
            "Submission_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Submission_ID",
            "FROM",
            "acceptance",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "author",
            "from",
            "submission",
            "where",
            "submission_id",
            "not",
            "in",
            "(",
            "select",
            "submission_id",
            "from",
            "acceptance",
            ")"
        ],
        "question": "Which authors did not submit to any workshop?",
        "question_toks": [
            "Which",
            "authors",
            "did",
            "not",
            "submit",
            "to",
            "any",
            "workshop",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT count(*) FROM INVESTORS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "INVESTORS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "investors"
        ],
        "question": "Find the number of investors in total.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "investors",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT Investor_details FROM INVESTORS",
        "query_toks": [
            "SELECT",
            "Investor_details",
            "FROM",
            "INVESTORS"
        ],
        "query_toks_no_value": [
            "select",
            "investor_details",
            "from",
            "investors"
        ],
        "question": "Show all investor details.",
        "question_toks": [
            "Show",
            "all",
            "investor",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT DISTINCT lot_details FROM LOTS",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "lot_details",
            "FROM",
            "LOTS"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "lot_details",
            "from",
            "lots"
        ],
        "question": "Show all distinct lot details.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "lot",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT max(amount_of_transaction) FROM TRANSACTIONS",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "amount_of_transaction",
            ")",
            "FROM",
            "TRANSACTIONS"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "amount_of_transaction",
            ")",
            "from",
            "transactions"
        ],
        "question": "Show the maximum amount of transaction.",
        "question_toks": [
            "Show",
            "the",
            "maximum",
            "amount",
            "of",
            "transaction",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT date_of_transaction ,  share_count FROM TRANSACTIONS",
        "query_toks": [
            "SELECT",
            "date_of_transaction",
            ",",
            "share_count",
            "FROM",
            "TRANSACTIONS"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_transaction",
            ",",
            "share_count",
            "from",
            "transactions"
        ],
        "question": "Show all date and share count of transactions.",
        "question_toks": [
            "Show",
            "all",
            "date",
            "and",
            "share",
            "count",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT sum(share_count) FROM TRANSACTIONS",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "share_count",
            ")",
            "FROM",
            "TRANSACTIONS"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "share_count",
            ")",
            "from",
            "transactions"
        ],
        "question": "What is the total share of transactions?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "share",
            "of",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT transaction_id FROM TRANSACTIONS WHERE transaction_type_code  =  'PUR'",
        "query_toks": [
            "SELECT",
            "transaction_id",
            "FROM",
            "TRANSACTIONS",
            "WHERE",
            "transaction_type_code",
            "=",
            "'PUR",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_id",
            "from",
            "transactions",
            "where",
            "transaction_type_code",
            "=",
            "value"
        ],
        "question": "Show all transaction ids with transaction code 'PUR'.",
        "question_toks": [
            "Show",
            "all",
            "transaction",
            "ids",
            "with",
            "transaction",
            "code",
            "'PUR",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"PUR\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT date_of_transaction FROM TRANSACTIONS WHERE transaction_type_code  =  \"SALE\"",
        "query_toks": [
            "SELECT",
            "date_of_transaction",
            "FROM",
            "TRANSACTIONS",
            "WHERE",
            "transaction_type_code",
            "=",
            "``",
            "SALE",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_transaction",
            "from",
            "transactions",
            "where",
            "transaction_type_code",
            "=",
            "value"
        ],
        "question": "Show all dates of transactions whose type code is \"SALE\".",
        "question_toks": [
            "Show",
            "all",
            "dates",
            "of",
            "transactions",
            "whose",
            "type",
            "code",
            "is",
            "``",
            "SALE",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"SALE\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT avg(amount_of_transaction) FROM TRANSACTIONS WHERE transaction_type_code  =  \"SALE\"",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "FROM",
            "TRANSACTIONS",
            "WHERE",
            "transaction_type_code",
            "=",
            "``",
            "SALE",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "from",
            "transactions",
            "where",
            "transaction_type_code",
            "=",
            "value"
        ],
        "question": "Show the average amount of transactions with type code \"SALE\".",
        "question_toks": [
            "Show",
            "the",
            "average",
            "amount",
            "of",
            "transactions",
            "with",
            "type",
            "code",
            "``",
            "SALE",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"SALE\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT transaction_type_description FROM Ref_Transaction_Types WHERE transaction_type_code\t  =  \"PUR\"",
        "query_toks": [
            "SELECT",
            "transaction_type_description",
            "FROM",
            "Ref_Transaction_Types",
            "WHERE",
            "transaction_type_code",
            "=",
            "``",
            "PUR",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type_description",
            "from",
            "ref_transaction_types",
            "where",
            "transaction_type_code",
            "=",
            "value"
        ],
        "question": "Show the description of transaction type with code \"PUR\".",
        "question_toks": [
            "Show",
            "the",
            "description",
            "of",
            "transaction",
            "type",
            "with",
            "code",
            "``",
            "PUR",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"PUR\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT min(amount_of_transaction) FROM TRANSACTIONS WHERE transaction_type_code  =  \"PUR\" AND share_count  >  50",
        "query_toks": [
            "SELECT",
            "min",
            "(",
            "amount_of_transaction",
            ")",
            "FROM",
            "TRANSACTIONS",
            "WHERE",
            "transaction_type_code",
            "=",
            "``",
            "PUR",
            "''",
            "AND",
            "share_count",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "min",
            "(",
            "amount_of_transaction",
            ")",
            "from",
            "transactions",
            "where",
            "transaction_type_code",
            "=",
            "value",
            "and",
            "share_count",
            ">",
            "value"
        ],
        "question": "Show the minimum amount of transactions whose type code is \"PUR\" and whose share count is bigger than 50.",
        "question_toks": [
            "Show",
            "the",
            "minimum",
            "amount",
            "of",
            "transactions",
            "whose",
            "type",
            "code",
            "is",
            "``",
            "PUR",
            "''",
            "and",
            "whose",
            "share",
            "count",
            "is",
            "bigger",
            "than",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"PUR\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT max(share_count) FROM TRANSACTIONS WHERE amount_of_transaction  <  10000",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "share_count",
            ")",
            "FROM",
            "TRANSACTIONS",
            "WHERE",
            "amount_of_transaction",
            "<",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "share_count",
            ")",
            "from",
            "transactions",
            "where",
            "amount_of_transaction",
            "<",
            "value"
        ],
        "question": "Show the maximum share count of transactions where the amount is smaller than 10000",
        "question_toks": [
            "Show",
            "the",
            "maximum",
            "share",
            "count",
            "of",
            "transactions",
            "where",
            "the",
            "amount",
            "is",
            "smaller",
            "than",
            "10000"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count  >  100 OR amount_of_transaction  >  1000",
        "query_toks": [
            "SELECT",
            "date_of_transaction",
            "FROM",
            "TRANSACTIONS",
            "WHERE",
            "share_count",
            ">",
            "100",
            "OR",
            "amount_of_transaction",
            ">",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_transaction",
            "from",
            "transactions",
            "where",
            "share_count",
            ">",
            "value",
            "or",
            "amount_of_transaction",
            ">",
            "value"
        ],
        "question": "Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000.",
        "question_toks": [
            "Show",
            "the",
            "dates",
            "of",
            "transactions",
            "if",
            "the",
            "share",
            "count",
            "is",
            "bigger",
            "than",
            "100",
            "or",
            "the",
            "amount",
            "is",
            "bigger",
            "than",
            "1000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T1.transaction_type_description ,  T2.date_of_transaction FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code  =  T2.transaction_type_code WHERE T2.share_count  <  10",
        "query_toks": [
            "SELECT",
            "T1.transaction_type_description",
            ",",
            "T2.date_of_transaction",
            "FROM",
            "Ref_Transaction_Types",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.transaction_type_code",
            "=",
            "T2.transaction_type_code",
            "WHERE",
            "T2.share_count",
            "<",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "transaction_type_description",
            ",",
            "t2",
            ".",
            "date_of_transaction",
            "from",
            "ref_transaction_types",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "transaction_type_code",
            "=",
            "t2",
            ".",
            "transaction_type_code",
            "where",
            "t2",
            ".",
            "share_count",
            "<",
            "value"
        ],
        "question": "Show the transaction type descriptions and dates if the share count is smaller than 10.",
        "question_toks": [
            "Show",
            "the",
            "transaction",
            "type",
            "descriptions",
            "and",
            "dates",
            "if",
            "the",
            "share",
            "count",
            "is",
            "smaller",
            "than",
            "10",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T1.Investor_details FROM  INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id  =  T2.investor_id WHERE T2.share_count  >  100",
        "query_toks": [
            "SELECT",
            "T1.Investor_details",
            "FROM",
            "INVESTORS",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.investor_id",
            "=",
            "T2.investor_id",
            "WHERE",
            "T2.share_count",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "investor_details",
            "from",
            "investors",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "investor_id",
            "=",
            "t2",
            ".",
            "investor_id",
            "where",
            "t2",
            ".",
            "share_count",
            ">",
            "value"
        ],
        "question": "Show details of all investors if they make any transaction with share count greater than 100.",
        "question_toks": [
            "Show",
            "details",
            "of",
            "all",
            "investors",
            "if",
            "they",
            "make",
            "any",
            "transaction",
            "with",
            "share",
            "count",
            "greater",
            "than",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT COUNT(DISTINCT transaction_type_code) FROM TRANSACTIONS",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "transaction_type_code",
            ")",
            "FROM",
            "TRANSACTIONS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "transaction_type_code",
            ")",
            "from",
            "transactions"
        ],
        "question": "How many distinct transaction types are used in the transactions?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "transaction",
            "types",
            "are",
            "used",
            "in",
            "the",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT lot_details ,  investor_id FROM LOTS",
        "query_toks": [
            "SELECT",
            "lot_details",
            ",",
            "investor_id",
            "FROM",
            "LOTS"
        ],
        "query_toks_no_value": [
            "select",
            "lot_details",
            ",",
            "investor_id",
            "from",
            "lots"
        ],
        "question": "Return the lot details and investor ids.",
        "question_toks": [
            "Return",
            "the",
            "lot",
            "details",
            "and",
            "investor",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T2.lot_details FROM INVESTORS AS T1 JOIN LOTS AS T2 ON  T1.investor_id  =  T2.investor_id WHERE T1.Investor_details  =  \"l\"",
        "query_toks": [
            "SELECT",
            "T2.lot_details",
            "FROM",
            "INVESTORS",
            "AS",
            "T1",
            "JOIN",
            "LOTS",
            "AS",
            "T2",
            "ON",
            "T1.investor_id",
            "=",
            "T2.investor_id",
            "WHERE",
            "T1.Investor_details",
            "=",
            "``",
            "l",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lot_details",
            "from",
            "investors",
            "as",
            "t1",
            "join",
            "lots",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "investor_id",
            "=",
            "t2",
            ".",
            "investor_id",
            "where",
            "t1",
            ".",
            "investor_details",
            "=",
            "value"
        ],
        "question": "Return the lot details of lots that belong to investors with details \"l\"?",
        "question_toks": [
            "Return",
            "the",
            "lot",
            "details",
            "of",
            "lots",
            "that",
            "belong",
            "to",
            "investors",
            "with",
            "details",
            "``",
            "l",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"l\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T1.purchase_details FROM PURCHASES AS T1 JOIN TRANSACTIONS AS T2 ON T1.purchase_transaction_id  =  T2.transaction_id WHERE T2.amount_of_transaction  >  10000",
        "query_toks": [
            "SELECT",
            "T1.purchase_details",
            "FROM",
            "PURCHASES",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.purchase_transaction_id",
            "=",
            "T2.transaction_id",
            "WHERE",
            "T2.amount_of_transaction",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "purchase_details",
            "from",
            "purchases",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "purchase_transaction_id",
            "=",
            "t2",
            ".",
            "transaction_id",
            "where",
            "t2",
            ".",
            "amount_of_transaction",
            ">",
            "value"
        ],
        "question": "What are the purchase details of transactions with amount bigger than 10000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "purchase",
            "details",
            "of",
            "transactions",
            "with",
            "amount",
            "bigger",
            "than",
            "10000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T1.sales_details ,  T2.date_of_transaction FROM SALES AS T1 JOIN TRANSACTIONS AS T2 ON T1.sales_transaction_id  =  T2.transaction_id WHERE T2.amount_of_transaction  <  3000",
        "query_toks": [
            "SELECT",
            "T1.sales_details",
            ",",
            "T2.date_of_transaction",
            "FROM",
            "SALES",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.sales_transaction_id",
            "=",
            "T2.transaction_id",
            "WHERE",
            "T2.amount_of_transaction",
            "<",
            "3000"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "sales_details",
            ",",
            "t2",
            ".",
            "date_of_transaction",
            "from",
            "sales",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "sales_transaction_id",
            "=",
            "t2",
            ".",
            "transaction_id",
            "where",
            "t2",
            ".",
            "amount_of_transaction",
            "<",
            "value"
        ],
        "question": "What are the sale details and dates of transactions with amount smaller than 3000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "sale",
            "details",
            "and",
            "dates",
            "of",
            "transactions",
            "with",
            "amount",
            "smaller",
            "than",
            "3000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    3000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id  =  T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id  =  T3.transaction_id WHERE T3.share_count  <  50",
        "query_toks": [
            "SELECT",
            "T1.lot_details",
            "FROM",
            "LOTS",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS_LOTS",
            "AS",
            "T2",
            "ON",
            "T1.lot_id",
            "=",
            "T2.transaction_id",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T3",
            "ON",
            "T2.transaction_id",
            "=",
            "T3.transaction_id",
            "WHERE",
            "T3.share_count",
            "<",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lot_details",
            "from",
            "lots",
            "as",
            "t1",
            "join",
            "transactions_lots",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "lot_id",
            "=",
            "t2",
            ".",
            "transaction_id",
            "join",
            "transactions",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "transaction_id",
            "=",
            "t3",
            ".",
            "transaction_id",
            "where",
            "t3",
            ".",
            "share_count",
            "<",
            "value"
        ],
        "question": "What are the lot details of lots associated with transactions with share count smaller than 50?",
        "question_toks": [
            "What",
            "are",
            "the",
            "lot",
            "details",
            "of",
            "lots",
            "associated",
            "with",
            "transactions",
            "with",
            "share",
            "count",
            "smaller",
            "than",
            "50",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON  T1.lot_id  =  T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id  =  T3.transaction_id WHERE T3.share_count  >  100 AND T3.transaction_type_code  =  \"PUR\"",
        "query_toks": [
            "SELECT",
            "T1.lot_details",
            "FROM",
            "LOTS",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS_LOTS",
            "AS",
            "T2",
            "ON",
            "T1.lot_id",
            "=",
            "T2.transaction_id",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T3",
            "ON",
            "T2.transaction_id",
            "=",
            "T3.transaction_id",
            "WHERE",
            "T3.share_count",
            ">",
            "100",
            "AND",
            "T3.transaction_type_code",
            "=",
            "``",
            "PUR",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lot_details",
            "from",
            "lots",
            "as",
            "t1",
            "join",
            "transactions_lots",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "lot_id",
            "=",
            "t2",
            ".",
            "transaction_id",
            "join",
            "transactions",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "transaction_id",
            "=",
            "t3",
            ".",
            "transaction_id",
            "where",
            "t3",
            ".",
            "share_count",
            ">",
            "value",
            "and",
            "t3",
            ".",
            "transaction_type_code",
            "=",
            "value"
        ],
        "question": "What are the lot details of lots associated with transactions whose share count is bigger than 100 and whose type code is \"PUR\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "lot",
            "details",
            "of",
            "lots",
            "associated",
            "with",
            "transactions",
            "whose",
            "share",
            "count",
            "is",
            "bigger",
            "than",
            "100",
            "and",
            "whose",
            "type",
            "code",
            "is",
            "``",
            "PUR",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"PUR\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT transaction_type_code ,  avg(amount_of_transaction) FROM TRANSACTIONS GROUP BY transaction_type_code",
        "query_toks": [
            "SELECT",
            "transaction_type_code",
            ",",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "FROM",
            "TRANSACTIONS",
            "GROUP",
            "BY",
            "transaction_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type_code",
            ",",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "from",
            "transactions",
            "group",
            "by",
            "transaction_type_code"
        ],
        "question": "Show the average transaction amount for different transaction types.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "transaction",
            "amount",
            "for",
            "different",
            "transaction",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT transaction_type_code ,  max(share_count) ,  min(share_count) FROM TRANSACTIONS GROUP BY transaction_type_code",
        "query_toks": [
            "SELECT",
            "transaction_type_code",
            ",",
            "max",
            "(",
            "share_count",
            ")",
            ",",
            "min",
            "(",
            "share_count",
            ")",
            "FROM",
            "TRANSACTIONS",
            "GROUP",
            "BY",
            "transaction_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type_code",
            ",",
            "max",
            "(",
            "share_count",
            ")",
            ",",
            "min",
            "(",
            "share_count",
            ")",
            "from",
            "transactions",
            "group",
            "by",
            "transaction_type_code"
        ],
        "question": "Show the maximum and minimum share count of different transaction types.",
        "question_toks": [
            "Show",
            "the",
            "maximum",
            "and",
            "minimum",
            "share",
            "count",
            "of",
            "different",
            "transaction",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT investor_id ,  avg(share_count) FROM TRANSACTIONS GROUP BY investor_id",
        "query_toks": [
            "SELECT",
            "investor_id",
            ",",
            "avg",
            "(",
            "share_count",
            ")",
            "FROM",
            "TRANSACTIONS",
            "GROUP",
            "BY",
            "investor_id"
        ],
        "query_toks_no_value": [
            "select",
            "investor_id",
            ",",
            "avg",
            "(",
            "share_count",
            ")",
            "from",
            "transactions",
            "group",
            "by",
            "investor_id"
        ],
        "question": "Show the average share count of transactions for different investors.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "share",
            "count",
            "of",
            "transactions",
            "for",
            "different",
            "investors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT investor_id ,  avg(share_count) FROM TRANSACTIONS GROUP BY investor_id ORDER BY avg(share_count)",
        "query_toks": [
            "SELECT",
            "investor_id",
            ",",
            "avg",
            "(",
            "share_count",
            ")",
            "FROM",
            "TRANSACTIONS",
            "GROUP",
            "BY",
            "investor_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "share_count",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "investor_id",
            ",",
            "avg",
            "(",
            "share_count",
            ")",
            "from",
            "transactions",
            "group",
            "by",
            "investor_id",
            "order",
            "by",
            "avg",
            "(",
            "share_count",
            ")"
        ],
        "question": "Show the average share count of transactions each each investor, ordered by average share count.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "share",
            "count",
            "of",
            "transactions",
            "each",
            "each",
            "investor",
            ",",
            "ordered",
            "by",
            "average",
            "share",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT investor_id ,  avg(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id",
        "query_toks": [
            "SELECT",
            "investor_id",
            ",",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "FROM",
            "TRANSACTIONS",
            "GROUP",
            "BY",
            "investor_id"
        ],
        "query_toks_no_value": [
            "select",
            "investor_id",
            ",",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "from",
            "transactions",
            "group",
            "by",
            "investor_id"
        ],
        "question": "Show the average amount of transactions for different investors.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "amount",
            "of",
            "transactions",
            "for",
            "different",
            "investors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T2.lot_id ,  avg(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id  =  T2.transaction_id GROUP BY T2.lot_id",
        "query_toks": [
            "SELECT",
            "T2.lot_id",
            ",",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "FROM",
            "TRANSACTIONS",
            "AS",
            "T1",
            "JOIN",
            "Transactions_Lots",
            "AS",
            "T2",
            "ON",
            "T1.transaction_id",
            "=",
            "T2.transaction_id",
            "GROUP",
            "BY",
            "T2.lot_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lot_id",
            ",",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "from",
            "transactions",
            "as",
            "t1",
            "join",
            "transactions_lots",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "transaction_id",
            "=",
            "t2",
            ".",
            "transaction_id",
            "group",
            "by",
            "t2",
            ".",
            "lot_id"
        ],
        "question": "Show the average amount of transactions for different lots.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "amount",
            "of",
            "transactions",
            "for",
            "different",
            "lots",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T2.lot_id ,  avg(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id  =  T2.transaction_id GROUP BY T2.lot_id ORDER BY avg(amount_of_transaction)",
        "query_toks": [
            "SELECT",
            "T2.lot_id",
            ",",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "FROM",
            "TRANSACTIONS",
            "AS",
            "T1",
            "JOIN",
            "Transactions_Lots",
            "AS",
            "T2",
            "ON",
            "T1.transaction_id",
            "=",
            "T2.transaction_id",
            "GROUP",
            "BY",
            "T2.lot_id",
            "ORDER",
            "BY",
            "avg",
            "(",
            "amount_of_transaction",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lot_id",
            ",",
            "avg",
            "(",
            "amount_of_transaction",
            ")",
            "from",
            "transactions",
            "as",
            "t1",
            "join",
            "transactions_lots",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "transaction_id",
            "=",
            "t2",
            ".",
            "transaction_id",
            "group",
            "by",
            "t2",
            ".",
            "lot_id",
            "order",
            "by",
            "avg",
            "(",
            "amount_of_transaction",
            ")"
        ],
        "question": "Show the average amount of transactions for different lots, ordered by average amount of transactions.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "amount",
            "of",
            "transactions",
            "for",
            "different",
            "lots",
            ",",
            "ordered",
            "by",
            "average",
            "amount",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT investor_id ,  COUNT(*) FROM TRANSACTIONS WHERE transaction_type_code  =  \"SALE\" GROUP BY investor_id",
        "query_toks": [
            "SELECT",
            "investor_id",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "TRANSACTIONS",
            "WHERE",
            "transaction_type_code",
            "=",
            "``",
            "SALE",
            "''",
            "GROUP",
            "BY",
            "investor_id"
        ],
        "query_toks_no_value": [
            "select",
            "investor_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "transactions",
            "where",
            "transaction_type_code",
            "=",
            "value",
            "group",
            "by",
            "investor_id"
        ],
        "question": "Show the number of transactions with transaction type code \"SALE\" for different investors if it is larger than 0.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "transactions",
            "with",
            "transaction",
            "type",
            "code",
            "``",
            "SALE",
            "''",
            "for",
            "different",
            "investors",
            "if",
            "it",
            "is",
            "larger",
            "than",
            "0",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"SALE\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT investor_id ,  COUNT(*) FROM TRANSACTIONS GROUP BY investor_id",
        "query_toks": [
            "SELECT",
            "investor_id",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "TRANSACTIONS",
            "GROUP",
            "BY",
            "investor_id"
        ],
        "query_toks_no_value": [
            "select",
            "investor_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "transactions",
            "group",
            "by",
            "investor_id"
        ],
        "question": "Show the number of transactions for different investors.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "transactions",
            "for",
            "different",
            "investors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT transaction_type_code FROM TRANSACTIONS GROUP BY transaction_type_code ORDER BY COUNT(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "transaction_type_code",
            "FROM",
            "TRANSACTIONS",
            "GROUP",
            "BY",
            "transaction_type_code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type_code",
            "from",
            "transactions",
            "group",
            "by",
            "transaction_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Show the transaction type code that occurs the fewest times.",
        "question_toks": [
            "Show",
            "the",
            "transaction",
            "type",
            "code",
            "that",
            "occurs",
            "the",
            "fewest",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT transaction_type_code FROM TRANSACTIONS GROUP BY transaction_type_code ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "transaction_type_code",
            "FROM",
            "TRANSACTIONS",
            "GROUP",
            "BY",
            "transaction_type_code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "transaction_type_code",
            "from",
            "transactions",
            "group",
            "by",
            "transaction_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the transaction type code that occurs the most frequently.",
        "question_toks": [
            "Show",
            "the",
            "transaction",
            "type",
            "code",
            "that",
            "occurs",
            "the",
            "most",
            "frequently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T1.transaction_type_description FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code  =  T2.transaction_type_code GROUP BY T1.transaction_type_code ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.transaction_type_description",
            "FROM",
            "Ref_Transaction_Types",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.transaction_type_code",
            "=",
            "T2.transaction_type_code",
            "GROUP",
            "BY",
            "T1.transaction_type_code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "transaction_type_description",
            "from",
            "ref_transaction_types",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "transaction_type_code",
            "=",
            "t2",
            ".",
            "transaction_type_code",
            "group",
            "by",
            "t1",
            ".",
            "transaction_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the description of the transaction type that occurs most frequently.",
        "question_toks": [
            "Show",
            "the",
            "description",
            "of",
            "the",
            "transaction",
            "type",
            "that",
            "occurs",
            "most",
            "frequently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T2.investor_id ,  T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id  =  T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.investor_id",
            ",",
            "T1.Investor_details",
            "FROM",
            "INVESTORS",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.investor_id",
            "=",
            "T2.investor_id",
            "GROUP",
            "BY",
            "T2.investor_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "investor_id",
            ",",
            "t1",
            ".",
            "investor_details",
            "from",
            "investors",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "investor_id",
            "=",
            "t2",
            ".",
            "investor_id",
            "group",
            "by",
            "t2",
            ".",
            "investor_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the id and details of the investor that has the largest number of transactions.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "and",
            "details",
            "of",
            "the",
            "investor",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T2.investor_id ,  T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id  =  T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.investor_id",
            ",",
            "T1.Investor_details",
            "FROM",
            "INVESTORS",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.investor_id",
            "=",
            "T2.investor_id",
            "GROUP",
            "BY",
            "T2.investor_id",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "investor_id",
            ",",
            "t1",
            ".",
            "investor_details",
            "from",
            "investors",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "investor_id",
            "=",
            "t2",
            ".",
            "investor_id",
            "group",
            "by",
            "t2",
            ".",
            "investor_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the id and details for the investors who have the top 3 number of transactions.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "and",
            "details",
            "for",
            "the",
            "investors",
            "who",
            "have",
            "the",
            "top",
            "3",
            "number",
            "of",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id  =  T2.investor_id GROUP BY T2.investor_id HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.investor_id",
            "FROM",
            "INVESTORS",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.investor_id",
            "=",
            "T2.investor_id",
            "GROUP",
            "BY",
            "T2.investor_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "investor_id",
            "from",
            "investors",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "investor_id",
            "=",
            "t2",
            ".",
            "investor_id",
            "group",
            "by",
            "t2",
            ".",
            "investor_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the ids of the investors who have at least two transactions.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "the",
            "investors",
            "who",
            "have",
            "at",
            "least",
            "two",
            "transactions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT T2.investor_id ,  T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id  =  T2.investor_id WHERE T2.transaction_type_code  =  \"SALE\" GROUP BY T2.investor_id HAVING COUNT(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.investor_id",
            ",",
            "T1.Investor_details",
            "FROM",
            "INVESTORS",
            "AS",
            "T1",
            "JOIN",
            "TRANSACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.investor_id",
            "=",
            "T2.investor_id",
            "WHERE",
            "T2.transaction_type_code",
            "=",
            "``",
            "SALE",
            "''",
            "GROUP",
            "BY",
            "T2.investor_id",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "investor_id",
            ",",
            "t1",
            ".",
            "investor_details",
            "from",
            "investors",
            "as",
            "t1",
            "join",
            "transactions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "investor_id",
            "=",
            "t2",
            ".",
            "investor_id",
            "where",
            "t2",
            ".",
            "transaction_type_code",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "investor_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the ids and details of the investors who have at least two transactions with type code \"SALE\".",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "and",
            "details",
            "of",
            "the",
            "investors",
            "who",
            "have",
            "at",
            "least",
            "two",
            "transactions",
            "with",
            "type",
            "code",
            "``",
            "SALE",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"SALE\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count  >=  100 OR amount_of_transaction  >=  100",
        "query_toks": [
            "SELECT",
            "date_of_transaction",
            "FROM",
            "TRANSACTIONS",
            "WHERE",
            "share_count",
            ">",
            "=",
            "100",
            "OR",
            "amount_of_transaction",
            ">",
            "=",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_transaction",
            "from",
            "transactions",
            "where",
            "share_count",
            ">",
            "=",
            "value",
            "or",
            "amount_of_transaction",
            ">",
            "=",
            "value"
        ],
        "question": "What are the dates of transactions with at least 100 share count or amount bigger than 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "of",
            "transactions",
            "with",
            "at",
            "least",
            "100",
            "share",
            "count",
            "or",
            "amount",
            "bigger",
            "than",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "or",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT sales_details FROM sales UNION SELECT purchase_details FROM purchases",
        "query_toks": [
            "SELECT",
            "sales_details",
            "FROM",
            "sales",
            "UNION",
            "SELECT",
            "purchase_details",
            "FROM",
            "purchases"
        ],
        "query_toks_no_value": [
            "select",
            "sales_details",
            "from",
            "sales",
            "union",
            "select",
            "purchase_details",
            "from",
            "purchases"
        ],
        "question": "What are the details of all sales and purchases?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "all",
            "sales",
            "and",
            "purchases",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_share_transactions",
        "query": "SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id  =  T2.lot_id",
        "query_toks": [
            "SELECT",
            "lot_details",
            "FROM",
            "Lots",
            "EXCEPT",
            "SELECT",
            "T1.lot_details",
            "FROM",
            "Lots",
            "AS",
            "T1",
            "JOIN",
            "transactions_lots",
            "AS",
            "T2",
            "ON",
            "T1.lot_id",
            "=",
            "T2.lot_id"
        ],
        "query_toks_no_value": [
            "select",
            "lot_details",
            "from",
            "lots",
            "except",
            "select",
            "t1",
            ".",
            "lot_details",
            "from",
            "lots",
            "as",
            "t1",
            "join",
            "transactions_lots",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "lot_id",
            "=",
            "t2",
            ".",
            "lot_id"
        ],
        "question": "What are the details of the lots which are not used in any transactions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "the",
            "lots",
            "which",
            "are",
            "not",
            "used",
            "in",
            "any",
            "transactions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT count(*) FROM HOTELS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "HOTELS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "hotels"
        ],
        "question": "How many available hotels are there in total?",
        "question_toks": [
            "How",
            "many",
            "available",
            "hotels",
            "are",
            "there",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT count(*) FROM HOTELS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "HOTELS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "hotels"
        ],
        "question": "Find the total number of available hotels.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "available",
            "hotels",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT price_range FROM HOTELS",
        "query_toks": [
            "SELECT",
            "price_range",
            "FROM",
            "HOTELS"
        ],
        "query_toks_no_value": [
            "select",
            "price_range",
            "from",
            "hotels"
        ],
        "question": "What are the price ranges of hotels?",
        "question_toks": [
            "What",
            "are",
            "the",
            "price",
            "ranges",
            "of",
            "hotels",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT price_range FROM HOTELS",
        "query_toks": [
            "SELECT",
            "price_range",
            "FROM",
            "HOTELS"
        ],
        "query_toks_no_value": [
            "select",
            "price_range",
            "from",
            "hotels"
        ],
        "question": "Tell me the price ranges for all the hotels.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "price",
            "ranges",
            "for",
            "all",
            "the",
            "hotels",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT DISTINCT Location_Name FROM LOCATIONS",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Location_Name",
            "FROM",
            "LOCATIONS"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location_name",
            "from",
            "locations"
        ],
        "question": "Show all distinct location names.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "location",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT DISTINCT Location_Name FROM LOCATIONS",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Location_Name",
            "FROM",
            "LOCATIONS"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location_name",
            "from",
            "locations"
        ],
        "question": "What are the distinct location names?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "location",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Name ,  Other_Details FROM Staff",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Other_Details",
            "FROM",
            "Staff"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "other_details",
            "from",
            "staff"
        ],
        "question": "Show the names and details of all the staff members.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "details",
            "of",
            "all",
            "the",
            "staff",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Name ,  Other_Details FROM Staff",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Other_Details",
            "FROM",
            "Staff"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "other_details",
            "from",
            "staff"
        ],
        "question": "What is the name and detail of each staff member?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "detail",
            "of",
            "each",
            "staff",
            "member",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Tourist_Details FROM VISITORS",
        "query_toks": [
            "SELECT",
            "Tourist_Details",
            "FROM",
            "VISITORS"
        ],
        "query_toks_no_value": [
            "select",
            "tourist_details",
            "from",
            "visitors"
        ],
        "question": "Show details of all visitors.",
        "question_toks": [
            "Show",
            "details",
            "of",
            "all",
            "visitors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Tourist_Details FROM VISITORS",
        "query_toks": [
            "SELECT",
            "Tourist_Details",
            "FROM",
            "VISITORS"
        ],
        "query_toks_no_value": [
            "select",
            "tourist_details",
            "from",
            "visitors"
        ],
        "question": "What is the detail of each visitor?",
        "question_toks": [
            "What",
            "is",
            "the",
            "detail",
            "of",
            "each",
            "visitor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT price_range FROM HOTELS WHERE star_rating_code  =  \"5\"",
        "query_toks": [
            "SELECT",
            "price_range",
            "FROM",
            "HOTELS",
            "WHERE",
            "star_rating_code",
            "=",
            "``",
            "5",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "price_range",
            "from",
            "hotels",
            "where",
            "star_rating_code",
            "=",
            "value"
        ],
        "question": "Show the price ranges of hotels with 5 star ratings.",
        "question_toks": [
            "Show",
            "the",
            "price",
            "ranges",
            "of",
            "hotels",
            "with",
            "5",
            "star",
            "ratings",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"5\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT price_range FROM HOTELS WHERE star_rating_code  =  \"5\"",
        "query_toks": [
            "SELECT",
            "price_range",
            "FROM",
            "HOTELS",
            "WHERE",
            "star_rating_code",
            "=",
            "``",
            "5",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "price_range",
            "from",
            "hotels",
            "where",
            "star_rating_code",
            "=",
            "value"
        ],
        "question": "What are the price ranges of five star hotels?",
        "question_toks": [
            "What",
            "are",
            "the",
            "price",
            "ranges",
            "of",
            "five",
            "star",
            "hotels",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"5\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT avg(price_range) FROM HOTELS WHERE star_rating_code  =  \"5\" AND pets_allowed_yn  =  1",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price_range",
            ")",
            "FROM",
            "HOTELS",
            "WHERE",
            "star_rating_code",
            "=",
            "``",
            "5",
            "''",
            "AND",
            "pets_allowed_yn",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price_range",
            ")",
            "from",
            "hotels",
            "where",
            "star_rating_code",
            "=",
            "value",
            "and",
            "pets_allowed_yn",
            "=",
            "value"
        ],
        "question": "Show the average price range of hotels that have 5 star ratings and allow pets.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "price",
            "range",
            "of",
            "hotels",
            "that",
            "have",
            "5",
            "star",
            "ratings",
            "and",
            "allow",
            "pets",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"5\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT avg(price_range) FROM HOTELS WHERE star_rating_code  =  \"5\" AND pets_allowed_yn  =  1",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price_range",
            ")",
            "FROM",
            "HOTELS",
            "WHERE",
            "star_rating_code",
            "=",
            "``",
            "5",
            "''",
            "AND",
            "pets_allowed_yn",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price_range",
            ")",
            "from",
            "hotels",
            "where",
            "star_rating_code",
            "=",
            "value",
            "and",
            "pets_allowed_yn",
            "=",
            "value"
        ],
        "question": "What is the average price range of five star hotels that allow pets?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "range",
            "of",
            "five",
            "star",
            "hotels",
            "that",
            "allow",
            "pets",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"5\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Address FROM LOCATIONS WHERE Location_Name  =  \"UK Gallery\"",
        "query_toks": [
            "SELECT",
            "Address",
            "FROM",
            "LOCATIONS",
            "WHERE",
            "Location_Name",
            "=",
            "``",
            "UK",
            "Gallery",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            "from",
            "locations",
            "where",
            "location_name",
            "=",
            "value"
        ],
        "question": "What is the address of the location \"UK Gallery\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "address",
            "of",
            "the",
            "location",
            "``",
            "UK",
            "Gallery",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"UK Gallery\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Address FROM LOCATIONS WHERE Location_Name  =  \"UK Gallery\"",
        "query_toks": [
            "SELECT",
            "Address",
            "FROM",
            "LOCATIONS",
            "WHERE",
            "Location_Name",
            "=",
            "``",
            "UK",
            "Gallery",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "address",
            "from",
            "locations",
            "where",
            "location_name",
            "=",
            "value"
        ],
        "question": "Find the address of the location named \"UK Gallery\".",
        "question_toks": [
            "Find",
            "the",
            "address",
            "of",
            "the",
            "location",
            "named",
            "``",
            "UK",
            "Gallery",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"UK Gallery\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Other_Details FROM LOCATIONS WHERE Location_Name  =  \"UK Gallery\"",
        "query_toks": [
            "SELECT",
            "Other_Details",
            "FROM",
            "LOCATIONS",
            "WHERE",
            "Location_Name",
            "=",
            "``",
            "UK",
            "Gallery",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "other_details",
            "from",
            "locations",
            "where",
            "location_name",
            "=",
            "value"
        ],
        "question": "What is the detail of the location UK Gallery?",
        "question_toks": [
            "What",
            "is",
            "the",
            "detail",
            "of",
            "the",
            "location",
            "UK",
            "Gallery",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"UK Gallery\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Other_Details FROM LOCATIONS WHERE Location_Name  =  \"UK Gallery\"",
        "query_toks": [
            "SELECT",
            "Other_Details",
            "FROM",
            "LOCATIONS",
            "WHERE",
            "Location_Name",
            "=",
            "``",
            "UK",
            "Gallery",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "other_details",
            "from",
            "locations",
            "where",
            "location_name",
            "=",
            "value"
        ],
        "question": "Return the detail of the location named \"UK Gallery\".",
        "question_toks": [
            "Return",
            "the",
            "detail",
            "of",
            "the",
            "location",
            "named",
            "``",
            "UK",
            "Gallery",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"UK Gallery\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE \"%film%\"",
        "query_toks": [
            "SELECT",
            "Location_Name",
            "FROM",
            "LOCATIONS",
            "WHERE",
            "Location_Name",
            "LIKE",
            "``",
            "%",
            "film",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "location_name",
            "from",
            "locations",
            "where",
            "location_name",
            "like",
            "value"
        ],
        "question": "Which location names contain the word \"film\"?",
        "question_toks": [
            "Which",
            "location",
            "names",
            "contain",
            "the",
            "word",
            "``",
            "film",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"%film%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE \"%film%\"",
        "query_toks": [
            "SELECT",
            "Location_Name",
            "FROM",
            "LOCATIONS",
            "WHERE",
            "Location_Name",
            "LIKE",
            "``",
            "%",
            "film",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "location_name",
            "from",
            "locations",
            "where",
            "location_name",
            "like",
            "value"
        ],
        "question": "Find all the locations whose names contain the word \"film\".",
        "question_toks": [
            "Find",
            "all",
            "the",
            "locations",
            "whose",
            "names",
            "contain",
            "the",
            "word",
            "``",
            "film",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"%film%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT count(DISTINCT Name) FROM PHOTOS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Name",
            ")",
            "FROM",
            "PHOTOS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "photos"
        ],
        "question": "How many distinct names are associated with all the photos?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "names",
            "are",
            "associated",
            "with",
            "all",
            "the",
            "photos",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT count(DISTINCT Name) FROM PHOTOS",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "Name",
            ")",
            "FROM",
            "PHOTOS"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "photos"
        ],
        "question": "Count the number of distinct names associated with the photos.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "names",
            "associated",
            "with",
            "the",
            "photos",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT DISTINCT Visit_Date FROM VISITS",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Visit_Date",
            "FROM",
            "VISITS"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "visit_date",
            "from",
            "visits"
        ],
        "question": "What are the distinct visit dates?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "visit",
            "dates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT DISTINCT Visit_Date FROM VISITS",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Visit_Date",
            "FROM",
            "VISITS"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "visit_date",
            "from",
            "visits"
        ],
        "question": "Find all the distinct visit dates.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "distinct",
            "visit",
            "dates",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Name FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There  =  \"bus\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "TOURIST_ATTRACTIONS",
            "WHERE",
            "How_to_Get_There",
            "=",
            "``",
            "bus",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "tourist_attractions",
            "where",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "What are the names of the tourist attractions that can be accessed by bus?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "tourist",
            "attractions",
            "that",
            "can",
            "be",
            "accessed",
            "by",
            "bus",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"bus\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Name FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There  =  \"bus\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "TOURIST_ATTRACTIONS",
            "WHERE",
            "How_to_Get_There",
            "=",
            "``",
            "bus",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "tourist_attractions",
            "where",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "Which tourist attractions can we get to by bus? Tell me the names of the attractions.",
        "question_toks": [
            "Which",
            "tourist",
            "attractions",
            "can",
            "we",
            "get",
            "to",
            "by",
            "bus",
            "?",
            "Tell",
            "me",
            "the",
            "names",
            "of",
            "the",
            "attractions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"bus\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Name ,  Opening_Hours FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There  =  \"bus\" OR How_to_Get_There  =  \"walk\"",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Opening_Hours",
            "FROM",
            "TOURIST_ATTRACTIONS",
            "WHERE",
            "How_to_Get_There",
            "=",
            "``",
            "bus",
            "''",
            "OR",
            "How_to_Get_There",
            "=",
            "``",
            "walk",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "opening_hours",
            "from",
            "tourist_attractions",
            "where",
            "how_to_get_there",
            "=",
            "value",
            "or",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "What are the names and opening hours of the tourist attractions that can be accessed by bus or walk?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "opening",
            "hours",
            "of",
            "the",
            "tourist",
            "attractions",
            "that",
            "can",
            "be",
            "accessed",
            "by",
            "bus",
            "or",
            "walk",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"bus\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"walk\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT Name ,  Opening_Hours FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There  =  \"bus\" OR How_to_Get_There  =  \"walk\"",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Opening_Hours",
            "FROM",
            "TOURIST_ATTRACTIONS",
            "WHERE",
            "How_to_Get_There",
            "=",
            "``",
            "bus",
            "''",
            "OR",
            "How_to_Get_There",
            "=",
            "``",
            "walk",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "opening_hours",
            "from",
            "tourist_attractions",
            "where",
            "how_to_get_there",
            "=",
            "value",
            "or",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "Find the names and opening hours of the tourist attractions that we get to by bus or walk.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "opening",
            "hours",
            "of",
            "the",
            "tourist",
            "attractions",
            "that",
            "we",
            "get",
            "to",
            "by",
            "bus",
            "or",
            "walk",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"bus\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"walk\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.star_rating_description FROM HOTELS AS T1 JOIN Ref_Hotel_Star_Ratings AS T2 ON T1.star_rating_code  =  T2.star_rating_code WHERE T1.price_range  >  10000",
        "query_toks": [
            "SELECT",
            "T2.star_rating_description",
            "FROM",
            "HOTELS",
            "AS",
            "T1",
            "JOIN",
            "Ref_Hotel_Star_Ratings",
            "AS",
            "T2",
            "ON",
            "T1.star_rating_code",
            "=",
            "T2.star_rating_code",
            "WHERE",
            "T1.price_range",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "star_rating_description",
            "from",
            "hotels",
            "as",
            "t1",
            "join",
            "ref_hotel_star_ratings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "star_rating_code",
            "=",
            "t2",
            ".",
            "star_rating_code",
            "where",
            "t1",
            ".",
            "price_range",
            ">",
            "value"
        ],
        "question": "What are the star rating descriptions of the hotels with price above 10000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "star",
            "rating",
            "descriptions",
            "of",
            "the",
            "hotels",
            "with",
            "price",
            "above",
            "10000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.star_rating_description FROM HOTELS AS T1 JOIN Ref_Hotel_Star_Ratings AS T2 ON T1.star_rating_code  =  T2.star_rating_code WHERE T1.price_range  >  10000",
        "query_toks": [
            "SELECT",
            "T2.star_rating_description",
            "FROM",
            "HOTELS",
            "AS",
            "T1",
            "JOIN",
            "Ref_Hotel_Star_Ratings",
            "AS",
            "T2",
            "ON",
            "T1.star_rating_code",
            "=",
            "T2.star_rating_code",
            "WHERE",
            "T1.price_range",
            ">",
            "10000"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "star_rating_description",
            "from",
            "hotels",
            "as",
            "t1",
            "join",
            "ref_hotel_star_ratings",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "star_rating_code",
            "=",
            "t2",
            ".",
            "star_rating_code",
            "where",
            "t1",
            ".",
            "price_range",
            ">",
            "value"
        ],
        "question": "Give me the star rating descriptions of the hotels that cost more than 10000.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "star",
            "rating",
            "descriptions",
            "of",
            "the",
            "hotels",
            "that",
            "cost",
            "more",
            "than",
            "10000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    10000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Museum_Details ,  T2.Opening_Hours FROM MUSEUMS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Museum_ID  =  T2.Tourist_Attraction_ID",
        "query_toks": [
            "SELECT",
            "T1.Museum_Details",
            ",",
            "T2.Opening_Hours",
            "FROM",
            "MUSEUMS",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Museum_ID",
            "=",
            "T2.Tourist_Attraction_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "museum_details",
            ",",
            "t2",
            ".",
            "opening_hours",
            "from",
            "museums",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "museum_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id"
        ],
        "question": "What are the details and opening hours of the museums?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "and",
            "opening",
            "hours",
            "of",
            "the",
            "museums",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Museum_Details ,  T2.Opening_Hours FROM MUSEUMS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Museum_ID  =  T2.Tourist_Attraction_ID",
        "query_toks": [
            "SELECT",
            "T1.Museum_Details",
            ",",
            "T2.Opening_Hours",
            "FROM",
            "MUSEUMS",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Museum_ID",
            "=",
            "T2.Tourist_Attraction_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "museum_details",
            ",",
            "t2",
            ".",
            "opening_hours",
            "from",
            "museums",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "museum_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id"
        ],
        "question": "Give me the detail and opening hour for each museum.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "detail",
            "and",
            "opening",
            "hour",
            "for",
            "each",
            "museum",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID WHERE T1.Name  =  \"game1\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "PHOTOS",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "game1",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "photos",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the name of the tourist attraction that is associated with the photo \"game1\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "tourist",
            "attraction",
            "that",
            "is",
            "associated",
            "with",
            "the",
            "photo",
            "``",
            "game1",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"game1\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID WHERE T1.Name  =  \"game1\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "PHOTOS",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T1.Name",
            "=",
            "``",
            "game1",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "photos",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Which tourist attraction is associated with the photo \"game1\"? Return its name.",
        "question_toks": [
            "Which",
            "tourist",
            "attraction",
            "is",
            "associated",
            "with",
            "the",
            "photo",
            "``",
            "game1",
            "''",
            "?",
            "Return",
            "its",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"game1\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T1.Description FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID WHERE T2.Name  =  \"film festival\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T1.Description",
            "FROM",
            "PHOTOS",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "film",
            "festival",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "description",
            "from",
            "photos",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names and descriptions of the photos taken at the tourist attraction \"film festival\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "descriptions",
            "of",
            "the",
            "photos",
            "taken",
            "at",
            "the",
            "tourist",
            "attraction",
            "``",
            "film",
            "festival",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"film festival\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T1.Description FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID WHERE T2.Name  =  \"film festival\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T1.Description",
            "FROM",
            "PHOTOS",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "film",
            "festival",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "description",
            "from",
            "photos",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the names and descriptions of the photos taken at the tourist attraction called \"film festival\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "and",
            "descriptions",
            "of",
            "the",
            "photos",
            "taken",
            "at",
            "the",
            "tourist",
            "attraction",
            "called",
            "``",
            "film",
            "festival",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"film festival\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Royal_Family_Details ,  T2.How_to_Get_There FROM ROYAL_FAMILY AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Royal_Family_ID  =  T2.Tourist_Attraction_ID",
        "query_toks": [
            "SELECT",
            "T1.Royal_Family_Details",
            ",",
            "T2.How_to_Get_There",
            "FROM",
            "ROYAL_FAMILY",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Royal_Family_ID",
            "=",
            "T2.Tourist_Attraction_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "royal_family_details",
            ",",
            "t2",
            ".",
            "how_to_get_there",
            "from",
            "royal_family",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "royal_family_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id"
        ],
        "question": "What are the details and ways to get to tourist attractions related to royal family?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "and",
            "ways",
            "to",
            "get",
            "to",
            "tourist",
            "attractions",
            "related",
            "to",
            "royal",
            "family",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Royal_Family_Details ,  T2.How_to_Get_There FROM ROYAL_FAMILY AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Royal_Family_ID  =  T2.Tourist_Attraction_ID",
        "query_toks": [
            "SELECT",
            "T1.Royal_Family_Details",
            ",",
            "T2.How_to_Get_There",
            "FROM",
            "ROYAL_FAMILY",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Royal_Family_ID",
            "=",
            "T2.Tourist_Attraction_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "royal_family_details",
            ",",
            "t2",
            ".",
            "how_to_get_there",
            "from",
            "royal_family",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "royal_family_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id"
        ],
        "question": "Which tourist attractions are related to royal family? Tell me their details and how we can get there.",
        "question_toks": [
            "Which",
            "tourist",
            "attractions",
            "are",
            "related",
            "to",
            "royal",
            "family",
            "?",
            "Tell",
            "me",
            "their",
            "details",
            "and",
            "how",
            "we",
            "can",
            "get",
            "there",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID  =  T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There  =  \"walk\"",
        "query_toks": [
            "SELECT",
            "T1.Shop_Details",
            "FROM",
            "SHOPS",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Shop_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T2.How_to_Get_There",
            "=",
            "``",
            "walk",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "shop_details",
            "from",
            "shops",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "What are the details of the shops that can be accessed by walk?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "the",
            "shops",
            "that",
            "can",
            "be",
            "accessed",
            "by",
            "walk",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"walk\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID  =  T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There  =  \"walk\"",
        "query_toks": [
            "SELECT",
            "T1.Shop_Details",
            "FROM",
            "SHOPS",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Shop_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T2.How_to_Get_There",
            "=",
            "``",
            "walk",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "shop_details",
            "from",
            "shops",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "shop_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "Find the details of the shops that can be reached by walk.",
        "question_toks": [
            "Find",
            "the",
            "details",
            "of",
            "the",
            "shops",
            "that",
            "can",
            "be",
            "reached",
            "by",
            "walk",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"walk\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM STAFF AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID WHERE T2.Name  =  \"US museum\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "STAFF",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "US",
            "museum",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the name of the staff that is in charge of the attraction named \"US museum\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "staff",
            "that",
            "is",
            "in",
            "charge",
            "of",
            "the",
            "attraction",
            "named",
            "``",
            "US",
            "museum",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"US museum\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM STAFF AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID WHERE T2.Name  =  \"US museum\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "STAFF",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T2.Name",
            "=",
            "``",
            "US",
            "museum",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "staff",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Tell me the name of the staff in charge of the attraction called \"US museum\".",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "name",
            "of",
            "the",
            "staff",
            "in",
            "charge",
            "of",
            "the",
            "attraction",
            "called",
            "``",
            "US",
            "museum",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"US museum\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID  =  T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There  =  \"walk\" OR  T2.How_to_Get_There  =  \"bus\"",
        "query_toks": [
            "SELECT",
            "T1.Market_Details",
            "FROM",
            "Street_Markets",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T2.How_to_Get_There",
            "=",
            "``",
            "walk",
            "''",
            "OR",
            "T2.How_to_Get_There",
            "=",
            "``",
            "bus",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "market_details",
            "from",
            "street_markets",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "What are the details of the markets that can be accessed by walk or bus?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "the",
            "markets",
            "that",
            "can",
            "be",
            "accessed",
            "by",
            "walk",
            "or",
            "bus",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"walk\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"bus\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID  =  T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There  =  \"walk\" OR  T2.How_to_Get_There  =  \"bus\"",
        "query_toks": [
            "SELECT",
            "T1.Market_Details",
            "FROM",
            "Street_Markets",
            "AS",
            "T1",
            "JOIN",
            "TOURIST_ATTRACTIONS",
            "AS",
            "T2",
            "ON",
            "T1.Market_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "WHERE",
            "T2.How_to_Get_There",
            "=",
            "``",
            "walk",
            "''",
            "OR",
            "T2.How_to_Get_There",
            "=",
            "``",
            "bus",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "market_details",
            "from",
            "street_markets",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "market_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "where",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "Find the details of all the markets that are accessible by walk or bus.",
        "question_toks": [
            "Find",
            "the",
            "details",
            "of",
            "all",
            "the",
            "markets",
            "that",
            "are",
            "accessible",
            "by",
            "walk",
            "or",
            "bus",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"walk\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"bus\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.Visit_Date ,  T2.Visit_Details FROM VISITORS AS T1 JOIN VISITS AS T2 ON T1.Tourist_ID  =  T2.Tourist_ID WHERE T1.Tourist_Details  =  \"Vincent\"",
        "query_toks": [
            "SELECT",
            "T2.Visit_Date",
            ",",
            "T2.Visit_Details",
            "FROM",
            "VISITORS",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_ID",
            "=",
            "T2.Tourist_ID",
            "WHERE",
            "T1.Tourist_Details",
            "=",
            "``",
            "Vincent",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "visit_date",
            ",",
            "t2",
            ".",
            "visit_details",
            "from",
            "visitors",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_id",
            "=",
            "t2",
            ".",
            "tourist_id",
            "where",
            "t1",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "What are the visit date and details of the visitor whose detail is 'Vincent'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "visit",
            "date",
            "and",
            "details",
            "of",
            "the",
            "visitor",
            "whose",
            "detail",
            "is",
            "'Vincent",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vincent\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.Visit_Date ,  T2.Visit_Details FROM VISITORS AS T1 JOIN VISITS AS T2 ON T1.Tourist_ID  =  T2.Tourist_ID WHERE T1.Tourist_Details  =  \"Vincent\"",
        "query_toks": [
            "SELECT",
            "T2.Visit_Date",
            ",",
            "T2.Visit_Details",
            "FROM",
            "VISITORS",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_ID",
            "=",
            "T2.Tourist_ID",
            "WHERE",
            "T1.Tourist_Details",
            "=",
            "``",
            "Vincent",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "visit_date",
            ",",
            "t2",
            ".",
            "visit_details",
            "from",
            "visitors",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_id",
            "=",
            "t2",
            ".",
            "tourist_id",
            "where",
            "t1",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "Find the visit date and details of the tourist whose detail is 'Vincent'",
        "question_toks": [
            "Find",
            "the",
            "visit",
            "date",
            "and",
            "details",
            "of",
            "the",
            "tourist",
            "whose",
            "detail",
            "is",
            "'Vincent",
            "'"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vincent\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID  =  T3.Tourist_ID WHERE T3.Tourist_Details  =  \"Vincent\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "JOIN",
            "VISITORS",
            "AS",
            "T3",
            "ON",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T3.Tourist_Details",
            "=",
            "``",
            "Vincent",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "join",
            "visitors",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t3",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "Which tourist attractions does the visitor with detail 'Vincent' visit?",
        "question_toks": [
            "Which",
            "tourist",
            "attractions",
            "does",
            "the",
            "visitor",
            "with",
            "detail",
            "'Vincent",
            "'",
            "visit",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vincent\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID  =  T3.Tourist_ID WHERE T3.Tourist_Details  =  \"Vincent\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "JOIN",
            "VISITORS",
            "AS",
            "T3",
            "ON",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T3.Tourist_Details",
            "=",
            "``",
            "Vincent",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "join",
            "visitors",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t3",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "Show the tourist attractions visited by the tourist whose detail is 'Vincent'.",
        "question_toks": [
            "Show",
            "the",
            "tourist",
            "attractions",
            "visited",
            "by",
            "the",
            "tourist",
            "whose",
            "detail",
            "is",
            "'Vincent",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vincent\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T3.Visit_Date FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Vincent\" OR T2.Tourist_Details  =  \"Vivian\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T3.Visit_Date",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Vincent",
            "''",
            "OR",
            "T2.Tourist_Details",
            "=",
            "``",
            "Vivian",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "visit_date",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "tourist",
            "attractions",
            "and",
            "the",
            "dates",
            "when",
            "the",
            "tourists",
            "named",
            "Vincent",
            "or",
            "Vivian",
            "visited",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vincent\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vivian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T3.Visit_Date FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Vincent\" OR T2.Tourist_Details  =  \"Vivian\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T3.Visit_Date",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Vincent",
            "''",
            "OR",
            "T2.Tourist_Details",
            "=",
            "``",
            "Vivian",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "visit_date",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "For each tourist attraction, return its name and the date when the tourists named Vincent or Vivian visited there.",
        "question_toks": [
            "For",
            "each",
            "tourist",
            "attraction",
            ",",
            "return",
            "its",
            "name",
            "and",
            "the",
            "date",
            "when",
            "the",
            "tourists",
            "named",
            "Vincent",
            "or",
            "Vivian",
            "visited",
            "there",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vincent\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vivian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT star_rating_code ,  avg(price_range) FROM HOTELS GROUP BY star_rating_code",
        "query_toks": [
            "SELECT",
            "star_rating_code",
            ",",
            "avg",
            "(",
            "price_range",
            ")",
            "FROM",
            "HOTELS",
            "GROUP",
            "BY",
            "star_rating_code"
        ],
        "query_toks_no_value": [
            "select",
            "star_rating_code",
            ",",
            "avg",
            "(",
            "price_range",
            ")",
            "from",
            "hotels",
            "group",
            "by",
            "star_rating_code"
        ],
        "question": "Show the average price of hotels for each star rating code.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "price",
            "of",
            "hotels",
            "for",
            "each",
            "star",
            "rating",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT star_rating_code ,  avg(price_range) FROM HOTELS GROUP BY star_rating_code",
        "query_toks": [
            "SELECT",
            "star_rating_code",
            ",",
            "avg",
            "(",
            "price_range",
            ")",
            "FROM",
            "HOTELS",
            "GROUP",
            "BY",
            "star_rating_code"
        ],
        "query_toks_no_value": [
            "select",
            "star_rating_code",
            ",",
            "avg",
            "(",
            "price_range",
            ")",
            "from",
            "hotels",
            "group",
            "by",
            "star_rating_code"
        ],
        "question": "What is the average price range of hotels for each each star rating code?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "range",
            "of",
            "hotels",
            "for",
            "each",
            "each",
            "star",
            "rating",
            "code",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT pets_allowed_yn ,  avg(price_range) FROM HOTELS GROUP BY pets_allowed_yn",
        "query_toks": [
            "SELECT",
            "pets_allowed_yn",
            ",",
            "avg",
            "(",
            "price_range",
            ")",
            "FROM",
            "HOTELS",
            "GROUP",
            "BY",
            "pets_allowed_yn"
        ],
        "query_toks_no_value": [
            "select",
            "pets_allowed_yn",
            ",",
            "avg",
            "(",
            "price_range",
            ")",
            "from",
            "hotels",
            "group",
            "by",
            "pets_allowed_yn"
        ],
        "question": "Show the average price of hotels for different pet policy.",
        "question_toks": [
            "Show",
            "the",
            "average",
            "price",
            "of",
            "hotels",
            "for",
            "different",
            "pet",
            "policy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT pets_allowed_yn ,  avg(price_range) FROM HOTELS GROUP BY pets_allowed_yn",
        "query_toks": [
            "SELECT",
            "pets_allowed_yn",
            ",",
            "avg",
            "(",
            "price_range",
            ")",
            "FROM",
            "HOTELS",
            "GROUP",
            "BY",
            "pets_allowed_yn"
        ],
        "query_toks_no_value": [
            "select",
            "pets_allowed_yn",
            ",",
            "avg",
            "(",
            "price_range",
            ")",
            "from",
            "hotels",
            "group",
            "by",
            "pets_allowed_yn"
        ],
        "question": "What are the average prices of hotels grouped by their pet policy.",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "prices",
            "of",
            "hotels",
            "grouped",
            "by",
            "their",
            "pet",
            "policy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT hotel_id ,  star_rating_code FROM HOTELS ORDER BY price_range ASC",
        "query_toks": [
            "SELECT",
            "hotel_id",
            ",",
            "star_rating_code",
            "FROM",
            "HOTELS",
            "ORDER",
            "BY",
            "price_range",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "hotel_id",
            ",",
            "star_rating_code",
            "from",
            "hotels",
            "order",
            "by",
            "price_range",
            "asc"
        ],
        "question": "Show the id and star rating of each hotel, ordered by its price from low to high.",
        "question_toks": [
            "Show",
            "the",
            "id",
            "and",
            "star",
            "rating",
            "of",
            "each",
            "hotel",
            ",",
            "ordered",
            "by",
            "its",
            "price",
            "from",
            "low",
            "to",
            "high",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT hotel_id ,  star_rating_code FROM HOTELS ORDER BY price_range ASC",
        "query_toks": [
            "SELECT",
            "hotel_id",
            ",",
            "star_rating_code",
            "FROM",
            "HOTELS",
            "ORDER",
            "BY",
            "price_range",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "hotel_id",
            ",",
            "star_rating_code",
            "from",
            "hotels",
            "order",
            "by",
            "price_range",
            "asc"
        ],
        "question": "Find the id and star rating of each hotel and sort them in increasing order of price.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "and",
            "star",
            "rating",
            "of",
            "each",
            "hotel",
            "and",
            "sort",
            "them",
            "in",
            "increasing",
            "order",
            "of",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT other_hotel_details FROM HOTELS ORDER BY price_range DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "other_hotel_details",
            "FROM",
            "HOTELS",
            "ORDER",
            "BY",
            "price_range",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "other_hotel_details",
            "from",
            "hotels",
            "order",
            "by",
            "price_range",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the details of the top 3 most expensive hotels.",
        "question_toks": [
            "Show",
            "the",
            "details",
            "of",
            "the",
            "top",
            "3",
            "most",
            "expensive",
            "hotels",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT other_hotel_details FROM HOTELS ORDER BY price_range DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "other_hotel_details",
            "FROM",
            "HOTELS",
            "ORDER",
            "BY",
            "price_range",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "other_hotel_details",
            "from",
            "hotels",
            "order",
            "by",
            "price_range",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the details of the three most expensive hotels?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "the",
            "three",
            "most",
            "expensive",
            "hotels",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT other_hotel_details ,  star_rating_code FROM HOTELS ORDER BY price_range ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "other_hotel_details",
            ",",
            "star_rating_code",
            "FROM",
            "HOTELS",
            "ORDER",
            "BY",
            "price_range",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "other_hotel_details",
            ",",
            "star_rating_code",
            "from",
            "hotels",
            "order",
            "by",
            "price_range",
            "asc",
            "limit",
            "value"
        ],
        "question": "Show the details and star ratings of the 3 least expensive hotels.",
        "question_toks": [
            "Show",
            "the",
            "details",
            "and",
            "star",
            "ratings",
            "of",
            "the",
            "3",
            "least",
            "expensive",
            "hotels",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT other_hotel_details ,  star_rating_code FROM HOTELS ORDER BY price_range ASC LIMIT 3",
        "query_toks": [
            "SELECT",
            "other_hotel_details",
            ",",
            "star_rating_code",
            "FROM",
            "HOTELS",
            "ORDER",
            "BY",
            "price_range",
            "ASC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "other_hotel_details",
            ",",
            "star_rating_code",
            "from",
            "hotels",
            "order",
            "by",
            "price_range",
            "asc",
            "limit",
            "value"
        ],
        "question": "What are the details and star ratings of the three hotels with the lowest price ranges?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "and",
            "star",
            "ratings",
            "of",
            "the",
            "three",
            "hotels",
            "with",
            "the",
            "lowest",
            "price",
            "ranges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT How_to_Get_There FROM Tourist_Attractions GROUP BY How_to_Get_There ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "How_to_Get_There",
            "FROM",
            "Tourist_Attractions",
            "GROUP",
            "BY",
            "How_to_Get_There",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "how_to_get_there",
            "from",
            "tourist_attractions",
            "group",
            "by",
            "how_to_get_there",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the transportation method most people choose to get to tourist attractions.",
        "question_toks": [
            "Show",
            "the",
            "transportation",
            "method",
            "most",
            "people",
            "choose",
            "to",
            "get",
            "to",
            "tourist",
            "attractions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT How_to_Get_There FROM Tourist_Attractions GROUP BY How_to_Get_There ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "How_to_Get_There",
            "FROM",
            "Tourist_Attractions",
            "GROUP",
            "BY",
            "How_to_Get_There",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "how_to_get_there",
            "from",
            "tourist_attractions",
            "group",
            "by",
            "how_to_get_there",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which transportation method is used the most often to get to tourist attractions?",
        "question_toks": [
            "Which",
            "transportation",
            "method",
            "is",
            "used",
            "the",
            "most",
            "often",
            "to",
            "get",
            "to",
            "tourist",
            "attractions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Attraction_Type_Description ,  T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code  =  T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Attraction_Type_Description",
            ",",
            "T2.Attraction_Type_Code",
            "FROM",
            "Ref_Attraction_Types",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attractions",
            "AS",
            "T2",
            "ON",
            "T1.Attraction_Type_Code",
            "=",
            "T2.Attraction_Type_Code",
            "GROUP",
            "BY",
            "T2.Attraction_Type_Code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "attraction_type_description",
            ",",
            "t2",
            ".",
            "attraction_type_code",
            "from",
            "ref_attraction_types",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "attraction_type_code",
            "=",
            "t2",
            ".",
            "attraction_type_code",
            "group",
            "by",
            "t2",
            ".",
            "attraction_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the description and code of the attraction type most tourist attractions belong to.",
        "question_toks": [
            "Show",
            "the",
            "description",
            "and",
            "code",
            "of",
            "the",
            "attraction",
            "type",
            "most",
            "tourist",
            "attractions",
            "belong",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Attraction_Type_Description ,  T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code  =  T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Attraction_Type_Description",
            ",",
            "T2.Attraction_Type_Code",
            "FROM",
            "Ref_Attraction_Types",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attractions",
            "AS",
            "T2",
            "ON",
            "T1.Attraction_Type_Code",
            "=",
            "T2.Attraction_Type_Code",
            "GROUP",
            "BY",
            "T2.Attraction_Type_Code",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "attraction_type_description",
            ",",
            "t2",
            ".",
            "attraction_type_code",
            "from",
            "ref_attraction_types",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "attraction_type_code",
            "=",
            "t2",
            ".",
            "attraction_type_code",
            "group",
            "by",
            "t2",
            ".",
            "attraction_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which attraction type does the most tourist attractions belong to? Tell me its  attraction type description and code.",
        "question_toks": [
            "Which",
            "attraction",
            "type",
            "does",
            "the",
            "most",
            "tourist",
            "attractions",
            "belong",
            "to",
            "?",
            "Tell",
            "me",
            "its",
            "attraction",
            "type",
            "description",
            "and",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT How_to_Get_There ,  COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There",
        "query_toks": [
            "SELECT",
            "How_to_Get_There",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Tourist_Attractions",
            "GROUP",
            "BY",
            "How_to_Get_There"
        ],
        "query_toks_no_value": [
            "select",
            "how_to_get_there",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tourist_attractions",
            "group",
            "by",
            "how_to_get_there"
        ],
        "question": "Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way.",
        "question_toks": [
            "Show",
            "different",
            "ways",
            "to",
            "get",
            "to",
            "attractions",
            "and",
            "the",
            "number",
            "of",
            "attractions",
            "that",
            "can",
            "be",
            "accessed",
            "in",
            "the",
            "corresponding",
            "way",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT How_to_Get_There ,  COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There",
        "query_toks": [
            "SELECT",
            "How_to_Get_There",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Tourist_Attractions",
            "GROUP",
            "BY",
            "How_to_Get_There"
        ],
        "query_toks_no_value": [
            "select",
            "how_to_get_there",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tourist_attractions",
            "group",
            "by",
            "how_to_get_there"
        ],
        "question": "List all the possible ways to get to attractions, together with the number of attractions accessible by these methods.",
        "question_toks": [
            "List",
            "all",
            "the",
            "possible",
            "ways",
            "to",
            "get",
            "to",
            "attractions",
            ",",
            "together",
            "with",
            "the",
            "number",
            "of",
            "attractions",
            "accessible",
            "by",
            "these",
            "methods",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T2.Tourist_Attraction_ID ,   COUNT(*) FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Tourist_Attraction_ID",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "GROUP",
            "BY",
            "T2.Tourist_Attraction_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "tourist_attraction_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "group",
            "by",
            "t2",
            ".",
            "tourist_attraction_id"
        ],
        "question": "Show different tourist attractions' names, ids, and the corresponding number of visits.",
        "question_toks": [
            "Show",
            "different",
            "tourist",
            "attractions",
            "'",
            "names",
            ",",
            "ids",
            ",",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "visits",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T2.Tourist_Attraction_ID ,   COUNT(*) FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Tourist_Attraction_ID",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "GROUP",
            "BY",
            "T2.Tourist_Attraction_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "tourist_attraction_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "group",
            "by",
            "t2",
            ".",
            "tourist_attraction_id"
        ],
        "question": "What are the name, id and the corresponding number of visits for each  tourist attraction?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            ",",
            "id",
            "and",
            "the",
            "corresponding",
            "number",
            "of",
            "visits",
            "for",
            "each",
            "tourist",
            "attraction",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Tourist_Attraction_ID",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "GROUP",
            "BY",
            "T2.Tourist_Attraction_ID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "tourist_attraction_id",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "group",
            "by",
            "t2",
            ".",
            "tourist_attraction_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the names and ids of tourist attractions that are visited at least two times.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "tourist",
            "attractions",
            "that",
            "are",
            "visited",
            "at",
            "least",
            "two",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T2.Tourist_Attraction_ID",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "GROUP",
            "BY",
            "T2.Tourist_Attraction_ID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "tourist_attraction_id",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "group",
            "by",
            "t2",
            ".",
            "tourist_attraction_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which tourist attractions are visited at least twice? Give me their names and ids.",
        "question_toks": [
            "Which",
            "tourist",
            "attractions",
            "are",
            "visited",
            "at",
            "least",
            "twice",
            "?",
            "Give",
            "me",
            "their",
            "names",
            "and",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING count(*)  <=  1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T1.Tourist_Attraction_ID",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "GROUP",
            "BY",
            "T2.Tourist_Attraction_ID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "tourist_attraction_id",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "group",
            "by",
            "t2",
            ".",
            "tourist_attraction_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "Show the names and ids of tourist attractions that are visited at most once.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "tourist",
            "attractions",
            "that",
            "are",
            "visited",
            "at",
            "most",
            "once",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name ,  T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID  =  T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING count(*)  <=  1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T1.Tourist_Attraction_ID",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITS",
            "AS",
            "T2",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T2.Tourist_Attraction_ID",
            "GROUP",
            "BY",
            "T2.Tourist_Attraction_ID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "tourist_attraction_id",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visits",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "group",
            "by",
            "t2",
            ".",
            "tourist_attraction_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "What are the names and ids of the tourist attractions that are visited at most once?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "the",
            "tourist",
            "attractions",
            "that",
            "are",
            "visited",
            "at",
            "most",
            "once",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    37,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID  =  T2.Location_ID WHERE T1.Address  =  \"660 Shea Crescent\" OR T2.How_to_Get_There  =  \"walk\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "Locations",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attractions",
            "AS",
            "T2",
            "ON",
            "T1.Location_ID",
            "=",
            "T2.Location_ID",
            "WHERE",
            "T1.Address",
            "=",
            "``",
            "660",
            "Shea",
            "Crescent",
            "''",
            "OR",
            "T2.How_to_Get_There",
            "=",
            "``",
            "walk",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "locations",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "location_id",
            "=",
            "t2",
            ".",
            "location_id",
            "where",
            "t1",
            ".",
            "address",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "tourist",
            "attractions",
            "that",
            "can",
            "be",
            "reached",
            "by",
            "walk",
            "or",
            "is",
            "at",
            "address",
            "660",
            "Shea",
            "Crescent",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"660 Shea Crescent\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"walk\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID  =  T2.Location_ID WHERE T1.Address  =  \"660 Shea Crescent\" OR T2.How_to_Get_There  =  \"walk\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "Locations",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attractions",
            "AS",
            "T2",
            "ON",
            "T1.Location_ID",
            "=",
            "T2.Location_ID",
            "WHERE",
            "T1.Address",
            "=",
            "``",
            "660",
            "Shea",
            "Crescent",
            "''",
            "OR",
            "T2.How_to_Get_There",
            "=",
            "``",
            "walk",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "locations",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "location_id",
            "=",
            "t2",
            ".",
            "location_id",
            "where",
            "t1",
            ".",
            "address",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "Find the names of the tourist attractions that is either accessible by walk or at address 660 Shea Crescent.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "tourist",
            "attractions",
            "that",
            "is",
            "either",
            "accessible",
            "by",
            "walk",
            "or",
            "at",
            "address",
            "660",
            "Shea",
            "Crescent",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"660 Shea Crescent\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"walk\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id  =  T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID  =  T3.Feature_ID WHERE T3.feature_Details  =  'park' UNION SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id  =  T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID  =  T3.Feature_ID WHERE T3.feature_Details  =  'shopping'",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attraction_Features",
            "AS",
            "T2",
            "ON",
            "T1.tourist_attraction_id",
            "=",
            "T2.tourist_attraction_id",
            "JOIN",
            "Features",
            "AS",
            "T3",
            "ON",
            "T2.Feature_ID",
            "=",
            "T3.Feature_ID",
            "WHERE",
            "T3.feature_Details",
            "=",
            "'park",
            "'",
            "UNION",
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attraction_Features",
            "AS",
            "T2",
            "ON",
            "T1.tourist_attraction_id",
            "=",
            "T2.tourist_attraction_id",
            "JOIN",
            "Features",
            "AS",
            "T3",
            "ON",
            "T2.Feature_ID",
            "=",
            "T3.Feature_ID",
            "WHERE",
            "T3.feature_Details",
            "=",
            "'shopping",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "tourist_attraction_features",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "join",
            "features",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "feature_id",
            "=",
            "t3",
            ".",
            "feature_id",
            "where",
            "t3",
            ".",
            "feature_details",
            "=",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "tourist_attraction_features",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "join",
            "features",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "feature_id",
            "=",
            "t3",
            ".",
            "feature_id",
            "where",
            "t3",
            ".",
            "feature_details",
            "=",
            "value"
        ],
        "question": "What are the names of the tourist attractions that have parking or shopping as their feature details?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "tourist",
            "attractions",
            "that",
            "have",
            "parking",
            "or",
            "shopping",
            "as",
            "their",
            "feature",
            "details",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        15
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                52,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"park\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            15
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    52,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"shopping\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id  =  T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID  =  T3.Feature_ID WHERE T3.feature_Details  =  'park' UNION SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id  =  T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID  =  T3.Feature_ID WHERE T3.feature_Details  =  'shopping'",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attraction_Features",
            "AS",
            "T2",
            "ON",
            "T1.tourist_attraction_id",
            "=",
            "T2.tourist_attraction_id",
            "JOIN",
            "Features",
            "AS",
            "T3",
            "ON",
            "T2.Feature_ID",
            "=",
            "T3.Feature_ID",
            "WHERE",
            "T3.feature_Details",
            "=",
            "'park",
            "'",
            "UNION",
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attraction_Features",
            "AS",
            "T2",
            "ON",
            "T1.tourist_attraction_id",
            "=",
            "T2.tourist_attraction_id",
            "JOIN",
            "Features",
            "AS",
            "T3",
            "ON",
            "T2.Feature_ID",
            "=",
            "T3.Feature_ID",
            "WHERE",
            "T3.feature_Details",
            "=",
            "'shopping",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "tourist_attraction_features",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "join",
            "features",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "feature_id",
            "=",
            "t3",
            ".",
            "feature_id",
            "where",
            "t3",
            ".",
            "feature_details",
            "=",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "tourist_attraction_features",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t2",
            ".",
            "tourist_attraction_id",
            "join",
            "features",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "feature_id",
            "=",
            "t3",
            ".",
            "feature_id",
            "where",
            "t3",
            ".",
            "feature_details",
            "=",
            "value"
        ],
        "question": "Find the tourist attractions that have parking or shopping as their feature details. What are the names of the attractions?",
        "question_toks": [
            "Find",
            "the",
            "tourist",
            "attractions",
            "that",
            "have",
            "parking",
            "or",
            "shopping",
            "as",
            "their",
            "feature",
            "details",
            ".",
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "attractions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        15
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                52,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"park\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            15
                        ],
                        [
                            "table_unit",
                            4
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    52,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"shopping\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID  =  T2.Location_ID WHERE T1.Address  =  \"254 Ottilie Junction\" OR T2.How_to_Get_There  =  \"bus\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "Locations",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attractions",
            "AS",
            "T2",
            "ON",
            "T1.Location_ID",
            "=",
            "T2.Location_ID",
            "WHERE",
            "T1.Address",
            "=",
            "``",
            "254",
            "Ottilie",
            "Junction",
            "''",
            "OR",
            "T2.How_to_Get_There",
            "=",
            "``",
            "bus",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "locations",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "location_id",
            "=",
            "t2",
            ".",
            "location_id",
            "where",
            "t1",
            ".",
            "address",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "tourist",
            "attractions",
            "that",
            "can",
            "be",
            "reached",
            "by",
            "bus",
            "or",
            "is",
            "at",
            "address",
            "254",
            "Ottilie",
            "Junction",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"254 Ottilie Junction\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"bus\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID  =  T2.Location_ID WHERE T1.Address  =  \"254 Ottilie Junction\" OR T2.How_to_Get_There  =  \"bus\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "Locations",
            "AS",
            "T1",
            "JOIN",
            "Tourist_Attractions",
            "AS",
            "T2",
            "ON",
            "T1.Location_ID",
            "=",
            "T2.Location_ID",
            "WHERE",
            "T1.Address",
            "=",
            "``",
            "254",
            "Ottilie",
            "Junction",
            "''",
            "OR",
            "T2.How_to_Get_There",
            "=",
            "``",
            "bus",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "locations",
            "as",
            "t1",
            "join",
            "tourist_attractions",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "location_id",
            "=",
            "t2",
            ".",
            "location_id",
            "where",
            "t1",
            ".",
            "address",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "how_to_get_there",
            "=",
            "value"
        ],
        "question": "Find the names of the tourist attractions that is either accessible by bus or at address 254 Ottilie Junction.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "tourist",
            "attractions",
            "that",
            "is",
            "either",
            "accessible",
            "by",
            "bus",
            "or",
            "at",
            "address",
            "254",
            "Ottilie",
            "Junction",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"254 Ottilie Junction\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"bus\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Vincent\" INTERSECT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Marcelle\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Vincent",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Marcelle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "What are the names of the tourist attractions Vincent and Marcelle visit?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "tourist",
            "attractions",
            "Vincent",
            "and",
            "Marcelle",
            "visit",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vincent\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            12
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Marcelle\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Vincent\" INTERSECT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Marcelle\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Vincent",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Marcelle",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "Which tourist attractions do the tourists Vincent and Marcelle visit? Tell me the names of the attractions.",
        "question_toks": [
            "Which",
            "tourist",
            "attractions",
            "do",
            "the",
            "tourists",
            "Vincent",
            "and",
            "Marcelle",
            "visit",
            "?",
            "Tell",
            "me",
            "the",
            "names",
            "of",
            "the",
            "attractions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Vincent\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            12
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Marcelle\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Alison\" EXCEPT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Rosalind\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Alison",
            "''",
            "EXCEPT",
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Rosalind",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "What are the names of tourist attraction that Alison visited but Rosalind did not visit?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "tourist",
            "attraction",
            "that",
            "Alison",
            "visited",
            "but",
            "Rosalind",
            "did",
            "not",
            "visit",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Alison\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            12
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Rosalind\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Alison\" EXCEPT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID  =  T3.Tourist_Attraction_ID AND T2.Tourist_ID  =  T3.Tourist_ID WHERE T2.Tourist_Details  =  \"Rosalind\"",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Alison",
            "''",
            "EXCEPT",
            "SELECT",
            "T1.Name",
            "FROM",
            "Tourist_Attractions",
            "AS",
            "T1",
            "JOIN",
            "VISITORS",
            "AS",
            "T2",
            "JOIN",
            "VISITS",
            "AS",
            "T3",
            "ON",
            "T1.Tourist_Attraction_ID",
            "=",
            "T3.Tourist_Attraction_ID",
            "AND",
            "T2.Tourist_ID",
            "=",
            "T3.Tourist_ID",
            "WHERE",
            "T2.Tourist_Details",
            "=",
            "``",
            "Rosalind",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value",
            "except",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "tourist_attractions",
            "as",
            "t1",
            "join",
            "visitors",
            "as",
            "t2",
            "join",
            "visits",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "tourist_attraction_id",
            "=",
            "t3",
            ".",
            "tourist_attraction_id",
            "and",
            "t2",
            ".",
            "tourist_id",
            "=",
            "t3",
            ".",
            "tourist_id",
            "where",
            "t2",
            ".",
            "tourist_details",
            "=",
            "value"
        ],
        "question": "Find the the names of the tourist attractions that the tourist named Alison visited but Rosalind did not visit.",
        "question_toks": [
            "Find",
            "the",
            "the",
            "names",
            "of",
            "the",
            "tourist",
            "attractions",
            "that",
            "the",
            "tourist",
            "named",
            "Alison",
            "visited",
            "but",
            "Rosalind",
            "did",
            "not",
            "visit",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        12
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Alison\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            12
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    18,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                37,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Rosalind\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT count(*) FROM Visitors WHERE Tourist_ID NOT IN ( SELECT Tourist_ID FROM Visits )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Visitors",
            "WHERE",
            "Tourist_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Tourist_ID",
            "FROM",
            "Visits",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "visitors",
            "where",
            "tourist_id",
            "not",
            "in",
            "(",
            "select",
            "tourist_id",
            "from",
            "visits",
            ")"
        ],
        "question": "How many tourists did not make any visit?",
        "question_toks": [
            "How",
            "many",
            "tourists",
            "did",
            "not",
            "make",
            "any",
            "visit",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    12
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            38,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Theme_park",
        "query": "SELECT count(*) FROM Visitors WHERE Tourist_ID NOT IN ( SELECT Tourist_ID FROM Visits )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Visitors",
            "WHERE",
            "Tourist_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Tourist_ID",
            "FROM",
            "Visits",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "visitors",
            "where",
            "tourist_id",
            "not",
            "in",
            "(",
            "select",
            "tourist_id",
            "from",
            "visits",
            ")"
        ],
        "question": "Count the number of tourists who did not visit any place.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "tourists",
            "who",
            "did",
            "not",
            "visit",
            "any",
            "place",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    12
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            38,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(*) FROM Video_games",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Video_games"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "video_games"
        ],
        "question": "How many video games exist?",
        "question_toks": [
            "How",
            "many",
            "video",
            "games",
            "exist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(*) FROM Video_games",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Video_games"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "video_games"
        ],
        "question": "How many video games do you have?",
        "question_toks": [
            "How",
            "many",
            "video",
            "games",
            "do",
            "you",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(DISTINCT gtype) FROM Video_games",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "gtype",
            ")",
            "FROM",
            "Video_games"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "gtype",
            ")",
            "from",
            "video_games"
        ],
        "question": "How many video game types exist?",
        "question_toks": [
            "How",
            "many",
            "video",
            "game",
            "types",
            "exist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(DISTINCT gtype) FROM Video_games",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "gtype",
            ")",
            "FROM",
            "Video_games"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "gtype",
            ")",
            "from",
            "video_games"
        ],
        "question": "What is the count of different game types?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "different",
            "game",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT DISTINCT gtype FROM Video_games",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "gtype",
            "FROM",
            "Video_games"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "gtype",
            "from",
            "video_games"
        ],
        "question": "Show all video game types.",
        "question_toks": [
            "Show",
            "all",
            "video",
            "game",
            "types",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT DISTINCT gtype FROM Video_games",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "gtype",
            "FROM",
            "Video_games"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "gtype",
            "from",
            "video_games"
        ],
        "question": "What are the different types of video games?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "types",
            "of",
            "video",
            "games",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gname ,  gtype FROM Video_games ORDER BY gname",
        "query_toks": [
            "SELECT",
            "gname",
            ",",
            "gtype",
            "FROM",
            "Video_games",
            "ORDER",
            "BY",
            "gname"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            ",",
            "gtype",
            "from",
            "video_games",
            "order",
            "by",
            "gname"
        ],
        "question": "Show all video games and their types in the order of their names.",
        "question_toks": [
            "Show",
            "all",
            "video",
            "games",
            "and",
            "their",
            "types",
            "in",
            "the",
            "order",
            "of",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gname ,  gtype FROM Video_games ORDER BY gname",
        "query_toks": [
            "SELECT",
            "gname",
            ",",
            "gtype",
            "FROM",
            "Video_games",
            "ORDER",
            "BY",
            "gname"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            ",",
            "gtype",
            "from",
            "video_games",
            "order",
            "by",
            "gname"
        ],
        "question": "What are the names of all the video games and their types in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "video",
            "games",
            "and",
            "their",
            "types",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gname FROM Video_games WHERE gtype  =  \"Collectible card game\"",
        "query_toks": [
            "SELECT",
            "gname",
            "FROM",
            "Video_games",
            "WHERE",
            "gtype",
            "=",
            "``",
            "Collectible",
            "card",
            "game",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            "from",
            "video_games",
            "where",
            "gtype",
            "=",
            "value"
        ],
        "question": "Show all video games with type Collectible card game.",
        "question_toks": [
            "Show",
            "all",
            "video",
            "games",
            "with",
            "type",
            "Collectible",
            "card",
            "game",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Collectible card game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gname FROM Video_games WHERE gtype  =  \"Collectible card game\"",
        "query_toks": [
            "SELECT",
            "gname",
            "FROM",
            "Video_games",
            "WHERE",
            "gtype",
            "=",
            "``",
            "Collectible",
            "card",
            "game",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            "from",
            "video_games",
            "where",
            "gtype",
            "=",
            "value"
        ],
        "question": "What are the names of all video games that are collectible cards?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "video",
            "games",
            "that",
            "are",
            "collectible",
            "cards",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Collectible card game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gtype FROM Video_games WHERE gname  =  \"Call of Destiny\"",
        "query_toks": [
            "SELECT",
            "gtype",
            "FROM",
            "Video_games",
            "WHERE",
            "gname",
            "=",
            "``",
            "Call",
            "of",
            "Destiny",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "gtype",
            "from",
            "video_games",
            "where",
            "gname",
            "=",
            "value"
        ],
        "question": "What is the type of video game Call of Destiny.",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "of",
            "video",
            "game",
            "Call",
            "of",
            "Destiny",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Call of Destiny\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gtype FROM Video_games WHERE gname  =  \"Call of Destiny\"",
        "query_toks": [
            "SELECT",
            "gtype",
            "FROM",
            "Video_games",
            "WHERE",
            "gname",
            "=",
            "``",
            "Call",
            "of",
            "Destiny",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "gtype",
            "from",
            "video_games",
            "where",
            "gname",
            "=",
            "value"
        ],
        "question": "What type of game is Call of Destiny?",
        "question_toks": [
            "What",
            "type",
            "of",
            "game",
            "is",
            "Call",
            "of",
            "Destiny",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Call of Destiny\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(*) FROM Video_games WHERE gtype  =  \"Massively multiplayer online game\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Video_games",
            "WHERE",
            "gtype",
            "=",
            "``",
            "Massively",
            "multiplayer",
            "online",
            "game",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "video_games",
            "where",
            "gtype",
            "=",
            "value"
        ],
        "question": "How many video games have type Massively multiplayer online game?",
        "question_toks": [
            "How",
            "many",
            "video",
            "games",
            "have",
            "type",
            "Massively",
            "multiplayer",
            "online",
            "game",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Massively multiplayer online game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(*) FROM Video_games WHERE gtype  =  \"Massively multiplayer online game\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Video_games",
            "WHERE",
            "gtype",
            "=",
            "``",
            "Massively",
            "multiplayer",
            "online",
            "game",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "video_games",
            "where",
            "gtype",
            "=",
            "value"
        ],
        "question": "Count the number of video games with Massively multiplayer online game type .",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "video",
            "games",
            "with",
            "Massively",
            "multiplayer",
            "online",
            "game",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Massively multiplayer online game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gtype ,  count(*) FROM Video_games GROUP BY gtype",
        "query_toks": [
            "SELECT",
            "gtype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Video_games",
            "GROUP",
            "BY",
            "gtype"
        ],
        "query_toks_no_value": [
            "select",
            "gtype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "video_games",
            "group",
            "by",
            "gtype"
        ],
        "question": "Show all video game types and the number of video games in each type.",
        "question_toks": [
            "Show",
            "all",
            "video",
            "game",
            "types",
            "and",
            "the",
            "number",
            "of",
            "video",
            "games",
            "in",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gtype ,  count(*) FROM Video_games GROUP BY gtype",
        "query_toks": [
            "SELECT",
            "gtype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Video_games",
            "GROUP",
            "BY",
            "gtype"
        ],
        "query_toks_no_value": [
            "select",
            "gtype",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "video_games",
            "group",
            "by",
            "gtype"
        ],
        "question": "What are the types of video games and how many are in each type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "types",
            "of",
            "video",
            "games",
            "and",
            "how",
            "many",
            "are",
            "in",
            "each",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gtype FROM Video_games GROUP BY gtype ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "gtype",
            "FROM",
            "Video_games",
            "GROUP",
            "BY",
            "gtype",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gtype",
            "from",
            "video_games",
            "group",
            "by",
            "gtype",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which game type has most number of games?",
        "question_toks": [
            "Which",
            "game",
            "type",
            "has",
            "most",
            "number",
            "of",
            "games",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gtype FROM Video_games GROUP BY gtype ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "gtype",
            "FROM",
            "Video_games",
            "GROUP",
            "BY",
            "gtype",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gtype",
            "from",
            "video_games",
            "group",
            "by",
            "gtype",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What type has the most games?",
        "question_toks": [
            "What",
            "type",
            "has",
            "the",
            "most",
            "games",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gtype FROM Video_games GROUP BY gtype ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "gtype",
            "FROM",
            "Video_games",
            "GROUP",
            "BY",
            "gtype",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gtype",
            "from",
            "video_games",
            "group",
            "by",
            "gtype",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "Which game type has least number of games?",
        "question_toks": [
            "Which",
            "game",
            "type",
            "has",
            "least",
            "number",
            "of",
            "games",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gtype FROM Video_games GROUP BY gtype ORDER BY count(*) LIMIT 1",
        "query_toks": [
            "SELECT",
            "gtype",
            "FROM",
            "Video_games",
            "GROUP",
            "BY",
            "gtype",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gtype",
            "from",
            "video_games",
            "group",
            "by",
            "gtype",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the type with the fewest games?",
        "question_toks": [
            "What",
            "is",
            "the",
            "type",
            "with",
            "the",
            "fewest",
            "games",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE city_code  =  \"CHI\"",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "city_code",
            "=",
            "``",
            "CHI",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value"
        ],
        "question": "Show ids for all students who live in CHI.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "students",
            "who",
            "live",
            "in",
            "CHI",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"CHI\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE city_code  =  \"CHI\"",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "city_code",
            "=",
            "``",
            "CHI",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "city_code",
            "=",
            "value"
        ],
        "question": "What are the ids of all students who live in CHI?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "who",
            "live",
            "in",
            "CHI",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"CHI\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE Advisor  =  1121",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "Advisor",
            "=",
            "1121"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "advisor",
            "=",
            "value"
        ],
        "question": "Show ids for all students who have advisor 1121.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "students",
            "who",
            "have",
            "advisor",
            "1121",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1121.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE Advisor  =  1121",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "Advisor",
            "=",
            "1121"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "advisor",
            "=",
            "value"
        ],
        "question": "What are the ids of all students who have advisor number 1121?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "who",
            "have",
            "advisor",
            "number",
            "1121",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    1121.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT Fname FROM Student WHERE Major  =  600",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "Student",
            "WHERE",
            "Major",
            "=",
            "600"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value"
        ],
        "question": "Show first name for all students with major 600.",
        "question_toks": [
            "Show",
            "first",
            "name",
            "for",
            "all",
            "students",
            "with",
            "major",
            "600",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT Fname FROM Student WHERE Major  =  600",
        "query_toks": [
            "SELECT",
            "Fname",
            "FROM",
            "Student",
            "WHERE",
            "Major",
            "=",
            "600"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value"
        ],
        "question": "What are the first names for all students who are from the major numbered 600?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "for",
            "all",
            "students",
            "who",
            "are",
            "from",
            "the",
            "major",
            "numbered",
            "600",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT major ,  avg(age) ,  min(age) ,  max(age) FROM Student GROUP BY major",
        "query_toks": [
            "SELECT",
            "major",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "major"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "from",
            "student",
            "group",
            "by",
            "major"
        ],
        "question": "Show the average, minimum, and maximum age for different majors.",
        "question_toks": [
            "Show",
            "the",
            "average",
            ",",
            "minimum",
            ",",
            "and",
            "maximum",
            "age",
            "for",
            "different",
            "majors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT major ,  avg(age) ,  min(age) ,  max(age) FROM Student GROUP BY major",
        "query_toks": [
            "SELECT",
            "major",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "major"
        ],
        "query_toks_no_value": [
            "select",
            "major",
            ",",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "max",
            "(",
            "age",
            ")",
            "from",
            "student",
            "group",
            "by",
            "major"
        ],
        "question": "What are the average, minimum, and max ages for each of the different majors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            ",",
            "minimum",
            ",",
            "and",
            "max",
            "ages",
            "for",
            "each",
            "of",
            "the",
            "different",
            "majors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT advisor FROM Student GROUP BY advisor HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "advisor",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "advisor",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show all advisors who have at least two students.",
        "question_toks": [
            "Show",
            "all",
            "advisors",
            "who",
            "have",
            "at",
            "least",
            "two",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT advisor FROM Student GROUP BY advisor HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "advisor",
            "FROM",
            "Student",
            "GROUP",
            "BY",
            "advisor",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "advisor",
            "from",
            "student",
            "group",
            "by",
            "advisor",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the advisors",
        "question_toks": [
            "What",
            "are",
            "the",
            "advisors"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(DISTINCT sportname) FROM Sportsinfo",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "sportname",
            ")",
            "FROM",
            "Sportsinfo"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "sportname",
            ")",
            "from",
            "sportsinfo"
        ],
        "question": "How many sports do we have?",
        "question_toks": [
            "How",
            "many",
            "sports",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                16,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(DISTINCT sportname) FROM Sportsinfo",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "sportname",
            ")",
            "FROM",
            "Sportsinfo"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "sportname",
            ")",
            "from",
            "sportsinfo"
        ],
        "question": "How many different types of sports do we offer?",
        "question_toks": [
            "How",
            "many",
            "different",
            "types",
            "of",
            "sports",
            "do",
            "we",
            "offer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                16,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(DISTINCT StuID) FROM Sportsinfo",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "StuID",
            ")",
            "FROM",
            "Sportsinfo"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "stuid",
            ")",
            "from",
            "sportsinfo"
        ],
        "question": "How many students play sports?",
        "question_toks": [
            "How",
            "many",
            "students",
            "play",
            "sports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(DISTINCT StuID) FROM Sportsinfo",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "StuID",
            ")",
            "FROM",
            "Sportsinfo"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "stuid",
            ")",
            "from",
            "sportsinfo"
        ],
        "question": "How many different students are involved in sports?",
        "question_toks": [
            "How",
            "many",
            "different",
            "students",
            "are",
            "involved",
            "in",
            "sports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                15,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Sportsinfo WHERE onscholarship  =  'Y'",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "onscholarship",
            "=",
            "'Y",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "onscholarship",
            "=",
            "value"
        ],
        "question": "List ids for all student who are on scholarship.",
        "question_toks": [
            "List",
            "ids",
            "for",
            "all",
            "student",
            "who",
            "are",
            "on",
            "scholarship",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Sportsinfo WHERE onscholarship  =  'Y'",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "onscholarship",
            "=",
            "'Y",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "onscholarship",
            "=",
            "value"
        ],
        "question": "What are the ids for all sporty students who are on scholarship?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "for",
            "all",
            "sporty",
            "students",
            "who",
            "are",
            "on",
            "scholarship",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T1.onscholarship  =  'Y'",
        "query_toks": [
            "SELECT",
            "T2.Lname",
            "FROM",
            "Sportsinfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T1.onscholarship",
            "=",
            "'Y",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lname",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "onscholarship",
            "=",
            "value"
        ],
        "question": "Show last names for all student who are on scholarship.",
        "question_toks": [
            "Show",
            "last",
            "names",
            "for",
            "all",
            "student",
            "who",
            "are",
            "on",
            "scholarship",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T1.onscholarship  =  'Y'",
        "query_toks": [
            "SELECT",
            "T2.Lname",
            "FROM",
            "Sportsinfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T1.onscholarship",
            "=",
            "'Y",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lname",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "onscholarship",
            "=",
            "value"
        ],
        "question": "What are the last names for all scholarship students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "for",
            "all",
            "scholarship",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sum(gamesplayed) FROM Sportsinfo",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo"
        ],
        "question": "How many games are played for all students?",
        "question_toks": [
            "How",
            "many",
            "games",
            "are",
            "played",
            "for",
            "all",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sum(gamesplayed) FROM Sportsinfo",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo"
        ],
        "question": "What is the total number of games played?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "games",
            "played",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sum(gamesplayed) FROM Sportsinfo WHERE sportname  =  \"Football\" AND onscholarship  =  'Y'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "sportname",
            "=",
            "``",
            "Football",
            "''",
            "AND",
            "onscholarship",
            "=",
            "'Y",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value",
            "and",
            "onscholarship",
            "=",
            "value"
        ],
        "question": "How many games are played for all football games by students on scholarship?",
        "question_toks": [
            "How",
            "many",
            "games",
            "are",
            "played",
            "for",
            "all",
            "football",
            "games",
            "by",
            "students",
            "on",
            "scholarship",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Football\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sum(gamesplayed) FROM Sportsinfo WHERE sportname  =  \"Football\" AND onscholarship  =  'Y'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "sportname",
            "=",
            "``",
            "Football",
            "''",
            "AND",
            "onscholarship",
            "=",
            "'Y",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value",
            "and",
            "onscholarship",
            "=",
            "value"
        ],
        "question": "What is the total number of all football games played by scholarship students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "all",
            "football",
            "games",
            "played",
            "by",
            "scholarship",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Football\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sportname ,  count(*) FROM Sportsinfo GROUP BY sportname",
        "query_toks": [
            "SELECT",
            "sportname",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Sportsinfo",
            "GROUP",
            "BY",
            "sportname"
        ],
        "query_toks_no_value": [
            "select",
            "sportname",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "sportsinfo",
            "group",
            "by",
            "sportname"
        ],
        "question": "Show all sport name and the number of students.",
        "question_toks": [
            "Show",
            "all",
            "sport",
            "name",
            "and",
            "the",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sportname ,  count(*) FROM Sportsinfo GROUP BY sportname",
        "query_toks": [
            "SELECT",
            "sportname",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Sportsinfo",
            "GROUP",
            "BY",
            "sportname"
        ],
        "query_toks_no_value": [
            "select",
            "sportname",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "sportsinfo",
            "group",
            "by",
            "sportname"
        ],
        "question": "How many students play each sport?",
        "question_toks": [
            "How",
            "many",
            "students",
            "play",
            "each",
            "sport",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID ,  count(*) ,  sum(gamesplayed) FROM Sportsinfo GROUP BY StuID",
        "query_toks": [
            "SELECT",
            "StuID",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo",
            "GROUP",
            "BY",
            "StuID"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo",
            "group",
            "by",
            "stuid"
        ],
        "question": "Show all student IDs with the number of sports and total number of games played",
        "question_toks": [
            "Show",
            "all",
            "student",
            "IDs",
            "with",
            "the",
            "number",
            "of",
            "sports",
            "and",
            "total",
            "number",
            "of",
            "games",
            "played"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID ,  count(*) ,  sum(gamesplayed) FROM Sportsinfo GROUP BY StuID",
        "query_toks": [
            "SELECT",
            "StuID",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo",
            "GROUP",
            "BY",
            "StuID"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo",
            "group",
            "by",
            "stuid"
        ],
        "question": "What are the ids of all students along with how many sports and games did they play?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "along",
            "with",
            "how",
            "many",
            "sports",
            "and",
            "games",
            "did",
            "they",
            "play",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Sportsinfo GROUP BY StuID HAVING sum(hoursperweek)  >  10",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "GROUP",
            "BY",
            "StuID",
            "HAVING",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "group",
            "by",
            "stuid",
            "having",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ">",
            "value"
        ],
        "question": "Show all student IDs with more than total 10 hours per week on all sports played.",
        "question_toks": [
            "Show",
            "all",
            "student",
            "IDs",
            "with",
            "more",
            "than",
            "total",
            "10",
            "hours",
            "per",
            "week",
            "on",
            "all",
            "sports",
            "played",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            17,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Sportsinfo GROUP BY StuID HAVING sum(hoursperweek)  >  10",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "GROUP",
            "BY",
            "StuID",
            "HAVING",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ">",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "group",
            "by",
            "stuid",
            "having",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ">",
            "value"
        ],
        "question": "What are the student IDs for everybody who worked for more than 10 hours per week on all sports?",
        "question_toks": [
            "What",
            "are",
            "the",
            "student",
            "IDs",
            "for",
            "everybody",
            "who",
            "worked",
            "for",
            "more",
            "than",
            "10",
            "hours",
            "per",
            "week",
            "on",
            "all",
            "sports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            17,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT T2.Fname ,  T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID GROUP BY T1.StuID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Fname",
            ",",
            "T2.Lname",
            "FROM",
            "Sportsinfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "GROUP",
            "BY",
            "T1.StuID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "group",
            "by",
            "t1",
            ".",
            "stuid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first name and last name of the student who have most number of sports?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "the",
            "student",
            "who",
            "have",
            "most",
            "number",
            "of",
            "sports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT T2.Fname ,  T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID GROUP BY T1.StuID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.Fname",
            ",",
            "T2.Lname",
            "FROM",
            "Sportsinfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "GROUP",
            "BY",
            "T1.StuID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "group",
            "by",
            "t1",
            ".",
            "stuid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first and last name of the student who played the most sports?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "student",
            "who",
            "played",
            "the",
            "most",
            "sports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sportname FROM Sportsinfo WHERE onscholarship  =  'Y' GROUP BY sportname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "sportname",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "onscholarship",
            "=",
            "'Y",
            "'",
            "GROUP",
            "BY",
            "sportname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "sportname",
            "from",
            "sportsinfo",
            "where",
            "onscholarship",
            "=",
            "value",
            "group",
            "by",
            "sportname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which sport has most number of students on scholarship?",
        "question_toks": [
            "Which",
            "sport",
            "has",
            "most",
            "number",
            "of",
            "students",
            "on",
            "scholarship",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sportname FROM Sportsinfo WHERE onscholarship  =  'Y' GROUP BY sportname ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "sportname",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "onscholarship",
            "=",
            "'Y",
            "'",
            "GROUP",
            "BY",
            "sportname",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "sportname",
            "from",
            "sportsinfo",
            "where",
            "onscholarship",
            "=",
            "value",
            "group",
            "by",
            "sportname",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the sport with the most scholarship students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "sport",
            "with",
            "the",
            "most",
            "scholarship",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student EXCEPT SELECT StuID FROM Sportsinfo",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "except",
            "select",
            "stuid",
            "from",
            "sportsinfo"
        ],
        "question": "Show student ids who don't have any sports.",
        "question_toks": [
            "Show",
            "student",
            "ids",
            "who",
            "do",
            "n't",
            "have",
            "any",
            "sports",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student EXCEPT SELECT StuID FROM Sportsinfo",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "except",
            "select",
            "stuid",
            "from",
            "sportsinfo"
        ],
        "question": "What are the ids of all students who don't play sports?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "who",
            "do",
            "n't",
            "play",
            "sports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE major  =  600 INTERSECT SELECT StuID FROM Sportsinfo WHERE onscholarship  =  'Y'",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "major",
            "=",
            "600",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "onscholarship",
            "=",
            "'Y",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value",
            "intersect",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "onscholarship",
            "=",
            "value"
        ],
        "question": "Show student ids who are on scholarship and have major 600.",
        "question_toks": [
            "Show",
            "student",
            "ids",
            "who",
            "are",
            "on",
            "scholarship",
            "and",
            "have",
            "major",
            "600",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Y\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE major  =  600 INTERSECT SELECT StuID FROM Sportsinfo WHERE onscholarship  =  'Y'",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "major",
            "=",
            "600",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "onscholarship",
            "=",
            "'Y",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "major",
            "=",
            "value",
            "intersect",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "onscholarship",
            "=",
            "value"
        ],
        "question": "What are the student ids for those on scholarship in major number 600?",
        "question_toks": [
            "What",
            "are",
            "the",
            "student",
            "ids",
            "for",
            "those",
            "on",
            "scholarship",
            "in",
            "major",
            "number",
            "600",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    600.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        "\"Y\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE sex  =  'F' INTERSECT SELECT StuID FROM Sportsinfo WHERE sportname  =  \"Football\"",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "sex",
            "=",
            "'F",
            "'",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "sportname",
            "=",
            "``",
            "Football",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "intersect",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value"
        ],
        "question": "Show student ids who are female and play football.",
        "question_toks": [
            "Show",
            "student",
            "ids",
            "who",
            "are",
            "female",
            "and",
            "play",
            "football",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        "\"Football\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE sex  =  'F' INTERSECT SELECT StuID FROM Sportsinfo WHERE sportname  =  \"Football\"",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "sex",
            "=",
            "'F",
            "'",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "sportname",
            "=",
            "``",
            "Football",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "intersect",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value"
        ],
        "question": "What are the ids of all female students who play football?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "female",
            "students",
            "who",
            "play",
            "football",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        "\"Football\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE sex  =  'M' EXCEPT SELECT StuID FROM Sportsinfo WHERE sportname  =  \"Football\"",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "sex",
            "=",
            "'M",
            "'",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "sportname",
            "=",
            "``",
            "Football",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "except",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value"
        ],
        "question": "Show all male student ids who don't play football.",
        "question_toks": [
            "Show",
            "all",
            "male",
            "student",
            "ids",
            "who",
            "do",
            "n't",
            "play",
            "football",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        "\"Football\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student WHERE sex  =  'M' EXCEPT SELECT StuID FROM Sportsinfo WHERE sportname  =  \"Football\"",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "sex",
            "=",
            "'M",
            "'",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "sportname",
            "=",
            "``",
            "Football",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "sex",
            "=",
            "value",
            "except",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value"
        ],
        "question": "What are the ids of all male students who do not play football?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "male",
            "students",
            "who",
            "do",
            "not",
            "play",
            "football",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        "\"Football\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sum(hoursperweek) ,  sum(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T2.Fname  =  \"David\" AND T2.Lname  =  \"Shieber\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T2.Fname",
            "=",
            "``",
            "David",
            "''",
            "AND",
            "T2.Lname",
            "=",
            "``",
            "Shieber",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Show total hours per week and number of games played for student David Shieber.",
        "question_toks": [
            "Show",
            "total",
            "hours",
            "per",
            "week",
            "and",
            "number",
            "of",
            "games",
            "played",
            "for",
            "student",
            "David",
            "Shieber",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"David\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Shieber\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sum(hoursperweek) ,  sum(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T2.Fname  =  \"David\" AND T2.Lname  =  \"Shieber\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T2.Fname",
            "=",
            "``",
            "David",
            "''",
            "AND",
            "T2.Lname",
            "=",
            "``",
            "Shieber",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What is the total number of hours per work and number of games played by David Shieber?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "hours",
            "per",
            "work",
            "and",
            "number",
            "of",
            "games",
            "played",
            "by",
            "David",
            "Shieber",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"David\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Shieber\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sum(hoursperweek) ,  sum(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T2.age  <  20",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T2.age",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "age",
            "<",
            "value"
        ],
        "question": "Show total hours per week and number of games played for students under 20.",
        "question_toks": [
            "Show",
            "total",
            "hours",
            "per",
            "week",
            "and",
            "number",
            "of",
            "games",
            "played",
            "for",
            "students",
            "under",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT sum(hoursperweek) ,  sum(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T2.age  <  20",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "FROM",
            "Sportsinfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T2.age",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "hoursperweek",
            ")",
            ",",
            "sum",
            "(",
            "gamesplayed",
            ")",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t2",
            ".",
            "age",
            "<",
            "value"
        ],
        "question": "What is the total number of hours per week and number of games played by students under 20?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "hours",
            "per",
            "week",
            "and",
            "number",
            "of",
            "games",
            "played",
            "by",
            "students",
            "under",
            "20",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    20.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(DISTINCT StuID) FROM Plays_games",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "StuID",
            ")",
            "FROM",
            "Plays_games"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "stuid",
            ")",
            "from",
            "plays_games"
        ],
        "question": "How many students play video games?",
        "question_toks": [
            "How",
            "many",
            "students",
            "play",
            "video",
            "games",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT count(DISTINCT StuID) FROM Plays_games",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "StuID",
            ")",
            "FROM",
            "Plays_games"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "stuid",
            ")",
            "from",
            "plays_games"
        ],
        "question": "How many different students play games?",
        "question_toks": [
            "How",
            "many",
            "different",
            "students",
            "play",
            "games",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student EXCEPT SELECT StuID FROM Plays_games",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Plays_games"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "except",
            "select",
            "stuid",
            "from",
            "plays_games"
        ],
        "question": "Show ids of students who don't play video game.",
        "question_toks": [
            "Show",
            "ids",
            "of",
            "students",
            "who",
            "do",
            "n't",
            "play",
            "video",
            "game",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Student EXCEPT SELECT StuID FROM Plays_games",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Plays_games"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "except",
            "select",
            "stuid",
            "from",
            "plays_games"
        ],
        "question": "What are the ids of all students who are not video game players?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "who",
            "are",
            "not",
            "video",
            "game",
            "players",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Sportsinfo INTERSECT SELECT StuID FROM Plays_games",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Plays_games"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "intersect",
            "select",
            "stuid",
            "from",
            "plays_games"
        ],
        "question": "Show ids of students who play video game and play sports.",
        "question_toks": [
            "Show",
            "ids",
            "of",
            "students",
            "who",
            "play",
            "video",
            "game",
            "and",
            "play",
            "sports",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT StuID FROM Sportsinfo INTERSECT SELECT StuID FROM Plays_games",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Plays_games"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "intersect",
            "select",
            "stuid",
            "from",
            "plays_games"
        ],
        "question": "What are the ids of all students who played video games and sports?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "who",
            "played",
            "video",
            "games",
            "and",
            "sports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gameid ,  sum(hours_played) FROM Plays_games GROUP BY gameid",
        "query_toks": [
            "SELECT",
            "gameid",
            ",",
            "sum",
            "(",
            "hours_played",
            ")",
            "FROM",
            "Plays_games",
            "GROUP",
            "BY",
            "gameid"
        ],
        "query_toks_no_value": [
            "select",
            "gameid",
            ",",
            "sum",
            "(",
            "hours_played",
            ")",
            "from",
            "plays_games",
            "group",
            "by",
            "gameid"
        ],
        "question": "Show all game ids and the number of hours played.",
        "question_toks": [
            "Show",
            "all",
            "game",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "hours",
            "played",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gameid ,  sum(hours_played) FROM Plays_games GROUP BY gameid",
        "query_toks": [
            "SELECT",
            "gameid",
            ",",
            "sum",
            "(",
            "hours_played",
            ")",
            "FROM",
            "Plays_games",
            "GROUP",
            "BY",
            "gameid"
        ],
        "query_toks_no_value": [
            "select",
            "gameid",
            ",",
            "sum",
            "(",
            "hours_played",
            ")",
            "from",
            "plays_games",
            "group",
            "by",
            "gameid"
        ],
        "question": "What are ids and total number of hours played for each game?",
        "question_toks": [
            "What",
            "are",
            "ids",
            "and",
            "total",
            "number",
            "of",
            "hours",
            "played",
            "for",
            "each",
            "game",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT Stuid ,  sum(hours_played) FROM Plays_games GROUP BY Stuid",
        "query_toks": [
            "SELECT",
            "Stuid",
            ",",
            "sum",
            "(",
            "hours_played",
            ")",
            "FROM",
            "Plays_games",
            "GROUP",
            "BY",
            "Stuid"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            ",",
            "sum",
            "(",
            "hours_played",
            ")",
            "from",
            "plays_games",
            "group",
            "by",
            "stuid"
        ],
        "question": "Show all student ids and the number of hours played.",
        "question_toks": [
            "Show",
            "all",
            "student",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "hours",
            "played",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT Stuid ,  sum(hours_played) FROM Plays_games GROUP BY Stuid",
        "query_toks": [
            "SELECT",
            "Stuid",
            ",",
            "sum",
            "(",
            "hours_played",
            ")",
            "FROM",
            "Plays_games",
            "GROUP",
            "BY",
            "Stuid"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            ",",
            "sum",
            "(",
            "hours_played",
            ")",
            "from",
            "plays_games",
            "group",
            "by",
            "stuid"
        ],
        "question": "What are the ids of all students and number of hours played?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "students",
            "and",
            "number",
            "of",
            "hours",
            "played",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid  =  T2.gameid GROUP BY T1.gameid ORDER BY sum(hours_played) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "gname",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.gameid",
            "=",
            "T2.gameid",
            "GROUP",
            "BY",
            "T1.gameid",
            "ORDER",
            "BY",
            "sum",
            "(",
            "hours_played",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "group",
            "by",
            "t1",
            ".",
            "gameid",
            "order",
            "by",
            "sum",
            "(",
            "hours_played",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the game name that has most number of hours played.",
        "question_toks": [
            "Show",
            "the",
            "game",
            "name",
            "that",
            "has",
            "most",
            "number",
            "of",
            "hours",
            "played",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid  =  T2.gameid GROUP BY T1.gameid ORDER BY sum(hours_played) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "gname",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.gameid",
            "=",
            "T2.gameid",
            "GROUP",
            "BY",
            "T1.gameid",
            "ORDER",
            "BY",
            "sum",
            "(",
            "hours_played",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "group",
            "by",
            "t1",
            ".",
            "gameid",
            "order",
            "by",
            "sum",
            "(",
            "hours_played",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the game that has been played the most?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "game",
            "that",
            "has",
            "been",
            "played",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid  =  T2.gameid GROUP BY T1.gameid HAVING sum(hours_played)  >=  1000",
        "query_toks": [
            "SELECT",
            "gname",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.gameid",
            "=",
            "T2.gameid",
            "GROUP",
            "BY",
            "T1.gameid",
            "HAVING",
            "sum",
            "(",
            "hours_played",
            ")",
            ">",
            "=",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "group",
            "by",
            "t1",
            ".",
            "gameid",
            "having",
            "sum",
            "(",
            "hours_played",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show all game names played by at least 1000 hours.",
        "question_toks": [
            "Show",
            "all",
            "game",
            "names",
            "played",
            "by",
            "at",
            "least",
            "1000",
            "hours",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            4,
                            14,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid  =  T2.gameid GROUP BY T1.gameid HAVING sum(hours_played)  >=  1000",
        "query_toks": [
            "SELECT",
            "gname",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.gameid",
            "=",
            "T2.gameid",
            "GROUP",
            "BY",
            "T1.gameid",
            "HAVING",
            "sum",
            "(",
            "hours_played",
            ")",
            ">",
            "=",
            "1000"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "group",
            "by",
            "t1",
            ".",
            "gameid",
            "having",
            "sum",
            "(",
            "hours_played",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of all the games that have been played for at least 1000 hours?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "games",
            "that",
            "have",
            "been",
            "played",
            "for",
            "at",
            "least",
            "1000",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            4,
                            14,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT Gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid  =  T2.gameid JOIN Student AS T3 ON T3.Stuid  =  T1.Stuid WHERE T3.Lname  =  \"Smith\" AND T3.Fname  =  \"Linda\"",
        "query_toks": [
            "SELECT",
            "Gname",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.gameid",
            "=",
            "T2.gameid",
            "JOIN",
            "Student",
            "AS",
            "T3",
            "ON",
            "T3.Stuid",
            "=",
            "T1.Stuid",
            "WHERE",
            "T3.Lname",
            "=",
            "``",
            "Smith",
            "''",
            "AND",
            "T3.Fname",
            "=",
            "``",
            "Linda",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "stuid",
            "=",
            "t1",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "lname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "fname",
            "=",
            "value"
        ],
        "question": "Show all game names played by Linda Smith",
        "question_toks": [
            "Show",
            "all",
            "game",
            "names",
            "played",
            "by",
            "Linda",
            "Smith"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT Gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid  =  T2.gameid JOIN Student AS T3 ON T3.Stuid  =  T1.Stuid WHERE T3.Lname  =  \"Smith\" AND T3.Fname  =  \"Linda\"",
        "query_toks": [
            "SELECT",
            "Gname",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.gameid",
            "=",
            "T2.gameid",
            "JOIN",
            "Student",
            "AS",
            "T3",
            "ON",
            "T3.Stuid",
            "=",
            "T1.Stuid",
            "WHERE",
            "T3.Lname",
            "=",
            "``",
            "Smith",
            "''",
            "AND",
            "T3.Fname",
            "=",
            "``",
            "Linda",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "gname",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "join",
            "student",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "stuid",
            "=",
            "t1",
            ".",
            "stuid",
            "where",
            "t3",
            ".",
            "lname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "fname",
            "=",
            "value"
        ],
        "question": "What are the names of all games played by Linda Smith?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "games",
            "played",
            "by",
            "Linda",
            "Smith",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT T2.lname ,  T2.fname FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T1.SportName  =  \"Football\" OR T1.SportName  =  \"Lacrosse\"",
        "query_toks": [
            "SELECT",
            "T2.lname",
            ",",
            "T2.fname",
            "FROM",
            "SportsInfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T1.SportName",
            "=",
            "``",
            "Football",
            "''",
            "OR",
            "T1.SportName",
            "=",
            "``",
            "Lacrosse",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lname",
            ",",
            "t2",
            ".",
            "fname",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "sportname",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "sportname",
            "=",
            "value"
        ],
        "question": "Find the last and first name of students who are playing Football or Lacrosse.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "and",
            "first",
            "name",
            "of",
            "students",
            "who",
            "are",
            "playing",
            "Football",
            "or",
            "Lacrosse",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Football\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Lacrosse\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT T2.lname ,  T2.fname FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID  =  T2.StuID WHERE T1.SportName  =  \"Football\" OR T1.SportName  =  \"Lacrosse\"",
        "query_toks": [
            "SELECT",
            "T2.lname",
            ",",
            "T2.fname",
            "FROM",
            "SportsInfo",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "WHERE",
            "T1.SportName",
            "=",
            "``",
            "Football",
            "''",
            "OR",
            "T1.SportName",
            "=",
            "``",
            "Lacrosse",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lname",
            ",",
            "t2",
            ".",
            "fname",
            "from",
            "sportsinfo",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "where",
            "t1",
            ".",
            "sportname",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "sportname",
            "=",
            "value"
        ],
        "question": "What is the first and last name of all students who play Football or Lacrosse?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "students",
            "who",
            "play",
            "Football",
            "or",
            "Lacrosse",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Football\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Lacrosse\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT fname ,  age FROM Student WHERE StuID IN (SELECT StuID FROM Sportsinfo WHERE SportName  =  \"Football\" INTERSECT SELECT StuID FROM Sportsinfo WHERE SportName  =  \"Lacrosse\")",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "age",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "SportName",
            "=",
            "``",
            "Football",
            "''",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "SportName",
            "=",
            "``",
            "Lacrosse",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "age",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value",
            "intersect",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value",
            ")"
        ],
        "question": "Find the first name and age of the students who are playing both Football and Lacrosse.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "name",
            "and",
            "age",
            "of",
            "the",
            "students",
            "who",
            "are",
            "playing",
            "both",
            "Football",
            "and",
            "Lacrosse",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        16,
                                        false
                                    ],
                                    null
                                ],
                                "\"Football\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        3
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                15,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Lacrosse\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT fname ,  age FROM Student WHERE StuID IN (SELECT StuID FROM Sportsinfo WHERE SportName  =  \"Football\" INTERSECT SELECT StuID FROM Sportsinfo WHERE SportName  =  \"Lacrosse\")",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "age",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "SportName",
            "=",
            "``",
            "Football",
            "''",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Sportsinfo",
            "WHERE",
            "SportName",
            "=",
            "``",
            "Lacrosse",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "age",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value",
            "intersect",
            "select",
            "stuid",
            "from",
            "sportsinfo",
            "where",
            "sportname",
            "=",
            "value",
            ")"
        ],
        "question": "What are the first names and ages of all students who are playing both Football and Lacrosse?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "and",
            "ages",
            "of",
            "all",
            "students",
            "who",
            "are",
            "playing",
            "both",
            "Football",
            "and",
            "Lacrosse",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            15,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        16,
                                        false
                                    ],
                                    null
                                ],
                                "\"Football\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        3
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                15,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Lacrosse\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT lname ,  sex FROM Student WHERE StuID IN (SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID  =  T2.GameID WHERE T2.Gname  =  \"Call of Destiny\" INTERSECT SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID  =  T2.GameID WHERE T2.Gname  =  \"Works of Widenius\")",
        "query_toks": [
            "SELECT",
            "lname",
            ",",
            "sex",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.GameID",
            "=",
            "T2.GameID",
            "WHERE",
            "T2.Gname",
            "=",
            "``",
            "Call",
            "of",
            "Destiny",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.GameID",
            "=",
            "T2.GameID",
            "WHERE",
            "T2.Gname",
            "=",
            "``",
            "Works",
            "of",
            "Widenius",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            ",",
            "sex",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "where",
            "t2",
            ".",
            "gname",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "where",
            "t2",
            ".",
            "gname",
            "=",
            "value",
            ")"
        ],
        "question": "Find the last name and gender of the students who are playing both Call of Destiny and Works of Widenius games.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "and",
            "gender",
            "of",
            "the",
            "students",
            "who",
            "are",
            "playing",
            "both",
            "Call",
            "of",
            "Destiny",
            "and",
            "Works",
            "of",
            "Widenius",
            "games",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"Call of Destiny\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ],
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                13,
                                                false
                                            ],
                                            null
                                        ],
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                12,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Works of Widenius\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "game_1",
        "query": "SELECT lname ,  sex FROM Student WHERE StuID IN (SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID  =  T2.GameID WHERE T2.Gname  =  \"Call of Destiny\" INTERSECT SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID  =  T2.GameID WHERE T2.Gname  =  \"Works of Widenius\")",
        "query_toks": [
            "SELECT",
            "lname",
            ",",
            "sex",
            "FROM",
            "Student",
            "WHERE",
            "StuID",
            "IN",
            "(",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.GameID",
            "=",
            "T2.GameID",
            "WHERE",
            "T2.Gname",
            "=",
            "``",
            "Call",
            "of",
            "Destiny",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.StuID",
            "FROM",
            "Plays_games",
            "AS",
            "T1",
            "JOIN",
            "Video_games",
            "AS",
            "T2",
            "ON",
            "T1.GameID",
            "=",
            "T2.GameID",
            "WHERE",
            "T2.Gname",
            "=",
            "``",
            "Works",
            "of",
            "Widenius",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            ",",
            "sex",
            "from",
            "student",
            "where",
            "stuid",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "where",
            "t2",
            ".",
            "gname",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "plays_games",
            "as",
            "t1",
            "join",
            "video_games",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "gameid",
            "=",
            "t2",
            ".",
            "gameid",
            "where",
            "t2",
            ".",
            "gname",
            "=",
            "value",
            ")"
        ],
        "question": "what is the last name and gender of all students who played both Call of Destiny and Works of Widenius?",
        "question_toks": [
            "what",
            "is",
            "the",
            "last",
            "name",
            "and",
            "gender",
            "of",
            "all",
            "students",
            "who",
            "played",
            "both",
            "Call",
            "of",
            "Destiny",
            "and",
            "Works",
            "of",
            "Widenius",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"Call of Destiny\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        2
                                    ],
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": [
                                    [
                                        false,
                                        2,
                                        [
                                            0,
                                            [
                                                0,
                                                13,
                                                false
                                            ],
                                            null
                                        ],
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                12,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ],
                                    "\"Works of Widenius\"",
                                    null
                                ]
                            ],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers"
        ],
        "question": "Find the name of all customers.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "all",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers"
        ],
        "question": "What are the names of all the customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(*) FROM customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "How many customers are there?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(*) FROM customers",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "Return the total number of distinct customers.",
        "question_toks": [
            "Return",
            "the",
            "total",
            "number",
            "of",
            "distinct",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT avg(order_quantity) FROM order_items",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "order_quantity",
            ")",
            "FROM",
            "order_items"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "order_quantity",
            ")",
            "from",
            "order_items"
        ],
        "question": "What is the average amount of items ordered in each order?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "amount",
            "of",
            "items",
            "ordered",
            "in",
            "each",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT avg(order_quantity) FROM order_items",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "order_quantity",
            ")",
            "FROM",
            "order_items"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "order_quantity",
            ")",
            "from",
            "order_items"
        ],
        "question": "Find the average order quantity per order.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "order",
            "quantity",
            "per",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers WHERE payment_method  =  \"Cash\"",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "payment_method",
            "=",
            "``",
            "Cash",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "where",
            "payment_method",
            "=",
            "value"
        ],
        "question": "What are the names of customers who use payment method \"Cash\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "use",
            "payment",
            "method",
            "``",
            "Cash",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Cash\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers WHERE payment_method  =  \"Cash\"",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "payment_method",
            "=",
            "``",
            "Cash",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "where",
            "payment_method",
            "=",
            "value"
        ],
        "question": "Which customers use \"Cash\" for payment method? Return the customer names.",
        "question_toks": [
            "Which",
            "customers",
            "use",
            "``",
            "Cash",
            "''",
            "for",
            "payment",
            "method",
            "?",
            "Return",
            "the",
            "customer",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Cash\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT date_became_customer FROM customers WHERE customer_id BETWEEN 10 AND 20",
        "query_toks": [
            "SELECT",
            "date_became_customer",
            "FROM",
            "customers",
            "WHERE",
            "customer_id",
            "BETWEEN",
            "10",
            "AND",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "date_became_customer",
            "from",
            "customers",
            "where",
            "customer_id",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the \"date became customers\" of the customers whose ID is between 10 and 20.",
        "question_toks": [
            "Find",
            "the",
            "``",
            "date",
            "became",
            "customers",
            "''",
            "of",
            "the",
            "customers",
            "whose",
            "ID",
            "is",
            "between",
            "10",
            "and",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10.0,
                    20.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT date_became_customer FROM customers WHERE customer_id BETWEEN 10 AND 20",
        "query_toks": [
            "SELECT",
            "date_became_customer",
            "FROM",
            "customers",
            "WHERE",
            "customer_id",
            "BETWEEN",
            "10",
            "AND",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "date_became_customer",
            "from",
            "customers",
            "where",
            "customer_id",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the dates when customers with ids between 10 and 20 became customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "when",
            "customers",
            "with",
            "ids",
            "between",
            "10",
            "and",
            "20",
            "became",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    10.0,
                    20.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT payment_method FROM customers GROUP BY payment_method ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "payment_method",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "payment_method",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method",
            "from",
            "customers",
            "group",
            "by",
            "payment_method",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which payment method is used by most customers?",
        "question_toks": [
            "Which",
            "payment",
            "method",
            "is",
            "used",
            "by",
            "most",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT payment_method FROM customers GROUP BY payment_method ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "payment_method",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "payment_method",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method",
            "from",
            "customers",
            "group",
            "by",
            "payment_method",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the payment method that is used most frequently.",
        "question_toks": [
            "Find",
            "the",
            "payment",
            "method",
            "that",
            "is",
            "used",
            "most",
            "frequently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers WHERE payment_method  =  (SELECT payment_method FROM customers GROUP BY payment_method ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "payment_method",
            "=",
            "(",
            "SELECT",
            "payment_method",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "payment_method",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "where",
            "payment_method",
            "=",
            "(",
            "select",
            "payment_method",
            "from",
            "customers",
            "group",
            "by",
            "payment_method",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the names of customers using the most popular payment method?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "using",
            "the",
            "most",
            "popular",
            "payment",
            "method",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                11,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers WHERE payment_method  =  (SELECT payment_method FROM customers GROUP BY payment_method ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "payment_method",
            "=",
            "(",
            "SELECT",
            "payment_method",
            "FROM",
            "customers",
            "GROUP",
            "BY",
            "payment_method",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "where",
            "payment_method",
            "=",
            "(",
            "select",
            "payment_method",
            "from",
            "customers",
            "group",
            "by",
            "payment_method",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the name of the customers who use the most frequently used payment method.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "customers",
            "who",
            "use",
            "the",
            "most",
            "frequently",
            "used",
            "payment",
            "method",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                11,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT DISTINCT payment_method FROM customers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "payment_method",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "payment_method",
            "from",
            "customers"
        ],
        "question": "What are all the payment methods?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "payment",
            "methods",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT DISTINCT payment_method FROM customers",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "payment_method",
            "FROM",
            "customers"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "payment_method",
            "from",
            "customers"
        ],
        "question": "Return all the distinct payment methods used by customers.",
        "question_toks": [
            "Return",
            "all",
            "the",
            "distinct",
            "payment",
            "methods",
            "used",
            "by",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT DISTINCT product_details FROM products",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_details",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_details",
            "from",
            "products"
        ],
        "question": "What are the details of all products?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "all",
            "products",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT DISTINCT product_details FROM products",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_details",
            "FROM",
            "products"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_details",
            "from",
            "products"
        ],
        "question": "Return the the details of all products.",
        "question_toks": [
            "Return",
            "the",
            "the",
            "details",
            "of",
            "all",
            "products",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers WHERE customer_name LIKE \"%Alex%\"",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "customer_name",
            "LIKE",
            "``",
            "%",
            "Alex",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "where",
            "customer_name",
            "like",
            "value"
        ],
        "question": "Find the name of all customers whose name contains \"Alex\".",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "all",
            "customers",
            "whose",
            "name",
            "contains",
            "``",
            "Alex",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"%Alex%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers WHERE customer_name LIKE \"%Alex%\"",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "customer_name",
            "LIKE",
            "``",
            "%",
            "Alex",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "where",
            "customer_name",
            "like",
            "value"
        ],
        "question": "Which customer's name contains \"Alex\"? Find the full name.",
        "question_toks": [
            "Which",
            "customer",
            "'s",
            "name",
            "contains",
            "``",
            "Alex",
            "''",
            "?",
            "Find",
            "the",
            "full",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"%Alex%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT product_details FROM products WHERE product_details LIKE \"%Latte%\" OR product_details LIKE \"%Americano%\"",
        "query_toks": [
            "SELECT",
            "product_details",
            "FROM",
            "products",
            "WHERE",
            "product_details",
            "LIKE",
            "``",
            "%",
            "Latte",
            "%",
            "''",
            "OR",
            "product_details",
            "LIKE",
            "``",
            "%",
            "Americano",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_details",
            "from",
            "products",
            "where",
            "product_details",
            "like",
            "value",
            "or",
            "product_details",
            "like",
            "value"
        ],
        "question": "Find the detail of products whose detail contains the word \"Latte\" or the word \"Americano\"",
        "question_toks": [
            "Find",
            "the",
            "detail",
            "of",
            "products",
            "whose",
            "detail",
            "contains",
            "the",
            "word",
            "``",
            "Latte",
            "''",
            "or",
            "the",
            "word",
            "``",
            "Americano",
            "''"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%Latte%\"",
                    null
                ],
                "or",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%Americano%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT product_details FROM products WHERE product_details LIKE \"%Latte%\" OR product_details LIKE \"%Americano%\"",
        "query_toks": [
            "SELECT",
            "product_details",
            "FROM",
            "products",
            "WHERE",
            "product_details",
            "LIKE",
            "``",
            "%",
            "Latte",
            "%",
            "''",
            "OR",
            "product_details",
            "LIKE",
            "``",
            "%",
            "Americano",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "product_details",
            "from",
            "products",
            "where",
            "product_details",
            "like",
            "value",
            "or",
            "product_details",
            "like",
            "value"
        ],
        "question": "Which product's detail contains the word \"Latte\" or \"Americano\"? Return the full detail.",
        "question_toks": [
            "Which",
            "product",
            "'s",
            "detail",
            "contains",
            "the",
            "word",
            "``",
            "Latte",
            "''",
            "or",
            "``",
            "Americano",
            "''",
            "?",
            "Return",
            "the",
            "full",
            "detail",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%Latte%\"",
                    null
                ],
                "or",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%Americano%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t3.address_content FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t1.customer_name  =  \"Maudie Kertzmann\"",
        "query_toks": [
            "SELECT",
            "t3.address_content",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Maudie",
            "Kertzmann",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "address_content",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "What is the address content of the customer named \"Maudie Kertzmann\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "address",
            "content",
            "of",
            "the",
            "customer",
            "named",
            "``",
            "Maudie",
            "Kertzmann",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Maudie Kertzmann\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t3.address_content FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t1.customer_name  =  \"Maudie Kertzmann\"",
        "query_toks": [
            "SELECT",
            "t3.address_content",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Maudie",
            "Kertzmann",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "address_content",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Return the address content for the customer whose name is \"Maudie Kertzmann\".",
        "question_toks": [
            "Return",
            "the",
            "address",
            "content",
            "for",
            "the",
            "customer",
            "whose",
            "name",
            "is",
            "``",
            "Maudie",
            "Kertzmann",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Maudie Kertzmann\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(*) FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t3.city  =  \"Lake Geovannyton\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "WHERE",
            "t3.city",
            "=",
            "``",
            "Lake",
            "Geovannyton",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "where",
            "t3",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "How many customers are living in city \"Lake Geovannyton\"?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "are",
            "living",
            "in",
            "city",
            "``",
            "Lake",
            "Geovannyton",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Lake Geovannyton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(*) FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t3.city  =  \"Lake Geovannyton\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "WHERE",
            "t3.city",
            "=",
            "``",
            "Lake",
            "Geovannyton",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "where",
            "t3",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Find the number of customers who live in the city called Lake Geovannyton.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "customers",
            "who",
            "live",
            "in",
            "the",
            "city",
            "called",
            "Lake",
            "Geovannyton",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Lake Geovannyton\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t3.state_province_county  =  \"Colorado\"",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "WHERE",
            "t3.state_province_county",
            "=",
            "``",
            "Colorado",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "where",
            "t3",
            ".",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "Find the name of customers who are living in Colorado?",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customers",
            "who",
            "are",
            "living",
            "in",
            "Colorado",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Colorado\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id WHERE t3.state_province_county  =  \"Colorado\"",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "WHERE",
            "t3.state_province_county",
            "=",
            "``",
            "Colorado",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "where",
            "t3",
            ".",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "What are the names of customers who live in Colorado state?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "live",
            "in",
            "Colorado",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Colorado\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT city FROM addresses WHERE city NOT IN ( SELECT DISTINCT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id)",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "addresses",
            "WHERE",
            "city",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "DISTINCT",
            "t3.city",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "addresses",
            "where",
            "city",
            "not",
            "in",
            "(",
            "select",
            "distinct",
            "t3",
            ".",
            "city",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            ")"
        ],
        "question": "Find the list of cities that no customer is living in.",
        "question_toks": [
            "Find",
            "the",
            "list",
            "of",
            "cities",
            "that",
            "no",
            "customer",
            "is",
            "living",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    3
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "and",
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            true,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT city FROM addresses WHERE city NOT IN ( SELECT DISTINCT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id)",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "addresses",
            "WHERE",
            "city",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "DISTINCT",
            "t3.city",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "addresses",
            "where",
            "city",
            "not",
            "in",
            "(",
            "select",
            "distinct",
            "t3",
            ".",
            "city",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            ")"
        ],
        "question": "What are the cities no customers live in?",
        "question_toks": [
            "What",
            "are",
            "the",
            "cities",
            "no",
            "customers",
            "live",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    3
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        15,
                                        false
                                    ],
                                    null
                                ],
                                "and",
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            true,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id GROUP BY t3.city ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.city",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "GROUP",
            "BY",
            "t3.city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "city",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "group",
            "by",
            "t3",
            ".",
            "city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which city has the most customers living in?",
        "question_toks": [
            "Which",
            "city",
            "has",
            "the",
            "most",
            "customers",
            "living",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id  =  t2.customer_id JOIN addresses AS t3 ON t2.address_id  =  t3.address_id GROUP BY t3.city ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.city",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_addresses",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "addresses",
            "AS",
            "t3",
            "ON",
            "t2.address_id",
            "=",
            "t3.address_id",
            "GROUP",
            "BY",
            "t3.city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "city",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "addresses",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "address_id",
            "=",
            "t3",
            ".",
            "address_id",
            "group",
            "by",
            "t3",
            ".",
            "city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the city where the most customers live.",
        "question_toks": [
            "Find",
            "the",
            "city",
            "where",
            "the",
            "most",
            "customers",
            "live",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT DISTINCT city FROM addresses",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "city",
            "FROM",
            "addresses"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "city",
            "from",
            "addresses"
        ],
        "question": "Retrieve the list of all cities.",
        "question_toks": [
            "Retrieve",
            "the",
            "list",
            "of",
            "all",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT DISTINCT city FROM addresses",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "city",
            "FROM",
            "addresses"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "city",
            "from",
            "addresses"
        ],
        "question": "List all the distinct cities",
        "question_toks": [
            "List",
            "all",
            "the",
            "distinct",
            "cities"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT city FROM addresses WHERE zip_postcode  =  255",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "addresses",
            "WHERE",
            "zip_postcode",
            "=",
            "255"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "addresses",
            "where",
            "zip_postcode",
            "=",
            "value"
        ],
        "question": "Find the city with post code 255.",
        "question_toks": [
            "Find",
            "the",
            "city",
            "with",
            "post",
            "code",
            "255",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    255.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT city FROM addresses WHERE zip_postcode  =  255",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "addresses",
            "WHERE",
            "zip_postcode",
            "=",
            "255"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "addresses",
            "where",
            "zip_postcode",
            "=",
            "value"
        ],
        "question": "Which city is post code 255 located in?",
        "question_toks": [
            "Which",
            "city",
            "is",
            "post",
            "code",
            "255",
            "located",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    255.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT state_province_county ,  country FROM addresses WHERE zip_postcode LIKE \"4%\"",
        "query_toks": [
            "SELECT",
            "state_province_county",
            ",",
            "country",
            "FROM",
            "addresses",
            "WHERE",
            "zip_postcode",
            "LIKE",
            "``",
            "4",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "state_province_county",
            ",",
            "country",
            "from",
            "addresses",
            "where",
            "zip_postcode",
            "like",
            "value"
        ],
        "question": "Find the state and country of all cities with post code starting with 4.",
        "question_toks": [
            "Find",
            "the",
            "state",
            "and",
            "country",
            "of",
            "all",
            "cities",
            "with",
            "post",
            "code",
            "starting",
            "with",
            "4",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"4%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT state_province_county ,  country FROM addresses WHERE zip_postcode LIKE \"4%\"",
        "query_toks": [
            "SELECT",
            "state_province_county",
            ",",
            "country",
            "FROM",
            "addresses",
            "WHERE",
            "zip_postcode",
            "LIKE",
            "``",
            "4",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "state_province_county",
            ",",
            "country",
            "from",
            "addresses",
            "where",
            "zip_postcode",
            "like",
            "value"
        ],
        "question": "What are the state and country of all the cities that have post codes starting with 4.\\",
        "question_toks": [
            "What",
            "are",
            "the",
            "state",
            "and",
            "country",
            "of",
            "all",
            "the",
            "cities",
            "that",
            "have",
            "post",
            "codes",
            "starting",
            "with",
            "4.\\"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"4%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT country FROM addresses GROUP BY country HAVING count(address_id)  >  4",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "addresses",
            "GROUP",
            "BY",
            "country",
            "HAVING",
            "count",
            "(",
            "address_id",
            ")",
            ">",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "addresses",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "address_id",
            ")",
            ">",
            "value"
        ],
        "question": "List the countries having more than 4 addresses listed.",
        "question_toks": [
            "List",
            "the",
            "countries",
            "having",
            "more",
            "than",
            "4",
            "addresses",
            "listed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            1,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT country FROM addresses GROUP BY country HAVING count(address_id)  >  4",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "addresses",
            "GROUP",
            "BY",
            "country",
            "HAVING",
            "count",
            "(",
            "address_id",
            ")",
            ">",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "addresses",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "address_id",
            ")",
            ">",
            "value"
        ],
        "question": "For which countries are there more than four distinct addresses listed?",
        "question_toks": [
            "For",
            "which",
            "countries",
            "are",
            "there",
            "more",
            "than",
            "four",
            "distinct",
            "addresses",
            "listed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            1,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT channel_code FROM customer_contact_channels GROUP BY channel_code HAVING count(customer_id)  <  5",
        "query_toks": [
            "SELECT",
            "channel_code",
            "FROM",
            "customer_contact_channels",
            "GROUP",
            "BY",
            "channel_code",
            "HAVING",
            "count",
            "(",
            "customer_id",
            ")",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "channel_code",
            "from",
            "customer_contact_channels",
            "group",
            "by",
            "channel_code",
            "having",
            "count",
            "(",
            "customer_id",
            ")",
            "<",
            "value"
        ],
        "question": "List all the contact channel codes that were used less than 5 times.",
        "question_toks": [
            "List",
            "all",
            "the",
            "contact",
            "channel",
            "codes",
            "that",
            "were",
            "used",
            "less",
            "than",
            "5",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            20,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT channel_code FROM customer_contact_channels GROUP BY channel_code HAVING count(customer_id)  <  5",
        "query_toks": [
            "SELECT",
            "channel_code",
            "FROM",
            "customer_contact_channels",
            "GROUP",
            "BY",
            "channel_code",
            "HAVING",
            "count",
            "(",
            "customer_id",
            ")",
            "<",
            "5"
        ],
        "query_toks_no_value": [
            "select",
            "channel_code",
            "from",
            "customer_contact_channels",
            "group",
            "by",
            "channel_code",
            "having",
            "count",
            "(",
            "customer_id",
            ")",
            "<",
            "value"
        ],
        "question": "Which contact channel codes were used less than 5 times?",
        "question_toks": [
            "Which",
            "contact",
            "channel",
            "codes",
            "were",
            "used",
            "less",
            "than",
            "5",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            20,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT DISTINCT channel_code FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.customer_name  =  \"Tillman Ernser\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "channel_code",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_contact_channels",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Tillman",
            "Ernser",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "channel_code",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_contact_channels",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Which contact channel has been used by the customer with name \"Tillman Ernser\"?",
        "question_toks": [
            "Which",
            "contact",
            "channel",
            "has",
            "been",
            "used",
            "by",
            "the",
            "customer",
            "with",
            "name",
            "``",
            "Tillman",
            "Ernser",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Tillman Ernser\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT DISTINCT channel_code FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.customer_name  =  \"Tillman Ernser\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "channel_code",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_contact_channels",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Tillman",
            "Ernser",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "channel_code",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_contact_channels",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Find the contact channel code that was used by the customer named \"Tillman Ernser\".",
        "question_toks": [
            "Find",
            "the",
            "contact",
            "channel",
            "code",
            "that",
            "was",
            "used",
            "by",
            "the",
            "customer",
            "named",
            "``",
            "Tillman",
            "Ernser",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Tillman Ernser\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT max(t2.active_to_date) FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.customer_name  =  \"Tillman Ernser\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "t2.active_to_date",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_contact_channels",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Tillman",
            "Ernser",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "active_to_date",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_contact_channels",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "What is the \"active to date\" of the latest contact channel used by \"Tillman Ernser\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "``",
            "active",
            "to",
            "date",
            "''",
            "of",
            "the",
            "latest",
            "contact",
            "channel",
            "used",
            "by",
            "``",
            "Tillman",
            "Ernser",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Tillman Ernser\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT max(t2.active_to_date) FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id  =  t2.customer_id WHERE t1.customer_name  =  \"Tillman Ernser\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "t2.active_to_date",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_contact_channels",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Tillman",
            "Ernser",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "active_to_date",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_contact_channels",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Return the the \"active to date\" of the latest contact channel used by the customer named \"Tillman Ernser\".",
        "question_toks": [
            "Return",
            "the",
            "the",
            "``",
            "active",
            "to",
            "date",
            "''",
            "of",
            "the",
            "latest",
            "contact",
            "channel",
            "used",
            "by",
            "the",
            "customer",
            "named",
            "``",
            "Tillman",
            "Ernser",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Tillman Ernser\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT avg(active_to_date - active_from_date) FROM customer_contact_channels",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "active_to_date",
            "-",
            "active_from_date",
            ")",
            "FROM",
            "customer_contact_channels"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "active_to_date",
            "-",
            "active_from_date",
            ")",
            "from",
            "customer_contact_channels"
        ],
        "question": "What is the average time span of contact channels in the database?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "time",
            "span",
            "of",
            "contact",
            "channels",
            "in",
            "the",
            "database",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            1,
                            [
                                0,
                                23,
                                false
                            ],
                            [
                                0,
                                22,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT avg(active_to_date - active_from_date) FROM customer_contact_channels",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "active_to_date",
            "-",
            "active_from_date",
            ")",
            "FROM",
            "customer_contact_channels"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "active_to_date",
            "-",
            "active_from_date",
            ")",
            "from",
            "customer_contact_channels"
        ],
        "question": "Compute the average active time span of contact channels.",
        "question_toks": [
            "Compute",
            "the",
            "average",
            "active",
            "time",
            "span",
            "of",
            "contact",
            "channels",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            1,
                            [
                                0,
                                23,
                                false
                            ],
                            [
                                0,
                                22,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT channel_code ,  contact_number FROM customer_contact_channels WHERE active_to_date - active_from_date  =  (SELECT active_to_date - active_from_date FROM customer_contact_channels ORDER BY (active_to_date - active_from_date) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "channel_code",
            ",",
            "contact_number",
            "FROM",
            "customer_contact_channels",
            "WHERE",
            "active_to_date",
            "-",
            "active_from_date",
            "=",
            "(",
            "SELECT",
            "active_to_date",
            "-",
            "active_from_date",
            "FROM",
            "customer_contact_channels",
            "ORDER",
            "BY",
            "(",
            "active_to_date",
            "-",
            "active_from_date",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "channel_code",
            ",",
            "contact_number",
            "from",
            "customer_contact_channels",
            "where",
            "active_to_date",
            "-",
            "active_from_date",
            "=",
            "(",
            "select",
            "active_to_date",
            "-",
            "active_from_date",
            "from",
            "customer_contact_channels",
            "order",
            "by",
            "(",
            "active_to_date",
            "-",
            "active_from_date",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What is the channel code and contact number of the customer contact channel that was active for the longest time?",
        "question_toks": [
            "What",
            "is",
            "the",
            "channel",
            "code",
            "and",
            "contact",
            "number",
            "of",
            "the",
            "customer",
            "contact",
            "channel",
            "that",
            "was",
            "active",
            "for",
            "the",
            "longest",
            "time",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        1,
                        [
                            0,
                            23,
                            false
                        ],
                        [
                            0,
                            22,
                            false
                        ]
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        1,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        [
                                            0,
                                            22,
                                            false
                                        ]
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    1,
                                    [
                                        0,
                                        23,
                                        false
                                    ],
                                    [
                                        0,
                                        22,
                                        false
                                    ]
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT channel_code ,  contact_number FROM customer_contact_channels WHERE active_to_date - active_from_date  =  (SELECT active_to_date - active_from_date FROM customer_contact_channels ORDER BY (active_to_date - active_from_date) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "channel_code",
            ",",
            "contact_number",
            "FROM",
            "customer_contact_channels",
            "WHERE",
            "active_to_date",
            "-",
            "active_from_date",
            "=",
            "(",
            "SELECT",
            "active_to_date",
            "-",
            "active_from_date",
            "FROM",
            "customer_contact_channels",
            "ORDER",
            "BY",
            "(",
            "active_to_date",
            "-",
            "active_from_date",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "channel_code",
            ",",
            "contact_number",
            "from",
            "customer_contact_channels",
            "where",
            "active_to_date",
            "-",
            "active_from_date",
            "=",
            "(",
            "select",
            "active_to_date",
            "-",
            "active_from_date",
            "from",
            "customer_contact_channels",
            "order",
            "by",
            "(",
            "active_to_date",
            "-",
            "active_from_date",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Return the channel code and contact number of the customer contact channel whose active duration was the longest.",
        "question_toks": [
            "Return",
            "the",
            "channel",
            "code",
            "and",
            "contact",
            "number",
            "of",
            "the",
            "customer",
            "contact",
            "channel",
            "whose",
            "active",
            "duration",
            "was",
            "the",
            "longest",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        1,
                        [
                            0,
                            23,
                            false
                        ],
                        [
                            0,
                            22,
                            false
                        ]
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        1,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        [
                                            0,
                                            22,
                                            false
                                        ]
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    1,
                                    [
                                        0,
                                        23,
                                        false
                                    ],
                                    [
                                        0,
                                        22,
                                        false
                                    ]
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name ,  t2.active_from_date FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id  =  t2.customer_id WHERE t2.channel_code  =  'Email'",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            ",",
            "t2.active_from_date",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_contact_channels",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t2.channel_code",
            "=",
            "'Email",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t2",
            ".",
            "active_from_date",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_contact_channels",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "channel_code",
            "=",
            "value"
        ],
        "question": "Find the name and active date of the customer that use email as the contact channel.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "active",
            "date",
            "of",
            "the",
            "customer",
            "that",
            "use",
            "email",
            "as",
            "the",
            "contact",
            "channel",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Email\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name ,  t2.active_from_date FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id  =  t2.customer_id WHERE t2.channel_code  =  'Email'",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            ",",
            "t2.active_from_date",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_contact_channels",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "t2.channel_code",
            "=",
            "'Email",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t2",
            ".",
            "active_from_date",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_contact_channels",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "channel_code",
            "=",
            "value"
        ],
        "question": "What are the name and active date of the customers whose contact channel code is email?",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "active",
            "date",
            "of",
            "the",
            "customers",
            "whose",
            "contact",
            "channel",
            "code",
            "is",
            "email",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Email\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id WHERE t3.order_quantity  =  ( SELECT max(order_quantity) FROM order_items)",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "WHERE",
            "t3.order_quantity",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "order_quantity",
            ")",
            "FROM",
            "order_items",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "where",
            "t3",
            ".",
            "order_quantity",
            "=",
            "(",
            "select",
            "max",
            "(",
            "order_quantity",
            ")",
            "from",
            "order_items",
            ")"
        ],
        "question": "What is the name of the customer that made the order with the largest quantity?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "that",
            "made",
            "the",
            "order",
            "with",
            "the",
            "largest",
            "quantity",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            32,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id WHERE t3.order_quantity  =  ( SELECT max(order_quantity) FROM order_items)",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "WHERE",
            "t3.order_quantity",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "order_quantity",
            ")",
            "FROM",
            "order_items",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "where",
            "t3",
            ".",
            "order_quantity",
            "=",
            "(",
            "select",
            "max",
            "(",
            "order_quantity",
            ")",
            "from",
            "order_items",
            ")"
        ],
        "question": "Find the name of the customer who made the order of the largest amount of goods.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "made",
            "the",
            "order",
            "of",
            "the",
            "largest",
            "amount",
            "of",
            "goods",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            32,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id GROUP BY t1.customer_name ORDER BY sum(t3.order_quantity) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "GROUP",
            "BY",
            "t1.customer_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t3.order_quantity",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_name",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "order_quantity",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the customer that has purchased the most items?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "that",
            "has",
            "purchased",
            "the",
            "most",
            "items",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id GROUP BY t1.customer_name ORDER BY sum(t3.order_quantity) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "GROUP",
            "BY",
            "t1.customer_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t3.order_quantity",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_name",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "order_quantity",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give me the name of the customer who ordered the most items in total.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "ordered",
            "the",
            "most",
            "items",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.payment_method FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id GROUP BY t1.customer_name ORDER BY sum(t3.order_quantity) LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.payment_method",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "GROUP",
            "BY",
            "t1.customer_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t3.order_quantity",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "payment_method",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_name",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "order_quantity",
            ")",
            "limit",
            "value"
        ],
        "question": "What is the payment method of the customer that has purchased the least quantity of items?",
        "question_toks": [
            "What",
            "is",
            "the",
            "payment",
            "method",
            "of",
            "the",
            "customer",
            "that",
            "has",
            "purchased",
            "the",
            "least",
            "quantity",
            "of",
            "items",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.payment_method FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id GROUP BY t1.customer_name ORDER BY sum(t3.order_quantity) LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.payment_method",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "GROUP",
            "BY",
            "t1.customer_name",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t3.order_quantity",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "payment_method",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_name",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "order_quantity",
            ")",
            "limit",
            "value"
        ],
        "question": "Tell me the payment method used by the customer who ordered the least amount of goods in total.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "payment",
            "method",
            "used",
            "by",
            "the",
            "customer",
            "who",
            "ordered",
            "the",
            "least",
            "amount",
            "of",
            "goods",
            "in",
            "total",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id WHERE t1.customer_name  =  \"Rodrick Heaney\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t3.product_id",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Rodrick",
            "Heaney",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "product_id",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "How many types of products have Rodrick Heaney bought in total?",
        "question_toks": [
            "How",
            "many",
            "types",
            "of",
            "products",
            "have",
            "Rodrick",
            "Heaney",
            "bought",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                31,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Rodrick Heaney\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id WHERE t1.customer_name  =  \"Rodrick Heaney\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "t3.product_id",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Rodrick",
            "Heaney",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "product_id",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Find the number of distinct products Rodrick Heaney has bought so far.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "products",
            "Rodrick",
            "Heaney",
            "has",
            "bought",
            "so",
            "far",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                31,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Rodrick Heaney\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT sum(t3.order_quantity) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id WHERE t1.customer_name  =  \"Rodrick Heaney\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t3.order_quantity",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Rodrick",
            "Heaney",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t3",
            ".",
            "order_quantity",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "What is the total quantity of products purchased by \"Rodrick Heaney\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "quantity",
            "of",
            "products",
            "purchased",
            "by",
            "``",
            "Rodrick",
            "Heaney",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Rodrick Heaney\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT sum(t3.order_quantity) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id WHERE t1.customer_name  =  \"Rodrick Heaney\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t3.order_quantity",
            ")",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "WHERE",
            "t1.customer_name",
            "=",
            "``",
            "Rodrick",
            "Heaney",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t3",
            ".",
            "order_quantity",
            ")",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Tell me the total quantity of products bought by the customer called \"Rodrick Heaney\".",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "total",
            "quantity",
            "of",
            "products",
            "bought",
            "by",
            "the",
            "customer",
            "called",
            "``",
            "Rodrick",
            "Heaney",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Rodrick Heaney\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(DISTINCT customer_id) FROM customer_orders WHERE order_status  =  \"Cancelled\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "customer_id",
            ")",
            "FROM",
            "customer_orders",
            "WHERE",
            "order_status",
            "=",
            "``",
            "Cancelled",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "customer_id",
            ")",
            "from",
            "customer_orders",
            "where",
            "order_status",
            "=",
            "value"
        ],
        "question": "How many customers have at least one order with status \"Cancelled\"?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "have",
            "at",
            "least",
            "one",
            "order",
            "with",
            "status",
            "``",
            "Cancelled",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(DISTINCT customer_id) FROM customer_orders WHERE order_status  =  \"Cancelled\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "customer_id",
            ")",
            "FROM",
            "customer_orders",
            "WHERE",
            "order_status",
            "=",
            "``",
            "Cancelled",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "customer_id",
            ")",
            "from",
            "customer_orders",
            "where",
            "order_status",
            "=",
            "value"
        ],
        "question": "Return the number of customers who have at least one order with \"Cancelled\" status.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "customers",
            "who",
            "have",
            "at",
            "least",
            "one",
            "order",
            "with",
            "``",
            "Cancelled",
            "''",
            "status",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(*) FROM customer_orders WHERE order_details  =  \"Second time\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customer_orders",
            "WHERE",
            "order_details",
            "=",
            "``",
            "Second",
            "time",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer_orders",
            "where",
            "order_details",
            "=",
            "value"
        ],
        "question": "How many orders have detail \"Second time\"?",
        "question_toks": [
            "How",
            "many",
            "orders",
            "have",
            "detail",
            "``",
            "Second",
            "time",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Second time\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT count(*) FROM customer_orders WHERE order_details  =  \"Second time\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "customer_orders",
            "WHERE",
            "order_details",
            "=",
            "``",
            "Second",
            "time",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer_orders",
            "where",
            "order_details",
            "=",
            "value"
        ],
        "question": "Tell me the number of orders with \"Second time\" as order detail.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "number",
            "of",
            "orders",
            "with",
            "``",
            "Second",
            "time",
            "''",
            "as",
            "order",
            "detail",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Second time\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name ,  t2.order_date FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id WHERE order_status  =  \"Delivered\"",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            ",",
            "t2.order_date",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "order_status",
            "=",
            "``",
            "Delivered",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t2",
            ".",
            "order_date",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "order_status",
            "=",
            "value"
        ],
        "question": "Find the customer name and date of the orders that have the status \"Delivered\".",
        "question_toks": [
            "Find",
            "the",
            "customer",
            "name",
            "and",
            "date",
            "of",
            "the",
            "orders",
            "that",
            "have",
            "the",
            "status",
            "``",
            "Delivered",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Delivered\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name ,  t2.order_date FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id WHERE order_status  =  \"Delivered\"",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            ",",
            "t2.order_date",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "WHERE",
            "order_status",
            "=",
            "``",
            "Delivered",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            ",",
            "t2",
            ".",
            "order_date",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "order_status",
            "=",
            "value"
        ],
        "question": "What are the customer name and date of the orders whose status is \"Delivered\".",
        "question_toks": [
            "What",
            "are",
            "the",
            "customer",
            "name",
            "and",
            "date",
            "of",
            "the",
            "orders",
            "whose",
            "status",
            "is",
            "``",
            "Delivered",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Delivered\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT sum(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id  =  t2.order_id WHERE t1.order_status  =  \"Cancelled\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t2.order_quantity",
            ")",
            "FROM",
            "customer_orders",
            "AS",
            "t1",
            "JOIN",
            "order_items",
            "AS",
            "t2",
            "ON",
            "t1.order_id",
            "=",
            "t2.order_id",
            "WHERE",
            "t1.order_status",
            "=",
            "``",
            "Cancelled",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "order_quantity",
            ")",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "What is the total number of products that are in orders with status \"Cancelled\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "products",
            "that",
            "are",
            "in",
            "orders",
            "with",
            "status",
            "``",
            "Cancelled",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT sum(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id  =  t2.order_id WHERE t1.order_status  =  \"Cancelled\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t2.order_quantity",
            ")",
            "FROM",
            "customer_orders",
            "AS",
            "t1",
            "JOIN",
            "order_items",
            "AS",
            "t2",
            "ON",
            "t1.order_id",
            "=",
            "t2.order_id",
            "WHERE",
            "t1.order_status",
            "=",
            "``",
            "Cancelled",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "order_quantity",
            ")",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "Find the total quantity of products associated with the orders in the \"Cancelled\" status.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "quantity",
            "of",
            "products",
            "associated",
            "with",
            "the",
            "orders",
            "in",
            "the",
            "``",
            "Cancelled",
            "''",
            "status",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT sum(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id  =  t2.order_id WHERE t1.order_date  <  \"2018-03-17 07:13:53\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t2.order_quantity",
            ")",
            "FROM",
            "customer_orders",
            "AS",
            "t1",
            "JOIN",
            "order_items",
            "AS",
            "t2",
            "ON",
            "t1.order_id",
            "=",
            "t2.order_id",
            "WHERE",
            "t1.order_date",
            "<",
            "``",
            "2018-03-17",
            "07:13:53",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "order_quantity",
            ")",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "order_date",
            "<",
            "value"
        ],
        "question": "Find the total amount of products ordered before 2018-03-17 07:13:53.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "amount",
            "of",
            "products",
            "ordered",
            "before",
            "2018-03-17",
            "07:13:53",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"2018-03-17 07:13:53\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT sum(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id  =  t2.order_id WHERE t1.order_date  <  \"2018-03-17 07:13:53\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "t2.order_quantity",
            ")",
            "FROM",
            "customer_orders",
            "AS",
            "t1",
            "JOIN",
            "order_items",
            "AS",
            "t2",
            "ON",
            "t1.order_id",
            "=",
            "t2.order_id",
            "WHERE",
            "t1.order_date",
            "<",
            "``",
            "2018-03-17",
            "07:13:53",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "order_quantity",
            ")",
            "from",
            "customer_orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "order_date",
            "<",
            "value"
        ],
        "question": "What is the total amount of products purchased before 2018-03-17 07:13:53?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "products",
            "purchased",
            "before",
            "2018-03-17",
            "07:13:53",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"2018-03-17 07:13:53\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id ORDER BY t2.order_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "ORDER",
            "BY",
            "t2.order_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "order",
            "by",
            "t2",
            ".",
            "order_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "Who made the latest order?",
        "question_toks": [
            "Who",
            "made",
            "the",
            "latest",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id ORDER BY t2.order_date DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "ORDER",
            "BY",
            "t2.order_date",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "order",
            "by",
            "t2",
            ".",
            "order_date",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the customer who made an order most recently.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "made",
            "an",
            "order",
            "most",
            "recently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t2.product_details FROM order_items AS t1 JOIN products AS t2 ON t1.product_id  =  t2.product_id GROUP BY t1.product_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.product_details",
            "FROM",
            "order_items",
            "AS",
            "t1",
            "JOIN",
            "products",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "GROUP",
            "BY",
            "t1.product_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_details",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which product has been ordered most number of times?",
        "question_toks": [
            "Which",
            "product",
            "has",
            "been",
            "ordered",
            "most",
            "number",
            "of",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t2.product_details FROM order_items AS t1 JOIN products AS t2 ON t1.product_id  =  t2.product_id GROUP BY t1.product_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.product_details",
            "FROM",
            "order_items",
            "AS",
            "t1",
            "JOIN",
            "products",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "GROUP",
            "BY",
            "t1.product_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_details",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most frequently ordered product? Tell me the detail of the product",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "frequently",
            "ordered",
            "product",
            "?",
            "Tell",
            "me",
            "the",
            "detail",
            "of",
            "the",
            "product"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t2.product_details ,  t2.product_id FROM order_items AS t1 JOIN products AS t2 ON t1.product_id  =  t2.product_id GROUP BY t1.product_id ORDER BY sum(t1.order_quantity) LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.product_details",
            ",",
            "t2.product_id",
            "FROM",
            "order_items",
            "AS",
            "t1",
            "JOIN",
            "products",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "GROUP",
            "BY",
            "t1.product_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t1.order_quantity",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_details",
            ",",
            "t2",
            ".",
            "product_id",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_id",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "order_quantity",
            ")",
            "limit",
            "value"
        ],
        "question": "Find the name and ID of the product whose total order quantity is the largest.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "ID",
            "of",
            "the",
            "product",
            "whose",
            "total",
            "order",
            "quantity",
            "is",
            "the",
            "largest",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t2.product_details ,  t2.product_id FROM order_items AS t1 JOIN products AS t2 ON t1.product_id  =  t2.product_id GROUP BY t1.product_id ORDER BY sum(t1.order_quantity) LIMIT 1",
        "query_toks": [
            "SELECT",
            "t2.product_details",
            ",",
            "t2.product_id",
            "FROM",
            "order_items",
            "AS",
            "t1",
            "JOIN",
            "products",
            "AS",
            "t2",
            "ON",
            "t1.product_id",
            "=",
            "t2.product_id",
            "GROUP",
            "BY",
            "t1.product_id",
            "ORDER",
            "BY",
            "sum",
            "(",
            "t1.order_quantity",
            ")",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "product_details",
            ",",
            "t2",
            ".",
            "product_id",
            "from",
            "order_items",
            "as",
            "t1",
            "join",
            "products",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "product_id",
            "=",
            "t2",
            ".",
            "product_id",
            "group",
            "by",
            "t1",
            ".",
            "product_id",
            "order",
            "by",
            "sum",
            "(",
            "t1",
            ".",
            "order_quantity",
            ")",
            "limit",
            "value"
        ],
        "question": "What are the name and ID of the product bought the most.",
        "question_toks": [
            "What",
            "are",
            "the",
            "name",
            "and",
            "ID",
            "of",
            "the",
            "product",
            "bought",
            "the",
            "most",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT address_content FROM addresses WHERE city  =  \"East Julianaside\" AND state_province_county  =  \"Texas\" UNION SELECT address_content FROM addresses WHERE city  =  \"Gleasonmouth\" AND state_province_county  =  \"Arizona\"",
        "query_toks": [
            "SELECT",
            "address_content",
            "FROM",
            "addresses",
            "WHERE",
            "city",
            "=",
            "``",
            "East",
            "Julianaside",
            "''",
            "AND",
            "state_province_county",
            "=",
            "``",
            "Texas",
            "''",
            "UNION",
            "SELECT",
            "address_content",
            "FROM",
            "addresses",
            "WHERE",
            "city",
            "=",
            "``",
            "Gleasonmouth",
            "''",
            "AND",
            "state_province_county",
            "=",
            "``",
            "Arizona",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "address_content",
            "from",
            "addresses",
            "where",
            "city",
            "=",
            "value",
            "and",
            "state_province_county",
            "=",
            "value",
            "union",
            "select",
            "address_content",
            "from",
            "addresses",
            "where",
            "city",
            "=",
            "value",
            "and",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "Find all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.",
        "question_toks": [
            "Find",
            "all",
            "the",
            "addresses",
            "in",
            "East",
            "Julianaside",
            ",",
            "Texas",
            "or",
            "in",
            "Gleasonmouth",
            ",",
            "Arizona",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"East Julianaside\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "\"Gleasonmouth\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Arizona\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT address_content FROM addresses WHERE city  =  \"East Julianaside\" AND state_province_county  =  \"Texas\" UNION SELECT address_content FROM addresses WHERE city  =  \"Gleasonmouth\" AND state_province_county  =  \"Arizona\"",
        "query_toks": [
            "SELECT",
            "address_content",
            "FROM",
            "addresses",
            "WHERE",
            "city",
            "=",
            "``",
            "East",
            "Julianaside",
            "''",
            "AND",
            "state_province_county",
            "=",
            "``",
            "Texas",
            "''",
            "UNION",
            "SELECT",
            "address_content",
            "FROM",
            "addresses",
            "WHERE",
            "city",
            "=",
            "``",
            "Gleasonmouth",
            "''",
            "AND",
            "state_province_county",
            "=",
            "``",
            "Arizona",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "address_content",
            "from",
            "addresses",
            "where",
            "city",
            "=",
            "value",
            "and",
            "state_province_county",
            "=",
            "value",
            "union",
            "select",
            "address_content",
            "from",
            "addresses",
            "where",
            "city",
            "=",
            "value",
            "and",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "What are all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "addresses",
            "in",
            "East",
            "Julianaside",
            ",",
            "Texas",
            "or",
            "in",
            "Gleasonmouth",
            ",",
            "Arizona",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"East Julianaside\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "\"Gleasonmouth\"",
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Arizona\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers WHERE payment_method != 'Cash'",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "payment_method",
            "!",
            "=",
            "'Cash",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "where",
            "payment_method",
            "!",
            "=",
            "value"
        ],
        "question": "Find the name of customers who did not pay with Cash.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "customers",
            "who",
            "did",
            "not",
            "pay",
            "with",
            "Cash",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Cash\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers WHERE payment_method != 'Cash'",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "WHERE",
            "payment_method",
            "!",
            "=",
            "'Cash",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "where",
            "payment_method",
            "!",
            "=",
            "value"
        ],
        "question": "What is the name of customers who do not use Cash as payment method.",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "customers",
            "who",
            "do",
            "not",
            "use",
            "Cash",
            "as",
            "payment",
            "method",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Cash\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id JOIN products AS t4 ON t3.product_id  =  t4.product_id WHERE t4.product_details  =  'Latte'",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "JOIN",
            "products",
            "AS",
            "t4",
            "ON",
            "t3.product_id",
            "=",
            "t4.product_id",
            "WHERE",
            "t4.product_details",
            "=",
            "'Latte",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_details",
            "=",
            "value"
        ],
        "question": "Find the names of customers who never ordered product Latte.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "never",
            "ordered",
            "product",
            "Latte",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    25,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    31,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Latte\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id JOIN products AS t4 ON t3.product_id  =  t4.product_id WHERE t4.product_details  =  'Latte'",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "JOIN",
            "products",
            "AS",
            "t4",
            "ON",
            "t3.product_id",
            "=",
            "t4.product_id",
            "WHERE",
            "t4.product_details",
            "=",
            "'Latte",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_details",
            "=",
            "value"
        ],
        "question": "What are names of customers who never ordered product Latte.",
        "question_toks": [
            "What",
            "are",
            "names",
            "of",
            "customers",
            "who",
            "never",
            "ordered",
            "product",
            "Latte",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    25,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    31,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Latte\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "Find the names of customers who never placed an order.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "never",
            "placed",
            "an",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id",
        "query_toks": [
            "SELECT",
            "customer_name",
            "FROM",
            "customers",
            "EXCEPT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id"
        ],
        "query_toks_no_value": [
            "select",
            "customer_name",
            "from",
            "customers",
            "except",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id"
        ],
        "question": "What are the names of customers who never made an order.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "never",
            "made",
            "an",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id JOIN products AS t4 ON t3.product_id  =  t4.product_id WHERE t4.product_details  =  'Latte' INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id JOIN products AS t4 ON t3.product_id  =  t4.product_id WHERE t4.product_details  =  'Americano'",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "JOIN",
            "products",
            "AS",
            "t4",
            "ON",
            "t3.product_id",
            "=",
            "t4.product_id",
            "WHERE",
            "t4.product_details",
            "=",
            "'Latte",
            "'",
            "INTERSECT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "JOIN",
            "products",
            "AS",
            "t4",
            "ON",
            "t3.product_id",
            "=",
            "t4.product_id",
            "WHERE",
            "t4.product_details",
            "=",
            "'Americano",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_details",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_details",
            "=",
            "value"
        ],
        "question": "Find the names of customers who ordered both products Latte and Americano.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "ordered",
            "both",
            "products",
            "Latte",
            "and",
            "Americano",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Latte\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    25,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    31,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Americano\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "customers_and_addresses",
        "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id JOIN products AS t4 ON t3.product_id  =  t4.product_id WHERE t4.product_details  =  'Latte' INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id  =  t2.customer_id JOIN order_items AS t3 ON t2.order_id  =  t3.order_id JOIN products AS t4 ON t3.product_id  =  t4.product_id WHERE t4.product_details  =  'Americano'",
        "query_toks": [
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "JOIN",
            "products",
            "AS",
            "t4",
            "ON",
            "t3.product_id",
            "=",
            "t4.product_id",
            "WHERE",
            "t4.product_details",
            "=",
            "'Latte",
            "'",
            "INTERSECT",
            "SELECT",
            "t1.customer_name",
            "FROM",
            "customers",
            "AS",
            "t1",
            "JOIN",
            "customer_orders",
            "AS",
            "t2",
            "ON",
            "t1.customer_id",
            "=",
            "t2.customer_id",
            "JOIN",
            "order_items",
            "AS",
            "t3",
            "ON",
            "t2.order_id",
            "=",
            "t3.order_id",
            "JOIN",
            "products",
            "AS",
            "t4",
            "ON",
            "t3.product_id",
            "=",
            "t4.product_id",
            "WHERE",
            "t4.product_details",
            "=",
            "'Americano",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_details",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "customer_orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "join",
            "order_items",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_details",
            "=",
            "value"
        ],
        "question": "What are the names of customers who have purchased both products Latte and Americano?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "purchased",
            "both",
            "products",
            "Latte",
            "and",
            "Americano",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Latte\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            6
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    25,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    31,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Americano\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT count(*) FROM artist",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist"
        ],
        "question": "How many artists are there?",
        "question_toks": [
            "How",
            "many",
            "artists",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT count(*) FROM artist",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "artist"
        ],
        "question": "Count the number of artists.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "artists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Age FROM artist",
        "query_toks": [
            "SELECT",
            "Age",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            "from",
            "artist"
        ],
        "question": "List the age of all music artists.",
        "question_toks": [
            "List",
            "the",
            "age",
            "of",
            "all",
            "music",
            "artists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Age FROM artist",
        "query_toks": [
            "SELECT",
            "Age",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "age",
            "from",
            "artist"
        ],
        "question": "What are the ages of all music artists?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ages",
            "of",
            "all",
            "music",
            "artists",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT avg(Age) FROM artist",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Age",
            ")",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "artist"
        ],
        "question": "What is the average age of all artists?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "age",
            "of",
            "all",
            "artists",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT avg(Age) FROM artist",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Age",
            ")",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            "from",
            "artist"
        ],
        "question": "Return the average age across all artists.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "age",
            "across",
            "all",
            "artists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Famous_Title FROM artist WHERE Artist  =  \"Triumfall\"",
        "query_toks": [
            "SELECT",
            "Famous_Title",
            "FROM",
            "artist",
            "WHERE",
            "Artist",
            "=",
            "``",
            "Triumfall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "famous_title",
            "from",
            "artist",
            "where",
            "artist",
            "=",
            "value"
        ],
        "question": "What are the famous titles of the artist \"Triumfall\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "famous",
            "titles",
            "of",
            "the",
            "artist",
            "``",
            "Triumfall",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Triumfall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Famous_Title FROM artist WHERE Artist  =  \"Triumfall\"",
        "query_toks": [
            "SELECT",
            "Famous_Title",
            "FROM",
            "artist",
            "WHERE",
            "Artist",
            "=",
            "``",
            "Triumfall",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "famous_title",
            "from",
            "artist",
            "where",
            "artist",
            "=",
            "value"
        ],
        "question": "Return the famous titles of the artist called \"Triumfall\".",
        "question_toks": [
            "Return",
            "the",
            "famous",
            "titles",
            "of",
            "the",
            "artist",
            "called",
            "``",
            "Triumfall",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Triumfall\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT distinct(Famous_Release_date) FROM artist",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "Famous_Release_date",
            ")",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "famous_release_date",
            ")",
            "from",
            "artist"
        ],
        "question": "What are the distinct Famous release dates?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "Famous",
            "release",
            "dates",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT distinct(Famous_Release_date) FROM artist",
        "query_toks": [
            "SELECT",
            "distinct",
            "(",
            "Famous_Release_date",
            ")",
            "FROM",
            "artist"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "famous_release_date",
            ")",
            "from",
            "artist"
        ],
        "question": "Give the distinct famous release dates for all artists.",
        "question_toks": [
            "Give",
            "the",
            "distinct",
            "famous",
            "release",
            "dates",
            "for",
            "all",
            "artists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Date_of_ceremony ,  RESULT FROM music_festival",
        "query_toks": [
            "SELECT",
            "Date_of_ceremony",
            ",",
            "RESULT",
            "FROM",
            "music_festival"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_ceremony",
            ",",
            "result",
            "from",
            "music_festival"
        ],
        "question": "Return the dates of ceremony and the results of all music festivals",
        "question_toks": [
            "Return",
            "the",
            "dates",
            "of",
            "ceremony",
            "and",
            "the",
            "results",
            "of",
            "all",
            "music",
            "festivals"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Date_of_ceremony ,  RESULT FROM music_festival",
        "query_toks": [
            "SELECT",
            "Date_of_ceremony",
            ",",
            "RESULT",
            "FROM",
            "music_festival"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_ceremony",
            ",",
            "result",
            "from",
            "music_festival"
        ],
        "question": "What are the dates of ceremony and results for each music festival?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "of",
            "ceremony",
            "and",
            "results",
            "for",
            "each",
            "music",
            "festival",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Category FROM music_festival WHERE RESULT  =  \"Awarded\"",
        "query_toks": [
            "SELECT",
            "Category",
            "FROM",
            "music_festival",
            "WHERE",
            "RESULT",
            "=",
            "``",
            "Awarded",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            "from",
            "music_festival",
            "where",
            "result",
            "=",
            "value"
        ],
        "question": "What are the category of music festivals with result \"Awarded\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "category",
            "of",
            "music",
            "festivals",
            "with",
            "result",
            "``",
            "Awarded",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Awarded\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Category FROM music_festival WHERE RESULT  =  \"Awarded\"",
        "query_toks": [
            "SELECT",
            "Category",
            "FROM",
            "music_festival",
            "WHERE",
            "RESULT",
            "=",
            "``",
            "Awarded",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            "from",
            "music_festival",
            "where",
            "result",
            "=",
            "value"
        ],
        "question": "Return the categories of music festivals that have the result \"Awarded\".",
        "question_toks": [
            "Return",
            "the",
            "categories",
            "of",
            "music",
            "festivals",
            "that",
            "have",
            "the",
            "result",
            "``",
            "Awarded",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Awarded\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT max(Weeks_on_Top) ,  min(Weeks_on_Top) FROM volume",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Weeks_on_Top",
            ")",
            ",",
            "min",
            "(",
            "Weeks_on_Top",
            ")",
            "FROM",
            "volume"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "weeks_on_top",
            ")",
            ",",
            "min",
            "(",
            "weeks_on_top",
            ")",
            "from",
            "volume"
        ],
        "question": "What are the maximum and minimum week on top of all volumes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "and",
            "minimum",
            "week",
            "on",
            "top",
            "of",
            "all",
            "volumes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT max(Weeks_on_Top) ,  min(Weeks_on_Top) FROM volume",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Weeks_on_Top",
            ")",
            ",",
            "min",
            "(",
            "Weeks_on_Top",
            ")",
            "FROM",
            "volume"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "weeks_on_top",
            ")",
            ",",
            "min",
            "(",
            "weeks_on_top",
            ")",
            "from",
            "volume"
        ],
        "question": "Give the maximum and minimum weeks on top across all volumes.",
        "question_toks": [
            "Give",
            "the",
            "maximum",
            "and",
            "minimum",
            "weeks",
            "on",
            "top",
            "across",
            "all",
            "volumes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Song FROM volume WHERE Weeks_on_Top  >  1",
        "query_toks": [
            "SELECT",
            "Song",
            "FROM",
            "volume",
            "WHERE",
            "Weeks_on_Top",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "song",
            "from",
            "volume",
            "where",
            "weeks_on_top",
            ">",
            "value"
        ],
        "question": "What are the songs in volumes with more than 1 week on top?",
        "question_toks": [
            "What",
            "are",
            "the",
            "songs",
            "in",
            "volumes",
            "with",
            "more",
            "than",
            "1",
            "week",
            "on",
            "top",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Song FROM volume WHERE Weeks_on_Top  >  1",
        "query_toks": [
            "SELECT",
            "Song",
            "FROM",
            "volume",
            "WHERE",
            "Weeks_on_Top",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "song",
            "from",
            "volume",
            "where",
            "weeks_on_top",
            ">",
            "value"
        ],
        "question": "Give the songs included in volumes that have more than 1 week on top.",
        "question_toks": [
            "Give",
            "the",
            "songs",
            "included",
            "in",
            "volumes",
            "that",
            "have",
            "more",
            "than",
            "1",
            "week",
            "on",
            "top",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Song FROM volume ORDER BY Song",
        "query_toks": [
            "SELECT",
            "Song",
            "FROM",
            "volume",
            "ORDER",
            "BY",
            "Song"
        ],
        "query_toks_no_value": [
            "select",
            "song",
            "from",
            "volume",
            "order",
            "by",
            "song"
        ],
        "question": "Please list all songs in volumes in ascending alphabetical order.",
        "question_toks": [
            "Please",
            "list",
            "all",
            "songs",
            "in",
            "volumes",
            "in",
            "ascending",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Song FROM volume ORDER BY Song",
        "query_toks": [
            "SELECT",
            "Song",
            "FROM",
            "volume",
            "ORDER",
            "BY",
            "Song"
        ],
        "query_toks_no_value": [
            "select",
            "song",
            "from",
            "volume",
            "order",
            "by",
            "song"
        ],
        "question": "What are the the songs in volumes, listed in ascending order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "the",
            "songs",
            "in",
            "volumes",
            ",",
            "listed",
            "in",
            "ascending",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT COUNT(DISTINCT Artist_ID) FROM volume",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Artist_ID",
            ")",
            "FROM",
            "volume"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "artist_id",
            ")",
            "from",
            "volume"
        ],
        "question": "How many distinct artists do the volumes associate to?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "artists",
            "do",
            "the",
            "volumes",
            "associate",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT COUNT(DISTINCT Artist_ID) FROM volume",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Artist_ID",
            ")",
            "FROM",
            "volume"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "artist_id",
            ")",
            "from",
            "volume"
        ],
        "question": "Count the number of distinct artists who have volumes.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "distinct",
            "artists",
            "who",
            "have",
            "volumes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T2.Weeks_on_Top  >  2",
        "query_toks": [
            "SELECT",
            "T1.Date_of_ceremony",
            "FROM",
            "music_festival",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Volume",
            "=",
            "T2.Volume_ID",
            "WHERE",
            "T2.Weeks_on_Top",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_ceremony",
            "from",
            "music_festival",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "volume",
            "=",
            "t2",
            ".",
            "volume_id",
            "where",
            "t2",
            ".",
            "weeks_on_top",
            ">",
            "value"
        ],
        "question": "Please show the date of ceremony of the volumes that last more than 2 weeks on top.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "date",
            "of",
            "ceremony",
            "of",
            "the",
            "volumes",
            "that",
            "last",
            "more",
            "than",
            "2",
            "weeks",
            "on",
            "top",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T2.Weeks_on_Top  >  2",
        "query_toks": [
            "SELECT",
            "T1.Date_of_ceremony",
            "FROM",
            "music_festival",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Volume",
            "=",
            "T2.Volume_ID",
            "WHERE",
            "T2.Weeks_on_Top",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_of_ceremony",
            "from",
            "music_festival",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "volume",
            "=",
            "t2",
            ".",
            "volume_id",
            "where",
            "t2",
            ".",
            "weeks_on_top",
            ">",
            "value"
        ],
        "question": "What are the dates of ceremony at music festivals corresponding to volumes that lasted more than 2 weeks on top?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "of",
            "ceremony",
            "at",
            "music",
            "festivals",
            "corresponding",
            "to",
            "volumes",
            "that",
            "lasted",
            "more",
            "than",
            "2",
            "weeks",
            "on",
            "top",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T2.Song FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T1.Result  =  \"Nominated\"",
        "query_toks": [
            "SELECT",
            "T2.Song",
            "FROM",
            "music_festival",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Volume",
            "=",
            "T2.Volume_ID",
            "WHERE",
            "T1.Result",
            "=",
            "``",
            "Nominated",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "song",
            "from",
            "music_festival",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "volume",
            "=",
            "t2",
            ".",
            "volume_id",
            "where",
            "t1",
            ".",
            "result",
            "=",
            "value"
        ],
        "question": "Please show the songs that have result \"nominated\" at music festivals.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "songs",
            "that",
            "have",
            "result",
            "``",
            "nominated",
            "''",
            "at",
            "music",
            "festivals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Nominated\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T2.Song FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T1.Result  =  \"Nominated\"",
        "query_toks": [
            "SELECT",
            "T2.Song",
            "FROM",
            "music_festival",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Volume",
            "=",
            "T2.Volume_ID",
            "WHERE",
            "T1.Result",
            "=",
            "``",
            "Nominated",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "song",
            "from",
            "music_festival",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "volume",
            "=",
            "t2",
            ".",
            "volume_id",
            "where",
            "t1",
            ".",
            "result",
            "=",
            "value"
        ],
        "question": "What are the songs in volumes that have resulted in a nomination at music festivals?",
        "question_toks": [
            "What",
            "are",
            "the",
            "songs",
            "in",
            "volumes",
            "that",
            "have",
            "resulted",
            "in",
            "a",
            "nomination",
            "at",
            "music",
            "festivals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Nominated\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T2.Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.Artist  =  \"Gorgoroth\"",
        "query_toks": [
            "SELECT",
            "T2.Issue_Date",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T1.Artist",
            "=",
            "``",
            "Gorgoroth",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "issue_date",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "artist",
            "=",
            "value"
        ],
        "question": "What are the issue dates of volumes associated with the artist \"Gorgoroth\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "issue",
            "dates",
            "of",
            "volumes",
            "associated",
            "with",
            "the",
            "artist",
            "``",
            "Gorgoroth",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Gorgoroth\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T2.Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.Artist  =  \"Gorgoroth\"",
        "query_toks": [
            "SELECT",
            "T2.Issue_Date",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T1.Artist",
            "=",
            "``",
            "Gorgoroth",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "issue_date",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "artist",
            "=",
            "value"
        ],
        "question": "Return the issue dates of volumes that are by the artist named Gorgoroth.",
        "question_toks": [
            "Return",
            "the",
            "issue",
            "dates",
            "of",
            "volumes",
            "that",
            "are",
            "by",
            "the",
            "artist",
            "named",
            "Gorgoroth",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Gorgoroth\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  >=  32",
        "query_toks": [
            "SELECT",
            "T2.Song",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T1.age",
            ">",
            "=",
            "32"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "song",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "age",
            ">",
            "=",
            "value"
        ],
        "question": "What are the songs in volumes associated with the artist aged 32 or older?",
        "question_toks": [
            "What",
            "are",
            "the",
            "songs",
            "in",
            "volumes",
            "associated",
            "with",
            "the",
            "artist",
            "aged",
            "32",
            "or",
            "older",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    32.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  >=  32",
        "query_toks": [
            "SELECT",
            "T2.Song",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T1.age",
            ">",
            "=",
            "32"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "song",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "age",
            ">",
            "=",
            "value"
        ],
        "question": "Return names of songs in volumes that are by artists that are at least 32 years old.",
        "question_toks": [
            "Return",
            "names",
            "of",
            "songs",
            "in",
            "volumes",
            "that",
            "are",
            "by",
            "artists",
            "that",
            "are",
            "at",
            "least",
            "32",
            "years",
            "old",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    32.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT avg(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  25",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Weeks_on_Top",
            ")",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T1.age",
            "<",
            "=",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "weeks_on_top",
            ")",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "age",
            "<",
            "=",
            "value"
        ],
        "question": "What is the average weeks on top of volumes associated with the artist aged 25 or younger?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "weeks",
            "on",
            "top",
            "of",
            "volumes",
            "associated",
            "with",
            "the",
            "artist",
            "aged",
            "25",
            "or",
            "younger",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT avg(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  25",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "T2.Weeks_on_Top",
            ")",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T1.age",
            "<",
            "=",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "weeks_on_top",
            ")",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "age",
            "<",
            "=",
            "value"
        ],
        "question": "Return the average number of weeks on top for volumes by artists that are at most 25 years old.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "number",
            "of",
            "weeks",
            "on",
            "top",
            "for",
            "volumes",
            "by",
            "artists",
            "that",
            "are",
            "at",
            "most",
            "25",
            "years",
            "old",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  >  2",
        "query_toks": [
            "SELECT",
            "T1.Famous_Title",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T2.Weeks_on_Top",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "famous_title",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t2",
            ".",
            "weeks_on_top",
            ">",
            "value"
        ],
        "question": "What are the famous title of the artists associated with volumes with more than 2 weeks on top?",
        "question_toks": [
            "What",
            "are",
            "the",
            "famous",
            "title",
            "of",
            "the",
            "artists",
            "associated",
            "with",
            "volumes",
            "with",
            "more",
            "than",
            "2",
            "weeks",
            "on",
            "top",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  >  2",
        "query_toks": [
            "SELECT",
            "T1.Famous_Title",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T2.Weeks_on_Top",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "famous_title",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t2",
            ".",
            "weeks_on_top",
            ">",
            "value"
        ],
        "question": "Return the famous titles for artists that have volumes that lasted more than 2 weeks on top.",
        "question_toks": [
            "Return",
            "the",
            "famous",
            "titles",
            "for",
            "artists",
            "that",
            "have",
            "volumes",
            "that",
            "lasted",
            "more",
            "than",
            "2",
            "weeks",
            "on",
            "top",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Famous_Title ,  Age FROM artist ORDER BY Age DESC",
        "query_toks": [
            "SELECT",
            "Famous_Title",
            ",",
            "Age",
            "FROM",
            "artist",
            "ORDER",
            "BY",
            "Age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "famous_title",
            ",",
            "age",
            "from",
            "artist",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "Please list the age and famous title of artists in descending order of age.",
        "question_toks": [
            "Please",
            "list",
            "the",
            "age",
            "and",
            "famous",
            "title",
            "of",
            "artists",
            "in",
            "descending",
            "order",
            "of",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Famous_Title ,  Age FROM artist ORDER BY Age DESC",
        "query_toks": [
            "SELECT",
            "Famous_Title",
            ",",
            "Age",
            "FROM",
            "artist",
            "ORDER",
            "BY",
            "Age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "famous_title",
            ",",
            "age",
            "from",
            "artist",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "What are the famous titles and ages of each artist, listed in descending order by age?",
        "question_toks": [
            "What",
            "are",
            "the",
            "famous",
            "titles",
            "and",
            "ages",
            "of",
            "each",
            "artist",
            ",",
            "listed",
            "in",
            "descending",
            "order",
            "by",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Famous_Release_date FROM artist ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Famous_Release_date",
            "FROM",
            "artist",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "famous_release_date",
            "from",
            "artist",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the famous release date of the artist with the oldest age?",
        "question_toks": [
            "What",
            "is",
            "the",
            "famous",
            "release",
            "date",
            "of",
            "the",
            "artist",
            "with",
            "the",
            "oldest",
            "age",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Famous_Release_date FROM artist ORDER BY Age DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Famous_Release_date",
            "FROM",
            "artist",
            "ORDER",
            "BY",
            "Age",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "famous_release_date",
            "from",
            "artist",
            "order",
            "by",
            "age",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the famous release date for the oldest artist.",
        "question_toks": [
            "Return",
            "the",
            "famous",
            "release",
            "date",
            "for",
            "the",
            "oldest",
            "artist",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Category ,  COUNT(*) FROM music_festival GROUP BY Category",
        "query_toks": [
            "SELECT",
            "Category",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "music_festival",
            "GROUP",
            "BY",
            "Category"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "music_festival",
            "group",
            "by",
            "category"
        ],
        "question": "Please show the categories of the music festivals and the count.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "categories",
            "of",
            "the",
            "music",
            "festivals",
            "and",
            "the",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Category ,  COUNT(*) FROM music_festival GROUP BY Category",
        "query_toks": [
            "SELECT",
            "Category",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "music_festival",
            "GROUP",
            "BY",
            "Category"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "music_festival",
            "group",
            "by",
            "category"
        ],
        "question": "Return the number of music festivals of each category.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "music",
            "festivals",
            "of",
            "each",
            "category",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT RESULT FROM music_festival GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "RESULT",
            "FROM",
            "music_festival",
            "GROUP",
            "BY",
            "RESULT",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "result",
            "from",
            "music_festival",
            "group",
            "by",
            "result",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common result of the music festival?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "result",
            "of",
            "the",
            "music",
            "festival",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT RESULT FROM music_festival GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "RESULT",
            "FROM",
            "music_festival",
            "GROUP",
            "BY",
            "RESULT",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "result",
            "from",
            "music_festival",
            "group",
            "by",
            "result",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the result that is most frequent at music festivals.",
        "question_toks": [
            "Return",
            "the",
            "result",
            "that",
            "is",
            "most",
            "frequent",
            "at",
            "music",
            "festivals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Category FROM music_festival GROUP BY Category HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "Category",
            "FROM",
            "music_festival",
            "GROUP",
            "BY",
            "Category",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            "from",
            "music_festival",
            "group",
            "by",
            "category",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Please show the categories of the music festivals with count more than 1.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "categories",
            "of",
            "the",
            "music",
            "festivals",
            "with",
            "count",
            "more",
            "than",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Category FROM music_festival GROUP BY Category HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "Category",
            "FROM",
            "music_festival",
            "GROUP",
            "BY",
            "Category",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            "from",
            "music_festival",
            "group",
            "by",
            "category",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the categories of music festivals for which there have been more than 1 music festival?",
        "question_toks": [
            "What",
            "are",
            "the",
            "categories",
            "of",
            "music",
            "festivals",
            "for",
            "which",
            "there",
            "have",
            "been",
            "more",
            "than",
            "1",
            "music",
            "festival",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Song FROM volume ORDER BY Weeks_on_Top DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Song",
            "FROM",
            "volume",
            "ORDER",
            "BY",
            "Weeks_on_Top",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "song",
            "from",
            "volume",
            "order",
            "by",
            "weeks_on_top",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the song in the volume with the maximum weeks on top?",
        "question_toks": [
            "What",
            "is",
            "the",
            "song",
            "in",
            "the",
            "volume",
            "with",
            "the",
            "maximum",
            "weeks",
            "on",
            "top",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Song FROM volume ORDER BY Weeks_on_Top DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Song",
            "FROM",
            "volume",
            "ORDER",
            "BY",
            "Weeks_on_Top",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "song",
            "from",
            "volume",
            "order",
            "by",
            "weeks_on_top",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the song in the volume that has spent the most weeks on top?",
        "question_toks": [
            "Return",
            "the",
            "song",
            "in",
            "the",
            "volume",
            "that",
            "has",
            "spent",
            "the",
            "most",
            "weeks",
            "on",
            "top",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Famous_Title FROM artist WHERE Artist_ID NOT IN(SELECT Artist_ID FROM volume)",
        "query_toks": [
            "SELECT",
            "Famous_Title",
            "FROM",
            "artist",
            "WHERE",
            "Artist_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Artist_ID",
            "FROM",
            "volume",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "famous_title",
            "from",
            "artist",
            "where",
            "artist_id",
            "not",
            "in",
            "(",
            "select",
            "artist_id",
            "from",
            "volume",
            ")"
        ],
        "question": "Find the famous titles of artists that do not have any volume.",
        "question_toks": [
            "Find",
            "the",
            "famous",
            "titles",
            "of",
            "artists",
            "that",
            "do",
            "not",
            "have",
            "any",
            "volume",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Famous_Title FROM artist WHERE Artist_ID NOT IN(SELECT Artist_ID FROM volume)",
        "query_toks": [
            "SELECT",
            "Famous_Title",
            "FROM",
            "artist",
            "WHERE",
            "Artist_ID",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Artist_ID",
            "FROM",
            "volume",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "famous_title",
            "from",
            "artist",
            "where",
            "artist_id",
            "not",
            "in",
            "(",
            "select",
            "artist_id",
            "from",
            "volume",
            ")"
        ],
        "question": "What are the famous titles of artists who do not have any volumes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "famous",
            "titles",
            "of",
            "artists",
            "who",
            "do",
            "not",
            "have",
            "any",
            "volumes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  >  2 INTERSECT SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  <  2",
        "query_toks": [
            "SELECT",
            "T1.Famous_Title",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T2.Weeks_on_Top",
            ">",
            "2",
            "INTERSECT",
            "SELECT",
            "T1.Famous_Title",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T2.Weeks_on_Top",
            "<",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "famous_title",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t2",
            ".",
            "weeks_on_top",
            ">",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "famous_title",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t2",
            ".",
            "weeks_on_top",
            "<",
            "value"
        ],
        "question": "Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top.",
        "question_toks": [
            "Show",
            "the",
            "famous",
            "titles",
            "of",
            "the",
            "artists",
            "with",
            "both",
            "volumes",
            "that",
            "lasted",
            "more",
            "than",
            "2",
            "weeks",
            "on",
            "top",
            "and",
            "volumes",
            "that",
            "lasted",
            "less",
            "than",
            "2",
            "weeks",
            "on",
            "top",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  >  2 INTERSECT SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  <  2",
        "query_toks": [
            "SELECT",
            "T1.Famous_Title",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T2.Weeks_on_Top",
            ">",
            "2",
            "INTERSECT",
            "SELECT",
            "T1.Famous_Title",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T2.Weeks_on_Top",
            "<",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "famous_title",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t2",
            ".",
            "weeks_on_top",
            ">",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "famous_title",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t2",
            ".",
            "weeks_on_top",
            "<",
            "value"
        ],
        "question": "What are the famous titles of artists who have not only had volumes that spent more than 2 weeks on top but also volumes that spent less than 2 weeks on top?",
        "question_toks": [
            "What",
            "are",
            "the",
            "famous",
            "titles",
            "of",
            "artists",
            "who",
            "have",
            "not",
            "only",
            "had",
            "volumes",
            "that",
            "spent",
            "more",
            "than",
            "2",
            "weeks",
            "on",
            "top",
            "but",
            "also",
            "volumes",
            "that",
            "spent",
            "less",
            "than",
            "2",
            "weeks",
            "on",
            "top",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        2.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Date_of_ceremony FROM music_festival WHERE Category  =  \"Best Song\" AND RESULT  =  \"Awarded\"",
        "query_toks": [
            "SELECT",
            "Date_of_ceremony",
            "FROM",
            "music_festival",
            "WHERE",
            "Category",
            "=",
            "``",
            "Best",
            "Song",
            "''",
            "AND",
            "RESULT",
            "=",
            "``",
            "Awarded",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_ceremony",
            "from",
            "music_festival",
            "where",
            "category",
            "=",
            "value",
            "and",
            "result",
            "=",
            "value"
        ],
        "question": "What are the date of ceremony of music festivals with category \"Best Song\" and result \"Awarded\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "date",
            "of",
            "ceremony",
            "of",
            "music",
            "festivals",
            "with",
            "category",
            "``",
            "Best",
            "Song",
            "''",
            "and",
            "result",
            "``",
            "Awarded",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Best Song\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Awarded\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Date_of_ceremony FROM music_festival WHERE Category  =  \"Best Song\" AND RESULT  =  \"Awarded\"",
        "query_toks": [
            "SELECT",
            "Date_of_ceremony",
            "FROM",
            "music_festival",
            "WHERE",
            "Category",
            "=",
            "``",
            "Best",
            "Song",
            "''",
            "AND",
            "RESULT",
            "=",
            "``",
            "Awarded",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_ceremony",
            "from",
            "music_festival",
            "where",
            "category",
            "=",
            "value",
            "and",
            "result",
            "=",
            "value"
        ],
        "question": "Return the dates of ceremony corresponding to music festivals that had the category \"Best Song\" and result \"Awarded\".",
        "question_toks": [
            "Return",
            "the",
            "dates",
            "of",
            "ceremony",
            "corresponding",
            "to",
            "music",
            "festivals",
            "that",
            "had",
            "the",
            "category",
            "``",
            "Best",
            "Song",
            "''",
            "and",
            "result",
            "``",
            "Awarded",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Best Song\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Awarded\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Issue_Date FROM volume ORDER BY Weeks_on_Top ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Issue_Date",
            "FROM",
            "volume",
            "ORDER",
            "BY",
            "Weeks_on_Top",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "issue_date",
            "from",
            "volume",
            "order",
            "by",
            "weeks_on_top",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the issue date of the volume with the minimum weeks on top?",
        "question_toks": [
            "What",
            "is",
            "the",
            "issue",
            "date",
            "of",
            "the",
            "volume",
            "with",
            "the",
            "minimum",
            "weeks",
            "on",
            "top",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Issue_Date FROM volume ORDER BY Weeks_on_Top ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Issue_Date",
            "FROM",
            "volume",
            "ORDER",
            "BY",
            "Weeks_on_Top",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "issue_date",
            "from",
            "volume",
            "order",
            "by",
            "weeks_on_top",
            "asc",
            "limit",
            "value"
        ],
        "question": "Return the issue date of the volume that has spent the fewest weeks on top.",
        "question_toks": [
            "Return",
            "the",
            "issue",
            "date",
            "of",
            "the",
            "volume",
            "that",
            "has",
            "spent",
            "the",
            "fewest",
            "weeks",
            "on",
            "top",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT COUNT(DISTINCT Artist_ID) FROM volume",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Artist_ID",
            ")",
            "FROM",
            "volume"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "artist_id",
            ")",
            "from",
            "volume"
        ],
        "question": "How many distinct artists have volumes?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "artists",
            "have",
            "volumes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT COUNT(DISTINCT Artist_ID) FROM volume",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "Artist_ID",
            ")",
            "FROM",
            "volume"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "artist_id",
            ")",
            "from",
            "volume"
        ],
        "question": "Count the number of artists who have had volumes.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "artists",
            "who",
            "have",
            "had",
            "volumes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT RESULT ,  COUNT(*) FROM music_festival GROUP BY RESULT ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "RESULT",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "music_festival",
            "GROUP",
            "BY",
            "RESULT",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "result",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "music_festival",
            "group",
            "by",
            "result",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Please show the results of music festivals and the number of music festivals that have had each, ordered by this count.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "results",
            "of",
            "music",
            "festivals",
            "and",
            "the",
            "number",
            "of",
            "music",
            "festivals",
            "that",
            "have",
            "had",
            "each",
            ",",
            "ordered",
            "by",
            "this",
            "count",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT RESULT ,  COUNT(*) FROM music_festival GROUP BY RESULT ORDER BY COUNT(*) DESC",
        "query_toks": [
            "SELECT",
            "RESULT",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "music_festival",
            "GROUP",
            "BY",
            "RESULT",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "result",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "music_festival",
            "group",
            "by",
            "result",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "How many music festivals have had each kind of result, ordered descending by count?",
        "question_toks": [
            "How",
            "many",
            "music",
            "festivals",
            "have",
            "had",
            "each",
            "kind",
            "of",
            "result",
            ",",
            "ordered",
            "descending",
            "by",
            "count",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  23",
        "query_toks": [
            "SELECT",
            "Issue_Date",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T1.age",
            "<",
            "=",
            "23"
        ],
        "query_toks_no_value": [
            "select",
            "issue_date",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "age",
            "<",
            "=",
            "value"
        ],
        "question": "What are the issue dates of volumes associated with the artist aged 23 or younger?",
        "question_toks": [
            "What",
            "are",
            "the",
            "issue",
            "dates",
            "of",
            "volumes",
            "associated",
            "with",
            "the",
            "artist",
            "aged",
            "23",
            "or",
            "younger",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    23.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "music_4",
        "query": "SELECT Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  23",
        "query_toks": [
            "SELECT",
            "Issue_Date",
            "FROM",
            "artist",
            "AS",
            "T1",
            "JOIN",
            "volume",
            "AS",
            "T2",
            "ON",
            "T1.Artist_ID",
            "=",
            "T2.Artist_ID",
            "WHERE",
            "T1.age",
            "<",
            "=",
            "23"
        ],
        "query_toks_no_value": [
            "select",
            "issue_date",
            "from",
            "artist",
            "as",
            "t1",
            "join",
            "volume",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "artist_id",
            "=",
            "t2",
            ".",
            "artist_id",
            "where",
            "t1",
            ".",
            "age",
            "<",
            "=",
            "value"
        ],
        "question": "Return the issue dates of volumes by artists who are at most 23 years old?",
        "question_toks": [
            "Return",
            "the",
            "issue",
            "dates",
            "of",
            "volumes",
            "by",
            "artists",
            "who",
            "are",
            "at",
            "most",
            "23",
            "years",
            "old",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    23.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT count(*) FROM roller_coaster",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "roller_coaster"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "roller_coaster"
        ],
        "question": "How many roller coasters are there?",
        "question_toks": [
            "How",
            "many",
            "roller",
            "coasters",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT Name FROM roller_coaster ORDER BY LENGTH ASC",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "roller_coaster",
            "ORDER",
            "BY",
            "LENGTH",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "roller_coaster",
            "order",
            "by",
            "length",
            "asc"
        ],
        "question": "List the names of roller coasters by ascending order of length.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "roller",
            "coasters",
            "by",
            "ascending",
            "order",
            "of",
            "length",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT LENGTH ,  Height FROM roller_coaster",
        "query_toks": [
            "SELECT",
            "LENGTH",
            ",",
            "Height",
            "FROM",
            "roller_coaster"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            ",",
            "height",
            "from",
            "roller_coaster"
        ],
        "question": "What are the lengths and heights of roller coasters?",
        "question_toks": [
            "What",
            "are",
            "the",
            "lengths",
            "and",
            "heights",
            "of",
            "roller",
            "coasters",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT Name FROM country WHERE Languages != \"German\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "country",
            "WHERE",
            "Languages",
            "!",
            "=",
            "``",
            "German",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "country",
            "where",
            "languages",
            "!",
            "=",
            "value"
        ],
        "question": "List the names of countries whose language is not \"German\".",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "countries",
            "whose",
            "language",
            "is",
            "not",
            "``",
            "German",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"German\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT Status FROM roller_coaster WHERE LENGTH  >  3300 OR Height  >  100",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "roller_coaster",
            "WHERE",
            "LENGTH",
            ">",
            "3300",
            "OR",
            "Height",
            ">",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "roller_coaster",
            "where",
            "length",
            ">",
            "value",
            "or",
            "height",
            ">",
            "value"
        ],
        "question": "Show the statuses of roller coasters longer than 3300 or higher than 100.",
        "question_toks": [
            "Show",
            "the",
            "statuses",
            "of",
            "roller",
            "coasters",
            "longer",
            "than",
            "3300",
            "or",
            "higher",
            "than",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    3300.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT Speed FROM roller_coaster ORDER BY LENGTH DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Speed",
            "FROM",
            "roller_coaster",
            "ORDER",
            "BY",
            "LENGTH",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "speed",
            "from",
            "roller_coaster",
            "order",
            "by",
            "length",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the speeds of the longest roller coaster?",
        "question_toks": [
            "What",
            "are",
            "the",
            "speeds",
            "of",
            "the",
            "longest",
            "roller",
            "coaster",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT avg(Speed) FROM roller_coaster",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Speed",
            ")",
            "FROM",
            "roller_coaster"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "speed",
            ")",
            "from",
            "roller_coaster"
        ],
        "question": "What is the average speed of roller coasters?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "speed",
            "of",
            "roller",
            "coasters",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT Status ,  COUNT(*) FROM roller_coaster GROUP BY Status",
        "query_toks": [
            "SELECT",
            "Status",
            ",",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "roller_coaster",
            "GROUP",
            "BY",
            "Status"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "roller_coaster",
            "group",
            "by",
            "status"
        ],
        "question": "Show the different statuses and the numbers of roller coasters for each status.",
        "question_toks": [
            "Show",
            "the",
            "different",
            "statuses",
            "and",
            "the",
            "numbers",
            "of",
            "roller",
            "coasters",
            "for",
            "each",
            "status",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT Status FROM roller_coaster GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "roller_coaster",
            "GROUP",
            "BY",
            "Status",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "roller_coaster",
            "group",
            "by",
            "status",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Please show the most common status of roller coasters.",
        "question_toks": [
            "Please",
            "show",
            "the",
            "most",
            "common",
            "status",
            "of",
            "roller",
            "coasters",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT Status FROM roller_coaster GROUP BY Status HAVING COUNT(*)  >  2",
        "query_toks": [
            "SELECT",
            "Status",
            "FROM",
            "roller_coaster",
            "GROUP",
            "BY",
            "Status",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "status",
            "from",
            "roller_coaster",
            "group",
            "by",
            "status",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the status shared by more than two roller coaster.",
        "question_toks": [
            "List",
            "the",
            "status",
            "shared",
            "by",
            "more",
            "than",
            "two",
            "roller",
            "coaster",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT Park FROM roller_coaster ORDER BY Speed DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "Park",
            "FROM",
            "roller_coaster",
            "ORDER",
            "BY",
            "Speed",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "park",
            "from",
            "roller_coaster",
            "order",
            "by",
            "speed",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the park of the roller coaster with the highest speed.",
        "question_toks": [
            "Show",
            "the",
            "park",
            "of",
            "the",
            "roller",
            "coaster",
            "with",
            "the",
            "highest",
            "speed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT T2.Name ,  T1.Name FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID  =  T2.Country_ID",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "roller_coaster",
            "AS",
            "T2",
            "ON",
            "T1.Country_ID",
            "=",
            "T2.Country_ID"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "roller_coaster",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id"
        ],
        "question": "Show the names of roller coasters and names of country they are in.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "roller",
            "coasters",
            "and",
            "names",
            "of",
            "country",
            "they",
            "are",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT T1.Name FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID  =  T2.Country_ID GROUP BY T1.Name HAVING COUNT(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "roller_coaster",
            "AS",
            "T2",
            "ON",
            "T1.Country_ID",
            "=",
            "T2.Country_ID",
            "GROUP",
            "BY",
            "T1.Name",
            "HAVING",
            "COUNT",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "roller_coaster",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Show the names of countries that have more than one roller coaster.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "countries",
            "that",
            "have",
            "more",
            "than",
            "one",
            "roller",
            "coaster",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT T1.Name ,  T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID  =  T2.Country_ID ORDER BY T2.Height DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T1.population",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "roller_coaster",
            "AS",
            "T2",
            "ON",
            "T1.Country_ID",
            "=",
            "T2.Country_ID",
            "ORDER",
            "BY",
            "T2.Height",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "population",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "roller_coaster",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "order",
            "by",
            "t2",
            ".",
            "height",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the name and population of the country that has the highest roller coaster.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "population",
            "of",
            "the",
            "country",
            "that",
            "has",
            "the",
            "highest",
            "roller",
            "coaster",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT T1.Name ,  avg(T2.Speed) FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID  =  T2.Country_ID GROUP BY T1.Name",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "avg",
            "(",
            "T2.Speed",
            ")",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "roller_coaster",
            "AS",
            "T2",
            "ON",
            "T1.Country_ID",
            "=",
            "T2.Country_ID",
            "GROUP",
            "BY",
            "T1.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "avg",
            "(",
            "t2",
            ".",
            "speed",
            ")",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "roller_coaster",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "Show the names of countries and the average speed of roller coasters from each country.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "countries",
            "and",
            "the",
            "average",
            "speed",
            "of",
            "roller",
            "coasters",
            "from",
            "each",
            "country",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT count(*) FROM country WHERE country_id NOT IN ( SELECT country_id FROM roller_coaster WHERE LENGTH  >  3000 )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "country",
            "WHERE",
            "country_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "country_id",
            "FROM",
            "roller_coaster",
            "WHERE",
            "LENGTH",
            ">",
            "3000",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "country",
            "where",
            "country_id",
            "not",
            "in",
            "(",
            "select",
            "country_id",
            "from",
            "roller_coaster",
            "where",
            "length",
            ">",
            "value",
            ")"
        ],
        "question": "How many countries do not have an roller coaster longer than 3000?",
        "question_toks": [
            "How",
            "many",
            "countries",
            "do",
            "not",
            "have",
            "an",
            "roller",
            "coaster",
            "longer",
            "than",
            "3000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                3000.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "roller_coaster",
        "query": "SELECT T1.name ,  T1.area ,  T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID  =  T2.Country_ID WHERE T2.speed  >  60 INTERSECT SELECT T1.name ,  T1.area ,  T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID  =  T2.Country_ID WHERE T2.speed  <  55",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.area",
            ",",
            "T1.population",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "roller_coaster",
            "AS",
            "T2",
            "ON",
            "T1.Country_ID",
            "=",
            "T2.Country_ID",
            "WHERE",
            "T2.speed",
            ">",
            "60",
            "INTERSECT",
            "SELECT",
            "T1.name",
            ",",
            "T1.area",
            ",",
            "T1.population",
            "FROM",
            "country",
            "AS",
            "T1",
            "JOIN",
            "roller_coaster",
            "AS",
            "T2",
            "ON",
            "T1.Country_ID",
            "=",
            "T2.Country_ID",
            "WHERE",
            "T2.speed",
            "<",
            "55"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "area",
            ",",
            "t1",
            ".",
            "population",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "roller_coaster",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "where",
            "t2",
            ".",
            "speed",
            ">",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "area",
            ",",
            "t1",
            ".",
            "population",
            "from",
            "country",
            "as",
            "t1",
            "join",
            "roller_coaster",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "country_id",
            "=",
            "t2",
            ".",
            "country_id",
            "where",
            "t2",
            ".",
            "speed",
            "<",
            "value"
        ],
        "question": "What are the country names, area and population which has both roller coasters with speed higher",
        "question_toks": [
            "What",
            "are",
            "the",
            "country",
            "names",
            ",",
            "area",
            "and",
            "population",
            "which",
            "has",
            "both",
            "roller",
            "coasters",
            "with",
            "speed",
            "higher"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    60.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        55.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(DISTINCT rank) FROM captain",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "rank",
            ")",
            "FROM",
            "captain"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "rank",
            ")",
            "from",
            "captain"
        ],
        "question": "How many different captain ranks are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "captain",
            "ranks",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(DISTINCT rank) FROM captain",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "rank",
            ")",
            "FROM",
            "captain"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "rank",
            ")",
            "from",
            "captain"
        ],
        "question": "Count the number of different ranks of captain.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "ranks",
            "of",
            "captain",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(*) ,  rank FROM captain GROUP BY rank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "rank",
            "FROM",
            "captain",
            "GROUP",
            "BY",
            "rank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "rank",
            "from",
            "captain",
            "group",
            "by",
            "rank"
        ],
        "question": "How many captains are in each rank?",
        "question_toks": [
            "How",
            "many",
            "captains",
            "are",
            "in",
            "each",
            "rank",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(*) ,  rank FROM captain GROUP BY rank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "rank",
            "FROM",
            "captain",
            "GROUP",
            "BY",
            "rank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "rank",
            "from",
            "captain",
            "group",
            "by",
            "rank"
        ],
        "question": "Count the number of captains that have each rank.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "captains",
            "that",
            "have",
            "each",
            "rank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(*) ,  rank FROM captain WHERE age  <  50 GROUP BY rank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "rank",
            "FROM",
            "captain",
            "WHERE",
            "age",
            "<",
            "50",
            "GROUP",
            "BY",
            "rank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "rank",
            "from",
            "captain",
            "where",
            "age",
            "<",
            "value",
            "group",
            "by",
            "rank"
        ],
        "question": "How many captains with younger than 50 are in each rank?",
        "question_toks": [
            "How",
            "many",
            "captains",
            "with",
            "younger",
            "than",
            "50",
            "are",
            "in",
            "each",
            "rank",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(*) ,  rank FROM captain WHERE age  <  50 GROUP BY rank",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "rank",
            "FROM",
            "captain",
            "WHERE",
            "age",
            "<",
            "50",
            "GROUP",
            "BY",
            "rank"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "rank",
            "from",
            "captain",
            "where",
            "age",
            "<",
            "value",
            "group",
            "by",
            "rank"
        ],
        "question": "Count the number of captains younger than 50 of each rank.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "captains",
            "younger",
            "than",
            "50",
            "of",
            "each",
            "rank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name FROM captain ORDER BY age DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "captain",
            "ORDER",
            "BY",
            "age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "captain",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "Sort all captain names by their ages from old to young.",
        "question_toks": [
            "Sort",
            "all",
            "captain",
            "names",
            "by",
            "their",
            "ages",
            "from",
            "old",
            "to",
            "young",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name FROM captain ORDER BY age DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "captain",
            "ORDER",
            "BY",
            "age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "captain",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "What are the names of captains, sorted by age descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "captains",
            ",",
            "sorted",
            "by",
            "age",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name ,  CLASS ,  rank FROM captain",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "CLASS",
            ",",
            "rank",
            "FROM",
            "captain"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "class",
            ",",
            "rank",
            "from",
            "captain"
        ],
        "question": "Find the name, class and rank of all captains.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "class",
            "and",
            "rank",
            "of",
            "all",
            "captains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name ,  CLASS ,  rank FROM captain",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "CLASS",
            ",",
            "rank",
            "FROM",
            "captain"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "class",
            ",",
            "rank",
            "from",
            "captain"
        ],
        "question": "What are the names, classes, and ranks of all captains?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            ",",
            "classes",
            ",",
            "and",
            "ranks",
            "of",
            "all",
            "captains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT rank FROM captain GROUP BY rank ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "GROUP",
            "BY",
            "rank",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "captain",
            "group",
            "by",
            "rank",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which rank is the most common among captains?",
        "question_toks": [
            "Which",
            "rank",
            "is",
            "the",
            "most",
            "common",
            "among",
            "captains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT rank FROM captain GROUP BY rank ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "GROUP",
            "BY",
            "rank",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "captain",
            "group",
            "by",
            "rank",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the rank for which there are the fewest captains.",
        "question_toks": [
            "Return",
            "the",
            "rank",
            "for",
            "which",
            "there",
            "are",
            "the",
            "fewest",
            "captains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT CLASS FROM captain GROUP BY CLASS HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "CLASS",
            "FROM",
            "captain",
            "GROUP",
            "BY",
            "CLASS",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "class",
            "from",
            "captain",
            "group",
            "by",
            "class",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which classes have more than two captains?",
        "question_toks": [
            "Which",
            "classes",
            "have",
            "more",
            "than",
            "two",
            "captains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT CLASS FROM captain GROUP BY CLASS HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "CLASS",
            "FROM",
            "captain",
            "GROUP",
            "BY",
            "CLASS",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "class",
            "from",
            "captain",
            "group",
            "by",
            "class",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Give the classes that have more than two captains.",
        "question_toks": [
            "Give",
            "the",
            "classes",
            "that",
            "have",
            "more",
            "than",
            "two",
            "captains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name FROM captain WHERE rank  =  'Midshipman' OR rank  =  'Lieutenant'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "captain",
            "WHERE",
            "rank",
            "=",
            "'Midshipman",
            "'",
            "OR",
            "rank",
            "=",
            "'Lieutenant",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "captain",
            "where",
            "rank",
            "=",
            "value",
            "or",
            "rank",
            "=",
            "value"
        ],
        "question": "Find the name of captains whose rank are either Midshipman or Lieutenant.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "captains",
            "whose",
            "rank",
            "are",
            "either",
            "Midshipman",
            "or",
            "Lieutenant",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Midshipman\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Lieutenant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name FROM captain WHERE rank  =  'Midshipman' OR rank  =  'Lieutenant'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "captain",
            "WHERE",
            "rank",
            "=",
            "'Midshipman",
            "'",
            "OR",
            "rank",
            "=",
            "'Lieutenant",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "captain",
            "where",
            "rank",
            "=",
            "value",
            "or",
            "rank",
            "=",
            "value"
        ],
        "question": "What are the names of captains that have either the rank Midshipman or Lieutenant?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "captains",
            "that",
            "have",
            "either",
            "the",
            "rank",
            "Midshipman",
            "or",
            "Lieutenant",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Midshipman\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Lieutenant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT avg(age) ,  min(age) ,  CLASS FROM captain GROUP BY CLASS",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "CLASS",
            "FROM",
            "captain",
            "GROUP",
            "BY",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "class",
            "from",
            "captain",
            "group",
            "by",
            "class"
        ],
        "question": "What are the average and minimum age of captains in different class?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "and",
            "minimum",
            "age",
            "of",
            "captains",
            "in",
            "different",
            "class",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT avg(age) ,  min(age) ,  CLASS FROM captain GROUP BY CLASS",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "CLASS",
            "FROM",
            "captain",
            "GROUP",
            "BY",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "age",
            ")",
            ",",
            "min",
            "(",
            "age",
            ")",
            ",",
            "class",
            "from",
            "captain",
            "group",
            "by",
            "class"
        ],
        "question": "Return the average and minimum age of captains in each class.",
        "question_toks": [
            "Return",
            "the",
            "average",
            "and",
            "minimum",
            "age",
            "of",
            "captains",
            "in",
            "each",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT rank FROM captain WHERE CLASS  =  'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS  =  'Armed schooner'",
        "query_toks": [
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "WHERE",
            "CLASS",
            "=",
            "'Cutter",
            "'",
            "INTERSECT",
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "WHERE",
            "CLASS",
            "=",
            "'Armed",
            "schooner",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "captain",
            "where",
            "class",
            "=",
            "value",
            "intersect",
            "select",
            "rank",
            "from",
            "captain",
            "where",
            "class",
            "=",
            "value"
        ],
        "question": "Find the captain rank that has some captains in both Cutter and Armed schooner classes.",
        "question_toks": [
            "Find",
            "the",
            "captain",
            "rank",
            "that",
            "has",
            "some",
            "captains",
            "in",
            "both",
            "Cutter",
            "and",
            "Armed",
            "schooner",
            "classes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Cutter\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Armed schooner\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT rank FROM captain WHERE CLASS  =  'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS  =  'Armed schooner'",
        "query_toks": [
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "WHERE",
            "CLASS",
            "=",
            "'Cutter",
            "'",
            "INTERSECT",
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "WHERE",
            "CLASS",
            "=",
            "'Armed",
            "schooner",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "captain",
            "where",
            "class",
            "=",
            "value",
            "intersect",
            "select",
            "rank",
            "from",
            "captain",
            "where",
            "class",
            "=",
            "value"
        ],
        "question": "What are the ranks of captains that are both in the Cutter and Armed schooner classes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ranks",
            "of",
            "captains",
            "that",
            "are",
            "both",
            "in",
            "the",
            "Cutter",
            "and",
            "Armed",
            "schooner",
            "classes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Cutter\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Armed schooner\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT rank FROM captain EXCEPT SELECT rank FROM captain WHERE CLASS  =  'Third-rate ship of the line'",
        "query_toks": [
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "EXCEPT",
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "WHERE",
            "CLASS",
            "=",
            "'Third-rate",
            "ship",
            "of",
            "the",
            "line",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "captain",
            "except",
            "select",
            "rank",
            "from",
            "captain",
            "where",
            "class",
            "=",
            "value"
        ],
        "question": "Find the captain rank that has no captain in Third-rate ship of the line class.",
        "question_toks": [
            "Find",
            "the",
            "captain",
            "rank",
            "that",
            "has",
            "no",
            "captain",
            "in",
            "Third-rate",
            "ship",
            "of",
            "the",
            "line",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Third-rate ship of the line\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT rank FROM captain EXCEPT SELECT rank FROM captain WHERE CLASS  =  'Third-rate ship of the line'",
        "query_toks": [
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "EXCEPT",
            "SELECT",
            "rank",
            "FROM",
            "captain",
            "WHERE",
            "CLASS",
            "=",
            "'Third-rate",
            "ship",
            "of",
            "the",
            "line",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "captain",
            "except",
            "select",
            "rank",
            "from",
            "captain",
            "where",
            "class",
            "=",
            "value"
        ],
        "question": "What are the ranks of captains that have no captain that are in the Third-rate ship of the line class?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ranks",
            "of",
            "captains",
            "that",
            "have",
            "no",
            "captain",
            "that",
            "are",
            "in",
            "the",
            "Third-rate",
            "ship",
            "of",
            "the",
            "line",
            "class",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "\"Third-rate ship of the line\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name FROM captain ORDER BY age LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "captain",
            "ORDER",
            "BY",
            "age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "captain",
            "order",
            "by",
            "age",
            "limit",
            "value"
        ],
        "question": "What is the name of the youngest captain?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "youngest",
            "captain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name FROM captain ORDER BY age LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "captain",
            "ORDER",
            "BY",
            "age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "captain",
            "order",
            "by",
            "age",
            "limit",
            "value"
        ],
        "question": "Return the name of the youngest captain.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "youngest",
            "captain",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(*) FROM ship",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ship"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ship"
        ],
        "question": "how many ships are there?",
        "question_toks": [
            "how",
            "many",
            "ships",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(*) FROM ship",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "ship"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ship"
        ],
        "question": "Count the number of ships.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "ships",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name ,  TYPE ,  flag FROM ship ORDER BY built_year DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "TYPE",
            ",",
            "flag",
            "FROM",
            "ship",
            "ORDER",
            "BY",
            "built_year",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "type",
            ",",
            "flag",
            "from",
            "ship",
            "order",
            "by",
            "built_year",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name, type, and flag of the ship that is built in the most recent year.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "type",
            ",",
            "and",
            "flag",
            "of",
            "the",
            "ship",
            "that",
            "is",
            "built",
            "in",
            "the",
            "most",
            "recent",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name ,  TYPE ,  flag FROM ship ORDER BY built_year DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "TYPE",
            ",",
            "flag",
            "FROM",
            "ship",
            "ORDER",
            "BY",
            "built_year",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "type",
            ",",
            "flag",
            "from",
            "ship",
            "order",
            "by",
            "built_year",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name, type, and flag of the ship that was built in the most recent year?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            ",",
            "type",
            ",",
            "and",
            "flag",
            "of",
            "the",
            "ship",
            "that",
            "was",
            "built",
            "in",
            "the",
            "most",
            "recent",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(*) ,  flag FROM ship GROUP BY flag",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "flag",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "flag"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "flag",
            "from",
            "ship",
            "group",
            "by",
            "flag"
        ],
        "question": "Group by ships by flag, and return number of ships that have each flag.",
        "question_toks": [
            "Group",
            "by",
            "ships",
            "by",
            "flag",
            ",",
            "and",
            "return",
            "number",
            "of",
            "ships",
            "that",
            "have",
            "each",
            "flag",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT count(*) ,  flag FROM ship GROUP BY flag",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "flag",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "flag"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "flag",
            "from",
            "ship",
            "group",
            "by",
            "flag"
        ],
        "question": "What are the different ship flags, and how many ships have each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "ship",
            "flags",
            ",",
            "and",
            "how",
            "many",
            "ships",
            "have",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT flag FROM ship GROUP BY flag ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "flag",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "flag",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "flag",
            "from",
            "ship",
            "group",
            "by",
            "flag",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which flag is most widely used among all ships?",
        "question_toks": [
            "Which",
            "flag",
            "is",
            "most",
            "widely",
            "used",
            "among",
            "all",
            "ships",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT flag FROM ship GROUP BY flag ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "flag",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "flag",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "flag",
            "from",
            "ship",
            "group",
            "by",
            "flag",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the flag that is most common among all ships.",
        "question_toks": [
            "Return",
            "the",
            "flag",
            "that",
            "is",
            "most",
            "common",
            "among",
            "all",
            "ships",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name FROM ship ORDER BY built_year ,  CLASS",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "ship",
            "ORDER",
            "BY",
            "built_year",
            ",",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "order",
            "by",
            "built_year",
            ",",
            "class"
        ],
        "question": "List all ship names in the order of built year and class.",
        "question_toks": [
            "List",
            "all",
            "ship",
            "names",
            "in",
            "the",
            "order",
            "of",
            "built",
            "year",
            "and",
            "class",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name FROM ship ORDER BY built_year ,  CLASS",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "ship",
            "ORDER",
            "BY",
            "built_year",
            ",",
            "CLASS"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "ship",
            "order",
            "by",
            "built_year",
            ",",
            "class"
        ],
        "question": "What are the names of ships, ordered by year they were built and their class?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "ships",
            ",",
            "ordered",
            "by",
            "year",
            "they",
            "were",
            "built",
            "and",
            "their",
            "class",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT TYPE FROM ship WHERE flag  =  'Panama' INTERSECT SELECT TYPE FROM ship WHERE flag  =  'Malta'",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "WHERE",
            "flag",
            "=",
            "'Panama",
            "'",
            "INTERSECT",
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "WHERE",
            "flag",
            "=",
            "'Malta",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "ship",
            "where",
            "flag",
            "=",
            "value",
            "intersect",
            "select",
            "type",
            "from",
            "ship",
            "where",
            "flag",
            "=",
            "value"
        ],
        "question": "Find the ship type that are used by both ships with Panama and Malta flags.",
        "question_toks": [
            "Find",
            "the",
            "ship",
            "type",
            "that",
            "are",
            "used",
            "by",
            "both",
            "ships",
            "with",
            "Panama",
            "and",
            "Malta",
            "flags",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Panama\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"Malta\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT TYPE FROM ship WHERE flag  =  'Panama' INTERSECT SELECT TYPE FROM ship WHERE flag  =  'Malta'",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "WHERE",
            "flag",
            "=",
            "'Panama",
            "'",
            "INTERSECT",
            "SELECT",
            "TYPE",
            "FROM",
            "ship",
            "WHERE",
            "flag",
            "=",
            "'Malta",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "ship",
            "where",
            "flag",
            "=",
            "value",
            "intersect",
            "select",
            "type",
            "from",
            "ship",
            "where",
            "flag",
            "=",
            "value"
        ],
        "question": "What types of ships have both ships that have Panama Flags and Malta flags?",
        "question_toks": [
            "What",
            "types",
            "of",
            "ships",
            "have",
            "both",
            "ships",
            "that",
            "have",
            "Panama",
            "Flags",
            "and",
            "Malta",
            "flags",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Panama\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        "\"Malta\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT built_year FROM ship GROUP BY built_year ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "built_year",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "built_year",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "built_year",
            "from",
            "ship",
            "group",
            "by",
            "built_year",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "In which year were most of ships built?",
        "question_toks": [
            "In",
            "which",
            "year",
            "were",
            "most",
            "of",
            "ships",
            "built",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT built_year FROM ship GROUP BY built_year ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "built_year",
            "FROM",
            "ship",
            "GROUP",
            "BY",
            "built_year",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "built_year",
            "from",
            "ship",
            "group",
            "by",
            "built_year",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the year in which most ships were built?",
        "question_toks": [
            "What",
            "is",
            "the",
            "year",
            "in",
            "which",
            "most",
            "ships",
            "were",
            "built",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id  =  t2.ship_id GROUP BY t2.ship_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "ship",
            "AS",
            "t1",
            "JOIN",
            "captain",
            "AS",
            "t2",
            "ON",
            "t1.ship_id",
            "=",
            "t2.ship_id",
            "GROUP",
            "BY",
            "t2.ship_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "ship",
            "as",
            "t1",
            "join",
            "captain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "group",
            "by",
            "t2",
            ".",
            "ship_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the name of the ships that have more than one captain.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "ships",
            "that",
            "have",
            "more",
            "than",
            "one",
            "captain",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id  =  t2.ship_id GROUP BY t2.ship_id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "ship",
            "AS",
            "t1",
            "JOIN",
            "captain",
            "AS",
            "t2",
            "ON",
            "t1.ship_id",
            "=",
            "t2.ship_id",
            "GROUP",
            "BY",
            "t2.ship_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "ship",
            "as",
            "t1",
            "join",
            "captain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "group",
            "by",
            "t2",
            ".",
            "ship_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of ships that have more than one captain?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "ships",
            "that",
            "have",
            "more",
            "than",
            "one",
            "captain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name ,  CLASS FROM ship WHERE ship_id NOT IN (SELECT ship_id FROM captain)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "CLASS",
            "FROM",
            "ship",
            "WHERE",
            "ship_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "ship_id",
            "FROM",
            "captain",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "class",
            "from",
            "ship",
            "where",
            "ship_id",
            "not",
            "in",
            "(",
            "select",
            "ship_id",
            "from",
            "captain",
            ")"
        ],
        "question": "what are the names and classes of the ships that do not have any captain yet?",
        "question_toks": [
            "what",
            "are",
            "the",
            "names",
            "and",
            "classes",
            "of",
            "the",
            "ships",
            "that",
            "do",
            "not",
            "have",
            "any",
            "captain",
            "yet",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name ,  CLASS FROM ship WHERE ship_id NOT IN (SELECT ship_id FROM captain)",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "CLASS",
            "FROM",
            "ship",
            "WHERE",
            "ship_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "ship_id",
            "FROM",
            "captain",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "class",
            "from",
            "ship",
            "where",
            "ship_id",
            "not",
            "in",
            "(",
            "select",
            "ship_id",
            "from",
            "captain",
            ")"
        ],
        "question": "Return the names and classes of ships that do not have a captain?",
        "question_toks": [
            "Return",
            "the",
            "names",
            "and",
            "classes",
            "of",
            "ships",
            "that",
            "do",
            "not",
            "have",
            "a",
            "captain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id  =  t2.ship_id ORDER BY t2.age LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "ship",
            "AS",
            "t1",
            "JOIN",
            "captain",
            "AS",
            "t2",
            "ON",
            "t1.ship_id",
            "=",
            "t2.ship_id",
            "ORDER",
            "BY",
            "t2.age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "ship",
            "as",
            "t1",
            "join",
            "captain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "order",
            "by",
            "t2",
            ".",
            "age",
            "limit",
            "value"
        ],
        "question": "Find the name of the ship that is steered by the youngest captain.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "ship",
            "that",
            "is",
            "steered",
            "by",
            "the",
            "youngest",
            "captain",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id  =  t2.ship_id ORDER BY t2.age LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "ship",
            "AS",
            "t1",
            "JOIN",
            "captain",
            "AS",
            "t2",
            "ON",
            "t1.ship_id",
            "=",
            "t2.ship_id",
            "ORDER",
            "BY",
            "t2.age",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "ship",
            "as",
            "t1",
            "join",
            "captain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "order",
            "by",
            "t2",
            ".",
            "age",
            "limit",
            "value"
        ],
        "question": "What is the name of the ship that is commanded by the youngest captain?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "ship",
            "that",
            "is",
            "commanded",
            "by",
            "the",
            "youngest",
            "captain",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name ,  flag FROM ship WHERE ship_id NOT IN (SELECT ship_id FROM captain WHERE rank  =  'Midshipman')",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "flag",
            "FROM",
            "ship",
            "WHERE",
            "ship_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "ship_id",
            "FROM",
            "captain",
            "WHERE",
            "rank",
            "=",
            "'Midshipman",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "flag",
            "from",
            "ship",
            "where",
            "ship_id",
            "not",
            "in",
            "(",
            "select",
            "ship_id",
            "from",
            "captain",
            "where",
            "rank",
            "=",
            "value",
            ")"
        ],
        "question": "Find the name and flag of ships that are not steered by any captain with Midshipman rank.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "flag",
            "of",
            "ships",
            "that",
            "are",
            "not",
            "steered",
            "by",
            "any",
            "captain",
            "with",
            "Midshipman",
            "rank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Midshipman\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT name ,  flag FROM ship WHERE ship_id NOT IN (SELECT ship_id FROM captain WHERE rank  =  'Midshipman')",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "flag",
            "FROM",
            "ship",
            "WHERE",
            "ship_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "ship_id",
            "FROM",
            "captain",
            "WHERE",
            "rank",
            "=",
            "'Midshipman",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "flag",
            "from",
            "ship",
            "where",
            "ship_id",
            "not",
            "in",
            "(",
            "select",
            "ship_id",
            "from",
            "captain",
            "where",
            "rank",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names and flags of ships that do not have a captain with the rank of Midshipman?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "flags",
            "of",
            "ships",
            "that",
            "do",
            "not",
            "have",
            "a",
            "captain",
            "with",
            "the",
            "rank",
            "of",
            "Midshipman",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Midshipman\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id  =  t2.ship_id WHERE t2.rank  =  'Midshipman' INTERSECT SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id  =  t2.ship_id WHERE t2.rank  =  'Lieutenant'",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "ship",
            "AS",
            "t1",
            "JOIN",
            "captain",
            "AS",
            "t2",
            "ON",
            "t1.ship_id",
            "=",
            "t2.ship_id",
            "WHERE",
            "t2.rank",
            "=",
            "'Midshipman",
            "'",
            "INTERSECT",
            "SELECT",
            "t1.name",
            "FROM",
            "ship",
            "AS",
            "t1",
            "JOIN",
            "captain",
            "AS",
            "t2",
            "ON",
            "t1.ship_id",
            "=",
            "t2.ship_id",
            "WHERE",
            "t2.rank",
            "=",
            "'Lieutenant",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "ship",
            "as",
            "t1",
            "join",
            "captain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "where",
            "t2",
            ".",
            "rank",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "ship",
            "as",
            "t1",
            "join",
            "captain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "where",
            "t2",
            ".",
            "rank",
            "=",
            "value"
        ],
        "question": "Find the name of the ships that are steered by both a captain with Midshipman rank and a captain with Lieutenant rank.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "ships",
            "that",
            "are",
            "steered",
            "by",
            "both",
            "a",
            "captain",
            "with",
            "Midshipman",
            "rank",
            "and",
            "a",
            "captain",
            "with",
            "Lieutenant",
            "rank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Midshipman\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"Lieutenant\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "ship_1",
        "query": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id  =  t2.ship_id WHERE t2.rank  =  'Midshipman' INTERSECT SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id  =  t2.ship_id WHERE t2.rank  =  'Lieutenant'",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "ship",
            "AS",
            "t1",
            "JOIN",
            "captain",
            "AS",
            "t2",
            "ON",
            "t1.ship_id",
            "=",
            "t2.ship_id",
            "WHERE",
            "t2.rank",
            "=",
            "'Midshipman",
            "'",
            "INTERSECT",
            "SELECT",
            "t1.name",
            "FROM",
            "ship",
            "AS",
            "t1",
            "JOIN",
            "captain",
            "AS",
            "t2",
            "ON",
            "t1.ship_id",
            "=",
            "t2.ship_id",
            "WHERE",
            "t2.rank",
            "=",
            "'Lieutenant",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "ship",
            "as",
            "t1",
            "join",
            "captain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "where",
            "t2",
            ".",
            "rank",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "name",
            "from",
            "ship",
            "as",
            "t1",
            "join",
            "captain",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ship_id",
            "=",
            "t2",
            ".",
            "ship_id",
            "where",
            "t2",
            ".",
            "rank",
            "=",
            "value"
        ],
        "question": "What are the names of ships that are commanded by both captains with the rank of Midshipman and captains with the rank of Lieutenant?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "ships",
            "that",
            "are",
            "commanded",
            "by",
            "both",
            "captains",
            "with",
            "the",
            "rank",
            "of",
            "Midshipman",
            "and",
            "captains",
            "with",
            "the",
            "rank",
            "of",
            "Lieutenant",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Midshipman\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        "\"Lieutenant\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT host_city FROM hosting_city ORDER BY YEAR DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "host_city",
            "FROM",
            "hosting_city",
            "ORDER",
            "BY",
            "YEAR",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "host_city",
            "from",
            "hosting_city",
            "order",
            "by",
            "year",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is id of the city that hosted events in the most recent year?",
        "question_toks": [
            "What",
            "is",
            "id",
            "of",
            "the",
            "city",
            "that",
            "hosted",
            "events",
            "in",
            "the",
            "most",
            "recent",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT host_city FROM hosting_city ORDER BY YEAR DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "host_city",
            "FROM",
            "hosting_city",
            "ORDER",
            "BY",
            "YEAR",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "host_city",
            "from",
            "hosting_city",
            "order",
            "by",
            "year",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the city that hosted some events in the most recent year. What is the id of this city?",
        "question_toks": [
            "Find",
            "the",
            "city",
            "that",
            "hosted",
            "some",
            "events",
            "in",
            "the",
            "most",
            "recent",
            "year",
            ".",
            "What",
            "is",
            "the",
            "id",
            "of",
            "this",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT match_id FROM MATCH WHERE competition = \"1994 FIFA World Cup qualification\"",
        "query_toks": [
            "SELECT",
            "match_id",
            "FROM",
            "MATCH",
            "WHERE",
            "competition",
            "=",
            "``",
            "1994",
            "FIFA",
            "World",
            "Cup",
            "qualification",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "match_id",
            "from",
            "match",
            "where",
            "competition",
            "=",
            "value"
        ],
        "question": "Find the match ids of the cities that hosted competition \"1994 FIFA World Cup qualification\"?",
        "question_toks": [
            "Find",
            "the",
            "match",
            "ids",
            "of",
            "the",
            "cities",
            "that",
            "hosted",
            "competition",
            "``",
            "1994",
            "FIFA",
            "World",
            "Cup",
            "qualification",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"1994 FIFA World Cup qualification\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT match_id FROM MATCH WHERE competition = \"1994 FIFA World Cup qualification\"",
        "query_toks": [
            "SELECT",
            "match_id",
            "FROM",
            "MATCH",
            "WHERE",
            "competition",
            "=",
            "``",
            "1994",
            "FIFA",
            "World",
            "Cup",
            "qualification",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "match_id",
            "from",
            "match",
            "where",
            "competition",
            "=",
            "value"
        ],
        "question": "What is the match id of the competition called \"1994 FIFA World Cup qualification\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "match",
            "id",
            "of",
            "the",
            "competition",
            "called",
            "``",
            "1994",
            "FIFA",
            "World",
            "Cup",
            "qualification",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"1994 FIFA World Cup qualification\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T2.year  >  2010",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "WHERE",
            "T2.year",
            ">",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "where",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "Find the cities which were once a host city after 2010?",
        "question_toks": [
            "Find",
            "the",
            "cities",
            "which",
            "were",
            "once",
            "a",
            "host",
            "city",
            "after",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T2.year  >  2010",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "WHERE",
            "T2.year",
            ">",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "where",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "Which cities served as a host city after 2010?",
        "question_toks": [
            "Which",
            "cities",
            "served",
            "as",
            "a",
            "host",
            "city",
            "after",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id  =  T2.host_city GROUP BY T2.host_city ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "GROUP",
            "BY",
            "T2.host_city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "group",
            "by",
            "t2",
            ".",
            "host_city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which city has hosted the most events?",
        "question_toks": [
            "Which",
            "city",
            "has",
            "hosted",
            "the",
            "most",
            "events",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id  =  T2.host_city GROUP BY T2.host_city ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "GROUP",
            "BY",
            "T2.host_city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "group",
            "by",
            "t2",
            ".",
            "host_city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the city that hosted the most events.",
        "question_toks": [
            "Find",
            "the",
            "city",
            "that",
            "hosted",
            "the",
            "most",
            "events",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T3.venue FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city JOIN MATCH AS T3 ON T2.match_id = T3.match_id WHERE T1.city = \"Nanjing ( Jiangsu )\" AND T3.competition = \"1994 FIFA World Cup qualification\"",
        "query_toks": [
            "SELECT",
            "T3.venue",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "JOIN",
            "MATCH",
            "AS",
            "T3",
            "ON",
            "T2.match_id",
            "=",
            "T3.match_id",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Nanjing",
            "(",
            "Jiangsu",
            ")",
            "''",
            "AND",
            "T3.competition",
            "=",
            "``",
            "1994",
            "FIFA",
            "World",
            "Cup",
            "qualification",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "venue",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "join",
            "match",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "match_id",
            "=",
            "t3",
            ".",
            "match_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "competition",
            "=",
            "value"
        ],
        "question": "What is the venue of the competition \"1994 FIFA World Cup qualification\" hosted by \"Nanjing ( Jiangsu )\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "venue",
            "of",
            "the",
            "competition",
            "``",
            "1994",
            "FIFA",
            "World",
            "Cup",
            "qualification",
            "''",
            "hosted",
            "by",
            "``",
            "Nanjing",
            "(",
            "Jiangsu",
            ")",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Nanjing ( Jiangsu )\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"1994 FIFA World Cup qualification\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T3.venue FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city JOIN MATCH AS T3 ON T2.match_id = T3.match_id WHERE T1.city = \"Nanjing ( Jiangsu )\" AND T3.competition = \"1994 FIFA World Cup qualification\"",
        "query_toks": [
            "SELECT",
            "T3.venue",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "JOIN",
            "MATCH",
            "AS",
            "T3",
            "ON",
            "T2.match_id",
            "=",
            "T3.match_id",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Nanjing",
            "(",
            "Jiangsu",
            ")",
            "''",
            "AND",
            "T3.competition",
            "=",
            "``",
            "1994",
            "FIFA",
            "World",
            "Cup",
            "qualification",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "venue",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "join",
            "match",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "match_id",
            "=",
            "t3",
            ".",
            "match_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "competition",
            "=",
            "value"
        ],
        "question": "Find the venue of the competition \"1994 FIFA World Cup qualification\" which was hosted by \"Nanjing ( Jiangsu )\".",
        "question_toks": [
            "Find",
            "the",
            "venue",
            "of",
            "the",
            "competition",
            "``",
            "1994",
            "FIFA",
            "World",
            "Cup",
            "qualification",
            "''",
            "which",
            "was",
            "hosted",
            "by",
            "``",
            "Nanjing",
            "(",
            "Jiangsu",
            ")",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Nanjing ( Jiangsu )\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"1994 FIFA World Cup qualification\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = \"Shanghai\"",
        "query_toks": [
            "SELECT",
            "T2.Jan",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Shanghai",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "jan",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Give me the temperature of Shanghai in January.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "temperature",
            "of",
            "Shanghai",
            "in",
            "January",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Shanghai\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = \"Shanghai\"",
        "query_toks": [
            "SELECT",
            "T2.Jan",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Shanghai",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "jan",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "What is the temperature of \"Shanghai\" city in January?",
        "question_toks": [
            "What",
            "is",
            "the",
            "temperature",
            "of",
            "``",
            "Shanghai",
            "''",
            "city",
            "in",
            "January",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Shanghai\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id  =  T2.host_city WHERE T1.city  =  \"Taizhou ( Zhejiang )\"",
        "query_toks": [
            "SELECT",
            "T2.year",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Taizhou",
            "(",
            "Zhejiang",
            ")",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "year",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "What is the host year of city \"Taizhou ( Zhejiang )\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "host",
            "year",
            "of",
            "city",
            "``",
            "Taizhou",
            "(",
            "Zhejiang",
            ")",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Taizhou ( Zhejiang )\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id  =  T2.host_city WHERE T1.city  =  \"Taizhou ( Zhejiang )\"",
        "query_toks": [
            "SELECT",
            "T2.year",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Taizhou",
            "(",
            "Zhejiang",
            ")",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "year",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "IN which year did city \"Taizhou ( Zhejiang )\" serve as a host city?",
        "question_toks": [
            "IN",
            "which",
            "year",
            "did",
            "city",
            "``",
            "Taizhou",
            "(",
            "Zhejiang",
            ")",
            "''",
            "serve",
            "as",
            "a",
            "host",
            "city",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Taizhou ( Zhejiang )\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT city FROM city ORDER BY regional_population DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "regional_population",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "city",
            "order",
            "by",
            "regional_population",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which three cities have the largest regional population?",
        "question_toks": [
            "Which",
            "three",
            "cities",
            "have",
            "the",
            "largest",
            "regional",
            "population",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT city FROM city ORDER BY regional_population DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "regional_population",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "city",
            "order",
            "by",
            "regional_population",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the three largest cities in terms of regional population?",
        "question_toks": [
            "What",
            "are",
            "the",
            "three",
            "largest",
            "cities",
            "in",
            "terms",
            "of",
            "regional",
            "population",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT city ,  GDP FROM city ORDER BY GDP LIMIT 1",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "GDP",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "GDP",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "gdp",
            "from",
            "city",
            "order",
            "by",
            "gdp",
            "limit",
            "value"
        ],
        "question": "Which city has the lowest GDP? Please list the city name and its GDP.",
        "question_toks": [
            "Which",
            "city",
            "has",
            "the",
            "lowest",
            "GDP",
            "?",
            "Please",
            "list",
            "the",
            "city",
            "name",
            "and",
            "its",
            "GDP",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT city ,  GDP FROM city ORDER BY GDP LIMIT 1",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "GDP",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "GDP",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "gdp",
            "from",
            "city",
            "order",
            "by",
            "gdp",
            "limit",
            "value"
        ],
        "question": "What is the city with the smallest GDP? Return the city and its GDP.",
        "question_toks": [
            "What",
            "is",
            "the",
            "city",
            "with",
            "the",
            "smallest",
            "GDP",
            "?",
            "Return",
            "the",
            "city",
            "and",
            "its",
            "GDP",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id ORDER BY T2.Feb DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "ORDER",
            "BY",
            "T2.Feb",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "order",
            "by",
            "t2",
            ".",
            "feb",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which city has the highest temperature in February?",
        "question_toks": [
            "Which",
            "city",
            "has",
            "the",
            "highest",
            "temperature",
            "in",
            "February",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id ORDER BY T2.Feb DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "ORDER",
            "BY",
            "T2.Feb",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "order",
            "by",
            "t2",
            ".",
            "feb",
            "desc",
            "limit",
            "value"
        ],
        "question": "In February, which city marks the highest temperature?",
        "question_toks": [
            "In",
            "February",
            ",",
            "which",
            "city",
            "marks",
            "the",
            "highest",
            "temperature",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul OR T2.Mar  >  T2.Oct",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T2.Mar",
            "<",
            "T2.Jul",
            "OR",
            "T2.Mar",
            ">",
            "T2.Oct"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t2",
            ".",
            "mar",
            "<",
            "t2",
            ".",
            "jul",
            "or",
            "t2",
            ".",
            "mar",
            ">",
            "t2",
            ".",
            "oct"
        ],
        "question": "Give me a list of cities whose temperature in March is lower than that in July or higher than that in Oct?",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "cities",
            "whose",
            "temperature",
            "in",
            "March",
            "is",
            "lower",
            "than",
            "that",
            "in",
            "July",
            "or",
            "higher",
            "than",
            "that",
            "in",
            "Oct",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        19,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul OR T2.Mar  >  T2.Oct",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T2.Mar",
            "<",
            "T2.Jul",
            "OR",
            "T2.Mar",
            ">",
            "T2.Oct"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t2",
            ".",
            "mar",
            "<",
            "t2",
            ".",
            "jul",
            "or",
            "t2",
            ".",
            "mar",
            ">",
            "t2",
            ".",
            "oct"
        ],
        "question": "Which cities' temperature in March is lower than that in July or higher than that in Oct?",
        "question_toks": [
            "Which",
            "cities",
            "'",
            "temperature",
            "in",
            "March",
            "is",
            "lower",
            "than",
            "that",
            "in",
            "July",
            "or",
            "higher",
            "than",
            "that",
            "in",
            "Oct",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        19,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul INTERSECT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T2.Mar",
            "<",
            "T2.Jul",
            "INTERSECT",
            "SELECT",
            "T3.city",
            "FROM",
            "city",
            "AS",
            "T3",
            "JOIN",
            "hosting_city",
            "AS",
            "T4",
            "ON",
            "T3.city_id",
            "=",
            "T4.host_city"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t2",
            ".",
            "mar",
            "<",
            "t2",
            ".",
            "jul",
            "intersect",
            "select",
            "t3",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t3",
            "join",
            "hosting_city",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "city_id",
            "=",
            "t4",
            ".",
            "host_city"
        ],
        "question": "Give me a list of cities whose temperature in Mar is lower than that in July and which have also served as host cities?",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "cities",
            "whose",
            "temperature",
            "in",
            "Mar",
            "is",
            "lower",
            "than",
            "that",
            "in",
            "July",
            "and",
            "which",
            "have",
            "also",
            "served",
            "as",
            "host",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        19,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul INTERSECT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T2.Mar",
            "<",
            "T2.Jul",
            "INTERSECT",
            "SELECT",
            "T3.city",
            "FROM",
            "city",
            "AS",
            "T3",
            "JOIN",
            "hosting_city",
            "AS",
            "T4",
            "ON",
            "T3.city_id",
            "=",
            "T4.host_city"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t2",
            ".",
            "mar",
            "<",
            "t2",
            ".",
            "jul",
            "intersect",
            "select",
            "t3",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t3",
            "join",
            "hosting_city",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "city_id",
            "=",
            "t4",
            ".",
            "host_city"
        ],
        "question": "Which cities have lower temperature in March than in July and have been once host cities?",
        "question_toks": [
            "Which",
            "cities",
            "have",
            "lower",
            "temperature",
            "in",
            "March",
            "than",
            "in",
            "July",
            "and",
            "have",
            "been",
            "once",
            "host",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        19,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T2.Mar",
            "<",
            "T2.Dec",
            "EXCEPT",
            "SELECT",
            "T3.city",
            "FROM",
            "city",
            "AS",
            "T3",
            "JOIN",
            "hosting_city",
            "AS",
            "T4",
            "ON",
            "T3.city_id",
            "=",
            "T4.host_city"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t2",
            ".",
            "mar",
            "<",
            "t2",
            ".",
            "dec",
            "except",
            "select",
            "t3",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t3",
            "join",
            "hosting_city",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "city_id",
            "=",
            "t4",
            ".",
            "host_city"
        ],
        "question": "Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities.",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "cities",
            "whose",
            "temperature",
            "in",
            "Mar",
            "is",
            "lower",
            "than",
            "that",
            "in",
            "Dec",
            "and",
            "which",
            "have",
            "never",
            "been",
            "host",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        24,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T2.Mar",
            "<",
            "T2.Dec",
            "EXCEPT",
            "SELECT",
            "T3.city",
            "FROM",
            "city",
            "AS",
            "T3",
            "JOIN",
            "hosting_city",
            "AS",
            "T4",
            "ON",
            "T3.city_id",
            "=",
            "T4.host_city"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t2",
            ".",
            "mar",
            "<",
            "t2",
            ".",
            "dec",
            "except",
            "select",
            "t3",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t3",
            "join",
            "hosting_city",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "city_id",
            "=",
            "t4",
            ".",
            "host_city"
        ],
        "question": "Which cities have lower temperature in March than in Dec and have never served as host cities?",
        "question_toks": [
            "Which",
            "cities",
            "have",
            "lower",
            "temperature",
            "in",
            "March",
            "than",
            "in",
            "Dec",
            "and",
            "have",
            "never",
            "served",
            "as",
            "host",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        24,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Feb  >  T2.Jun UNION SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T2.Feb",
            ">",
            "T2.Jun",
            "UNION",
            "SELECT",
            "T3.city",
            "FROM",
            "city",
            "AS",
            "T3",
            "JOIN",
            "hosting_city",
            "AS",
            "T4",
            "ON",
            "T3.city_id",
            "=",
            "T4.host_city"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t2",
            ".",
            "feb",
            ">",
            "t2",
            ".",
            "jun",
            "union",
            "select",
            "t3",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t3",
            "join",
            "hosting_city",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "city_id",
            "=",
            "t4",
            ".",
            "host_city"
        ],
        "question": "Give me a list of cities whose temperature in Feb is higher than that in Jun or cities that were once host cities?",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "cities",
            "whose",
            "temperature",
            "in",
            "Feb",
            "is",
            "higher",
            "than",
            "that",
            "in",
            "Jun",
            "or",
            "cities",
            "that",
            "were",
            "once",
            "host",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        18,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Feb  >  T2.Jun UNION SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "temperature",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.city_id",
            "WHERE",
            "T2.Feb",
            ">",
            "T2.Jun",
            "UNION",
            "SELECT",
            "T3.city",
            "FROM",
            "city",
            "AS",
            "T3",
            "JOIN",
            "hosting_city",
            "AS",
            "T4",
            "ON",
            "T3.city_id",
            "=",
            "T4.host_city"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "temperature",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "city_id",
            "where",
            "t2",
            ".",
            "feb",
            ">",
            "t2",
            ".",
            "jun",
            "union",
            "select",
            "t3",
            ".",
            "city",
            "from",
            "city",
            "as",
            "t3",
            "join",
            "hosting_city",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "city_id",
            "=",
            "t4",
            ".",
            "host_city"
        ],
        "question": "Which cities have higher temperature in Feb than in Jun or have once served as host cities?",
        "question_toks": [
            "Which",
            "cities",
            "have",
            "higher",
            "temperature",
            "in",
            "Feb",
            "than",
            "in",
            "Jun",
            "or",
            "have",
            "once",
            "served",
            "as",
            "host",
            "cities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        18,
                        false
                    ],
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT city FROM city WHERE regional_population  >  10000000",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "city",
            "WHERE",
            "regional_population",
            ">",
            "10000000"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "city",
            "where",
            "regional_population",
            ">",
            "value"
        ],
        "question": "Please give me a list of cities whose regional population is over 10000000.",
        "question_toks": [
            "Please",
            "give",
            "me",
            "a",
            "list",
            "of",
            "cities",
            "whose",
            "regional",
            "population",
            "is",
            "over",
            "10000000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    10000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT city FROM city WHERE regional_population  >  10000000",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "city",
            "WHERE",
            "regional_population",
            ">",
            "10000000"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "city",
            "where",
            "regional_population",
            ">",
            "value"
        ],
        "question": "Which cities have regional population above 10000000?",
        "question_toks": [
            "Which",
            "cities",
            "have",
            "regional",
            "population",
            "above",
            "10000000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    10000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT city FROM city WHERE regional_population  >  10000000 UNION SELECT city FROM city WHERE regional_population  <  5000000",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "city",
            "WHERE",
            "regional_population",
            ">",
            "10000000",
            "UNION",
            "SELECT",
            "city",
            "FROM",
            "city",
            "WHERE",
            "regional_population",
            "<",
            "5000000"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "city",
            "where",
            "regional_population",
            ">",
            "value",
            "union",
            "select",
            "city",
            "from",
            "city",
            "where",
            "regional_population",
            "<",
            "value"
        ],
        "question": "Please give me a list of cities whose regional population is over 8000000 or under 5000000.",
        "question_toks": [
            "Please",
            "give",
            "me",
            "a",
            "list",
            "of",
            "cities",
            "whose",
            "regional",
            "population",
            "is",
            "over",
            "8000000",
            "or",
            "under",
            "5000000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    10000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        5000000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT city FROM city WHERE regional_population  >  10000000 UNION SELECT city FROM city WHERE regional_population  <  5000000",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "city",
            "WHERE",
            "regional_population",
            ">",
            "10000000",
            "UNION",
            "SELECT",
            "city",
            "FROM",
            "city",
            "WHERE",
            "regional_population",
            "<",
            "5000000"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "city",
            "where",
            "regional_population",
            ">",
            "value",
            "union",
            "select",
            "city",
            "from",
            "city",
            "where",
            "regional_population",
            "<",
            "value"
        ],
        "question": "Which cities have regional population above 8000000 or below 5000000?",
        "question_toks": [
            "Which",
            "cities",
            "have",
            "regional",
            "population",
            "above",
            "8000000",
            "or",
            "below",
            "5000000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    10000000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        5000000.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT count(*) ,  Competition FROM MATCH GROUP BY Competition",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "Competition",
            "FROM",
            "MATCH",
            "GROUP",
            "BY",
            "Competition"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "competition",
            "from",
            "match",
            "group",
            "by",
            "competition"
        ],
        "question": "Find the number of matches in different competitions.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "matches",
            "in",
            "different",
            "competitions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT count(*) ,  Competition FROM MATCH GROUP BY Competition",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "Competition",
            "FROM",
            "MATCH",
            "GROUP",
            "BY",
            "Competition"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "competition",
            "from",
            "match",
            "group",
            "by",
            "competition"
        ],
        "question": "For each competition, count the number of matches.",
        "question_toks": [
            "For",
            "each",
            "competition",
            ",",
            "count",
            "the",
            "number",
            "of",
            "matches",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT venue FROM MATCH ORDER BY date DESC",
        "query_toks": [
            "SELECT",
            "venue",
            "FROM",
            "MATCH",
            "ORDER",
            "BY",
            "date",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "venue",
            "from",
            "match",
            "order",
            "by",
            "date",
            "desc"
        ],
        "question": "List venues of all matches in the order of their dates starting from the most recent one.",
        "question_toks": [
            "List",
            "venues",
            "of",
            "all",
            "matches",
            "in",
            "the",
            "order",
            "of",
            "their",
            "dates",
            "starting",
            "from",
            "the",
            "most",
            "recent",
            "one",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT venue FROM MATCH ORDER BY date DESC",
        "query_toks": [
            "SELECT",
            "venue",
            "FROM",
            "MATCH",
            "ORDER",
            "BY",
            "date",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "venue",
            "from",
            "match",
            "order",
            "by",
            "date",
            "desc"
        ],
        "question": "What are the venues of all the matches? Sort them in the descending order of match date.",
        "question_toks": [
            "What",
            "are",
            "the",
            "venues",
            "of",
            "all",
            "the",
            "matches",
            "?",
            "Sort",
            "them",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "match",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT gdp FROM city ORDER BY Regional_Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "gdp",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "Regional_Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gdp",
            "from",
            "city",
            "order",
            "by",
            "regional_population",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the GDP of the city with the largest population.",
        "question_toks": [
            "what",
            "is",
            "the",
            "GDP",
            "of",
            "the",
            "city",
            "with",
            "the",
            "largest",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT gdp FROM city ORDER BY Regional_Population DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "gdp",
            "FROM",
            "city",
            "ORDER",
            "BY",
            "Regional_Population",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "gdp",
            "from",
            "city",
            "order",
            "by",
            "regional_population",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the GDP of the city with the largest regional population.",
        "question_toks": [
            "Find",
            "the",
            "GDP",
            "of",
            "the",
            "city",
            "with",
            "the",
            "largest",
            "regional",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT t1.gdp ,  t1.Regional_Population FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id  =  T2.host_city GROUP BY t2.Host_City HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "t1.gdp",
            ",",
            "t1.Regional_Population",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "GROUP",
            "BY",
            "t2.Host_City",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "gdp",
            ",",
            "t1",
            ".",
            "regional_population",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "group",
            "by",
            "t2",
            ".",
            "host_city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the GDP and population of the city that already served as a host more than once?",
        "question_toks": [
            "What",
            "are",
            "the",
            "GDP",
            "and",
            "population",
            "of",
            "the",
            "city",
            "that",
            "already",
            "served",
            "as",
            "a",
            "host",
            "more",
            "than",
            "once",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "city_record",
        "query": "SELECT t1.gdp ,  t1.Regional_Population FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id  =  T2.host_city GROUP BY t2.Host_City HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "t1.gdp",
            ",",
            "t1.Regional_Population",
            "FROM",
            "city",
            "AS",
            "T1",
            "JOIN",
            "hosting_city",
            "AS",
            "T2",
            "ON",
            "T1.city_id",
            "=",
            "T2.host_city",
            "GROUP",
            "BY",
            "t2.Host_City",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "gdp",
            ",",
            "t1",
            ".",
            "regional_population",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "hosting_city",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_id",
            "=",
            "t2",
            ".",
            "host_city",
            "group",
            "by",
            "t2",
            ".",
            "host_city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Which cities have served as host cities more than once? Return me their GDP and population.",
        "question_toks": [
            "Which",
            "cities",
            "have",
            "served",
            "as",
            "host",
            "cities",
            "more",
            "than",
            "once",
            "?",
            "Return",
            "me",
            "their",
            "GDP",
            "and",
            "population",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    27,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT individual_first_name ,  individual_middle_name ,  individual_last_name FROM individuals ORDER BY individual_last_name",
        "query_toks": [
            "SELECT",
            "individual_first_name",
            ",",
            "individual_middle_name",
            ",",
            "individual_last_name",
            "FROM",
            "individuals",
            "ORDER",
            "BY",
            "individual_last_name"
        ],
        "query_toks_no_value": [
            "select",
            "individual_first_name",
            ",",
            "individual_middle_name",
            ",",
            "individual_last_name",
            "from",
            "individuals",
            "order",
            "by",
            "individual_last_name"
        ],
        "question": "List every individual's first name, middle name and last name in alphabetical order by last name.",
        "question_toks": [
            "List",
            "every",
            "individual",
            "'s",
            "first",
            "name",
            ",",
            "middle",
            "name",
            "and",
            "last",
            "name",
            "in",
            "alphabetical",
            "order",
            "by",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT individual_first_name ,  individual_middle_name ,  individual_last_name FROM individuals ORDER BY individual_last_name",
        "query_toks": [
            "SELECT",
            "individual_first_name",
            ",",
            "individual_middle_name",
            ",",
            "individual_last_name",
            "FROM",
            "individuals",
            "ORDER",
            "BY",
            "individual_last_name"
        ],
        "query_toks_no_value": [
            "select",
            "individual_first_name",
            ",",
            "individual_middle_name",
            ",",
            "individual_last_name",
            "from",
            "individuals",
            "order",
            "by",
            "individual_last_name"
        ],
        "question": "What are the first, middle, and last names of all individuals, ordered by last name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            ",",
            "middle",
            ",",
            "and",
            "last",
            "names",
            "of",
            "all",
            "individuals",
            ",",
            "ordered",
            "by",
            "last",
            "name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT DISTINCT form_type_code FROM forms",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "form_type_code",
            "FROM",
            "forms"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "form_type_code",
            "from",
            "forms"
        ],
        "question": "List all the types of forms.",
        "question_toks": [
            "List",
            "all",
            "the",
            "types",
            "of",
            "forms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT DISTINCT form_type_code FROM forms",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "form_type_code",
            "FROM",
            "forms"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "form_type_code",
            "from",
            "forms"
        ],
        "question": "What are the different types of forms?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "types",
            "of",
            "forms",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t1.form_name FROM forms AS t1 JOIN party_forms AS t2 ON t1.form_id  =  t2.form_id GROUP BY t2.form_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.form_name",
            "FROM",
            "forms",
            "AS",
            "t1",
            "JOIN",
            "party_forms",
            "AS",
            "t2",
            "ON",
            "t1.form_id",
            "=",
            "t2.form_id",
            "GROUP",
            "BY",
            "t2.form_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "form_name",
            "from",
            "forms",
            "as",
            "t1",
            "join",
            "party_forms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "form_id",
            "=",
            "t2",
            ".",
            "form_id",
            "group",
            "by",
            "t2",
            ".",
            "form_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the most popular party form.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "most",
            "popular",
            "party",
            "form",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    42,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t1.form_name FROM forms AS t1 JOIN party_forms AS t2 ON t1.form_id  =  t2.form_id GROUP BY t2.form_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.form_name",
            "FROM",
            "forms",
            "AS",
            "t1",
            "JOIN",
            "party_forms",
            "AS",
            "t2",
            "ON",
            "t1.form_id",
            "=",
            "t2.form_id",
            "GROUP",
            "BY",
            "t2.form_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "form_name",
            "from",
            "forms",
            "as",
            "t1",
            "join",
            "party_forms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "form_id",
            "=",
            "t2",
            ".",
            "form_id",
            "group",
            "by",
            "t2",
            ".",
            "form_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the party form that is most common?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "party",
            "form",
            "that",
            "is",
            "most",
            "common",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    42,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT payment_method_code ,  party_phone FROM parties WHERE party_email  =  \"enrico09@example.com\"",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            ",",
            "party_phone",
            "FROM",
            "parties",
            "WHERE",
            "party_email",
            "=",
            "``",
            "enrico09",
            "@",
            "example.com",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "party_phone",
            "from",
            "parties",
            "where",
            "party_email",
            "=",
            "value"
        ],
        "question": "Find the payment method and phone of the party with email \"enrico09@example.com\".",
        "question_toks": [
            "Find",
            "the",
            "payment",
            "method",
            "and",
            "phone",
            "of",
            "the",
            "party",
            "with",
            "email",
            "``",
            "enrico09",
            "@",
            "example.com",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"enrico09@example.com\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT payment_method_code ,  party_phone FROM parties WHERE party_email  =  \"enrico09@example.com\"",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            ",",
            "party_phone",
            "FROM",
            "parties",
            "WHERE",
            "party_email",
            "=",
            "``",
            "enrico09",
            "@",
            "example.com",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "party_phone",
            "from",
            "parties",
            "where",
            "party_email",
            "=",
            "value"
        ],
        "question": "What is the payment method code and party phone of the party with the email 'enrico09@example.com'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "payment",
            "method",
            "code",
            "and",
            "party",
            "phone",
            "of",
            "the",
            "party",
            "with",
            "the",
            "email",
            "'enrico09",
            "@",
            "example.com",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"enrico09@example.com\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t1.party_email FROM parties AS t1 JOIN party_forms AS t2 ON t1.party_id  =  t2.party_id WHERE t2.form_id  =  (SELECT form_id FROM party_forms GROUP BY form_id ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "t1.party_email",
            "FROM",
            "parties",
            "AS",
            "t1",
            "JOIN",
            "party_forms",
            "AS",
            "t2",
            "ON",
            "t1.party_id",
            "=",
            "t2.party_id",
            "WHERE",
            "t2.form_id",
            "=",
            "(",
            "SELECT",
            "form_id",
            "FROM",
            "party_forms",
            "GROUP",
            "BY",
            "form_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "party_email",
            "from",
            "parties",
            "as",
            "t1",
            "join",
            "party_forms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "form_id",
            "=",
            "(",
            "select",
            "form_id",
            "from",
            "party_forms",
            "group",
            "by",
            "form_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "Find the emails of parties with the most popular party form.",
        "question_toks": [
            "Find",
            "the",
            "emails",
            "of",
            "parties",
            "with",
            "the",
            "most",
            "popular",
            "party",
            "form",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    8
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            42,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                42,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t1.party_email FROM parties AS t1 JOIN party_forms AS t2 ON t1.party_id  =  t2.party_id WHERE t2.form_id  =  (SELECT form_id FROM party_forms GROUP BY form_id ORDER BY count(*) DESC LIMIT 1)",
        "query_toks": [
            "SELECT",
            "t1.party_email",
            "FROM",
            "parties",
            "AS",
            "t1",
            "JOIN",
            "party_forms",
            "AS",
            "t2",
            "ON",
            "t1.party_id",
            "=",
            "t2.party_id",
            "WHERE",
            "t2.form_id",
            "=",
            "(",
            "SELECT",
            "form_id",
            "FROM",
            "party_forms",
            "GROUP",
            "BY",
            "form_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "party_email",
            "from",
            "parties",
            "as",
            "t1",
            "join",
            "party_forms",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "party_id",
            "where",
            "t2",
            ".",
            "form_id",
            "=",
            "(",
            "select",
            "form_id",
            "from",
            "party_forms",
            "group",
            "by",
            "form_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value",
            ")"
        ],
        "question": "What are the party emails associated with parties that used the party form that is the most common?",
        "question_toks": [
            "What",
            "are",
            "the",
            "party",
            "emails",
            "associated",
            "with",
            "parties",
            "that",
            "used",
            "the",
            "party",
            "form",
            "that",
            "is",
            "the",
            "most",
            "common",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    8
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            42,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [
                            [
                                0,
                                42,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        0,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT organization_name FROM organizations ORDER BY date_formed ASC",
        "query_toks": [
            "SELECT",
            "organization_name",
            "FROM",
            "organizations",
            "ORDER",
            "BY",
            "date_formed",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "organization_name",
            "from",
            "organizations",
            "order",
            "by",
            "date_formed",
            "asc"
        ],
        "question": "List all the name of organizations in order of the date formed.",
        "question_toks": [
            "List",
            "all",
            "the",
            "name",
            "of",
            "organizations",
            "in",
            "order",
            "of",
            "the",
            "date",
            "formed",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT organization_name FROM organizations ORDER BY date_formed ASC",
        "query_toks": [
            "SELECT",
            "organization_name",
            "FROM",
            "organizations",
            "ORDER",
            "BY",
            "date_formed",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "organization_name",
            "from",
            "organizations",
            "order",
            "by",
            "date_formed",
            "asc"
        ],
        "question": "What are the names of organizations, ordered by the date they were formed, ascending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "organizations",
            ",",
            "ordered",
            "by",
            "the",
            "date",
            "they",
            "were",
            "formed",
            ",",
            "ascending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT organization_name FROM organizations ORDER BY date_formed DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "organization_name",
            "FROM",
            "organizations",
            "ORDER",
            "BY",
            "date_formed",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "organization_name",
            "from",
            "organizations",
            "order",
            "by",
            "date_formed",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the youngest organization.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "youngest",
            "organization",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT organization_name FROM organizations ORDER BY date_formed DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "organization_name",
            "FROM",
            "organizations",
            "ORDER",
            "BY",
            "date_formed",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "organization_name",
            "from",
            "organizations",
            "order",
            "by",
            "date_formed",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the organization that was formed most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "organization",
            "that",
            "was",
            "formed",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id  =  t2.organization_id JOIN individuals AS t3 ON t2.individual_id  =  t3.individual_id WHERE t1.organization_name  =  \"Labour Party\" ORDER BY t2.date_contact_to DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.individual_last_name",
            "FROM",
            "organizations",
            "AS",
            "t1",
            "JOIN",
            "organization_contact_individuals",
            "AS",
            "t2",
            "ON",
            "t1.organization_id",
            "=",
            "t2.organization_id",
            "JOIN",
            "individuals",
            "AS",
            "t3",
            "ON",
            "t2.individual_id",
            "=",
            "t3.individual_id",
            "WHERE",
            "t1.organization_name",
            "=",
            "``",
            "Labour",
            "Party",
            "''",
            "ORDER",
            "BY",
            "t2.date_contact_to",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "individual_last_name",
            "from",
            "organizations",
            "as",
            "t1",
            "join",
            "organization_contact_individuals",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organization_id",
            "=",
            "t2",
            ".",
            "organization_id",
            "join",
            "individuals",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "individual_id",
            "=",
            "t3",
            ".",
            "individual_id",
            "where",
            "t1",
            ".",
            "organization_name",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "date_contact_to",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the last name of the latest contact individual of the organization \"Labour Party\".",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "the",
            "latest",
            "contact",
            "individual",
            "of",
            "the",
            "organization",
            "``",
            "Labour",
            "Party",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"Labour Party\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id  =  t2.organization_id JOIN individuals AS t3 ON t2.individual_id  =  t3.individual_id WHERE t1.organization_name  =  \"Labour Party\" ORDER BY t2.date_contact_to DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.individual_last_name",
            "FROM",
            "organizations",
            "AS",
            "t1",
            "JOIN",
            "organization_contact_individuals",
            "AS",
            "t2",
            "ON",
            "t1.organization_id",
            "=",
            "t2.organization_id",
            "JOIN",
            "individuals",
            "AS",
            "t3",
            "ON",
            "t2.individual_id",
            "=",
            "t3.individual_id",
            "WHERE",
            "t1.organization_name",
            "=",
            "``",
            "Labour",
            "Party",
            "''",
            "ORDER",
            "BY",
            "t2.date_contact_to",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "individual_last_name",
            "from",
            "organizations",
            "as",
            "t1",
            "join",
            "organization_contact_individuals",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organization_id",
            "=",
            "t2",
            ".",
            "organization_id",
            "join",
            "individuals",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "individual_id",
            "=",
            "t3",
            ".",
            "individual_id",
            "where",
            "t1",
            ".",
            "organization_name",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "date_contact_to",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the contact individual from the Labour party organization who was contacted most recently?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "contact",
            "individual",
            "from",
            "the",
            "Labour",
            "party",
            "organization",
            "who",
            "was",
            "contacted",
            "most",
            "recently",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"Labour Party\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id  =  t2.organization_id JOIN individuals AS t3 ON t2.individual_id  =  t3.individual_id WHERE t1.uk_vat_number  =  (SELECT max(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.individual_last_name",
            "FROM",
            "organizations",
            "AS",
            "t1",
            "JOIN",
            "organization_contact_individuals",
            "AS",
            "t2",
            "ON",
            "t1.organization_id",
            "=",
            "t2.organization_id",
            "JOIN",
            "individuals",
            "AS",
            "t3",
            "ON",
            "t2.individual_id",
            "=",
            "t3.individual_id",
            "WHERE",
            "t1.uk_vat_number",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "uk_vat_number",
            ")",
            "FROM",
            "organizations",
            ")",
            "ORDER",
            "BY",
            "t2.date_contact_to",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "individual_last_name",
            "from",
            "organizations",
            "as",
            "t1",
            "join",
            "organization_contact_individuals",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organization_id",
            "=",
            "t2",
            ".",
            "organization_id",
            "join",
            "individuals",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "individual_id",
            "=",
            "t3",
            ".",
            "individual_id",
            "where",
            "t1",
            ".",
            "uk_vat_number",
            "=",
            "(",
            "select",
            "max",
            "(",
            "uk_vat_number",
            ")",
            "from",
            "organizations",
            ")",
            "order",
            "by",
            "t2",
            ".",
            "date_contact_to",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the last name of the first ever contact person of the organization with the highest UK Vat number.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "the",
            "first",
            "ever",
            "contact",
            "person",
            "of",
            "the",
            "organization",
            "with",
            "the",
            "highest",
            "UK",
            "Vat",
            "number",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id  =  t2.organization_id JOIN individuals AS t3 ON t2.individual_id  =  t3.individual_id WHERE t1.uk_vat_number  =  (SELECT max(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t3.individual_last_name",
            "FROM",
            "organizations",
            "AS",
            "t1",
            "JOIN",
            "organization_contact_individuals",
            "AS",
            "t2",
            "ON",
            "t1.organization_id",
            "=",
            "t2.organization_id",
            "JOIN",
            "individuals",
            "AS",
            "t3",
            "ON",
            "t2.individual_id",
            "=",
            "t3.individual_id",
            "WHERE",
            "t1.uk_vat_number",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "uk_vat_number",
            ")",
            "FROM",
            "organizations",
            ")",
            "ORDER",
            "BY",
            "t2.date_contact_to",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "individual_last_name",
            "from",
            "organizations",
            "as",
            "t1",
            "join",
            "organization_contact_individuals",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organization_id",
            "=",
            "t2",
            ".",
            "organization_id",
            "join",
            "individuals",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "individual_id",
            "=",
            "t3",
            ".",
            "individual_id",
            "where",
            "t1",
            ".",
            "uk_vat_number",
            "=",
            "(",
            "select",
            "max",
            "(",
            "uk_vat_number",
            ")",
            "from",
            "organizations",
            ")",
            "order",
            "by",
            "t2",
            ".",
            "date_contact_to",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the last name of the first individual contacted from the organization with the maximum UK Vat number across all organizations?",
        "question_toks": [
            "What",
            "is",
            "the",
            "last",
            "name",
            "of",
            "the",
            "first",
            "individual",
            "contacted",
            "from",
            "the",
            "organization",
            "with",
            "the",
            "maximum",
            "UK",
            "Vat",
            "number",
            "across",
            "all",
            "organizations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT count(*) FROM services",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "services"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "services"
        ],
        "question": "How many services are there?",
        "question_toks": [
            "How",
            "many",
            "services",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT count(*) FROM services",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "services"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "services"
        ],
        "question": "Count the number of services.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "services",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT service_name FROM services EXCEPT SELECT t1.service_name FROM services AS t1 JOIN party_services AS t2 ON t1.service_id  =  t2.service_id",
        "query_toks": [
            "SELECT",
            "service_name",
            "FROM",
            "services",
            "EXCEPT",
            "SELECT",
            "t1.service_name",
            "FROM",
            "services",
            "AS",
            "t1",
            "JOIN",
            "party_services",
            "AS",
            "t2",
            "ON",
            "t1.service_id",
            "=",
            "t2.service_id"
        ],
        "query_toks_no_value": [
            "select",
            "service_name",
            "from",
            "services",
            "except",
            "select",
            "t1",
            ".",
            "service_name",
            "from",
            "services",
            "as",
            "t1",
            "join",
            "party_services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_id",
            "=",
            "t2",
            ".",
            "service_id"
        ],
        "question": "Find name of the services that has never been used.",
        "question_toks": [
            "Find",
            "name",
            "of",
            "the",
            "services",
            "that",
            "has",
            "never",
            "been",
            "used",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            9
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT service_name FROM services EXCEPT SELECT t1.service_name FROM services AS t1 JOIN party_services AS t2 ON t1.service_id  =  t2.service_id",
        "query_toks": [
            "SELECT",
            "service_name",
            "FROM",
            "services",
            "EXCEPT",
            "SELECT",
            "t1.service_name",
            "FROM",
            "services",
            "AS",
            "t1",
            "JOIN",
            "party_services",
            "AS",
            "t2",
            "ON",
            "t1.service_id",
            "=",
            "t2.service_id"
        ],
        "query_toks_no_value": [
            "select",
            "service_name",
            "from",
            "services",
            "except",
            "select",
            "t1",
            ".",
            "service_name",
            "from",
            "services",
            "as",
            "t1",
            "join",
            "party_services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "service_id",
            "=",
            "t2",
            ".",
            "service_id"
        ],
        "question": "What are the names of the services that have never been used?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "services",
            "that",
            "have",
            "never",
            "been",
            "used",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            9
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT town_city FROM addresses UNION SELECT state_province_county FROM addresses",
        "query_toks": [
            "SELECT",
            "town_city",
            "FROM",
            "addresses",
            "UNION",
            "SELECT",
            "state_province_county",
            "FROM",
            "addresses"
        ],
        "query_toks_no_value": [
            "select",
            "town_city",
            "from",
            "addresses",
            "union",
            "select",
            "state_province_county",
            "from",
            "addresses"
        ],
        "question": "Find the name of all the cities and states.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "all",
            "the",
            "cities",
            "and",
            "states",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT town_city FROM addresses UNION SELECT state_province_county FROM addresses",
        "query_toks": [
            "SELECT",
            "town_city",
            "FROM",
            "addresses",
            "UNION",
            "SELECT",
            "state_province_county",
            "FROM",
            "addresses"
        ],
        "query_toks_no_value": [
            "select",
            "town_city",
            "from",
            "addresses",
            "union",
            "select",
            "state_province_county",
            "from",
            "addresses"
        ],
        "question": "What are the names of all cities and states?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "cities",
            "and",
            "states",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT count(*) FROM addresses WHERE state_province_county  =  \"Colorado\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "addresses",
            "WHERE",
            "state_province_county",
            "=",
            "``",
            "Colorado",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "where",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "How many cities are there in state \"Colorado\"?",
        "question_toks": [
            "How",
            "many",
            "cities",
            "are",
            "there",
            "in",
            "state",
            "``",
            "Colorado",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Colorado\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT count(*) FROM addresses WHERE state_province_county  =  \"Colorado\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "addresses",
            "WHERE",
            "state_province_county",
            "=",
            "``",
            "Colorado",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "where",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "Count the number of cities in the state of Colorado.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "cities",
            "in",
            "the",
            "state",
            "of",
            "Colorado",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Colorado\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT payment_method_code FROM parties GROUP BY payment_method_code HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            "FROM",
            "parties",
            "GROUP",
            "BY",
            "payment_method_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            "from",
            "parties",
            "group",
            "by",
            "payment_method_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Find the payment method code used by more than 3 parties.",
        "question_toks": [
            "Find",
            "the",
            "payment",
            "method",
            "code",
            "used",
            "by",
            "more",
            "than",
            "3",
            "parties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT payment_method_code FROM parties GROUP BY payment_method_code HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            "FROM",
            "parties",
            "GROUP",
            "BY",
            "payment_method_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            "from",
            "parties",
            "group",
            "by",
            "payment_method_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the payment method codes that have been used by more than 3 parties?",
        "question_toks": [
            "What",
            "are",
            "the",
            "payment",
            "method",
            "codes",
            "that",
            "have",
            "been",
            "used",
            "by",
            "more",
            "than",
            "3",
            "parties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT organization_name FROM organizations WHERE organization_name LIKE \"%Party%\"",
        "query_toks": [
            "SELECT",
            "organization_name",
            "FROM",
            "organizations",
            "WHERE",
            "organization_name",
            "LIKE",
            "``",
            "%",
            "Party",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "organization_name",
            "from",
            "organizations",
            "where",
            "organization_name",
            "like",
            "value"
        ],
        "question": "Find the name of organizations whose names contain \"Party\".",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "organizations",
            "whose",
            "names",
            "contain",
            "``",
            "Party",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"%Party%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT organization_name FROM organizations WHERE organization_name LIKE \"%Party%\"",
        "query_toks": [
            "SELECT",
            "organization_name",
            "FROM",
            "organizations",
            "WHERE",
            "organization_name",
            "LIKE",
            "``",
            "%",
            "Party",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "organization_name",
            "from",
            "organizations",
            "where",
            "organization_name",
            "like",
            "value"
        ],
        "question": "What are the names of organizations that contain the word \"Party\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "organizations",
            "that",
            "contain",
            "the",
            "word",
            "``",
            "Party",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"%Party%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT count(DISTINCT payment_method_code) FROM parties",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "payment_method_code",
            ")",
            "FROM",
            "parties"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "payment_method_code",
            ")",
            "from",
            "parties"
        ],
        "question": "How many distinct payment methods are used by parties?",
        "question_toks": [
            "How",
            "many",
            "distinct",
            "payment",
            "methods",
            "are",
            "used",
            "by",
            "parties",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT count(DISTINCT payment_method_code) FROM parties",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "payment_method_code",
            ")",
            "FROM",
            "parties"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "payment_method_code",
            ")",
            "from",
            "parties"
        ],
        "question": "Count the number of different payment method codes used by parties.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "payment",
            "method",
            "codes",
            "used",
            "by",
            "parties",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t1.party_email FROM parties AS t1 JOIN party_services AS t2 ON t1.party_id  =  t2.customer_id GROUP BY t1.party_email ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.party_email",
            "FROM",
            "parties",
            "AS",
            "t1",
            "JOIN",
            "party_services",
            "AS",
            "t2",
            "ON",
            "t1.party_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t1.party_email",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "party_email",
            "from",
            "parties",
            "as",
            "t1",
            "join",
            "party_services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "party_email",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which is the email of the party that has used the services the most number of times?",
        "question_toks": [
            "Which",
            "is",
            "the",
            "email",
            "of",
            "the",
            "party",
            "that",
            "has",
            "used",
            "the",
            "services",
            "the",
            "most",
            "number",
            "of",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t1.party_email FROM parties AS t1 JOIN party_services AS t2 ON t1.party_id  =  t2.customer_id GROUP BY t1.party_email ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.party_email",
            "FROM",
            "parties",
            "AS",
            "t1",
            "JOIN",
            "party_services",
            "AS",
            "t2",
            "ON",
            "t1.party_id",
            "=",
            "t2.customer_id",
            "GROUP",
            "BY",
            "t1.party_email",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "party_email",
            "from",
            "parties",
            "as",
            "t1",
            "join",
            "party_services",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "party_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "party_email",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the party email that has used party services the greatest number of times.",
        "question_toks": [
            "Return",
            "the",
            "party",
            "email",
            "that",
            "has",
            "used",
            "party",
            "services",
            "the",
            "greatest",
            "number",
            "of",
            "times",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            47,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT state_province_county FROM addresses WHERE line_1_number_building LIKE \"%6862 Kaitlyn Knolls%\"",
        "query_toks": [
            "SELECT",
            "state_province_county",
            "FROM",
            "addresses",
            "WHERE",
            "line_1_number_building",
            "LIKE",
            "``",
            "%",
            "6862",
            "Kaitlyn",
            "Knolls",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "state_province_county",
            "from",
            "addresses",
            "where",
            "line_1_number_building",
            "like",
            "value"
        ],
        "question": "Which state can address \"6862 Kaitlyn Knolls\" possibly be in?",
        "question_toks": [
            "Which",
            "state",
            "can",
            "address",
            "``",
            "6862",
            "Kaitlyn",
            "Knolls",
            "''",
            "possibly",
            "be",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%6862 Kaitlyn Knolls%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT state_province_county FROM addresses WHERE line_1_number_building LIKE \"%6862 Kaitlyn Knolls%\"",
        "query_toks": [
            "SELECT",
            "state_province_county",
            "FROM",
            "addresses",
            "WHERE",
            "line_1_number_building",
            "LIKE",
            "``",
            "%",
            "6862",
            "Kaitlyn",
            "Knolls",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "state_province_county",
            "from",
            "addresses",
            "where",
            "line_1_number_building",
            "like",
            "value"
        ],
        "question": "Give the state corresponding to the line number building \"6862 Kaitlyn Knolls\".",
        "question_toks": [
            "Give",
            "the",
            "state",
            "corresponding",
            "to",
            "the",
            "line",
            "number",
            "building",
            "``",
            "6862",
            "Kaitlyn",
            "Knolls",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%6862 Kaitlyn Knolls%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t1.organization_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id  =  t2.organization_id GROUP BY t1.organization_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.organization_name",
            "FROM",
            "organizations",
            "AS",
            "t1",
            "JOIN",
            "organization_contact_individuals",
            "AS",
            "t2",
            "ON",
            "t1.organization_id",
            "=",
            "t2.organization_id",
            "GROUP",
            "BY",
            "t1.organization_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organization_name",
            "from",
            "organizations",
            "as",
            "t1",
            "join",
            "organization_contact_individuals",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organization_id",
            "=",
            "t2",
            ".",
            "organization_id",
            "group",
            "by",
            "t1",
            ".",
            "organization_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of organization that has the greatest number of contact individuals?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "organization",
            "that",
            "has",
            "the",
            "greatest",
            "number",
            "of",
            "contact",
            "individuals",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT t1.organization_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id  =  t2.organization_id GROUP BY t1.organization_name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.organization_name",
            "FROM",
            "organizations",
            "AS",
            "t1",
            "JOIN",
            "organization_contact_individuals",
            "AS",
            "t2",
            "ON",
            "t1.organization_id",
            "=",
            "t2.organization_id",
            "GROUP",
            "BY",
            "t1.organization_name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "organization_name",
            "from",
            "organizations",
            "as",
            "t1",
            "join",
            "organization_contact_individuals",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "organization_id",
            "=",
            "t2",
            ".",
            "organization_id",
            "group",
            "by",
            "t1",
            ".",
            "organization_name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the name of the organization which has the most contact individuals.",
        "question_toks": [
            "Return",
            "the",
            "name",
            "of",
            "the",
            "organization",
            "which",
            "has",
            "the",
            "most",
            "contact",
            "individuals",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id  =  t2.individual_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.individual_last_name",
            "FROM",
            "individuals",
            "AS",
            "t1",
            "JOIN",
            "organization_contact_individuals",
            "AS",
            "t2",
            "ON",
            "t1.individual_id",
            "=",
            "t2.individual_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "individual_last_name",
            "from",
            "individuals",
            "as",
            "t1",
            "join",
            "organization_contact_individuals",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "individual_id",
            "=",
            "t2",
            ".",
            "individual_id"
        ],
        "question": "Find the last name of the individuals that have been contact individuals of an organization.",
        "question_toks": [
            "Find",
            "the",
            "last",
            "name",
            "of",
            "the",
            "individuals",
            "that",
            "have",
            "been",
            "contact",
            "individuals",
            "of",
            "an",
            "organization",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "e_government",
        "query": "SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id  =  t2.individual_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.individual_last_name",
            "FROM",
            "individuals",
            "AS",
            "t1",
            "JOIN",
            "organization_contact_individuals",
            "AS",
            "t2",
            "ON",
            "t1.individual_id",
            "=",
            "t2.individual_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "individual_last_name",
            "from",
            "individuals",
            "as",
            "t1",
            "join",
            "organization_contact_individuals",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "individual_id",
            "=",
            "t2",
            ".",
            "individual_id"
        ],
        "question": "What are the last names of individuals who have been contact individuals for an organization?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "of",
            "individuals",
            "who",
            "have",
            "been",
            "contact",
            "individuals",
            "for",
            "an",
            "organization",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT count(*) FROM driver",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "driver"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "driver"
        ],
        "question": "How many drivers are there?",
        "question_toks": [
            "How",
            "many",
            "drivers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT name ,  home_city ,  age FROM driver",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "home_city",
            ",",
            "age",
            "FROM",
            "driver"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "home_city",
            ",",
            "age",
            "from",
            "driver"
        ],
        "question": "Show the name, home city, and age for all drivers.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "home",
            "city",
            ",",
            "and",
            "age",
            "for",
            "all",
            "drivers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT party ,  count(*) FROM driver GROUP BY party",
        "query_toks": [
            "SELECT",
            "party",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "driver",
            "GROUP",
            "BY",
            "party"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "driver",
            "group",
            "by",
            "party"
        ],
        "question": "Show the party and the number of drivers in each party.",
        "question_toks": [
            "Show",
            "the",
            "party",
            "and",
            "the",
            "number",
            "of",
            "drivers",
            "in",
            "each",
            "party",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT name FROM driver ORDER BY age DESC",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "driver",
            "ORDER",
            "BY",
            "age",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "driver",
            "order",
            "by",
            "age",
            "desc"
        ],
        "question": "Show the name of drivers in descending order of age.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "of",
            "drivers",
            "in",
            "descending",
            "order",
            "of",
            "age",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT DISTINCT home_city FROM driver",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "home_city",
            "FROM",
            "driver"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "home_city",
            "from",
            "driver"
        ],
        "question": "Show all different home cities.",
        "question_toks": [
            "Show",
            "all",
            "different",
            "home",
            "cities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT home_city FROM driver GROUP BY home_city ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "home_city",
            "FROM",
            "driver",
            "GROUP",
            "BY",
            "home_city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "home_city",
            "from",
            "driver",
            "group",
            "by",
            "home_city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the home city with the most number of drivers.",
        "question_toks": [
            "Show",
            "the",
            "home",
            "city",
            "with",
            "the",
            "most",
            "number",
            "of",
            "drivers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT party FROM driver WHERE home_city  =  'Hartford' AND age  >  40",
        "query_toks": [
            "SELECT",
            "party",
            "FROM",
            "driver",
            "WHERE",
            "home_city",
            "=",
            "'Hartford",
            "'",
            "AND",
            "age",
            ">",
            "40"
        ],
        "query_toks_no_value": [
            "select",
            "party",
            "from",
            "driver",
            "where",
            "home_city",
            "=",
            "value",
            "and",
            "age",
            ">",
            "value"
        ],
        "question": "Show the party with drivers from Hartford and drivers older than 40.",
        "question_toks": [
            "Show",
            "the",
            "party",
            "with",
            "drivers",
            "from",
            "Hartford",
            "and",
            "drivers",
            "older",
            "than",
            "40",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Hartford\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT home_city FROM driver WHERE age  >  40 GROUP BY home_city HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "home_city",
            "FROM",
            "driver",
            "WHERE",
            "age",
            ">",
            "40",
            "GROUP",
            "BY",
            "home_city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "home_city",
            "from",
            "driver",
            "where",
            "age",
            ">",
            "value",
            "group",
            "by",
            "home_city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show home city where at least two drivers older than 40 are from.",
        "question_toks": [
            "Show",
            "home",
            "city",
            "where",
            "at",
            "least",
            "two",
            "drivers",
            "older",
            "than",
            "40",
            "are",
            "from",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT home_city FROM driver EXCEPT SELECT home_city FROM driver WHERE age  >  40",
        "query_toks": [
            "SELECT",
            "home_city",
            "FROM",
            "driver",
            "EXCEPT",
            "SELECT",
            "home_city",
            "FROM",
            "driver",
            "WHERE",
            "age",
            ">",
            "40"
        ],
        "query_toks_no_value": [
            "select",
            "home_city",
            "from",
            "driver",
            "except",
            "select",
            "home_city",
            "from",
            "driver",
            "where",
            "age",
            ">",
            "value"
        ],
        "question": "Show all home cities except for those having a driver older than 40.",
        "question_toks": [
            "Show",
            "all",
            "home",
            "cities",
            "except",
            "for",
            "those",
            "having",
            "a",
            "driver",
            "older",
            "than",
            "40",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        40.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT name FROM driver WHERE driver_id NOT IN (SELECT driver_id FROM school_bus)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "driver",
            "WHERE",
            "driver_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "driver_id",
            "FROM",
            "school_bus",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "driver",
            "where",
            "driver_id",
            "not",
            "in",
            "(",
            "select",
            "driver_id",
            "from",
            "school_bus",
            ")"
        ],
        "question": "Show the names of the drivers without a school bus.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "the",
            "drivers",
            "without",
            "a",
            "school",
            "bus",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT TYPE FROM school GROUP BY TYPE HAVING count(*)  =  2",
        "query_toks": [
            "SELECT",
            "TYPE",
            "FROM",
            "school",
            "GROUP",
            "BY",
            "TYPE",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            "from",
            "school",
            "group",
            "by",
            "type",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Show the types of schools that have two schools.",
        "question_toks": [
            "Show",
            "the",
            "types",
            "of",
            "schools",
            "that",
            "have",
            "two",
            "schools",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT T2.school ,  T3.name FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id JOIN driver AS T3 ON T1.driver_id  =  T3.driver_id",
        "query_toks": [
            "SELECT",
            "T2.school",
            ",",
            "T3.name",
            "FROM",
            "school_bus",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "JOIN",
            "driver",
            "AS",
            "T3",
            "ON",
            "T1.driver_id",
            "=",
            "T3.driver_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "school",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "school_bus",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "join",
            "driver",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "driver_id",
            "=",
            "t3",
            ".",
            "driver_id"
        ],
        "question": "Show the school name and driver name for all school buses.",
        "question_toks": [
            "Show",
            "the",
            "school",
            "name",
            "and",
            "driver",
            "name",
            "for",
            "all",
            "school",
            "buses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT max(years_working) ,  min(years_working) ,  avg(years_working) FROM school_bus",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "years_working",
            ")",
            ",",
            "min",
            "(",
            "years_working",
            ")",
            ",",
            "avg",
            "(",
            "years_working",
            ")",
            "FROM",
            "school_bus"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "years_working",
            ")",
            ",",
            "min",
            "(",
            "years_working",
            ")",
            ",",
            "avg",
            "(",
            "years_working",
            ")",
            "from",
            "school_bus"
        ],
        "question": "What is the maximum, minimum and average years spent working on a school bus?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            ",",
            "minimum",
            "and",
            "average",
            "years",
            "spent",
            "working",
            "on",
            "a",
            "school",
            "bus",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT school ,  TYPE FROM school WHERE school_id NOT IN (SELECT school_id FROM school_bus)",
        "query_toks": [
            "SELECT",
            "school",
            ",",
            "TYPE",
            "FROM",
            "school",
            "WHERE",
            "school_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "school_id",
            "FROM",
            "school_bus",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "school",
            ",",
            "type",
            "from",
            "school",
            "where",
            "school_id",
            "not",
            "in",
            "(",
            "select",
            "school_id",
            "from",
            "school_bus",
            ")"
        ],
        "question": "Show the school name and type for schools without a school bus.",
        "question_toks": [
            "Show",
            "the",
            "school",
            "name",
            "and",
            "type",
            "for",
            "schools",
            "without",
            "a",
            "school",
            "bus",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT T2.type ,  count(*) FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id GROUP BY T2.type",
        "query_toks": [
            "SELECT",
            "T2.type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "school_bus",
            "AS",
            "T1",
            "JOIN",
            "school",
            "AS",
            "T2",
            "ON",
            "T1.school_id",
            "=",
            "T2.school_id",
            "GROUP",
            "BY",
            "T2.type"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "school_bus",
            "as",
            "t1",
            "join",
            "school",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "school_id",
            "=",
            "t2",
            ".",
            "school_id",
            "group",
            "by",
            "t2",
            ".",
            "type"
        ],
        "question": "Show the type of school and the number of buses for each type.",
        "question_toks": [
            "Show",
            "the",
            "type",
            "of",
            "school",
            "and",
            "the",
            "number",
            "of",
            "buses",
            "for",
            "each",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT count(*) FROM driver WHERE home_city  =  'Hartford' OR age  <  40",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "driver",
            "WHERE",
            "home_city",
            "=",
            "'Hartford",
            "'",
            "OR",
            "age",
            "<",
            "40"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "driver",
            "where",
            "home_city",
            "=",
            "value",
            "or",
            "age",
            "<",
            "value"
        ],
        "question": "How many drivers are from Hartford city or younger than 40?",
        "question_toks": [
            "How",
            "many",
            "drivers",
            "are",
            "from",
            "Hartford",
            "city",
            "or",
            "younger",
            "than",
            "40",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Hartford\"",
                    null
                ],
                "or",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT name FROM driver WHERE home_city  =  'Hartford' AND age  <  40",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "driver",
            "WHERE",
            "home_city",
            "=",
            "'Hartford",
            "'",
            "AND",
            "age",
            "<",
            "40"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "driver",
            "where",
            "home_city",
            "=",
            "value",
            "and",
            "age",
            "<",
            "value"
        ],
        "question": "List names for drivers from Hartford city and younger than 40.",
        "question_toks": [
            "List",
            "names",
            "for",
            "drivers",
            "from",
            "Hartford",
            "city",
            "and",
            "younger",
            "than",
            "40",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Hartford\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    40.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "school_bus",
        "query": "SELECT t1.name FROM driver AS t1 JOIN school_bus AS t2 ON t1.driver_id  =  t2.driver_id ORDER BY years_working DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "driver",
            "AS",
            "t1",
            "JOIN",
            "school_bus",
            "AS",
            "t2",
            "ON",
            "t1.driver_id",
            "=",
            "t2.driver_id",
            "ORDER",
            "BY",
            "years_working",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "driver",
            "as",
            "t1",
            "join",
            "school_bus",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "driver_id",
            "=",
            "t2",
            ".",
            "driver_id",
            "order",
            "by",
            "years_working",
            "desc",
            "limit",
            "value"
        ],
        "question": "find the name of driver who is driving the school bus with the longest working history.",
        "question_toks": [
            "find",
            "the",
            "name",
            "of",
            "driver",
            "who",
            "is",
            "driving",
            "the",
            "school",
            "bus",
            "with",
            "the",
            "longest",
            "working",
            "history",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT count(*) FROM flight WHERE velocity  >  200",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "flight",
            "WHERE",
            "velocity",
            ">",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "flight",
            "where",
            "velocity",
            ">",
            "value"
        ],
        "question": "How many flights have a velocity larger than 200?",
        "question_toks": [
            "How",
            "many",
            "flights",
            "have",
            "a",
            "velocity",
            "larger",
            "than",
            "200",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT vehicle_flight_number ,  date ,  pilot FROM flight ORDER BY altitude ASC",
        "query_toks": [
            "SELECT",
            "vehicle_flight_number",
            ",",
            "date",
            ",",
            "pilot",
            "FROM",
            "flight",
            "ORDER",
            "BY",
            "altitude",
            "ASC"
        ],
        "query_toks_no_value": [
            "select",
            "vehicle_flight_number",
            ",",
            "date",
            ",",
            "pilot",
            "from",
            "flight",
            "order",
            "by",
            "altitude",
            "asc"
        ],
        "question": "List the vehicle flight number, date and pilot of all the flights, ordered by altitude.",
        "question_toks": [
            "List",
            "the",
            "vehicle",
            "flight",
            "number",
            ",",
            "date",
            "and",
            "pilot",
            "of",
            "all",
            "the",
            "flights",
            ",",
            "ordered",
            "by",
            "altitude",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT id ,  country ,  city ,  name FROM airport ORDER BY name",
        "query_toks": [
            "SELECT",
            "id",
            ",",
            "country",
            ",",
            "city",
            ",",
            "name",
            "FROM",
            "airport",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "id",
            ",",
            "country",
            ",",
            "city",
            ",",
            "name",
            "from",
            "airport",
            "order",
            "by",
            "name"
        ],
        "question": "List the id, country, city and name of the airports ordered alphabetically by the name.",
        "question_toks": [
            "List",
            "the",
            "id",
            ",",
            "country",
            ",",
            "city",
            "and",
            "name",
            "of",
            "the",
            "airports",
            "ordered",
            "alphabetically",
            "by",
            "the",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT max(group_equity_shareholding) FROM operate_company",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "group_equity_shareholding",
            ")",
            "FROM",
            "operate_company"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "group_equity_shareholding",
            ")",
            "from",
            "operate_company"
        ],
        "question": "What is maximum group equity shareholding of the companies?",
        "question_toks": [
            "What",
            "is",
            "maximum",
            "group",
            "equity",
            "shareholding",
            "of",
            "the",
            "companies",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT avg(velocity) FROM flight WHERE pilot  =  'Thompson'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "velocity",
            ")",
            "FROM",
            "flight",
            "WHERE",
            "pilot",
            "=",
            "'Thompson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "velocity",
            ")",
            "from",
            "flight",
            "where",
            "pilot",
            "=",
            "value"
        ],
        "question": "What is the velocity of the pilot named 'Thompson'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "velocity",
            "of",
            "the",
            "pilot",
            "named",
            "'Thompson",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Thompson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT T1.name ,  T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id  =  T2.company_id",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.type",
            "FROM",
            "operate_company",
            "AS",
            "T1",
            "JOIN",
            "flight",
            "AS",
            "t2",
            "ON",
            "T1.id",
            "=",
            "T2.company_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "type",
            "from",
            "operate_company",
            "as",
            "t1",
            "join",
            "flight",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "company_id"
        ],
        "question": "What are the names and types of the companies that have ever operated a flight?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "types",
            "of",
            "the",
            "companies",
            "that",
            "have",
            "ever",
            "operated",
            "a",
            "flight",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT name FROM airport WHERE country != 'Iceland'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "airport",
            "WHERE",
            "country",
            "!",
            "=",
            "'Iceland",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "airport",
            "where",
            "country",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of the airports which are not in the country 'Iceland'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "airports",
            "which",
            "are",
            "not",
            "in",
            "the",
            "country",
            "'Iceland",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Iceland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT DISTINCT T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id  =  T2.company_id WHERE T2.velocity  <  200",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.type",
            "FROM",
            "operate_company",
            "AS",
            "T1",
            "JOIN",
            "flight",
            "AS",
            "t2",
            "ON",
            "T1.id",
            "=",
            "T2.company_id",
            "WHERE",
            "T2.velocity",
            "<",
            "200"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "type",
            "from",
            "operate_company",
            "as",
            "t1",
            "join",
            "flight",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "company_id",
            "where",
            "t2",
            ".",
            "velocity",
            "<",
            "value"
        ],
        "question": "What are the distinct types of the companies that have operated any flights with velocity less than 200?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "types",
            "of",
            "the",
            "companies",
            "that",
            "have",
            "operated",
            "any",
            "flights",
            "with",
            "velocity",
            "less",
            "than",
            "200",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT T1.id ,  T1.name FROM operate_company AS T1 JOIN flight AS t2 ON T1.id  =  T2.company_id GROUP BY T1.id HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "operate_company",
            "AS",
            "T1",
            "JOIN",
            "flight",
            "AS",
            "t2",
            "ON",
            "T1.id",
            "=",
            "T2.company_id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "operate_company",
            "as",
            "t1",
            "join",
            "flight",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "company_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the ids and names of the companies that operated more than one flight?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "the",
            "companies",
            "that",
            "operated",
            "more",
            "than",
            "one",
            "flight",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT T1.id ,  T1.name ,  T1.IATA FROM airport AS T1 JOIN flight AS T2 ON T1.id  =  T2.airport_id GROUP BY T2.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            ",",
            "T1.IATA",
            "FROM",
            "airport",
            "AS",
            "T1",
            "JOIN",
            "flight",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.airport_id",
            "GROUP",
            "BY",
            "T2.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "iata",
            "from",
            "airport",
            "as",
            "t1",
            "join",
            "flight",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "airport_id",
            "group",
            "by",
            "t2",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id, name and IATA code of the airport that had most number of flights?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            ",",
            "name",
            "and",
            "IATA",
            "code",
            "of",
            "the",
            "airport",
            "that",
            "had",
            "most",
            "number",
            "of",
            "flights",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT DISTINCT T2.pilot FROM airport AS T1 JOIN flight AS T2 ON T1.id  =  T2.airport_id WHERE T1.country  =  'United States' OR T1.name  =  'Billund Airport'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.pilot",
            "FROM",
            "airport",
            "AS",
            "T1",
            "JOIN",
            "flight",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.airport_id",
            "WHERE",
            "T1.country",
            "=",
            "'United",
            "States",
            "'",
            "OR",
            "T1.name",
            "=",
            "'Billund",
            "Airport",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "pilot",
            "from",
            "airport",
            "as",
            "t1",
            "join",
            "flight",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "airport_id",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value",
            "or",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "pilot",
            "names",
            "who",
            "had",
            "piloted",
            "a",
            "flight",
            "in",
            "the",
            "country",
            "'United",
            "States",
            "'",
            "or",
            "in",
            "the",
            "airport",
            "named",
            "'Billund",
            "Airport",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Billund Airport\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT TYPE ,  count(*) FROM operate_company GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "operate_company",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "operate_company",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common company type, and how many are there?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "company",
            "type",
            ",",
            "and",
            "how",
            "many",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT count(*) FROM airport WHERE id NOT IN ( SELECT airport_id FROM flight WHERE pilot  =  'Thompson' );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airport",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "airport_id",
            "FROM",
            "flight",
            "WHERE",
            "pilot",
            "=",
            "'Thompson",
            "'",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airport",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "airport_id",
            "from",
            "flight",
            "where",
            "pilot",
            "=",
            "value",
            ")"
        ],
        "question": "How many airports haven't the pilot 'Thompson' driven an aircraft?",
        "question_toks": [
            "How",
            "many",
            "airports",
            "have",
            "n't",
            "the",
            "pilot",
            "'Thompson",
            "'",
            "driven",
            "an",
            "aircraft",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            19,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        16,
                                        false
                                    ],
                                    null
                                ],
                                "\"Thompson\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT T2.pilot FROM operate_company AS T1 JOIN flight AS t2 ON T1.id  =  T2.company_id WHERE T1.principal_activities  =  'Cargo' INTERSECT SELECT T2.pilot FROM operate_company AS T1 JOIN flight AS t2 ON T1.id  =  T2.company_id WHERE T1.principal_activities  =  'Catering services'",
        "query_toks": [
            "SELECT",
            "T2.pilot",
            "FROM",
            "operate_company",
            "AS",
            "T1",
            "JOIN",
            "flight",
            "AS",
            "t2",
            "ON",
            "T1.id",
            "=",
            "T2.company_id",
            "WHERE",
            "T1.principal_activities",
            "=",
            "'Cargo",
            "'",
            "INTERSECT",
            "SELECT",
            "T2.pilot",
            "FROM",
            "operate_company",
            "AS",
            "T1",
            "JOIN",
            "flight",
            "AS",
            "t2",
            "ON",
            "T1.id",
            "=",
            "T2.company_id",
            "WHERE",
            "T1.principal_activities",
            "=",
            "'Catering",
            "services",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "pilot",
            "from",
            "operate_company",
            "as",
            "t1",
            "join",
            "flight",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "company_id",
            "where",
            "t1",
            ".",
            "principal_activities",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "pilot",
            "from",
            "operate_company",
            "as",
            "t1",
            "join",
            "flight",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "company_id",
            "where",
            "t1",
            ".",
            "principal_activities",
            "=",
            "value"
        ],
        "question": "List the name of the pilots who have flied for both a company that mainly provide 'Cargo' services and a company that runs 'Catering services' activities.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "the",
            "pilots",
            "who",
            "have",
            "flied",
            "for",
            "both",
            "a",
            "company",
            "that",
            "mainly",
            "provide",
            "'Cargo",
            "'",
            "services",
            "and",
            "a",
            "company",
            "that",
            "runs",
            "'Catering",
            "services",
            "'",
            "activities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Cargo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Catering services\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT name FROM airport WHERE name LIKE '%international%'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "airport",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "international",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "airport",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Which of the airport names contains the word 'international'?",
        "question_toks": [
            "Which",
            "of",
            "the",
            "airport",
            "names",
            "contains",
            "the",
            "word",
            "'international",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"%international%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT T3.id ,  count(*) FROM operate_company AS T1 JOIN flight AS t2 ON T1.id  =  T2.company_id JOIN airport AS T3 ON T2.airport_id  =  T3.id GROUP BY T3.id",
        "query_toks": [
            "SELECT",
            "T3.id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "operate_company",
            "AS",
            "T1",
            "JOIN",
            "flight",
            "AS",
            "t2",
            "ON",
            "T1.id",
            "=",
            "T2.company_id",
            "JOIN",
            "airport",
            "AS",
            "T3",
            "ON",
            "T2.airport_id",
            "=",
            "T3.id",
            "GROUP",
            "BY",
            "T3.id"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "operate_company",
            "as",
            "t1",
            "join",
            "flight",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "company_id",
            "join",
            "airport",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "airport_id",
            "=",
            "t3",
            ".",
            "id",
            "group",
            "by",
            "t3",
            ".",
            "id"
        ],
        "question": "How many companies operates airlines in each airport?",
        "question_toks": [
            "How",
            "many",
            "companies",
            "operates",
            "airlines",
            "in",
            "each",
            "airport",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT count(*) ,  country FROM airport GROUP BY country",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country",
            "FROM",
            "airport",
            "GROUP",
            "BY",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country",
            "from",
            "airport",
            "group",
            "by",
            "country"
        ],
        "question": "how many airports are there in each country?",
        "question_toks": [
            "how",
            "many",
            "airports",
            "are",
            "there",
            "in",
            "each",
            "country",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT country FROM airport GROUP BY country HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airport",
            "GROUP",
            "BY",
            "country",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airport",
            "group",
            "by",
            "country",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "which countries have more than 2 airports?",
        "question_toks": [
            "which",
            "countries",
            "have",
            "more",
            "than",
            "2",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_company",
        "query": "SELECT pilot FROM flight GROUP BY pilot ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "pilot",
            "FROM",
            "flight",
            "GROUP",
            "BY",
            "pilot",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "pilot",
            "from",
            "flight",
            "group",
            "by",
            "pilot",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which pilot is in charge of the most number of flights?",
        "question_toks": [
            "which",
            "pilot",
            "is",
            "in",
            "charge",
            "of",
            "the",
            "most",
            "number",
            "of",
            "flights",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts"
        ],
        "question": "How many accounts do we have?",
        "question_toks": [
            "How",
            "many",
            "accounts",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Accounts",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts"
        ],
        "question": "Count the number of accounts.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT account_id ,  account_details FROM Accounts",
        "query_toks": [
            "SELECT",
            "account_id",
            ",",
            "account_details",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            ",",
            "account_details",
            "from",
            "accounts"
        ],
        "question": "Show all account ids and account details.",
        "question_toks": [
            "Show",
            "all",
            "account",
            "ids",
            "and",
            "account",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT account_id ,  account_details FROM Accounts",
        "query_toks": [
            "SELECT",
            "account_id",
            ",",
            "account_details",
            "FROM",
            "Accounts"
        ],
        "query_toks_no_value": [
            "select",
            "account_id",
            ",",
            "account_details",
            "from",
            "accounts"
        ],
        "question": "What are the ids and details of all accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "details",
            "of",
            "all",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Statements",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Statements"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "statements"
        ],
        "question": "How many statements do we have?",
        "question_toks": [
            "How",
            "many",
            "statements",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Statements",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Statements"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "statements"
        ],
        "question": "Count the number of statements.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "statements",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT STATEMENT_ID ,  statement_details FROM Statements",
        "query_toks": [
            "SELECT",
            "STATEMENT_ID",
            ",",
            "statement_details",
            "FROM",
            "Statements"
        ],
        "query_toks_no_value": [
            "select",
            "statement_id",
            ",",
            "statement_details",
            "from",
            "statements"
        ],
        "question": "List all statement ids and statement details.",
        "question_toks": [
            "List",
            "all",
            "statement",
            "ids",
            "and",
            "statement",
            "details",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT STATEMENT_ID ,  statement_details FROM Statements",
        "query_toks": [
            "SELECT",
            "STATEMENT_ID",
            ",",
            "statement_details",
            "FROM",
            "Statements"
        ],
        "query_toks_no_value": [
            "select",
            "statement_id",
            ",",
            "statement_details",
            "from",
            "statements"
        ],
        "question": "What are the ids and details of all statements?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "details",
            "of",
            "all",
            "statements",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.statement_id ,  T2.statement_details ,  T1.account_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id  =  T2.statement_id",
        "query_toks": [
            "SELECT",
            "T1.statement_id",
            ",",
            "T2.statement_details",
            ",",
            "T1.account_details",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Statements",
            "AS",
            "T2",
            "ON",
            "T1.statement_id",
            "=",
            "T2.statement_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "statement_id",
            ",",
            "t2",
            ".",
            "statement_details",
            ",",
            "t1",
            ".",
            "account_details",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "statements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "statement_id",
            "=",
            "t2",
            ".",
            "statement_id"
        ],
        "question": "Show statement id, statement detail, account detail for accounts.",
        "question_toks": [
            "Show",
            "statement",
            "id",
            ",",
            "statement",
            "detail",
            ",",
            "account",
            "detail",
            "for",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.statement_id ,  T2.statement_details ,  T1.account_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id  =  T2.statement_id",
        "query_toks": [
            "SELECT",
            "T1.statement_id",
            ",",
            "T2.statement_details",
            ",",
            "T1.account_details",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Statements",
            "AS",
            "T2",
            "ON",
            "T1.statement_id",
            "=",
            "T2.statement_id"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "statement_id",
            ",",
            "t2",
            ".",
            "statement_details",
            ",",
            "t1",
            ".",
            "account_details",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "statements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "statement_id",
            "=",
            "t2",
            ".",
            "statement_id"
        ],
        "question": "What are the statement ids, statement details, and account details, for all accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "statement",
            "ids",
            ",",
            "statement",
            "details",
            ",",
            "and",
            "account",
            "details",
            ",",
            "for",
            "all",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT STATEMENT_ID ,  count(*) FROM Accounts GROUP BY STATEMENT_ID",
        "query_toks": [
            "SELECT",
            "STATEMENT_ID",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "GROUP",
            "BY",
            "STATEMENT_ID"
        ],
        "query_toks_no_value": [
            "select",
            "statement_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "group",
            "by",
            "statement_id"
        ],
        "question": "Show all statement id and the number of accounts for each statement.",
        "question_toks": [
            "Show",
            "all",
            "statement",
            "id",
            "and",
            "the",
            "number",
            "of",
            "accounts",
            "for",
            "each",
            "statement",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT STATEMENT_ID ,  count(*) FROM Accounts GROUP BY STATEMENT_ID",
        "query_toks": [
            "SELECT",
            "STATEMENT_ID",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Accounts",
            "GROUP",
            "BY",
            "STATEMENT_ID"
        ],
        "query_toks_no_value": [
            "select",
            "statement_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "accounts",
            "group",
            "by",
            "statement_id"
        ],
        "question": "What are the different statement ids on accounts, and the number of accounts for each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "statement",
            "ids",
            "on",
            "accounts",
            ",",
            "and",
            "the",
            "number",
            "of",
            "accounts",
            "for",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.statement_id ,  T2.statement_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id  =  T2.statement_id GROUP BY T1.statement_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.statement_id",
            ",",
            "T2.statement_details",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Statements",
            "AS",
            "T2",
            "ON",
            "T1.statement_id",
            "=",
            "T2.statement_id",
            "GROUP",
            "BY",
            "T1.statement_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "statement_id",
            ",",
            "t2",
            ".",
            "statement_details",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "statements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "statement_id",
            "=",
            "t2",
            ".",
            "statement_id",
            "group",
            "by",
            "t1",
            ".",
            "statement_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the statement id and the statement detail for the statement with most number of accounts.",
        "question_toks": [
            "Show",
            "the",
            "statement",
            "id",
            "and",
            "the",
            "statement",
            "detail",
            "for",
            "the",
            "statement",
            "with",
            "most",
            "number",
            "of",
            "accounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.statement_id ,  T2.statement_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id  =  T2.statement_id GROUP BY T1.statement_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.statement_id",
            ",",
            "T2.statement_details",
            "FROM",
            "Accounts",
            "AS",
            "T1",
            "JOIN",
            "Statements",
            "AS",
            "T2",
            "ON",
            "T1.statement_id",
            "=",
            "T2.statement_id",
            "GROUP",
            "BY",
            "T1.statement_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "statement_id",
            ",",
            "t2",
            ".",
            "statement_details",
            "from",
            "accounts",
            "as",
            "t1",
            "join",
            "statements",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "statement_id",
            "=",
            "t2",
            ".",
            "statement_id",
            "group",
            "by",
            "t1",
            ".",
            "statement_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the statement id and statement detail for the statement that has the most corresponding accounts?",
        "question_toks": [
            "What",
            "are",
            "the",
            "statement",
            "id",
            "and",
            "statement",
            "detail",
            "for",
            "the",
            "statement",
            "that",
            "has",
            "the",
            "most",
            "corresponding",
            "accounts",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Documents",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents"
        ],
        "question": "Show the number of documents.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Documents",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents"
        ],
        "question": "Count the number of documents.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code ,  document_name ,  document_description FROM Documents WHERE document_name  =  'Noel CV' OR document_name  =  'King Book'",
        "query_toks": [
            "SELECT",
            "document_type_code",
            ",",
            "document_name",
            ",",
            "document_description",
            "FROM",
            "Documents",
            "WHERE",
            "document_name",
            "=",
            "'Noel",
            "CV",
            "'",
            "OR",
            "document_name",
            "=",
            "'King",
            "Book",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            ",",
            "document_name",
            ",",
            "document_description",
            "from",
            "documents",
            "where",
            "document_name",
            "=",
            "value",
            "or",
            "document_name",
            "=",
            "value"
        ],
        "question": "List the document type code, document name, and document description for the document with name 'Noel CV' or name 'King Book'.",
        "question_toks": [
            "List",
            "the",
            "document",
            "type",
            "code",
            ",",
            "document",
            "name",
            ",",
            "and",
            "document",
            "description",
            "for",
            "the",
            "document",
            "with",
            "name",
            "'Noel",
            "CV",
            "'",
            "or",
            "name",
            "'King",
            "Book",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Noel CV\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"King Book\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code ,  document_name ,  document_description FROM Documents WHERE document_name  =  'Noel CV' OR document_name  =  'King Book'",
        "query_toks": [
            "SELECT",
            "document_type_code",
            ",",
            "document_name",
            ",",
            "document_description",
            "FROM",
            "Documents",
            "WHERE",
            "document_name",
            "=",
            "'Noel",
            "CV",
            "'",
            "OR",
            "document_name",
            "=",
            "'King",
            "Book",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            ",",
            "document_name",
            ",",
            "document_description",
            "from",
            "documents",
            "where",
            "document_name",
            "=",
            "value",
            "or",
            "document_name",
            "=",
            "value"
        ],
        "question": "What are the type come, name, and description of the document that has either the name 'Noel CV' or 'King Book'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "type",
            "come",
            ",",
            "name",
            ",",
            "and",
            "description",
            "of",
            "the",
            "document",
            "that",
            "has",
            "either",
            "the",
            "name",
            "'Noel",
            "CV",
            "'",
            "or",
            "'King",
            "Book",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Noel CV\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"King Book\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_id ,  document_name FROM Documents",
        "query_toks": [
            "SELECT",
            "document_id",
            ",",
            "document_name",
            "FROM",
            "Documents"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            ",",
            "document_name",
            "from",
            "documents"
        ],
        "question": "Show the ids and names of all documents.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "all",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_id ,  document_name FROM Documents",
        "query_toks": [
            "SELECT",
            "document_id",
            ",",
            "document_name",
            "FROM",
            "Documents"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            ",",
            "document_name",
            "from",
            "documents"
        ],
        "question": "What are the ids and names for each of the documents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "for",
            "each",
            "of",
            "the",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_name ,  document_id FROM Documents WHERE document_type_code  =  \"BK\"",
        "query_toks": [
            "SELECT",
            "document_name",
            ",",
            "document_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "BK",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            ",",
            "document_id",
            "from",
            "documents",
            "where",
            "document_type_code",
            "=",
            "value"
        ],
        "question": "Find names and ids of all documents with document type code BK.",
        "question_toks": [
            "Find",
            "names",
            "and",
            "ids",
            "of",
            "all",
            "documents",
            "with",
            "document",
            "type",
            "code",
            "BK",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"BK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_name ,  document_id FROM Documents WHERE document_type_code  =  \"BK\"",
        "query_toks": [
            "SELECT",
            "document_name",
            ",",
            "document_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "BK",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            ",",
            "document_id",
            "from",
            "documents",
            "where",
            "document_type_code",
            "=",
            "value"
        ],
        "question": "What are the names and ids of documents that have the type code BK?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "ids",
            "of",
            "documents",
            "that",
            "have",
            "the",
            "type",
            "code",
            "BK",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"BK\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) ,  project_id FROM Documents WHERE document_type_code  =  \"BK\" GROUP BY project_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "project_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "BK",
            "''",
            "GROUP",
            "BY",
            "project_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "project_id",
            "from",
            "documents",
            "where",
            "document_type_code",
            "=",
            "value",
            "group",
            "by",
            "project_id"
        ],
        "question": "How many documents are with document type code BK for each product id?",
        "question_toks": [
            "How",
            "many",
            "documents",
            "are",
            "with",
            "document",
            "type",
            "code",
            "BK",
            "for",
            "each",
            "product",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"BK\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) ,  project_id FROM Documents WHERE document_type_code  =  \"BK\" GROUP BY project_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "project_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "BK",
            "''",
            "GROUP",
            "BY",
            "project_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "project_id",
            "from",
            "documents",
            "where",
            "document_type_code",
            "=",
            "value",
            "group",
            "by",
            "project_id"
        ],
        "question": "Count the number of documents with the type code BK that correspond to each product id.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "documents",
            "with",
            "the",
            "type",
            "code",
            "BK",
            "that",
            "correspond",
            "to",
            "each",
            "product",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"BK\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_name ,  document_date FROM Documents AS T1 JOIN projects AS T2 ON T1.project_id  =  T2.project_id WHERE T2.project_details  =  'Graph Database project'",
        "query_toks": [
            "SELECT",
            "document_name",
            ",",
            "document_date",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.project_details",
            "=",
            "'Graph",
            "Database",
            "project",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            ",",
            "document_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "project_details",
            "=",
            "value"
        ],
        "question": "Show the document name and the document date for all documents on project with details 'Graph Database project'.",
        "question_toks": [
            "Show",
            "the",
            "document",
            "name",
            "and",
            "the",
            "document",
            "date",
            "for",
            "all",
            "documents",
            "on",
            "project",
            "with",
            "details",
            "'Graph",
            "Database",
            "project",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Graph Database project\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_name ,  document_date FROM Documents AS T1 JOIN projects AS T2 ON T1.project_id  =  T2.project_id WHERE T2.project_details  =  'Graph Database project'",
        "query_toks": [
            "SELECT",
            "document_name",
            ",",
            "document_date",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.project_details",
            "=",
            "'Graph",
            "Database",
            "project",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "document_name",
            ",",
            "document_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "project_details",
            "=",
            "value"
        ],
        "question": "What are the names and dates for documents corresponding to project that has the details 'Graph Database project'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "dates",
            "for",
            "documents",
            "corresponding",
            "to",
            "project",
            "that",
            "has",
            "the",
            "details",
            "'Graph",
            "Database",
            "project",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Graph Database project\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT project_id ,  count(*) FROM Documents GROUP BY project_id",
        "query_toks": [
            "SELECT",
            "project_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "project_id"
        ],
        "query_toks_no_value": [
            "select",
            "project_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "project_id"
        ],
        "question": "Show project ids and the number of documents in each project.",
        "question_toks": [
            "Show",
            "project",
            "ids",
            "and",
            "the",
            "number",
            "of",
            "documents",
            "in",
            "each",
            "project",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT project_id ,  count(*) FROM Documents GROUP BY project_id",
        "query_toks": [
            "SELECT",
            "project_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "project_id"
        ],
        "query_toks_no_value": [
            "select",
            "project_id",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "project_id"
        ],
        "question": "How many documents correspond with each project id?",
        "question_toks": [
            "How",
            "many",
            "documents",
            "correspond",
            "with",
            "each",
            "project",
            "id",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT project_id FROM Documents GROUP BY project_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "project_id",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "project_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "project_id",
            "from",
            "documents",
            "group",
            "by",
            "project_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the id of the project with least number of documents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "project",
            "with",
            "least",
            "number",
            "of",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT project_id FROM Documents GROUP BY project_id ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "project_id",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "project_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "project_id",
            "from",
            "documents",
            "group",
            "by",
            "project_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Return the id of the project that has the fewest corresponding documents.",
        "question_toks": [
            "Return",
            "the",
            "id",
            "of",
            "the",
            "project",
            "that",
            "has",
            "the",
            "fewest",
            "corresponding",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT project_id FROM Documents GROUP BY project_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "project_id",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "project_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "project_id",
            "from",
            "documents",
            "group",
            "by",
            "project_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the ids for projects with at least 2 documents.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "for",
            "projects",
            "with",
            "at",
            "least",
            "2",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT project_id FROM Documents GROUP BY project_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "project_id",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "project_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "project_id",
            "from",
            "documents",
            "group",
            "by",
            "project_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are project ids of projects that have 2 or more corresponding documents?",
        "question_toks": [
            "What",
            "are",
            "project",
            "ids",
            "of",
            "projects",
            "that",
            "have",
            "2",
            "or",
            "more",
            "corresponding",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code ,  count(*) FROM Documents GROUP BY document_type_code",
        "query_toks": [
            "SELECT",
            "document_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "document_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code"
        ],
        "question": "List document type codes and the number of documents in each code.",
        "question_toks": [
            "List",
            "document",
            "type",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "documents",
            "in",
            "each",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code ,  count(*) FROM Documents GROUP BY document_type_code",
        "query_toks": [
            "SELECT",
            "document_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "document_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code"
        ],
        "question": "How many documents are there of each type?",
        "question_toks": [
            "How",
            "many",
            "documents",
            "are",
            "there",
            "of",
            "each",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code FROM Documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "document_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the document type code with most number of documents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "document",
            "type",
            "code",
            "with",
            "most",
            "number",
            "of",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code FROM Documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "document_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the code of the document type that is most common.",
        "question_toks": [
            "Return",
            "the",
            "code",
            "of",
            "the",
            "document",
            "type",
            "that",
            "is",
            "most",
            "common",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING count(*)  <  3",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "document_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "value"
        ],
        "question": "Show the document type code with fewer than 3 documents.",
        "question_toks": [
            "Show",
            "the",
            "document",
            "type",
            "code",
            "with",
            "fewer",
            "than",
            "3",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING count(*)  <  3",
        "query_toks": [
            "SELECT",
            "document_type_code",
            "FROM",
            "Documents",
            "GROUP",
            "BY",
            "document_type_code",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            "from",
            "documents",
            "group",
            "by",
            "document_type_code",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "value"
        ],
        "question": "What are the codes corresponding to document types for which there are less than 3 documents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            "corresponding",
            "to",
            "document",
            "types",
            "for",
            "which",
            "there",
            "are",
            "less",
            "than",
            "3",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.statement_details ,  T2.document_name FROM Statements AS T1 JOIN Documents AS T2 ON T1.statement_id  =  T2.document_id WHERE T1.statement_details  =  'Private Project'",
        "query_toks": [
            "SELECT",
            "T1.statement_details",
            ",",
            "T2.document_name",
            "FROM",
            "Statements",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.statement_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T1.statement_details",
            "=",
            "'Private",
            "Project",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "statement_details",
            ",",
            "t2",
            ".",
            "document_name",
            "from",
            "statements",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "statement_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t1",
            ".",
            "statement_details",
            "=",
            "value"
        ],
        "question": "Show the statement detail and the corresponding document name for the statement with detail 'Private Project'.",
        "question_toks": [
            "Show",
            "the",
            "statement",
            "detail",
            "and",
            "the",
            "corresponding",
            "document",
            "name",
            "for",
            "the",
            "statement",
            "with",
            "detail",
            "'Private",
            "Project",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Private Project\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.statement_details ,  T2.document_name FROM Statements AS T1 JOIN Documents AS T2 ON T1.statement_id  =  T2.document_id WHERE T1.statement_details  =  'Private Project'",
        "query_toks": [
            "SELECT",
            "T1.statement_details",
            ",",
            "T2.document_name",
            "FROM",
            "Statements",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.statement_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T1.statement_details",
            "=",
            "'Private",
            "Project",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "statement_details",
            ",",
            "t2",
            ".",
            "document_name",
            "from",
            "statements",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "statement_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t1",
            ".",
            "statement_details",
            "=",
            "value"
        ],
        "question": "What are the details for statements with the details 'Private Project', and what are the names of the corresponding documents?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "for",
            "statements",
            "with",
            "the",
            "details",
            "'Private",
            "Project",
            "'",
            ",",
            "and",
            "what",
            "are",
            "the",
            "names",
            "of",
            "the",
            "corresponding",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Private Project\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code ,  document_type_name ,  document_type_description FROM Ref_document_types",
        "query_toks": [
            "SELECT",
            "document_type_code",
            ",",
            "document_type_name",
            ",",
            "document_type_description",
            "FROM",
            "Ref_document_types"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            ",",
            "document_type_name",
            ",",
            "document_type_description",
            "from",
            "ref_document_types"
        ],
        "question": "Show all document type codes, document type names, document type descriptions.",
        "question_toks": [
            "Show",
            "all",
            "document",
            "type",
            "codes",
            ",",
            "document",
            "type",
            "names",
            ",",
            "document",
            "type",
            "descriptions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_code ,  document_type_name ,  document_type_description FROM Ref_document_types",
        "query_toks": [
            "SELECT",
            "document_type_code",
            ",",
            "document_type_name",
            ",",
            "document_type_description",
            "FROM",
            "Ref_document_types"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_code",
            ",",
            "document_type_name",
            ",",
            "document_type_description",
            "from",
            "ref_document_types"
        ],
        "question": "What are the codes, names, and descriptions of the different document types?",
        "question_toks": [
            "What",
            "are",
            "the",
            "codes",
            ",",
            "names",
            ",",
            "and",
            "descriptions",
            "of",
            "the",
            "different",
            "document",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_description FROM Ref_document_types WHERE document_type_name  =  \"Film\"",
        "query_toks": [
            "SELECT",
            "document_type_description",
            "FROM",
            "Ref_document_types",
            "WHERE",
            "document_type_name",
            "=",
            "``",
            "Film",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_description",
            "from",
            "ref_document_types",
            "where",
            "document_type_name",
            "=",
            "value"
        ],
        "question": "What is the document type description for document type named Film?",
        "question_toks": [
            "What",
            "is",
            "the",
            "document",
            "type",
            "description",
            "for",
            "document",
            "type",
            "named",
            "Film",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Film\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_type_description FROM Ref_document_types WHERE document_type_name  =  \"Film\"",
        "query_toks": [
            "SELECT",
            "document_type_description",
            "FROM",
            "Ref_document_types",
            "WHERE",
            "document_type_name",
            "=",
            "``",
            "Film",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "document_type_description",
            "from",
            "ref_document_types",
            "where",
            "document_type_name",
            "=",
            "value"
        ],
        "question": "Return the description of the document type name 'Film'.",
        "question_toks": [
            "Return",
            "the",
            "description",
            "of",
            "the",
            "document",
            "type",
            "name",
            "'Film",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Film\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.document_type_name ,  T1.document_type_description ,  T2.Document_date FROM Ref_document_types AS T1 JOIN Documents AS T2 ON T1.document_type_code  =  T2.document_type_code",
        "query_toks": [
            "SELECT",
            "T1.document_type_name",
            ",",
            "T1.document_type_description",
            ",",
            "T2.Document_date",
            "FROM",
            "Ref_document_types",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.document_type_code",
            "=",
            "T2.document_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_type_name",
            ",",
            "t1",
            ".",
            "document_type_description",
            ",",
            "t2",
            ".",
            "document_date",
            "from",
            "ref_document_types",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_type_code",
            "=",
            "t2",
            ".",
            "document_type_code"
        ],
        "question": "What is the document type name and the document type description and creation date for all the documents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "document",
            "type",
            "name",
            "and",
            "the",
            "document",
            "type",
            "description",
            "and",
            "creation",
            "date",
            "for",
            "all",
            "the",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.document_type_name ,  T1.document_type_description ,  T2.Document_date FROM Ref_document_types AS T1 JOIN Documents AS T2 ON T1.document_type_code  =  T2.document_type_code",
        "query_toks": [
            "SELECT",
            "T1.document_type_name",
            ",",
            "T1.document_type_description",
            ",",
            "T2.Document_date",
            "FROM",
            "Ref_document_types",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.document_type_code",
            "=",
            "T2.document_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_type_name",
            ",",
            "t1",
            ".",
            "document_type_description",
            ",",
            "t2",
            ".",
            "document_date",
            "from",
            "ref_document_types",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_type_code",
            "=",
            "t2",
            ".",
            "document_type_code"
        ],
        "question": "Return the type name, type description, and date of creation for each document.",
        "question_toks": [
            "Return",
            "the",
            "type",
            "name",
            ",",
            "type",
            "description",
            ",",
            "and",
            "date",
            "of",
            "creation",
            "for",
            "each",
            "document",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Projects",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Projects"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "projects"
        ],
        "question": "Show the number of projects.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "projects",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Projects",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Projects"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "projects"
        ],
        "question": "How many projects are there?",
        "question_toks": [
            "How",
            "many",
            "projects",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT project_id ,  project_details FROM Projects",
        "query_toks": [
            "SELECT",
            "project_id",
            ",",
            "project_details",
            "FROM",
            "Projects"
        ],
        "query_toks_no_value": [
            "select",
            "project_id",
            ",",
            "project_details",
            "from",
            "projects"
        ],
        "question": "List ids and details for all projects.",
        "question_toks": [
            "List",
            "ids",
            "and",
            "details",
            "for",
            "all",
            "projects",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT project_id ,  project_details FROM Projects",
        "query_toks": [
            "SELECT",
            "project_id",
            ",",
            "project_details",
            "FROM",
            "Projects"
        ],
        "query_toks_no_value": [
            "select",
            "project_id",
            ",",
            "project_details",
            "from",
            "projects"
        ],
        "question": "What are the ids and details for each project?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "details",
            "for",
            "each",
            "project",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.project_id ,  T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "T1.project_id",
            ",",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.project_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_id",
            ",",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "project_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What is the project id and detail for the project with at least two documents?",
        "question_toks": [
            "What",
            "is",
            "the",
            "project",
            "id",
            "and",
            "detail",
            "for",
            "the",
            "project",
            "with",
            "at",
            "least",
            "two",
            "documents",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.project_id ,  T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id HAVING count(*)  >  2",
        "query_toks": [
            "SELECT",
            "T1.project_id",
            ",",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "GROUP",
            "BY",
            "T1.project_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_id",
            ",",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "group",
            "by",
            "t1",
            ".",
            "project_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Return the ids and details corresponding to projects for which there are more than two documents.",
        "question_toks": [
            "Return",
            "the",
            "ids",
            "and",
            "details",
            "corresponding",
            "to",
            "projects",
            "for",
            "which",
            "there",
            "are",
            "more",
            "than",
            "two",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id  =  T2.project_id WHERE T2.document_name  =  \"King Book\"",
        "query_toks": [
            "SELECT",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.document_name",
            "=",
            "``",
            "King",
            "Book",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "What is the project detail for the project with document \"King Book\"?",
        "question_toks": [
            "What",
            "is",
            "the",
            "project",
            "detail",
            "for",
            "the",
            "project",
            "with",
            "document",
            "``",
            "King",
            "Book",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"King Book\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id  =  T2.project_id WHERE T2.document_name  =  \"King Book\"",
        "query_toks": [
            "SELECT",
            "T1.project_details",
            "FROM",
            "Projects",
            "AS",
            "T1",
            "JOIN",
            "Documents",
            "AS",
            "T2",
            "ON",
            "T1.project_id",
            "=",
            "T2.project_id",
            "WHERE",
            "T2.document_name",
            "=",
            "``",
            "King",
            "Book",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "project_details",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "documents",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project_id",
            "=",
            "t2",
            ".",
            "project_id",
            "where",
            "t2",
            ".",
            "document_name",
            "=",
            "value"
        ],
        "question": "Give the details of the project with the document name 'King Book'.",
        "question_toks": [
            "Give",
            "the",
            "details",
            "of",
            "the",
            "project",
            "with",
            "the",
            "document",
            "name",
            "'King",
            "Book",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"King Book\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Ref_budget_codes",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_budget_codes"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_budget_codes"
        ],
        "question": "How many budget types do we have?",
        "question_toks": [
            "How",
            "many",
            "budget",
            "types",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Ref_budget_codes",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Ref_budget_codes"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "ref_budget_codes"
        ],
        "question": "Count the number of budget codes.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "budget",
            "codes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT budget_type_code ,  budget_type_description FROM Ref_budget_codes",
        "query_toks": [
            "SELECT",
            "budget_type_code",
            ",",
            "budget_type_description",
            "FROM",
            "Ref_budget_codes"
        ],
        "query_toks_no_value": [
            "select",
            "budget_type_code",
            ",",
            "budget_type_description",
            "from",
            "ref_budget_codes"
        ],
        "question": "List all budget type codes and descriptions.",
        "question_toks": [
            "List",
            "all",
            "budget",
            "type",
            "codes",
            "and",
            "descriptions",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT budget_type_code ,  budget_type_description FROM Ref_budget_codes",
        "query_toks": [
            "SELECT",
            "budget_type_code",
            ",",
            "budget_type_description",
            "FROM",
            "Ref_budget_codes"
        ],
        "query_toks_no_value": [
            "select",
            "budget_type_code",
            ",",
            "budget_type_description",
            "from",
            "ref_budget_codes"
        ],
        "question": "What are the type codes and descriptions of each budget type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "type",
            "codes",
            "and",
            "descriptions",
            "of",
            "each",
            "budget",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT budget_type_description FROM Ref_budget_codes WHERE budget_type_code  =  \"ORG\"",
        "query_toks": [
            "SELECT",
            "budget_type_description",
            "FROM",
            "Ref_budget_codes",
            "WHERE",
            "budget_type_code",
            "=",
            "``",
            "ORG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "budget_type_description",
            "from",
            "ref_budget_codes",
            "where",
            "budget_type_code",
            "=",
            "value"
        ],
        "question": "What is the description for the budget type with code ORG?",
        "question_toks": [
            "What",
            "is",
            "the",
            "description",
            "for",
            "the",
            "budget",
            "type",
            "with",
            "code",
            "ORG",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ORG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT budget_type_description FROM Ref_budget_codes WHERE budget_type_code  =  \"ORG\"",
        "query_toks": [
            "SELECT",
            "budget_type_description",
            "FROM",
            "Ref_budget_codes",
            "WHERE",
            "budget_type_code",
            "=",
            "``",
            "ORG",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "budget_type_description",
            "from",
            "ref_budget_codes",
            "where",
            "budget_type_code",
            "=",
            "value"
        ],
        "question": "Return the description of the budget type that has the code ORG.",
        "question_toks": [
            "Return",
            "the",
            "description",
            "of",
            "the",
            "budget",
            "type",
            "that",
            "has",
            "the",
            "code",
            "ORG",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ORG\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Documents_with_expenses",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents_with_expenses"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents_with_expenses"
        ],
        "question": "How many documents have expenses?",
        "question_toks": [
            "How",
            "many",
            "documents",
            "have",
            "expenses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Documents_with_expenses",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents_with_expenses"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents_with_expenses"
        ],
        "question": "Count the number of documents with expenses.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "documents",
            "with",
            "expenses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_id FROM Documents_with_expenses WHERE budget_type_code  =  'SF'",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents_with_expenses",
            "WHERE",
            "budget_type_code",
            "=",
            "'SF",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents_with_expenses",
            "where",
            "budget_type_code",
            "=",
            "value"
        ],
        "question": "What are the document ids for the budget type code 'SF'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "document",
            "ids",
            "for",
            "the",
            "budget",
            "type",
            "code",
            "'SF",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"SF\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_id FROM Documents_with_expenses WHERE budget_type_code  =  'SF'",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents_with_expenses",
            "WHERE",
            "budget_type_code",
            "=",
            "'SF",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents_with_expenses",
            "where",
            "budget_type_code",
            "=",
            "value"
        ],
        "question": "Give the ids of documents with expenses that have the budget code 'SF'.",
        "question_toks": [
            "Give",
            "the",
            "ids",
            "of",
            "documents",
            "with",
            "expenses",
            "that",
            "have",
            "the",
            "budget",
            "code",
            "'SF",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"SF\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T2.budget_type_code ,  T2.budget_type_description ,  T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_budget_codes AS T2 ON T1.budget_type_code  =  T2.budget_type_code",
        "query_toks": [
            "SELECT",
            "T2.budget_type_code",
            ",",
            "T2.budget_type_description",
            ",",
            "T1.document_id",
            "FROM",
            "Documents_with_expenses",
            "AS",
            "T1",
            "JOIN",
            "Ref_budget_codes",
            "AS",
            "T2",
            "ON",
            "T1.budget_type_code",
            "=",
            "T2.budget_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "budget_type_code",
            ",",
            "t2",
            ".",
            "budget_type_description",
            ",",
            "t1",
            ".",
            "document_id",
            "from",
            "documents_with_expenses",
            "as",
            "t1",
            "join",
            "ref_budget_codes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "budget_type_code",
            "=",
            "t2",
            ".",
            "budget_type_code"
        ],
        "question": "Show the budget type code and description and the corresponding document id.",
        "question_toks": [
            "Show",
            "the",
            "budget",
            "type",
            "code",
            "and",
            "description",
            "and",
            "the",
            "corresponding",
            "document",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T2.budget_type_code ,  T2.budget_type_description ,  T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_budget_codes AS T2 ON T1.budget_type_code  =  T2.budget_type_code",
        "query_toks": [
            "SELECT",
            "T2.budget_type_code",
            ",",
            "T2.budget_type_description",
            ",",
            "T1.document_id",
            "FROM",
            "Documents_with_expenses",
            "AS",
            "T1",
            "JOIN",
            "Ref_budget_codes",
            "AS",
            "T2",
            "ON",
            "T1.budget_type_code",
            "=",
            "T2.budget_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "budget_type_code",
            ",",
            "t2",
            ".",
            "budget_type_description",
            ",",
            "t1",
            ".",
            "document_id",
            "from",
            "documents_with_expenses",
            "as",
            "t1",
            "join",
            "ref_budget_codes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "budget_type_code",
            "=",
            "t2",
            ".",
            "budget_type_code"
        ],
        "question": "Return the budget type codes, budget type descriptions and document ids for documents with expenses.",
        "question_toks": [
            "Return",
            "the",
            "budget",
            "type",
            "codes",
            ",",
            "budget",
            "type",
            "descriptions",
            "and",
            "document",
            "ids",
            "for",
            "documents",
            "with",
            "expenses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code  =  T2.Budget_Type_code WHERE T2.budget_type_Description  =  \"Government\"",
        "query_toks": [
            "SELECT",
            "T1.document_id",
            "FROM",
            "Documents_with_expenses",
            "AS",
            "T1",
            "JOIN",
            "Ref_Budget_Codes",
            "AS",
            "T2",
            "ON",
            "T1.Budget_Type_code",
            "=",
            "T2.Budget_Type_code",
            "WHERE",
            "T2.budget_type_Description",
            "=",
            "``",
            "Government",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_id",
            "from",
            "documents_with_expenses",
            "as",
            "t1",
            "join",
            "ref_budget_codes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "budget_type_code",
            "=",
            "t2",
            ".",
            "budget_type_code",
            "where",
            "t2",
            ".",
            "budget_type_description",
            "=",
            "value"
        ],
        "question": "Show ids for all documents with budget types described as 'Government'.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "documents",
            "with",
            "budget",
            "types",
            "described",
            "as",
            "'Government",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Government\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code  =  T2.Budget_Type_code WHERE T2.budget_type_Description  =  \"Government\"",
        "query_toks": [
            "SELECT",
            "T1.document_id",
            "FROM",
            "Documents_with_expenses",
            "AS",
            "T1",
            "JOIN",
            "Ref_Budget_Codes",
            "AS",
            "T2",
            "ON",
            "T1.Budget_Type_code",
            "=",
            "T2.Budget_Type_code",
            "WHERE",
            "T2.budget_type_Description",
            "=",
            "``",
            "Government",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_id",
            "from",
            "documents_with_expenses",
            "as",
            "t1",
            "join",
            "ref_budget_codes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "budget_type_code",
            "=",
            "t2",
            ".",
            "budget_type_code",
            "where",
            "t2",
            ".",
            "budget_type_description",
            "=",
            "value"
        ],
        "question": "Give the ids for documents that have the budget description 'Government'.",
        "question_toks": [
            "Give",
            "the",
            "ids",
            "for",
            "documents",
            "that",
            "have",
            "the",
            "budget",
            "description",
            "'Government",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Government\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT budget_type_code ,  count(*) FROM Documents_with_expenses GROUP BY budget_type_code",
        "query_toks": [
            "SELECT",
            "budget_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents_with_expenses",
            "GROUP",
            "BY",
            "budget_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "budget_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents_with_expenses",
            "group",
            "by",
            "budget_type_code"
        ],
        "question": "Show budget type codes and the number of documents in each budget type.",
        "question_toks": [
            "Show",
            "budget",
            "type",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "documents",
            "in",
            "each",
            "budget",
            "type",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT budget_type_code ,  count(*) FROM Documents_with_expenses GROUP BY budget_type_code",
        "query_toks": [
            "SELECT",
            "budget_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents_with_expenses",
            "GROUP",
            "BY",
            "budget_type_code"
        ],
        "query_toks_no_value": [
            "select",
            "budget_type_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents_with_expenses",
            "group",
            "by",
            "budget_type_code"
        ],
        "question": "What are the different budget type codes, and how many documents are there for each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "different",
            "budget",
            "type",
            "codes",
            ",",
            "and",
            "how",
            "many",
            "documents",
            "are",
            "there",
            "for",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT budget_type_code FROM Documents_with_expenses GROUP BY budget_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "budget_type_code",
            "FROM",
            "Documents_with_expenses",
            "GROUP",
            "BY",
            "budget_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "budget_type_code",
            "from",
            "documents_with_expenses",
            "group",
            "by",
            "budget_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the budget type code with most number of documents.",
        "question_toks": [
            "What",
            "is",
            "the",
            "budget",
            "type",
            "code",
            "with",
            "most",
            "number",
            "of",
            "documents",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT budget_type_code FROM Documents_with_expenses GROUP BY budget_type_code ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "budget_type_code",
            "FROM",
            "Documents_with_expenses",
            "GROUP",
            "BY",
            "budget_type_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "budget_type_code",
            "from",
            "documents_with_expenses",
            "group",
            "by",
            "budget_type_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the budget type code that is most common among documents with expenses.",
        "question_toks": [
            "Give",
            "the",
            "budget",
            "type",
            "code",
            "that",
            "is",
            "most",
            "common",
            "among",
            "documents",
            "with",
            "expenses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_id FROM Documents EXCEPT SELECT document_id FROM Documents_with_expenses",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "EXCEPT",
            "SELECT",
            "document_id",
            "FROM",
            "Documents_with_expenses"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents",
            "except",
            "select",
            "document_id",
            "from",
            "documents_with_expenses"
        ],
        "question": "What are the ids of documents which don't have expense budgets?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "documents",
            "which",
            "do",
            "n't",
            "have",
            "expense",
            "budgets",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_id FROM Documents EXCEPT SELECT document_id FROM Documents_with_expenses",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "EXCEPT",
            "SELECT",
            "document_id",
            "FROM",
            "Documents_with_expenses"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents",
            "except",
            "select",
            "document_id",
            "from",
            "documents_with_expenses"
        ],
        "question": "Return the ids of documents that do not have expenses.",
        "question_toks": [
            "Return",
            "the",
            "ids",
            "of",
            "documents",
            "that",
            "do",
            "not",
            "have",
            "expenses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_id FROM Documents WHERE document_type_code  =  \"CV\" EXCEPT SELECT document_id FROM Documents_with_expenses",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "CV",
            "''",
            "EXCEPT",
            "SELECT",
            "document_id",
            "FROM",
            "Documents_with_expenses"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents",
            "where",
            "document_type_code",
            "=",
            "value",
            "except",
            "select",
            "document_id",
            "from",
            "documents_with_expenses"
        ],
        "question": "Show ids for all documents in type CV without expense budgets.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "documents",
            "in",
            "type",
            "CV",
            "without",
            "expense",
            "budgets",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT document_id FROM Documents WHERE document_type_code  =  \"CV\" EXCEPT SELECT document_id FROM Documents_with_expenses",
        "query_toks": [
            "SELECT",
            "document_id",
            "FROM",
            "Documents",
            "WHERE",
            "document_type_code",
            "=",
            "``",
            "CV",
            "''",
            "EXCEPT",
            "SELECT",
            "document_id",
            "FROM",
            "Documents_with_expenses"
        ],
        "query_toks_no_value": [
            "select",
            "document_id",
            "from",
            "documents",
            "where",
            "document_type_code",
            "=",
            "value",
            "except",
            "select",
            "document_id",
            "from",
            "documents_with_expenses"
        ],
        "question": "What are the ids of documents with the type code CV that do not have expenses.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "documents",
            "with",
            "the",
            "type",
            "code",
            "CV",
            "that",
            "do",
            "not",
            "have",
            "expenses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"CV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    17,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.document_id FROM Documents AS T1 JOIN Documents_with_expenses AS T2 ON T1.document_id  =  T2.document_id WHERE T1.document_name LIKE '%s%'",
        "query_toks": [
            "SELECT",
            "T1.document_id",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "Documents_with_expenses",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T1.document_name",
            "LIKE",
            "'",
            "%",
            "s",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_id",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "documents_with_expenses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t1",
            ".",
            "document_name",
            "like",
            "value"
        ],
        "question": "What are the ids of documents with letter 's' in the name with any expense budgets.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "documents",
            "with",
            "letter",
            "'s",
            "'",
            "in",
            "the",
            "name",
            "with",
            "any",
            "expense",
            "budgets",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"%s%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.document_id FROM Documents AS T1 JOIN Documents_with_expenses AS T2 ON T1.document_id  =  T2.document_id WHERE T1.document_name LIKE '%s%'",
        "query_toks": [
            "SELECT",
            "T1.document_id",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "Documents_with_expenses",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T1.document_name",
            "LIKE",
            "'",
            "%",
            "s",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_id",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "documents_with_expenses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t1",
            ".",
            "document_name",
            "like",
            "value"
        ],
        "question": "Give the ids of documents that have expenses and contain the letter s in their names.",
        "question_toks": [
            "Give",
            "the",
            "ids",
            "of",
            "documents",
            "that",
            "have",
            "expenses",
            "and",
            "contain",
            "the",
            "letter",
            "s",
            "in",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"%s%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Documents WHERE document_id NOT IN ( SELECT document_id FROM Documents_with_expenses )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "WHERE",
            "document_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "document_id",
            "FROM",
            "Documents_with_expenses",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "where",
            "document_id",
            "not",
            "in",
            "(",
            "select",
            "document_id",
            "from",
            "documents_with_expenses",
            ")"
        ],
        "question": "How many documents do not have any expense?",
        "question_toks": [
            "How",
            "many",
            "documents",
            "do",
            "not",
            "have",
            "any",
            "expense",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT count(*) FROM Documents WHERE document_id NOT IN ( SELECT document_id FROM Documents_with_expenses )",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Documents",
            "WHERE",
            "document_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "document_id",
            "FROM",
            "Documents_with_expenses",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "documents",
            "where",
            "document_id",
            "not",
            "in",
            "(",
            "select",
            "document_id",
            "from",
            "documents_with_expenses",
            ")"
        ],
        "question": "Count the number of documents that do not have expenses.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "documents",
            "that",
            "do",
            "not",
            "have",
            "expenses",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.document_date FROM Documents AS T1 JOIN Documents_with_Expenses AS T2 ON T1.document_id  =  T2.document_id WHERE T2.budget_type_code  =  'GV' INTERSECT SELECT T1.document_date FROM Documents AS T1 JOIN Documents_with_Expenses AS T2 ON T1.document_id  =  T2.document_id WHERE T2.budget_type_code  =  'SF'",
        "query_toks": [
            "SELECT",
            "T1.document_date",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "Documents_with_Expenses",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T2.budget_type_code",
            "=",
            "'GV",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.document_date",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "Documents_with_Expenses",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T2.budget_type_code",
            "=",
            "'SF",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "documents_with_expenses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t2",
            ".",
            "budget_type_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "document_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "documents_with_expenses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t2",
            ".",
            "budget_type_code",
            "=",
            "value"
        ],
        "question": "What are the dates for the documents with both 'GV' type and 'SF' type expenses?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "for",
            "the",
            "documents",
            "with",
            "both",
            "'GV",
            "'",
            "type",
            "and",
            "'SF",
            "'",
            "type",
            "expenses",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"GV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"SF\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT T1.document_date FROM Documents AS T1 JOIN Documents_with_Expenses AS T2 ON T1.document_id  =  T2.document_id WHERE T2.budget_type_code  =  'GV' INTERSECT SELECT T1.document_date FROM Documents AS T1 JOIN Documents_with_Expenses AS T2 ON T1.document_id  =  T2.document_id WHERE T2.budget_type_code  =  'SF'",
        "query_toks": [
            "SELECT",
            "T1.document_date",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "Documents_with_Expenses",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T2.budget_type_code",
            "=",
            "'GV",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.document_date",
            "FROM",
            "Documents",
            "AS",
            "T1",
            "JOIN",
            "Documents_with_Expenses",
            "AS",
            "T2",
            "ON",
            "T1.document_id",
            "=",
            "T2.document_id",
            "WHERE",
            "T2.budget_type_code",
            "=",
            "'SF",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "document_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "documents_with_expenses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t2",
            ".",
            "budget_type_code",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "document_date",
            "from",
            "documents",
            "as",
            "t1",
            "join",
            "documents_with_expenses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "document_id",
            "=",
            "t2",
            ".",
            "document_id",
            "where",
            "t2",
            ".",
            "budget_type_code",
            "=",
            "value"
        ],
        "question": "Give the dates of creation for documents that have both budget type codes 'GV' and 'SF'.",
        "question_toks": [
            "Give",
            "the",
            "dates",
            "of",
            "creation",
            "for",
            "documents",
            "that",
            "have",
            "both",
            "budget",
            "type",
            "codes",
            "'GV",
            "'",
            "and",
            "'SF",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"GV\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ],
                        [
                            "table_unit",
                            5
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    8,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        "\"SF\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT max(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE \"%5%\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Account_details",
            ")",
            "FROM",
            "Accounts",
            "UNION",
            "SELECT",
            "Account_details",
            "FROM",
            "Accounts",
            "WHERE",
            "Account_details",
            "LIKE",
            "``",
            "%",
            "5",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "account_details",
            ")",
            "from",
            "accounts",
            "union",
            "select",
            "account_details",
            "from",
            "accounts",
            "where",
            "account_details",
            "like",
            "value"
        ],
        "question": "What are the account details with the largest value or with value having char '5' in it?",
        "question_toks": [
            "What",
            "are",
            "the",
            "account",
            "details",
            "with",
            "the",
            "largest",
            "value",
            "or",
            "with",
            "value",
            "having",
            "char",
            "'5",
            "'",
            "in",
            "it",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        9,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"%5%\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "cre_Docs_and_Epenses",
        "query": "SELECT max(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE \"%5%\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Account_details",
            ")",
            "FROM",
            "Accounts",
            "UNION",
            "SELECT",
            "Account_details",
            "FROM",
            "Accounts",
            "WHERE",
            "Account_details",
            "LIKE",
            "``",
            "%",
            "5",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "account_details",
            ")",
            "from",
            "accounts",
            "union",
            "select",
            "account_details",
            "from",
            "accounts",
            "where",
            "account_details",
            "like",
            "value"
        ],
        "question": "Return the account details with the greatest value, as well as those that include the character 5.",
        "question_toks": [
            "Return",
            "the",
            "account",
            "details",
            "with",
            "the",
            "greatest",
            "value",
            ",",
            "as",
            "well",
            "as",
            "those",
            "that",
            "include",
            "the",
            "character",
            "5",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            6
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    22,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        9,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        "\"%5%\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) FROM scientists",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "scientists"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "scientists"
        ],
        "question": "Find the total number of scientists.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "scientists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) FROM scientists",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "scientists"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "scientists"
        ],
        "question": "How many scientists are there?",
        "question_toks": [
            "How",
            "many",
            "scientists",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT sum(hours) FROM projects",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "hours",
            ")",
            "FROM",
            "projects"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "hours",
            ")",
            "from",
            "projects"
        ],
        "question": "Find the total hours of all projects.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "hours",
            "of",
            "all",
            "projects",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT sum(hours) FROM projects",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "hours",
            ")",
            "FROM",
            "projects"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "hours",
            ")",
            "from",
            "projects"
        ],
        "question": "What is the total number of hours for all projects?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "hours",
            "for",
            "all",
            "projects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(DISTINCT scientist) FROM assignedto",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "scientist",
            ")",
            "FROM",
            "assignedto"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "scientist",
            ")",
            "from",
            "assignedto"
        ],
        "question": "How many different scientists are assigned to any project?",
        "question_toks": [
            "How",
            "many",
            "different",
            "scientists",
            "are",
            "assigned",
            "to",
            "any",
            "project",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(DISTINCT scientist) FROM assignedto",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "scientist",
            ")",
            "FROM",
            "assignedto"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "scientist",
            ")",
            "from",
            "assignedto"
        ],
        "question": "Count the number of different scientists assigned to any project.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "scientists",
            "assigned",
            "to",
            "any",
            "project",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                6,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(DISTINCT name) FROM projects",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "projects"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "projects"
        ],
        "question": "Find the number of distinct projects.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "distinct",
            "projects",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(DISTINCT name) FROM projects",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "projects"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "projects"
        ],
        "question": "How many different projects are there?",
        "question_toks": [
            "How",
            "many",
            "different",
            "projects",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                4,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT avg(hours) FROM projects",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "hours",
            ")",
            "FROM",
            "projects"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "hours",
            ")",
            "from",
            "projects"
        ],
        "question": "Find the average hours of all projects.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "hours",
            "of",
            "all",
            "projects",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT avg(hours) FROM projects",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "hours",
            ")",
            "FROM",
            "projects"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "hours",
            ")",
            "from",
            "projects"
        ],
        "question": "What is the average hours across all projects?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "hours",
            "across",
            "all",
            "projects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM projects ORDER BY hours DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "projects",
            "ORDER",
            "BY",
            "hours",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "projects",
            "order",
            "by",
            "hours",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of project that continues for the longest time.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "project",
            "that",
            "continues",
            "for",
            "the",
            "longest",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM projects ORDER BY hours DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "projects",
            "ORDER",
            "BY",
            "hours",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "projects",
            "order",
            "by",
            "hours",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the project with the most hours?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "project",
            "with",
            "the",
            "most",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM projects WHERE hours  >  (SELECT avg(hours) FROM projects)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "projects",
            "WHERE",
            "hours",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "hours",
            ")",
            "FROM",
            "projects",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "projects",
            "where",
            "hours",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "hours",
            ")",
            "from",
            "projects",
            ")"
        ],
        "question": "List the name of all projects that are operated longer than the average working hours of all projects.",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "all",
            "projects",
            "that",
            "are",
            "operated",
            "longer",
            "than",
            "the",
            "average",
            "working",
            "hours",
            "of",
            "all",
            "projects",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM projects WHERE hours  >  (SELECT avg(hours) FROM projects)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "projects",
            "WHERE",
            "hours",
            ">",
            "(",
            "SELECT",
            "avg",
            "(",
            "hours",
            ")",
            "FROM",
            "projects",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "projects",
            "where",
            "hours",
            ">",
            "(",
            "select",
            "avg",
            "(",
            "hours",
            ")",
            "from",
            "projects",
            ")"
        ],
        "question": "What are the names of projects that have taken longer than the average number of hours for all projects?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "projects",
            "that",
            "have",
            "taken",
            "longer",
            "than",
            "the",
            "average",
            "number",
            "of",
            "hours",
            "for",
            "all",
            "projects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    5,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T1.name ,  T1.hours FROM projects AS T1 JOIN assignedto AS T2 ON T1.code  =  T2.project GROUP BY T2.project ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.hours",
            "FROM",
            "projects",
            "AS",
            "T1",
            "JOIN",
            "assignedto",
            "AS",
            "T2",
            "ON",
            "T1.code",
            "=",
            "T2.project",
            "GROUP",
            "BY",
            "T2.project",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "hours",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "project",
            "group",
            "by",
            "t2",
            ".",
            "project",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and hours of project that has the most number of scientists.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "hours",
            "of",
            "project",
            "that",
            "has",
            "the",
            "most",
            "number",
            "of",
            "scientists",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T1.name ,  T1.hours FROM projects AS T1 JOIN assignedto AS T2 ON T1.code  =  T2.project GROUP BY T2.project ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.hours",
            "FROM",
            "projects",
            "AS",
            "T1",
            "JOIN",
            "assignedto",
            "AS",
            "T2",
            "ON",
            "T1.code",
            "=",
            "T2.project",
            "GROUP",
            "BY",
            "T2.project",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "hours",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "project",
            "group",
            "by",
            "t2",
            ".",
            "project",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and hours for the project which has the most scientists assigned to it?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "hours",
            "for",
            "the",
            "project",
            "which",
            "has",
            "the",
            "most",
            "scientists",
            "assigned",
            "to",
            "it",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T3.name LIKE '%Smith%'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T3.name",
            "LIKE",
            "'",
            "%",
            "Smith",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t3",
            ".",
            "name",
            "like",
            "value"
        ],
        "question": "Find the name of the project for which a scientist whose name contains \u2018Smith\u2019 is assigned to.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "project",
            "for",
            "which",
            "a",
            "scientist",
            "whose",
            "name",
            "contains",
            "\u2018Smith\u2019",
            "is",
            "assigned",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Smith%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T3.name LIKE '%Smith%'",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T3.name",
            "LIKE",
            "'",
            "%",
            "Smith",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t3",
            ".",
            "name",
            "like",
            "value"
        ],
        "question": "What is the name of the project that has a scientist assigned to it whose name contains 'Smith'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "project",
            "that",
            "has",
            "a",
            "scientist",
            "assigned",
            "to",
            "it",
            "whose",
            "name",
            "contains",
            "'Smith",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"%Smith%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT sum(T2.hours) FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T3.name  =  'Michael Rogers' OR T3.name  =  'Carol Smith'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.hours",
            ")",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T3.name",
            "=",
            "'Michael",
            "Rogers",
            "'",
            "OR",
            "T3.name",
            "=",
            "'Carol",
            "Smith",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "hours",
            ")",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to.",
        "question_toks": [
            "Find",
            "the",
            "total",
            "hours",
            "of",
            "the",
            "projects",
            "that",
            "scientists",
            "named",
            "Michael",
            "Rogers",
            "or",
            "Carol",
            "Smith",
            "are",
            "assigned",
            "to",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Michael Rogers\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Carol Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT sum(T2.hours) FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T3.name  =  'Michael Rogers' OR T3.name  =  'Carol Smith'",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T2.hours",
            ")",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T3.name",
            "=",
            "'Michael",
            "Rogers",
            "'",
            "OR",
            "T3.name",
            "=",
            "'Carol",
            "Smith",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "hours",
            ")",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the sum of hours for projects that scientists with the name Michael Rogers or Carol Smith are assigned to?",
        "question_toks": [
            "What",
            "is",
            "the",
            "sum",
            "of",
            "hours",
            "for",
            "projects",
            "that",
            "scientists",
            "with",
            "the",
            "name",
            "Michael",
            "Rogers",
            "or",
            "Carol",
            "Smith",
            "are",
            "assigned",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Michael Rogers\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Carol Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM projects WHERE hours BETWEEN 100 AND 300",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "projects",
            "WHERE",
            "hours",
            "BETWEEN",
            "100",
            "AND",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "projects",
            "where",
            "hours",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the name of projects that require between 100 and 300 hours of work.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "projects",
            "that",
            "require",
            "between",
            "100",
            "and",
            "300",
            "hours",
            "of",
            "work",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    100.0,
                    300.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM projects WHERE hours BETWEEN 100 AND 300",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "projects",
            "WHERE",
            "hours",
            "BETWEEN",
            "100",
            "AND",
            "300"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "projects",
            "where",
            "hours",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names of projects that require between 100 and 300 hours?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "projects",
            "that",
            "require",
            "between",
            "100",
            "and",
            "300",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    100.0,
                    300.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.name  =  'Matter of Time' INTERSECT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.name  =  'A Puzzling Parallax'",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.name",
            "=",
            "'Matter",
            "of",
            "Time",
            "'",
            "INTERSECT",
            "SELECT",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.name",
            "=",
            "'A",
            "Puzzling",
            "Parallax",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "scientist",
            "who",
            "worked",
            "on",
            "both",
            "a",
            "project",
            "named",
            "'Matter",
            "of",
            "Time",
            "'",
            "and",
            "a",
            "project",
            "named",
            "'A",
            "Puzzling",
            "Parallax",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Matter of Time\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"A Puzzling Parallax\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.name  =  'Matter of Time' INTERSECT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.name  =  'A Puzzling Parallax'",
        "query_toks": [
            "SELECT",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.name",
            "=",
            "'Matter",
            "of",
            "Time",
            "'",
            "INTERSECT",
            "SELECT",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.name",
            "=",
            "'A",
            "Puzzling",
            "Parallax",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of any scientists who worked on projects named 'Matter of Time' and 'A Puzzling Pattern'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "any",
            "scientists",
            "who",
            "worked",
            "on",
            "projects",
            "named",
            "'Matter",
            "of",
            "Time",
            "'",
            "and",
            "'A",
            "Puzzling",
            "Pattern",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Matter of Time\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        "\"A Puzzling Parallax\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM scientists ORDER BY name",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "scientists",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "scientists",
            "order",
            "by",
            "name"
        ],
        "question": "List the names of all scientists sorted in alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "scientists",
            "sorted",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM scientists ORDER BY name",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "scientists",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "scientists",
            "order",
            "by",
            "name"
        ],
        "question": "What are the names of all the scientists in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "the",
            "scientists",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) ,  T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code  =  T2.project GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "projects",
            "AS",
            "T1",
            "JOIN",
            "assignedto",
            "AS",
            "T2",
            "ON",
            "T1.code",
            "=",
            "T2.project",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "project",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "Find the number of scientists involved for each project name.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "scientists",
            "involved",
            "for",
            "each",
            "project",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) ,  T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code  =  T2.project GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "projects",
            "AS",
            "T1",
            "JOIN",
            "assignedto",
            "AS",
            "T2",
            "ON",
            "T1.code",
            "=",
            "T2.project",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "project",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "What are the naems of all the projects, and how many scientists were assigned to each of them?",
        "question_toks": [
            "What",
            "are",
            "the",
            "naems",
            "of",
            "all",
            "the",
            "projects",
            ",",
            "and",
            "how",
            "many",
            "scientists",
            "were",
            "assigned",
            "to",
            "each",
            "of",
            "them",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) ,  T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code  =  T2.project WHERE T1.hours  >  300 GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "projects",
            "AS",
            "T1",
            "JOIN",
            "assignedto",
            "AS",
            "T2",
            "ON",
            "T1.code",
            "=",
            "T2.project",
            "WHERE",
            "T1.hours",
            ">",
            "300",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "project",
            "where",
            "t1",
            ".",
            "hours",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "Find the number of scientists involved for the projects that require more than 300 hours.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "scientists",
            "involved",
            "for",
            "the",
            "projects",
            "that",
            "require",
            "more",
            "than",
            "300",
            "hours",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) ,  T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code  =  T2.project WHERE T1.hours  >  300 GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "projects",
            "AS",
            "T1",
            "JOIN",
            "assignedto",
            "AS",
            "T2",
            "ON",
            "T1.code",
            "=",
            "T2.project",
            "WHERE",
            "T1.hours",
            ">",
            "300",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "projects",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "code",
            "=",
            "t2",
            ".",
            "project",
            "where",
            "t1",
            ".",
            "hours",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "What are the names of projects that require more than 300 hours, and how many scientists are assigned to each?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "projects",
            "that",
            "require",
            "more",
            "than",
            "300",
            "hours",
            ",",
            "and",
            "how",
            "many",
            "scientists",
            "are",
            "assigned",
            "to",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    300.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) ,  T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn  =  T2.scientist GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "scientists",
            "AS",
            "T1",
            "JOIN",
            "assignedto",
            "AS",
            "T2",
            "ON",
            "T1.ssn",
            "=",
            "T2.scientist",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "scientists",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ssn",
            "=",
            "t2",
            ".",
            "scientist",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "Find the number of projects which each scientist is working on and scientist's name.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "projects",
            "which",
            "each",
            "scientist",
            "is",
            "working",
            "on",
            "and",
            "scientist",
            "'s",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) ,  T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn  =  T2.scientist GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "scientists",
            "AS",
            "T1",
            "JOIN",
            "assignedto",
            "AS",
            "T2",
            "ON",
            "T1.ssn",
            "=",
            "T2.scientist",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "scientists",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ssn",
            "=",
            "t2",
            ".",
            "scientist",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "What are the names of the scientists, and how many projects are each of them working on?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "scientists",
            ",",
            "and",
            "how",
            "many",
            "projects",
            "are",
            "each",
            "of",
            "them",
            "working",
            "on",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T3.ssn ,  T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.hours  =  (SELECT max(hours) FROM projects)",
        "query_toks": [
            "SELECT",
            "T3.ssn",
            ",",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.hours",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "hours",
            ")",
            "FROM",
            "projects",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "ssn",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "hours",
            "=",
            "(",
            "select",
            "max",
            "(",
            "hours",
            ")",
            "from",
            "projects",
            ")"
        ],
        "question": "Find the SSN and name of scientists who are assigned to the project with the longest hours.",
        "question_toks": [
            "Find",
            "the",
            "SSN",
            "and",
            "name",
            "of",
            "scientists",
            "who",
            "are",
            "assigned",
            "to",
            "the",
            "project",
            "with",
            "the",
            "longest",
            "hours",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T3.ssn ,  T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.hours  =  (SELECT max(hours) FROM projects)",
        "query_toks": [
            "SELECT",
            "T3.ssn",
            ",",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.hours",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "hours",
            ")",
            "FROM",
            "projects",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "ssn",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "hours",
            "=",
            "(",
            "select",
            "max",
            "(",
            "hours",
            ")",
            "from",
            "projects",
            ")"
        ],
        "question": "What are the SSN and names of scientists working on the project with the most hours?",
        "question_toks": [
            "What",
            "are",
            "the",
            "SSN",
            "and",
            "names",
            "of",
            "scientists",
            "working",
            "on",
            "the",
            "project",
            "with",
            "the",
            "most",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T2.name FROM assignedto AS T1 JOIN scientists AS T2 ON T1.scientist  =  T2.ssn",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "scientists",
            "AS",
            "T2",
            "ON",
            "T1.scientist",
            "=",
            "T2.ssn"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "scientists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t2",
            ".",
            "ssn"
        ],
        "question": "Find the name of scientists who are assigned to some project.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "scientists",
            "who",
            "are",
            "assigned",
            "to",
            "some",
            "project",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T2.name FROM assignedto AS T1 JOIN scientists AS T2 ON T1.scientist  =  T2.ssn",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "scientists",
            "AS",
            "T2",
            "ON",
            "T1.scientist",
            "=",
            "T2.ssn"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "scientists",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t2",
            ".",
            "ssn"
        ],
        "question": "What are the names of scientists who are assigned to any project?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "scientists",
            "who",
            "are",
            "assigned",
            "to",
            "any",
            "project",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT Name FROM Projects WHERE Code NOT IN (SELECT Project FROM AssignedTo)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "Projects",
            "WHERE",
            "Code",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Project",
            "FROM",
            "AssignedTo",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "projects",
            "where",
            "code",
            "not",
            "in",
            "(",
            "select",
            "project",
            "from",
            "assignedto",
            ")"
        ],
        "question": "Select the project names which are not assigned yet.",
        "question_toks": [
            "Select",
            "the",
            "project",
            "names",
            "which",
            "are",
            "not",
            "assigned",
            "yet",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT Name FROM Projects WHERE Code NOT IN (SELECT Project FROM AssignedTo)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "Projects",
            "WHERE",
            "Code",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "Project",
            "FROM",
            "AssignedTo",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "projects",
            "where",
            "code",
            "not",
            "in",
            "(",
            "select",
            "project",
            "from",
            "assignedto",
            ")"
        ],
        "question": "What are the names of projects that have not been assigned?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "projects",
            "that",
            "have",
            "not",
            "been",
            "assigned",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT Name FROM scientists WHERE ssn NOT IN (SELECT scientist FROM AssignedTo)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "scientists",
            "WHERE",
            "ssn",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "scientist",
            "FROM",
            "AssignedTo",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "scientists",
            "where",
            "ssn",
            "not",
            "in",
            "(",
            "select",
            "scientist",
            "from",
            "assignedto",
            ")"
        ],
        "question": "Find the name of scientists who are not assigned to any project.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "scientists",
            "who",
            "are",
            "not",
            "assigned",
            "to",
            "any",
            "project",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT Name FROM scientists WHERE ssn NOT IN (SELECT scientist FROM AssignedTo)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "scientists",
            "WHERE",
            "ssn",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "scientist",
            "FROM",
            "AssignedTo",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "scientists",
            "where",
            "ssn",
            "not",
            "in",
            "(",
            "select",
            "scientist",
            "from",
            "assignedto",
            ")"
        ],
        "question": "What are the names of scientists who have not been assigned a project?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "scientists",
            "who",
            "have",
            "not",
            "been",
            "assigned",
            "a",
            "project",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) FROM scientists WHERE ssn NOT IN (SELECT scientist FROM AssignedTo)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "scientists",
            "WHERE",
            "ssn",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "scientist",
            "FROM",
            "AssignedTo",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "scientists",
            "where",
            "ssn",
            "not",
            "in",
            "(",
            "select",
            "scientist",
            "from",
            "assignedto",
            ")"
        ],
        "question": "Find the number of scientists who are not assigned to any project.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "scientists",
            "who",
            "are",
            "not",
            "assigned",
            "to",
            "any",
            "project",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT count(*) FROM scientists WHERE ssn NOT IN (SELECT scientist FROM AssignedTo)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "scientists",
            "WHERE",
            "ssn",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "scientist",
            "FROM",
            "AssignedTo",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "scientists",
            "where",
            "ssn",
            "not",
            "in",
            "(",
            "select",
            "scientist",
            "from",
            "assignedto",
            ")"
        ],
        "question": "How many scientists do not have any projects assigned to them?",
        "question_toks": [
            "How",
            "many",
            "scientists",
            "do",
            "not",
            "have",
            "any",
            "projects",
            "assigned",
            "to",
            "them",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM scientists EXCEPT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.hours  =  (SELECT max(hours) FROM projects)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "scientists",
            "EXCEPT",
            "SELECT",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.hours",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "hours",
            ")",
            "FROM",
            "projects",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "scientists",
            "except",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "hours",
            "=",
            "(",
            "select",
            "max",
            "(",
            "hours",
            ")",
            "from",
            "projects",
            ")"
        ],
        "question": "Find the names of scientists who are not working on the project with the highest hours.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "scientists",
            "who",
            "are",
            "not",
            "working",
            "on",
            "the",
            "project",
            "with",
            "the",
            "highest",
            "hours",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        1,
                                        [
                                            0,
                                            [
                                                0,
                                                5,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT name FROM scientists EXCEPT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.hours  =  (SELECT max(hours) FROM projects)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "scientists",
            "EXCEPT",
            "SELECT",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.hours",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "hours",
            ")",
            "FROM",
            "projects",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "scientists",
            "except",
            "select",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "hours",
            "=",
            "(",
            "select",
            "max",
            "(",
            "hours",
            ")",
            "from",
            "projects",
            ")"
        ],
        "question": "What are the names of scientists who are not working on the project with the most hours?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "scientists",
            "who",
            "are",
            "not",
            "working",
            "on",
            "the",
            "project",
            "with",
            "the",
            "most",
            "hours",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        1,
                                        [
                                            0,
                                            [
                                                0,
                                                5,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [],
                            "having": [],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        },
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T1.Name ,  T3.Name ,  T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name ,  T1.Name",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T3.Name",
            ",",
            "T3.Hours",
            "FROM",
            "Scientists",
            "AS",
            "T1",
            "JOIN",
            "AssignedTo",
            "AS",
            "T2",
            "ON",
            "T1.SSN",
            "=",
            "T2.Scientist",
            "JOIN",
            "Projects",
            "AS",
            "T3",
            "ON",
            "T2.Project",
            "=",
            "T3.Code",
            "ORDER",
            "BY",
            "T3.Name",
            ",",
            "T1.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "hours",
            "from",
            "scientists",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ssn",
            "=",
            "t2",
            ".",
            "scientist",
            "join",
            "projects",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "project",
            "=",
            "t3",
            ".",
            "code",
            "order",
            "by",
            "t3",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "name"
        ],
        "question": "List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name.",
        "question_toks": [
            "List",
            "all",
            "the",
            "scientists",
            "'",
            "names",
            ",",
            "their",
            "projects",
            "'",
            "names",
            ",",
            "and",
            "the",
            "hours",
            "worked",
            "by",
            "that",
            "scientist",
            "on",
            "each",
            "project",
            ",",
            "in",
            "alphabetical",
            "order",
            "of",
            "project",
            "name",
            ",",
            "and",
            "then",
            "scientist",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T1.Name ,  T3.Name ,  T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name ,  T1.Name",
        "query_toks": [
            "SELECT",
            "T1.Name",
            ",",
            "T3.Name",
            ",",
            "T3.Hours",
            "FROM",
            "Scientists",
            "AS",
            "T1",
            "JOIN",
            "AssignedTo",
            "AS",
            "T2",
            "ON",
            "T1.SSN",
            "=",
            "T2.Scientist",
            "JOIN",
            "Projects",
            "AS",
            "T3",
            "ON",
            "T2.Project",
            "=",
            "T3.Code",
            "ORDER",
            "BY",
            "T3.Name",
            ",",
            "T1.Name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "hours",
            "from",
            "scientists",
            "as",
            "t1",
            "join",
            "assignedto",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "ssn",
            "=",
            "t2",
            ".",
            "scientist",
            "join",
            "projects",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "project",
            "=",
            "t3",
            ".",
            "code",
            "order",
            "by",
            "t3",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "name"
        ],
        "question": "What are the names of each scientist, the names of the projects that they work on, and the hours for each of those projects, listed in alphabetical order by project name, then scientist name.",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "each",
            "scientist",
            ",",
            "the",
            "names",
            "of",
            "the",
            "projects",
            "that",
            "they",
            "work",
            "on",
            ",",
            "and",
            "the",
            "hours",
            "for",
            "each",
            "of",
            "those",
            "projects",
            ",",
            "listed",
            "in",
            "alphabetical",
            "order",
            "by",
            "project",
            "name",
            ",",
            "then",
            "scientist",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T2.name ,  T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.hours  =  (SELECT min(hours) FROM projects)",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.hours",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "hours",
            ")",
            "FROM",
            "projects",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "hours",
            "=",
            "(",
            "select",
            "min",
            "(",
            "hours",
            ")",
            "from",
            "projects",
            ")"
        ],
        "question": "Find name of the project that needs the least amount of time to finish and the name of scientists who worked on it.",
        "question_toks": [
            "Find",
            "name",
            "of",
            "the",
            "project",
            "that",
            "needs",
            "the",
            "least",
            "amount",
            "of",
            "time",
            "to",
            "finish",
            "and",
            "the",
            "name",
            "of",
            "scientists",
            "who",
            "worked",
            "on",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "scientist_1",
        "query": "SELECT T2.name ,  T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project  =  T2.code JOIN scientists AS T3 ON T1.scientist  =  T3.SSN WHERE T2.hours  =  (SELECT min(hours) FROM projects)",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T3.name",
            "FROM",
            "assignedto",
            "AS",
            "T1",
            "JOIN",
            "projects",
            "AS",
            "T2",
            "ON",
            "T1.project",
            "=",
            "T2.code",
            "JOIN",
            "scientists",
            "AS",
            "T3",
            "ON",
            "T1.scientist",
            "=",
            "T3.SSN",
            "WHERE",
            "T2.hours",
            "=",
            "(",
            "SELECT",
            "min",
            "(",
            "hours",
            ")",
            "FROM",
            "projects",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "assignedto",
            "as",
            "t1",
            "join",
            "projects",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "project",
            "=",
            "t2",
            ".",
            "code",
            "join",
            "scientists",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "scientist",
            "=",
            "t3",
            ".",
            "ssn",
            "where",
            "t2",
            ".",
            "hours",
            "=",
            "(",
            "select",
            "min",
            "(",
            "hours",
            ")",
            "from",
            "projects",
            ")"
        ],
        "question": "What is the name of the project that requires the fewest number of hours, and the names of the scientists assigned to it?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "project",
            "that",
            "requires",
            "the",
            "fewest",
            "number",
            "of",
            "hours",
            ",",
            "and",
            "the",
            "names",
            "of",
            "the",
            "scientists",
            "assigned",
            "to",
            "it",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE ORDER BY Score LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "ORDER",
            "BY",
            "Score",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "order",
            "by",
            "score",
            "limit",
            "value"
        ],
        "question": "What is the name of the highest rated wine?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "highest",
            "rated",
            "wine",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE ORDER BY Score LIMIT 1",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "ORDER",
            "BY",
            "Score",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "order",
            "by",
            "score",
            "limit",
            "value"
        ],
        "question": "Give the name of the wine with the highest score.",
        "question_toks": [
            "Give",
            "the",
            "name",
            "of",
            "the",
            "wine",
            "with",
            "the",
            "highest",
            "score",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Winery FROM WINE ORDER BY SCORE LIMIT 1",
        "query_toks": [
            "SELECT",
            "Winery",
            "FROM",
            "WINE",
            "ORDER",
            "BY",
            "SCORE",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "winery",
            "from",
            "wine",
            "order",
            "by",
            "score",
            "limit",
            "value"
        ],
        "question": "Which winery is the wine that has the highest score from?",
        "question_toks": [
            "Which",
            "winery",
            "is",
            "the",
            "wine",
            "that",
            "has",
            "the",
            "highest",
            "score",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Winery FROM WINE ORDER BY SCORE LIMIT 1",
        "query_toks": [
            "SELECT",
            "Winery",
            "FROM",
            "WINE",
            "ORDER",
            "BY",
            "SCORE",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "winery",
            "from",
            "wine",
            "order",
            "by",
            "score",
            "limit",
            "value"
        ],
        "question": "What is the winery at which the wine with the highest score was made?",
        "question_toks": [
            "What",
            "is",
            "the",
            "winery",
            "at",
            "which",
            "the",
            "wine",
            "with",
            "the",
            "highest",
            "score",
            "was",
            "made",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE WHERE YEAR  =  \"2008\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "=",
            "``",
            "2008",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Find the names of all wines produced in 2008.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "wines",
            "produced",
            "in",
            "2008",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"2008\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE WHERE YEAR  =  \"2008\"",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "=",
            "``",
            "2008",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are the names of all wines produced in 2008?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "wines",
            "produced",
            "in",
            "2008",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"2008\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Grape ,  Appelation FROM WINE",
        "query_toks": [
            "SELECT",
            "Grape",
            ",",
            "Appelation",
            "FROM",
            "WINE"
        ],
        "query_toks_no_value": [
            "select",
            "grape",
            ",",
            "appelation",
            "from",
            "wine"
        ],
        "question": "List the grapes and appelations of all wines.",
        "question_toks": [
            "List",
            "the",
            "grapes",
            "and",
            "appelations",
            "of",
            "all",
            "wines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Grape ,  Appelation FROM WINE",
        "query_toks": [
            "SELECT",
            "Grape",
            ",",
            "Appelation",
            "FROM",
            "WINE"
        ],
        "query_toks_no_value": [
            "select",
            "grape",
            ",",
            "appelation",
            "from",
            "wine"
        ],
        "question": "What are the grapes and appelations of each wine?",
        "question_toks": [
            "What",
            "are",
            "the",
            "grapes",
            "and",
            "appelations",
            "of",
            "each",
            "wine",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name ,  Score FROM WINE",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Score",
            "FROM",
            "WINE"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "score",
            "from",
            "wine"
        ],
        "question": "List the names and scores of all wines.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "scores",
            "of",
            "all",
            "wines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name ,  Score FROM WINE",
        "query_toks": [
            "SELECT",
            "Name",
            ",",
            "Score",
            "FROM",
            "WINE"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "score",
            "from",
            "wine"
        ],
        "question": "What are the names and scores of all wines?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "scores",
            "of",
            "all",
            "wines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Area ,  County FROM APPELLATIONS",
        "query_toks": [
            "SELECT",
            "Area",
            ",",
            "County",
            "FROM",
            "APPELLATIONS"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            ",",
            "county",
            "from",
            "appellations"
        ],
        "question": "List the area and county of all appelations.",
        "question_toks": [
            "List",
            "the",
            "area",
            "and",
            "county",
            "of",
            "all",
            "appelations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Area ,  County FROM APPELLATIONS",
        "query_toks": [
            "SELECT",
            "Area",
            ",",
            "County",
            "FROM",
            "APPELLATIONS"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            ",",
            "county",
            "from",
            "appellations"
        ],
        "question": "What are the areas and counties for all appelations?",
        "question_toks": [
            "What",
            "are",
            "the",
            "areas",
            "and",
            "counties",
            "for",
            "all",
            "appelations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Price FROM WINE WHERE YEAR  <  2010",
        "query_toks": [
            "SELECT",
            "Price",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "<",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "price",
            "from",
            "wine",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "What are the prices of wines produced before the year of 2010?",
        "question_toks": [
            "What",
            "are",
            "the",
            "prices",
            "of",
            "wines",
            "produced",
            "before",
            "the",
            "year",
            "of",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Price FROM WINE WHERE YEAR  <  2010",
        "query_toks": [
            "SELECT",
            "Price",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "<",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "price",
            "from",
            "wine",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "Return the prices of wines produced before 2010.",
        "question_toks": [
            "Return",
            "the",
            "prices",
            "of",
            "wines",
            "produced",
            "before",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE WHERE score  >  90",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "score",
            ">",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "where",
            "score",
            ">",
            "value"
        ],
        "question": "List the names of all distinct wines that have scores higher than 90.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "wines",
            "that",
            "have",
            "scores",
            "higher",
            "than",
            "90",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE WHERE score  >  90",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "score",
            ">",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "where",
            "score",
            ">",
            "value"
        ],
        "question": "What are the names of wines with scores higher than 90?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wines",
            "with",
            "scores",
            "higher",
            "than",
            "90",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT T2.Name FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape WHERE T1.Color  =  \"Red\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Name",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "Red",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value"
        ],
        "question": "List the names of all distinct wines that are made of red color grape.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "wines",
            "that",
            "are",
            "made",
            "of",
            "red",
            "color",
            "grape",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Red\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT T2.Name FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape WHERE T1.Color  =  \"Red\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Name",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "Red",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value"
        ],
        "question": "What are the names of wines made from red grapes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wines",
            "made",
            "from",
            "red",
            "grapes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Red\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT T2.Name FROM APPELLATIONs AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.Area  =  \"North Coast\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Name",
            "FROM",
            "APPELLATIONs",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.Area",
            "=",
            "``",
            "North",
            "Coast",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "area",
            "=",
            "value"
        ],
        "question": "Find the names of all distinct wines that have appellations in North Coast area.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "wines",
            "that",
            "have",
            "appellations",
            "in",
            "North",
            "Coast",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"North Coast\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT T2.Name FROM APPELLATIONs AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.Area  =  \"North Coast\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.Name",
            "FROM",
            "APPELLATIONs",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.Area",
            "=",
            "``",
            "North",
            "Coast",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "name",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "area",
            "=",
            "value"
        ],
        "question": "What are the distinct names of wines that have appellations in the North Coast area?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "of",
            "wines",
            "that",
            "have",
            "appellations",
            "in",
            "the",
            "North",
            "Coast",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"North Coast\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT count(*) FROM WINE WHERE Winery  =  \"Robert Biale\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "Winery",
            "=",
            "``",
            "Robert",
            "Biale",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "wine",
            "where",
            "winery",
            "=",
            "value"
        ],
        "question": "How many wines are produced at Robert Biale winery?",
        "question_toks": [
            "How",
            "many",
            "wines",
            "are",
            "produced",
            "at",
            "Robert",
            "Biale",
            "winery",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Robert Biale\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT count(*) FROM WINE WHERE Winery  =  \"Robert Biale\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "Winery",
            "=",
            "``",
            "Robert",
            "Biale",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "wine",
            "where",
            "winery",
            "=",
            "value"
        ],
        "question": "Count the number of wines produced at Robert Biale winery.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "wines",
            "produced",
            "at",
            "Robert",
            "Biale",
            "winery",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Robert Biale\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT count(*) FROM APPELLATIONS WHERE County  =  \"Napa\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "APPELLATIONS",
            "WHERE",
            "County",
            "=",
            "``",
            "Napa",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "appellations",
            "where",
            "county",
            "=",
            "value"
        ],
        "question": "How many appelations are in Napa Country?",
        "question_toks": [
            "How",
            "many",
            "appelations",
            "are",
            "in",
            "Napa",
            "Country",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Napa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT count(*) FROM APPELLATIONS WHERE County  =  \"Napa\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "APPELLATIONS",
            "WHERE",
            "County",
            "=",
            "``",
            "Napa",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "appellations",
            "where",
            "county",
            "=",
            "value"
        ],
        "question": "Count the number of appelations in Napa County.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "appelations",
            "in",
            "Napa",
            "County",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Napa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT AVG(T2.Price) FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.County  =  \"Sonoma\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "T2.Price",
            ")",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.County",
            "=",
            "``",
            "Sonoma",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "price",
            ")",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "county",
            "=",
            "value"
        ],
        "question": "Give me the average prices of wines that are produced by appelations in Sonoma County.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "average",
            "prices",
            "of",
            "wines",
            "that",
            "are",
            "produced",
            "by",
            "appelations",
            "in",
            "Sonoma",
            "County",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Sonoma\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT AVG(T2.Price) FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.County  =  \"Sonoma\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "T2.Price",
            ")",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.County",
            "=",
            "``",
            "Sonoma",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t2",
            ".",
            "price",
            ")",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "county",
            "=",
            "value"
        ],
        "question": "What is the average price of wines produced in appelations in Sonoma County?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "of",
            "wines",
            "produced",
            "in",
            "appelations",
            "in",
            "Sonoma",
            "County",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Sonoma\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T2.Name ,   T2.Score FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape WHERE T1.Color  =  \"White\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T2.Score",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "White",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "score",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value"
        ],
        "question": "What are the names and scores of wines that are made of white color grapes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "scores",
            "of",
            "wines",
            "that",
            "are",
            "made",
            "of",
            "white",
            "color",
            "grapes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"White\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T2.Name ,   T2.Score FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape WHERE T1.Color  =  \"White\"",
        "query_toks": [
            "SELECT",
            "T2.Name",
            ",",
            "T2.Score",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "White",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "score",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value"
        ],
        "question": "Give the names and scores of wines made from white grapes.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "and",
            "scores",
            "of",
            "wines",
            "made",
            "from",
            "white",
            "grapes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"White\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT max(T2.Price) FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.Area  =  \"Central Coast\" AND T2.year  <  2005",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.Price",
            ")",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.Area",
            "=",
            "``",
            "Central",
            "Coast",
            "''",
            "AND",
            "T2.year",
            "<",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "price",
            ")",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "area",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "Find the maximum price of wins from the appelations in Central Coast area and produced before the year of 2005.",
        "question_toks": [
            "Find",
            "the",
            "maximum",
            "price",
            "of",
            "wins",
            "from",
            "the",
            "appelations",
            "in",
            "Central",
            "Coast",
            "area",
            "and",
            "produced",
            "before",
            "the",
            "year",
            "of",
            "2005",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Central Coast\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT max(T2.Price) FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.Area  =  \"Central Coast\" AND T2.year  <  2005",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T2.Price",
            ")",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.Area",
            "=",
            "``",
            "Central",
            "Coast",
            "''",
            "AND",
            "T2.year",
            "<",
            "2005"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t2",
            ".",
            "price",
            ")",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "area",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "What is the maximum price of wines from the appelation in the Central Coast area, which was produced before 2005?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "price",
            "of",
            "wines",
            "from",
            "the",
            "appelation",
            "in",
            "the",
            "Central",
            "Coast",
            "area",
            ",",
            "which",
            "was",
            "produced",
            "before",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Central Coast\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT T1.Grape FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape WHERE T1.Color  =  \"White\" AND T2.score  >  90",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Grape",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "White",
            "''",
            "AND",
            "T2.score",
            ">",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "grape",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "score",
            ">",
            "value"
        ],
        "question": "Find the the grape whose white color grapes are used to produce wines with scores higher than 90.",
        "question_toks": [
            "Find",
            "the",
            "the",
            "grape",
            "whose",
            "white",
            "color",
            "grapes",
            "are",
            "used",
            "to",
            "produce",
            "wines",
            "with",
            "scores",
            "higher",
            "than",
            "90",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"White\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT T1.Grape FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape WHERE T1.Color  =  \"White\" AND T2.score  >  90",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.Grape",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "White",
            "''",
            "AND",
            "T2.score",
            ">",
            "90"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "grape",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "score",
            ">",
            "value"
        ],
        "question": "Find the white grape used to produce wines with scores above 90.",
        "question_toks": [
            "Find",
            "the",
            "white",
            "grape",
            "used",
            "to",
            "produce",
            "wines",
            "with",
            "scores",
            "above",
            "90",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"White\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T2.Name FROM Grapes AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape WHERE T1.Color  =  \"Red\" AND T2.price  >  50",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "Grapes",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "Red",
            "''",
            "AND",
            "T2.price",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "price",
            ">",
            "value"
        ],
        "question": "What are the wines that have prices higher than 50 and made of Red color grapes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "wines",
            "that",
            "have",
            "prices",
            "higher",
            "than",
            "50",
            "and",
            "made",
            "of",
            "Red",
            "color",
            "grapes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Red\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T2.Name FROM Grapes AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape WHERE T1.Color  =  \"Red\" AND T2.price  >  50",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "Grapes",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "Red",
            "''",
            "AND",
            "T2.price",
            ">",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "price",
            ">",
            "value"
        ],
        "question": "What are the names of wines made from red grapes and with prices above 50?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wines",
            "made",
            "from",
            "red",
            "grapes",
            "and",
            "with",
            "prices",
            "above",
            "50",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Red\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T2.Name FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.County  =  \"Monterey\" AND T2.price  <  50",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.County",
            "=",
            "``",
            "Monterey",
            "''",
            "AND",
            "T2.price",
            "<",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "county",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "price",
            "<",
            "value"
        ],
        "question": "What are the wines that have prices lower than 50 and have appelations in Monterey county?",
        "question_toks": [
            "What",
            "are",
            "the",
            "wines",
            "that",
            "have",
            "prices",
            "lower",
            "than",
            "50",
            "and",
            "have",
            "appelations",
            "in",
            "Monterey",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Monterey\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T2.Name FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.County  =  \"Monterey\" AND T2.price  <  50",
        "query_toks": [
            "SELECT",
            "T2.Name",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.County",
            "=",
            "``",
            "Monterey",
            "''",
            "AND",
            "T2.price",
            "<",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "county",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "price",
            "<",
            "value"
        ],
        "question": "Give the neames of wines with prices below 50 and with appelations in Monterey county.",
        "question_toks": [
            "Give",
            "the",
            "neames",
            "of",
            "wines",
            "with",
            "prices",
            "below",
            "50",
            "and",
            "with",
            "appelations",
            "in",
            "Monterey",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Monterey\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    50.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT count(*) ,  Grape FROM WINE GROUP BY Grape",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "Grape",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "Grape"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "grape",
            "from",
            "wine",
            "group",
            "by",
            "grape"
        ],
        "question": "What are the numbers of wines for different grapes?",
        "question_toks": [
            "What",
            "are",
            "the",
            "numbers",
            "of",
            "wines",
            "for",
            "different",
            "grapes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT count(*) ,  Grape FROM WINE GROUP BY Grape",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "Grape",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "Grape"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "grape",
            "from",
            "wine",
            "group",
            "by",
            "grape"
        ],
        "question": "How many wines are there for each grape?",
        "question_toks": [
            "How",
            "many",
            "wines",
            "are",
            "there",
            "for",
            "each",
            "grape",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT avg(Price) ,  YEAR FROM WINE GROUP BY YEAR",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Price",
            ")",
            ",",
            "YEAR",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "YEAR"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            ",",
            "year",
            "from",
            "wine",
            "group",
            "by",
            "year"
        ],
        "question": "What are the average prices of wines for different years?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "prices",
            "of",
            "wines",
            "for",
            "different",
            "years",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT avg(Price) ,  YEAR FROM WINE GROUP BY YEAR",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Price",
            ")",
            ",",
            "YEAR",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "YEAR"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            ",",
            "year",
            "from",
            "wine",
            "group",
            "by",
            "year"
        ],
        "question": "What is the average prices of wines for each each?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "prices",
            "of",
            "wines",
            "for",
            "each",
            "each",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Name FROM WINE WHERE Price  >  (SELECT min(Price) FROM wine WHERE Winery  =  \"John Anthony\")",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "Price",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "Price",
            ")",
            "FROM",
            "wine",
            "WHERE",
            "Winery",
            "=",
            "``",
            "John",
            "Anthony",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "wine",
            "where",
            "price",
            ">",
            "(",
            "select",
            "min",
            "(",
            "price",
            ")",
            "from",
            "wine",
            "where",
            "winery",
            "=",
            "value",
            ")"
        ],
        "question": "Find the distinct names of all wines that have prices higher than some wines from John Anthony winery.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "names",
            "of",
            "all",
            "wines",
            "that",
            "have",
            "prices",
            "higher",
            "than",
            "some",
            "wines",
            "from",
            "John",
            "Anthony",
            "winery",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"John Anthony\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Name FROM WINE WHERE Price  >  (SELECT min(Price) FROM wine WHERE Winery  =  \"John Anthony\")",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "Price",
            ">",
            "(",
            "SELECT",
            "min",
            "(",
            "Price",
            ")",
            "FROM",
            "wine",
            "WHERE",
            "Winery",
            "=",
            "``",
            "John",
            "Anthony",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "wine",
            "where",
            "price",
            ">",
            "(",
            "select",
            "min",
            "(",
            "price",
            ")",
            "from",
            "wine",
            "where",
            "winery",
            "=",
            "value",
            ")"
        ],
        "question": "What are the distinct names of wines with prices higher than any wine from John Anthony winery.",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "of",
            "wines",
            "with",
            "prices",
            "higher",
            "than",
            "any",
            "wine",
            "from",
            "John",
            "Anthony",
            "winery",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"John Anthony\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Name FROM WINE ORDER BY Name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Name",
            "FROM",
            "WINE",
            "ORDER",
            "BY",
            "Name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "wine",
            "order",
            "by",
            "name"
        ],
        "question": "List the names of all distinct wines in alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "wines",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Name FROM WINE ORDER BY Name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Name",
            "FROM",
            "WINE",
            "ORDER",
            "BY",
            "Name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "wine",
            "order",
            "by",
            "name"
        ],
        "question": "What are the names of wines, sorted in alphabetical order?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wines",
            ",",
            "sorted",
            "in",
            "alphabetical",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Name FROM WINE ORDER BY price",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Name",
            "FROM",
            "WINE",
            "ORDER",
            "BY",
            "price"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "wine",
            "order",
            "by",
            "price"
        ],
        "question": "List the names of all distinct wines ordered by price.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "wines",
            "ordered",
            "by",
            "price",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Name FROM WINE ORDER BY price",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Name",
            "FROM",
            "WINE",
            "ORDER",
            "BY",
            "price"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "wine",
            "order",
            "by",
            "price"
        ],
        "question": "What are the names of wines, sorted by price ascending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wines",
            ",",
            "sorted",
            "by",
            "price",
            "ascending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T1.Area FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation GROUP BY T2.Appelation HAVING T2.year  <  2010 ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Area",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "GROUP",
            "BY",
            "T2.Appelation",
            "HAVING",
            "T2.year",
            "<",
            "2010",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "area",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "group",
            "by",
            "t2",
            ".",
            "appelation",
            "having",
            "t2",
            ".",
            "year",
            "<",
            "value",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the area of the appelation that produces the highest number of wines before the year of 2010?",
        "question_toks": [
            "What",
            "is",
            "the",
            "area",
            "of",
            "the",
            "appelation",
            "that",
            "produces",
            "the",
            "highest",
            "number",
            "of",
            "wines",
            "before",
            "the",
            "year",
            "of",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T1.Area FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation GROUP BY T2.Appelation HAVING T2.year  <  2010 ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Area",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "GROUP",
            "BY",
            "T2.Appelation",
            "HAVING",
            "T2.year",
            "<",
            "2010",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "area",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "group",
            "by",
            "t2",
            ".",
            "appelation",
            "having",
            "t2",
            ".",
            "year",
            "<",
            "value",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the area for the appelation which produced the most wines prior to 2010?",
        "question_toks": [
            "What",
            "is",
            "the",
            "area",
            "for",
            "the",
            "appelation",
            "which",
            "produced",
            "the",
            "most",
            "wines",
            "prior",
            "to",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T1.Color FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape GROUP BY T2.Grape ORDER BY AVG(Price) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Color",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "GROUP",
            "BY",
            "T2.Grape",
            "ORDER",
            "BY",
            "AVG",
            "(",
            "Price",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "color",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "group",
            "by",
            "t2",
            ".",
            "grape",
            "order",
            "by",
            "avg",
            "(",
            "price",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the color of the grape whose wine products has the highest average price?",
        "question_toks": [
            "What",
            "is",
            "the",
            "color",
            "of",
            "the",
            "grape",
            "whose",
            "wine",
            "products",
            "has",
            "the",
            "highest",
            "average",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T1.Color FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape  =  T2.Grape GROUP BY T2.Grape ORDER BY AVG(Price) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.Color",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Grape",
            "=",
            "T2.Grape",
            "GROUP",
            "BY",
            "T2.Grape",
            "ORDER",
            "BY",
            "AVG",
            "(",
            "Price",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "color",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "group",
            "by",
            "t2",
            ".",
            "grape",
            "order",
            "by",
            "avg",
            "(",
            "price",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give the color of the grape whose wine products have the highest average price?",
        "question_toks": [
            "Give",
            "the",
            "color",
            "of",
            "the",
            "grape",
            "whose",
            "wine",
            "products",
            "have",
            "the",
            "highest",
            "average",
            "price",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            5,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Name FROM WINE WHERE YEAR  <  2000 OR YEAR  >  2010",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "<",
            "2000",
            "OR",
            "YEAR",
            ">",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "wine",
            "where",
            "year",
            "<",
            "value",
            "or",
            "year",
            ">",
            "value"
        ],
        "question": "Find the distinct names of wines produced before the year of 2000 or after the year of 2010.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "names",
            "of",
            "wines",
            "produced",
            "before",
            "the",
            "year",
            "of",
            "2000",
            "or",
            "after",
            "the",
            "year",
            "of",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Name FROM WINE WHERE YEAR  <  2000 OR YEAR  >  2010",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "<",
            "2000",
            "OR",
            "YEAR",
            ">",
            "2010"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "name",
            "from",
            "wine",
            "where",
            "year",
            "<",
            "value",
            "or",
            "year",
            ">",
            "value"
        ],
        "question": "Give the distinct names of wines made before 2000 or after 2010.",
        "question_toks": [
            "Give",
            "the",
            "distinct",
            "names",
            "of",
            "wines",
            "made",
            "before",
            "2000",
            "or",
            "after",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Winery FROM WINE WHERE Price BETWEEN 50 AND 100",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Winery",
            "FROM",
            "WINE",
            "WHERE",
            "Price",
            "BETWEEN",
            "50",
            "AND",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "winery",
            "from",
            "wine",
            "where",
            "price",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the distinct winery of wines having price between 50 and 100.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "winery",
            "of",
            "wines",
            "having",
            "price",
            "between",
            "50",
            "and",
            "100",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    50.0,
                    100.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT DISTINCT Winery FROM WINE WHERE Price BETWEEN 50 AND 100",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "Winery",
            "FROM",
            "WINE",
            "WHERE",
            "Price",
            "BETWEEN",
            "50",
            "AND",
            "100"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "winery",
            "from",
            "wine",
            "where",
            "price",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the distinct wineries which produce wines costing between 50 and 100?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "wineries",
            "which",
            "produce",
            "wines",
            "costing",
            "between",
            "50",
            "and",
            "100",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    50.0,
                    100.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT AVG(Price) ,  AVG(Cases) FROM WINE WHERE YEAR  =  2009 AND Grape  =  \"Zinfandel\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "Price",
            ")",
            ",",
            "AVG",
            "(",
            "Cases",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "=",
            "2009",
            "AND",
            "Grape",
            "=",
            "``",
            "Zinfandel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            ",",
            "avg",
            "(",
            "cases",
            ")",
            "from",
            "wine",
            "where",
            "year",
            "=",
            "value",
            "and",
            "grape",
            "=",
            "value"
        ],
        "question": "What are the average prices and cases of wines produced in the year of 2009 and made of Zinfandel grape?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "prices",
            "and",
            "cases",
            "of",
            "wines",
            "produced",
            "in",
            "the",
            "year",
            "of",
            "2009",
            "and",
            "made",
            "of",
            "Zinfandel",
            "grape",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Zinfandel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT AVG(Price) ,  AVG(Cases) FROM WINE WHERE YEAR  =  2009 AND Grape  =  \"Zinfandel\"",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "Price",
            ")",
            ",",
            "AVG",
            "(",
            "Cases",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "=",
            "2009",
            "AND",
            "Grape",
            "=",
            "``",
            "Zinfandel",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            ",",
            "avg",
            "(",
            "cases",
            ")",
            "from",
            "wine",
            "where",
            "year",
            "=",
            "value",
            "and",
            "grape",
            "=",
            "value"
        ],
        "question": "Give the average price and case of wines made from Zinfandel grapes in the year 2009.",
        "question_toks": [
            "Give",
            "the",
            "average",
            "price",
            "and",
            "case",
            "of",
            "wines",
            "made",
            "from",
            "Zinfandel",
            "grapes",
            "in",
            "the",
            "year",
            "2009",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Zinfandel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT max(Price) ,  max(Score) FROM WINE WHERE Appelation  =  \"St. Helena\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Price",
            ")",
            ",",
            "max",
            "(",
            "Score",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "Appelation",
            "=",
            "``",
            "St.",
            "Helena",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "price",
            ")",
            ",",
            "max",
            "(",
            "score",
            ")",
            "from",
            "wine",
            "where",
            "appelation",
            "=",
            "value"
        ],
        "question": "What are the maximum price and score of wines produced by St. Helena appelation?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "price",
            "and",
            "score",
            "of",
            "wines",
            "produced",
            "by",
            "St.",
            "Helena",
            "appelation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"St. Helena\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT max(Price) ,  max(Score) FROM WINE WHERE Appelation  =  \"St. Helena\"",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Price",
            ")",
            ",",
            "max",
            "(",
            "Score",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "Appelation",
            "=",
            "``",
            "St.",
            "Helena",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "price",
            ")",
            ",",
            "max",
            "(",
            "score",
            ")",
            "from",
            "wine",
            "where",
            "appelation",
            "=",
            "value"
        ],
        "question": "Give the maximum price and score for wines produced in the appelation St. Helena.",
        "question_toks": [
            "Give",
            "the",
            "maximum",
            "price",
            "and",
            "score",
            "for",
            "wines",
            "produced",
            "in",
            "the",
            "appelation",
            "St.",
            "Helena",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"St. Helena\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT max(Price) ,  max(Score) ,  YEAR FROM WINE GROUP BY YEAR",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Price",
            ")",
            ",",
            "max",
            "(",
            "Score",
            ")",
            ",",
            "YEAR",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "YEAR"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "price",
            ")",
            ",",
            "max",
            "(",
            "score",
            ")",
            ",",
            "year",
            "from",
            "wine",
            "group",
            "by",
            "year"
        ],
        "question": "What are the maximum price and score of wines in each year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "price",
            "and",
            "score",
            "of",
            "wines",
            "in",
            "each",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT max(Price) ,  max(Score) ,  YEAR FROM WINE GROUP BY YEAR",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "Price",
            ")",
            ",",
            "max",
            "(",
            "Score",
            ")",
            ",",
            "YEAR",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "YEAR"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "price",
            ")",
            ",",
            "max",
            "(",
            "score",
            ")",
            ",",
            "year",
            "from",
            "wine",
            "group",
            "by",
            "year"
        ],
        "question": "What are the maximum price and score of wines for each year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "maximum",
            "price",
            "and",
            "score",
            "of",
            "wines",
            "for",
            "each",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT avg(Price) ,  avg(Score) ,  Appelation FROM WINE GROUP BY Appelation",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Price",
            ")",
            ",",
            "avg",
            "(",
            "Score",
            ")",
            ",",
            "Appelation",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "Appelation"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            ",",
            "avg",
            "(",
            "score",
            ")",
            ",",
            "appelation",
            "from",
            "wine",
            "group",
            "by",
            "appelation"
        ],
        "question": "What are the average price and score of wines grouped by appelation?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "price",
            "and",
            "score",
            "of",
            "wines",
            "grouped",
            "by",
            "appelation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT avg(Price) ,  avg(Score) ,  Appelation FROM WINE GROUP BY Appelation",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "Price",
            ")",
            ",",
            "avg",
            "(",
            "Score",
            ")",
            ",",
            "Appelation",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "Appelation"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            ",",
            "avg",
            "(",
            "score",
            ")",
            ",",
            "appelation",
            "from",
            "wine",
            "group",
            "by",
            "appelation"
        ],
        "question": "What are the average price and score of wines for each appelation?",
        "question_toks": [
            "What",
            "are",
            "the",
            "average",
            "price",
            "and",
            "score",
            "of",
            "wines",
            "for",
            "each",
            "appelation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Winery FROM WINE GROUP BY Winery HAVING count(*)  >=  4",
        "query_toks": [
            "SELECT",
            "Winery",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "Winery",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "winery",
            "from",
            "wine",
            "group",
            "by",
            "winery",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Find the wineries that have at least four wines.",
        "question_toks": [
            "Find",
            "the",
            "wineries",
            "that",
            "have",
            "at",
            "least",
            "four",
            "wines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Winery FROM WINE GROUP BY Winery HAVING count(*)  >=  4",
        "query_toks": [
            "SELECT",
            "Winery",
            "FROM",
            "WINE",
            "GROUP",
            "BY",
            "Winery",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "4"
        ],
        "query_toks_no_value": [
            "select",
            "winery",
            "from",
            "wine",
            "group",
            "by",
            "winery",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which wineries produce at least four wines?",
        "question_toks": [
            "Which",
            "wineries",
            "produce",
            "at",
            "least",
            "four",
            "wines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation GROUP BY T2.Appelation HAVING count(*)  <=  3",
        "query_toks": [
            "SELECT",
            "T1.County",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "GROUP",
            "BY",
            "T2.Appelation",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "group",
            "by",
            "t2",
            ".",
            "appelation",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "Find the country of all appelations who have at most three wines.",
        "question_toks": [
            "Find",
            "the",
            "country",
            "of",
            "all",
            "appelations",
            "who",
            "have",
            "at",
            "most",
            "three",
            "wines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation GROUP BY T2.Appelation HAVING count(*)  <=  3",
        "query_toks": [
            "SELECT",
            "T1.County",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "GROUP",
            "BY",
            "T2.Appelation",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "group",
            "by",
            "t2",
            ".",
            "appelation",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "What are the countries for appelations with at most 3 wines?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "for",
            "appelations",
            "with",
            "at",
            "most",
            "3",
            "wines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE WHERE YEAR  <  (SELECT min(YEAR) FROM WINE WHERE Winery  =  \"Brander\")",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "YEAR",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "Winery",
            "=",
            "``",
            "Brander",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "where",
            "year",
            "<",
            "(",
            "select",
            "min",
            "(",
            "year",
            ")",
            "from",
            "wine",
            "where",
            "winery",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of wines whose production year are before the year of all wines by Brander winery?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wines",
            "whose",
            "production",
            "year",
            "are",
            "before",
            "the",
            "year",
            "of",
            "all",
            "wines",
            "by",
            "Brander",
            "winery",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"Brander\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE WHERE YEAR  <  (SELECT min(YEAR) FROM WINE WHERE Winery  =  \"Brander\")",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "<",
            "(",
            "SELECT",
            "min",
            "(",
            "YEAR",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "Winery",
            "=",
            "``",
            "Brander",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "where",
            "year",
            "<",
            "(",
            "select",
            "min",
            "(",
            "year",
            ")",
            "from",
            "wine",
            "where",
            "winery",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of wines produced before any wine from the Brander winery?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wines",
            "produced",
            "before",
            "any",
            "wine",
            "from",
            "the",
            "Brander",
            "winery",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            16,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"Brander\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE WHERE Price  >  (SELECT max(Price) FROM WINE WHERE YEAR  =  2006)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "Price",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "Price",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "=",
            "2006",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "where",
            "price",
            ">",
            "(",
            "select",
            "max",
            "(",
            "price",
            ")",
            "from",
            "wine",
            "where",
            "year",
            "=",
            "value",
            ")"
        ],
        "question": "What are the names of wines that are more expensive then all wines made in the year 2006?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "wines",
            "that",
            "are",
            "more",
            "expensive",
            "then",
            "all",
            "wines",
            "made",
            "in",
            "the",
            "year",
            "2006",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        16,
                                        false
                                    ],
                                    null
                                ],
                                2006.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Name FROM WINE WHERE Price  >  (SELECT max(Price) FROM WINE WHERE YEAR  =  2006)",
        "query_toks": [
            "SELECT",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "Price",
            ">",
            "(",
            "SELECT",
            "max",
            "(",
            "Price",
            ")",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            "=",
            "2006",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "wine",
            "where",
            "price",
            ">",
            "(",
            "select",
            "max",
            "(",
            "price",
            ")",
            "from",
            "wine",
            "where",
            "year",
            "=",
            "value",
            ")"
        ],
        "question": "Give the names of wines with prices above any wine produced in 2006.",
        "question_toks": [
            "Give",
            "the",
            "names",
            "of",
            "wines",
            "with",
            "prices",
            "above",
            "any",
            "wine",
            "produced",
            "in",
            "2006",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        16,
                                        false
                                    ],
                                    null
                                ],
                                2006.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T2.Winery FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.GRAPE  =  T2.GRAPE WHERE T1.Color  =  \"White\" GROUP BY T2.Winery ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.Winery",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.GRAPE",
            "=",
            "T2.GRAPE",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "White",
            "''",
            "GROUP",
            "BY",
            "T2.Winery",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "winery",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "winery",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the top 3 wineries with the greatest number of wines made of white color grapes.",
        "question_toks": [
            "Find",
            "the",
            "top",
            "3",
            "wineries",
            "with",
            "the",
            "greatest",
            "number",
            "of",
            "wines",
            "made",
            "of",
            "white",
            "color",
            "grapes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"White\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T2.Winery FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.GRAPE  =  T2.GRAPE WHERE T1.Color  =  \"White\" GROUP BY T2.Winery ORDER BY count(*) DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "T2.Winery",
            "FROM",
            "GRAPES",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.GRAPE",
            "=",
            "T2.GRAPE",
            "WHERE",
            "T1.Color",
            "=",
            "``",
            "White",
            "''",
            "GROUP",
            "BY",
            "T2.Winery",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "winery",
            "from",
            "grapes",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "grape",
            "=",
            "t2",
            ".",
            "grape",
            "where",
            "t1",
            ".",
            "color",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "winery",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which 3 wineries produce the most wines made from white grapes?",
        "question_toks": [
            "Which",
            "3",
            "wineries",
            "produce",
            "the",
            "most",
            "wines",
            "made",
            "from",
            "white",
            "grapes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"White\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Grape ,  Winery ,  YEAR FROM WINE WHERE Price  >   100 ORDER BY YEAR",
        "query_toks": [
            "SELECT",
            "Grape",
            ",",
            "Winery",
            ",",
            "YEAR",
            "FROM",
            "WINE",
            "WHERE",
            "Price",
            ">",
            "100",
            "ORDER",
            "BY",
            "YEAR"
        ],
        "query_toks_no_value": [
            "select",
            "grape",
            ",",
            "winery",
            ",",
            "year",
            "from",
            "wine",
            "where",
            "price",
            ">",
            "value",
            "order",
            "by",
            "year"
        ],
        "question": "List the grape, winery and year of the wines whose price is bigger than 100 ordered by year.",
        "question_toks": [
            "List",
            "the",
            "grape",
            ",",
            "winery",
            "and",
            "year",
            "of",
            "the",
            "wines",
            "whose",
            "price",
            "is",
            "bigger",
            "than",
            "100",
            "ordered",
            "by",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Grape ,  Winery ,  YEAR FROM WINE WHERE Price  >   100 ORDER BY YEAR",
        "query_toks": [
            "SELECT",
            "Grape",
            ",",
            "Winery",
            ",",
            "YEAR",
            "FROM",
            "WINE",
            "WHERE",
            "Price",
            ">",
            "100",
            "ORDER",
            "BY",
            "YEAR"
        ],
        "query_toks_no_value": [
            "select",
            "grape",
            ",",
            "winery",
            ",",
            "year",
            "from",
            "wine",
            "where",
            "price",
            ">",
            "value",
            "order",
            "by",
            "year"
        ],
        "question": "What are the grapes, wineries and years for wines with price higher than 100, sorted by year?",
        "question_toks": [
            "What",
            "are",
            "the",
            "grapes",
            ",",
            "wineries",
            "and",
            "years",
            "for",
            "wines",
            "with",
            "price",
            "higher",
            "than",
            "100",
            ",",
            "sorted",
            "by",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Grape ,  Appelation ,  Name FROM WINE WHERE Score  >  93 ORDER BY Name",
        "query_toks": [
            "SELECT",
            "Grape",
            ",",
            "Appelation",
            ",",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "Score",
            ">",
            "93",
            "ORDER",
            "BY",
            "Name"
        ],
        "query_toks_no_value": [
            "select",
            "grape",
            ",",
            "appelation",
            ",",
            "name",
            "from",
            "wine",
            "where",
            "score",
            ">",
            "value",
            "order",
            "by",
            "name"
        ],
        "question": "List the grape, appelation and name of wines whose score is higher than 93 ordered by Name.",
        "question_toks": [
            "List",
            "the",
            "grape",
            ",",
            "appelation",
            "and",
            "name",
            "of",
            "wines",
            "whose",
            "score",
            "is",
            "higher",
            "than",
            "93",
            "ordered",
            "by",
            "Name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    93.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Grape ,  Appelation ,  Name FROM WINE WHERE Score  >  93 ORDER BY Name",
        "query_toks": [
            "SELECT",
            "Grape",
            ",",
            "Appelation",
            ",",
            "Name",
            "FROM",
            "WINE",
            "WHERE",
            "Score",
            ">",
            "93",
            "ORDER",
            "BY",
            "Name"
        ],
        "query_toks_no_value": [
            "select",
            "grape",
            ",",
            "appelation",
            ",",
            "name",
            "from",
            "wine",
            "where",
            "score",
            ">",
            "value",
            "order",
            "by",
            "name"
        ],
        "question": "What are the grapes, appelations, and wines with scores above 93, sorted by Name?",
        "question_toks": [
            "What",
            "are",
            "the",
            "grapes",
            ",",
            "appelations",
            ",",
            "and",
            "wines",
            "with",
            "scores",
            "above",
            "93",
            ",",
            "sorted",
            "by",
            "Name",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    93.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Appelation FROM WINE WHERE YEAR  >  2008 EXCEPT SELECT Appelation FROM APPELLATIONS WHERE Area  =  \"Central Coast\"",
        "query_toks": [
            "SELECT",
            "Appelation",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            ">",
            "2008",
            "EXCEPT",
            "SELECT",
            "Appelation",
            "FROM",
            "APPELLATIONS",
            "WHERE",
            "Area",
            "=",
            "``",
            "Central",
            "Coast",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "appelation",
            "from",
            "wine",
            "where",
            "year",
            ">",
            "value",
            "except",
            "select",
            "appelation",
            "from",
            "appellations",
            "where",
            "area",
            "=",
            "value"
        ],
        "question": "Find the appelations that produce wines after the year of 2008 but not in Central Coast area.",
        "question_toks": [
            "Find",
            "the",
            "appelations",
            "that",
            "produce",
            "wines",
            "after",
            "the",
            "year",
            "of",
            "2008",
            "but",
            "not",
            "in",
            "Central",
            "Coast",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"Central Coast\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT Appelation FROM WINE WHERE YEAR  >  2008 EXCEPT SELECT Appelation FROM APPELLATIONS WHERE Area  =  \"Central Coast\"",
        "query_toks": [
            "SELECT",
            "Appelation",
            "FROM",
            "WINE",
            "WHERE",
            "YEAR",
            ">",
            "2008",
            "EXCEPT",
            "SELECT",
            "Appelation",
            "FROM",
            "APPELLATIONS",
            "WHERE",
            "Area",
            "=",
            "``",
            "Central",
            "Coast",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "appelation",
            "from",
            "wine",
            "where",
            "year",
            ">",
            "value",
            "except",
            "select",
            "appelation",
            "from",
            "appellations",
            "where",
            "area",
            "=",
            "value"
        ],
        "question": "What are the appelations for wines produced after 2008 but not in the Central Coast area?",
        "question_toks": [
            "What",
            "are",
            "the",
            "appelations",
            "for",
            "wines",
            "produced",
            "after",
            "2008",
            "but",
            "not",
            "in",
            "the",
            "Central",
            "Coast",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    2008.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        "\"Central Coast\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT avg(price) FROM wine WHERE Appelation NOT IN (SELECT T1.Appelation FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.County  =  'Sonoma')",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "wine",
            "WHERE",
            "Appelation",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.Appelation",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.County",
            "=",
            "'Sonoma",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "wine",
            "where",
            "appelation",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "appelation",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "county",
            "=",
            "value",
            ")"
        ],
        "question": "Find the average price of wines that are not produced from Sonoma county.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "price",
            "of",
            "wines",
            "that",
            "are",
            "not",
            "produced",
            "from",
            "Sonoma",
            "county",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Sonoma\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT avg(price) FROM wine WHERE Appelation NOT IN (SELECT T1.Appelation FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T1.County  =  'Sonoma')",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "wine",
            "WHERE",
            "Appelation",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T1.Appelation",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T1.County",
            "=",
            "'Sonoma",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "wine",
            "where",
            "appelation",
            "not",
            "in",
            "(",
            "select",
            "t1",
            ".",
            "appelation",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t1",
            ".",
            "county",
            "=",
            "value",
            ")"
        ],
        "question": "What is the average price for wines not produced in Sonoma county?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "for",
            "wines",
            "not",
            "produced",
            "in",
            "Sonoma",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"Sonoma\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T2.Score  >  90 GROUP BY T1.County ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.County",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T2.Score",
            ">",
            "90",
            "GROUP",
            "BY",
            "T1.County",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t2",
            ".",
            "score",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "county",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the county where produces the most number of wines with score higher than 90.",
        "question_toks": [
            "Find",
            "the",
            "county",
            "where",
            "produces",
            "the",
            "most",
            "number",
            "of",
            "wines",
            "with",
            "score",
            "higher",
            "than",
            "90",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "wine_1",
        "query": "SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation  =  T2.Appelation WHERE T2.Score  >  90 GROUP BY T1.County ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.County",
            "FROM",
            "APPELLATIONS",
            "AS",
            "T1",
            "JOIN",
            "WINE",
            "AS",
            "T2",
            "ON",
            "T1.Appelation",
            "=",
            "T2.Appelation",
            "WHERE",
            "T2.Score",
            ">",
            "90",
            "GROUP",
            "BY",
            "T1.County",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "county",
            "from",
            "appellations",
            "as",
            "t1",
            "join",
            "wine",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "appelation",
            "=",
            "t2",
            ".",
            "appelation",
            "where",
            "t2",
            ".",
            "score",
            ">",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "county",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the county that produces the most wines scoring higher than 90?",
        "question_toks": [
            "What",
            "is",
            "the",
            "county",
            "that",
            "produces",
            "the",
            "most",
            "wines",
            "scoring",
            "higher",
            "than",
            "90",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    90.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT count(*) FROM station",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "station"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "station"
        ],
        "question": "How many train stations are there?",
        "question_toks": [
            "How",
            "many",
            "train",
            "stations",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT name ,  LOCATION ,  number_of_platforms FROM station",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            ",",
            "number_of_platforms",
            "FROM",
            "station"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            ",",
            "number_of_platforms",
            "from",
            "station"
        ],
        "question": "Show the name, location, and number of platforms for all stations.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "location",
            ",",
            "and",
            "number",
            "of",
            "platforms",
            "for",
            "all",
            "stations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT DISTINCT LOCATION FROM station",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "LOCATION",
            "FROM",
            "station"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location",
            "from",
            "station"
        ],
        "question": "What are all locations of train stations?",
        "question_toks": [
            "What",
            "are",
            "all",
            "locations",
            "of",
            "train",
            "stations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT name ,  total_passengers FROM station WHERE LOCATION != 'London'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "total_passengers",
            "FROM",
            "station",
            "WHERE",
            "LOCATION",
            "!",
            "=",
            "'London",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "total_passengers",
            "from",
            "station",
            "where",
            "location",
            "!",
            "=",
            "value"
        ],
        "question": "Show the names and total passengers for all train stations not in London.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "total",
            "passengers",
            "for",
            "all",
            "train",
            "stations",
            "not",
            "in",
            "London",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT name ,  main_services FROM station ORDER BY total_passengers DESC LIMIT 3",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "main_services",
            "FROM",
            "station",
            "ORDER",
            "BY",
            "total_passengers",
            "DESC",
            "LIMIT",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "main_services",
            "from",
            "station",
            "order",
            "by",
            "total_passengers",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the names and main services for train stations that have the top three total number of passengers.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "and",
            "main",
            "services",
            "for",
            "train",
            "stations",
            "that",
            "have",
            "the",
            "top",
            "three",
            "total",
            "number",
            "of",
            "passengers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 3,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT avg(total_passengers) ,  max(total_passengers) FROM station WHERE LOCATION  =  'London' OR LOCATION  =  'Glasgow'",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "total_passengers",
            ")",
            ",",
            "max",
            "(",
            "total_passengers",
            ")",
            "FROM",
            "station",
            "WHERE",
            "LOCATION",
            "=",
            "'London",
            "'",
            "OR",
            "LOCATION",
            "=",
            "'Glasgow",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "total_passengers",
            ")",
            ",",
            "max",
            "(",
            "total_passengers",
            ")",
            "from",
            "station",
            "where",
            "location",
            "=",
            "value",
            "or",
            "location",
            "=",
            "value"
        ],
        "question": "What is the average and maximum number of total passengers for train stations in London or Glasgow?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "and",
            "maximum",
            "number",
            "of",
            "total",
            "passengers",
            "for",
            "train",
            "stations",
            "in",
            "London",
            "or",
            "Glasgow",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Glasgow\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT LOCATION ,  sum(number_of_platforms) ,  sum(total_passengers) FROM station GROUP BY LOCATION",
        "query_toks": [
            "SELECT",
            "LOCATION",
            ",",
            "sum",
            "(",
            "number_of_platforms",
            ")",
            ",",
            "sum",
            "(",
            "total_passengers",
            ")",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "LOCATION"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            ",",
            "sum",
            "(",
            "number_of_platforms",
            ")",
            ",",
            "sum",
            "(",
            "total_passengers",
            ")",
            "from",
            "station",
            "group",
            "by",
            "location"
        ],
        "question": "Show all locations and the total number of platforms and passengers for all train stations in each location.",
        "question_toks": [
            "Show",
            "all",
            "locations",
            "and",
            "the",
            "total",
            "number",
            "of",
            "platforms",
            "and",
            "passengers",
            "for",
            "all",
            "train",
            "stations",
            "in",
            "each",
            "location",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT DISTINCT LOCATION FROM station WHERE number_of_platforms  >=  15 AND total_passengers  >  25",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "LOCATION",
            "FROM",
            "station",
            "WHERE",
            "number_of_platforms",
            ">",
            "=",
            "15",
            "AND",
            "total_passengers",
            ">",
            "25"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "location",
            "from",
            "station",
            "where",
            "number_of_platforms",
            ">",
            "=",
            "value",
            "and",
            "total_passengers",
            ">",
            "value"
        ],
        "question": "Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.",
        "question_toks": [
            "Show",
            "all",
            "locations",
            "that",
            "have",
            "train",
            "stations",
            "with",
            "at",
            "least",
            "15",
            "platforms",
            "and",
            "train",
            "stations",
            "with",
            "more",
            "than",
            "25",
            "total",
            "passengers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    15.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    25.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT LOCATION FROM station EXCEPT SELECT LOCATION FROM station WHERE number_of_platforms  >=  15",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "station",
            "EXCEPT",
            "SELECT",
            "LOCATION",
            "FROM",
            "station",
            "WHERE",
            "number_of_platforms",
            ">",
            "=",
            "15"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "station",
            "except",
            "select",
            "location",
            "from",
            "station",
            "where",
            "number_of_platforms",
            ">",
            "=",
            "value"
        ],
        "question": "Show all locations which don't have a train station with at least 15 platforms.",
        "question_toks": [
            "Show",
            "all",
            "locations",
            "which",
            "do",
            "n't",
            "have",
            "a",
            "train",
            "station",
            "with",
            "at",
            "least",
            "15",
            "platforms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        5,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        15.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT LOCATION FROM station GROUP BY LOCATION ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "LOCATION",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "station",
            "group",
            "by",
            "location",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the location with most number of train stations.",
        "question_toks": [
            "Show",
            "the",
            "location",
            "with",
            "most",
            "number",
            "of",
            "train",
            "stations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT name ,  TIME ,  service FROM train",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "TIME",
            ",",
            "service",
            "FROM",
            "train"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "time",
            ",",
            "service",
            "from",
            "train"
        ],
        "question": "Show the name, time, and service for all trains.",
        "question_toks": [
            "Show",
            "the",
            "name",
            ",",
            "time",
            ",",
            "and",
            "service",
            "for",
            "all",
            "trains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT count(*) FROM train",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "train"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "train"
        ],
        "question": "Show the number of trains",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "trains"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT name ,  service FROM train ORDER BY TIME",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "service",
            "FROM",
            "train",
            "ORDER",
            "BY",
            "TIME"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "service",
            "from",
            "train",
            "order",
            "by",
            "time"
        ],
        "question": "Show the name and service for all trains in order by time.",
        "question_toks": [
            "Show",
            "the",
            "name",
            "and",
            "service",
            "for",
            "all",
            "trains",
            "in",
            "order",
            "by",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT T2.name ,  count(*) FROM train_station AS T1 JOIN station AS T2 ON T1.station_id  =  T2.station_id GROUP BY T1.station_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "train_station",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.station_id",
            "=",
            "T2.station_id",
            "GROUP",
            "BY",
            "T1.station_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "train_station",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "station_id",
            "group",
            "by",
            "t1",
            ".",
            "station_id"
        ],
        "question": "Show the station name and number of trains in each station.",
        "question_toks": [
            "Show",
            "the",
            "station",
            "name",
            "and",
            "number",
            "of",
            "trains",
            "in",
            "each",
            "station",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT T2.name ,  T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id  =  T2.station_id JOIN train AS T3 ON T3.train_id  =  T1.train_id",
        "query_toks": [
            "SELECT",
            "T2.name",
            ",",
            "T3.name",
            "FROM",
            "train_station",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.station_id",
            "=",
            "T2.station_id",
            "JOIN",
            "train",
            "AS",
            "T3",
            "ON",
            "T3.train_id",
            "=",
            "T1.train_id"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "name",
            "from",
            "train_station",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "station_id",
            "join",
            "train",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "train_id",
            "=",
            "t1",
            ".",
            "train_id"
        ],
        "question": "show the train name and station name for each train.",
        "question_toks": [
            "show",
            "the",
            "train",
            "name",
            "and",
            "station",
            "name",
            "for",
            "each",
            "train",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT T3.name ,  T3.time FROM train_station AS T1 JOIN station AS T2 ON T1.station_id  =  T2.station_id JOIN train AS T3 ON T3.train_id  =  T1.train_id WHERE T2.location  =  'London' ORDER BY T3.time DESC",
        "query_toks": [
            "SELECT",
            "T3.name",
            ",",
            "T3.time",
            "FROM",
            "train_station",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.station_id",
            "=",
            "T2.station_id",
            "JOIN",
            "train",
            "AS",
            "T3",
            "ON",
            "T3.train_id",
            "=",
            "T1.train_id",
            "WHERE",
            "T2.location",
            "=",
            "'London",
            "'",
            "ORDER",
            "BY",
            "T3.time",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            ",",
            "t3",
            ".",
            "time",
            "from",
            "train_station",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "station_id",
            "join",
            "train",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "train_id",
            "=",
            "t1",
            ".",
            "train_id",
            "where",
            "t2",
            ".",
            "location",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "time",
            "desc"
        ],
        "question": "Show all train names and times in stations in London in descending order by train time.",
        "question_toks": [
            "Show",
            "all",
            "train",
            "names",
            "and",
            "times",
            "in",
            "stations",
            "in",
            "London",
            "in",
            "descending",
            "order",
            "by",
            "train",
            "time",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"London\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id  =  T2.station_id GROUP BY T1.station_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "train_station",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.station_id",
            "=",
            "T2.station_id",
            "GROUP",
            "BY",
            "T1.station_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "train_station",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "station_id",
            "group",
            "by",
            "t1",
            ".",
            "station_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Show the station name with greatest number of trains.",
        "question_toks": [
            "Show",
            "the",
            "station",
            "name",
            "with",
            "greatest",
            "number",
            "of",
            "trains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id  =  T2.station_id GROUP BY T1.station_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "train_station",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.station_id",
            "=",
            "T2.station_id",
            "GROUP",
            "BY",
            "T1.station_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "train_station",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "station_id",
            "group",
            "by",
            "t1",
            ".",
            "station_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the station name with at least two trains.",
        "question_toks": [
            "Show",
            "the",
            "station",
            "name",
            "with",
            "at",
            "least",
            "two",
            "trains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT LOCATION FROM station GROUP BY LOCATION HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "station",
            "GROUP",
            "BY",
            "LOCATION",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "station",
            "group",
            "by",
            "location",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Show all locations with only 1 station.",
        "question_toks": [
            "Show",
            "all",
            "locations",
            "with",
            "only",
            "1",
            "station",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT name FROM station WHERE station_id NOT IN (SELECT station_id FROM train_station)",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "station",
            "WHERE",
            "station_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "station_id",
            "FROM",
            "train_station",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "station",
            "where",
            "station_id",
            "not",
            "in",
            "(",
            "select",
            "station_id",
            "from",
            "train_station",
            ")"
        ],
        "question": "Show station names without any trains.",
        "question_toks": [
            "Show",
            "station",
            "names",
            "without",
            "any",
            "trains",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id  =  T2.station_id JOIN train AS T3 ON T3.train_id  =  T1.train_id WHERE T3.Name  =  \"Ananthapuri Express\" INTERSECT SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id  =  T2.station_id JOIN train AS T3 ON T3.train_id  =  T1.train_id WHERE T3.Name  =  \"Guruvayur Express\"",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "train_station",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.station_id",
            "=",
            "T2.station_id",
            "JOIN",
            "train",
            "AS",
            "T3",
            "ON",
            "T3.train_id",
            "=",
            "T1.train_id",
            "WHERE",
            "T3.Name",
            "=",
            "``",
            "Ananthapuri",
            "Express",
            "''",
            "INTERSECT",
            "SELECT",
            "T2.name",
            "FROM",
            "train_station",
            "AS",
            "T1",
            "JOIN",
            "station",
            "AS",
            "T2",
            "ON",
            "T1.station_id",
            "=",
            "T2.station_id",
            "JOIN",
            "train",
            "AS",
            "T3",
            "ON",
            "T3.train_id",
            "=",
            "T1.train_id",
            "WHERE",
            "T3.Name",
            "=",
            "``",
            "Guruvayur",
            "Express",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "train_station",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "station_id",
            "join",
            "train",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "train_id",
            "=",
            "t1",
            ".",
            "train_id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "intersect",
            "select",
            "t2",
            ".",
            "name",
            "from",
            "train_station",
            "as",
            "t1",
            "join",
            "station",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "station_id",
            "=",
            "t2",
            ".",
            "station_id",
            "join",
            "train",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "train_id",
            "=",
            "t1",
            ".",
            "train_id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the names of the stations which serve both \"Ananthapuri Express\" and \"Guruvayur Express\" trains?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "stations",
            "which",
            "serve",
            "both",
            "``",
            "Ananthapuri",
            "Express",
            "''",
            "and",
            "``",
            "Guruvayur",
            "Express",
            "''",
            "trains",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Ananthapuri Express\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    14,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    9,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        "\"Guruvayur Express\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id  =  T2.train_id WHERE T1.station_id NOT IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id  =  T4.station_id WHERE t4.location  =  \"London\")",
        "query_toks": [
            "SELECT",
            "T2.name",
            "FROM",
            "train_station",
            "AS",
            "T1",
            "JOIN",
            "train",
            "AS",
            "T2",
            "ON",
            "T1.train_id",
            "=",
            "T2.train_id",
            "WHERE",
            "T1.station_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "T4.station_id",
            "FROM",
            "train_station",
            "AS",
            "T3",
            "JOIN",
            "station",
            "AS",
            "T4",
            "ON",
            "T3.station_id",
            "=",
            "T4.station_id",
            "WHERE",
            "t4.location",
            "=",
            "``",
            "London",
            "''",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "train_station",
            "as",
            "t1",
            "join",
            "train",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "train_id",
            "=",
            "t2",
            ".",
            "train_id",
            "where",
            "t1",
            ".",
            "station_id",
            "not",
            "in",
            "(",
            "select",
            "t4",
            ".",
            "station_id",
            "from",
            "train_station",
            "as",
            "t3",
            "join",
            "station",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "station_id",
            "=",
            "t4",
            ".",
            "station_id",
            "where",
            "t4",
            ".",
            "location",
            "=",
            "value",
            ")"
        ],
        "question": "Find the names of the trains that do not pass any station located in London.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "trains",
            "that",
            "do",
            "not",
            "pass",
            "any",
            "station",
            "located",
            "in",
            "London",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"London\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "train_station",
        "query": "SELECT name ,  LOCATION FROM station ORDER BY Annual_entry_exit ,  Annual_interchanges",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "LOCATION",
            "FROM",
            "station",
            "ORDER",
            "BY",
            "Annual_entry_exit",
            ",",
            "Annual_interchanges"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "location",
            "from",
            "station",
            "order",
            "by",
            "annual_entry_exit",
            ",",
            "annual_interchanges"
        ],
        "question": "List the names and locations of all stations ordered by their yearly entry exit and interchange amounts.",
        "question_toks": [
            "List",
            "the",
            "names",
            "and",
            "locations",
            "of",
            "all",
            "stations",
            "ordered",
            "by",
            "their",
            "yearly",
            "entry",
            "exit",
            "and",
            "interchange",
            "amounts",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT vehicle_id FROM Vehicles;",
        "query_toks": [
            "SELECT",
            "vehicle_id",
            "FROM",
            "Vehicles",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "vehicle_id",
            "from",
            "vehicles"
        ],
        "question": "List all vehicle id",
        "question_toks": [
            "List",
            "all",
            "vehicle",
            "id"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT vehicle_id FROM Vehicles;",
        "query_toks": [
            "SELECT",
            "vehicle_id",
            "FROM",
            "Vehicles",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "vehicle_id",
            "from",
            "vehicles"
        ],
        "question": "What are the ids of all vehicles?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "all",
            "vehicles",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Vehicles;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Vehicles",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "vehicles"
        ],
        "question": "How many vehicle in total?",
        "question_toks": [
            "How",
            "many",
            "vehicle",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Vehicles;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Vehicles",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "vehicles"
        ],
        "question": "How many vehicles exist?",
        "question_toks": [
            "How",
            "many",
            "vehicles",
            "exist",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT vehicle_details FROM Vehicles WHERE vehicle_id = 1;",
        "query_toks": [
            "SELECT",
            "vehicle_details",
            "FROM",
            "Vehicles",
            "WHERE",
            "vehicle_id",
            "=",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "vehicle_details",
            "from",
            "vehicles",
            "where",
            "vehicle_id",
            "=",
            "value"
        ],
        "question": "Show the detail of vehicle with id 1.",
        "question_toks": [
            "Show",
            "the",
            "detail",
            "of",
            "vehicle",
            "with",
            "id",
            "1",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT vehicle_details FROM Vehicles WHERE vehicle_id = 1;",
        "query_toks": [
            "SELECT",
            "vehicle_details",
            "FROM",
            "Vehicles",
            "WHERE",
            "vehicle_id",
            "=",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "vehicle_details",
            "from",
            "vehicles",
            "where",
            "vehicle_id",
            "=",
            "value"
        ],
        "question": "What are the details of the car with id 1?",
        "question_toks": [
            "What",
            "are",
            "the",
            "details",
            "of",
            "the",
            "car",
            "with",
            "id",
            "1",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT first_name ,  middle_name ,  last_name FROM Staff;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "FROM",
            "Staff",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "from",
            "staff"
        ],
        "question": "List the first name middle name and last name of all staff.",
        "question_toks": [
            "List",
            "the",
            "first",
            "name",
            "middle",
            "name",
            "and",
            "last",
            "name",
            "of",
            "all",
            "staff",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT first_name ,  middle_name ,  last_name FROM Staff;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "FROM",
            "Staff",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "middle_name",
            ",",
            "last_name",
            "from",
            "staff"
        ],
        "question": "What are the first, middle, and last names of all staff?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            ",",
            "middle",
            ",",
            "and",
            "last",
            "names",
            "of",
            "all",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_of_birth FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "date_of_birth",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_birth",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the birthday of the staff member with first name as Janessa and last name as Sawayn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "birthday",
            "of",
            "the",
            "staff",
            "member",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_of_birth FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "date_of_birth",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_birth",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the date of birth for the staff member named Janessa Sawayn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "date",
            "of",
            "birth",
            "for",
            "the",
            "staff",
            "member",
            "named",
            "Janessa",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_joined_staff FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "date_joined_staff",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "date_joined_staff",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "When did the staff member with first name as Janessa and last name as Sawayn join the company?",
        "question_toks": [
            "When",
            "did",
            "the",
            "staff",
            "member",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "join",
            "the",
            "company",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_joined_staff FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "date_joined_staff",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "date_joined_staff",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "When did the staff member named Janessa Sawayn join the company?",
        "question_toks": [
            "When",
            "did",
            "the",
            "staff",
            "member",
            "named",
            "Janessa",
            "Sawayn",
            "join",
            "the",
            "company",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_left_staff FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "date_left_staff",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "date_left_staff",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "When did the staff member with first name as Janessa and last name as Sawayn leave the company?",
        "question_toks": [
            "When",
            "did",
            "the",
            "staff",
            "member",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "leave",
            "the",
            "company",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_left_staff FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "date_left_staff",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "date_left_staff",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "When did the staff member Janessa Sawayn leave the company?",
        "question_toks": [
            "When",
            "did",
            "the",
            "staff",
            "member",
            "Janessa",
            "Sawayn",
            "leave",
            "the",
            "company",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Staff WHERE first_name = \"Ludie\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Ludie",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value"
        ],
        "question": "How many staff have the first name Ludie?",
        "question_toks": [
            "How",
            "many",
            "staff",
            "have",
            "the",
            "first",
            "name",
            "Ludie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Ludie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Staff WHERE first_name = \"Ludie\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Ludie",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value"
        ],
        "question": "How many employees have a first name of Ludie?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "have",
            "a",
            "first",
            "name",
            "of",
            "Ludie",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Ludie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT nickname FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "nickname",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "nickname",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the nickname of staff with first name as Janessa and last name as Sawayn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "nickname",
            "of",
            "staff",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT nickname FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "nickname",
            "FROM",
            "Staff",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "nickname",
            "from",
            "staff",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the nickname of the employee named Janessa Sawayn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "nickname",
            "of",
            "the",
            "employee",
            "named",
            "Janessa",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Staff;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Staff",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "staff"
        ],
        "question": "How many staff in total?",
        "question_toks": [
            "How",
            "many",
            "staff",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Staff;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Staff",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "staff"
        ],
        "question": "How many employees are there?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.city FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "Which city does staff with first name as Janessa and last name as Sawayn live?",
        "question_toks": [
            "Which",
            "city",
            "does",
            "staff",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "live",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.city FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "T1.city",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "In what city does Janessa Sawayn live?",
        "question_toks": [
            "In",
            "what",
            "city",
            "does",
            "Janessa",
            "Sawayn",
            "live",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.country ,  T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "T1.country",
            ",",
            "T1.state_province_county",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            ",",
            "t1",
            ".",
            "state_province_county",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "Which country and state does staff with first name as Janessa and last name as Sawayn lived?",
        "question_toks": [
            "Which",
            "country",
            "and",
            "state",
            "does",
            "staff",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "lived",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.country ,  T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "T1.country",
            ",",
            "T1.state_province_county",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            ",",
            "t1",
            ".",
            "state_province_county",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "In which country and state does Janessa Sawayn live?",
        "question_toks": [
            "In",
            "which",
            "country",
            "and",
            "state",
            "does",
            "Janessa",
            "Sawayn",
            "live",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT sum(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id  = T2.customer_id WHERE T2.first_name = \"Rylan\" AND T2.last_name = \"Goodwin\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.lesson_time",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Rylan",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Goodwin",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "lesson_time",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin?",
        "question_toks": [
            "How",
            "long",
            "is",
            "the",
            "total",
            "lesson",
            "time",
            "took",
            "by",
            "customer",
            "with",
            "first",
            "name",
            "as",
            "Rylan",
            "and",
            "last",
            "name",
            "as",
            "Goodwin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Rylan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Goodwin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT sum(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id  = T2.customer_id WHERE T2.first_name = \"Rylan\" AND T2.last_name = \"Goodwin\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.lesson_time",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Rylan",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Goodwin",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "lesson_time",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "How long is the total lesson time took by the customer named Rylan Goodwin?",
        "question_toks": [
            "How",
            "long",
            "is",
            "the",
            "total",
            "lesson",
            "time",
            "took",
            "by",
            "the",
            "customer",
            "named",
            "Rylan",
            "Goodwin",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Rylan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Goodwin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.zip_postcode FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "T1.zip_postcode",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "zip_postcode",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the zip code of staff with first name as Janessa and last name as Sawayn lived?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "of",
            "staff",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "lived",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.zip_postcode FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "T1.zip_postcode",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "zip_postcode",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the zip code of the hosue of the employee named Janessa Sawayn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "of",
            "the",
            "hosue",
            "of",
            "the",
            "employee",
            "named",
            "Janessa",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Addresses WHERE state_province_county = \"Georgia\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Addresses",
            "WHERE",
            "state_province_county",
            "=",
            "``",
            "Georgia",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "where",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "How many staff live in state Georgia?",
        "question_toks": [
            "How",
            "many",
            "staff",
            "live",
            "in",
            "state",
            "Georgia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Georgia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Addresses WHERE state_province_county = \"Georgia\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Addresses",
            "WHERE",
            "state_province_county",
            "=",
            "``",
            "Georgia",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "where",
            "state_province_county",
            "=",
            "value"
        ],
        "question": "How many employees live in Georgia?",
        "question_toks": [
            "How",
            "many",
            "employees",
            "live",
            "in",
            "Georgia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Georgia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.first_name ,  T2.last_name FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T1.city = \"Damianfort\";",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Damianfort",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Find out the first name and last name of staff lived in city Damianfort.",
        "question_toks": [
            "Find",
            "out",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "staff",
            "lived",
            "in",
            "city",
            "Damianfort",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Damianfort\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.first_name ,  T2.last_name FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T1.city = \"Damianfort\";",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "WHERE",
            "T1.city",
            "=",
            "``",
            "Damianfort",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "What is the first and last name of all employees who live in the city Damianfort?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "employees",
            "who",
            "live",
            "in",
            "the",
            "city",
            "Damianfort",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Damianfort\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.city ,  count(*) FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.city ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "GROUP",
            "BY",
            "T1.city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "group",
            "by",
            "t1",
            ".",
            "city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which city lives most of staffs? List the city name and number of staffs.",
        "question_toks": [
            "Which",
            "city",
            "lives",
            "most",
            "of",
            "staffs",
            "?",
            "List",
            "the",
            "city",
            "name",
            "and",
            "number",
            "of",
            "staffs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.city ,  count(*) FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.city ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T1.city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "GROUP",
            "BY",
            "T1.city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "group",
            "by",
            "t1",
            ".",
            "city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "In which city do the most employees live and how many of them live there?",
        "question_toks": [
            "In",
            "which",
            "city",
            "do",
            "the",
            "most",
            "employees",
            "live",
            "and",
            "how",
            "many",
            "of",
            "them",
            "live",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.state_province_county HAVING count(*) BETWEEN 2 AND 4;",
        "query_toks": [
            "SELECT",
            "T1.state_province_county",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "GROUP",
            "BY",
            "T1.state_province_county",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "BETWEEN",
            "2",
            "AND",
            "4",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state_province_county",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "group",
            "by",
            "t1",
            ".",
            "state_province_county",
            "having",
            "count",
            "(",
            "*",
            ")",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "List the states which have between 2 to 4 staffs living there.",
        "question_toks": [
            "List",
            "the",
            "states",
            "which",
            "have",
            "between",
            "2",
            "to",
            "4",
            "staffs",
            "living",
            "there",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    4.0
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.state_province_county HAVING count(*) BETWEEN 2 AND 4;",
        "query_toks": [
            "SELECT",
            "T1.state_province_county",
            "FROM",
            "Addresses",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.address_id",
            "=",
            "T2.staff_address_id",
            "GROUP",
            "BY",
            "T1.state_province_county",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "BETWEEN",
            "2",
            "AND",
            "4",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state_province_county",
            "from",
            "addresses",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "address_id",
            "=",
            "t2",
            ".",
            "staff_address_id",
            "group",
            "by",
            "t1",
            ".",
            "state_province_county",
            "having",
            "count",
            "(",
            "*",
            ")",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names of the states that have 2 to 4 employees living there?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "states",
            "that",
            "have",
            "2",
            "to",
            "4",
            "employees",
            "living",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    4.0
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT first_name ,  last_name FROM Customers;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "Customers",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "customers"
        ],
        "question": "List the first name and last name of all customers.",
        "question_toks": [
            "List",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "all",
            "customers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT first_name ,  last_name FROM Customers;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "Customers",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "customers"
        ],
        "question": "What are the first and last names for all customers?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "for",
            "all",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT email_address ,  date_of_birth FROM Customers WHERE first_name = \"Carole\"",
        "query_toks": [
            "SELECT",
            "email_address",
            ",",
            "date_of_birth",
            "FROM",
            "Customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Carole",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            ",",
            "date_of_birth",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value"
        ],
        "question": "List email address and birthday of customer whose first name as Carole.",
        "question_toks": [
            "List",
            "email",
            "address",
            "and",
            "birthday",
            "of",
            "customer",
            "whose",
            "first",
            "name",
            "as",
            "Carole",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT email_address ,  date_of_birth FROM Customers WHERE first_name = \"Carole\"",
        "query_toks": [
            "SELECT",
            "email_address",
            ",",
            "date_of_birth",
            "FROM",
            "Customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Carole",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "email_address",
            ",",
            "date_of_birth",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value"
        ],
        "question": "What are the email addresses and date of births for all customers who have a first name of Carole?",
        "question_toks": [
            "What",
            "are",
            "the",
            "email",
            "addresses",
            "and",
            "date",
            "of",
            "births",
            "for",
            "all",
            "customers",
            "who",
            "have",
            "a",
            "first",
            "name",
            "of",
            "Carole",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT phone_number ,  email_address FROM Customers WHERE amount_outstanding  >  2000;",
        "query_toks": [
            "SELECT",
            "phone_number",
            ",",
            "email_address",
            "FROM",
            "Customers",
            "WHERE",
            "amount_outstanding",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "phone_number",
            ",",
            "email_address",
            "from",
            "customers",
            "where",
            "amount_outstanding",
            ">",
            "value"
        ],
        "question": "List phone number and email address of customer with more than 2000 outstanding balance.",
        "question_toks": [
            "List",
            "phone",
            "number",
            "and",
            "email",
            "address",
            "of",
            "customer",
            "with",
            "more",
            "than",
            "2000",
            "outstanding",
            "balance",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT phone_number ,  email_address FROM Customers WHERE amount_outstanding  >  2000;",
        "query_toks": [
            "SELECT",
            "phone_number",
            ",",
            "email_address",
            "FROM",
            "Customers",
            "WHERE",
            "amount_outstanding",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "phone_number",
            ",",
            "email_address",
            "from",
            "customers",
            "where",
            "amount_outstanding",
            ">",
            "value"
        ],
        "question": "What are the phone numbers and email addresses of all customers who have an outstanding balance of more than 2000?",
        "question_toks": [
            "What",
            "are",
            "the",
            "phone",
            "numbers",
            "and",
            "email",
            "addresses",
            "of",
            "all",
            "customers",
            "who",
            "have",
            "an",
            "outstanding",
            "balance",
            "of",
            "more",
            "than",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT customer_status_code ,  cell_mobile_phone_number ,  email_address FROM Customers WHERE first_name = \"Marina\" OR last_name  =  \"Kohler\"",
        "query_toks": [
            "SELECT",
            "customer_status_code",
            ",",
            "cell_mobile_phone_number",
            ",",
            "email_address",
            "FROM",
            "Customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Marina",
            "''",
            "OR",
            "last_name",
            "=",
            "``",
            "Kohler",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_status_code",
            ",",
            "cell_mobile_phone_number",
            ",",
            "email_address",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "or",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the status code, mobile phone number and email address of customer with last name as Kohler or first name as Marina?",
        "question_toks": [
            "What",
            "is",
            "the",
            "status",
            "code",
            ",",
            "mobile",
            "phone",
            "number",
            "and",
            "email",
            "address",
            "of",
            "customer",
            "with",
            "last",
            "name",
            "as",
            "Kohler",
            "or",
            "first",
            "name",
            "as",
            "Marina",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Marina\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Kohler\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT customer_status_code ,  cell_mobile_phone_number ,  email_address FROM Customers WHERE first_name = \"Marina\" OR last_name  =  \"Kohler\"",
        "query_toks": [
            "SELECT",
            "customer_status_code",
            ",",
            "cell_mobile_phone_number",
            ",",
            "email_address",
            "FROM",
            "Customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Marina",
            "''",
            "OR",
            "last_name",
            "=",
            "``",
            "Kohler",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "customer_status_code",
            ",",
            "cell_mobile_phone_number",
            ",",
            "email_address",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "or",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the status code, phone number, and email address of the customer whose last name is Kohler or whose first name is Marina?",
        "question_toks": [
            "What",
            "is",
            "the",
            "status",
            "code",
            ",",
            "phone",
            "number",
            ",",
            "and",
            "email",
            "address",
            "of",
            "the",
            "customer",
            "whose",
            "last",
            "name",
            "is",
            "Kohler",
            "or",
            "whose",
            "first",
            "name",
            "is",
            "Marina",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Marina\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Kohler\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_of_birth FROM Customers WHERE customer_status_code  =  'Good Customer'",
        "query_toks": [
            "SELECT",
            "date_of_birth",
            "FROM",
            "Customers",
            "WHERE",
            "customer_status_code",
            "=",
            "'Good",
            "Customer",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_birth",
            "from",
            "customers",
            "where",
            "customer_status_code",
            "=",
            "value"
        ],
        "question": "When are the birthdays of customer who are classified as 'Good Customer' status?",
        "question_toks": [
            "When",
            "are",
            "the",
            "birthdays",
            "of",
            "customer",
            "who",
            "are",
            "classified",
            "as",
            "'Good",
            "Customer",
            "'",
            "status",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Good Customer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_of_birth FROM Customers WHERE customer_status_code  =  'Good Customer'",
        "query_toks": [
            "SELECT",
            "date_of_birth",
            "FROM",
            "Customers",
            "WHERE",
            "customer_status_code",
            "=",
            "'Good",
            "Customer",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "date_of_birth",
            "from",
            "customers",
            "where",
            "customer_status_code",
            "=",
            "value"
        ],
        "question": "What is the date of birth of every customer whose status code is 'Good Customer'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "date",
            "of",
            "birth",
            "of",
            "every",
            "customer",
            "whose",
            "status",
            "code",
            "is",
            "'Good",
            "Customer",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "\"Good Customer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_became_customer FROM Customers WHERE first_name = \"Carole\" AND last_name = \"Bernhard\";",
        "query_toks": [
            "SELECT",
            "date_became_customer",
            "FROM",
            "Customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Carole",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Bernhard",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "date_became_customer",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "When did customer with first name as Carole and last name as Bernhard became a customer?",
        "question_toks": [
            "When",
            "did",
            "customer",
            "with",
            "first",
            "name",
            "as",
            "Carole",
            "and",
            "last",
            "name",
            "as",
            "Bernhard",
            "became",
            "a",
            "customer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Bernhard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT date_became_customer FROM Customers WHERE first_name = \"Carole\" AND last_name = \"Bernhard\";",
        "query_toks": [
            "SELECT",
            "date_became_customer",
            "FROM",
            "Customers",
            "WHERE",
            "first_name",
            "=",
            "``",
            "Carole",
            "''",
            "AND",
            "last_name",
            "=",
            "``",
            "Bernhard",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "date_became_customer",
            "from",
            "customers",
            "where",
            "first_name",
            "=",
            "value",
            "and",
            "last_name",
            "=",
            "value"
        ],
        "question": "When did Carole Bernhard first become a customer?",
        "question_toks": [
            "When",
            "did",
            "Carole",
            "Bernhard",
            "first",
            "become",
            "a",
            "customer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Bernhard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Customers;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "How many customers in total?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "in",
            "total",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Customers;",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers"
        ],
        "question": "How many customers are there?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT customer_status_code , count(*) FROM Customers GROUP BY customer_status_code;",
        "query_toks": [
            "SELECT",
            "customer_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "GROUP",
            "BY",
            "customer_status_code",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "customer_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "group",
            "by",
            "customer_status_code"
        ],
        "question": "List all customer status codes and the number of customers having each status code.",
        "question_toks": [
            "List",
            "all",
            "customer",
            "status",
            "codes",
            "and",
            "the",
            "number",
            "of",
            "customers",
            "having",
            "each",
            "status",
            "code",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT customer_status_code , count(*) FROM Customers GROUP BY customer_status_code;",
        "query_toks": [
            "SELECT",
            "customer_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "GROUP",
            "BY",
            "customer_status_code",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "customer_status_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "group",
            "by",
            "customer_status_code"
        ],
        "question": "For each customer status code, how many customers are classified that way?",
        "question_toks": [
            "For",
            "each",
            "customer",
            "status",
            "code",
            ",",
            "how",
            "many",
            "customers",
            "are",
            "classified",
            "that",
            "way",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT customer_status_code FROM Customers GROUP BY customer_status_code ORDER BY count(*) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "customer_status_code",
            "FROM",
            "Customers",
            "GROUP",
            "BY",
            "customer_status_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "customer_status_code",
            "from",
            "customers",
            "group",
            "by",
            "customer_status_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which customer status code has least number of customers?",
        "question_toks": [
            "Which",
            "customer",
            "status",
            "code",
            "has",
            "least",
            "number",
            "of",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT customer_status_code FROM Customers GROUP BY customer_status_code ORDER BY count(*) ASC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "customer_status_code",
            "FROM",
            "Customers",
            "GROUP",
            "BY",
            "customer_status_code",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "customer_status_code",
            "from",
            "customers",
            "group",
            "by",
            "customer_status_code",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "What is the status code with the least number of customers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "status",
            "code",
            "with",
            "the",
            "least",
            "number",
            "of",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    20,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id  = T2.customer_id WHERE T2.first_name = \"Rylan\" AND T2.last_name = \"Goodwin\" AND T1.lesson_status_code = \"Completed\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Rylan",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Goodwin",
            "''",
            "AND",
            "T1.lesson_status_code",
            "=",
            "``",
            "Completed",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lesson_status_code",
            "=",
            "value"
        ],
        "question": "How many lessons taken by customer with first name as Rylan and last name as Goodwin were completed?",
        "question_toks": [
            "How",
            "many",
            "lessons",
            "taken",
            "by",
            "customer",
            "with",
            "first",
            "name",
            "as",
            "Rylan",
            "and",
            "last",
            "name",
            "as",
            "Goodwin",
            "were",
            "completed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Rylan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Goodwin\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Completed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id  = T2.customer_id WHERE T2.first_name = \"Rylan\" AND T2.last_name = \"Goodwin\" AND T1.lesson_status_code = \"Completed\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Rylan",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Goodwin",
            "''",
            "AND",
            "T1.lesson_status_code",
            "=",
            "``",
            "Completed",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lesson_status_code",
            "=",
            "value"
        ],
        "question": "How many lessons did the customer Ryan Goodwin complete?",
        "question_toks": [
            "How",
            "many",
            "lessons",
            "did",
            "the",
            "customer",
            "Ryan",
            "Goodwin",
            "complete",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Rylan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Goodwin\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Completed\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT max(amount_outstanding) ,  min(amount_outstanding) ,  avg(amount_outstanding) FROM Customers;",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "amount_outstanding",
            ")",
            ",",
            "min",
            "(",
            "amount_outstanding",
            ")",
            ",",
            "avg",
            "(",
            "amount_outstanding",
            ")",
            "FROM",
            "Customers",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "amount_outstanding",
            ")",
            ",",
            "min",
            "(",
            "amount_outstanding",
            ")",
            ",",
            "avg",
            "(",
            "amount_outstanding",
            ")",
            "from",
            "customers"
        ],
        "question": "What is maximum, minimum and average amount of outstanding of customer?",
        "question_toks": [
            "What",
            "is",
            "maximum",
            ",",
            "minimum",
            "and",
            "average",
            "amount",
            "of",
            "outstanding",
            "of",
            "customer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT max(amount_outstanding) ,  min(amount_outstanding) ,  avg(amount_outstanding) FROM Customers;",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "amount_outstanding",
            ")",
            ",",
            "min",
            "(",
            "amount_outstanding",
            ")",
            ",",
            "avg",
            "(",
            "amount_outstanding",
            ")",
            "FROM",
            "Customers",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "amount_outstanding",
            ")",
            ",",
            "min",
            "(",
            "amount_outstanding",
            ")",
            ",",
            "avg",
            "(",
            "amount_outstanding",
            ")",
            "from",
            "customers"
        ],
        "question": "What is the maximum, minimum, and average amount of money outsanding for all customers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            ",",
            "minimum",
            ",",
            "and",
            "average",
            "amount",
            "of",
            "money",
            "outsanding",
            "for",
            "all",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT first_name ,  last_name FROM Customers WHERE amount_outstanding BETWEEN 1000 AND 3000;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "Customers",
            "WHERE",
            "amount_outstanding",
            "BETWEEN",
            "1000",
            "AND",
            "3000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "customers",
            "where",
            "amount_outstanding",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "List the first name and last name of customers have the amount of outstanding between 1000 and 3000.",
        "question_toks": [
            "List",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "customers",
            "have",
            "the",
            "amount",
            "of",
            "outstanding",
            "between",
            "1000",
            "and",
            "3000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    3000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT first_name ,  last_name FROM Customers WHERE amount_outstanding BETWEEN 1000 AND 3000;",
        "query_toks": [
            "SELECT",
            "first_name",
            ",",
            "last_name",
            "FROM",
            "Customers",
            "WHERE",
            "amount_outstanding",
            "BETWEEN",
            "1000",
            "AND",
            "3000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            ",",
            "last_name",
            "from",
            "customers",
            "where",
            "amount_outstanding",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the first and last names of all customers with between 1000 and 3000 dollars outstanding?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "customers",
            "with",
            "between",
            "1000",
            "and",
            "3000",
            "dollars",
            "outstanding",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    1000.0,
                    3000.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.first_name ,  T1.last_name FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T2.city = \"Lockmanfurt\";",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.customer_address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T2.city",
            "=",
            "``",
            "Lockmanfurt",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "List first name and last name of customers lived in city Lockmanfurt.",
        "question_toks": [
            "List",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "customers",
            "lived",
            "in",
            "city",
            "Lockmanfurt",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Lockmanfurt\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.first_name ,  T1.last_name FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T2.city = \"Lockmanfurt\";",
        "query_toks": [
            "SELECT",
            "T1.first_name",
            ",",
            "T1.last_name",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.customer_address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T2.city",
            "=",
            "``",
            "Lockmanfurt",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "first_name",
            ",",
            "t1",
            ".",
            "last_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "What are the first and last names of all customers who lived in Lockmanfurt?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "customers",
            "who",
            "lived",
            "in",
            "Lockmanfurt",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Lockmanfurt\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.country FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = \"Carole\" AND T1.last_name = \"Bernhard\"",
        "query_toks": [
            "SELECT",
            "T2.country",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.customer_address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Carole",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Bernhard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "country",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "Which country does customer with first name as Carole and last name as Bernhard lived in?",
        "question_toks": [
            "Which",
            "country",
            "does",
            "customer",
            "with",
            "first",
            "name",
            "as",
            "Carole",
            "and",
            "last",
            "name",
            "as",
            "Bernhard",
            "lived",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Bernhard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.country FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = \"Carole\" AND T1.last_name = \"Bernhard\"",
        "query_toks": [
            "SELECT",
            "T2.country",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.customer_address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Carole",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Bernhard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "country",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the country in which the customer Carole Bernhard lived?",
        "question_toks": [
            "What",
            "is",
            "the",
            "country",
            "in",
            "which",
            "the",
            "customer",
            "Carole",
            "Bernhard",
            "lived",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Bernhard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.zip_postcode FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = \"Carole\" AND T1.last_name = \"Bernhard\"",
        "query_toks": [
            "SELECT",
            "T2.zip_postcode",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.customer_address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Carole",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Bernhard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "zip_postcode",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is zip code of customer with first name as Carole and last name as Bernhard?",
        "question_toks": [
            "What",
            "is",
            "zip",
            "code",
            "of",
            "customer",
            "with",
            "first",
            "name",
            "as",
            "Carole",
            "and",
            "last",
            "name",
            "as",
            "Bernhard",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Bernhard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.zip_postcode FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = \"Carole\" AND T1.last_name = \"Bernhard\"",
        "query_toks": [
            "SELECT",
            "T2.zip_postcode",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.customer_address_id",
            "=",
            "T2.address_id",
            "WHERE",
            "T1.first_name",
            "=",
            "``",
            "Carole",
            "''",
            "AND",
            "T1.last_name",
            "=",
            "``",
            "Bernhard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "zip_postcode",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "where",
            "t1",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the zip code of the customer Carole Bernhard?",
        "question_toks": [
            "What",
            "is",
            "the",
            "zip",
            "code",
            "of",
            "the",
            "customer",
            "Carole",
            "Bernhard",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Bernhard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.city FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id GROUP BY T2.city ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.city",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.customer_address_id",
            "=",
            "T2.address_id",
            "GROUP",
            "BY",
            "T2.city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "city",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "group",
            "by",
            "t2",
            ".",
            "city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which city does has most number of customers?",
        "question_toks": [
            "Which",
            "city",
            "does",
            "has",
            "most",
            "number",
            "of",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.city FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id GROUP BY T2.city ORDER BY count(*) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "T2.city",
            "FROM",
            "Customers",
            "AS",
            "T1",
            "JOIN",
            "Addresses",
            "AS",
            "T2",
            "ON",
            "T1.customer_address_id",
            "=",
            "T2.address_id",
            "GROUP",
            "BY",
            "T2.city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "city",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "addresses",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_address_id",
            "=",
            "t2",
            ".",
            "address_id",
            "group",
            "by",
            "t2",
            ".",
            "city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the city with the most customers?",
        "question_toks": [
            "What",
            "is",
            "the",
            "city",
            "with",
            "the",
            "most",
            "customers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT sum(T1.amount_payment) FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = \"Carole\" AND T2.last_name = \"Bernhard\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.amount_payment",
            ")",
            "FROM",
            "Customer_Payments",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Carole",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Bernhard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "amount_payment",
            ")",
            "from",
            "customer_payments",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "How much in total does customer with first name as Carole and last name as Bernhard paid?",
        "question_toks": [
            "How",
            "much",
            "in",
            "total",
            "does",
            "customer",
            "with",
            "first",
            "name",
            "as",
            "Carole",
            "and",
            "last",
            "name",
            "as",
            "Bernhard",
            "paid",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Bernhard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT sum(T1.amount_payment) FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = \"Carole\" AND T2.last_name = \"Bernhard\"",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "T1.amount_payment",
            ")",
            "FROM",
            "Customer_Payments",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Carole",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Bernhard",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "amount_payment",
            ")",
            "from",
            "customer_payments",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the total amount of moeny paid by the customer Carole Bernhard?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "amount",
            "of",
            "moeny",
            "paid",
            "by",
            "the",
            "customer",
            "Carole",
            "Bernhard",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                32,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Carole\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Bernhard\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Customers WHERE customer_id NOT IN ( SELECT customer_id FROM Customer_Payments );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "Customer_Payments",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "customer_payments",
            ")"
        ],
        "question": "List the number of customers that did not have any payment history.",
        "question_toks": [
            "List",
            "the",
            "number",
            "of",
            "customers",
            "that",
            "did",
            "not",
            "have",
            "any",
            "payment",
            "history",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Customers WHERE customer_id NOT IN ( SELECT customer_id FROM Customer_Payments );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customers",
            "WHERE",
            "customer_id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "customer_id",
            "FROM",
            "Customer_Payments",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customers",
            "where",
            "customer_id",
            "not",
            "in",
            "(",
            "select",
            "customer_id",
            "from",
            "customer_payments",
            ")"
        ],
        "question": "How many customers have no payment histories?",
        "question_toks": [
            "How",
            "many",
            "customers",
            "have",
            "no",
            "payment",
            "histories",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    4
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.first_name ,  T2.last_name FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >  2;",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "Customer_Payments",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "customer_payments",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List first name and last name of customers that have more than 2 payments.",
        "question_toks": [
            "List",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "customers",
            "that",
            "have",
            "more",
            "than",
            "2",
            "payments",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T2.first_name ,  T2.last_name FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >  2;",
        "query_toks": [
            "SELECT",
            "T2.first_name",
            ",",
            "T2.last_name",
            "FROM",
            "Customer_Payments",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "first_name",
            ",",
            "t2",
            ".",
            "last_name",
            "from",
            "customer_payments",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the first and last names of all customers with more than 2 payments?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "names",
            "of",
            "all",
            "customers",
            "with",
            "more",
            "than",
            "2",
            "payments",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    29,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT payment_method_code ,  count(*) FROM Customer_Payments GROUP BY payment_method_code;",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customer_Payments",
            "GROUP",
            "BY",
            "payment_method_code",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer_payments",
            "group",
            "by",
            "payment_method_code"
        ],
        "question": "List all payment methods and number of payments using each payment methods.",
        "question_toks": [
            "List",
            "all",
            "payment",
            "methods",
            "and",
            "number",
            "of",
            "payments",
            "using",
            "each",
            "payment",
            "methods",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT payment_method_code ,  count(*) FROM Customer_Payments GROUP BY payment_method_code;",
        "query_toks": [
            "SELECT",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Customer_Payments",
            "GROUP",
            "BY",
            "payment_method_code",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "payment_method_code",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "customer_payments",
            "group",
            "by",
            "payment_method_code"
        ],
        "question": "For each payment method, how many payments were made?",
        "question_toks": [
            "For",
            "each",
            "payment",
            "method",
            ",",
            "how",
            "many",
            "payments",
            "were",
            "made",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                31,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    31,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Lessons WHERE lesson_status_code = \"Cancelled\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Lessons",
            "WHERE",
            "lesson_status_code",
            "=",
            "``",
            "Cancelled",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "lessons",
            "where",
            "lesson_status_code",
            "=",
            "value"
        ],
        "question": "How many lessons were in cancelled state?",
        "question_toks": [
            "How",
            "many",
            "lessons",
            "were",
            "in",
            "cancelled",
            "state",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Lessons WHERE lesson_status_code = \"Cancelled\";",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Lessons",
            "WHERE",
            "lesson_status_code",
            "=",
            "``",
            "Cancelled",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "lessons",
            "where",
            "lesson_status_code",
            "=",
            "value"
        ],
        "question": "How many lessons have been cancelled?",
        "question_toks": [
            "How",
            "many",
            "lessons",
            "have",
            "been",
            "cancelled",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"Cancelled\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.lesson_id FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\" AND nickname LIKE \"%s%\";",
        "query_toks": [
            "SELECT",
            "T1.lesson_id",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            "AND",
            "nickname",
            "LIKE",
            "``",
            "%",
            "s",
            "%",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lesson_id",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value",
            "and",
            "nickname",
            "like",
            "value"
        ],
        "question": "List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'.",
        "question_toks": [
            "List",
            "lesson",
            "id",
            "of",
            "all",
            "lessons",
            "taught",
            "by",
            "staff",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            ",",
            "last",
            "name",
            "as",
            "Sawayn",
            "and",
            "nickname",
            "containing",
            "letter",
            "'s",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ],
                "and",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%s%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.lesson_id FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\" AND nickname LIKE \"%s%\";",
        "query_toks": [
            "SELECT",
            "T1.lesson_id",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            "AND",
            "nickname",
            "LIKE",
            "``",
            "%",
            "s",
            "%",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lesson_id",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value",
            "and",
            "nickname",
            "like",
            "value"
        ],
        "question": "What are the the lesson ids of all staff taught by Janessa Sawayn whose nickname has the letter s?",
        "question_toks": [
            "What",
            "are",
            "the",
            "the",
            "lesson",
            "ids",
            "of",
            "all",
            "staff",
            "taught",
            "by",
            "Janessa",
            "Sawayn",
            "whose",
            "nickname",
            "has",
            "the",
            "letter",
            "s",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ],
                "and",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"%s%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name LIKE \"%a%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "LIKE",
            "``",
            "%",
            "a",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "like",
            "value"
        ],
        "question": "How many lessons taught by staff whose first name has letter 'a' in it?",
        "question_toks": [
            "How",
            "many",
            "lessons",
            "taught",
            "by",
            "staff",
            "whose",
            "first",
            "name",
            "has",
            "letter",
            "'a",
            "'",
            "in",
            "it",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name LIKE \"%a%\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "LIKE",
            "``",
            "%",
            "a",
            "%",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "like",
            "value"
        ],
        "question": "How many lessons were taught by a staff member whose first name has the letter 'a' in it?",
        "question_toks": [
            "How",
            "many",
            "lessons",
            "were",
            "taught",
            "by",
            "a",
            "staff",
            "member",
            "whose",
            "first",
            "name",
            "has",
            "the",
            "letter",
            "'a",
            "'",
            "in",
            "it",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"%a%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT sum(lesson_time) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "lesson_time",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "lesson_time",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "How long is the total lesson time taught by staff with first name as Janessa and last name as Sawayn?",
        "question_toks": [
            "How",
            "long",
            "is",
            "the",
            "total",
            "lesson",
            "time",
            "taught",
            "by",
            "staff",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT sum(lesson_time) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "sum",
            "(",
            "lesson_time",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "lesson_time",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the total time for all lessons taught by Janessa Sawayn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "time",
            "for",
            "all",
            "lessons",
            "taught",
            "by",
            "Janessa",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT avg(price) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is average lesson price taught by staff with first name as Janessa and last name as Sawayn?",
        "question_toks": [
            "What",
            "is",
            "average",
            "lesson",
            "price",
            "taught",
            "by",
            "staff",
            "with",
            "first",
            "name",
            "as",
            "Janessa",
            "and",
            "last",
            "name",
            "as",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT avg(price) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\";",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "price",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Janessa",
            "''",
            "AND",
            "T2.last_name",
            "=",
            "``",
            "Sawayn",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "price",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "last_name",
            "=",
            "value"
        ],
        "question": "What is the average price for a lesson taught by Janessa Sawayn?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "price",
            "for",
            "a",
            "lesson",
            "taught",
            "by",
            "Janessa",
            "Sawayn",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Janessa\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Sawayn\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id  = T2.customer_id WHERE T2.first_name = \"Ray\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Ray",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "How many lesson does customer with first name Ray took?",
        "question_toks": [
            "How",
            "many",
            "lesson",
            "does",
            "customer",
            "with",
            "first",
            "name",
            "Ray",
            "took",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Ray\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT count(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id  = T2.customer_id WHERE T2.first_name = \"Ray\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.first_name",
            "=",
            "``",
            "Ray",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "first_name",
            "=",
            "value"
        ],
        "question": "How many lessons did the customer with the first name Ray take?",
        "question_toks": [
            "How",
            "many",
            "lessons",
            "did",
            "the",
            "customer",
            "with",
            "the",
            "first",
            "name",
            "Ray",
            "take",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Ray\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT last_name FROM Customers INTERSECT SELECT last_name FROM Staff",
        "query_toks": [
            "SELECT",
            "last_name",
            "FROM",
            "Customers",
            "INTERSECT",
            "SELECT",
            "last_name",
            "FROM",
            "Staff"
        ],
        "query_toks_no_value": [
            "select",
            "last_name",
            "from",
            "customers",
            "intersect",
            "select",
            "last_name",
            "from",
            "staff"
        ],
        "question": "Which last names are both used by customers and by staff?",
        "question_toks": [
            "Which",
            "last",
            "names",
            "are",
            "both",
            "used",
            "by",
            "customers",
            "and",
            "by",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT last_name FROM Customers INTERSECT SELECT last_name FROM Staff",
        "query_toks": [
            "SELECT",
            "last_name",
            "FROM",
            "Customers",
            "INTERSECT",
            "SELECT",
            "last_name",
            "FROM",
            "Staff"
        ],
        "query_toks_no_value": [
            "select",
            "last_name",
            "from",
            "customers",
            "intersect",
            "select",
            "last_name",
            "from",
            "staff"
        ],
        "question": "What are the last names that are used by customers and staff?",
        "question_toks": [
            "What",
            "are",
            "the",
            "last",
            "names",
            "that",
            "are",
            "used",
            "by",
            "customers",
            "and",
            "staff",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    12,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT first_name FROM Staff EXCEPT SELECT T2.first_name FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id  =  T2.staff_id",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "Staff",
            "EXCEPT",
            "SELECT",
            "T2.first_name",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "staff",
            "except",
            "select",
            "t2",
            ".",
            "first_name",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id"
        ],
        "question": "What is the first name of the staff who did not give any lesson?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "the",
            "staff",
            "who",
            "did",
            "not",
            "give",
            "any",
            "lesson",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    36,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT first_name FROM Staff EXCEPT SELECT T2.first_name FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id  =  T2.staff_id",
        "query_toks": [
            "SELECT",
            "first_name",
            "FROM",
            "Staff",
            "EXCEPT",
            "SELECT",
            "T2.first_name",
            "FROM",
            "Lessons",
            "AS",
            "T1",
            "JOIN",
            "Staff",
            "AS",
            "T2",
            "ON",
            "T1.staff_id",
            "=",
            "T2.staff_id"
        ],
        "query_toks_no_value": [
            "select",
            "first_name",
            "from",
            "staff",
            "except",
            "select",
            "t2",
            ".",
            "first_name",
            "from",
            "lessons",
            "as",
            "t1",
            "join",
            "staff",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "staff_id",
            "=",
            "t2",
            ".",
            "staff_id"
        ],
        "question": "What is the first name of all employees who do not give any lessons?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "name",
            "of",
            "all",
            "employees",
            "who",
            "do",
            "not",
            "give",
            "any",
            "lessons",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            5
                        ],
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    36,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    10,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "driving_school",
        "query": "SELECT T1.vehicle_id ,  T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id  =  T2.vehicle_id GROUP BY T1.vehicle_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.vehicle_id",
            ",",
            "T1.vehicle_details",
            "FROM",
            "Vehicles",
            "AS",
            "T1",
            "JOIN",
            "Lessons",
            "AS",
            "T2",
            "ON",
            "T1.vehicle_id",
            "=",
            "T2.vehicle_id",
            "GROUP",
            "BY",
            "T1.vehicle_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "vehicle_id",
            ",",
            "t1",
            ".",
            "vehicle_details",
            "from",
            "vehicles",
            "as",
            "t1",
            "join",
            "lessons",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "vehicle_id",
            "=",
            "t2",
            ".",
            "vehicle_id",
            "group",
            "by",
            "t1",
            ".",
            "vehicle_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id and detail of the vehicle used in lessons for most of the times?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "and",
            "detail",
            "of",
            "the",
            "vehicle",
            "used",
            "in",
            "lessons",
            "for",
            "most",
            "of",
            "the",
            "times",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Faculty",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty"
        ],
        "question": "How many faculty do we have?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Faculty",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty"
        ],
        "question": "What is the total number of faculty members?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "faculty",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT DISTINCT rank FROM Faculty",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "rank",
            "FROM",
            "Faculty"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "rank",
            "from",
            "faculty"
        ],
        "question": "What ranks do we have for faculty?",
        "question_toks": [
            "What",
            "ranks",
            "do",
            "we",
            "have",
            "for",
            "faculty",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT DISTINCT rank FROM Faculty",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "rank",
            "FROM",
            "Faculty"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "rank",
            "from",
            "faculty"
        ],
        "question": "Find the list of distinct ranks for faculty.",
        "question_toks": [
            "Find",
            "the",
            "list",
            "of",
            "distinct",
            "ranks",
            "for",
            "faculty",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT DISTINCT building FROM Faculty",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "building",
            "FROM",
            "Faculty"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "building",
            "from",
            "faculty"
        ],
        "question": "Show all the distinct buildings that have faculty rooms.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "distinct",
            "buildings",
            "that",
            "have",
            "faculty",
            "rooms",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT DISTINCT building FROM Faculty",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "building",
            "FROM",
            "Faculty"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "building",
            "from",
            "faculty"
        ],
        "question": "What buildings have faculty offices?",
        "question_toks": [
            "What",
            "buildings",
            "have",
            "faculty",
            "offices",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT rank ,  Fname ,  Lname FROM Faculty",
        "query_toks": [
            "SELECT",
            "rank",
            ",",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "Faculty"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            ",",
            "fname",
            ",",
            "lname",
            "from",
            "faculty"
        ],
        "question": "Show the rank, first name, and last name for all the faculty.",
        "question_toks": [
            "Show",
            "the",
            "rank",
            ",",
            "first",
            "name",
            ",",
            "and",
            "last",
            "name",
            "for",
            "all",
            "the",
            "faculty",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT rank ,  Fname ,  Lname FROM Faculty",
        "query_toks": [
            "SELECT",
            "rank",
            ",",
            "Fname",
            ",",
            "Lname",
            "FROM",
            "Faculty"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            ",",
            "fname",
            ",",
            "lname",
            "from",
            "faculty"
        ],
        "question": "What are the rank, first name, and last name of the faculty members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "rank",
            ",",
            "first",
            "name",
            ",",
            "and",
            "last",
            "name",
            "of",
            "the",
            "faculty",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT Fname ,  Lname ,  phone FROM Faculty WHERE Sex  =  'F'",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            ",",
            "phone",
            "FROM",
            "Faculty",
            "WHERE",
            "Sex",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            ",",
            "phone",
            "from",
            "faculty",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "Show the first name, last name, and phone number for all female faculty members.",
        "question_toks": [
            "Show",
            "the",
            "first",
            "name",
            ",",
            "last",
            "name",
            ",",
            "and",
            "phone",
            "number",
            "for",
            "all",
            "female",
            "faculty",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT Fname ,  Lname ,  phone FROM Faculty WHERE Sex  =  'F'",
        "query_toks": [
            "SELECT",
            "Fname",
            ",",
            "Lname",
            ",",
            "phone",
            "FROM",
            "Faculty",
            "WHERE",
            "Sex",
            "=",
            "'F",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            ",",
            "phone",
            "from",
            "faculty",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "What are the first name, last name, and phone number of all the female faculty members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            ",",
            "last",
            "name",
            ",",
            "and",
            "phone",
            "number",
            "of",
            "all",
            "the",
            "female",
            "faculty",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT FacID FROM Faculty WHERE Sex  =  'M'",
        "query_toks": [
            "SELECT",
            "FacID",
            "FROM",
            "Faculty",
            "WHERE",
            "Sex",
            "=",
            "'M",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "facid",
            "from",
            "faculty",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "Show ids for all the male faculty.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "all",
            "the",
            "male",
            "faculty",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT FacID FROM Faculty WHERE Sex  =  'M'",
        "query_toks": [
            "SELECT",
            "FacID",
            "FROM",
            "Faculty",
            "WHERE",
            "Sex",
            "=",
            "'M",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "facid",
            "from",
            "faculty",
            "where",
            "sex",
            "=",
            "value"
        ],
        "question": "What are the faculty ids of all the male faculty members?",
        "question_toks": [
            "What",
            "are",
            "the",
            "faculty",
            "ids",
            "of",
            "all",
            "the",
            "male",
            "faculty",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"M\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Faculty WHERE Sex  =  'F' AND Rank  =  \"Professor\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "WHERE",
            "Sex",
            "=",
            "'F",
            "'",
            "AND",
            "Rank",
            "=",
            "``",
            "Professor",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "rank",
            "=",
            "value"
        ],
        "question": "How many female Professors do we have?",
        "question_toks": [
            "How",
            "many",
            "female",
            "Professors",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Faculty WHERE Sex  =  'F' AND Rank  =  \"Professor\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "WHERE",
            "Sex",
            "=",
            "'F",
            "'",
            "AND",
            "Rank",
            "=",
            "``",
            "Professor",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "where",
            "sex",
            "=",
            "value",
            "and",
            "rank",
            "=",
            "value"
        ],
        "question": "Count the number of female Professors we have.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "female",
            "Professors",
            "we",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"F\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT phone ,  room ,  building FROM Faculty WHERE Fname  =  \"Jerry\" AND Lname  =  \"Prince\"",
        "query_toks": [
            "SELECT",
            "phone",
            ",",
            "room",
            ",",
            "building",
            "FROM",
            "Faculty",
            "WHERE",
            "Fname",
            "=",
            "``",
            "Jerry",
            "''",
            "AND",
            "Lname",
            "=",
            "``",
            "Prince",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "phone",
            ",",
            "room",
            ",",
            "building",
            "from",
            "faculty",
            "where",
            "fname",
            "=",
            "value",
            "and",
            "lname",
            "=",
            "value"
        ],
        "question": "Show the phone, room, and building for the faculty named Jerry Prince.",
        "question_toks": [
            "Show",
            "the",
            "phone",
            ",",
            "room",
            ",",
            "and",
            "building",
            "for",
            "the",
            "faculty",
            "named",
            "Jerry",
            "Prince",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Jerry\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Prince\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT phone ,  room ,  building FROM Faculty WHERE Fname  =  \"Jerry\" AND Lname  =  \"Prince\"",
        "query_toks": [
            "SELECT",
            "phone",
            ",",
            "room",
            ",",
            "building",
            "FROM",
            "Faculty",
            "WHERE",
            "Fname",
            "=",
            "``",
            "Jerry",
            "''",
            "AND",
            "Lname",
            "=",
            "``",
            "Prince",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "phone",
            ",",
            "room",
            ",",
            "building",
            "from",
            "faculty",
            "where",
            "fname",
            "=",
            "value",
            "and",
            "lname",
            "=",
            "value"
        ],
        "question": "What are the phone, room, and building of the faculty member called Jerry Prince?",
        "question_toks": [
            "What",
            "are",
            "the",
            "phone",
            ",",
            "room",
            ",",
            "and",
            "building",
            "of",
            "the",
            "faculty",
            "member",
            "called",
            "Jerry",
            "Prince",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Jerry\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Prince\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Faculty WHERE Rank  =  \"Professor\" AND building  =  \"NEB\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "WHERE",
            "Rank",
            "=",
            "``",
            "Professor",
            "''",
            "AND",
            "building",
            "=",
            "``",
            "NEB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "and",
            "building",
            "=",
            "value"
        ],
        "question": "How many Professors are in building NEB?",
        "question_toks": [
            "How",
            "many",
            "Professors",
            "are",
            "in",
            "building",
            "NEB",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"NEB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Faculty WHERE Rank  =  \"Professor\" AND building  =  \"NEB\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "WHERE",
            "Rank",
            "=",
            "``",
            "Professor",
            "''",
            "AND",
            "building",
            "=",
            "``",
            "NEB",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "and",
            "building",
            "=",
            "value"
        ],
        "question": "Count the number of Professors who have office in building NEB.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "Professors",
            "who",
            "have",
            "office",
            "in",
            "building",
            "NEB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"NEB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT fname ,  lname FROM Faculty WHERE Rank  =  \"Instructor\"",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "Faculty",
            "WHERE",
            "Rank",
            "=",
            "``",
            "Instructor",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value"
        ],
        "question": "Show the first name and last name for all the instructors.",
        "question_toks": [
            "Show",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "for",
            "all",
            "the",
            "instructors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Instructor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT fname ,  lname FROM Faculty WHERE Rank  =  \"Instructor\"",
        "query_toks": [
            "SELECT",
            "fname",
            ",",
            "lname",
            "FROM",
            "Faculty",
            "WHERE",
            "Rank",
            "=",
            "``",
            "Instructor",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "fname",
            ",",
            "lname",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value"
        ],
        "question": "What are the first name and last name of all the instructors?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "all",
            "the",
            "instructors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Instructor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT building ,  count(*) FROM Faculty GROUP BY building",
        "query_toks": [
            "SELECT",
            "building",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "building"
        ],
        "query_toks_no_value": [
            "select",
            "building",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "group",
            "by",
            "building"
        ],
        "question": "Show all the buildings along with the number of faculty members the buildings have.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "buildings",
            "along",
            "with",
            "the",
            "number",
            "of",
            "faculty",
            "members",
            "the",
            "buildings",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT building ,  count(*) FROM Faculty GROUP BY building",
        "query_toks": [
            "SELECT",
            "building",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "building"
        ],
        "query_toks_no_value": [
            "select",
            "building",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "group",
            "by",
            "building"
        ],
        "question": "How many faculty members does each building have? List the result with the name of the building.",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "members",
            "does",
            "each",
            "building",
            "have",
            "?",
            "List",
            "the",
            "result",
            "with",
            "the",
            "name",
            "of",
            "the",
            "building",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT building FROM Faculty GROUP BY building ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "building",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "building",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "building",
            "from",
            "faculty",
            "group",
            "by",
            "building",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which building has most faculty members?",
        "question_toks": [
            "Which",
            "building",
            "has",
            "most",
            "faculty",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT building FROM Faculty GROUP BY building ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "building",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "building",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "building",
            "from",
            "faculty",
            "group",
            "by",
            "building",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the building that has the largest number of faculty members.",
        "question_toks": [
            "Find",
            "the",
            "building",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "faculty",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT building FROM Faculty WHERE rank  =  \"Professor\" GROUP BY building HAVING count(*)  >=  10",
        "query_toks": [
            "SELECT",
            "building",
            "FROM",
            "Faculty",
            "WHERE",
            "rank",
            "=",
            "``",
            "Professor",
            "''",
            "GROUP",
            "BY",
            "building",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "building",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "group",
            "by",
            "building",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show all the buildings that have at least 10 professors.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "buildings",
            "that",
            "have",
            "at",
            "least",
            "10",
            "professors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT building FROM Faculty WHERE rank  =  \"Professor\" GROUP BY building HAVING count(*)  >=  10",
        "query_toks": [
            "SELECT",
            "building",
            "FROM",
            "Faculty",
            "WHERE",
            "rank",
            "=",
            "``",
            "Professor",
            "''",
            "GROUP",
            "BY",
            "building",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "building",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "group",
            "by",
            "building",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "In which buildings are there at least ten professors?",
        "question_toks": [
            "In",
            "which",
            "buildings",
            "are",
            "there",
            "at",
            "least",
            "ten",
            "professors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    22,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT rank ,  count(*) FROM Faculty GROUP BY rank",
        "query_toks": [
            "SELECT",
            "rank",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "rank"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "group",
            "by",
            "rank"
        ],
        "question": "For each faculty rank, show the number of faculty members who have it.",
        "question_toks": [
            "For",
            "each",
            "faculty",
            "rank",
            ",",
            "show",
            "the",
            "number",
            "of",
            "faculty",
            "members",
            "who",
            "have",
            "it",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT rank ,  count(*) FROM Faculty GROUP BY rank",
        "query_toks": [
            "SELECT",
            "rank",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "rank"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "group",
            "by",
            "rank"
        ],
        "question": "How many faculty members do we have for each faculty rank?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "members",
            "do",
            "we",
            "have",
            "for",
            "each",
            "faculty",
            "rank",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT rank ,  sex ,  count(*) FROM Faculty GROUP BY rank ,  sex",
        "query_toks": [
            "SELECT",
            "rank",
            ",",
            "sex",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "rank",
            ",",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            ",",
            "sex",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "group",
            "by",
            "rank",
            ",",
            "sex"
        ],
        "question": "Show all the ranks and the number of male and female faculty for each rank.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "ranks",
            "and",
            "the",
            "number",
            "of",
            "male",
            "and",
            "female",
            "faculty",
            "for",
            "each",
            "rank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ],
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT rank ,  sex ,  count(*) FROM Faculty GROUP BY rank ,  sex",
        "query_toks": [
            "SELECT",
            "rank",
            ",",
            "sex",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "rank",
            ",",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            ",",
            "sex",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "group",
            "by",
            "rank",
            ",",
            "sex"
        ],
        "question": "How many faculty members do we have for each rank and gender?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "members",
            "do",
            "we",
            "have",
            "for",
            "each",
            "rank",
            "and",
            "gender",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ],
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT rank FROM Faculty GROUP BY rank ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "rank",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "rank",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "faculty",
            "group",
            "by",
            "rank",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Which rank has the smallest number of faculty members?",
        "question_toks": [
            "Which",
            "rank",
            "has",
            "the",
            "smallest",
            "number",
            "of",
            "faculty",
            "members",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT rank FROM Faculty GROUP BY rank ORDER BY count(*) ASC LIMIT 1",
        "query_toks": [
            "SELECT",
            "rank",
            "FROM",
            "Faculty",
            "GROUP",
            "BY",
            "rank",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "ASC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "rank",
            "from",
            "faculty",
            "group",
            "by",
            "rank",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "asc",
            "limit",
            "value"
        ],
        "question": "Find the faculty rank that has the least members.",
        "question_toks": [
            "Find",
            "the",
            "faculty",
            "rank",
            "that",
            "has",
            "the",
            "least",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT sex ,  count(*) FROM Faculty WHERE rank  =  \"AsstProf\" GROUP BY sex",
        "query_toks": [
            "SELECT",
            "sex",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "WHERE",
            "rank",
            "=",
            "``",
            "AsstProf",
            "''",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "sex",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "group",
            "by",
            "sex"
        ],
        "question": "Show the number of male and female assistant professors.",
        "question_toks": [
            "Show",
            "the",
            "number",
            "of",
            "male",
            "and",
            "female",
            "assistant",
            "professors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"AsstProf\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT sex ,  count(*) FROM Faculty WHERE rank  =  \"AsstProf\" GROUP BY sex",
        "query_toks": [
            "SELECT",
            "sex",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "WHERE",
            "rank",
            "=",
            "``",
            "AsstProf",
            "''",
            "GROUP",
            "BY",
            "sex"
        ],
        "query_toks_no_value": [
            "select",
            "sex",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "group",
            "by",
            "sex"
        ],
        "question": "How many male and female assistant professors do we have?",
        "question_toks": [
            "How",
            "many",
            "male",
            "and",
            "female",
            "assistant",
            "professors",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"AsstProf\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.fname ,  T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor WHERE T2.fname  =  \"Linda\" AND T2.lname  =  \"Smith\"",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "WHERE",
            "T2.fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "T2.lname",
            "=",
            "``",
            "Smith",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "where",
            "t2",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What are the first name and last name of Linda Smith's advisor?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "of",
            "Linda",
            "Smith",
            "'s",
            "advisor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.fname ,  T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor WHERE T2.fname  =  \"Linda\" AND T2.lname  =  \"Smith\"",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "WHERE",
            "T2.fname",
            "=",
            "``",
            "Linda",
            "''",
            "AND",
            "T2.lname",
            "=",
            "``",
            "Smith",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "where",
            "t2",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Who is the advisor of Linda Smith? Give me the first name and last name.",
        "question_toks": [
            "Who",
            "is",
            "the",
            "advisor",
            "of",
            "Linda",
            "Smith",
            "?",
            "Give",
            "me",
            "the",
            "first",
            "name",
            "and",
            "last",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Linda\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T2.StuID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor WHERE T1.rank  =  \"Professor\"",
        "query_toks": [
            "SELECT",
            "T2.StuID",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "WHERE",
            "T1.rank",
            "=",
            "``",
            "Professor",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "stuid",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "where",
            "t1",
            ".",
            "rank",
            "=",
            "value"
        ],
        "question": "Show the ids of students whose advisors are professors.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "students",
            "whose",
            "advisors",
            "are",
            "professors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T2.StuID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor WHERE T1.rank  =  \"Professor\"",
        "query_toks": [
            "SELECT",
            "T2.StuID",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "WHERE",
            "T1.rank",
            "=",
            "``",
            "Professor",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "stuid",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "where",
            "t1",
            ".",
            "rank",
            "=",
            "value"
        ],
        "question": "Which students have professors as their advisors? Find their student ids.",
        "question_toks": [
            "Which",
            "students",
            "have",
            "professors",
            "as",
            "their",
            "advisors",
            "?",
            "Find",
            "their",
            "student",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T2.fname ,  T2.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor WHERE T1.fname  =  \"Michael\" AND T1.lname  =  \"Goodrich\"",
        "query_toks": [
            "SELECT",
            "T2.fname",
            ",",
            "T2.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "WHERE",
            "T1.fname",
            "=",
            "``",
            "Michael",
            "''",
            "AND",
            "T1.lname",
            "=",
            "``",
            "Goodrich",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Show first name and last name for all the students advised by Michael Goodrich.",
        "question_toks": [
            "Show",
            "first",
            "name",
            "and",
            "last",
            "name",
            "for",
            "all",
            "the",
            "students",
            "advised",
            "by",
            "Michael",
            "Goodrich",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michael\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Goodrich\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T2.fname ,  T2.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor WHERE T1.fname  =  \"Michael\" AND T1.lname  =  \"Goodrich\"",
        "query_toks": [
            "SELECT",
            "T2.fname",
            ",",
            "T2.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "WHERE",
            "T1.fname",
            "=",
            "``",
            "Michael",
            "''",
            "AND",
            "T1.lname",
            "=",
            "``",
            "Goodrich",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "fname",
            ",",
            "t2",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Which students are advised by Michael Goodrich? Give me their first and last names.",
        "question_toks": [
            "Which",
            "students",
            "are",
            "advised",
            "by",
            "Michael",
            "Goodrich",
            "?",
            "Give",
            "me",
            "their",
            "first",
            "and",
            "last",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michael\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Goodrich\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.FacID ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.FacID",
        "query_toks": [
            "SELECT",
            "T1.FacID",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "GROUP",
            "BY",
            "T1.FacID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "facid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "group",
            "by",
            "t1",
            ".",
            "facid"
        ],
        "question": "Show the faculty id of each faculty member, along with the number of students he or she advises.",
        "question_toks": [
            "Show",
            "the",
            "faculty",
            "id",
            "of",
            "each",
            "faculty",
            "member",
            ",",
            "along",
            "with",
            "the",
            "number",
            "of",
            "students",
            "he",
            "or",
            "she",
            "advises",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.FacID ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.FacID",
        "query_toks": [
            "SELECT",
            "T1.FacID",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "GROUP",
            "BY",
            "T1.FacID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "facid",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "group",
            "by",
            "t1",
            ".",
            "facid"
        ],
        "question": "What are the faculty id and the number of students each faculty has?",
        "question_toks": [
            "What",
            "are",
            "the",
            "faculty",
            "id",
            "and",
            "the",
            "number",
            "of",
            "students",
            "each",
            "faculty",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.rank ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.rank",
        "query_toks": [
            "SELECT",
            "T1.rank",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "GROUP",
            "BY",
            "T1.rank"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "rank",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "group",
            "by",
            "t1",
            ".",
            "rank"
        ],
        "question": "Show all the faculty ranks and the number of students advised by each rank.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "faculty",
            "ranks",
            "and",
            "the",
            "number",
            "of",
            "students",
            "advised",
            "by",
            "each",
            "rank",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.rank ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.rank",
        "query_toks": [
            "SELECT",
            "T1.rank",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "GROUP",
            "BY",
            "T1.rank"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "rank",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "group",
            "by",
            "t1",
            ".",
            "rank"
        ],
        "question": "How many students are advised by each rank of faculty? List the rank and the number of students.",
        "question_toks": [
            "How",
            "many",
            "students",
            "are",
            "advised",
            "by",
            "each",
            "rank",
            "of",
            "faculty",
            "?",
            "List",
            "the",
            "rank",
            "and",
            "the",
            "number",
            "of",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.fname ,  T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.FacID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "GROUP",
            "BY",
            "T1.FacID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "group",
            "by",
            "t1",
            ".",
            "facid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the first and last name of the faculty who has the most students?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "faculty",
            "who",
            "has",
            "the",
            "most",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.fname ,  T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.FacID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "GROUP",
            "BY",
            "T1.FacID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "group",
            "by",
            "t1",
            ".",
            "facid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Give me the the first and last name of the faculty who advises the most students.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "faculty",
            "who",
            "advises",
            "the",
            "most",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.FacID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.FacID HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.FacID",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "GROUP",
            "BY",
            "T1.FacID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "facid",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "group",
            "by",
            "t1",
            ".",
            "facid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Show the ids for all the faculty members who have at least 2 students.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "for",
            "all",
            "the",
            "faculty",
            "members",
            "who",
            "have",
            "at",
            "least",
            "2",
            "students",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.FacID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.FacID HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T1.FacID",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Student",
            "AS",
            "T2",
            "ON",
            "T1.FacID",
            "=",
            "T2.advisor",
            "GROUP",
            "BY",
            "T1.FacID",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "facid",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "student",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "advisor",
            "group",
            "by",
            "t1",
            ".",
            "facid",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which faculty members advise two ore more students? Give me their faculty ids.",
        "question_toks": [
            "Which",
            "faculty",
            "members",
            "advise",
            "two",
            "ore",
            "more",
            "students",
            "?",
            "Give",
            "me",
            "their",
            "faculty",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT FacID FROM Faculty EXCEPT SELECT advisor FROM Student",
        "query_toks": [
            "SELECT",
            "FacID",
            "FROM",
            "Faculty",
            "EXCEPT",
            "SELECT",
            "advisor",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "facid",
            "from",
            "faculty",
            "except",
            "select",
            "advisor",
            "from",
            "student"
        ],
        "question": "Show ids for the faculty members who don't advise any student.",
        "question_toks": [
            "Show",
            "ids",
            "for",
            "the",
            "faculty",
            "members",
            "who",
            "do",
            "n't",
            "advise",
            "any",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT FacID FROM Faculty EXCEPT SELECT advisor FROM Student",
        "query_toks": [
            "SELECT",
            "FacID",
            "FROM",
            "Faculty",
            "EXCEPT",
            "SELECT",
            "advisor",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "facid",
            "from",
            "faculty",
            "except",
            "select",
            "advisor",
            "from",
            "student"
        ],
        "question": "What are the ids of the faculty members who do not advise any student.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "faculty",
            "members",
            "who",
            "do",
            "not",
            "advise",
            "any",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT activity_name FROM Activity",
        "query_toks": [
            "SELECT",
            "activity_name",
            "FROM",
            "Activity"
        ],
        "query_toks_no_value": [
            "select",
            "activity_name",
            "from",
            "activity"
        ],
        "question": "What activities do we have?",
        "question_toks": [
            "What",
            "activities",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT activity_name FROM Activity",
        "query_toks": [
            "SELECT",
            "activity_name",
            "FROM",
            "Activity"
        ],
        "query_toks_no_value": [
            "select",
            "activity_name",
            "from",
            "activity"
        ],
        "question": "List all the activities we have.",
        "question_toks": [
            "List",
            "all",
            "the",
            "activities",
            "we",
            "have",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Activity",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Activity"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "activity"
        ],
        "question": "How many activities do we have?",
        "question_toks": [
            "How",
            "many",
            "activities",
            "do",
            "we",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Activity",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Activity"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "activity"
        ],
        "question": "Find the number of activities available.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "activities",
            "available",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(DISTINCT FacID) FROM Faculty_participates_in",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "FacID",
            ")",
            "FROM",
            "Faculty_participates_in"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "facid",
            ")",
            "from",
            "faculty_participates_in"
        ],
        "question": "How many faculty members participate in an activity?",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "members",
            "participate",
            "in",
            "an",
            "activity",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(DISTINCT FacID) FROM Faculty_participates_in",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "FacID",
            ")",
            "FROM",
            "Faculty_participates_in"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "facid",
            ")",
            "from",
            "faculty_participates_in"
        ],
        "question": "Give me the number of faculty members who participate in an activity",
        "question_toks": [
            "Give",
            "me",
            "the",
            "number",
            "of",
            "faculty",
            "members",
            "who",
            "participate",
            "in",
            "an",
            "activity"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT FacID FROM Faculty EXCEPT SELECT FacID FROM Faculty_participates_in",
        "query_toks": [
            "SELECT",
            "FacID",
            "FROM",
            "Faculty",
            "EXCEPT",
            "SELECT",
            "FacID",
            "FROM",
            "Faculty_participates_in"
        ],
        "query_toks_no_value": [
            "select",
            "facid",
            "from",
            "faculty",
            "except",
            "select",
            "facid",
            "from",
            "faculty_participates_in"
        ],
        "question": "Show the ids of the faculty who don't participate in any activity.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "the",
            "faculty",
            "who",
            "do",
            "n't",
            "participate",
            "in",
            "any",
            "activity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT FacID FROM Faculty EXCEPT SELECT FacID FROM Faculty_participates_in",
        "query_toks": [
            "SELECT",
            "FacID",
            "FROM",
            "Faculty",
            "EXCEPT",
            "SELECT",
            "FacID",
            "FROM",
            "Faculty_participates_in"
        ],
        "query_toks_no_value": [
            "select",
            "facid",
            "from",
            "faculty",
            "except",
            "select",
            "facid",
            "from",
            "faculty_participates_in"
        ],
        "question": "Which faculty do not participate in any activity? Find their faculty ids.",
        "question_toks": [
            "Which",
            "faculty",
            "do",
            "not",
            "participate",
            "in",
            "any",
            "activity",
            "?",
            "Find",
            "their",
            "faculty",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT FacID FROM Faculty_participates_in INTERSECT SELECT advisor FROM Student",
        "query_toks": [
            "SELECT",
            "FacID",
            "FROM",
            "Faculty_participates_in",
            "INTERSECT",
            "SELECT",
            "advisor",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "facid",
            "from",
            "faculty_participates_in",
            "intersect",
            "select",
            "advisor",
            "from",
            "student"
        ],
        "question": "Show the ids of all the faculty members who participate in an activity and advise a student.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "all",
            "the",
            "faculty",
            "members",
            "who",
            "participate",
            "in",
            "an",
            "activity",
            "and",
            "advise",
            "a",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT FacID FROM Faculty_participates_in INTERSECT SELECT advisor FROM Student",
        "query_toks": [
            "SELECT",
            "FacID",
            "FROM",
            "Faculty_participates_in",
            "INTERSECT",
            "SELECT",
            "advisor",
            "FROM",
            "Student"
        ],
        "query_toks_no_value": [
            "select",
            "facid",
            "from",
            "faculty_participates_in",
            "intersect",
            "select",
            "advisor",
            "from",
            "student"
        ],
        "question": "What are ids of the faculty members who not only participate in an activity but also advise a student.",
        "question_toks": [
            "What",
            "are",
            "ids",
            "of",
            "the",
            "faculty",
            "members",
            "who",
            "not",
            "only",
            "participate",
            "in",
            "an",
            "activity",
            "but",
            "also",
            "advise",
            "a",
            "student",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    13,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID WHERE T1.fname  =  \"Mark\" AND T1.lname  =  \"Giuliano\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "WHERE",
            "T1.fname",
            "=",
            "``",
            "Mark",
            "''",
            "AND",
            "T1.lname",
            "=",
            "``",
            "Giuliano",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "How many activities does Mark Giuliano participate in?",
        "question_toks": [
            "How",
            "many",
            "activities",
            "does",
            "Mark",
            "Giuliano",
            "participate",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Mark\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Giuliano\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT count(*) FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID WHERE T1.fname  =  \"Mark\" AND T1.lname  =  \"Giuliano\"",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "WHERE",
            "T1.fname",
            "=",
            "``",
            "Mark",
            "''",
            "AND",
            "T1.lname",
            "=",
            "``",
            "Giuliano",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Find the number of activities Mark Giuliano is involved in.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "activities",
            "Mark",
            "Giuliano",
            "is",
            "involved",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Mark\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Giuliano\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T3.activity_name FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN Activity AS T3 ON T3.actid  =  T2.actid WHERE T1.fname  =  \"Mark\" AND T1.lname  =  \"Giuliano\"",
        "query_toks": [
            "SELECT",
            "T3.activity_name",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "Activity",
            "AS",
            "T3",
            "ON",
            "T3.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T1.fname",
            "=",
            "``",
            "Mark",
            "''",
            "AND",
            "T1.lname",
            "=",
            "``",
            "Giuliano",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "activity_name",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "Show the names of all the activities Mark Giuliano participates in.",
        "question_toks": [
            "Show",
            "the",
            "names",
            "of",
            "all",
            "the",
            "activities",
            "Mark",
            "Giuliano",
            "participates",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Mark\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Giuliano\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T3.activity_name FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN Activity AS T3 ON T3.actid  =  T2.actid WHERE T1.fname  =  \"Mark\" AND T1.lname  =  \"Giuliano\"",
        "query_toks": [
            "SELECT",
            "T3.activity_name",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "Activity",
            "AS",
            "T3",
            "ON",
            "T3.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T1.fname",
            "=",
            "``",
            "Mark",
            "''",
            "AND",
            "T1.lname",
            "=",
            "``",
            "Giuliano",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "activity_name",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t1",
            ".",
            "fname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "lname",
            "=",
            "value"
        ],
        "question": "What are the names of the activities Mark Giuliano is involved in",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "activities",
            "Mark",
            "Giuliano",
            "is",
            "involved",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Mark\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"Giuliano\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT  T1.fname ,  T1.lname ,  count(*) ,  T1.FacID FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID GROUP BY T1.FacID",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.FacID",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "GROUP",
            "BY",
            "T1.FacID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "facid",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "group",
            "by",
            "t1",
            ".",
            "facid"
        ],
        "question": "Show the first and last name of all the faculty members who participated in some activity, together with the number of activities they participated in.",
        "question_toks": [
            "Show",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "all",
            "the",
            "faculty",
            "members",
            "who",
            "participated",
            "in",
            "some",
            "activity",
            ",",
            "together",
            "with",
            "the",
            "number",
            "of",
            "activities",
            "they",
            "participated",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT  T1.fname ,  T1.lname ,  count(*) ,  T1.FacID FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID GROUP BY T1.FacID",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.FacID",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "GROUP",
            "BY",
            "T1.FacID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            ",",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "facid",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "group",
            "by",
            "t1",
            ".",
            "facid"
        ],
        "question": "What is the first and last name of the faculty members who participated in at least one activity? For each of them, also show the number of activities they participated in.",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "faculty",
            "members",
            "who",
            "participated",
            "in",
            "at",
            "least",
            "one",
            "activity",
            "?",
            "For",
            "each",
            "of",
            "them",
            ",",
            "also",
            "show",
            "the",
            "number",
            "of",
            "activities",
            "they",
            "participated",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.activity_name ,  count(*) FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID  =  T2.actID GROUP BY T1.actID",
        "query_toks": [
            "SELECT",
            "T1.activity_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Activity",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.actID",
            "=",
            "T2.actID",
            "GROUP",
            "BY",
            "T1.actID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "activity_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "activity",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "group",
            "by",
            "t1",
            ".",
            "actid"
        ],
        "question": "Show all the activity names and the number of faculty involved in each activity.",
        "question_toks": [
            "Show",
            "all",
            "the",
            "activity",
            "names",
            "and",
            "the",
            "number",
            "of",
            "faculty",
            "involved",
            "in",
            "each",
            "activity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.activity_name ,  count(*) FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID  =  T2.actID GROUP BY T1.actID",
        "query_toks": [
            "SELECT",
            "T1.activity_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "Activity",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.actID",
            "=",
            "T2.actID",
            "GROUP",
            "BY",
            "T1.actID"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "activity_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "activity",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "group",
            "by",
            "t1",
            ".",
            "actid"
        ],
        "question": "How many faculty members participate in each activity? Return the activity names and the number of faculty members.",
        "question_toks": [
            "How",
            "many",
            "faculty",
            "members",
            "participate",
            "in",
            "each",
            "activity",
            "?",
            "Return",
            "the",
            "activity",
            "names",
            "and",
            "the",
            "number",
            "of",
            "faculty",
            "members",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT  T1.fname ,  T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID GROUP BY T1.FacID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "GROUP",
            "BY",
            "T1.FacID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "group",
            "by",
            "t1",
            ".",
            "facid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first and last name of the faculty participating in the most activities?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "faculty",
            "participating",
            "in",
            "the",
            "most",
            "activities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT  T1.fname ,  T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID GROUP BY T1.FacID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "GROUP",
            "BY",
            "T1.FacID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "group",
            "by",
            "t1",
            ".",
            "facid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the first and last name of the faculty who is involved in the largest number of activities.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "faculty",
            "who",
            "is",
            "involved",
            "in",
            "the",
            "largest",
            "number",
            "of",
            "activities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID  =  T2.actID GROUP BY T1.actID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.activity_name",
            "FROM",
            "Activity",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.actID",
            "=",
            "T2.actID",
            "GROUP",
            "BY",
            "T1.actID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "activity_name",
            "from",
            "activity",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "group",
            "by",
            "t1",
            ".",
            "actid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the activity that has the most faculty members involved in?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "activity",
            "that",
            "has",
            "the",
            "most",
            "faculty",
            "members",
            "involved",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID  =  T2.actID GROUP BY T1.actID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.activity_name",
            "FROM",
            "Activity",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.actID",
            "=",
            "T2.actID",
            "GROUP",
            "BY",
            "T1.actID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "activity_name",
            "from",
            "activity",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "group",
            "by",
            "t1",
            ".",
            "actid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which activity has the most faculty members participating in? Find the activity name.",
        "question_toks": [
            "Which",
            "activity",
            "has",
            "the",
            "most",
            "faculty",
            "members",
            "participating",
            "in",
            "?",
            "Find",
            "the",
            "activity",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT StuID FROM Student EXCEPT SELECT StuID FROM Participates_in",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Participates_in"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "except",
            "select",
            "stuid",
            "from",
            "participates_in"
        ],
        "question": "Show the ids of the students who don't participate in any activity.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "do",
            "n't",
            "participate",
            "in",
            "any",
            "activity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT StuID FROM Student EXCEPT SELECT StuID FROM Participates_in",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "EXCEPT",
            "SELECT",
            "StuID",
            "FROM",
            "Participates_in"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "student",
            "except",
            "select",
            "stuid",
            "from",
            "participates_in"
        ],
        "question": "What are the ids of the students who are not involved in any activity",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "are",
            "not",
            "involved",
            "in",
            "any",
            "activity"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT StuID FROM Participates_in INTERSECT SELECT StuID FROM Student WHERE age  <  20",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Participates_in",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "age",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "participates_in",
            "intersect",
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "Show the ids for all the students who participate in an activity and are under 20.",
        "question_toks": [
            "Show",
            "the",
            "ids",
            "for",
            "all",
            "the",
            "students",
            "who",
            "participate",
            "in",
            "an",
            "activity",
            "and",
            "are",
            "under",
            "20",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT StuID FROM Participates_in INTERSECT SELECT StuID FROM Student WHERE age  <  20",
        "query_toks": [
            "SELECT",
            "StuID",
            "FROM",
            "Participates_in",
            "INTERSECT",
            "SELECT",
            "StuID",
            "FROM",
            "Student",
            "WHERE",
            "age",
            "<",
            "20"
        ],
        "query_toks_no_value": [
            "select",
            "stuid",
            "from",
            "participates_in",
            "intersect",
            "select",
            "stuid",
            "from",
            "student",
            "where",
            "age",
            "<",
            "value"
        ],
        "question": "What are the ids of the students who are under 20 years old and are involved in at least one activity.",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "are",
            "under",
            "20",
            "years",
            "old",
            "and",
            "are",
            "involved",
            "in",
            "at",
            "least",
            "one",
            "activity",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            3
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    7,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        4,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        20.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.fname ,  T1.lname FROM Student AS T1 JOIN Participates_in AS T2 ON T1.StuID  =  T2.StuID GROUP BY T1.StuID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "Student",
            "AS",
            "T1",
            "JOIN",
            "Participates_in",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "GROUP",
            "BY",
            "T1.StuID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "group",
            "by",
            "t1",
            ".",
            "stuid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the first and last name of the student participating in the most activities?",
        "question_toks": [
            "What",
            "is",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "student",
            "participating",
            "in",
            "the",
            "most",
            "activities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.fname ,  T1.lname FROM Student AS T1 JOIN Participates_in AS T2 ON T1.StuID  =  T2.StuID GROUP BY T1.StuID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.fname",
            ",",
            "T1.lname",
            "FROM",
            "Student",
            "AS",
            "T1",
            "JOIN",
            "Participates_in",
            "AS",
            "T2",
            "ON",
            "T1.StuID",
            "=",
            "T2.StuID",
            "GROUP",
            "BY",
            "T1.StuID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "fname",
            ",",
            "t1",
            ".",
            "lname",
            "from",
            "student",
            "as",
            "t1",
            "join",
            "participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "stuid",
            "=",
            "t2",
            ".",
            "stuid",
            "group",
            "by",
            "t1",
            ".",
            "stuid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Tell me the first and last name of the student who has the most activities.",
        "question_toks": [
            "Tell",
            "me",
            "the",
            "first",
            "and",
            "last",
            "name",
            "of",
            "the",
            "student",
            "who",
            "has",
            "the",
            "most",
            "activities",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.activity_name FROM Activity AS T1 JOIN Participates_in AS T2 ON T1.actID  =  T2.actID GROUP BY T1.actID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.activity_name",
            "FROM",
            "Activity",
            "AS",
            "T1",
            "JOIN",
            "Participates_in",
            "AS",
            "T2",
            "ON",
            "T1.actID",
            "=",
            "T2.actID",
            "GROUP",
            "BY",
            "T1.actID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "activity_name",
            "from",
            "activity",
            "as",
            "t1",
            "join",
            "participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "group",
            "by",
            "t1",
            ".",
            "actid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the activity with the most students?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "activity",
            "with",
            "the",
            "most",
            "students",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.activity_name FROM Activity AS T1 JOIN Participates_in AS T2 ON T1.actID  =  T2.actID GROUP BY T1.actID ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.activity_name",
            "FROM",
            "Activity",
            "AS",
            "T1",
            "JOIN",
            "Participates_in",
            "AS",
            "T2",
            "ON",
            "T1.actID",
            "=",
            "T2.actID",
            "GROUP",
            "BY",
            "T1.actID",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "activity_name",
            "from",
            "activity",
            "as",
            "t1",
            "join",
            "participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "group",
            "by",
            "t1",
            ".",
            "actid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the activity that has the largest number of student participants.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "activity",
            "that",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "student",
            "participants",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN activity AS T3 ON T2.actid  =  T2.actid WHERE T3.activity_name  =  'Canoeing' OR T3.activity_name  =  'Kayaking'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "activity",
            "AS",
            "T3",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T3.activity_name",
            "=",
            "'Canoeing",
            "'",
            "OR",
            "T3.activity_name",
            "=",
            "'Kayaking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t3",
            ".",
            "activity_name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "activity_name",
            "=",
            "value"
        ],
        "question": "Find the first names of the faculty members who are playing Canoeing or Kayaking.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "the",
            "faculty",
            "members",
            "who",
            "are",
            "playing",
            "Canoeing",
            "or",
            "Kayaking",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Canoeing\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kayaking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN activity AS T3 ON T2.actid  =  T2.actid WHERE T3.activity_name  =  'Canoeing' OR T3.activity_name  =  'Kayaking'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "activity",
            "AS",
            "T3",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T3.activity_name",
            "=",
            "'Canoeing",
            "'",
            "OR",
            "T3.activity_name",
            "=",
            "'Kayaking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t3",
            ".",
            "activity_name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "activity_name",
            "=",
            "value"
        ],
        "question": "Which faculty members are playing either Canoeing or Kayaking? Tell me their first names.",
        "question_toks": [
            "Which",
            "faculty",
            "members",
            "are",
            "playing",
            "either",
            "Canoeing",
            "or",
            "Kayaking",
            "?",
            "Tell",
            "me",
            "their",
            "first",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Canoeing\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Kayaking\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT lname FROM faculty WHERE rank  =  'Professor' EXCEPT SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN activity AS T3 ON T2.actid  =  T2.actid WHERE T3.activity_name  =  'Canoeing' OR T3.activity_name  =  'Kayaking'",
        "query_toks": [
            "SELECT",
            "lname",
            "FROM",
            "faculty",
            "WHERE",
            "rank",
            "=",
            "'Professor",
            "'",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "activity",
            "AS",
            "T3",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T3.activity_name",
            "=",
            "'Canoeing",
            "'",
            "OR",
            "T3.activity_name",
            "=",
            "'Kayaking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "except",
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t3",
            ".",
            "activity_name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "activity_name",
            "=",
            "value"
        ],
        "question": "Find the first names of professors who are not playing Canoeing or Kayaking.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "professors",
            "who",
            "are",
            "not",
            "playing",
            "Canoeing",
            "or",
            "Kayaking",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Canoeing\"",
                        null
                    ],
                    "or",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Kayaking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT lname FROM faculty WHERE rank  =  'Professor' EXCEPT SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN activity AS T3 ON T2.actid  =  T2.actid WHERE T3.activity_name  =  'Canoeing' OR T3.activity_name  =  'Kayaking'",
        "query_toks": [
            "SELECT",
            "lname",
            "FROM",
            "faculty",
            "WHERE",
            "rank",
            "=",
            "'Professor",
            "'",
            "EXCEPT",
            "SELECT",
            "DISTINCT",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "activity",
            "AS",
            "T3",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T3.activity_name",
            "=",
            "'Canoeing",
            "'",
            "OR",
            "T3.activity_name",
            "=",
            "'Kayaking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "lname",
            "from",
            "faculty",
            "where",
            "rank",
            "=",
            "value",
            "except",
            "select",
            "distinct",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t3",
            ".",
            "activity_name",
            "=",
            "value",
            "or",
            "t3",
            ".",
            "activity_name",
            "=",
            "value"
        ],
        "question": "What are the first names of the professors who do not play Canoeing or Kayaking as activities?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "the",
            "professors",
            "who",
            "do",
            "not",
            "play",
            "Canoeing",
            "or",
            "Kayaking",
            "as",
            "activities",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Professor\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    true,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Canoeing\"",
                        null
                    ],
                    "or",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Kayaking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN activity AS T3 ON T2.actid  =  T2.actid WHERE T3.activity_name  =  'Canoeing' INTERSECT SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN activity AS T3 ON T2.actid  =  T2.actid WHERE T3.activity_name  =  'Kayaking'",
        "query_toks": [
            "SELECT",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "activity",
            "AS",
            "T3",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T3.activity_name",
            "=",
            "'Canoeing",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "activity",
            "AS",
            "T3",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T3.activity_name",
            "=",
            "'Kayaking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t3",
            ".",
            "activity_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t3",
            ".",
            "activity_name",
            "=",
            "value"
        ],
        "question": "Find the first names of the faculty members who participate in Canoeing and Kayaking.",
        "question_toks": [
            "Find",
            "the",
            "first",
            "names",
            "of",
            "the",
            "faculty",
            "members",
            "who",
            "participate",
            "in",
            "Canoeing",
            "and",
            "Kayaking",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Canoeing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Kayaking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN activity AS T3 ON T2.actid  =  T2.actid WHERE T3.activity_name  =  'Canoeing' INTERSECT SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID  =  T2.facID JOIN activity AS T3 ON T2.actid  =  T2.actid WHERE T3.activity_name  =  'Kayaking'",
        "query_toks": [
            "SELECT",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "activity",
            "AS",
            "T3",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T3.activity_name",
            "=",
            "'Canoeing",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.lname",
            "FROM",
            "Faculty",
            "AS",
            "T1",
            "JOIN",
            "Faculty_participates_in",
            "AS",
            "T2",
            "ON",
            "T1.facID",
            "=",
            "T2.facID",
            "JOIN",
            "activity",
            "AS",
            "T3",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T3.activity_name",
            "=",
            "'Kayaking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t3",
            ".",
            "activity_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "lname",
            "from",
            "faculty",
            "as",
            "t1",
            "join",
            "faculty_participates_in",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "facid",
            "=",
            "t2",
            ".",
            "facid",
            "join",
            "activity",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t3",
            ".",
            "activity_name",
            "=",
            "value"
        ],
        "question": "What are the first names of the faculty members playing both Canoeing and Kayaking?",
        "question_toks": [
            "What",
            "are",
            "the",
            "first",
            "names",
            "of",
            "the",
            "faculty",
            "members",
            "playing",
            "both",
            "Canoeing",
            "and",
            "Kayaking",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Canoeing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            4
                        ],
                        [
                            "table_unit",
                            2
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    15,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        "and",
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    6,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    16,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Kayaking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid  =  T2.actid WHERE T2.activity_name  =  'Canoeing' INTERSECT SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid  =  T2.actid WHERE T2.activity_name  =  'Kayaking'",
        "query_toks": [
            "SELECT",
            "T1.stuid",
            "FROM",
            "participates_in",
            "AS",
            "T1",
            "JOIN",
            "activity",
            "AS",
            "T2",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T2.activity_name",
            "=",
            "'Canoeing",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.stuid",
            "FROM",
            "participates_in",
            "AS",
            "T1",
            "JOIN",
            "activity",
            "AS",
            "T2",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T2.activity_name",
            "=",
            "'Kayaking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "participates_in",
            "as",
            "t1",
            "join",
            "activity",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t2",
            ".",
            "activity_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "participates_in",
            "as",
            "t1",
            "join",
            "activity",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t2",
            ".",
            "activity_name",
            "=",
            "value"
        ],
        "question": "Find the ids of the students who participate in Canoeing and Kayaking.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "the",
            "students",
            "who",
            "participate",
            "in",
            "Canoeing",
            "and",
            "Kayaking",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Canoeing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Kayaking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "activity_1",
        "query": "SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid  =  T2.actid WHERE T2.activity_name  =  'Canoeing' INTERSECT SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid  =  T2.actid WHERE T2.activity_name  =  'Kayaking'",
        "query_toks": [
            "SELECT",
            "T1.stuid",
            "FROM",
            "participates_in",
            "AS",
            "T1",
            "JOIN",
            "activity",
            "AS",
            "T2",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T2.activity_name",
            "=",
            "'Canoeing",
            "'",
            "INTERSECT",
            "SELECT",
            "T1.stuid",
            "FROM",
            "participates_in",
            "AS",
            "T1",
            "JOIN",
            "activity",
            "AS",
            "T2",
            "ON",
            "T2.actid",
            "=",
            "T2.actid",
            "WHERE",
            "T2.activity_name",
            "=",
            "'Kayaking",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "participates_in",
            "as",
            "t1",
            "join",
            "activity",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t2",
            ".",
            "activity_name",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "stuid",
            "from",
            "participates_in",
            "as",
            "t1",
            "join",
            "activity",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "actid",
            "=",
            "t2",
            ".",
            "actid",
            "where",
            "t2",
            ".",
            "activity_name",
            "=",
            "value"
        ],
        "question": "Which students participate in both Canoeing and Kayaking as their activities? Tell me their student ids.",
        "question_toks": [
            "Which",
            "students",
            "participate",
            "in",
            "both",
            "Canoeing",
            "and",
            "Kayaking",
            "as",
            "their",
            "activities",
            "?",
            "Tell",
            "me",
            "their",
            "student",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Canoeing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ],
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    3,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        "\"Kayaking\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name FROM airports WHERE city  =  'Goroka'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "airports",
            "WHERE",
            "city",
            "=",
            "'Goroka",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "airports",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "Find the name of the airport in the city of Goroka.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "airport",
            "in",
            "the",
            "city",
            "of",
            "Goroka",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Goroka\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name FROM airports WHERE city  =  'Goroka'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "airports",
            "WHERE",
            "city",
            "=",
            "'Goroka",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "airports",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What are the names of the airports in the city of Goroka?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "airports",
            "in",
            "the",
            "city",
            "of",
            "Goroka",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Goroka\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name ,  city ,  country ,  elevation FROM airports WHERE city  =  'New York'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "city",
            ",",
            "country",
            ",",
            "elevation",
            "FROM",
            "airports",
            "WHERE",
            "city",
            "=",
            "'New",
            "York",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "city",
            ",",
            "country",
            ",",
            "elevation",
            "from",
            "airports",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "Find the name, city, country, and altitude (or elevation) of the airports in the city of New York.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "city",
            ",",
            "country",
            ",",
            "and",
            "altitude",
            "(",
            "or",
            "elevation",
            ")",
            "of",
            "the",
            "airports",
            "in",
            "the",
            "city",
            "of",
            "New",
            "York",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"New York\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name ,  city ,  country ,  elevation FROM airports WHERE city  =  'New York'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "city",
            ",",
            "country",
            ",",
            "elevation",
            "FROM",
            "airports",
            "WHERE",
            "city",
            "=",
            "'New",
            "York",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "city",
            ",",
            "country",
            ",",
            "elevation",
            "from",
            "airports",
            "where",
            "city",
            "=",
            "value"
        ],
        "question": "What is the name, city, country, and elevation for every airport in the city of New York?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            ",",
            "city",
            ",",
            "country",
            ",",
            "and",
            "elevation",
            "for",
            "every",
            "airport",
            "in",
            "the",
            "city",
            "of",
            "New",
            "York",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"New York\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airlines",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines"
        ],
        "question": "How many airlines are there?",
        "question_toks": [
            "How",
            "many",
            "airlines",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airlines",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines"
        ],
        "question": "What is the total number of airlines?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "airlines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airlines WHERE country  =  'Russia'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines",
            "WHERE",
            "country",
            "=",
            "'Russia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many airlines does Russia has?",
        "question_toks": [
            "How",
            "many",
            "airlines",
            "does",
            "Russia",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Russia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airlines WHERE country  =  'Russia'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines",
            "WHERE",
            "country",
            "=",
            "'Russia",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What is the number of airlines based in Russia?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "airlines",
            "based",
            "in",
            "Russia",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"Russia\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT max(elevation) FROM airports WHERE country  =  'Iceland'",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "elevation",
            ")",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'Iceland",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "elevation",
            ")",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What is the maximum elevation of all airports in the country of Iceland?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "elevation",
            "of",
            "all",
            "airports",
            "in",
            "the",
            "country",
            "of",
            "Iceland",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Iceland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT max(elevation) FROM airports WHERE country  =  'Iceland'",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "elevation",
            ")",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'Iceland",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "elevation",
            ")",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "What is the highest elevation of an airport in the country of Iceland?",
        "question_toks": [
            "What",
            "is",
            "the",
            "highest",
            "elevation",
            "of",
            "an",
            "airport",
            "in",
            "the",
            "country",
            "of",
            "Iceland",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Iceland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name FROM airports WHERE country  =  'Cuba' OR country  =  'Argentina'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'Cuba",
            "'",
            "OR",
            "country",
            "=",
            "'Argentina",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            "or",
            "country",
            "=",
            "value"
        ],
        "question": "Find the name of the airports located in Cuba or Argentina.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "airports",
            "located",
            "in",
            "Cuba",
            "or",
            "Argentina",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Cuba\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Argentina\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name FROM airports WHERE country  =  'Cuba' OR country  =  'Argentina'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'Cuba",
            "'",
            "OR",
            "country",
            "=",
            "'Argentina",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            "or",
            "country",
            "=",
            "value"
        ],
        "question": "What are the names of all airports in Cuba or Argentina?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "airports",
            "in",
            "Cuba",
            "or",
            "Argentina",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Cuba\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Argentina\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country FROM airlines WHERE name LIKE 'Orbit%'",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airlines",
            "WHERE",
            "name",
            "LIKE",
            "'Orbit",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airlines",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Find the country of the airlines whose name starts with 'Orbit'.",
        "question_toks": [
            "Find",
            "the",
            "country",
            "of",
            "the",
            "airlines",
            "whose",
            "name",
            "starts",
            "with",
            "'Orbit",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Orbit%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country FROM airlines WHERE name LIKE 'Orbit%'",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airlines",
            "WHERE",
            "name",
            "LIKE",
            "'Orbit",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airlines",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "What are the countries of all airlines whose names start with Orbit?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "of",
            "all",
            "airlines",
            "whose",
            "names",
            "start",
            "with",
            "Orbit",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Orbit%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "airports",
            "WHERE",
            "elevation",
            "BETWEEN",
            "-50",
            "AND",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "airports",
            "where",
            "elevation",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "Find the name of airports whose altitude is between -50 and 50.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "airports",
            "whose",
            "altitude",
            "is",
            "between",
            "-50",
            "and",
            "50",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    -50.0,
                    50.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "airports",
            "WHERE",
            "elevation",
            "BETWEEN",
            "-50",
            "AND",
            "50"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "airports",
            "where",
            "elevation",
            "between",
            "value",
            "and",
            "value"
        ],
        "question": "What are the names of all airports whose elevation is between -50 and 50?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "airports",
            "whose",
            "elevation",
            "is",
            "between",
            "-50",
            "and",
            "50",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    1,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    -50.0,
                    50.0
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country FROM airports ORDER BY elevation DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airports",
            "ORDER",
            "BY",
            "elevation",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airports",
            "order",
            "by",
            "elevation",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which country is the airport that has the highest altitude located in?",
        "question_toks": [
            "Which",
            "country",
            "is",
            "the",
            "airport",
            "that",
            "has",
            "the",
            "highest",
            "altitude",
            "located",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country FROM airports ORDER BY elevation DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airports",
            "ORDER",
            "BY",
            "elevation",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airports",
            "order",
            "by",
            "elevation",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the country of the airport with the highest elevation?",
        "question_toks": [
            "What",
            "is",
            "the",
            "country",
            "of",
            "the",
            "airport",
            "with",
            "the",
            "highest",
            "elevation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airports WHERE name LIKE '%International%'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airports",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "International",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airports",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Find the number of airports whose name contain the word 'International'.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "airports",
            "whose",
            "name",
            "contain",
            "the",
            "word",
            "'International",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"%International%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airports WHERE name LIKE '%International%'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airports",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "International",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airports",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "How many airports' names have the word Interanation in them?",
        "question_toks": [
            "How",
            "many",
            "airports",
            "'",
            "names",
            "have",
            "the",
            "word",
            "Interanation",
            "in",
            "them",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"%International%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(DISTINCT city) FROM airports WHERE country  =  'Greenland'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'Greenland",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many different cities do have some airport in the country of Greenland?",
        "question_toks": [
            "How",
            "many",
            "different",
            "cities",
            "do",
            "have",
            "some",
            "airport",
            "in",
            "the",
            "country",
            "of",
            "Greenland",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Greenland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(DISTINCT city) FROM airports WHERE country  =  'Greenland'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'Greenland",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "In how many cities are there airports in the country of Greenland?",
        "question_toks": [
            "In",
            "how",
            "many",
            "cities",
            "are",
            "there",
            "airports",
            "in",
            "the",
            "country",
            "of",
            "Greenland",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Greenland\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid WHERE T1.name  =  'American Airlines'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "WHERE",
            "T1.name",
            "=",
            "'American",
            "Airlines",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the number of routes operated by American Airlines.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "routes",
            "operated",
            "by",
            "American",
            "Airlines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"American Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid WHERE T1.name  =  'American Airlines'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "WHERE",
            "T1.name",
            "=",
            "'American",
            "Airlines",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many routes does American Airlines operate?",
        "question_toks": [
            "How",
            "many",
            "routes",
            "does",
            "American",
            "Airlines",
            "operate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"American Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.dst_apid WHERE country  =  'Canada'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.dst_apid",
            "WHERE",
            "country",
            "=",
            "'Canada",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "dst_apid",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "Find the number of routes whose destination airports are in Canada.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "routes",
            "whose",
            "destination",
            "airports",
            "are",
            "in",
            "Canada",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.dst_apid WHERE country  =  'Canada'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.dst_apid",
            "WHERE",
            "country",
            "=",
            "'Canada",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "dst_apid",
            "where",
            "country",
            "=",
            "value"
        ],
        "question": "How many routes end in a Canadian airport?",
        "question_toks": [
            "How",
            "many",
            "routes",
            "end",
            "in",
            "a",
            "Canadian",
            "airport",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name ,  city ,  country FROM airports ORDER BY elevation LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "city",
            ",",
            "country",
            "FROM",
            "airports",
            "ORDER",
            "BY",
            "elevation",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "city",
            ",",
            "country",
            "from",
            "airports",
            "order",
            "by",
            "elevation",
            "limit",
            "value"
        ],
        "question": "Find the name, city, and country of the airport that has the lowest altitude.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "city",
            ",",
            "and",
            "country",
            "of",
            "the",
            "airport",
            "that",
            "has",
            "the",
            "lowest",
            "altitude",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name ,  city ,  country FROM airports ORDER BY elevation LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "city",
            ",",
            "country",
            "FROM",
            "airports",
            "ORDER",
            "BY",
            "elevation",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "city",
            ",",
            "country",
            "from",
            "airports",
            "order",
            "by",
            "elevation",
            "limit",
            "value"
        ],
        "question": "What is the name, city, and country of the airport with the lowest altitude?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            ",",
            "city",
            ",",
            "and",
            "country",
            "of",
            "the",
            "airport",
            "with",
            "the",
            "lowest",
            "altitude",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name ,  city ,  country FROM airports ORDER BY elevation DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "city",
            ",",
            "country",
            "FROM",
            "airports",
            "ORDER",
            "BY",
            "elevation",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "city",
            ",",
            "country",
            "from",
            "airports",
            "order",
            "by",
            "elevation",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name, city, and country of the airport that has the highest latitude.",
        "question_toks": [
            "Find",
            "the",
            "name",
            ",",
            "city",
            ",",
            "and",
            "country",
            "of",
            "the",
            "airport",
            "that",
            "has",
            "the",
            "highest",
            "latitude",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT name ,  city ,  country FROM airports ORDER BY elevation DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "city",
            ",",
            "country",
            "FROM",
            "airports",
            "ORDER",
            "BY",
            "elevation",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "city",
            ",",
            "country",
            "from",
            "airports",
            "order",
            "by",
            "elevation",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name, city, and country of the airport with the highest elevation?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            ",",
            "city",
            ",",
            "and",
            "country",
            "of",
            "the",
            "airport",
            "with",
            "the",
            "highest",
            "elevation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name ,  T1.city ,  T2.dst_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.dst_apid GROUP BY T2.dst_apid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.city",
            ",",
            "T2.dst_apid",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.dst_apid",
            "GROUP",
            "BY",
            "T2.dst_apid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "city",
            ",",
            "t2",
            ".",
            "dst_apid",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "dst_apid",
            "group",
            "by",
            "t2",
            ".",
            "dst_apid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and city of the airport which is the destination of the most number of routes.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "city",
            "of",
            "the",
            "airport",
            "which",
            "is",
            "the",
            "destination",
            "of",
            "the",
            "most",
            "number",
            "of",
            "routes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name ,  T1.city ,  T2.dst_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.dst_apid GROUP BY T2.dst_apid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.city",
            ",",
            "T2.dst_apid",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.dst_apid",
            "GROUP",
            "BY",
            "T2.dst_apid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "city",
            ",",
            "t2",
            ".",
            "dst_apid",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "dst_apid",
            "group",
            "by",
            "t2",
            ".",
            "dst_apid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and city of the airport that the most routes end at?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "city",
            "of",
            "the",
            "airport",
            "that",
            "the",
            "most",
            "routes",
            "end",
            "at",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    2,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name ,  T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid GROUP BY T2.alid ORDER BY count(*) DESC LIMIT 10",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.alid",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "GROUP",
            "BY",
            "T2.alid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "alid",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "group",
            "by",
            "t2",
            ".",
            "alid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the names of the top 10 airlines that operate the most number of routes.",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "top",
            "10",
            "airlines",
            "that",
            "operate",
            "the",
            "most",
            "number",
            "of",
            "routes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name ,  T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid GROUP BY T2.alid ORDER BY count(*) DESC LIMIT 10",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T2.alid",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "GROUP",
            "BY",
            "T2.alid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t2",
            ".",
            "alid",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "group",
            "by",
            "t2",
            ".",
            "alid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "For the airline ids with the top 10 most routes operated, what are their names?",
        "question_toks": [
            "For",
            "the",
            "airline",
            "ids",
            "with",
            "the",
            "top",
            "10",
            "most",
            "routes",
            "operated",
            ",",
            "what",
            "are",
            "their",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 10,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name ,  T1.city ,  T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.src_apid GROUP BY T2.src_apid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.city",
            ",",
            "T2.src_apid",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.src_apid",
            "GROUP",
            "BY",
            "T2.src_apid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "city",
            ",",
            "t2",
            ".",
            "src_apid",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "src_apid",
            "group",
            "by",
            "t2",
            ".",
            "src_apid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and city of the airport which is the source for the most number of flight routes.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "city",
            "of",
            "the",
            "airport",
            "which",
            "is",
            "the",
            "source",
            "for",
            "the",
            "most",
            "number",
            "of",
            "flight",
            "routes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name ,  T1.city ,  T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.src_apid GROUP BY T2.src_apid ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            ",",
            "T1.city",
            ",",
            "T2.src_apid",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.src_apid",
            "GROUP",
            "BY",
            "T2.src_apid",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "city",
            ",",
            "t2",
            ".",
            "src_apid",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "src_apid",
            "group",
            "by",
            "t2",
            ".",
            "src_apid",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name and city of the airport from most of the routes start?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "and",
            "city",
            "of",
            "the",
            "airport",
            "from",
            "most",
            "of",
            "the",
            "routes",
            "start",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(DISTINCT dst_apid) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid WHERE T1.name  =  'American Airlines'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dst_apid",
            ")",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "WHERE",
            "T1.name",
            "=",
            "'American",
            "Airlines",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dst_apid",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the number of different airports which are the destinations of the American Airlines.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "different",
            "airports",
            "which",
            "are",
            "the",
            "destinations",
            "of",
            "the",
            "American",
            "Airlines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"American Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(DISTINCT dst_apid) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid WHERE T1.name  =  'American Airlines'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "DISTINCT",
            "dst_apid",
            ")",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "WHERE",
            "T1.name",
            "=",
            "'American",
            "Airlines",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "dst_apid",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the number of different different airports that are destinations for American Airlines?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "different",
            "different",
            "airports",
            "that",
            "are",
            "destinations",
            "for",
            "American",
            "Airlines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"American Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country FROM airlines GROUP BY country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airlines",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airlines",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which countries has the most number of airlines?",
        "question_toks": [
            "Which",
            "countries",
            "has",
            "the",
            "most",
            "number",
            "of",
            "airlines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country FROM airlines GROUP BY country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airlines",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airlines",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the country with the most number of home airlines?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "country",
            "with",
            "the",
            "most",
            "number",
            "of",
            "home",
            "airlines",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country FROM airlines WHERE active  =  'Y' GROUP BY country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airlines",
            "WHERE",
            "active",
            "=",
            "'Y",
            "'",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airlines",
            "where",
            "active",
            "=",
            "value",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which countries has the most number of airlines whose active status is 'Y'?",
        "question_toks": [
            "Which",
            "countries",
            "has",
            "the",
            "most",
            "number",
            "of",
            "airlines",
            "whose",
            "active",
            "status",
            "is",
            "'Y",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country FROM airlines WHERE active  =  'Y' GROUP BY country ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "country",
            "FROM",
            "airlines",
            "WHERE",
            "active",
            "=",
            "'Y",
            "'",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            "from",
            "airlines",
            "where",
            "active",
            "=",
            "value",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the countries with the most airlines whose active status is Y?",
        "question_toks": [
            "What",
            "are",
            "the",
            "countries",
            "with",
            "the",
            "most",
            "airlines",
            "whose",
            "active",
            "status",
            "is",
            "Y",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Y\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country ,  count(*) FROM airlines GROUP BY country ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "List all countries and their number of airlines in the descending order of number of airlines.",
        "question_toks": [
            "List",
            "all",
            "countries",
            "and",
            "their",
            "number",
            "of",
            "airlines",
            "in",
            "the",
            "descending",
            "order",
            "of",
            "number",
            "of",
            "airlines",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT country ,  count(*) FROM airlines GROUP BY country ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "country",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "How many airlines operate out of each country in descending order?",
        "question_toks": [
            "How",
            "many",
            "airlines",
            "operate",
            "out",
            "of",
            "each",
            "country",
            "in",
            "descending",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) ,  country FROM airports GROUP BY country ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country",
            "from",
            "airports",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "How many airports are there per country? Order the countries by decreasing number of airports.",
        "question_toks": [
            "How",
            "many",
            "airports",
            "are",
            "there",
            "per",
            "country",
            "?",
            "Order",
            "the",
            "countries",
            "by",
            "decreasing",
            "number",
            "of",
            "airports",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) ,  country FROM airports GROUP BY country ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "country",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "country",
            "from",
            "airports",
            "group",
            "by",
            "country",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "What is the number of airports per country, ordered from most to least?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "airports",
            "per",
            "country",
            ",",
            "ordered",
            "from",
            "most",
            "to",
            "least",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) ,  city FROM airports WHERE country  =  'United States' GROUP BY city ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            "GROUP",
            "BY",
            "city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            "group",
            "by",
            "city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "How many airports are there per city in the United States? Order the cities by decreasing number of airports.",
        "question_toks": [
            "How",
            "many",
            "airports",
            "are",
            "there",
            "per",
            "city",
            "in",
            "the",
            "United",
            "States",
            "?",
            "Order",
            "the",
            "cities",
            "by",
            "decreasing",
            "number",
            "of",
            "airports",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) ,  city FROM airports WHERE country  =  'United States' GROUP BY city ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            "GROUP",
            "BY",
            "city",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "city",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            "group",
            "by",
            "city",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "How many airports are there per city in the US ordered from most to least?",
        "question_toks": [
            "How",
            "many",
            "airports",
            "are",
            "there",
            "per",
            "city",
            "in",
            "the",
            "US",
            "ordered",
            "from",
            "most",
            "to",
            "least",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT city FROM airports WHERE country  =  'United States' GROUP BY city HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "Return the cities with more than 3 airports in the United States.",
        "question_toks": [
            "Return",
            "the",
            "cities",
            "with",
            "more",
            "than",
            "3",
            "airports",
            "in",
            "the",
            "United",
            "States",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT city FROM airports WHERE country  =  'United States' GROUP BY city HAVING count(*)  >  3",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What is the number of cities in the United States with more than 3 airports?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "cities",
            "in",
            "the",
            "United",
            "States",
            "with",
            "more",
            "than",
            "3",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"United States\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM (SELECT city FROM airports GROUP BY city HAVING count(*)  >  3)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "city",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "city",
            "from",
            "airports",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            ")"
        ],
        "question": "How many cities are there that have more than 3 airports?",
        "question_toks": [
            "How",
            "many",
            "cities",
            "are",
            "there",
            "that",
            "have",
            "more",
            "than",
            "3",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                11,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [
                                [
                                    0,
                                    11,
                                    false
                                ]
                            ],
                            "having": [
                                [
                                    false,
                                    3,
                                    [
                                        0,
                                        [
                                            3,
                                            0,
                                            false
                                        ],
                                        null
                                    ],
                                    3.0,
                                    null
                                ]
                            ],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM (SELECT city FROM airports GROUP BY city HAVING count(*)  >  3)",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "(",
            "SELECT",
            "city",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "3",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "(",
            "select",
            "city",
            "from",
            "airports",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            ")"
        ],
        "question": "What is the count of cities with more than 3 airports?",
        "question_toks": [
            "What",
            "is",
            "the",
            "count",
            "of",
            "cities",
            "with",
            "more",
            "than",
            "3",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "sql",
                        {
                            "from": {
                                "table_units": [
                                    [
                                        "table_unit",
                                        1
                                    ]
                                ],
                                "conds": []
                            },
                            "select": [
                                false,
                                [
                                    [
                                        0,
                                        [
                                            0,
                                            [
                                                0,
                                                11,
                                                false
                                            ],
                                            null
                                        ]
                                    ]
                                ]
                            ],
                            "where": [],
                            "groupBy": [
                                [
                                    0,
                                    11,
                                    false
                                ]
                            ],
                            "having": [
                                [
                                    false,
                                    3,
                                    [
                                        0,
                                        [
                                            3,
                                            0,
                                            false
                                        ],
                                        null
                                    ],
                                    3.0,
                                    null
                                ]
                            ],
                            "orderBy": [],
                            "limit": null,
                            "intersect": null,
                            "union": null,
                            "except": null
                        }
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT city ,  count(*) FROM airports GROUP BY city HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airports",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "List the cities which have more than one airport and number of airports.",
        "question_toks": [
            "List",
            "the",
            "cities",
            "which",
            "have",
            "more",
            "than",
            "one",
            "airport",
            "and",
            "number",
            "of",
            "airports",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT city ,  count(*) FROM airports GROUP BY city HAVING count(*)  >  1",
        "query_toks": [
            "SELECT",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airports",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value"
        ],
        "question": "What are the names of all cities with more than one airport and how many airports do they have?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "all",
            "cities",
            "with",
            "more",
            "than",
            "one",
            "airport",
            "and",
            "how",
            "many",
            "airports",
            "do",
            "they",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT city FROM airports GROUP BY city HAVING count(*)  >  2 ORDER BY count(*)",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "airports",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")"
        ],
        "question": "List the cities which have more than 2 airports sorted by the number of airports.",
        "question_toks": [
            "List",
            "the",
            "cities",
            "which",
            "have",
            "more",
            "than",
            "2",
            "airports",
            "sorted",
            "by",
            "the",
            "number",
            "of",
            "airports",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT city FROM airports GROUP BY city HAVING count(*)  >  2 ORDER BY count(*)",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "2",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "airports",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "value",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")"
        ],
        "question": "What are the cities that have more than 2 airports sorted by number of airports?",
        "question_toks": [
            "What",
            "are",
            "the",
            "cities",
            "that",
            "have",
            "more",
            "than",
            "2",
            "airports",
            "sorted",
            "by",
            "number",
            "of",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) ,  T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.src_apid GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.src_apid",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "src_apid",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "Find the number of routes for each source airport and the airport name.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "routes",
            "for",
            "each",
            "source",
            "airport",
            "and",
            "the",
            "airport",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) ,  T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.src_apid GROUP BY T1.name",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.src_apid",
            "GROUP",
            "BY",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "src_apid",
            "group",
            "by",
            "t1",
            ".",
            "name"
        ],
        "question": "For each airport name, how many routes start at that airport?",
        "question_toks": [
            "For",
            "each",
            "airport",
            "name",
            ",",
            "how",
            "many",
            "routes",
            "start",
            "at",
            "that",
            "airport",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) ,  T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.src_apid GROUP BY T1.name ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.src_apid",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "src_apid",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "Find the number of routes and airport name for each source airport, order the results by decreasing number of routes.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "routes",
            "and",
            "airport",
            "name",
            "for",
            "each",
            "source",
            "airport",
            ",",
            "order",
            "the",
            "results",
            "by",
            "decreasing",
            "number",
            "of",
            "routes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) ,  T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.src_apid GROUP BY T1.name ORDER BY count(*) DESC",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T1.name",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.src_apid",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "src_apid",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc"
        ],
        "question": "For each  airport name, how many routes start at that airport, ordered from most to least?",
        "question_toks": [
            "For",
            "each",
            "airport",
            "name",
            ",",
            "how",
            "many",
            "routes",
            "start",
            "at",
            "that",
            "airport",
            ",",
            "ordered",
            "from",
            "most",
            "to",
            "least",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT avg(elevation) ,  country FROM airports GROUP BY country",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "elevation",
            ")",
            ",",
            "country",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "elevation",
            ")",
            ",",
            "country",
            "from",
            "airports",
            "group",
            "by",
            "country"
        ],
        "question": "Find the average elevation of all airports for each country.",
        "question_toks": [
            "Find",
            "the",
            "average",
            "elevation",
            "of",
            "all",
            "airports",
            "for",
            "each",
            "country",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT avg(elevation) ,  country FROM airports GROUP BY country",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "elevation",
            ")",
            ",",
            "country",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "country"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "elevation",
            ")",
            ",",
            "country",
            "from",
            "airports",
            "group",
            "by",
            "country"
        ],
        "question": "For each country, what is the average elevation of that country's airports?",
        "question_toks": [
            "For",
            "each",
            "country",
            ",",
            "what",
            "is",
            "the",
            "average",
            "elevation",
            "of",
            "that",
            "country",
            "'s",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT city FROM airports GROUP BY city HAVING count(*)  =  2",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "airports",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "Find the cities which have exactly two airports.",
        "question_toks": [
            "Find",
            "the",
            "cities",
            "which",
            "have",
            "exactly",
            "two",
            "airports",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT city FROM airports GROUP BY city HAVING count(*)  =  2",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "airports",
            "GROUP",
            "BY",
            "city",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "airports",
            "group",
            "by",
            "city",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the cities with exactly two airports?",
        "question_toks": [
            "What",
            "are",
            "the",
            "cities",
            "with",
            "exactly",
            "two",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.country ,  T1.name ,  count(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid GROUP BY T1.country ,  T1.name",
        "query_toks": [
            "SELECT",
            "T1.country",
            ",",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "GROUP",
            "BY",
            "T1.country",
            ",",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "group",
            "by",
            "t1",
            ".",
            "country",
            ",",
            "t1",
            ".",
            "name"
        ],
        "question": "For each country and airline name, how many routes are there?",
        "question_toks": [
            "For",
            "each",
            "country",
            "and",
            "airline",
            "name",
            ",",
            "how",
            "many",
            "routes",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ],
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.country ,  T1.name ,  count(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid GROUP BY T1.country ,  T1.name",
        "query_toks": [
            "SELECT",
            "T1.country",
            ",",
            "T1.name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "GROUP",
            "BY",
            "T1.country",
            ",",
            "T1.name"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "country",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "group",
            "by",
            "t1",
            ".",
            "country",
            ",",
            "t1",
            ".",
            "name"
        ],
        "question": "What is the total number of routes for each country and airline in that country?",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "number",
            "of",
            "routes",
            "for",
            "each",
            "country",
            "and",
            "airline",
            "in",
            "that",
            "country",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ],
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid  =  T2.apid WHERE T2.country  =  'Italy'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "routes",
            "AS",
            "T1",
            "JOIN",
            "airports",
            "AS",
            "T2",
            "ON",
            "T1.dst_apid",
            "=",
            "T2.apid",
            "WHERE",
            "T2.country",
            "=",
            "'Italy",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "routes",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dst_apid",
            "=",
            "t2",
            ".",
            "apid",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "Find the number of routes with destination airports in Italy.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "routes",
            "with",
            "destination",
            "airports",
            "in",
            "Italy",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Italy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid  =  T2.apid WHERE T2.country  =  'Italy'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "routes",
            "AS",
            "T1",
            "JOIN",
            "airports",
            "AS",
            "T2",
            "ON",
            "T1.dst_apid",
            "=",
            "T2.apid",
            "WHERE",
            "T2.country",
            "=",
            "'Italy",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "routes",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dst_apid",
            "=",
            "t2",
            ".",
            "apid",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value"
        ],
        "question": "What is the number of routes whose destinations are Italian airports?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "routes",
            "whose",
            "destinations",
            "are",
            "Italian",
            "airports",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Italy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid  =  T2.apid JOIN airlines AS T3 ON T1.alid  =  T3.alid WHERE T2.country  =  'Italy' AND T3.name  =  'American Airlines'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "routes",
            "AS",
            "T1",
            "JOIN",
            "airports",
            "AS",
            "T2",
            "ON",
            "T1.dst_apid",
            "=",
            "T2.apid",
            "JOIN",
            "airlines",
            "AS",
            "T3",
            "ON",
            "T1.alid",
            "=",
            "T3.alid",
            "WHERE",
            "T2.country",
            "=",
            "'Italy",
            "'",
            "AND",
            "T3.name",
            "=",
            "'American",
            "Airlines",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "routes",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dst_apid",
            "=",
            "t2",
            ".",
            "apid",
            "join",
            "airlines",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t3",
            ".",
            "alid",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Return the number of routes with destination airport in Italy operated by the airline with name 'American Airlines'.",
        "question_toks": [
            "Return",
            "the",
            "number",
            "of",
            "routes",
            "with",
            "destination",
            "airport",
            "in",
            "Italy",
            "operated",
            "by",
            "the",
            "airline",
            "with",
            "name",
            "'American",
            "Airlines",
            "'",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Italy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"American Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid  =  T2.apid JOIN airlines AS T3 ON T1.alid  =  T3.alid WHERE T2.country  =  'Italy' AND T3.name  =  'American Airlines'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "routes",
            "AS",
            "T1",
            "JOIN",
            "airports",
            "AS",
            "T2",
            "ON",
            "T1.dst_apid",
            "=",
            "T2.apid",
            "JOIN",
            "airlines",
            "AS",
            "T3",
            "ON",
            "T1.alid",
            "=",
            "T3.alid",
            "WHERE",
            "T2.country",
            "=",
            "'Italy",
            "'",
            "AND",
            "T3.name",
            "=",
            "'American",
            "Airlines",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "routes",
            "as",
            "t1",
            "join",
            "airports",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "dst_apid",
            "=",
            "t2",
            ".",
            "apid",
            "join",
            "airlines",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t3",
            ".",
            "alid",
            "where",
            "t2",
            ".",
            "country",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the number of routes operated by the airline American Airlines whose destinations are in Italy?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "routes",
            "operated",
            "by",
            "the",
            "airline",
            "American",
            "Airlines",
            "whose",
            "destinations",
            "are",
            "in",
            "Italy",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Italy\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"American Airlines\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.dst_apid WHERE T1.name  =  'John F Kennedy International Airport'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.dst_apid",
            "WHERE",
            "T1.name",
            "=",
            "'John",
            "F",
            "Kennedy",
            "International",
            "Airport",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "dst_apid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the number of routes that have destination John F Kennedy International Airport.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "routes",
            "that",
            "have",
            "destination",
            "John",
            "F",
            "Kennedy",
            "International",
            "Airport",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"John F Kennedy International Airport\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.dst_apid WHERE T1.name  =  'John F Kennedy International Airport'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.dst_apid",
            "WHERE",
            "T1.name",
            "=",
            "'John",
            "F",
            "Kennedy",
            "International",
            "Airport",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "dst_apid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the number of routes that end at John F Kennedy International Airport?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "routes",
            "that",
            "end",
            "at",
            "John",
            "F",
            "Kennedy",
            "International",
            "Airport",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"John F Kennedy International Airport\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country  =  'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country  =  'United States')",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "routes",
            "WHERE",
            "dst_apid",
            "IN",
            "(",
            "SELECT",
            "apid",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'Canada",
            "'",
            ")",
            "AND",
            "src_apid",
            "IN",
            "(",
            "SELECT",
            "apid",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "routes",
            "where",
            "dst_apid",
            "in",
            "(",
            "select",
            "apid",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            ")",
            "and",
            "src_apid",
            "in",
            "(",
            "select",
            "apid",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            ")"
        ],
        "question": "Find the number of routes from the United States to Canada.",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "routes",
            "from",
            "the",
            "United",
            "States",
            "to",
            "Canada",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"Canada\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"United States\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT count(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country  =  'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country  =  'United States')",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "routes",
            "WHERE",
            "dst_apid",
            "IN",
            "(",
            "SELECT",
            "apid",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'Canada",
            "'",
            ")",
            "AND",
            "src_apid",
            "IN",
            "(",
            "SELECT",
            "apid",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "routes",
            "where",
            "dst_apid",
            "in",
            "(",
            "select",
            "apid",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            ")",
            "and",
            "src_apid",
            "in",
            "(",
            "select",
            "apid",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            ")"
        ],
        "question": "How many routes go from the United States to Canada?",
        "question_toks": [
            "How",
            "many",
            "routes",
            "go",
            "from",
            "the",
            "United",
            "States",
            "to",
            "Canada",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"Canada\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"United States\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT rid FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country  =  'United States') AND src_apid IN (SELECT apid FROM airports WHERE country  =  'United States')",
        "query_toks": [
            "SELECT",
            "rid",
            "FROM",
            "routes",
            "WHERE",
            "dst_apid",
            "IN",
            "(",
            "SELECT",
            "apid",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            ")",
            "AND",
            "src_apid",
            "IN",
            "(",
            "SELECT",
            "apid",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "routes",
            "where",
            "dst_apid",
            "in",
            "(",
            "select",
            "apid",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            ")",
            "and",
            "src_apid",
            "in",
            "(",
            "select",
            "apid",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            ")"
        ],
        "question": "Find the id of routes whose source and destination airports are in the United States.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "routes",
            "whose",
            "source",
            "and",
            "destination",
            "airports",
            "are",
            "in",
            "the",
            "United",
            "States",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"United States\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"United States\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT rid FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country  =  'United States') AND src_apid IN (SELECT apid FROM airports WHERE country  =  'United States')",
        "query_toks": [
            "SELECT",
            "rid",
            "FROM",
            "routes",
            "WHERE",
            "dst_apid",
            "IN",
            "(",
            "SELECT",
            "apid",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            ")",
            "AND",
            "src_apid",
            "IN",
            "(",
            "SELECT",
            "apid",
            "FROM",
            "airports",
            "WHERE",
            "country",
            "=",
            "'United",
            "States",
            "'",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "rid",
            "from",
            "routes",
            "where",
            "dst_apid",
            "in",
            "(",
            "select",
            "apid",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            ")",
            "and",
            "src_apid",
            "in",
            "(",
            "select",
            "apid",
            "from",
            "airports",
            "where",
            "country",
            "=",
            "value",
            ")"
        ],
        "question": "What is the id of the routes whose source and destination airports are in the United States?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "routes",
            "whose",
            "source",
            "and",
            "destination",
            "airports",
            "are",
            "in",
            "the",
            "United",
            "States",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"United States\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            9,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"United States\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid GROUP BY T1.name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of airline which runs the most number of routes.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "airline",
            "which",
            "runs",
            "the",
            "most",
            "number",
            "of",
            "routes",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name FROM airlines AS T1 JOIN routes AS T2 ON T1.alid  =  T2.alid GROUP BY T1.name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "airlines",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.alid",
            "=",
            "T2.alid",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "airlines",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "alid",
            "=",
            "t2",
            ".",
            "alid",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the airline with the most routes?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "airline",
            "with",
            "the",
            "most",
            "routes",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.src_apid WHERE T1.country  =  'China' GROUP BY T1.name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.src_apid",
            "WHERE",
            "T1.country",
            "=",
            "'China",
            "'",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "src_apid",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the busiest source airport that runs most number of routes in China.",
        "question_toks": [
            "Find",
            "the",
            "busiest",
            "source",
            "airport",
            "that",
            "runs",
            "most",
            "number",
            "of",
            "routes",
            "in",
            "China",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.src_apid WHERE T1.country  =  'China' GROUP BY T1.name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.src_apid",
            "WHERE",
            "T1.country",
            "=",
            "'China",
            "'",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "src_apid",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the airport with the most number of routes that start in China?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "airport",
            "with",
            "the",
            "most",
            "number",
            "of",
            "routes",
            "that",
            "start",
            "in",
            "China",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.dst_apid WHERE T1.country  =  'China' GROUP BY T1.name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.dst_apid",
            "WHERE",
            "T1.country",
            "=",
            "'China",
            "'",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "dst_apid",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the busiest destination airport that runs most number of routes in China.",
        "question_toks": [
            "Find",
            "the",
            "busiest",
            "destination",
            "airport",
            "that",
            "runs",
            "most",
            "number",
            "of",
            "routes",
            "in",
            "China",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "flight_4",
        "query": "SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid  =  T2.dst_apid WHERE T1.country  =  'China' GROUP BY T1.name ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.name",
            "FROM",
            "airports",
            "AS",
            "T1",
            "JOIN",
            "routes",
            "AS",
            "T2",
            "ON",
            "T1.apid",
            "=",
            "T2.dst_apid",
            "WHERE",
            "T1.country",
            "=",
            "'China",
            "'",
            "GROUP",
            "BY",
            "T1.name",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "airports",
            "as",
            "t1",
            "join",
            "routes",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "apid",
            "=",
            "t2",
            ".",
            "dst_apid",
            "where",
            "t1",
            ".",
            "country",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the airport that is the destination of the most number of routes that start in China?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "airport",
            "that",
            "is",
            "the",
            "destination",
            "of",
            "the",
            "most",
            "number",
            "of",
            "routes",
            "that",
            "start",
            "in",
            "China",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id FROM orders ORDER BY date_order_placed DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "order_id",
            "FROM",
            "orders",
            "ORDER",
            "BY",
            "date_order_placed",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            "from",
            "orders",
            "order",
            "by",
            "date_order_placed",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the most recent order?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "most",
            "recent",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id FROM orders ORDER BY date_order_placed DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "order_id",
            "FROM",
            "orders",
            "ORDER",
            "BY",
            "date_order_placed",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            "from",
            "orders",
            "order",
            "by",
            "date_order_placed",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id of the order made most recently.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "order",
            "made",
            "most",
            "recently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id ,  customer_id FROM orders ORDER BY date_order_placed LIMIT 1",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "customer_id",
            "FROM",
            "orders",
            "ORDER",
            "BY",
            "date_order_placed",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "customer_id",
            "from",
            "orders",
            "order",
            "by",
            "date_order_placed",
            "limit",
            "value"
        ],
        "question": "what are the order id and customer id of the oldest order?",
        "question_toks": [
            "what",
            "are",
            "the",
            "order",
            "id",
            "and",
            "customer",
            "id",
            "of",
            "the",
            "oldest",
            "order",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id ,  customer_id FROM orders ORDER BY date_order_placed LIMIT 1",
        "query_toks": [
            "SELECT",
            "order_id",
            ",",
            "customer_id",
            "FROM",
            "orders",
            "ORDER",
            "BY",
            "date_order_placed",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            ",",
            "customer_id",
            "from",
            "orders",
            "order",
            "by",
            "date_order_placed",
            "limit",
            "value"
        ],
        "question": "Find the order id and customer id associated with the oldest order.",
        "question_toks": [
            "Find",
            "the",
            "order",
            "id",
            "and",
            "customer",
            "id",
            "associated",
            "with",
            "the",
            "oldest",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id FROM shipments WHERE shipment_tracking_number = \"3452\"",
        "query_toks": [
            "SELECT",
            "order_id",
            "FROM",
            "shipments",
            "WHERE",
            "shipment_tracking_number",
            "=",
            "``",
            "3452",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            "from",
            "shipments",
            "where",
            "shipment_tracking_number",
            "=",
            "value"
        ],
        "question": "Find the id of the order whose shipment tracking number is \"3452\".",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "order",
            "whose",
            "shipment",
            "tracking",
            "number",
            "is",
            "``",
            "3452",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"3452\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id FROM shipments WHERE shipment_tracking_number = \"3452\"",
        "query_toks": [
            "SELECT",
            "order_id",
            "FROM",
            "shipments",
            "WHERE",
            "shipment_tracking_number",
            "=",
            "``",
            "3452",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            "from",
            "shipments",
            "where",
            "shipment_tracking_number",
            "=",
            "value"
        ],
        "question": "Which order's shipment tracking number is \"3452\"? Give me the id of the order.",
        "question_toks": [
            "Which",
            "order",
            "'s",
            "shipment",
            "tracking",
            "number",
            "is",
            "``",
            "3452",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "id",
            "of",
            "the",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    "\"3452\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_item_id FROM order_items WHERE product_id = 11",
        "query_toks": [
            "SELECT",
            "order_item_id",
            "FROM",
            "order_items",
            "WHERE",
            "product_id",
            "=",
            "11"
        ],
        "query_toks_no_value": [
            "select",
            "order_item_id",
            "from",
            "order_items",
            "where",
            "product_id",
            "=",
            "value"
        ],
        "question": "Find the ids of all the order items whose product id is 11.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "all",
            "the",
            "order",
            "items",
            "whose",
            "product",
            "id",
            "is",
            "11",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    11.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_item_id FROM order_items WHERE product_id = 11",
        "query_toks": [
            "SELECT",
            "order_item_id",
            "FROM",
            "order_items",
            "WHERE",
            "product_id",
            "=",
            "11"
        ],
        "query_toks_no_value": [
            "select",
            "order_item_id",
            "from",
            "order_items",
            "where",
            "product_id",
            "=",
            "value"
        ],
        "question": "Find all the order items whose product id is 11. What are the order item ids?",
        "question_toks": [
            "Find",
            "all",
            "the",
            "order",
            "items",
            "whose",
            "product",
            "id",
            "is",
            "11",
            ".",
            "What",
            "are",
            "the",
            "order",
            "item",
            "ids",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    11.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Packing\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "Packing",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "List the name of all the distinct customers who have orders with status \"Packing\".",
        "question_toks": [
            "List",
            "the",
            "name",
            "of",
            "all",
            "the",
            "distinct",
            "customers",
            "who",
            "have",
            "orders",
            "with",
            "status",
            "``",
            "Packing",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Packing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Packing\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "Packing",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "Which customers have orders with status \"Packing\"? Give me the customer names.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "orders",
            "with",
            "status",
            "``",
            "Packing",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "customer",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Packing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT T1.customer_details FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"On Road\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_details",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "On",
            "Road",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_details",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "Find the details of all the distinct customers who have orders with status \"On Road\".",
        "question_toks": [
            "Find",
            "the",
            "details",
            "of",
            "all",
            "the",
            "distinct",
            "customers",
            "who",
            "have",
            "orders",
            "with",
            "status",
            "``",
            "On",
            "Road",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"On Road\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT T1.customer_details FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"On Road\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.customer_details",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "On",
            "Road",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "customer_details",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "What are the distinct customers who have orders with status \"On Road\"? Give me the customer details?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "customers",
            "who",
            "have",
            "orders",
            "with",
            "status",
            "``",
            "On",
            "Road",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "customer",
            "details",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"On Road\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the customer who has the most orders?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "most",
            "orders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which customer made the most orders? Find the customer name.",
        "question_toks": [
            "Which",
            "customer",
            "made",
            "the",
            "most",
            "orders",
            "?",
            "Find",
            "the",
            "customer",
            "name",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the customer id of the customer who has the most orders?",
        "question_toks": [
            "What",
            "is",
            "the",
            "customer",
            "id",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "most",
            "orders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the id of the customer who made the most orders.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "customer",
            "who",
            "made",
            "the",
            "most",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T2.order_id ,  T2.order_status FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = \"Jeramie\"",
        "query_toks": [
            "SELECT",
            "T2.order_id",
            ",",
            "T2.order_status",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.customer_name",
            "=",
            "``",
            "Jeramie",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "order_id",
            ",",
            "t2",
            ".",
            "order_status",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Give me a list of id and status of orders which belong to the customer named \"Jeramie\".",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "id",
            "and",
            "status",
            "of",
            "orders",
            "which",
            "belong",
            "to",
            "the",
            "customer",
            "named",
            "``",
            "Jeramie",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Jeramie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T2.order_id ,  T2.order_status FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = \"Jeramie\"",
        "query_toks": [
            "SELECT",
            "T2.order_id",
            ",",
            "T2.order_status",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.customer_name",
            "=",
            "``",
            "Jeramie",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "order_id",
            ",",
            "t2",
            ".",
            "order_status",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Which orders are made by the customer named \"Jeramie\"? Give me the order ids and status.",
        "question_toks": [
            "Which",
            "orders",
            "are",
            "made",
            "by",
            "the",
            "customer",
            "named",
            "``",
            "Jeramie",
            "''",
            "?",
            "Give",
            "me",
            "the",
            "order",
            "ids",
            "and",
            "status",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Jeramie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = \"Jeramie\"",
        "query_toks": [
            "SELECT",
            "T2.date_order_placed",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.customer_name",
            "=",
            "``",
            "Jeramie",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_order_placed",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "Find the dates of orders which belong to the customer named \"Jeramie\".",
        "question_toks": [
            "Find",
            "the",
            "dates",
            "of",
            "orders",
            "which",
            "belong",
            "to",
            "the",
            "customer",
            "named",
            "``",
            "Jeramie",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Jeramie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = \"Jeramie\"",
        "query_toks": [
            "SELECT",
            "T2.date_order_placed",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T1.customer_name",
            "=",
            "``",
            "Jeramie",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "date_order_placed",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t1",
            ".",
            "customer_name",
            "=",
            "value"
        ],
        "question": "What are the dates of the orders made by the customer named \"Jeramie\"?",
        "question_toks": [
            "What",
            "are",
            "the",
            "dates",
            "of",
            "the",
            "orders",
            "made",
            "by",
            "the",
            "customer",
            "named",
            "``",
            "Jeramie",
            "''",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Jeramie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.date_order_placed >= \"2009-01-01\" AND T2.date_order_placed <= \"2010-01-01\"",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.date_order_placed",
            ">",
            "=",
            "``",
            "2009-01-01",
            "''",
            "AND",
            "T2.date_order_placed",
            "<",
            "=",
            "``",
            "2010-01-01",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "date_order_placed",
            ">",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "date_order_placed",
            "<",
            "=",
            "value"
        ],
        "question": "Give me the names of customers who have placed orders between 2009-01-01 and 2010-01-01.",
        "question_toks": [
            "Give",
            "me",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "placed",
            "orders",
            "between",
            "2009-01-01",
            "and",
            "2010-01-01",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"2009-01-01\"",
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"2010-01-01\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.date_order_placed >= \"2009-01-01\" AND T2.date_order_placed <= \"2010-01-01\"",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.date_order_placed",
            ">",
            "=",
            "``",
            "2009-01-01",
            "''",
            "AND",
            "T2.date_order_placed",
            "<",
            "=",
            "``",
            "2010-01-01",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "date_order_placed",
            ">",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "date_order_placed",
            "<",
            "=",
            "value"
        ],
        "question": "Which customers made orders between 2009-01-01 and 2010-01-01? Find their names.",
        "question_toks": [
            "Which",
            "customers",
            "made",
            "orders",
            "between",
            "2009-01-01",
            "and",
            "2010-01-01",
            "?",
            "Find",
            "their",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"2009-01-01\"",
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"2010-01-01\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT T2.product_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id WHERE T1.date_order_placed >= \"1975-01-01\" AND T1.date_order_placed <= \"1976-01-01\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.product_id",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "WHERE",
            "T1.date_order_placed",
            ">",
            "=",
            "``",
            "1975-01-01",
            "''",
            "AND",
            "T1.date_order_placed",
            "<",
            "=",
            "``",
            "1976-01-01",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "product_id",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "date_order_placed",
            ">",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "date_order_placed",
            "<",
            "=",
            "value"
        ],
        "question": "Give me a list of distinct product ids from orders placed between 1975-01-01 and 1976-01-01?",
        "question_toks": [
            "Give",
            "me",
            "a",
            "list",
            "of",
            "distinct",
            "product",
            "ids",
            "from",
            "orders",
            "placed",
            "between",
            "1975-01-01",
            "and",
            "1976-01-01",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"1975-01-01\"",
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"1976-01-01\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT T2.product_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id WHERE T1.date_order_placed >= \"1975-01-01\" AND T1.date_order_placed <= \"1976-01-01\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T2.product_id",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "WHERE",
            "T1.date_order_placed",
            ">",
            "=",
            "``",
            "1975-01-01",
            "''",
            "AND",
            "T1.date_order_placed",
            "<",
            "=",
            "``",
            "1976-01-01",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "product_id",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t1",
            ".",
            "date_order_placed",
            ">",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "date_order_placed",
            "<",
            "=",
            "value"
        ],
        "question": "What are the distinct ids of products ordered between 1975-01-01 and 1976-01-01??",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "ids",
            "of",
            "products",
            "ordered",
            "between",
            "1975-01-01",
            "and",
            "1976-01-01",
            "?",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"1975-01-01\"",
                    null
                ],
                "and",
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"1976-01-01\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"On Road\" INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Shipped\"",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "On",
            "Road",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "Shipped",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "Find the names of the customers who have order status both \"On Road\" and \"Shipped\".",
        "question_toks": [
            "Find",
            "the",
            "names",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "order",
            "status",
            "both",
            "``",
            "On",
            "Road",
            "''",
            "and",
            "``",
            "Shipped",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"On Road\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Shipped\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"On Road\" INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Shipped\"",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "On",
            "Road",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "Shipped",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "Which customers have both \"On Road\" and \"Shipped\" as order status? List the customer names.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "both",
            "``",
            "On",
            "Road",
            "''",
            "and",
            "``",
            "Shipped",
            "''",
            "as",
            "order",
            "status",
            "?",
            "List",
            "the",
            "customer",
            "names",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"On Road\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Shipped\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"On Road\" INTERSECT SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Shipped\"",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "On",
            "Road",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.customer_id",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "Shipped",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "Find the id of the customers who have order status both \"On Road\" and \"Shipped\".",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "order",
            "status",
            "both",
            "``",
            "On",
            "Road",
            "''",
            "and",
            "``",
            "Shipped",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"On Road\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Shipped\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"On Road\" INTERSECT SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Shipped\"",
        "query_toks": [
            "SELECT",
            "T1.customer_id",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "On",
            "Road",
            "''",
            "INTERSECT",
            "SELECT",
            "T1.customer_id",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "WHERE",
            "T2.order_status",
            "=",
            "``",
            "Shipped",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value",
            "intersect",
            "select",
            "t1",
            ".",
            "customer_id",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "where",
            "t2",
            ".",
            "order_status",
            "=",
            "value"
        ],
        "question": "Which customers have both \"On Road\" and \"Shipped\" as order status? List the customer ids.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "both",
            "``",
            "On",
            "Road",
            "''",
            "and",
            "``",
            "Shipped",
            "''",
            "as",
            "order",
            "status",
            "?",
            "List",
            "the",
            "customer",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"On Road\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ],
                        "\"Shipped\"",
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.shipment_tracking_number = 3452",
        "query_toks": [
            "SELECT",
            "T1.date_order_placed",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "shipments",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "WHERE",
            "T2.shipment_tracking_number",
            "=",
            "3452"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_order_placed",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "shipments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t2",
            ".",
            "shipment_tracking_number",
            "=",
            "value"
        ],
        "question": "When was the order placed whose shipment tracking number is 3452? Give me the date.",
        "question_toks": [
            "When",
            "was",
            "the",
            "order",
            "placed",
            "whose",
            "shipment",
            "tracking",
            "number",
            "is",
            "3452",
            "?",
            "Give",
            "me",
            "the",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    3452.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.shipment_tracking_number = 3452",
        "query_toks": [
            "SELECT",
            "T1.date_order_placed",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "shipments",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "WHERE",
            "T2.shipment_tracking_number",
            "=",
            "3452"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_order_placed",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "shipments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t2",
            ".",
            "shipment_tracking_number",
            "=",
            "value"
        ],
        "question": "On which day was the order placed whose shipment tracking number is 3452?",
        "question_toks": [
            "On",
            "which",
            "day",
            "was",
            "the",
            "order",
            "placed",
            "whose",
            "shipment",
            "tracking",
            "number",
            "is",
            "3452",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    3452.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10",
        "query_toks": [
            "SELECT",
            "T1.date_order_placed",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "shipments",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "WHERE",
            "T2.invoice_number",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_order_placed",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "shipments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t2",
            ".",
            "invoice_number",
            "=",
            "value"
        ],
        "question": "What is the placement date of the order whose invoice number is 10?",
        "question_toks": [
            "What",
            "is",
            "the",
            "placement",
            "date",
            "of",
            "the",
            "order",
            "whose",
            "invoice",
            "number",
            "is",
            "10",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10",
        "query_toks": [
            "SELECT",
            "T1.date_order_placed",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "shipments",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "WHERE",
            "T2.invoice_number",
            "=",
            "10"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "date_order_placed",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "shipments",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "where",
            "t2",
            ".",
            "invoice_number",
            "=",
            "value"
        ],
        "question": "On what day was the order with invoice number 10 placed?",
        "question_toks": [
            "On",
            "what",
            "day",
            "was",
            "the",
            "order",
            "with",
            "invoice",
            "number",
            "10",
            "placed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT count(*) ,  T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T3.product_id",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "JOIN",
            "products",
            "AS",
            "T3",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "AND",
            "T2.product_id",
            "=",
            "T3.product_id",
            "GROUP",
            "BY",
            "T3.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t3",
            ".",
            "product_id",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "and",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "group",
            "by",
            "t3",
            ".",
            "product_id"
        ],
        "question": "List the count and id of each product in all the orders.",
        "question_toks": [
            "List",
            "the",
            "count",
            "and",
            "id",
            "of",
            "each",
            "product",
            "in",
            "all",
            "the",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT count(*) ,  T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            ",",
            "T3.product_id",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "JOIN",
            "products",
            "AS",
            "T3",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "AND",
            "T2.product_id",
            "=",
            "T3.product_id",
            "GROUP",
            "BY",
            "T3.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            ",",
            "t3",
            ".",
            "product_id",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "and",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "group",
            "by",
            "t3",
            ".",
            "product_id"
        ],
        "question": "For each product, return its id and the number of times it was ordered.",
        "question_toks": [
            "For",
            "each",
            "product",
            ",",
            "return",
            "its",
            "id",
            "and",
            "the",
            "number",
            "of",
            "times",
            "it",
            "was",
            "ordered",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T3.product_name ,  count(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id",
        "query_toks": [
            "SELECT",
            "T3.product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "JOIN",
            "products",
            "AS",
            "T3",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "AND",
            "T2.product_id",
            "=",
            "T3.product_id",
            "GROUP",
            "BY",
            "T3.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "and",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "group",
            "by",
            "t3",
            ".",
            "product_id"
        ],
        "question": "List the name and count of each product in all orders.",
        "question_toks": [
            "List",
            "the",
            "name",
            "and",
            "count",
            "of",
            "each",
            "product",
            "in",
            "all",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T3.product_name ,  count(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id",
        "query_toks": [
            "SELECT",
            "T3.product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "JOIN",
            "products",
            "AS",
            "T3",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "AND",
            "T2.product_id",
            "=",
            "T3.product_id",
            "GROUP",
            "BY",
            "T3.product_id"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "product_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "join",
            "products",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "and",
            "t2",
            ".",
            "product_id",
            "=",
            "t3",
            ".",
            "product_id",
            "group",
            "by",
            "t3",
            ".",
            "product_id"
        ],
        "question": "For each product, show its name and the number of times it was ordered.",
        "question_toks": [
            "For",
            "each",
            "product",
            ",",
            "show",
            "its",
            "name",
            "and",
            "the",
            "number",
            "of",
            "times",
            "it",
            "was",
            "ordered",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    12,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id FROM shipments WHERE shipment_date > \"2000-01-01\"",
        "query_toks": [
            "SELECT",
            "order_id",
            "FROM",
            "shipments",
            "WHERE",
            "shipment_date",
            ">",
            "``",
            "2000-01-01",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            "from",
            "shipments",
            "where",
            "shipment_date",
            ">",
            "value"
        ],
        "question": "Find the ids of orders which are shipped after 2000-01-01.",
        "question_toks": [
            "Find",
            "the",
            "ids",
            "of",
            "orders",
            "which",
            "are",
            "shipped",
            "after",
            "2000-01-01",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"2000-01-01\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id FROM shipments WHERE shipment_date > \"2000-01-01\"",
        "query_toks": [
            "SELECT",
            "order_id",
            "FROM",
            "shipments",
            "WHERE",
            "shipment_date",
            ">",
            "``",
            "2000-01-01",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            "from",
            "shipments",
            "where",
            "shipment_date",
            ">",
            "value"
        ],
        "question": "Which orders have shipment after 2000-01-01? Give me the order ids.",
        "question_toks": [
            "Which",
            "orders",
            "have",
            "shipment",
            "after",
            "2000-01-01",
            "?",
            "Give",
            "me",
            "the",
            "order",
            "ids",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"2000-01-01\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id FROM shipments WHERE shipment_date  =  (SELECT max(shipment_date) FROM shipments)",
        "query_toks": [
            "SELECT",
            "order_id",
            "FROM",
            "shipments",
            "WHERE",
            "shipment_date",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "shipment_date",
            ")",
            "FROM",
            "shipments",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            "from",
            "shipments",
            "where",
            "shipment_date",
            "=",
            "(",
            "select",
            "max",
            "(",
            "shipment_date",
            ")",
            "from",
            "shipments",
            ")"
        ],
        "question": "Find the id of the order which is shipped most recently.",
        "question_toks": [
            "Find",
            "the",
            "id",
            "of",
            "the",
            "order",
            "which",
            "is",
            "shipped",
            "most",
            "recently",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT order_id FROM shipments WHERE shipment_date  =  (SELECT max(shipment_date) FROM shipments)",
        "query_toks": [
            "SELECT",
            "order_id",
            "FROM",
            "shipments",
            "WHERE",
            "shipment_date",
            "=",
            "(",
            "SELECT",
            "max",
            "(",
            "shipment_date",
            ")",
            "FROM",
            "shipments",
            ")"
        ],
        "query_toks_no_value": [
            "select",
            "order_id",
            "from",
            "shipments",
            "where",
            "shipment_date",
            "=",
            "(",
            "select",
            "max",
            "(",
            "shipment_date",
            ")",
            "from",
            "shipments",
            ")"
        ],
        "question": "Which order has the most recent shipment? Give me the order id.",
        "question_toks": [
            "Which",
            "order",
            "has",
            "the",
            "most",
            "recent",
            "shipment",
            "?",
            "Give",
            "me",
            "the",
            "order",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT product_name FROM products ORDER BY product_name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_name",
            "FROM",
            "products",
            "ORDER",
            "BY",
            "product_name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_name"
        ],
        "question": "List the names of all distinct products in alphabetical order.",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "all",
            "distinct",
            "products",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT product_name FROM products ORDER BY product_name",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "product_name",
            "FROM",
            "products",
            "ORDER",
            "BY",
            "product_name"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "product_name",
            "from",
            "products",
            "order",
            "by",
            "product_name"
        ],
        "question": "Sort all the distinct products in alphabetical order.",
        "question_toks": [
            "Sort",
            "all",
            "the",
            "distinct",
            "products",
            "in",
            "alphabetical",
            "order",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "order_id",
            "FROM",
            "orders",
            "ORDER",
            "BY",
            "date_order_placed"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "order_id",
            "from",
            "orders",
            "order",
            "by",
            "date_order_placed"
        ],
        "question": "List the ids of all distinct orders ordered by placed date.",
        "question_toks": [
            "List",
            "the",
            "ids",
            "of",
            "all",
            "distinct",
            "orders",
            "ordered",
            "by",
            "placed",
            "date",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "order_id",
            "FROM",
            "orders",
            "ORDER",
            "BY",
            "date_order_placed"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "order_id",
            "from",
            "orders",
            "order",
            "by",
            "date_order_placed"
        ],
        "question": "What are ids of the all distinct orders, sorted by placement date?",
        "question_toks": [
            "What",
            "are",
            "ids",
            "of",
            "the",
            "all",
            "distinct",
            "orders",
            ",",
            "sorted",
            "by",
            "placement",
            "date",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.order_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id GROUP BY T1.order_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.order_id",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "GROUP",
            "BY",
            "T1.order_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "order_id",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "order_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id of the order which has the most items?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            "of",
            "the",
            "order",
            "which",
            "has",
            "the",
            "most",
            "items",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.order_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id GROUP BY T1.order_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.order_id",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "order_items",
            "AS",
            "T2",
            "ON",
            "T1.order_id",
            "=",
            "T2.order_id",
            "GROUP",
            "BY",
            "T1.order_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "order_id",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "order_items",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "order_id",
            "=",
            "t2",
            ".",
            "order_id",
            "group",
            "by",
            "t1",
            ".",
            "order_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which order deals with the most items? Return the order id.",
        "question_toks": [
            "Which",
            "order",
            "deals",
            "with",
            "the",
            "most",
            "items",
            "?",
            "Return",
            "the",
            "order",
            "id",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the name of the customer who has the largest number of orders?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "has",
            "the",
            "largest",
            "number",
            "of",
            "orders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T1.customer_id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name of the customer who made the most orders.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "customer",
            "who",
            "made",
            "the",
            "most",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT invoice_number FROM invoices WHERE invoice_date < \"1989-09-03\" OR invoice_date > \"2007-12-25\"",
        "query_toks": [
            "SELECT",
            "invoice_number",
            "FROM",
            "invoices",
            "WHERE",
            "invoice_date",
            "<",
            "``",
            "1989-09-03",
            "''",
            "OR",
            "invoice_date",
            ">",
            "``",
            "2007-12-25",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "invoice_number",
            "from",
            "invoices",
            "where",
            "invoice_date",
            "<",
            "value",
            "or",
            "invoice_date",
            ">",
            "value"
        ],
        "question": "Find the invoice numbers which are created before 1989-09-03 or after 2007-12-25.",
        "question_toks": [
            "Find",
            "the",
            "invoice",
            "numbers",
            "which",
            "are",
            "created",
            "before",
            "1989-09-03",
            "or",
            "after",
            "2007-12-25",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"1989-09-03\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"2007-12-25\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT invoice_number FROM invoices WHERE invoice_date < \"1989-09-03\" OR invoice_date > \"2007-12-25\"",
        "query_toks": [
            "SELECT",
            "invoice_number",
            "FROM",
            "invoices",
            "WHERE",
            "invoice_date",
            "<",
            "``",
            "1989-09-03",
            "''",
            "OR",
            "invoice_date",
            ">",
            "``",
            "2007-12-25",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "invoice_number",
            "from",
            "invoices",
            "where",
            "invoice_date",
            "<",
            "value",
            "or",
            "invoice_date",
            ">",
            "value"
        ],
        "question": "What are the invoice numbers created before 1989-09-03 or after 2007-12-25?",
        "question_toks": [
            "What",
            "are",
            "the",
            "invoice",
            "numbers",
            "created",
            "before",
            "1989-09-03",
            "or",
            "after",
            "2007-12-25",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"1989-09-03\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"2007-12-25\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < \"1989-09-03\" OR invoice_date > \"2007-12-25\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "invoice_details",
            "FROM",
            "invoices",
            "WHERE",
            "invoice_date",
            "<",
            "``",
            "1989-09-03",
            "''",
            "OR",
            "invoice_date",
            ">",
            "``",
            "2007-12-25",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "invoice_details",
            "from",
            "invoices",
            "where",
            "invoice_date",
            "<",
            "value",
            "or",
            "invoice_date",
            ">",
            "value"
        ],
        "question": "Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25.",
        "question_toks": [
            "Find",
            "the",
            "distinct",
            "details",
            "of",
            "invoices",
            "which",
            "are",
            "created",
            "before",
            "1989-09-03",
            "or",
            "after",
            "2007-12-25",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"1989-09-03\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"2007-12-25\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < \"1989-09-03\" OR invoice_date > \"2007-12-25\"",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "invoice_details",
            "FROM",
            "invoices",
            "WHERE",
            "invoice_date",
            "<",
            "``",
            "1989-09-03",
            "''",
            "OR",
            "invoice_date",
            ">",
            "``",
            "2007-12-25",
            "''"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "invoice_details",
            "from",
            "invoices",
            "where",
            "invoice_date",
            "<",
            "value",
            "or",
            "invoice_date",
            ">",
            "value"
        ],
        "question": "What are the distinct details of invoices created before 1989-09-03 or after 2007-12-25?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "details",
            "of",
            "invoices",
            "created",
            "before",
            "1989-09-03",
            "or",
            "after",
            "2007-12-25",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"1989-09-03\"",
                    null
                ],
                "or",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"2007-12-25\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T2.customer_name ,  count(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.customer_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T2.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t2",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "For each customer who has at least two orders, find the customer name and number of orders made.",
        "question_toks": [
            "For",
            "each",
            "customer",
            "who",
            "has",
            "at",
            "least",
            "two",
            "orders",
            ",",
            "find",
            "the",
            "customer",
            "name",
            "and",
            "number",
            "of",
            "orders",
            "made",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T2.customer_name ,  count(*) FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "T2.customer_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T2.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_name",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t2",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which customers have made at least two orders? Give me each customer name and number of orders made.",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "made",
            "at",
            "least",
            "two",
            "orders",
            "?",
            "Give",
            "me",
            "each",
            "customer",
            "name",
            "and",
            "number",
            "of",
            "orders",
            "made",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T2.customer_name FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING count(*)  <=  2",
        "query_toks": [
            "SELECT",
            "T2.customer_name",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T2.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_name",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t2",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "Find the name of the customers who have at most two orders.",
        "question_toks": [
            "Find",
            "the",
            "name",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "at",
            "most",
            "two",
            "orders",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T2.customer_name FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING count(*)  <=  2",
        "query_toks": [
            "SELECT",
            "T2.customer_name",
            "FROM",
            "orders",
            "AS",
            "T1",
            "JOIN",
            "customers",
            "AS",
            "T2",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "GROUP",
            "BY",
            "T2.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "customer_name",
            "from",
            "orders",
            "as",
            "t1",
            "join",
            "customers",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "group",
            "by",
            "t2",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "<",
            "=",
            "value"
        ],
        "question": "What are the names of the customers who have made two or less orders?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "made",
            "two",
            "or",
            "less",
            "orders",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T4.product_name = \"food\" GROUP BY T1.customer_id HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "JOIN",
            "products",
            "AS",
            "T4",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "AND",
            "T2.order_id",
            "=",
            "T3.order_id",
            "AND",
            "T3.product_id",
            "=",
            "T4.product_id",
            "WHERE",
            "T4.product_name",
            "=",
            "``",
            "food",
            "''",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "join",
            "order_items",
            "as",
            "t3",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "and",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "and",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List the names of the customers who have once bought product \"food\".",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "the",
            "customers",
            "who",
            "have",
            "once",
            "bought",
            "product",
            "``",
            "food",
            "''",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"food\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T4.product_name = \"food\" GROUP BY T1.customer_id HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "JOIN",
            "products",
            "AS",
            "T4",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "AND",
            "T2.order_id",
            "=",
            "T3.order_id",
            "AND",
            "T3.product_id",
            "=",
            "T4.product_id",
            "WHERE",
            "T4.product_name",
            "=",
            "``",
            "food",
            "''",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "join",
            "order_items",
            "as",
            "t3",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "and",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "and",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t4",
            ".",
            "product_name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the names of the customers who bought product \"food\" at least once?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "customers",
            "who",
            "bought",
            "product",
            "``",
            "food",
            "''",
            "at",
            "least",
            "once",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"food\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = \"Cancel\" AND T4.product_name = \"food\" GROUP BY T1.customer_id HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "JOIN",
            "products",
            "AS",
            "T4",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "AND",
            "T2.order_id",
            "=",
            "T3.order_id",
            "AND",
            "T3.product_id",
            "=",
            "T4.product_id",
            "WHERE",
            "T3.order_item_status",
            "=",
            "``",
            "Cancel",
            "''",
            "AND",
            "T4.product_name",
            "=",
            "``",
            "food",
            "''",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "join",
            "order_items",
            "as",
            "t3",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "and",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "and",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t3",
            ".",
            "order_item_status",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "product_name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List the names of customers who have once canceled the purchase of the product \"food\" (the item status is \"Cancel\").",
        "question_toks": [
            "List",
            "the",
            "names",
            "of",
            "customers",
            "who",
            "have",
            "once",
            "canceled",
            "the",
            "purchase",
            "of",
            "the",
            "product",
            "``",
            "food",
            "''",
            "(",
            "the",
            "item",
            "status",
            "is",
            "``",
            "Cancel",
            "''",
            ")",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Cancel\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"food\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "tracking_orders",
        "query": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = \"Cancel\" AND T4.product_name = \"food\" GROUP BY T1.customer_id HAVING count(*)  >=  1",
        "query_toks": [
            "SELECT",
            "T1.customer_name",
            "FROM",
            "customers",
            "AS",
            "T1",
            "JOIN",
            "orders",
            "AS",
            "T2",
            "JOIN",
            "order_items",
            "AS",
            "T3",
            "JOIN",
            "products",
            "AS",
            "T4",
            "ON",
            "T1.customer_id",
            "=",
            "T2.customer_id",
            "AND",
            "T2.order_id",
            "=",
            "T3.order_id",
            "AND",
            "T3.product_id",
            "=",
            "T4.product_id",
            "WHERE",
            "T3.order_item_status",
            "=",
            "``",
            "Cancel",
            "''",
            "AND",
            "T4.product_name",
            "=",
            "``",
            "food",
            "''",
            "GROUP",
            "BY",
            "T1.customer_id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "customer_name",
            "from",
            "customers",
            "as",
            "t1",
            "join",
            "orders",
            "as",
            "t2",
            "join",
            "order_items",
            "as",
            "t3",
            "join",
            "products",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "customer_id",
            "=",
            "t2",
            ".",
            "customer_id",
            "and",
            "t2",
            ".",
            "order_id",
            "=",
            "t3",
            ".",
            "order_id",
            "and",
            "t3",
            ".",
            "product_id",
            "=",
            "t4",
            ".",
            "product_id",
            "where",
            "t3",
            ".",
            "order_item_status",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "product_name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "customer_id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "Which customers have ever canceled the purchase of the product \"food\" (the item status is \"Cancel\")?",
        "question_toks": [
            "Which",
            "customers",
            "have",
            "ever",
            "canceled",
            "the",
            "purchase",
            "of",
            "the",
            "product",
            "``",
            "food",
            "''",
            "(",
            "the",
            "item",
            "status",
            "is",
            "``",
            "Cancel",
            "''",
            ")",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "\"Cancel\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"food\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT count(*) FROM architect WHERE gender  =  'female'",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "architect",
            "WHERE",
            "gender",
            "=",
            "'female",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "architect",
            "where",
            "gender",
            "=",
            "value"
        ],
        "question": "How many architects are female?",
        "question_toks": [
            "How",
            "many",
            "architects",
            "are",
            "female",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT name ,  nationality ,  id FROM architect WHERE gender  =  'male' ORDER BY name",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "nationality",
            ",",
            "id",
            "FROM",
            "architect",
            "WHERE",
            "gender",
            "=",
            "'male",
            "'",
            "ORDER",
            "BY",
            "name"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "nationality",
            ",",
            "id",
            "from",
            "architect",
            "where",
            "gender",
            "=",
            "value",
            "order",
            "by",
            "name"
        ],
        "question": "List the name, nationality and id of all male architects ordered by their names lexicographically.",
        "question_toks": [
            "List",
            "the",
            "name",
            ",",
            "nationality",
            "and",
            "id",
            "of",
            "all",
            "male",
            "architects",
            "ordered",
            "by",
            "their",
            "names",
            "lexicographically",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"male\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT max(T1.length_meters) ,  T2.name FROM bridge AS T1 JOIN architect AS T2 ON T1.architect_id  =  T2.id",
        "query_toks": [
            "SELECT",
            "max",
            "(",
            "T1.length_meters",
            ")",
            ",",
            "T2.name",
            "FROM",
            "bridge",
            "AS",
            "T1",
            "JOIN",
            "architect",
            "AS",
            "T2",
            "ON",
            "T1.architect_id",
            "=",
            "T2.id"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "t1",
            ".",
            "length_meters",
            ")",
            ",",
            "t2",
            ".",
            "name",
            "from",
            "bridge",
            "as",
            "t1",
            "join",
            "architect",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "architect_id",
            "=",
            "t2",
            ".",
            "id"
        ],
        "question": "What is the maximum length in meters for the bridges and what are the architects' names?",
        "question_toks": [
            "What",
            "is",
            "the",
            "maximum",
            "length",
            "in",
            "meters",
            "for",
            "the",
            "bridges",
            "and",
            "what",
            "are",
            "the",
            "architects",
            "'",
            "names",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT avg(length_feet) FROM bridge",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "length_feet",
            ")",
            "FROM",
            "bridge"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "length_feet",
            ")",
            "from",
            "bridge"
        ],
        "question": "What is the average length in feet of the bridges?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "length",
            "in",
            "feet",
            "of",
            "the",
            "bridges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT name ,  built_year FROM mill WHERE TYPE  =  'Grondzeiler'",
        "query_toks": [
            "SELECT",
            "name",
            ",",
            "built_year",
            "FROM",
            "mill",
            "WHERE",
            "TYPE",
            "=",
            "'Grondzeiler",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            ",",
            "built_year",
            "from",
            "mill",
            "where",
            "type",
            "=",
            "value"
        ],
        "question": "What are the names and year of construction for the mills of 'Grondzeiler' type?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "and",
            "year",
            "of",
            "construction",
            "for",
            "the",
            "mills",
            "of",
            "'Grondzeiler",
            "'",
            "type",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Grondzeiler\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT DISTINCT T1.name ,  T1.nationality FROM architect AS T1 JOIN mill AS t2 ON T1.id  =  T2.architect_id",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            ",",
            "T1.nationality",
            "FROM",
            "architect",
            "AS",
            "T1",
            "JOIN",
            "mill",
            "AS",
            "t2",
            "ON",
            "T1.id",
            "=",
            "T2.architect_id"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "nationality",
            "from",
            "architect",
            "as",
            "t1",
            "join",
            "mill",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "architect_id"
        ],
        "question": "What are the distinct names and nationalities of the architects who have ever built a mill?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "names",
            "and",
            "nationalities",
            "of",
            "the",
            "architects",
            "who",
            "have",
            "ever",
            "built",
            "a",
            "mill",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT name FROM mill WHERE LOCATION != 'Donceel'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "mill",
            "WHERE",
            "LOCATION",
            "!",
            "=",
            "'Donceel",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mill",
            "where",
            "location",
            "!",
            "=",
            "value"
        ],
        "question": "What are the names of the mills which are not located in 'Donceel'?",
        "question_toks": [
            "What",
            "are",
            "the",
            "names",
            "of",
            "the",
            "mills",
            "which",
            "are",
            "not",
            "located",
            "in",
            "'Donceel",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Donceel\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT DISTINCT T1.type FROM mill AS T1 JOIN architect AS t2 ON T1.architect_id  =  T2.id WHERE T2.nationality  =  'American' OR T2.nationality  =  'Canadian'",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.type",
            "FROM",
            "mill",
            "AS",
            "T1",
            "JOIN",
            "architect",
            "AS",
            "t2",
            "ON",
            "T1.architect_id",
            "=",
            "T2.id",
            "WHERE",
            "T2.nationality",
            "=",
            "'American",
            "'",
            "OR",
            "T2.nationality",
            "=",
            "'Canadian",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "type",
            "from",
            "mill",
            "as",
            "t1",
            "join",
            "architect",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "architect_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "nationality",
            "=",
            "value",
            "or",
            "t2",
            ".",
            "nationality",
            "=",
            "value"
        ],
        "question": "What are the distinct types of mills that are built by American or Canadian architects?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "types",
            "of",
            "mills",
            "that",
            "are",
            "built",
            "by",
            "American",
            "or",
            "Canadian",
            "architects",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"American\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Canadian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT T1.id ,  T1.name FROM architect AS T1 JOIN bridge AS T2 ON T1.id  =  T2.architect_id GROUP BY T1.id HAVING count(*)  >=  3",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            "FROM",
            "architect",
            "AS",
            "T1",
            "JOIN",
            "bridge",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.architect_id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "3"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "architect",
            "as",
            "t1",
            "join",
            "bridge",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "architect_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What are the ids and names of the architects who built at least 3 bridges ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            "and",
            "names",
            "of",
            "the",
            "architects",
            "who",
            "built",
            "at",
            "least",
            "3",
            "bridges",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT T1.id ,  T1.name ,  T1.nationality FROM architect AS T1 JOIN mill AS T2 ON T1.id  =  T2.architect_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            ",",
            "T1.nationality",
            "FROM",
            "architect",
            "AS",
            "T1",
            "JOIN",
            "mill",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.architect_id",
            "GROUP",
            "BY",
            "T1.id",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "nationality",
            "from",
            "architect",
            "as",
            "t1",
            "join",
            "mill",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "architect_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the id, name and nationality of the architect who built most mills?",
        "question_toks": [
            "What",
            "is",
            "the",
            "id",
            ",",
            "name",
            "and",
            "nationality",
            "of",
            "the",
            "architect",
            "who",
            "built",
            "most",
            "mills",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT T1.id ,  T1.name ,  T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id  =  T2.architect_id GROUP BY T1.id HAVING count(*)  =  2 UNION SELECT T1.id ,  T1.name ,  T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id  =  T2.architect_id GROUP BY T1.id HAVING count(*)  =  1",
        "query_toks": [
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            ",",
            "T1.gender",
            "FROM",
            "architect",
            "AS",
            "T1",
            "JOIN",
            "bridge",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.architect_id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "2",
            "UNION",
            "SELECT",
            "T1.id",
            ",",
            "T1.name",
            ",",
            "T1.gender",
            "FROM",
            "architect",
            "AS",
            "T1",
            "JOIN",
            "mill",
            "AS",
            "T2",
            "ON",
            "T1.id",
            "=",
            "T2.architect_id",
            "GROUP",
            "BY",
            "T1.id",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            "=",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "gender",
            "from",
            "architect",
            "as",
            "t1",
            "join",
            "bridge",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "architect_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value",
            "union",
            "select",
            "t1",
            ".",
            "id",
            ",",
            "t1",
            ".",
            "name",
            ",",
            "t1",
            ".",
            "gender",
            "from",
            "architect",
            "as",
            "t1",
            "join",
            "mill",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "architect_id",
            "group",
            "by",
            "t1",
            ".",
            "id",
            "having",
            "count",
            "(",
            "*",
            ")",
            "=",
            "value"
        ],
        "question": "What are the ids, names and genders of the architects who built two bridges or one mill?",
        "question_toks": [
            "What",
            "are",
            "the",
            "ids",
            ",",
            "names",
            "and",
            "genders",
            "of",
            "the",
            "architects",
            "who",
            "built",
            "two",
            "bridges",
            "or",
            "one",
            "mill",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ],
                        [
                            "table_unit",
                            2
                        ]
                    ],
                    "conds": [
                        [
                            false,
                            2,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ],
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    1,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    2,
                                    false
                                ],
                                null
                            ]
                        ],
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    4,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [],
                "groupBy": [
                    [
                        0,
                        1,
                        false
                    ]
                ],
                "having": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                3,
                                0,
                                false
                            ],
                            null
                        ],
                        1.0,
                        null
                    ]
                ],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT LOCATION FROM bridge WHERE name  =  'Kolob Arch' OR name  =  'Rainbow Bridge'",
        "query_toks": [
            "SELECT",
            "LOCATION",
            "FROM",
            "bridge",
            "WHERE",
            "name",
            "=",
            "'Kolob",
            "Arch",
            "'",
            "OR",
            "name",
            "=",
            "'Rainbow",
            "Bridge",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "location",
            "from",
            "bridge",
            "where",
            "name",
            "=",
            "value",
            "or",
            "name",
            "=",
            "value"
        ],
        "question": "What is the location of the bridge named 'Kolob Arch' or 'Rainbow Bridge'?",
        "question_toks": [
            "What",
            "is",
            "the",
            "location",
            "of",
            "the",
            "bridge",
            "named",
            "'Kolob",
            "Arch",
            "'",
            "or",
            "'Rainbow",
            "Bridge",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Kolob Arch\"",
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"Rainbow Bridge\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT name FROM mill WHERE name LIKE '%Moulin%'",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "mill",
            "WHERE",
            "name",
            "LIKE",
            "'",
            "%",
            "Moulin",
            "%",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "mill",
            "where",
            "name",
            "like",
            "value"
        ],
        "question": "Which of the mill names contains the french word 'Moulin'?",
        "question_toks": [
            "Which",
            "of",
            "the",
            "mill",
            "names",
            "contains",
            "the",
            "french",
            "word",
            "'Moulin",
            "'",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"%Moulin%\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT DISTINCT T1.name FROM mill AS T1 JOIN architect AS t2 ON T1.architect_id  =  T2.id JOIN bridge AS T3 ON T3.architect_id  =  T2.id WHERE T3.length_meters  >  80",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "T1.name",
            "FROM",
            "mill",
            "AS",
            "T1",
            "JOIN",
            "architect",
            "AS",
            "t2",
            "ON",
            "T1.architect_id",
            "=",
            "T2.id",
            "JOIN",
            "bridge",
            "AS",
            "T3",
            "ON",
            "T3.architect_id",
            "=",
            "T2.id",
            "WHERE",
            "T3.length_meters",
            ">",
            "80"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "name",
            "from",
            "mill",
            "as",
            "t1",
            "join",
            "architect",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "architect_id",
            "=",
            "t2",
            ".",
            "id",
            "join",
            "bridge",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "architect_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t3",
            ".",
            "length_meters",
            ">",
            "value"
        ],
        "question": "What are the distinct name of the mills built by the architects who have also built a bridge longer than 80 meters?",
        "question_toks": [
            "What",
            "are",
            "the",
            "distinct",
            "name",
            "of",
            "the",
            "mills",
            "built",
            "by",
            "the",
            "architects",
            "who",
            "have",
            "also",
            "built",
            "a",
            "bridge",
            "longer",
            "than",
            "80",
            "meters",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    80.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT TYPE ,  count(*) FROM mill GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "TYPE",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "mill",
            "GROUP",
            "BY",
            "TYPE",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "type",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "mill",
            "group",
            "by",
            "type",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the most common mill type, and how many are there?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "common",
            "mill",
            "type",
            ",",
            "and",
            "how",
            "many",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    15,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT count(*) FROM architect WHERE id NOT IN ( SELECT architect_id FROM mill WHERE built_year  <  1850 );",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "architect",
            "WHERE",
            "id",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "architect_id",
            "FROM",
            "mill",
            "WHERE",
            "built_year",
            "<",
            "1850",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "architect",
            "where",
            "id",
            "not",
            "in",
            "(",
            "select",
            "architect_id",
            "from",
            "mill",
            "where",
            "built_year",
            "<",
            "value",
            ")"
        ],
        "question": "How many architects haven't built a mill before year 1850?",
        "question_toks": [
            "How",
            "many",
            "architects",
            "have",
            "n't",
            "built",
            "a",
            "mill",
            "before",
            "year",
            "1850",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                4,
                                [
                                    0,
                                    [
                                        0,
                                        16,
                                        false
                                    ],
                                    null
                                ],
                                1850.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "architecture",
        "query": "SELECT t1.name FROM bridge AS t1 JOIN architect AS t2 ON t1.architect_id  =  t2.id WHERE t2.nationality  =  'American' ORDER BY t1.length_feet",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "bridge",
            "AS",
            "t1",
            "JOIN",
            "architect",
            "AS",
            "t2",
            "ON",
            "t1.architect_id",
            "=",
            "t2.id",
            "WHERE",
            "t2.nationality",
            "=",
            "'American",
            "'",
            "ORDER",
            "BY",
            "t1.length_feet"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "bridge",
            "as",
            "t1",
            "join",
            "architect",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "architect_id",
            "=",
            "t2",
            ".",
            "id",
            "where",
            "t2",
            ".",
            "nationality",
            "=",
            "value",
            "order",
            "by",
            "t1",
            ".",
            "length_feet"
        ],
        "question": "show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.",
        "question_toks": [
            "show",
            "the",
            "name",
            "of",
            "all",
            "bridges",
            "that",
            "was",
            "designed",
            "by",
            "american",
            "archtect",
            ",",
            "and",
            "sort",
            "the",
            "result",
            "by",
            "the",
            "bridge",
            "feet",
            "length",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"American\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT count(*) FROM book_club",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "book_club"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "book_club"
        ],
        "question": "How many book clubs are there?",
        "question_toks": [
            "How",
            "many",
            "book",
            "clubs",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT count(*) FROM book_club",
        "query_toks": [
            "SELECT",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "book_club"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "book_club"
        ],
        "question": "Count the number of book clubs.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "book",
            "clubs",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT book_title ,  author_or_editor FROM book_club WHERE YEAR  >  1989",
        "query_toks": [
            "SELECT",
            "book_title",
            ",",
            "author_or_editor",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            ">",
            "1989"
        ],
        "query_toks_no_value": [
            "select",
            "book_title",
            ",",
            "author_or_editor",
            "from",
            "book_club",
            "where",
            "year",
            ">",
            "value"
        ],
        "question": "show the titles, and authors or editors for all books made after the year 1989.",
        "question_toks": [
            "show",
            "the",
            "titles",
            ",",
            "and",
            "authors",
            "or",
            "editors",
            "for",
            "all",
            "books",
            "made",
            "after",
            "the",
            "year",
            "1989",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1989.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT book_title ,  author_or_editor FROM book_club WHERE YEAR  >  1989",
        "query_toks": [
            "SELECT",
            "book_title",
            ",",
            "author_or_editor",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            ">",
            "1989"
        ],
        "query_toks_no_value": [
            "select",
            "book_title",
            ",",
            "author_or_editor",
            "from",
            "book_club",
            "where",
            "year",
            ">",
            "value"
        ],
        "question": "What are the titles and authors or editors that correspond to books made after 1989?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "and",
            "authors",
            "or",
            "editors",
            "that",
            "correspond",
            "to",
            "books",
            "made",
            "after",
            "1989",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1989.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT DISTINCT publisher FROM book_club",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "publisher",
            "FROM",
            "book_club"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "publisher",
            "from",
            "book_club"
        ],
        "question": "Show all distinct publishers for books.",
        "question_toks": [
            "Show",
            "all",
            "distinct",
            "publishers",
            "for",
            "books",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT DISTINCT publisher FROM book_club",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "publisher",
            "FROM",
            "book_club"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "publisher",
            "from",
            "book_club"
        ],
        "question": "What are all the different book publishers?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "different",
            "book",
            "publishers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT YEAR ,  book_title ,  publisher FROM book_club ORDER BY YEAR DESC",
        "query_toks": [
            "SELECT",
            "YEAR",
            ",",
            "book_title",
            ",",
            "publisher",
            "FROM",
            "book_club",
            "ORDER",
            "BY",
            "YEAR",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            ",",
            "book_title",
            ",",
            "publisher",
            "from",
            "book_club",
            "order",
            "by",
            "year",
            "desc"
        ],
        "question": "Show the years, book titles, and publishers for all books, in descending order by year.",
        "question_toks": [
            "Show",
            "the",
            "years",
            ",",
            "book",
            "titles",
            ",",
            "and",
            "publishers",
            "for",
            "all",
            "books",
            ",",
            "in",
            "descending",
            "order",
            "by",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT YEAR ,  book_title ,  publisher FROM book_club ORDER BY YEAR DESC",
        "query_toks": [
            "SELECT",
            "YEAR",
            ",",
            "book_title",
            ",",
            "publisher",
            "FROM",
            "book_club",
            "ORDER",
            "BY",
            "YEAR",
            "DESC"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            ",",
            "book_title",
            ",",
            "publisher",
            "from",
            "book_club",
            "order",
            "by",
            "year",
            "desc"
        ],
        "question": "What are the years, titles, and publishers for all books, ordered by year descending?",
        "question_toks": [
            "What",
            "are",
            "the",
            "years",
            ",",
            "titles",
            ",",
            "and",
            "publishers",
            "for",
            "all",
            "books",
            ",",
            "ordered",
            "by",
            "year",
            "descending",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT publisher ,  count(*) FROM book_club GROUP BY publisher",
        "query_toks": [
            "SELECT",
            "publisher",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "book_club",
            "GROUP",
            "BY",
            "publisher"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "book_club",
            "group",
            "by",
            "publisher"
        ],
        "question": "Show all publishers and the number of books for each publisher.",
        "question_toks": [
            "Show",
            "all",
            "publishers",
            "and",
            "the",
            "number",
            "of",
            "books",
            "for",
            "each",
            "publisher",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT publisher ,  count(*) FROM book_club GROUP BY publisher",
        "query_toks": [
            "SELECT",
            "publisher",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "book_club",
            "GROUP",
            "BY",
            "publisher"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "book_club",
            "group",
            "by",
            "publisher"
        ],
        "question": "How many books are there for each publisher?",
        "question_toks": [
            "How",
            "many",
            "books",
            "are",
            "there",
            "for",
            "each",
            "publisher",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT publisher FROM book_club GROUP BY publisher ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "GROUP",
            "BY",
            "publisher",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "book_club",
            "group",
            "by",
            "publisher",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the publisher with most number of books?",
        "question_toks": [
            "What",
            "is",
            "the",
            "publisher",
            "with",
            "most",
            "number",
            "of",
            "books",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT publisher FROM book_club GROUP BY publisher ORDER BY count(*) DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "GROUP",
            "BY",
            "publisher",
            "ORDER",
            "BY",
            "count",
            "(",
            "*",
            ")",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "book_club",
            "group",
            "by",
            "publisher",
            "order",
            "by",
            "count",
            "(",
            "*",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the publisher that has published the most books.",
        "question_toks": [
            "Return",
            "the",
            "publisher",
            "that",
            "has",
            "published",
            "the",
            "most",
            "books",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    5,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT category ,  count(*) FROM book_club GROUP BY category",
        "query_toks": [
            "SELECT",
            "category",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "book_club",
            "GROUP",
            "BY",
            "category"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "book_club",
            "group",
            "by",
            "category"
        ],
        "question": "Show all book categories and the number of books in each category.",
        "question_toks": [
            "Show",
            "all",
            "book",
            "categories",
            "and",
            "the",
            "number",
            "of",
            "books",
            "in",
            "each",
            "category",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT category ,  count(*) FROM book_club GROUP BY category",
        "query_toks": [
            "SELECT",
            "category",
            ",",
            "count",
            "(",
            "*",
            ")",
            "FROM",
            "book_club",
            "GROUP",
            "BY",
            "category"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            ",",
            "count",
            "(",
            "*",
            ")",
            "from",
            "book_club",
            "group",
            "by",
            "category"
        ],
        "question": "How many books fall into each category?",
        "question_toks": [
            "How",
            "many",
            "books",
            "fall",
            "into",
            "each",
            "category",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT category FROM book_club WHERE YEAR  >  1989 GROUP BY category HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "category",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            ">",
            "1989",
            "GROUP",
            "BY",
            "category",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            "from",
            "book_club",
            "where",
            "year",
            ">",
            "value",
            "group",
            "by",
            "category",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "List categories that have at least two books after year 1989.",
        "question_toks": [
            "List",
            "categories",
            "that",
            "have",
            "at",
            "least",
            "two",
            "books",
            "after",
            "year",
            "1989",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1989.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT category FROM book_club WHERE YEAR  >  1989 GROUP BY category HAVING count(*)  >=  2",
        "query_toks": [
            "SELECT",
            "category",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            ">",
            "1989",
            "GROUP",
            "BY",
            "category",
            "HAVING",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "2"
        ],
        "query_toks_no_value": [
            "select",
            "category",
            "from",
            "book_club",
            "where",
            "year",
            ">",
            "value",
            "group",
            "by",
            "category",
            "having",
            "count",
            "(",
            "*",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "What categories have two or more corresponding books that were made after 1989?",
        "question_toks": [
            "What",
            "categories",
            "have",
            "two",
            "or",
            "more",
            "corresponding",
            "books",
            "that",
            "were",
            "made",
            "after",
            "1989",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1989.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    6,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            0,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT publisher FROM book_club WHERE YEAR  =  1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR  =  1990",
        "query_toks": [
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            "=",
            "1989",
            "INTERSECT",
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            "=",
            "1990"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "book_club",
            "where",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "publisher",
            "from",
            "book_club",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Show publishers with a book published in 1989 and a book in 1990.",
        "question_toks": [
            "Show",
            "publishers",
            "with",
            "a",
            "book",
            "published",
            "in",
            "1989",
            "and",
            "a",
            "book",
            "in",
            "1990",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1989.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        1990.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT publisher FROM book_club WHERE YEAR  =  1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR  =  1990",
        "query_toks": [
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            "=",
            "1989",
            "INTERSECT",
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            "=",
            "1990"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "book_club",
            "where",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "publisher",
            "from",
            "book_club",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What are the publishers who have published a book in both 1989 and 1990?",
        "question_toks": [
            "What",
            "are",
            "the",
            "publishers",
            "who",
            "have",
            "published",
            "a",
            "book",
            "in",
            "both",
            "1989",
            "and",
            "1990",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    1989.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        1990.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT publisher FROM book_club EXCEPT SELECT publisher FROM book_club WHERE YEAR  =  1989",
        "query_toks": [
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "EXCEPT",
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            "=",
            "1989"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "book_club",
            "except",
            "select",
            "publisher",
            "from",
            "book_club",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Show all publishers which do not have a book in 1989.",
        "question_toks": [
            "Show",
            "all",
            "publishers",
            "which",
            "do",
            "not",
            "have",
            "a",
            "book",
            "in",
            "1989",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        1989.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT publisher FROM book_club EXCEPT SELECT publisher FROM book_club WHERE YEAR  =  1989",
        "query_toks": [
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "EXCEPT",
            "SELECT",
            "publisher",
            "FROM",
            "book_club",
            "WHERE",
            "YEAR",
            "=",
            "1989"
        ],
        "query_toks_no_value": [
            "select",
            "publisher",
            "from",
            "book_club",
            "except",
            "select",
            "publisher",
            "from",
            "book_club",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Which publishers did not publish a book in 1989?",
        "question_toks": [
            "Which",
            "publishers",
            "did",
            "not",
            "publish",
            "a",
            "book",
            "in",
            "1989",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            0
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    5,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ],
                        1989.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            }
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT title ,  YEAR ,  director FROM movie ORDER BY budget_million",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "YEAR",
            ",",
            "director",
            "FROM",
            "movie",
            "ORDER",
            "BY",
            "budget_million"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "year",
            ",",
            "director",
            "from",
            "movie",
            "order",
            "by",
            "budget_million"
        ],
        "question": "Show all movie titles, years, and directors, ordered by budget.",
        "question_toks": [
            "Show",
            "all",
            "movie",
            "titles",
            ",",
            "years",
            ",",
            "and",
            "directors",
            ",",
            "ordered",
            "by",
            "budget",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT title ,  YEAR ,  director FROM movie ORDER BY budget_million",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "YEAR",
            ",",
            "director",
            "FROM",
            "movie",
            "ORDER",
            "BY",
            "budget_million"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "year",
            ",",
            "director",
            "from",
            "movie",
            "order",
            "by",
            "budget_million"
        ],
        "question": "What are the titles, years, and directors of all movies, ordered by budget in millions?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            ",",
            "years",
            ",",
            "and",
            "directors",
            "of",
            "all",
            "movies",
            ",",
            "ordered",
            "by",
            "budget",
            "in",
            "millions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT COUNT (DISTINCT director) FROM movie",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "director",
            ")",
            "FROM",
            "movie"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "director",
            ")",
            "from",
            "movie"
        ],
        "question": "How many movie directors are there?",
        "question_toks": [
            "How",
            "many",
            "movie",
            "directors",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT COUNT (DISTINCT director) FROM movie",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "director",
            ")",
            "FROM",
            "movie"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "director",
            ")",
            "from",
            "movie"
        ],
        "question": "Count the number of different directors.",
        "question_toks": [
            "Count",
            "the",
            "number",
            "of",
            "different",
            "directors",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT title ,  director FROM movie WHERE YEAR  <=  2000 ORDER BY gross_worldwide DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "director",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "<",
            "=",
            "2000",
            "ORDER",
            "BY",
            "gross_worldwide",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "director",
            "from",
            "movie",
            "where",
            "year",
            "<",
            "=",
            "value",
            "order",
            "by",
            "gross_worldwide",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the title and director for the movie with highest worldwide gross in the year 2000 or before?",
        "question_toks": [
            "What",
            "is",
            "the",
            "title",
            "and",
            "director",
            "for",
            "the",
            "movie",
            "with",
            "highest",
            "worldwide",
            "gross",
            "in",
            "the",
            "year",
            "2000",
            "or",
            "before",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT title ,  director FROM movie WHERE YEAR  <=  2000 ORDER BY gross_worldwide DESC LIMIT 1",
        "query_toks": [
            "SELECT",
            "title",
            ",",
            "director",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "<",
            "=",
            "2000",
            "ORDER",
            "BY",
            "gross_worldwide",
            "DESC",
            "LIMIT",
            "1"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            ",",
            "director",
            "from",
            "movie",
            "where",
            "year",
            "<",
            "=",
            "value",
            "order",
            "by",
            "gross_worldwide",
            "desc",
            "limit",
            "value"
        ],
        "question": "Return the title and director of the movie released in the year 2000 or earlier that had the highest worldwide gross.",
        "question_toks": [
            "Return",
            "the",
            "title",
            "and",
            "director",
            "of",
            "the",
            "movie",
            "released",
            "in",
            "the",
            "year",
            "2000",
            "or",
            "earlier",
            "that",
            "had",
            "the",
            "highest",
            "worldwide",
            "gross",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT director FROM movie WHERE YEAR  =  2000 INTERSECT SELECT director FROM movie WHERE YEAR  =  1999",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "=",
            "2000",
            "INTERSECT",
            "SELECT",
            "director",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "=",
            "1999"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "where",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "director",
            "from",
            "movie",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Show all director names who have a movie in both year 1999 and 2000.",
        "question_toks": [
            "Show",
            "all",
            "director",
            "names",
            "who",
            "have",
            "a",
            "movie",
            "in",
            "both",
            "year",
            "1999",
            "and",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        1999.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT director FROM movie WHERE YEAR  =  2000 INTERSECT SELECT director FROM movie WHERE YEAR  =  1999",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "=",
            "2000",
            "INTERSECT",
            "SELECT",
            "director",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "=",
            "1999"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "where",
            "year",
            "=",
            "value",
            "intersect",
            "select",
            "director",
            "from",
            "movie",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "Which directors had a movie both in the year 1999 and 2000?",
        "question_toks": [
            "Which",
            "directors",
            "had",
            "a",
            "movie",
            "both",
            "in",
            "the",
            "year",
            "1999",
            "and",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": {
                "from": {
                    "table_units": [
                        [
                            "table_unit",
                            1
                        ]
                    ],
                    "conds": []
                },
                "select": [
                    false,
                    [
                        [
                            0,
                            [
                                0,
                                [
                                    0,
                                    11,
                                    false
                                ],
                                null
                            ]
                        ]
                    ]
                ],
                "where": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        1999.0,
                        null
                    ]
                ],
                "groupBy": [],
                "having": [],
                "orderBy": [],
                "limit": null,
                "intersect": null,
                "union": null,
                "except": null
            },
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT director FROM movie WHERE YEAR  =  1999 OR YEAR  =  2000",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "=",
            "1999",
            "OR",
            "YEAR",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "Show all director names who have a movie in the year 1999 or 2000.",
        "question_toks": [
            "Show",
            "all",
            "director",
            "names",
            "who",
            "have",
            "a",
            "movie",
            "in",
            "the",
            "year",
            "1999",
            "or",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1999.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT director FROM movie WHERE YEAR  =  1999 OR YEAR  =  2000",
        "query_toks": [
            "SELECT",
            "director",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "=",
            "1999",
            "OR",
            "YEAR",
            "=",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "director",
            "from",
            "movie",
            "where",
            "year",
            "=",
            "value",
            "or",
            "year",
            "=",
            "value"
        ],
        "question": "Which directors had a movie in either 1999 or 2000?",
        "question_toks": [
            "Which",
            "directors",
            "had",
            "a",
            "movie",
            "in",
            "either",
            "1999",
            "or",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1999.0,
                    null
                ],
                "or",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT avg(budget_million) ,  max(budget_million) ,  min(budget_million) FROM movie WHERE YEAR  <  2000",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "budget_million",
            ")",
            ",",
            "max",
            "(",
            "budget_million",
            ")",
            ",",
            "min",
            "(",
            "budget_million",
            ")",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "<",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "budget_million",
            ")",
            ",",
            "max",
            "(",
            "budget_million",
            ")",
            ",",
            "min",
            "(",
            "budget_million",
            ")",
            "from",
            "movie",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "What is the average, maximum, and minimum budget for all movies before 2000.",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            ",",
            "maximum",
            ",",
            "and",
            "minimum",
            "budget",
            "for",
            "all",
            "movies",
            "before",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT avg(budget_million) ,  max(budget_million) ,  min(budget_million) FROM movie WHERE YEAR  <  2000",
        "query_toks": [
            "SELECT",
            "avg",
            "(",
            "budget_million",
            ")",
            ",",
            "max",
            "(",
            "budget_million",
            ")",
            ",",
            "min",
            "(",
            "budget_million",
            ")",
            "FROM",
            "movie",
            "WHERE",
            "YEAR",
            "<",
            "2000"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "budget_million",
            ")",
            ",",
            "max",
            "(",
            "budget_million",
            ")",
            ",",
            "min",
            "(",
            "budget_million",
            ")",
            "from",
            "movie",
            "where",
            "year",
            "<",
            "value"
        ],
        "question": "Return the average, maximum, and minimum budgets in millions for movies made before the year 2000.",
        "question_toks": [
            "Return",
            "the",
            "average",
            ",",
            "maximum",
            ",",
            "and",
            "minimum",
            "budgets",
            "in",
            "millions",
            "for",
            "movies",
            "made",
            "before",
            "the",
            "year",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id  =  T2.book_club_id WHERE T2.publisher  =  'Alyson'",
        "query_toks": [
            "SELECT",
            "T1.company_name",
            "FROM",
            "culture_company",
            "AS",
            "T1",
            "JOIN",
            "book_club",
            "AS",
            "T2",
            "ON",
            "T1.book_club_id",
            "=",
            "T2.book_club_id",
            "WHERE",
            "T2.publisher",
            "=",
            "'Alyson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "company_name",
            "from",
            "culture_company",
            "as",
            "t1",
            "join",
            "book_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "book_club_id",
            "=",
            "t2",
            ".",
            "book_club_id",
            "where",
            "t2",
            ".",
            "publisher",
            "=",
            "value"
        ],
        "question": "List all company names with a book published by Alyson.",
        "question_toks": [
            "List",
            "all",
            "company",
            "names",
            "with",
            "a",
            "book",
            "published",
            "by",
            "Alyson",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Alyson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id  =  T2.book_club_id WHERE T2.publisher  =  'Alyson'",
        "query_toks": [
            "SELECT",
            "T1.company_name",
            "FROM",
            "culture_company",
            "AS",
            "T1",
            "JOIN",
            "book_club",
            "AS",
            "T2",
            "ON",
            "T1.book_club_id",
            "=",
            "T2.book_club_id",
            "WHERE",
            "T2.publisher",
            "=",
            "'Alyson",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "company_name",
            "from",
            "culture_company",
            "as",
            "t1",
            "join",
            "book_club",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "book_club_id",
            "=",
            "t2",
            ".",
            "book_club_id",
            "where",
            "t2",
            ".",
            "publisher",
            "=",
            "value"
        ],
        "question": "What are all the company names that have a book published by Alyson?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "company",
            "names",
            "that",
            "have",
            "a",
            "book",
            "published",
            "by",
            "Alyson",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Alyson\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT T1.title ,  T3.book_title FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id  =  T2.movie_id JOIN book_club AS T3 ON T3.book_club_id  =  T2.book_club_id WHERE T2.incorporated_in  =  'China'",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T3.book_title",
            "FROM",
            "movie",
            "AS",
            "T1",
            "JOIN",
            "culture_company",
            "AS",
            "T2",
            "ON",
            "T1.movie_id",
            "=",
            "T2.movie_id",
            "JOIN",
            "book_club",
            "AS",
            "T3",
            "ON",
            "T3.book_club_id",
            "=",
            "T2.book_club_id",
            "WHERE",
            "T2.incorporated_in",
            "=",
            "'China",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t3",
            ".",
            "book_title",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "culture_company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "movie_id",
            "=",
            "t2",
            ".",
            "movie_id",
            "join",
            "book_club",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "book_club_id",
            "=",
            "t2",
            ".",
            "book_club_id",
            "where",
            "t2",
            ".",
            "incorporated_in",
            "=",
            "value"
        ],
        "question": "Show the movie titles and book titles for all companies in China.",
        "question_toks": [
            "Show",
            "the",
            "movie",
            "titles",
            "and",
            "book",
            "titles",
            "for",
            "all",
            "companies",
            "in",
            "China",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT T1.title ,  T3.book_title FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id  =  T2.movie_id JOIN book_club AS T3 ON T3.book_club_id  =  T2.book_club_id WHERE T2.incorporated_in  =  'China'",
        "query_toks": [
            "SELECT",
            "T1.title",
            ",",
            "T3.book_title",
            "FROM",
            "movie",
            "AS",
            "T1",
            "JOIN",
            "culture_company",
            "AS",
            "T2",
            "ON",
            "T1.movie_id",
            "=",
            "T2.movie_id",
            "JOIN",
            "book_club",
            "AS",
            "T3",
            "ON",
            "T3.book_club_id",
            "=",
            "T2.book_club_id",
            "WHERE",
            "T2.incorporated_in",
            "=",
            "'China",
            "'"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            ",",
            "t3",
            ".",
            "book_title",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "culture_company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "movie_id",
            "=",
            "t2",
            ".",
            "movie_id",
            "join",
            "book_club",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "book_club_id",
            "=",
            "t2",
            ".",
            "book_club_id",
            "where",
            "t2",
            ".",
            "incorporated_in",
            "=",
            "value"
        ],
        "question": "What are the titles of movies and books corresponding to companies incorporated in China?",
        "question_toks": [
            "What",
            "are",
            "the",
            "titles",
            "of",
            "movies",
            "and",
            "books",
            "corresponding",
            "to",
            "companies",
            "incorporated",
            "in",
            "China",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id  =  T2.movie_id WHERE T1.year  =  1999",
        "query_toks": [
            "SELECT",
            "T2.company_name",
            "FROM",
            "movie",
            "AS",
            "T1",
            "JOIN",
            "culture_company",
            "AS",
            "T2",
            "ON",
            "T1.movie_id",
            "=",
            "T2.movie_id",
            "WHERE",
            "T1.year",
            "=",
            "1999"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "company_name",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "culture_company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "movie_id",
            "=",
            "t2",
            ".",
            "movie_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Show all company names with a movie directed in year 1999.",
        "question_toks": [
            "Show",
            "all",
            "company",
            "names",
            "with",
            "a",
            "movie",
            "directed",
            "in",
            "year",
            "1999",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1999.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "culture_company",
        "query": "SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id  =  T2.movie_id WHERE T1.year  =  1999",
        "query_toks": [
            "SELECT",
            "T2.company_name",
            "FROM",
            "movie",
            "AS",
            "T1",
            "JOIN",
            "culture_company",
            "AS",
            "T2",
            "ON",
            "T1.movie_id",
            "=",
            "T2.movie_id",
            "WHERE",
            "T1.year",
            "=",
            "1999"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "company_name",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "culture_company",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "movie_id",
            "=",
            "t2",
            ".",
            "movie_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What are all company names that have a corresponding movie directed in the year 1999?",
        "question_toks": [
            "What",
            "are",
            "all",
            "company",
            "names",
            "that",
            "have",
            "a",
            "corresponding",
            "movie",
            "directed",
            "in",
            "the",
            "year",
            "1999",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1999.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "original"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the biggest city in wyoming",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "city",
            "in",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what wyoming city has the largest population",
        "question_toks": [
            "what",
            "wyoming",
            "city",
            "has",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the largest city in wyoming",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "city",
            "in",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "where is the most populated area of wyoming",
        "question_toks": [
            "where",
            "is",
            "the",
            "most",
            "populated",
            "area",
            "of",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "which city in wyoming has the largest population",
        "question_toks": [
            "which",
            "city",
            "in",
            "wyoming",
            "has",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what cities in wyoming have the highest number of citizens",
        "question_toks": [
            "what",
            "cities",
            "in",
            "wyoming",
            "have",
            "the",
            "highest",
            "number",
            "of",
            "citizens"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what cities in wyoming have the highest populations",
        "question_toks": [
            "what",
            "cities",
            "in",
            "wyoming",
            "have",
            "the",
            "highest",
            "populations"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the most populous city in wyoming",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "populous",
            "city",
            "in",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the largest city in wyoming by population",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "city",
            "in",
            "wyoming",
            "by",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the largest city of wyoming",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "city",
            "of",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"wyoming\" ) AND state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the city in wyoming with the largest population",
        "question_toks": [
            "what",
            "is",
            "the",
            "city",
            "in",
            "wyoming",
            "with",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")",
            ")"
        ],
        "question": "which rivers run through the state with the largest city in the us",
        "question_toks": [
            "which",
            "rivers",
            "run",
            "through",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "city",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                1
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        8,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE state_name  =  \"new mexico\";",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "new",
            "mexico",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how big is new mexico",
        "question_toks": [
            "how",
            "big",
            "is",
            "new",
            "mexico"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"new mexico\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE state_name  =  \"new mexico\";",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "new",
            "mexico",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the area of new mexico",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "new",
            "mexico"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"new mexico\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE state_name  =  \"new mexico\";",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "new",
            "mexico",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how large is new mexico",
        "question_toks": [
            "how",
            "large",
            "is",
            "new",
            "mexico"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"new mexico\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE state_name  =  \"new mexico\";",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "new",
            "mexico",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the area of the new mexico state",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "the",
            "new",
            "mexico",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"new mexico\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE state_name  =  \"new mexico\";",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "new",
            "mexico",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the size of new mexico",
        "question_toks": [
            "what",
            "is",
            "the",
            "size",
            "of",
            "new",
            "mexico"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"new mexico\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE state_name  =  \"new mexico\";",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "new",
            "mexico",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the area of new mexico in square kilometers",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "new",
            "mexico",
            "in",
            "square",
            "kilometers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"new mexico\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many people live in california",
        "question_toks": [
            "how",
            "many",
            "people",
            "live",
            "in",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many people reside in california",
        "question_toks": [
            "how",
            "many",
            "people",
            "reside",
            "in",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many residents live in california",
        "question_toks": [
            "how",
            "many",
            "residents",
            "live",
            "in",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how much population does california have",
        "question_toks": [
            "how",
            "much",
            "population",
            "does",
            "california",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the population of california",
        "question_toks": [
            "what",
            "are",
            "the",
            "population",
            "of",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the population of california",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many people are in the state of california",
        "question_toks": [
            "how",
            "many",
            "people",
            "are",
            "in",
            "the",
            "state",
            "of",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what can you tell me about the population of california",
        "question_toks": [
            "what",
            "can",
            "you",
            "tell",
            "me",
            "about",
            "the",
            "population",
            "of",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many people are there in california",
        "question_toks": [
            "how",
            "many",
            "people",
            "are",
            "there",
            "in",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many citizens in california",
        "question_toks": [
            "how",
            "many",
            "citizens",
            "in",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many people stay in california",
        "question_toks": [
            "how",
            "many",
            "people",
            "stay",
            "in",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many citizens live in california",
        "question_toks": [
            "how",
            "many",
            "citizens",
            "live",
            "in",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MIN ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the smallest population",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "smallest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MIN ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the least populous state",
        "question_toks": [
            "what",
            "is",
            "the",
            "least",
            "populous",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MIN ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the state with the lowest population",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "with",
            "the",
            "lowest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "give me the cities in texas",
        "question_toks": [
            "give",
            "me",
            "the",
            "cities",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "tell me what cities are in texas",
        "question_toks": [
            "tell",
            "me",
            "what",
            "cities",
            "are",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what cities are located in texas",
        "question_toks": [
            "what",
            "cities",
            "are",
            "located",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the cities in texas",
        "question_toks": [
            "what",
            "are",
            "the",
            "cities",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what cities in texas",
        "question_toks": [
            "what",
            "cities",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "give me the cities which are in texas",
        "question_toks": [
            "give",
            "me",
            "the",
            "cities",
            "which",
            "are",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE capital  =  \"albany\";",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "albany",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value"
        ],
        "question": "what is the area of the state with the capital albany",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "the",
            "state",
            "with",
            "the",
            "capital",
            "albany"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"albany\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lake_name FROM lake WHERE state_name  =  \"california\";",
        "query_toks": [
            "SELECT",
            "lake_name",
            "FROM",
            "lake",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lake_name",
            "from",
            "lake",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "give me the lakes in california",
        "question_toks": [
            "give",
            "me",
            "the",
            "lakes",
            "in",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"california\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lake_name FROM lake WHERE area  >  750 AND state_name  =  \"michigan\";",
        "query_toks": [
            "SELECT",
            "lake_name",
            "FROM",
            "lake",
            "WHERE",
            "area",
            ">",
            "750",
            "AND",
            "state_name",
            "=",
            "``",
            "michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lake_name",
            "from",
            "lake",
            "where",
            "area",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "name the major lakes in michigan",
        "question_toks": [
            "name",
            "the",
            "major",
            "lakes",
            "in",
            "michigan"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state"
        ],
        "question": "what are the states",
        "question_toks": [
            "what",
            "are",
            "the",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state"
        ],
        "question": "list the states",
        "question_toks": [
            "list",
            "the",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state"
        ],
        "question": "give me all the states of usa",
        "question_toks": [
            "give",
            "me",
            "all",
            "the",
            "states",
            "of",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "which states do ohio river flow through",
        "question_toks": [
            "which",
            "states",
            "do",
            "ohio",
            "river",
            "flow",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what states does the ohio river run through",
        "question_toks": [
            "what",
            "states",
            "does",
            "the",
            "ohio",
            "river",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what states border the ohio river",
        "question_toks": [
            "what",
            "states",
            "border",
            "the",
            "ohio",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "which states border the ohio river",
        "question_toks": [
            "which",
            "states",
            "border",
            "the",
            "ohio",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what states does the ohio run through",
        "question_toks": [
            "what",
            "states",
            "does",
            "the",
            "ohio",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "where is the ohio river",
        "question_toks": [
            "where",
            "is",
            "the",
            "ohio",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "which states does the ohio river run through",
        "question_toks": [
            "which",
            "states",
            "does",
            "the",
            "ohio",
            "river",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "which states does the ohio run through",
        "question_toks": [
            "which",
            "states",
            "does",
            "the",
            "ohio",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "which states does the ohio river pass through",
        "question_toks": [
            "which",
            "states",
            "does",
            "the",
            "ohio",
            "river",
            "pass",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what are the states that the ohio run through",
        "question_toks": [
            "what",
            "are",
            "the",
            "states",
            "that",
            "the",
            "ohio",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "which state has the ohio river",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "ohio",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what states have rivers named ohio",
        "question_toks": [
            "what",
            "states",
            "have",
            "rivers",
            "named",
            "ohio"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "through which states does the ohio flow",
        "question_toks": [
            "through",
            "which",
            "states",
            "does",
            "the",
            "ohio",
            "flow"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what states are next to the ohio",
        "question_toks": [
            "what",
            "states",
            "are",
            "next",
            "to",
            "the",
            "ohio"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "through which states does the ohio run",
        "question_toks": [
            "through",
            "which",
            "states",
            "does",
            "the",
            "ohio",
            "run"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE river_name  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what states does the ohio river go through",
        "question_toks": [
            "what",
            "states",
            "does",
            "the",
            "ohio",
            "river",
            "go",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the largest population",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the most populous state",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "populous",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state is the largest in population",
        "question_toks": [
            "what",
            "state",
            "is",
            "the",
            "largest",
            "in",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the biggest population",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "biggest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the greatest population",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "greatest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the most population",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "most",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the most people",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "most",
            "people"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the most people",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "most",
            "people"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the most populous state in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "populous",
            "state",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the highest population",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "highest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_elevation FROM highlow WHERE state_name  =  \"pennsylvania\";",
        "query_toks": [
            "SELECT",
            "lowest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "pennsylvania",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the lowest elevation in pennsylvania",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "elevation",
            "in",
            "pennsylvania"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"pennsylvania\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point  ,  state_name FROM highlow WHERE lowest_elevation  =  0;",
        "query_toks": [
            "SELECT",
            "highest_point",
            ",",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "0",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            ",",
            "state_name",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "value"
        ],
        "question": "what is the highest point in each state whose lowest point is sea level",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "each",
            "state",
            "whose",
            "lowest",
            "point",
            "is",
            "sea",
            "level"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the length of the longest river in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "length",
            "of",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "how long is the longest river in the usa",
        "question_toks": [
            "how",
            "long",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the longest river flowing through texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "flowing",
            "through",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the largest river in texas state",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "river",
            "in",
            "texas",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the longest river in texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the biggest river in texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "river",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the longest river that flows through texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "that",
            "flows",
            "through",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what are the biggest rivers in texas",
        "question_toks": [
            "what",
            "are",
            "the",
            "biggest",
            "rivers",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse  =  \"idaho\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "idaho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "how many rivers are in idaho",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "are",
            "in",
            "idaho"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"idaho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse  =  \"idaho\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "idaho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "give me the number of rivers in idaho",
        "question_toks": [
            "give",
            "me",
            "the",
            "number",
            "of",
            "rivers",
            "in",
            "idaho"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"idaho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse  =  \"idaho\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "idaho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "how many rivers does idaho have",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "does",
            "idaho",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"idaho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse  =  \"idaho\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "idaho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "how many rivers are there in idaho",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "are",
            "there",
            "in",
            "idaho"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"idaho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse  =  \"idaho\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "idaho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "how many rivers run through idaho",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "run",
            "through",
            "idaho"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"idaho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse  =  \"idaho\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "idaho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "how many rivers are found in idaho",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "are",
            "found",
            "in",
            "idaho"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"idaho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse  =  \"idaho\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "idaho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "how many rivers in idaho",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "in",
            "idaho"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"idaho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what states neighbor kentucky",
        "question_toks": [
            "what",
            "states",
            "neighbor",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "which states border kentucky",
        "question_toks": [
            "which",
            "states",
            "border",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what states border kentucky",
        "question_toks": [
            "what",
            "states",
            "border",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "give me the states that border kentucky",
        "question_toks": [
            "give",
            "me",
            "the",
            "states",
            "that",
            "border",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what state borders kentucky",
        "question_toks": [
            "what",
            "state",
            "borders",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what states are next to kentucky",
        "question_toks": [
            "what",
            "states",
            "are",
            "next",
            "to",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what states surround kentucky",
        "question_toks": [
            "what",
            "states",
            "surround",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "which state borders kentucky",
        "question_toks": [
            "which",
            "state",
            "borders",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the neighboring states for kentucky",
        "question_toks": [
            "what",
            "are",
            "the",
            "neighboring",
            "states",
            "for",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "which states adjoin kentucky",
        "question_toks": [
            "which",
            "states",
            "adjoin",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "states bordering kentucky",
        "question_toks": [
            "states",
            "bordering",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "which state border kentucky",
        "question_toks": [
            "which",
            "state",
            "border",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the adjacent state of kentucky",
        "question_toks": [
            "what",
            "is",
            "the",
            "adjacent",
            "state",
            "of",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "name all the rivers in illinois",
        "question_toks": [
            "name",
            "all",
            "the",
            "rivers",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "rivers in illinois",
        "question_toks": [
            "rivers",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what are all the rivers in illinois",
        "question_toks": [
            "what",
            "are",
            "all",
            "the",
            "rivers",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what are the rivers in illinois",
        "question_toks": [
            "what",
            "are",
            "the",
            "rivers",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what rivers are in illinois",
        "question_toks": [
            "what",
            "rivers",
            "are",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what rivers are there in illinois",
        "question_toks": [
            "what",
            "rivers",
            "are",
            "there",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what rivers run through illinois",
        "question_toks": [
            "what",
            "rivers",
            "run",
            "through",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what rivers flow through illinois",
        "question_toks": [
            "what",
            "rivers",
            "flow",
            "through",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what river flows through illinois",
        "question_toks": [
            "what",
            "river",
            "flows",
            "through",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what are the rivers in the state of illinois",
        "question_toks": [
            "what",
            "are",
            "the",
            "rivers",
            "in",
            "the",
            "state",
            "of",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "name the rivers in illinois",
        "question_toks": [
            "name",
            "the",
            "rivers",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what are the rivers of illinois",
        "question_toks": [
            "what",
            "are",
            "the",
            "rivers",
            "of",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "which rivers are in illinois",
        "question_toks": [
            "which",
            "rivers",
            "are",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "which rivers flow through illinois",
        "question_toks": [
            "which",
            "rivers",
            "flow",
            "through",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the river that cross over illinois",
        "question_toks": [
            "what",
            "is",
            "the",
            "river",
            "that",
            "cross",
            "over",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value"
        ],
        "question": "what river runs through illinois",
        "question_toks": [
            "what",
            "river",
            "runs",
            "through",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what state is springfield in",
        "question_toks": [
            "what",
            "state",
            "is",
            "springfield",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "where is springfield",
        "question_toks": [
            "where",
            "is",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "springfield is in what state",
        "question_toks": [
            "springfield",
            "is",
            "in",
            "what",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what states have cities named springfield",
        "question_toks": [
            "what",
            "states",
            "have",
            "cities",
            "named",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "which states have cities named springfield",
        "question_toks": [
            "which",
            "states",
            "have",
            "cities",
            "named",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "which state is springfield in",
        "question_toks": [
            "which",
            "state",
            "is",
            "springfield",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what states have a city named springfield",
        "question_toks": [
            "what",
            "states",
            "have",
            "a",
            "city",
            "named",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what state has the city springfield",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "city",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what states have towns named springfield",
        "question_toks": [
            "what",
            "states",
            "have",
            "towns",
            "named",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what state is springfield located in",
        "question_toks": [
            "what",
            "state",
            "is",
            "springfield",
            "located",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "in which state is springfield",
        "question_toks": [
            "in",
            "which",
            "state",
            "is",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "which state is the city springfield located in",
        "question_toks": [
            "which",
            "state",
            "is",
            "the",
            "city",
            "springfield",
            "located",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what states in the united states have a city of springfield",
        "question_toks": [
            "what",
            "states",
            "in",
            "the",
            "united",
            "states",
            "have",
            "a",
            "city",
            "of",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the population of the state with the largest area",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the population of the largest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many people live in boulder",
        "question_toks": [
            "how",
            "many",
            "people",
            "live",
            "in",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what is the population of boulder",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many people lived in boulder",
        "question_toks": [
            "how",
            "many",
            "people",
            "lived",
            "in",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "number of people in boulder",
        "question_toks": [
            "number",
            "of",
            "people",
            "in",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what is the population of boulder city",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "boulder",
            "city"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how big is the city of boulder",
        "question_toks": [
            "how",
            "big",
            "is",
            "the",
            "city",
            "of",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "population of boulder",
        "question_toks": [
            "population",
            "of",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "what is the population in boulder",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "in",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "people in boulder",
        "question_toks": [
            "people",
            "in",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many people in boulder",
        "question_toks": [
            "how",
            "many",
            "people",
            "in",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many inhabitants does boulder have",
        "question_toks": [
            "how",
            "many",
            "inhabitants",
            "does",
            "boulder",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "number of citizens in boulder",
        "question_toks": [
            "number",
            "of",
            "citizens",
            "in",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"boulder\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "boulder",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many citizens in boulder",
        "question_toks": [
            "how",
            "many",
            "citizens",
            "in",
            "boulder"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"boulder\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city WHERE state_name  =  \"alaska\" ) AND state_name  =  \"alaska\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "alaska",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "alaska",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the smallest city in alaska",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "city",
            "in",
            "alaska"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"alaska\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"alaska\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "which states lie on the largest river in the united states",
        "question_toks": [
            "which",
            "states",
            "lie",
            "on",
            "the",
            "largest",
            "river",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "which states does the longest river run through",
        "question_toks": [
            "which",
            "states",
            "does",
            "the",
            "longest",
            "river",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "which state has the longest river",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "longest",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what are the states through which the longest river runs",
        "question_toks": [
            "what",
            "are",
            "the",
            "states",
            "through",
            "which",
            "the",
            "longest",
            "river",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "which states does the longest river cross",
        "question_toks": [
            "which",
            "states",
            "does",
            "the",
            "longest",
            "river",
            "cross"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the population density of the state with the smallest area",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "density",
            "of",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the population density of the smallest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "density",
            "of",
            "the",
            "smallest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  >  ( SELECT highest_elevation FROM highlow WHERE state_name  =  \"colorado\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            ">",
            "(",
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "colorado",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            ">",
            "(",
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "which states have points higher than the highest point in colorado",
        "question_toks": [
            "which",
            "states",
            "have",
            "points",
            "higher",
            "than",
            "the",
            "highest",
            "point",
            "in",
            "colorado"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"colorado\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  >  ( SELECT highest_elevation FROM highlow WHERE state_name  =  \"colorado\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            ">",
            "(",
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "colorado",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            ">",
            "(",
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "which states have points that are higher than the highest point in colorado",
        "question_toks": [
            "which",
            "states",
            "have",
            "points",
            "that",
            "are",
            "higher",
            "than",
            "the",
            "highest",
            "point",
            "in",
            "colorado"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"colorado\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  >  ( SELECT highest_elevation FROM highlow WHERE state_name  =  \"colorado\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            ">",
            "(",
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "colorado",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            ">",
            "(",
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what states high point are higher than that of colorado",
        "question_toks": [
            "what",
            "states",
            "high",
            "point",
            "are",
            "higher",
            "than",
            "that",
            "of",
            "colorado"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"colorado\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow WHERE state_name  =  \"delaware\";",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "delaware",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the highest elevation in delaware",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "elevation",
            "in",
            "delaware"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"delaware\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow WHERE state_name  =  \"delaware\";",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "delaware",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how high is the highest point of delaware",
        "question_toks": [
            "how",
            "high",
            "is",
            "the",
            "highest",
            "point",
            "of",
            "delaware"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"delaware\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow WHERE state_name  =  \"delaware\";",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "delaware",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how tall is the highest point in delaware",
        "question_toks": [
            "how",
            "tall",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "delaware"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"delaware\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow WHERE state_name  =  \"delaware\";",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "delaware",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the highest point in delaware in meters",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "delaware",
            "in",
            "meters"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"delaware\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow WHERE state_name  =  \"delaware\";",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "delaware",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how high is the highest point in delaware",
        "question_toks": [
            "how",
            "high",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "delaware"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"delaware\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "give me the longest river that passes through the us",
        "question_toks": [
            "give",
            "me",
            "the",
            "longest",
            "river",
            "that",
            "passes",
            "through",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "which is the longest river in usa",
        "question_toks": [
            "which",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the longest river in america",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "america"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "name the longest river in us",
        "question_toks": [
            "name",
            "the",
            "longest",
            "river",
            "in",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what river is the longest one in the united states",
        "question_toks": [
            "what",
            "river",
            "is",
            "the",
            "longest",
            "one",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the longest river in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the longest river",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the longest river in the united states",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what state has the city with the largest population",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "city",
            "with",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what state has the largest city",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "largest",
            "city"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "which state has the largest city",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "largest",
            "city"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what state has the city with the most population",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "city",
            "with",
            "the",
            "most",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the smallest city in the largest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "city",
            "in",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    3,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            1,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    3,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state is the biggest",
        "question_toks": [
            "what",
            "state",
            "is",
            "the",
            "biggest"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the state with the largest area",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the largest area",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "largest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the biggest state in continental us",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "state",
            "in",
            "continental",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "state the state with the largest area",
        "question_toks": [
            "state",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the largest state in usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state",
            "in",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the biggest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the biggest state in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "state",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "give me the largest state",
        "question_toks": [
            "give",
            "me",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the largest state in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the largest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the highest points of states surrounding mississippi",
        "question_toks": [
            "what",
            "are",
            "the",
            "highest",
            "points",
            "of",
            "states",
            "surrounding",
            "mississippi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the high points of states surrounding mississippi",
        "question_toks": [
            "what",
            "are",
            "the",
            "high",
            "points",
            "of",
            "states",
            "surrounding",
            "mississippi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"colorado\" ) ORDER BY highest_elevation DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "colorado",
            "''",
            ")",
            "ORDER",
            "BY",
            "highest_elevation",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "order",
            "by",
            "highest_elevation",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the highest point in states bordering colorado",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "states",
            "bordering",
            "colorado"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"colorado\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"colorado\" ) ORDER BY highest_elevation DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "colorado",
            "''",
            ")",
            "ORDER",
            "BY",
            "highest_elevation",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "order",
            "by",
            "highest_elevation",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the highest point in the states bordering colorado",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "states",
            "bordering",
            "colorado"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"colorado\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the state with the lowest population density",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "with",
            "the",
            "lowest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the lowest population density",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "lowest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the lowest population density",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "lowest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the smallest population density",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "smallest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the sparsest population density",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "sparsest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the sparsest population density",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "sparsest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the least population density",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "least",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the least population density",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "least",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the smallest population density",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "smallest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "where is the highest point in texas",
        "question_toks": [
            "where",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the highest point in texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the high point of texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "high",
            "point",
            "of",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the highest mountain in texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "mountain",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "could you tell me what is the highest point in the state of texas",
        "question_toks": [
            "could",
            "you",
            "tell",
            "me",
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "state",
            "of",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "border_info",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "not",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "border_info",
            ")"
        ],
        "question": "what states have no bordering state",
        "question_toks": [
            "what",
            "states",
            "have",
            "no",
            "bordering",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "border_info",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "not",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "border_info",
            ")"
        ],
        "question": "name the states which have no surrounding states",
        "question_toks": [
            "name",
            "the",
            "states",
            "which",
            "have",
            "no",
            "surrounding",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "border_info",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "not",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "border_info",
            ")"
        ],
        "question": "which states border no other states",
        "question_toks": [
            "which",
            "states",
            "border",
            "no",
            "other",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the area of the state with the smallest population density",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM highlow WHERE lowest_elevation  <  ( SELECT lowest_elevation FROM highlow WHERE state_name  =  \"alabama\" );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "<",
            "(",
            "SELECT",
            "lowest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "alabama",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "<",
            "(",
            "select",
            "lowest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "count the states which have elevations lower than what alabama has",
        "question_toks": [
            "count",
            "the",
            "states",
            "which",
            "have",
            "elevations",
            "lower",
            "than",
            "what",
            "alabama",
            "has"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                "\"alabama\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow WHERE highest_point  =  \"guadalupe peak\";",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "highest_point",
            "=",
            "``",
            "guadalupe",
            "peak",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "highest_point",
            "=",
            "value"
        ],
        "question": "how high is guadalupe peak",
        "question_toks": [
            "how",
            "high",
            "is",
            "guadalupe",
            "peak"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"guadalupe peak\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow WHERE highest_point  =  \"guadalupe peak\";",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "highest_point",
            "=",
            "``",
            "guadalupe",
            "peak",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "highest_point",
            "=",
            "value"
        ],
        "question": "how tall is guadalupe peak",
        "question_toks": [
            "how",
            "tall",
            "is",
            "guadalupe",
            "peak"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"guadalupe peak\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow WHERE highest_point  =  \"guadalupe peak\";",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "highest_point",
            "=",
            "``",
            "guadalupe",
            "peak",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "highest_point",
            "=",
            "value"
        ],
        "question": "what is the maximum elevation of guadalupe peak",
        "question_toks": [
            "what",
            "is",
            "the",
            "maximum",
            "elevation",
            "of",
            "guadalupe",
            "peak"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"guadalupe peak\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT MAX ( highest_elevation ) FROM highlow;",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow"
        ],
        "question": "how high is the highest point in america",
        "question_toks": [
            "how",
            "high",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "america"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT MAX ( highest_elevation ) FROM highlow;",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow"
        ],
        "question": "what is the highest elevation in the united states",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "elevation",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT MAX ( highest_elevation ) FROM highlow;",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow"
        ],
        "question": "what is the elevation of the highest point in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "elevation",
            "of",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT MAX ( highest_elevation ) FROM highlow;",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow"
        ],
        "question": "what is the height of the highest point in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "height",
            "of",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE river_name  =  \"rio grande\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how long is the rio grande river",
        "question_toks": [
            "how",
            "long",
            "is",
            "the",
            "rio",
            "grande",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"rio grande\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE river_name  =  \"rio grande\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what is the length of the rio grande river",
        "question_toks": [
            "what",
            "is",
            "the",
            "length",
            "of",
            "the",
            "rio",
            "grande",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"rio grande\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE river_name  =  \"rio grande\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "what length is the rio grande",
        "question_toks": [
            "what",
            "length",
            "is",
            "the",
            "rio",
            "grande"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"rio grande\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE river_name  =  \"rio grande\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how long is the rio grande",
        "question_toks": [
            "how",
            "long",
            "is",
            "the",
            "rio",
            "grande"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"rio grande\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE river_name  =  \"rio grande\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how long is the rio grande river in miles",
        "question_toks": [
            "how",
            "long",
            "is",
            "the",
            "rio",
            "grande",
            "river",
            "in",
            "miles"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"rio grande\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE river_name  =  \"rio grande\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how long is rio grande",
        "question_toks": [
            "how",
            "long",
            "is",
            "rio",
            "grande"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"rio grande\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "how long is the longest river in texas",
        "question_toks": [
            "how",
            "long",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the length of the longest river that runs through texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "length",
            "of",
            "the",
            "longest",
            "river",
            "that",
            "runs",
            "through",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( capital ) FROM state WHERE state_name  =  \"rhode island\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "capital",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "rhode",
            "island",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "capital",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many capitals does rhode island have",
        "question_toks": [
            "how",
            "many",
            "capitals",
            "does",
            "rhode",
            "island",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"rhode island\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city"
        ],
        "question": "how many cities are there in the united states",
        "question_toks": [
            "how",
            "many",
            "cities",
            "are",
            "there",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city"
        ],
        "question": "how many cities does the usa have",
        "question_toks": [
            "how",
            "many",
            "cities",
            "does",
            "the",
            "usa",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city"
        ],
        "question": "how many cities are there in the us",
        "question_toks": [
            "how",
            "many",
            "cities",
            "are",
            "there",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city"
        ],
        "question": "how many cities are there in usa",
        "question_toks": [
            "how",
            "many",
            "cities",
            "are",
            "there",
            "in",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city"
        ],
        "question": "how many cities are there in us",
        "question_toks": [
            "how",
            "many",
            "cities",
            "are",
            "there",
            "in",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city WHERE population  >  150000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value"
        ],
        "question": "how many major cities are there",
        "question_toks": [
            "how",
            "many",
            "major",
            "cities",
            "are",
            "there"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "how many citizens does the biggest city have in the usa",
        "question_toks": [
            "how",
            "many",
            "citizens",
            "does",
            "the",
            "biggest",
            "city",
            "have",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE river_name  =  \"colorado\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "colorado",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how many colorado rivers are there",
        "question_toks": [
            "how",
            "many",
            "colorado",
            "rivers",
            "are",
            "there"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"colorado\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE river_name  =  \"colorado\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "colorado",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how many rivers are called colorado",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "are",
            "called",
            "colorado"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"colorado\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"seattle\" AND state_name  =  \"washington\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "seattle",
            "''",
            "AND",
            "state_name",
            "=",
            "``",
            "washington",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the population of seattle washington",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "seattle",
            "washington"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"seattle\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"washington\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  \"seattle\" AND state_name  =  \"washington\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "seattle",
            "''",
            "AND",
            "state_name",
            "=",
            "``",
            "washington",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many people live in seattle washington",
        "question_toks": [
            "how",
            "many",
            "people",
            "live",
            "in",
            "seattle",
            "washington"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"seattle\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"washington\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"alaska\" ) AND state_name  =  \"alaska\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "alaska",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "alaska",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many people live in the biggest city in alaska state",
        "question_toks": [
            "how",
            "many",
            "people",
            "live",
            "in",
            "the",
            "biggest",
            "city",
            "in",
            "alaska",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"alaska\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"alaska\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"alaska\" ) AND state_name  =  \"alaska\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "alaska",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "alaska",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "how large is the largest city in alaska",
        "question_toks": [
            "how",
            "large",
            "is",
            "the",
            "largest",
            "city",
            "in",
            "alaska"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"alaska\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"alaska\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  ( SELECT capital FROM state WHERE state_name  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "(",
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "(",
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "how many people live in the capital of texas",
        "question_toks": [
            "how",
            "many",
            "people",
            "live",
            "in",
            "the",
            "capital",
            "of",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  ( SELECT capital FROM state WHERE state_name  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "(",
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "(",
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the size of the capital of texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "size",
            "of",
            "the",
            "capital",
            "of",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT SUM ( population ) FROM state;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            "from",
            "state"
        ],
        "question": "how many people live in the united states",
        "question_toks": [
            "how",
            "many",
            "people",
            "live",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT SUM ( population ) FROM state;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "population",
            ")",
            "from",
            "state"
        ],
        "question": "what is the combined population of all 50 states",
        "question_toks": [
            "what",
            "is",
            "the",
            "combined",
            "population",
            "of",
            "all",
            "50",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM state;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "state"
        ],
        "question": "how many states are in the usa",
        "question_toks": [
            "how",
            "many",
            "states",
            "are",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM state;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "state"
        ],
        "question": "how many states are there",
        "question_toks": [
            "how",
            "many",
            "states",
            "are",
            "there"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM state;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "state"
        ],
        "question": "how many states are there in the usa",
        "question_toks": [
            "how",
            "many",
            "states",
            "are",
            "there",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM state;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "state"
        ],
        "question": "how many states does usa have",
        "question_toks": [
            "how",
            "many",
            "states",
            "does",
            "usa",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM state;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "state"
        ],
        "question": "how many states are in the united states",
        "question_toks": [
            "how",
            "many",
            "states",
            "are",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM state;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "state"
        ],
        "question": "how many states are there in united states",
        "question_toks": [
            "how",
            "many",
            "states",
            "are",
            "there",
            "in",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many states border kentucky",
        "question_toks": [
            "how",
            "many",
            "states",
            "border",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many states does kentucky border",
        "question_toks": [
            "how",
            "many",
            "states",
            "does",
            "kentucky",
            "border"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "kentucky borders how many states",
        "question_toks": [
            "kentucky",
            "borders",
            "how",
            "many",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "number of states bordering kentucky",
        "question_toks": [
            "number",
            "of",
            "states",
            "bordering",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name  =  \"kentucky\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "kentucky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the number of neighboring states for kentucky",
        "question_toks": [
            "what",
            "is",
            "the",
            "number",
            "of",
            "neighboring",
            "states",
            "for",
            "kentucky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"kentucky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "how many states border the state with the largest population",
        "question_toks": [
            "how",
            "many",
            "states",
            "border",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        2,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( DISTINCT state_name ) FROM state WHERE state_name NOT IN ( SELECT traverse FROM river );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "state_name",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "state_name",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "not",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            ")"
        ],
        "question": "how many states do not have rivers",
        "question_toks": [
            "how",
            "many",
            "states",
            "do",
            "not",
            "have",
            "rivers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                1,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM highlow WHERE highest_elevation  >  ( SELECT highest_elevation FROM highlow WHERE state_name  =  ( SELECT state_name FROM state WHERE capital  =  ( SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city ) ) ) );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            ">",
            "(",
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ")",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            ">",
            "(",
            "select",
            "highest_elevation",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "(",
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")",
            ")",
            ")",
            ")"
        ],
        "question": "how many states have a higher point than the highest point of the state with the largest capital city in the us",
        "question_toks": [
            "how",
            "many",
            "states",
            "have",
            "a",
            "higher",
            "point",
            "than",
            "the",
            "highest",
            "point",
            "of",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "capital",
            "city",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    5,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            1
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            0,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    7,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [
                                                    [
                                                        false,
                                                        2,
                                                        [
                                                            0,
                                                            [
                                                                0,
                                                                8,
                                                                false
                                                            ],
                                                            null
                                                        ],
                                                        {
                                                            "from": {
                                                                "table_units": [
                                                                    [
                                                                        "table_unit",
                                                                        1
                                                                    ]
                                                                ],
                                                                "conds": []
                                                            },
                                                            "select": [
                                                                false,
                                                                [
                                                                    [
                                                                        1,
                                                                        [
                                                                            0,
                                                                            [
                                                                                0,
                                                                                8,
                                                                                false
                                                                            ],
                                                                            null
                                                                        ]
                                                                    ]
                                                                ]
                                                            ],
                                                            "where": [],
                                                            "groupBy": [],
                                                            "having": [],
                                                            "orderBy": [],
                                                            "limit": null,
                                                            "intersect": null,
                                                            "union": null,
                                                            "except": null
                                                        },
                                                        null
                                                    ]
                                                ],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  >  750 AND traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            "AND",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "name the major rivers in illinois",
        "question_toks": [
            "name",
            "the",
            "major",
            "rivers",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  >  750 AND traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            "AND",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what are the major rivers in illinois",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "rivers",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  >  750 AND traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            "AND",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what are major rivers in illinois",
        "question_toks": [
            "what",
            "are",
            "major",
            "rivers",
            "in",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  >  750 AND traverse  =  \"illinois\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            "AND",
            "traverse",
            "=",
            "``",
            "illinois",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what major rivers run through illinois",
        "question_toks": [
            "what",
            "major",
            "rivers",
            "run",
            "through",
            "illinois"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"illinois\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")"
        ],
        "question": "through which states does the longest river in texas run",
        "question_toks": [
            "through",
            "which",
            "states",
            "does",
            "the",
            "longest",
            "river",
            "in",
            "texas",
            "run"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the capital city in texas",
        "question_toks": [
            "what",
            "are",
            "the",
            "capital",
            "city",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the capital of texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the capital of the texas state",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "texas",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is capital of texas",
        "question_toks": [
            "what",
            "is",
            "capital",
            "of",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the capital of the state texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "state",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "can you tell me the capital of texas",
        "question_toks": [
            "can",
            "you",
            "tell",
            "me",
            "the",
            "capital",
            "of",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name  =  t1.border WHERE t1.state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "t2.capital",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t2.state_name",
            "=",
            "t1.border",
            "WHERE",
            "t1.state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "capital",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "border",
            "where",
            "t1",
            ".",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the capitals of states that border texas",
        "question_toks": [
            "what",
            "are",
            "the",
            "capitals",
            "of",
            "states",
            "that",
            "border",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name  =  t1.border WHERE t1.state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "t2.capital",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t2.state_name",
            "=",
            "t1.border",
            "WHERE",
            "t1.state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "capital",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "border",
            "where",
            "t1",
            ".",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the capital cities of the states which border texas",
        "question_toks": [
            "what",
            "are",
            "the",
            "capital",
            "cities",
            "of",
            "the",
            "states",
            "which",
            "border",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name  =  t1.border WHERE t1.state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "t2.capital",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t2.state_name",
            "=",
            "t1.border",
            "WHERE",
            "t1.state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "capital",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "border",
            "where",
            "t1",
            ".",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the capitals of the states that border texas",
        "question_toks": [
            "what",
            "are",
            "the",
            "capitals",
            "of",
            "the",
            "states",
            "that",
            "border",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name  =  t1.border WHERE t1.state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "t2.capital",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t2.state_name",
            "=",
            "t1.border",
            "WHERE",
            "t1.state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "capital",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "border",
            "where",
            "t1",
            ".",
            "state_name",
            "=",
            "value"
        ],
        "question": "which capitals are in the states that border texas",
        "question_toks": [
            "which",
            "capitals",
            "are",
            "in",
            "the",
            "states",
            "that",
            "border",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the cities in states through which the mississippi runs",
        "question_toks": [
            "what",
            "are",
            "the",
            "cities",
            "in",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name IN ( SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow ) );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")",
            ")"
        ],
        "question": "what are the cities of the state with the highest point",
        "question_toks": [
            "what",
            "are",
            "the",
            "cities",
            "of",
            "the",
            "state",
            "with",
            "the",
            "highest",
            "point"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        14,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                3
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        14,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow;",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow"
        ],
        "question": "what are the highest points of all the states",
        "question_toks": [
            "what",
            "are",
            "the",
            "highest",
            "points",
            "of",
            "all",
            "the",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  \"kansas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "kansas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the major cities in kansas",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "in",
            "kansas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"kansas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  \"kansas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "kansas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the major cities in the state of kansas",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "in",
            "the",
            "state",
            "of",
            "kansas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"kansas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  \"kansas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "kansas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what major cities are located in kansas",
        "question_toks": [
            "what",
            "major",
            "cities",
            "are",
            "located",
            "in",
            "kansas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"kansas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  \"kansas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "kansas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "show major cities in kansas",
        "question_toks": [
            "show",
            "major",
            "cities",
            "in",
            "kansas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"kansas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  \"kansas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "kansas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the names of the major cities in kansas",
        "question_toks": [
            "what",
            "are",
            "the",
            "names",
            "of",
            "the",
            "major",
            "cities",
            "in",
            "kansas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"kansas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  \"kansas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "kansas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the major cities of kansas",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "of",
            "kansas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"kansas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  \"kansas\";",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "kansas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the major cities in kansas",
        "question_toks": [
            "what",
            "is",
            "the",
            "major",
            "cities",
            "in",
            "kansas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"kansas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name IN ( SELECT traverse FROM river WHERE LENGTH  >  750 AND river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            "AND",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value",
            "and",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the major cities in states through which the mississippi runs",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "in",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        27,
                                        false
                                    ],
                                    null
                                ],
                                750.0,
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000;",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value"
        ],
        "question": "what are the major cities in the usa",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000;",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value"
        ],
        "question": "what are the major cities of the united states",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "of",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000;",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value"
        ],
        "question": "what are the major cities of the us",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "of",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state;",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state"
        ],
        "question": "what are the population densities of each us state",
        "question_toks": [
            "what",
            "are",
            "the",
            "population",
            "densities",
            "of",
            "each",
            "us",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the populations of states through which the mississippi river run",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "river",
            "run"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the populations of states through which the mississippi runs",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the populations of the states through which the mississippi runs",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "the",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the populations of states through which the mississippi river runs",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "river",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the populations of the states through which the mississippi run",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "the",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "run"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the populations of the states through which the mississippi river run",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "the",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "river",
            "run"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the populations of states through which the mississippi run",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "run"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the populations of the states through which the mississippi river runs",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "the",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "river",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.population FROM state AS t2 JOIN border_info AS t1 ON t2.state_name  =  t1.border WHERE t1.state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "t2.population",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t2.state_name",
            "=",
            "t1.border",
            "WHERE",
            "t1.state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "population",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "border",
            "where",
            "t1",
            ".",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the populations of states which border texas",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "states",
            "which",
            "border",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE population  >  150000 AND state_name  =  \"wisconsin\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "wisconsin",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the populations of the major cities of wisconsin",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "the",
            "major",
            "cities",
            "of",
            "wisconsin"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wisconsin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE population  >  150000 AND state_name  =  \"wisconsin\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "wisconsin",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what are the populations of all the major cities in wisconsin",
        "question_toks": [
            "what",
            "are",
            "the",
            "populations",
            "of",
            "all",
            "the",
            "major",
            "cities",
            "in",
            "wisconsin"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wisconsin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE population  >  150000 AND state_name  =  \"wisconsin\";",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "wisconsin",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the population of the major cities in wisconsin",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "major",
            "cities",
            "in",
            "wisconsin"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"wisconsin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what city has the most people",
        "question_toks": [
            "what",
            "city",
            "has",
            "the",
            "most",
            "people"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what city in the united states has the highest population density",
        "question_toks": [
            "what",
            "city",
            "in",
            "the",
            "united",
            "states",
            "has",
            "the",
            "highest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what is the most populous city",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "populous",
            "city"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "which us city has the highest population density",
        "question_toks": [
            "which",
            "us",
            "city",
            "has",
            "the",
            "highest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what is the biggest city in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "city",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "whats the largest city",
        "question_toks": [
            "whats",
            "the",
            "largest",
            "city"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what city has the largest population",
        "question_toks": [
            "what",
            "city",
            "has",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what is the biggest city in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "city",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what is the biggest city in usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "city",
            "in",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what is the biggest capital city in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "capital",
            "city",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what is the largest capital city in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "capital",
            "city",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what is the largest state capital in population",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state",
            "capital",
            "in",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what is the largest capital",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "capital"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what is the most populated capital in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "populated",
            "capital",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what capital is the largest in the us",
        "question_toks": [
            "what",
            "capital",
            "is",
            "the",
            "largest",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what capital has the largest population",
        "question_toks": [
            "what",
            "capital",
            "has",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what is largest capital",
        "question_toks": [
            "what",
            "is",
            "largest",
            "capital"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.capital FROM state AS t2 JOIN city AS t1 ON t2.state_name  =  t1.state_name WHERE t1.city_name  =  \"durham\";",
        "query_toks": [
            "SELECT",
            "t2.capital",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.state_name",
            "=",
            "t1.state_name",
            "WHERE",
            "t1.city_name",
            "=",
            "``",
            "durham",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "capital",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "state_name",
            "where",
            "t1",
            ".",
            "city_name",
            "=",
            "value"
        ],
        "question": "what is the capital of states that have cities named durham",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "states",
            "that",
            "have",
            "cities",
            "named",
            "durham"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"durham\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the capital of the smallest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "smallest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT DISTINCT capital FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "capital",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the capital of the state with the largest population density",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the capital of the state with the largest population",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the capital of the state with the most inhabitants",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "state",
            "with",
            "the",
            "most",
            "inhabitants"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river ) );",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")",
            ")"
        ],
        "question": "what is the capital of the state with the longest river",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "state",
            "with",
            "the",
            "longest",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        27,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        27,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT SUM ( area ) FROM state;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "area",
            ")",
            "from",
            "state"
        ],
        "question": "what is the combined area of all 50 states",
        "question_toks": [
            "what",
            "is",
            "the",
            "combined",
            "area",
            "of",
            "all",
            "50",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT SUM ( area ) FROM state;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "area",
            ")",
            "from",
            "state"
        ],
        "question": "what is the area of all the states combined",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "all",
            "the",
            "states",
            "combined"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT SUM ( area ) FROM state;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "area",
            ")",
            "from",
            "state"
        ],
        "question": "how many square kilometers in the us",
        "question_toks": [
            "how",
            "many",
            "square",
            "kilometers",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT SUM ( area ) FROM state;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "area",
            ")",
            "from",
            "state"
        ],
        "question": "what is the total area of the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "total",
            "area",
            "of",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the density of the wyoming",
        "question_toks": [
            "what",
            "is",
            "the",
            "density",
            "of",
            "the",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the population density of wyoming",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "density",
            "of",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE state_name  =  \"wyoming\";",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the density of wyoming",
        "question_toks": [
            "what",
            "is",
            "the",
            "density",
            "of",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"wyoming\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude  =  ( SELECT MAX ( mountain_altitude ) FROM mountain );",
        "query_toks": [
            "SELECT",
            "mountain_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_altitude",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "mountain_altitude",
            ")",
            "FROM",
            "mountain",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "mountain_name",
            "from",
            "mountain",
            "where",
            "mountain_altitude",
            "=",
            "(",
            "select",
            "max",
            "(",
            "mountain_altitude",
            ")",
            "from",
            "mountain",
            ")"
        ],
        "question": "what is the highest mountain in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "mountain",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude  =  ( SELECT MAX ( mountain_altitude ) FROM mountain );",
        "query_toks": [
            "SELECT",
            "mountain_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_altitude",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "mountain_altitude",
            ")",
            "FROM",
            "mountain",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "mountain_name",
            "from",
            "mountain",
            "where",
            "mountain_altitude",
            "=",
            "(",
            "select",
            "max",
            "(",
            "mountain_altitude",
            ")",
            "from",
            "mountain",
            ")"
        ],
        "question": "what is the highest mountain in us",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "mountain",
            "in",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude  =  ( SELECT MAX ( mountain_altitude ) FROM mountain );",
        "query_toks": [
            "SELECT",
            "mountain_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_altitude",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "mountain_altitude",
            ")",
            "FROM",
            "mountain",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "mountain_name",
            "from",
            "mountain",
            "where",
            "mountain_altitude",
            "=",
            "(",
            "select",
            "max",
            "(",
            "mountain_altitude",
            ")",
            "from",
            "mountain",
            ")"
        ],
        "question": "what is the tallest mountain in america",
        "question_toks": [
            "what",
            "is",
            "the",
            "tallest",
            "mountain",
            "in",
            "america"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude  =  ( SELECT MAX ( mountain_altitude ) FROM mountain );",
        "query_toks": [
            "SELECT",
            "mountain_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_altitude",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "mountain_altitude",
            ")",
            "FROM",
            "mountain",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "mountain_name",
            "from",
            "mountain",
            "where",
            "mountain_altitude",
            "=",
            "(",
            "select",
            "max",
            "(",
            "mountain_altitude",
            ")",
            "from",
            "mountain",
            ")"
        ],
        "question": "what is the tallest mountain in the united states",
        "question_toks": [
            "what",
            "is",
            "the",
            "tallest",
            "mountain",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT state_name FROM state WHERE capital  =  \"des moines\" );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "des",
            "moines",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value",
            ")"
        ],
        "question": "what is the highest point in the state with capital des moines",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "state",
            "with",
            "capital",
            "des",
            "moines"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"des moines\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT state_name FROM state WHERE capital  =  \"des moines\" );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "des",
            "moines",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value",
            ")"
        ],
        "question": "what is the highest point in the state with the capital des moines",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "state",
            "with",
            "the",
            "capital",
            "des",
            "moines"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"des moines\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the highest point in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the highest point of the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "of",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the highest point in the country",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "country"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the highest point in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the highest point in the united states",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "highest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "min",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the highest point of the state with the smallest population density",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "of",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        6,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" ) AND area  =  ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" ) ) ) ORDER BY population DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            "AND",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ")",
            ")",
            "ORDER",
            "BY",
            "population",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            "and",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            ")",
            ")",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the largest city in smallest state through which the mississippi runs",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "city",
            "in",
            "smallest",
            "state",
            "through",
            "which",
            "the",
            "mississippi",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        29,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    26,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"mississippi\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            8,
                                            [
                                                0,
                                                [
                                                    0,
                                                    1,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            6
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            0,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    29,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [
                                                    [
                                                        false,
                                                        2,
                                                        [
                                                            0,
                                                            [
                                                                0,
                                                                26,
                                                                false
                                                            ],
                                                            null
                                                        ],
                                                        "\"mississippi\"",
                                                        null
                                                    ]
                                                ],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the largest city in the smallest state in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "city",
            "in",
            "the",
            "smallest",
            "state",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    3,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            2,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    3,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the biggest city in the smallest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "city",
            "in",
            "the",
            "smallest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    3,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            2,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    3,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the largest state bordering california",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state",
            "bordering",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"california\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"california\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the largest state that borders california",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state",
            "that",
            "borders",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"california\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"california\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what state that borders california is the largest",
        "question_toks": [
            "what",
            "state",
            "that",
            "borders",
            "california",
            "is",
            "the",
            "largest"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"california\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"california\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) ) ) AND traverse IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            "AND",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")",
            "and",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the longest river in the largest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    3,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            1,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    3,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"tennessee\" ) ) AND traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"tennessee\" );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "tennessee",
            "''",
            ")",
            ")",
            "AND",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "tennessee",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the longest river in the states that border tennessee",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "states",
            "that",
            "border",
            "tennessee"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"tennessee\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"tennessee\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"tennessee\" ) ) AND traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"tennessee\" );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "tennessee",
            "''",
            ")",
            ")",
            "AND",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "tennessee",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the longest river that flows through a state that borders tennessee",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "that",
            "flows",
            "through",
            "a",
            "state",
            "that",
            "borders",
            "tennessee"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"tennessee\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"tennessee\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"tennessee\" ) ) AND traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"tennessee\" );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "tennessee",
            "''",
            ")",
            ")",
            "AND",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "tennessee",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the longest river that runs through a state that borders tennessee",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "that",
            "runs",
            "through",
            "a",
            "state",
            "that",
            "borders",
            "tennessee"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"tennessee\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"tennessee\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse  =  ( SELECT state_name FROM city WHERE population  >  150000 GROUP BY state_name ORDER BY COUNT ( city_name ) DESC LIMIT 1 ) ORDER BY LENGTH DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "GROUP",
            "BY",
            "state_name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "city_name",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ")",
            "ORDER",
            "BY",
            "LENGTH",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "group",
            "by",
            "state_name",
            "order",
            "by",
            "count",
            "(",
            "city_name",
            ")",
            "desc",
            "limit",
            "value",
            ")",
            "order",
            "by",
            "length",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the longest river in the state with the most major cities",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "state",
            "with",
            "the",
            "most",
            "major",
            "cities"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            10,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        8,
                                        false
                                    ],
                                    null
                                ],
                                150000.0,
                                null
                            ]
                        ],
                        "groupBy": [
                            [
                                0,
                                10,
                                false
                            ]
                        ],
                        "having": [],
                        "orderBy": [
                            "desc",
                            [
                                [
                                    0,
                                    [
                                        3,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        ],
                        "limit": 1,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE state_name  =  \"iowa\";",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "iowa",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the lowest point in iowa",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "in",
            "iowa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"iowa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE state_name  =  \"iowa\";",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "iowa",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the lowest point in iowa in meters",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "in",
            "iowa",
            "in",
            "meters"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"iowa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE state_name  =  \"iowa\";",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "iowa",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the lowest point in the state of iowa",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "in",
            "the",
            "state",
            "of",
            "iowa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"iowa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE state_name  =  \"iowa\";",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "iowa",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "where is the lowest point in iowa",
        "question_toks": [
            "where",
            "is",
            "the",
            "lowest",
            "point",
            "in",
            "iowa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"iowa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE state_name  =  \"iowa\";",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "iowa",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the lowest point of iowa",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "of",
            "iowa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"iowa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE state_name  =  \"iowa\";",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "iowa",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "where is the lowest spot in iowa",
        "question_toks": [
            "where",
            "is",
            "the",
            "lowest",
            "spot",
            "in",
            "iowa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"iowa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the lowest point in usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "in",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the lowest point in the united states",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "where is the lowest point in the us",
        "question_toks": [
            "where",
            "is",
            "the",
            "lowest",
            "point",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the lowest point of the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "of",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" ) ORDER BY lowest_elevation LIMIT 1;",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            "ORDER",
            "BY",
            "lowest_elevation",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            "order",
            "by",
            "lowest_elevation",
            "limit",
            "value"
        ],
        "question": "what is the lowest point of all states through which the mississippi river runs through",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "of",
            "all",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "river",
            "runs",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_point FROM highlow WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" ) ORDER BY lowest_elevation LIMIT 1;",
        "query_toks": [
            "SELECT",
            "lowest_point",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            "ORDER",
            "BY",
            "lowest_elevation",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_point",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            "order",
            "by",
            "lowest_elevation",
            "limit",
            "value"
        ],
        "question": "which is the lowest point of the states that the mississippi runs through",
        "question_toks": [
            "which",
            "is",
            "the",
            "lowest",
            "point",
            "of",
            "the",
            "states",
            "that",
            "the",
            "mississippi",
            "runs",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the most dense state in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "dense",
            "state",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the highest population density",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "highest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the greatest density",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "greatest",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the highest population density",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "highest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the greatest population density",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "greatest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the largest population density",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "largest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the state with the largest density in usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "density",
            "in",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the state with the largest population density",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state has the largest density",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "largest",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the most populous state through which the mississippi runs",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "populous",
            "state",
            "through",
            "which",
            "the",
            "mississippi",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        29,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    26,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"mississippi\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what state which the mississippi runs through has the largest population",
        "question_toks": [
            "what",
            "state",
            "which",
            "the",
            "mississippi",
            "runs",
            "through",
            "has",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        29,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    26,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"mississippi\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the population density of the largest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "density",
            "of",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the population of the largest city in the state with the largest area",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "largest",
            "city",
            "in",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    3,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            1,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    3,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the population of the smallest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "smallest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the population of the state with the highest population density",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "state",
            "with",
            "the",
            "highest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE density  =  ( SELECT MAX ( density ) FROM state );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "density",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "density",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "density",
            "=",
            "(",
            "select",
            "max",
            "(",
            "density",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "how many people live in the state with the largest population density",
        "question_toks": [
            "how",
            "many",
            "people",
            "live",
            "in",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population",
            "density"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            6,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what is the smallest city in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "city",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what is the smallest city in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "city",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what city has the least population",
        "question_toks": [
            "what",
            "city",
            "has",
            "the",
            "least",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "what is the city with the smallest population",
        "question_toks": [
            "what",
            "is",
            "the",
            "city",
            "with",
            "the",
            "smallest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the smallest state bordering texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "state",
            "bordering",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"texas\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the smallest state that borders texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "state",
            "that",
            "borders",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"texas\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "which state has the smallest area that borders texas",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "smallest",
            "area",
            "that",
            "borders",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"texas\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the smallest state that the mississippi river runs through",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "state",
            "that",
            "the",
            "mississippi",
            "river",
            "runs",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        29,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    26,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"mississippi\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the state with the smallest area",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which is the smallest state",
        "question_toks": [
            "which",
            "is",
            "the",
            "smallest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "which state is the smallest",
        "question_toks": [
            "which",
            "state",
            "is",
            "the",
            "smallest"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the smallest state in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "state",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the smallest state by area",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "state",
            "by",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what state has the smallest area",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "smallest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT SUM ( LENGTH ) FROM river;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "length",
            ")",
            "from",
            "river"
        ],
        "question": "what is the total length of all rivers in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "total",
            "length",
            "of",
            "all",
            "rivers",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "GROUP",
            "BY",
            "(",
            "river_name",
            ")",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "group",
            "by",
            "(",
            "river_name",
            ")",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "what river flows through the most states",
        "question_toks": [
            "what",
            "river",
            "flows",
            "through",
            "the",
            "most",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "GROUP",
            "BY",
            "(",
            "river_name",
            ")",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "group",
            "by",
            "(",
            "river_name",
            ")",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which river goes through the most states",
        "question_toks": [
            "which",
            "river",
            "goes",
            "through",
            "the",
            "most",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "GROUP",
            "BY",
            "(",
            "river_name",
            ")",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "group",
            "by",
            "(",
            "river_name",
            ")",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which river runs through most states",
        "question_toks": [
            "which",
            "river",
            "runs",
            "through",
            "most",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "GROUP",
            "BY",
            "(",
            "river_name",
            ")",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "group",
            "by",
            "(",
            "river_name",
            ")",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which river traverses most states",
        "question_toks": [
            "which",
            "river",
            "traverses",
            "most",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "GROUP",
            "BY",
            "(",
            "river_name",
            ")",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "group",
            "by",
            "(",
            "river_name",
            ")",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "what river traverses the most states",
        "question_toks": [
            "what",
            "river",
            "traverses",
            "the",
            "most",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "GROUP",
            "BY",
            "(",
            "river_name",
            ")",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "group",
            "by",
            "(",
            "river_name",
            ")",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which river runs through the most states",
        "question_toks": [
            "which",
            "river",
            "runs",
            "through",
            "the",
            "most",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river GROUP BY ( river_name ) ORDER BY COUNT ( DISTINCT traverse ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "GROUP",
            "BY",
            "(",
            "river_name",
            ")",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "group",
            "by",
            "(",
            "river_name",
            ")",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "what river runs through the most states",
        "question_toks": [
            "what",
            "river",
            "runs",
            "through",
            "the",
            "most",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    26,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"alabama\" );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "alabama",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what rivers are in states that border alabama",
        "question_toks": [
            "what",
            "rivers",
            "are",
            "in",
            "states",
            "that",
            "border",
            "alabama"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"alabama\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"alabama\" );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "alabama",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "which rivers run through states bordering alabama",
        "question_toks": [
            "which",
            "rivers",
            "run",
            "through",
            "states",
            "bordering",
            "alabama"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"alabama\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"alabama\" );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "alabama",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what rivers flow through states that alabama borders",
        "question_toks": [
            "what",
            "rivers",
            "flow",
            "through",
            "states",
            "that",
            "alabama",
            "borders"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"alabama\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"oklahoma\" ) ORDER BY population DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "oklahoma",
            "''",
            ")",
            "ORDER",
            "BY",
            "population",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "what state bordering oklahoma has the largest population",
        "question_toks": [
            "what",
            "state",
            "bordering",
            "oklahoma",
            "has",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"oklahoma\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"oklahoma\" ) ORDER BY population DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "oklahoma",
            "''",
            ")",
            "ORDER",
            "BY",
            "population",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "which of the states bordering oklahoma has the largest population",
        "question_toks": [
            "which",
            "of",
            "the",
            "states",
            "bordering",
            "oklahoma",
            "has",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"oklahoma\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"oklahoma\" ) ORDER BY population DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "oklahoma",
            "''",
            ")",
            "ORDER",
            "BY",
            "population",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "what state that borders oklahoma has the highest population",
        "question_toks": [
            "what",
            "state",
            "that",
            "borders",
            "oklahoma",
            "has",
            "the",
            "highest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"oklahoma\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"oklahoma\" ) ORDER BY population DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "oklahoma",
            "''",
            ")",
            "ORDER",
            "BY",
            "population",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "order",
            "by",
            "population",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the most populated state bordering oklahoma",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "populated",
            "state",
            "bordering",
            "oklahoma"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"oklahoma\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"colorado\" ) );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "colorado",
            "''",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            ")"
        ],
        "question": "what state contains the highest point of those the colorado river traverses",
        "question_toks": [
            "what",
            "state",
            "contains",
            "the",
            "highest",
            "point",
            "of",
            "those",
            "the",
            "colorado",
            "river",
            "traverses"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        29,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    26,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"colorado\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "what state has the largest capital",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "largest",
            "capital"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "which state 's capital city is the largest",
        "question_toks": [
            "which",
            "state",
            "'s",
            "capital",
            "city",
            "is",
            "the",
            "largest"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT DISTINCT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( DISTINCT LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "DISTINCT",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "distinct",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what state has the longest river",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "longest",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            true
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city GROUP BY state_name ORDER BY SUM ( population ) LIMIT 1;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "state_name",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "population",
            ")",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "group",
            "by",
            "state_name",
            "order",
            "by",
            "sum",
            "(",
            "population",
            ")",
            "limit",
            "value"
        ],
        "question": "what state has the smallest urban population",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "smallest",
            "urban",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            4,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"colorado\" );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "colorado",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what states border states that border colorado",
        "question_toks": [
            "what",
            "states",
            "border",
            "states",
            "that",
            "border",
            "colorado"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"colorado\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what states border states that the mississippi runs through",
        "question_toks": [
            "what",
            "states",
            "border",
            "states",
            "that",
            "the",
            "mississippi",
            "runs",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "which states border states through which the mississippi traverses",
        "question_toks": [
            "which",
            "states",
            "border",
            "states",
            "through",
            "which",
            "the",
            "mississippi",
            "traverses"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what states border states which the mississippi runs through",
        "question_toks": [
            "what",
            "states",
            "border",
            "states",
            "which",
            "the",
            "mississippi",
            "runs",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM border_info WHERE border  =  \"texas\" AND state_name IN ( SELECT traverse FROM river WHERE LENGTH  >  750 );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "border_info",
            "WHERE",
            "border",
            "=",
            "``",
            "texas",
            "''",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "border_info",
            "where",
            "border",
            "=",
            "value",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value",
            ")"
        ],
        "question": "what states border texas and have a major river",
        "question_toks": [
            "what",
            "states",
            "border",
            "texas",
            "and",
            "have",
            "a",
            "major",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                3,
                                [
                                    0,
                                    [
                                        0,
                                        27,
                                        false
                                    ],
                                    null
                                ],
                                750.0,
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what states border the most populous state",
        "question_toks": [
            "what",
            "states",
            "border",
            "the",
            "most",
            "populous",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        2,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what are the states that border the state with the greatest population",
        "question_toks": [
            "what",
            "are",
            "the",
            "states",
            "that",
            "border",
            "the",
            "state",
            "with",
            "the",
            "greatest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        2,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what states border the state with the smallest area",
        "question_toks": [
            "what",
            "states",
            "border",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name  =  ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "which states border the state with the smallest area",
        "question_toks": [
            "which",
            "states",
            "border",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE LENGTH  >  750;",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value"
        ],
        "question": "what states contain at least one major rivers",
        "question_toks": [
            "what",
            "states",
            "contain",
            "at",
            "least",
            "one",
            "major",
            "rivers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM mountain;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "mountain",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "mountain"
        ],
        "question": "where are mountains",
        "question_toks": [
            "where",
            "are",
            "mountains"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM mountain WHERE mountain_altitude  =  ( SELECT MAX ( mountain_altitude ) FROM mountain );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_altitude",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "mountain_altitude",
            ")",
            "FROM",
            "mountain",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "mountain",
            "where",
            "mountain_altitude",
            "=",
            "(",
            "select",
            "max",
            "(",
            "mountain_altitude",
            ")",
            "from",
            "mountain",
            ")"
        ],
        "question": "where is the highest mountain of the united states",
        "question_toks": [
            "where",
            "is",
            "the",
            "highest",
            "mountain",
            "of",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM mountain WHERE mountain_altitude  =  ( SELECT MAX ( mountain_altitude ) FROM mountain );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_altitude",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "mountain_altitude",
            ")",
            "FROM",
            "mountain",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "mountain",
            "where",
            "mountain_altitude",
            "=",
            "(",
            "select",
            "max",
            "(",
            "mountain_altitude",
            ")",
            "from",
            "mountain",
            ")"
        ],
        "question": "which state has the highest peak in the country",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "highest",
            "peak",
            "in",
            "the",
            "country"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "city",
            ")"
        ],
        "question": "where is the smallest city",
        "question_toks": [
            "where",
            "is",
            "the",
            "smallest",
            "city"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river ) );",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")",
            ")"
        ],
        "question": "which is the density of the state that the largest river in the united states runs through",
        "question_toks": [
            "which",
            "is",
            "the",
            "density",
            "of",
            "the",
            "state",
            "that",
            "the",
            "largest",
            "river",
            "in",
            "the",
            "united",
            "states",
            "runs",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        27,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        27,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT mountain_name FROM mountain WHERE mountain_altitude  =  ( SELECT MAX ( mountain_altitude ) FROM mountain WHERE state_name != \"alaska\" );",
        "query_toks": [
            "SELECT",
            "mountain_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_altitude",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "mountain_altitude",
            ")",
            "FROM",
            "mountain",
            "WHERE",
            "state_name",
            "!",
            "=",
            "``",
            "alaska",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "mountain_name",
            "from",
            "mountain",
            "where",
            "mountain_altitude",
            "=",
            "(",
            "select",
            "max",
            "(",
            "mountain_altitude",
            ")",
            "from",
            "mountain",
            "where",
            "state_name",
            "!",
            "=",
            "value",
            ")"
        ],
        "question": "which is the highest peak not in alaska",
        "question_toks": [
            "which",
            "is",
            "the",
            "highest",
            "peak",
            "not",
            "in",
            "alaska"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            23,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                7,
                                [
                                    0,
                                    [
                                        0,
                                        25,
                                        false
                                    ],
                                    null
                                ],
                                "\"alaska\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE river_name NOT IN ( SELECT river_name FROM river WHERE traverse  =  \"tennessee\" );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "tennessee",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "river_name",
            "not",
            "in",
            "(",
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")"
        ],
        "question": "which rivers do not run through tennessee",
        "question_toks": [
            "which",
            "rivers",
            "do",
            "not",
            "run",
            "through",
            "tennessee"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"tennessee\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE river_name NOT IN ( SELECT river_name FROM river WHERE traverse  =  \"tennessee\" );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "tennessee",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "river_name",
            "not",
            "in",
            "(",
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")"
        ],
        "question": "what rivers do not run through tennessee",
        "question_toks": [
            "what",
            "rivers",
            "do",
            "not",
            "run",
            "through",
            "tennessee"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            26,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"tennessee\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE country_name != \"usa\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "country_name",
            "!",
            "=",
            "``",
            "usa",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "country_name",
            "!",
            "=",
            "value"
        ],
        "question": "which rivers do not run through usa",
        "question_toks": [
            "which",
            "rivers",
            "do",
            "not",
            "run",
            "through",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    "\"usa\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE capital  =  \"atlanta\" ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "atlanta",
            "''",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value",
            ")",
            ")"
        ],
        "question": "which rivers run through states that border the state with the capital atlanta",
        "question_toks": [
            "which",
            "rivers",
            "run",
            "through",
            "states",
            "that",
            "border",
            "the",
            "state",
            "with",
            "the",
            "capital",
            "atlanta"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    5,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"atlanta\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE capital  =  \"atlanta\" ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "atlanta",
            "''",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value",
            ")",
            ")"
        ],
        "question": "what rivers run through the states that border the state with the capital atlanta",
        "question_toks": [
            "what",
            "rivers",
            "run",
            "through",
            "the",
            "states",
            "that",
            "border",
            "the",
            "state",
            "with",
            "the",
            "capital",
            "atlanta"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    5,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"atlanta\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( t1.population ) FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "t1.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            ")"
        ],
        "question": "which state capital has the smallest population",
        "question_toks": [
            "which",
            "state",
            "capital",
            "has",
            "the",
            "smallest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        7,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "which state has the highest elevation",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "highest",
            "elevation"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "which state has the highest point",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "highest",
            "point"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what state has the highest elevation",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "highest",
            "elevation"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "in which state does the highest point in usa exist",
        "question_toks": [
            "in",
            "which",
            "state",
            "does",
            "the",
            "highest",
            "point",
            "in",
            "usa",
            "exist"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what state has highest elevation",
        "question_toks": [
            "what",
            "state",
            "has",
            "highest",
            "elevation"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the state with the highest elevation in the united states",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "with",
            "the",
            "highest",
            "elevation",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the state that contains the highest point",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "that",
            "contains",
            "the",
            "highest",
            "point"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what state contains the highest point in the us",
        "question_toks": [
            "what",
            "state",
            "contains",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "which state has the lowest elevation",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "lowest",
            "elevation"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the name of the state with the lowest point",
        "question_toks": [
            "what",
            "is",
            "the",
            "name",
            "of",
            "the",
            "state",
            "with",
            "the",
            "lowest",
            "point"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the state with the lowest point",
        "question_toks": [
            "what",
            "is",
            "the",
            "state",
            "with",
            "the",
            "lowest",
            "point"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"idaho\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"idaho\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "idaho",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "idaho",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "which state has the lowest point that borders idaho",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "lowest",
            "point",
            "that",
            "borders",
            "idaho"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        13,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"idaho\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"idaho\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city GROUP BY state_name ORDER BY AVG ( population ) LIMIT 1;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "state_name",
            "ORDER",
            "BY",
            "AVG",
            "(",
            "population",
            ")",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "group",
            "by",
            "state_name",
            "order",
            "by",
            "avg",
            "(",
            "population",
            ")",
            "limit",
            "value"
        ],
        "question": "which state has the smallest average urban population",
        "question_toks": [
            "which",
            "state",
            "has",
            "the",
            "smallest",
            "average",
            "urban",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            5,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM mountain WHERE mountain_name  =  \"whitney\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_name",
            "=",
            "``",
            "whitney",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "mountain",
            "where",
            "mountain_name",
            "=",
            "value"
        ],
        "question": "which state is mount whitney in",
        "question_toks": [
            "which",
            "state",
            "is",
            "mount",
            "whitney",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"whitney\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM mountain WHERE mountain_name  =  \"whitney\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_name",
            "=",
            "``",
            "whitney",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "mountain",
            "where",
            "mountain_name",
            "=",
            "value"
        ],
        "question": "in what state is mount whitney",
        "question_toks": [
            "in",
            "what",
            "state",
            "is",
            "mount",
            "whitney"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"whitney\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM mountain WHERE mountain_name  =  \"whitney\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_name",
            "=",
            "``",
            "whitney",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "mountain",
            "where",
            "mountain_name",
            "=",
            "value"
        ],
        "question": "where is mount whitney",
        "question_toks": [
            "where",
            "is",
            "mount",
            "whitney"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"whitney\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM mountain WHERE mountain_name  =  \"whitney\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_name",
            "=",
            "``",
            "whitney",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "mountain",
            "where",
            "mountain_name",
            "=",
            "value"
        ],
        "question": "where is mount whitney located",
        "question_toks": [
            "where",
            "is",
            "mount",
            "whitney",
            "located"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"whitney\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river;",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river"
        ],
        "question": "which states have a river",
        "question_toks": [
            "which",
            "states",
            "have",
            "a",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river;",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river"
        ],
        "question": "what states have rivers running through them",
        "question_toks": [
            "what",
            "states",
            "have",
            "rivers",
            "running",
            "through",
            "them"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE city_name  =  \"austin\" AND population  >  150000;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "austin",
            "''",
            "AND",
            "population",
            ">",
            "150000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value",
            "and",
            "population",
            ">",
            "value"
        ],
        "question": "which states have a major city named austin",
        "question_toks": [
            "which",
            "states",
            "have",
            "a",
            "major",
            "city",
            "named",
            "austin"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"austin\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the largest city in a state that borders california",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "city",
            "in",
            "a",
            "state",
            "that",
            "borders",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"california\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"california\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"california\" );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "california",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the largest city in states that border california",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "city",
            "in",
            "states",
            "that",
            "border",
            "california"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"california\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"california\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse NOT IN ( SELECT state_name FROM state WHERE capital  =  \"albany\" );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "albany",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "not",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value",
            ")"
        ],
        "question": "how many rivers do not traverse the state with the capital albany",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "do",
            "not",
            "traverse",
            "the",
            "state",
            "with",
            "the",
            "capital",
            "albany"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"albany\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MIN ( LENGTH ) FROM river WHERE traverse  =  \"texas\" ) AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ")",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "=",
            "value",
            ")",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the shortest river in texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "shortest",
            "river",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what are the major cities in the smallest state in the us",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "in",
            "the",
            "smallest",
            "state",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  ( SELECT capital FROM state WHERE area  =  ( SELECT MAX ( t1.area ) FROM state AS t1 JOIN river AS t2 ON t1.state_name  =  t2.traverse WHERE t2.river_name  =  \"mississippi\" ) );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "(",
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.area",
            ")",
            "FROM",
            "state",
            "AS",
            "t1",
            "JOIN",
            "river",
            "AS",
            "t2",
            "ON",
            "t1.state_name",
            "=",
            "t2.traverse",
            "WHERE",
            "t2.river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "(",
            "select",
            "capital",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "area",
            ")",
            "from",
            "state",
            "as",
            "t1",
            "join",
            "river",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "traverse",
            "where",
            "t2",
            ".",
            "river_name",
            "=",
            "value",
            ")",
            ")"
        ],
        "question": "what is the population of the capital of the largest state through which the mississippi runs",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "capital",
            "of",
            "the",
            "largest",
            "state",
            "through",
            "which",
            "the",
            "mississippi",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ],
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": [
                                            [
                                                false,
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ],
                                                [
                                                    0,
                                                    29,
                                                    false
                                                ],
                                                null
                                            ]
                                        ]
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    26,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"mississippi\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MIN ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the shortest river in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "shortest",
            "river",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MIN ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the shortest river",
        "question_toks": [
            "what",
            "is",
            "the",
            "shortest",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MIN ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the shortest river in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "shortest",
            "river",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MIN ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what is the shortest river in the united states",
        "question_toks": [
            "what",
            "is",
            "the",
            "shortest",
            "river",
            "in",
            "the",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MIN ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "which is the shortest river",
        "question_toks": [
            "which",
            "is",
            "the",
            "shortest",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" ) );",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")"
        ],
        "question": "what is the capital of the state that borders the state that borders texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "state",
            "that",
            "borders",
            "the",
            "state",
            "that",
            "borders",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"texas\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the smallest city of the smallest state in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "city",
            "of",
            "the",
            "smallest",
            "state",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    3,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            2,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    3,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the population of the largest state that borders texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "largest",
            "state",
            "that",
            "borders",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"texas\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE capital  =  \"salem\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "salem",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value"
        ],
        "question": "what state is salem the capital of",
        "question_toks": [
            "what",
            "state",
            "is",
            "salem",
            "the",
            "capital",
            "of"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"salem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE capital  =  \"salem\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "salem",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value"
        ],
        "question": "what states capital is salem",
        "question_toks": [
            "what",
            "states",
            "capital",
            "is",
            "salem"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"salem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE capital  =  \"salem\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "salem",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value"
        ],
        "question": "salem is the capital of which state",
        "question_toks": [
            "salem",
            "is",
            "the",
            "capital",
            "of",
            "which",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"salem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE capital  =  \"salem\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "salem",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value"
        ],
        "question": "what state has the capital salem",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "capital",
            "salem"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"salem\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what rivers flow through the state with the largest population",
        "question_toks": [
            "what",
            "rivers",
            "flow",
            "through",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        2,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT state_name FROM border_info WHERE border IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) ) ) ) AND state_name IN ( SELECT state_name FROM border_info WHERE border IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) ) );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "border_info",
            "WHERE",
            "border",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "border_info",
            "WHERE",
            "border",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "border_info",
            "where",
            "border",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "border_info",
            "where",
            "border",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")"
        ],
        "question": "what is the largest state that borders the state with the highest population",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state",
            "that",
            "borders",
            "the",
            "state",
            "with",
            "the",
            "highest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        11,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            8,
                                            [
                                                0,
                                                [
                                                    0,
                                                    12,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            0,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    1,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [
                                                    [
                                                        false,
                                                        2,
                                                        [
                                                            0,
                                                            [
                                                                0,
                                                                2,
                                                                false
                                                            ],
                                                            null
                                                        ],
                                                        {
                                                            "from": {
                                                                "table_units": [
                                                                    [
                                                                        "table_unit",
                                                                        0
                                                                    ]
                                                                ],
                                                                "conds": []
                                                            },
                                                            "select": [
                                                                false,
                                                                [
                                                                    [
                                                                        1,
                                                                        [
                                                                            0,
                                                                            [
                                                                                0,
                                                                                2,
                                                                                false
                                                                            ],
                                                                            null
                                                                        ]
                                                                    ]
                                                                ]
                                                            ],
                                                            "where": [],
                                                            "groupBy": [],
                                                            "having": [],
                                                            "orderBy": [],
                                                            "limit": null,
                                                            "intersect": null,
                                                            "union": null,
                                                            "except": null
                                                        },
                                                        null
                                                    ]
                                                ],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            11,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    2,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            1,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    2,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river"
        ],
        "question": "how many rivers are there in us",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "are",
            "there",
            "in",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT DISTINCT capital FROM state;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "capital",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "capital",
            "from",
            "state"
        ],
        "question": "name the 50 capitals in the usa",
        "question_toks": [
            "name",
            "the",
            "50",
            "capitals",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many states have a city named springfield",
        "question_toks": [
            "how",
            "many",
            "states",
            "have",
            "a",
            "city",
            "named",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many states have a city called springfield",
        "question_toks": [
            "how",
            "many",
            "states",
            "have",
            "a",
            "city",
            "called",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many states have cities named springfield",
        "question_toks": [
            "how",
            "many",
            "states",
            "have",
            "cities",
            "named",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( state_name ) FROM city WHERE city_name  =  \"springfield\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "state_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "springfield",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "state_name",
            ")",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many states have cities or towns named springfield",
        "question_toks": [
            "how",
            "many",
            "states",
            "have",
            "cities",
            "or",
            "towns",
            "named",
            "springfield"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"springfield\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MIN ( population ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what state borders the state with the smallest population",
        "question_toks": [
            "what",
            "state",
            "borders",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        2,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lake_name FROM lake WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "lake_name",
            "FROM",
            "lake",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lake_name",
            "from",
            "lake",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "what are the lakes in states bordering texas",
        "question_toks": [
            "what",
            "are",
            "the",
            "lakes",
            "in",
            "states",
            "bordering",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city WHERE population  >  150000 AND state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many major cities are in texas",
        "question_toks": [
            "how",
            "many",
            "major",
            "cities",
            "are",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city WHERE population  >  150000 AND state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many big cities are in texas",
        "question_toks": [
            "how",
            "many",
            "big",
            "cities",
            "are",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city WHERE population  >  150000 AND state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many major cities are there in texas",
        "question_toks": [
            "how",
            "many",
            "major",
            "cities",
            "are",
            "there",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT highest_elevation FROM highlow;",
        "query_toks": [
            "SELECT",
            "highest_elevation",
            "FROM",
            "highlow",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "highest_elevation",
            "from",
            "highlow"
        ],
        "question": "how high are the highest points of all the states",
        "question_toks": [
            "how",
            "high",
            "are",
            "the",
            "highest",
            "points",
            "of",
            "all",
            "the",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( traverse ) FROM river WHERE river_name  =  \"missouri\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "traverse",
            ")",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "missouri",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "traverse",
            ")",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how many states does the missouri run through",
        "question_toks": [
            "how",
            "many",
            "states",
            "does",
            "the",
            "missouri",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"missouri\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( traverse ) FROM river WHERE river_name  =  \"missouri\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "traverse",
            ")",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "missouri",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "traverse",
            ")",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how many states does the missouri river flow through",
        "question_toks": [
            "how",
            "many",
            "states",
            "does",
            "the",
            "missouri",
            "river",
            "flow",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"missouri\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( traverse ) FROM river WHERE river_name  =  \"missouri\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "traverse",
            ")",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "missouri",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "traverse",
            ")",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value"
        ],
        "question": "how many states does the missouri river run through",
        "question_toks": [
            "how",
            "many",
            "states",
            "does",
            "the",
            "missouri",
            "river",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"missouri\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) ) ) AND traverse IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            "AND",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")",
            "and",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the longest river in the smallest state in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "smallest",
            "state",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        29,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    3,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            2,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    3,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population / area FROM state WHERE state_name  =  \"pennsylvania\";",
        "query_toks": [
            "SELECT",
            "population",
            "/",
            "area",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "pennsylvania",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "/",
            "area",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the average population per square km in pennsylvania",
        "question_toks": [
            "what",
            "is",
            "the",
            "average",
            "population",
            "per",
            "square",
            "km",
            "in",
            "pennsylvania"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            4,
                            [
                                0,
                                2,
                                false
                            ],
                            [
                                0,
                                3,
                                false
                            ]
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"pennsylvania\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"florida\" ) );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "florida",
            "''",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")"
        ],
        "question": "what states border states that border states that border florida",
        "question_toks": [
            "what",
            "states",
            "border",
            "states",
            "that",
            "border",
            "states",
            "that",
            "border",
            "florida"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"florida\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( DISTINCT state_name ) FROM border_info;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "state_name",
            ")",
            "FROM",
            "border_info",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "state_name",
            ")",
            "from",
            "border_info"
        ],
        "question": "how many states border at least one other state",
        "question_toks": [
            "how",
            "many",
            "states",
            "border",
            "at",
            "least",
            "one",
            "other",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT MAX ( DISTINCT highest_elevation ) FROM highlow WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "DISTINCT",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "distinct",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the height of the highest mountain in texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "height",
            "of",
            "the",
            "highest",
            "mountain",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE border IN ( SELECT border FROM border_info WHERE state_name  =  \"new mexico\" ) AND state_name  =  \"colorado\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "border",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "new",
            "mexico",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "colorado",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "border",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many states border colorado and border new mexico",
        "question_toks": [
            "how",
            "many",
            "states",
            "border",
            "colorado",
            "and",
            "border",
            "new",
            "mexico"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"new mexico\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"colorado\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city WHERE population  >  150000 AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"nebraska\" );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "nebraska",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "how many major cities are in states bordering nebraska",
        "question_toks": [
            "how",
            "many",
            "major",
            "cities",
            "are",
            "in",
            "states",
            "bordering",
            "nebraska"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"nebraska\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT SUM ( t2.population ) FROM state AS t2 JOIN border_info AS t1 ON t2.state_name  =  t1.border WHERE t1.state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.population",
            ")",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t2.state_name",
            "=",
            "t1.border",
            "WHERE",
            "t1.state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "population",
            ")",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "border",
            "where",
            "t1",
            ".",
            "state_name",
            "=",
            "value"
        ],
        "question": "what is the total population of the states that border texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "total",
            "population",
            "of",
            "the",
            "states",
            "that",
            "border",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lake_name FROM lake WHERE area  >  750;",
        "query_toks": [
            "SELECT",
            "lake_name",
            "FROM",
            "lake",
            "WHERE",
            "area",
            ">",
            "750",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lake_name",
            "from",
            "lake",
            "where",
            "area",
            ">",
            "value"
        ],
        "question": "what are the major lakes in united states",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "lakes",
            "in",
            "united",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lake_name FROM lake WHERE area  >  750;",
        "query_toks": [
            "SELECT",
            "lake_name",
            "FROM",
            "lake",
            "WHERE",
            "area",
            ">",
            "750",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lake_name",
            "from",
            "lake",
            "where",
            "area",
            ">",
            "value"
        ],
        "question": "show me all the major lakes in the us",
        "question_toks": [
            "show",
            "me",
            "all",
            "the",
            "major",
            "lakes",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lake_name FROM lake;",
        "query_toks": [
            "SELECT",
            "lake_name",
            "FROM",
            "lake",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lake_name",
            "from",
            "lake"
        ],
        "question": "name all the lakes of us",
        "question_toks": [
            "name",
            "all",
            "the",
            "lakes",
            "of",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE LENGTH  >  750 AND traverse  =  \"ohio\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            "AND",
            "traverse",
            "=",
            "``",
            "ohio",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "how many major rivers cross ohio",
        "question_toks": [
            "how",
            "many",
            "major",
            "rivers",
            "cross",
            "ohio"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"ohio\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT DISTINCT traverse FROM river WHERE LENGTH  =  ( SELECT MIN ( DISTINCT LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "DISTINCT",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "distinct",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what state has the shortest river",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "shortest",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            true
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( DISTINCT traverse ) FROM river WHERE LENGTH  >  750;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value"
        ],
        "question": "how many states are next to major rivers",
        "question_toks": [
            "how",
            "many",
            "states",
            "are",
            "next",
            "to",
            "major",
            "rivers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT mountain_altitude FROM mountain WHERE mountain_name  =  \"mckinley\";",
        "query_toks": [
            "SELECT",
            "mountain_altitude",
            "FROM",
            "mountain",
            "WHERE",
            "mountain_name",
            "=",
            "``",
            "mckinley",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "mountain_altitude",
            "from",
            "mountain",
            "where",
            "mountain_name",
            "=",
            "value"
        ],
        "question": "what is the height of mount mckinley",
        "question_toks": [
            "what",
            "is",
            "the",
            "height",
            "of",
            "mount",
            "mckinley"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "\"mckinley\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MIN ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "what states does the shortest river run through",
        "question_toks": [
            "what",
            "states",
            "does",
            "the",
            "shortest",
            "river",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.highest_point FROM state AS t1 JOIN highlow AS t2 ON t1.state_name  =  t2.state_name WHERE t1.state_name IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MIN ( population ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "t2.highest_point",
            "FROM",
            "state",
            "AS",
            "t1",
            "JOIN",
            "highlow",
            "AS",
            "t2",
            "ON",
            "t1.state_name",
            "=",
            "t2.state_name",
            "WHERE",
            "t1.state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "highest_point",
            "from",
            "state",
            "as",
            "t1",
            "join",
            "highlow",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t1",
            ".",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the highest point in the state with the smallest population",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        2,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")",
            ")"
        ],
        "question": "which rivers run through the state with the lowest elevation in the usa",
        "question_toks": [
            "which",
            "rivers",
            "run",
            "through",
            "the",
            "state",
            "with",
            "the",
            "lowest",
            "elevation",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                3
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        17,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM highlow WHERE lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "highlow",
            "where",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")",
            ")"
        ],
        "question": "what rivers run through the state with the lowest point in the usa",
        "question_toks": [
            "what",
            "rivers",
            "run",
            "through",
            "the",
            "state",
            "with",
            "the",
            "lowest",
            "point",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            13,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        17,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                3
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        17,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT mountain_name FROM mountain WHERE state_name  =  \"alaska\";",
        "query_toks": [
            "SELECT",
            "mountain_name",
            "FROM",
            "mountain",
            "WHERE",
            "state_name",
            "=",
            "``",
            "alaska",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "mountain_name",
            "from",
            "mountain",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "what mountains are in alaska",
        "question_toks": [
            "what",
            "mountains",
            "are",
            "in",
            "alaska"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"alaska\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( traverse ) FROM river WHERE LENGTH  >  750;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "traverse",
            ")",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "traverse",
            ")",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value"
        ],
        "question": "how many states have major rivers",
        "question_toks": [
            "how",
            "many",
            "states",
            "have",
            "major",
            "rivers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    750.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river ) ) ) AND state_name IN ( SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river ) );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")",
            ")"
        ],
        "question": "what is the smallest state through which the longest river runs",
        "question_toks": [
            "what",
            "is",
            "the",
            "smallest",
            "state",
            "through",
            "which",
            "the",
            "longest",
            "river",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        29,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    27,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            6
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            1,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    27,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        27,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        27,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"rio grande\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"rio grande\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the largest state traversed by the rio grande river",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state",
            "traversed",
            "by",
            "the",
            "rio",
            "grande",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        29,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    26,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"rio grande\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"rio grande\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"rio grande\" ) ) AND state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"rio grande\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "rio",
            "grande",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "what is the largest of the state that the rio grande runs through",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "of",
            "the",
            "state",
            "that",
            "the",
            "rio",
            "grande",
            "runs",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        29,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    26,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"rio grande\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"rio grande\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( river_name ) FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name  =  \"colorado\" );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "river_name",
            ")",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "colorado",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "river_name",
            ")",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "how many rivers run through the states bordering colorado",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "run",
            "through",
            "the",
            "states",
            "bordering",
            "colorado"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"colorado\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT traverse FROM river );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "not",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            ")"
        ],
        "question": "what state has no rivers",
        "question_toks": [
            "what",
            "state",
            "has",
            "no",
            "rivers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the capital of the largest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT capital FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "capital",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the capital city of the largest state in the us",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "city",
            "of",
            "the",
            "largest",
            "state",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many cities are in texas",
        "question_toks": [
            "how",
            "many",
            "cities",
            "are",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city WHERE state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "how many cities does texas have",
        "question_toks": [
            "how",
            "many",
            "cities",
            "does",
            "texas",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state;",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state"
        ],
        "question": "what is the area of the states",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "the",
            "states"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( DISTINCT traverse ) FROM river WHERE LENGTH  =  ( SELECT MIN ( DISTINCT LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "traverse",
            ")",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "DISTINCT",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "traverse",
            ")",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "distinct",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "how many states in the us does the shortest river run through",
        "question_toks": [
            "how",
            "many",
            "states",
            "in",
            "the",
            "us",
            "does",
            "the",
            "shortest",
            "river",
            "run",
            "through"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            true
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT border FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")",
            ")"
        ],
        "question": "what rivers flow through states that border the state with the largest population",
        "question_toks": [
            "what",
            "rivers",
            "flow",
            "through",
            "states",
            "that",
            "border",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        1,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    2,
                                                    false
                                                ],
                                                null
                                            ],
                                            {
                                                "from": {
                                                    "table_units": [
                                                        [
                                                            "table_unit",
                                                            0
                                                        ]
                                                    ],
                                                    "conds": []
                                                },
                                                "select": [
                                                    false,
                                                    [
                                                        [
                                                            1,
                                                            [
                                                                0,
                                                                [
                                                                    0,
                                                                    2,
                                                                    false
                                                                ],
                                                                null
                                                            ]
                                                        ]
                                                    ]
                                                ],
                                                "where": [],
                                                "groupBy": [],
                                                "having": [],
                                                "orderBy": [],
                                                "limit": null,
                                                "intersect": null,
                                                "union": null,
                                                "except": null
                                            },
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name  =  ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what are the major cities in the largest state",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "in",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT area FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "area",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "area",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the area of the smallest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "the",
            "smallest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT border FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river ) );",
        "query_toks": [
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "max",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")",
            ")"
        ],
        "question": "which states border the longest river in the usa",
        "question_toks": [
            "which",
            "states",
            "border",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        27,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        27,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE population  =  ( SELECT MIN ( population ) FROM state );",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "min",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the population density of the state with the smallest population",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "density",
            "of",
            "the",
            "state",
            "with",
            "the",
            "smallest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( DISTINCT border ) FROM border_info WHERE state_name IN ( SELECT traverse FROM river WHERE river_name  =  \"mississippi\" );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "mississippi",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            ")"
        ],
        "question": "how many states border the mississippi river",
        "question_toks": [
            "how",
            "many",
            "states",
            "border",
            "the",
            "mississippi",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                "\"mississippi\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t1.state_name FROM state AS t1 JOIN highlow AS t2 ON t1.capital  =  t2.highest_point;",
        "query_toks": [
            "SELECT",
            "t1.state_name",
            "FROM",
            "state",
            "AS",
            "t1",
            "JOIN",
            "highlow",
            "AS",
            "t2",
            "ON",
            "t1.capital",
            "=",
            "t2.highest_point",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state_name",
            "from",
            "state",
            "as",
            "t1",
            "join",
            "highlow",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "capital",
            "=",
            "t2",
            ".",
            "highest_point"
        ],
        "question": "what states have a capital that is the highest point in the state",
        "question_toks": [
            "what",
            "states",
            "have",
            "a",
            "capital",
            "that",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  ( SELECT capital FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "(",
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "(",
            "select",
            "capital",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the population of the capital of the smallest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "capital",
            "of",
            "the",
            "smallest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                2,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM city WHERE city_name  =  ( SELECT capital FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "(",
            "SELECT",
            "capital",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "(",
            "select",
            "capital",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the population of the capital of the largest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "of",
            "the",
            "capital",
            "of",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            5,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.lowest_point FROM state AS t1 JOIN highlow AS t2 ON t1.state_name  =  t2.state_name WHERE t1.state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "t2.lowest_point",
            "FROM",
            "state",
            "AS",
            "t1",
            "JOIN",
            "highlow",
            "AS",
            "t2",
            "ON",
            "t1.state_name",
            "=",
            "t2.state_name",
            "WHERE",
            "t1.state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "lowest_point",
            "from",
            "state",
            "as",
            "t1",
            "join",
            "highlow",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t1",
            ".",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the lowest point of the state with the largest area",
        "question_toks": [
            "what",
            "is",
            "the",
            "lowest",
            "point",
            "of",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t1.border FROM border_info AS t2 JOIN border_info AS t1 ON t2.border  =  t1.state_name WHERE t2.state_name IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "t1.border",
            "FROM",
            "border_info",
            "AS",
            "t2",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t2.border",
            "=",
            "t1.state_name",
            "WHERE",
            "t2.state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "border",
            "from",
            "border_info",
            "as",
            "t2",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "border",
            "=",
            "t1",
            ".",
            "state_name",
            "where",
            "t2",
            ".",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what states border states that border the state with the largest population",
        "question_toks": [
            "what",
            "states",
            "border",
            "states",
            "that",
            "border",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        2,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT MAX ( area ) FROM state;",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state"
        ],
        "question": "what is the size of the largest state in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "size",
            "of",
            "the",
            "largest",
            "state",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT MAX ( area ) FROM state;",
        "query_toks": [
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state"
        ],
        "question": "what is the area of the largest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "area",
            "of",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.capital FROM state AS t2 JOIN city AS t1 ON t2.capital  =  t1.city_name WHERE t1.population  <=  150000;",
        "query_toks": [
            "SELECT",
            "t2.capital",
            "FROM",
            "state",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.capital",
            "=",
            "t1.city_name",
            "WHERE",
            "t1.population",
            "<",
            "=",
            "150000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "capital",
            "from",
            "state",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "capital",
            "=",
            "t1",
            ".",
            "city_name",
            "where",
            "t1",
            ".",
            "population",
            "<",
            "=",
            "value"
        ],
        "question": "which capitals are not major cities",
        "question_toks": [
            "which",
            "capitals",
            "are",
            "not",
            "major",
            "cities"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    6,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city;",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city"
        ],
        "question": "give me the cities in usa",
        "question_toks": [
            "give",
            "me",
            "the",
            "cities",
            "in",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.highest_point FROM state AS t1 JOIN highlow AS t2 ON t1.state_name  =  t2.state_name WHERE t1.state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "t2.highest_point",
            "FROM",
            "state",
            "AS",
            "t1",
            "JOIN",
            "highlow",
            "AS",
            "t2",
            "ON",
            "t1.state_name",
            "=",
            "t2.state_name",
            "WHERE",
            "t1.state_name",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "highest_point",
            "from",
            "state",
            "as",
            "t1",
            "join",
            "highlow",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t1",
            ".",
            "state_name",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what is the highest point of the state with the largest area",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "of",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "area"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT country_name FROM state WHERE state_name  =  \"massachusetts\";",
        "query_toks": [
            "SELECT",
            "country_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "=",
            "``",
            "massachusetts",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "country_name",
            "from",
            "state",
            "where",
            "state_name",
            "=",
            "value"
        ],
        "question": "where is massachusetts",
        "question_toks": [
            "where",
            "is",
            "massachusetts"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "\"massachusetts\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city GROUP BY state_name ORDER BY SUM ( population ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "GROUP",
            "BY",
            "state_name",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "population",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "group",
            "by",
            "state_name",
            "order",
            "by",
            "sum",
            "(",
            "population",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "what state has the largest urban population",
        "question_toks": [
            "what",
            "state",
            "has",
            "the",
            "largest",
            "urban",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            8,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river;",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river"
        ],
        "question": "what are the major rivers in the us",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "rivers",
            "in",
            "the",
            "us"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( city_name ) FROM city WHERE city_name  =  \"austin\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "city_name",
            ")",
            "FROM",
            "city",
            "WHERE",
            "city_name",
            "=",
            "``",
            "austin",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "city_name",
            ")",
            "from",
            "city",
            "where",
            "city_name",
            "=",
            "value"
        ],
        "question": "how many cities named austin are there in the usa",
        "question_toks": [
            "how",
            "many",
            "cities",
            "named",
            "austin",
            "are",
            "there",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"austin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT population FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"wyoming\" ) ) AND state_name IN ( SELECT border FROM border_info WHERE state_name  =  \"wyoming\" );",
        "query_toks": [
            "SELECT",
            "population",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            ")",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "wyoming",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "population",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            "where",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            ")",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "how many people live in the smallest state bordering wyoming",
        "question_toks": [
            "how",
            "many",
            "people",
            "live",
            "in",
            "the",
            "smallest",
            "state",
            "bordering",
            "wyoming"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            2,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                2
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        12,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    11,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"wyoming\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"wyoming\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE river_name  =  \"colorado\" AND traverse  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "=",
            "``",
            "colorado",
            "''",
            "AND",
            "traverse",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "river_name",
            "=",
            "value",
            "and",
            "traverse",
            "=",
            "value"
        ],
        "question": "what is the length of the colorado river in texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "length",
            "of",
            "the",
            "colorado",
            "river",
            "in",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"colorado\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT density FROM state WHERE capital  =  \"austin\";",
        "query_toks": [
            "SELECT",
            "density",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "austin",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "density",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value"
        ],
        "question": "what is the population density in the state with capital austin",
        "question_toks": [
            "what",
            "is",
            "the",
            "population",
            "density",
            "in",
            "the",
            "state",
            "with",
            "capital",
            "austin"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"austin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT LENGTH FROM river WHERE LENGTH  =  ( SELECT MIN ( LENGTH ) FROM river );",
        "query_toks": [
            "SELECT",
            "LENGTH",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "LENGTH",
            ")",
            "FROM",
            "river",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "length",
            "from",
            "river",
            "where",
            "length",
            "=",
            "(",
            "select",
            "min",
            "(",
            "length",
            ")",
            "from",
            "river",
            ")"
        ],
        "question": "how long is the shortest river in the usa",
        "question_toks": [
            "how",
            "long",
            "is",
            "the",
            "shortest",
            "river",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            27,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT lowest_elevation FROM highlow WHERE lowest_point  =  \"death valley\";",
        "query_toks": [
            "SELECT",
            "lowest_elevation",
            "FROM",
            "highlow",
            "WHERE",
            "lowest_point",
            "=",
            "``",
            "death",
            "valley",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "lowest_elevation",
            "from",
            "highlow",
            "where",
            "lowest_point",
            "=",
            "value"
        ],
        "question": "what is the elevation of death valley",
        "question_toks": [
            "what",
            "is",
            "the",
            "elevation",
            "of",
            "death",
            "valley"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"death valley\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT AVG ( population ) FROM state;",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "population",
            ")",
            "from",
            "state"
        ],
        "question": "what is the average population of the us by state",
        "question_toks": [
            "what",
            "is",
            "the",
            "average",
            "population",
            "of",
            "the",
            "us",
            "by",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT river_name FROM river WHERE traverse IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "traverse",
            "IN",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "traverse",
            "in",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "what rivers flow through the largest state",
        "question_toks": [
            "what",
            "rivers",
            "flow",
            "through",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t1.border FROM border_info AS t2 JOIN border_info AS t1 ON t2.border  =  t1.state_name JOIN border_info AS t3 ON t3.border  =  t2.state_name JOIN border_info AS t4 ON t4.border  =  t3.state_name WHERE t4.state_name  =  \"texas\";",
        "query_toks": [
            "SELECT",
            "t1.border",
            "FROM",
            "border_info",
            "AS",
            "t2",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t2.border",
            "=",
            "t1.state_name",
            "JOIN",
            "border_info",
            "AS",
            "t3",
            "ON",
            "t3.border",
            "=",
            "t2.state_name",
            "JOIN",
            "border_info",
            "AS",
            "t4",
            "ON",
            "t4.border",
            "=",
            "t3.state_name",
            "WHERE",
            "t4.state_name",
            "=",
            "``",
            "texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "border",
            "from",
            "border_info",
            "as",
            "t2",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "border",
            "=",
            "t1",
            ".",
            "state_name",
            "join",
            "border_info",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "border",
            "=",
            "t2",
            ".",
            "state_name",
            "join",
            "border_info",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "border",
            "=",
            "t3",
            ".",
            "state_name",
            "where",
            "t4",
            ".",
            "state_name",
            "=",
            "value"
        ],
        "question": "what states border states that border states that border states that border texas",
        "question_toks": [
            "what",
            "states",
            "border",
            "states",
            "that",
            "border",
            "states",
            "that",
            "border",
            "states",
            "that",
            "border",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name  =  ( SELECT state_name FROM state WHERE capital  =  \"boston\" );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "capital",
            "=",
            "``",
            "boston",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "capital",
            "=",
            "value",
            ")"
        ],
        "question": "how many states border on the state whose capital is boston",
        "question_toks": [
            "how",
            "many",
            "states",
            "border",
            "on",
            "the",
            "state",
            "whose",
            "capital",
            "is",
            "boston"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        5,
                                        false
                                    ],
                                    null
                                ],
                                "\"boston\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT city_name FROM city WHERE population  >  150000 AND state_name IN ( SELECT traverse FROM river WHERE river_name IN ( SELECT river_name FROM river WHERE LENGTH  >  750 AND traverse  =  \"virginia\" ) );",
        "query_toks": [
            "SELECT",
            "city_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            ">",
            "150000",
            "AND",
            "state_name",
            "IN",
            "(",
            "SELECT",
            "traverse",
            "FROM",
            "river",
            "WHERE",
            "river_name",
            "IN",
            "(",
            "SELECT",
            "river_name",
            "FROM",
            "river",
            "WHERE",
            "LENGTH",
            ">",
            "750",
            "AND",
            "traverse",
            "=",
            "``",
            "virginia",
            "''",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city_name",
            "from",
            "city",
            "where",
            "population",
            ">",
            "value",
            "and",
            "state_name",
            "in",
            "(",
            "select",
            "traverse",
            "from",
            "river",
            "where",
            "river_name",
            "in",
            "(",
            "select",
            "river_name",
            "from",
            "river",
            "where",
            "length",
            ">",
            "value",
            "and",
            "traverse",
            "=",
            "value",
            ")",
            ")"
        ],
        "question": "what are the major cities in the states through which the major river in virginia runs",
        "question_toks": [
            "what",
            "are",
            "the",
            "major",
            "cities",
            "in",
            "the",
            "states",
            "through",
            "which",
            "the",
            "major",
            "river",
            "in",
            "virginia",
            "runs"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    150000.0,
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                8,
                                [
                                    0,
                                    [
                                        0,
                                        26,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                6
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                0,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        26,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [
                                        [
                                            false,
                                            3,
                                            [
                                                0,
                                                [
                                                    0,
                                                    27,
                                                    false
                                                ],
                                                null
                                            ],
                                            750.0,
                                            null
                                        ],
                                        "and",
                                        [
                                            false,
                                            2,
                                            [
                                                0,
                                                [
                                                    0,
                                                    29,
                                                    false
                                                ],
                                                null
                                            ],
                                            "\"virginia\"",
                                            null
                                        ]
                                    ],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM state WHERE state_name NOT IN ( SELECT border FROM border_info WHERE state_name  =  \"texas\" );",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "state_name",
            "NOT",
            "IN",
            "(",
            "SELECT",
            "border",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "``",
            "texas",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "state_name",
            "not",
            "in",
            "(",
            "select",
            "border",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "value",
            ")"
        ],
        "question": "which states does not border texas",
        "question_toks": [
            "which",
            "states",
            "does",
            "not",
            "border",
            "texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    true,
                    8,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            12,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        11,
                                        false
                                    ],
                                    null
                                ],
                                "\"texas\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( border ) FROM border_info WHERE state_name  =  ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "border",
            ")",
            "FROM",
            "border_info",
            "WHERE",
            "state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "border",
            ")",
            "from",
            "border_info",
            "where",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "how many states border the largest state",
        "question_toks": [
            "how",
            "many",
            "states",
            "border",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        3,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  \"montana\" ) AND state_name  =  \"montana\";",
        "query_toks": [
            "SELECT",
            "state_name",
            "FROM",
            "city",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "city",
            "WHERE",
            "state_name",
            "=",
            "``",
            "montana",
            "''",
            ")",
            "AND",
            "state_name",
            "=",
            "``",
            "montana",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state_name",
            "from",
            "city",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "city",
            "where",
            "state_name",
            "=",
            "value",
            ")",
            "and",
            "state_name",
            "=",
            "value"
        ],
        "question": "which state is the largest city in montana in",
        "question_toks": [
            "which",
            "state",
            "is",
            "the",
            "largest",
            "city",
            "in",
            "montana",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ],
                                "\"montana\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"montana\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t1.capital FROM highlow AS t2 JOIN state AS t1 ON t1.state_name  =  t2.state_name WHERE t2.lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow ) ;",
        "query_toks": [
            "SELECT",
            "t1.capital",
            "FROM",
            "highlow",
            "AS",
            "t2",
            "JOIN",
            "state",
            "AS",
            "t1",
            "ON",
            "t1.state_name",
            "=",
            "t2.state_name",
            "WHERE",
            "t2.lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "capital",
            "from",
            "highlow",
            "as",
            "t2",
            "join",
            "state",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t2",
            ".",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is capital of the state with the lowest point",
        "question_toks": [
            "what",
            "is",
            "capital",
            "of",
            "the",
            "state",
            "with",
            "the",
            "lowest",
            "point"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT DISTINCT t1.city_name FROM city AS t1 JOIN river AS t2 ON t2.traverse  =  t1.state_name WHERE t1.population  =  ( SELECT MAX ( t1.population ) FROM river AS t2 JOIN city AS t1 ON t2.traverse  =  t1.state_name );",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.city_name",
            "FROM",
            "city",
            "AS",
            "t1",
            "JOIN",
            "river",
            "AS",
            "t2",
            "ON",
            "t2.traverse",
            "=",
            "t1.state_name",
            "WHERE",
            "t1.population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.population",
            ")",
            "FROM",
            "river",
            "AS",
            "t2",
            "JOIN",
            "city",
            "AS",
            "t1",
            "ON",
            "t2.traverse",
            "=",
            "t1.state_name",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "city_name",
            "from",
            "city",
            "as",
            "t1",
            "join",
            "river",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "traverse",
            "=",
            "t1",
            ".",
            "state_name",
            "where",
            "t1",
            ".",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "population",
            ")",
            "from",
            "river",
            "as",
            "t2",
            "join",
            "city",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "traverse",
            "=",
            "t1",
            ".",
            "state_name",
            ")"
        ],
        "question": "what is the biggest american city in a state with a river",
        "question_toks": [
            "what",
            "is",
            "the",
            "biggest",
            "american",
            "city",
            "in",
            "a",
            "state",
            "with",
            "a",
            "river"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    6
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            29,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        10,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( t2.river_name ) FROM river AS t2 JOIN state AS t1 ON t1.state_name  =  t2.traverse WHERE t1.state_name  =  ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "t2.river_name",
            ")",
            "FROM",
            "river",
            "AS",
            "t2",
            "JOIN",
            "state",
            "AS",
            "t1",
            "ON",
            "t1.state_name",
            "=",
            "t2.traverse",
            "WHERE",
            "t1.state_name",
            "=",
            "(",
            "SELECT",
            "state_name",
            "FROM",
            "state",
            "WHERE",
            "population",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "population",
            ")",
            "FROM",
            "state",
            ")",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t2",
            ".",
            "river_name",
            ")",
            "from",
            "river",
            "as",
            "t2",
            "join",
            "state",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "traverse",
            "where",
            "t1",
            ".",
            "state_name",
            "=",
            "(",
            "select",
            "state_name",
            "from",
            "state",
            "where",
            "population",
            "=",
            "(",
            "select",
            "max",
            "(",
            "population",
            ")",
            "from",
            "state",
            ")",
            ")"
        ],
        "question": "how many rivers are in the state with the largest population",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "are",
            "in",
            "the",
            "state",
            "with",
            "the",
            "largest",
            "population"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        2,
                                        false
                                    ],
                                    null
                                ],
                                {
                                    "from": {
                                        "table_units": [
                                            [
                                                "table_unit",
                                                0
                                            ]
                                        ],
                                        "conds": []
                                    },
                                    "select": [
                                        false,
                                        [
                                            [
                                                1,
                                                [
                                                    0,
                                                    [
                                                        0,
                                                        2,
                                                        false
                                                    ],
                                                    null
                                                ]
                                            ]
                                        ]
                                    ],
                                    "where": [],
                                    "groupBy": [],
                                    "having": [],
                                    "orderBy": [],
                                    "limit": null,
                                    "intersect": null,
                                    "union": null,
                                    "except": null
                                },
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t1.state_name FROM highlow AS t3 JOIN border_info AS t1 ON t3.state_name  =  t1.border JOIN state AS t2 ON t2.state_name  =  t1.border WHERE t3.lowest_elevation  =  ( SELECT MIN ( lowest_elevation ) FROM highlow ) ORDER BY t2.area DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.state_name",
            "FROM",
            "highlow",
            "AS",
            "t3",
            "JOIN",
            "border_info",
            "AS",
            "t1",
            "ON",
            "t3.state_name",
            "=",
            "t1.border",
            "JOIN",
            "state",
            "AS",
            "t2",
            "ON",
            "t2.state_name",
            "=",
            "t1.border",
            "WHERE",
            "t3.lowest_elevation",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "lowest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            "ORDER",
            "BY",
            "t2.area",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state_name",
            "from",
            "highlow",
            "as",
            "t3",
            "join",
            "border_info",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "border",
            "join",
            "state",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "state_name",
            "=",
            "t1",
            ".",
            "border",
            "where",
            "t3",
            ".",
            "lowest_elevation",
            "=",
            "(",
            "select",
            "min",
            "(",
            "lowest_elevation",
            ")",
            "from",
            "highlow",
            ")",
            "order",
            "by",
            "t2",
            ".",
            "area",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the largest state that borders the state with the lowest point in the usa",
        "question_toks": [
            "what",
            "is",
            "the",
            "largest",
            "state",
            "that",
            "borders",
            "the",
            "state",
            "with",
            "the",
            "lowest",
            "point",
            "in",
            "the",
            "usa"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            17,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t1.capital FROM highlow AS t2 JOIN state AS t1 ON t1.state_name  =  t2.state_name WHERE t2.highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "t1.capital",
            "FROM",
            "highlow",
            "AS",
            "t2",
            "JOIN",
            "state",
            "AS",
            "t1",
            "ON",
            "t1.state_name",
            "=",
            "t2.state_name",
            "WHERE",
            "t2.highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "capital",
            "from",
            "highlow",
            "as",
            "t2",
            "join",
            "state",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t2",
            ".",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the capital of the state with the highest point",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "state",
            "with",
            "the",
            "highest",
            "point"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t1.capital FROM highlow AS t2 JOIN state AS t1 ON t1.state_name  =  t2.state_name WHERE t2.highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "t1.capital",
            "FROM",
            "highlow",
            "AS",
            "t2",
            "JOIN",
            "state",
            "AS",
            "t1",
            "ON",
            "t1.state_name",
            "=",
            "t2.state_name",
            "WHERE",
            "t2.highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "capital",
            "from",
            "highlow",
            "as",
            "t2",
            "join",
            "state",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t2",
            ".",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "what is the capital of the state with the highest elevation",
        "question_toks": [
            "what",
            "is",
            "the",
            "capital",
            "of",
            "the",
            "state",
            "with",
            "the",
            "highest",
            "elevation"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.highest_point FROM highlow AS t2 JOIN state AS t1 ON t1.state_name  =  t2.state_name WHERE t1.area  =  ( SELECT MIN ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "t2.highest_point",
            "FROM",
            "highlow",
            "AS",
            "t2",
            "JOIN",
            "state",
            "AS",
            "t1",
            "ON",
            "t1.state_name",
            "=",
            "t2.state_name",
            "WHERE",
            "t1.area",
            "=",
            "(",
            "SELECT",
            "MIN",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "highest_point",
            "from",
            "highlow",
            "as",
            "t2",
            "join",
            "state",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t1",
            ".",
            "area",
            "=",
            "(",
            "select",
            "min",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "what is the highest point in the smallest state",
        "question_toks": [
            "what",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "smallest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT COUNT ( t1.river_name ) FROM highlow AS t2 JOIN river AS t1 ON t1.traverse  =  t2.state_name WHERE t2.highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow );",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "t1.river_name",
            ")",
            "FROM",
            "highlow",
            "AS",
            "t2",
            "JOIN",
            "river",
            "AS",
            "t1",
            "ON",
            "t1.traverse",
            "=",
            "t2.state_name",
            "WHERE",
            "t2.highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t1",
            ".",
            "river_name",
            ")",
            "from",
            "highlow",
            "as",
            "t2",
            "join",
            "river",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "traverse",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t2",
            ".",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")"
        ],
        "question": "how many rivers are in the state with the highest point.",
        "question_toks": [
            "how",
            "many",
            "rivers",
            "are",
            "in",
            "the",
            "state",
            "with",
            "the",
            "highest",
            "point",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t2.highest_elevation FROM highlow AS t2 JOIN state AS t1 ON t1.state_name  =  t2.state_name WHERE t1.area  =  ( SELECT MAX ( area ) FROM state );",
        "query_toks": [
            "SELECT",
            "t2.highest_elevation",
            "FROM",
            "highlow",
            "AS",
            "t2",
            "JOIN",
            "state",
            "AS",
            "t1",
            "ON",
            "t1.state_name",
            "=",
            "t2.state_name",
            "WHERE",
            "t1.area",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "area",
            ")",
            "FROM",
            "state",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "highest_elevation",
            "from",
            "highlow",
            "as",
            "t2",
            "join",
            "state",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "state_name",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t1",
            ".",
            "area",
            "=",
            "(",
            "select",
            "max",
            "(",
            "area",
            ")",
            "from",
            "state",
            ")"
        ],
        "question": "how high is the highest point in the largest state",
        "question_toks": [
            "how",
            "high",
            "is",
            "the",
            "highest",
            "point",
            "in",
            "the",
            "largest",
            "state"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            3,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "geo",
        "query": "SELECT t1.river_name FROM highlow AS t2 JOIN river AS t1 ON t1.traverse  =  t2.state_name WHERE t2.highest_elevation  =  ( SELECT MAX ( highest_elevation ) FROM highlow ) ORDER BY t1.length DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.river_name",
            "FROM",
            "highlow",
            "AS",
            "t2",
            "JOIN",
            "river",
            "AS",
            "t1",
            "ON",
            "t1.traverse",
            "=",
            "t2.state_name",
            "WHERE",
            "t2.highest_elevation",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "highest_elevation",
            ")",
            "FROM",
            "highlow",
            ")",
            "ORDER",
            "BY",
            "t1.length",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "river_name",
            "from",
            "highlow",
            "as",
            "t2",
            "join",
            "river",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "traverse",
            "=",
            "t2",
            ".",
            "state_name",
            "where",
            "t2",
            ".",
            "highest_elevation",
            "=",
            "(",
            "select",
            "max",
            "(",
            "highest_elevation",
            ")",
            "from",
            "highlow",
            ")",
            "order",
            "by",
            "t1",
            ".",
            "length",
            "desc",
            "limit",
            "value"
        ],
        "question": "what is the longest river in the state with the highest point",
        "question_toks": [
            "what",
            "is",
            "the",
            "longest",
            "river",
            "in",
            "the",
            "state",
            "with",
            "the",
            "highest",
            "point"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    3
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers that are coauthored by Peter Mertens and Dina Barbian",
        "question_toks": [
            "papers",
            "that",
            "are",
            "coauthored",
            "by",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers written by Peter Mertens and Dina Barbian",
        "question_toks": [
            "papers",
            "written",
            "by",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what are the papers that have Peter Mertens and Dina Barbian as co-authors",
        "question_toks": [
            "what",
            "are",
            "the",
            "papers",
            "that",
            "have",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "as",
            "co-authors"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers have Peter Mertens and Dina Barbian written ?",
        "question_toks": [
            "What",
            "papers",
            "have",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what paper did Peter Mertens and Dina Barbian write together ?",
        "question_toks": [
            "what",
            "paper",
            "did",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "write",
            "together",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Has Peter Mertens and Dina Barbian written a paper together ?",
        "question_toks": [
            "Has",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "written",
            "a",
            "paper",
            "together",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Papers by Peter Mertens and Dina Barbian",
        "question_toks": [
            "Papers",
            "by",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers by authors Peter Mertens and Dina Barbian",
        "question_toks": [
            "papers",
            "by",
            "authors",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers were written by authors Peter Mertens and Dina Barbian",
        "question_toks": [
            "What",
            "papers",
            "were",
            "written",
            "by",
            "authors",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers by Peter Mertens and Dina Barbian",
        "question_toks": [
            "papers",
            "by",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers written by authors Peter Mertens and Dina Barbian",
        "question_toks": [
            "papers",
            "written",
            "by",
            "authors",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "When did Peter Mertens and Dina Barbian collaborate ?",
        "question_toks": [
            "When",
            "did",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "collaborate",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what are the collaborations of Peter Mertens and Dina Barbian ?",
        "question_toks": [
            "what",
            "are",
            "the",
            "collaborations",
            "of",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Have Peter Mertens and Dina Barbian written a paper together ?",
        "question_toks": [
            "Have",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "written",
            "a",
            "paper",
            "together",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Peter Mertens and Dina Barbian as co-authors",
        "question_toks": [
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "as",
            "co-authors"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Does Peter Mertens ever collaborated with Dina Barbian ?",
        "question_toks": [
            "Does",
            "Peter",
            "Mertens",
            "ever",
            "collaborated",
            "with",
            "Dina",
            "Barbian",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Which papers have Peter Mertens and Dina Barbian as co-authors ?",
        "question_toks": [
            "Which",
            "papers",
            "have",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "as",
            "co-authors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers coauthored by Peter Mertens and Dina Barbian",
        "question_toks": [
            "papers",
            "coauthored",
            "by",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers have been written by Peter Mertens and Dina Barbian ?",
        "question_toks": [
            "What",
            "papers",
            "have",
            "been",
            "written",
            "by",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers have been written by both Peter Mertens and Dina Barbian ?",
        "question_toks": [
            "What",
            "papers",
            "have",
            "been",
            "written",
            "by",
            "both",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Peter Mertens\" AND t1.authorname  =  \"Dina Barbian\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Dina",
            "Barbian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers have been written by Peter Mertens and Dina Barbian .",
        "question_toks": [
            "What",
            "papers",
            "have",
            "been",
            "written",
            "by",
            "Peter",
            "Mertens",
            "and",
            "Dina",
            "Barbian",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dina Barbian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who has written the most syntactic parsing papers ?",
        "question_toks": [
            "who",
            "has",
            "written",
            "the",
            "most",
            "syntactic",
            "parsing",
            "papers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who is the most published author in syntactic parsing ?",
        "question_toks": [
            "who",
            "is",
            "the",
            "most",
            "published",
            "author",
            "in",
            "syntactic",
            "parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who has the most publications in syntactic parsing ?",
        "question_toks": [
            "who",
            "has",
            "the",
            "most",
            "publications",
            "in",
            "syntactic",
            "parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who has written the most papers on syntactic parsing ?",
        "question_toks": [
            "who",
            "has",
            "written",
            "the",
            "most",
            "papers",
            "on",
            "syntactic",
            "parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "List prominent scholars in syntactic parsing ?",
        "question_toks": [
            "List",
            "prominent",
            "scholars",
            "in",
            "syntactic",
            "parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who wrote the most papers on syntactic parsing ?",
        "question_toks": [
            "who",
            "wrote",
            "the",
            "most",
            "papers",
            "on",
            "syntactic",
            "parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "Who are the authors with the most published papers in syntactic parsing ?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "authors",
            "with",
            "the",
            "most",
            "published",
            "papers",
            "in",
            "syntactic",
            "parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "top syntactic parsing author",
        "question_toks": [
            "top",
            "syntactic",
            "parsing",
            "author"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "top author in syntactic parsing",
        "question_toks": [
            "top",
            "author",
            "in",
            "syntactic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who published the most in syntactic parsing ?",
        "question_toks": [
            "who",
            "published",
            "the",
            "most",
            "in",
            "syntactic",
            "parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"syntactic parsing\" GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who published the most papers in syntactic parsing ?",
        "question_toks": [
            "who",
            "published",
            "the",
            "most",
            "papers",
            "in",
            "syntactic",
            "parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"noah a smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "noah",
            "a",
            "smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many citation noah a smith has ?",
        "question_toks": [
            "How",
            "many",
            "citation",
            "noah",
            "a",
            "smith",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"noah a smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"noah a smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "noah",
            "a",
            "smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "noah a smith citation count",
        "question_toks": [
            "noah",
            "a",
            "smith",
            "citation",
            "count"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"noah a smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"noah a smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "noah",
            "a",
            "smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "how many citations does noah a smith have ?",
        "question_toks": [
            "how",
            "many",
            "citations",
            "does",
            "noah",
            "a",
            "smith",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"noah a smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"noah a smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "noah",
            "a",
            "smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many citations does noah a smith have ?",
        "question_toks": [
            "How",
            "many",
            "citations",
            "does",
            "noah",
            "a",
            "smith",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"noah a smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"noah a smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "noah",
            "a",
            "smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "number of citations of noah a smith",
        "question_toks": [
            "number",
            "of",
            "citations",
            "of",
            "noah",
            "a",
            "smith"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"noah a smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"noah a smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "noah",
            "a",
            "smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many citations does noah a smith have",
        "question_toks": [
            "How",
            "many",
            "citations",
            "does",
            "noah",
            "a",
            "smith",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"noah a smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"noah a smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "noah",
            "a",
            "smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many times was noah a smith cited ?",
        "question_toks": [
            "How",
            "many",
            "times",
            "was",
            "noah",
            "a",
            "smith",
            "cited",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"noah a smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"noah a smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "noah",
            "a",
            "smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many citations does noah a smith has ?",
        "question_toks": [
            "How",
            "many",
            "citations",
            "does",
            "noah",
            "a",
            "smith",
            "has",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"noah a smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "chi papers",
        "question_toks": [
            "chi",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers at chi",
        "question_toks": [
            "papers",
            "at",
            "chi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers in chi",
        "question_toks": [
            "papers",
            "in",
            "chi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "chi",
        "question_toks": [
            "chi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Papers about chi",
        "question_toks": [
            "Papers",
            "about",
            "chi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Show me chi papers .",
        "question_toks": [
            "Show",
            "me",
            "chi",
            "papers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "what papers did chi publish ?",
        "question_toks": [
            "what",
            "papers",
            "did",
            "chi",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "list papers published in chi",
        "question_toks": [
            "list",
            "papers",
            "published",
            "in",
            "chi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Papers on chi",
        "question_toks": [
            "Papers",
            "on",
            "chi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t2.authorid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"mirella lapata\" AND t3.year  =  2016 GROUP BY t2.authorid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t2.authorid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "mirella",
            "lapata",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            "GROUP",
            "BY",
            "t2.authorid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t2",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "authorid"
        ],
        "question": "Has mirella lapata written any papers in 2016 ?",
        "question_toks": [
            "Has",
            "mirella",
            "lapata",
            "written",
            "any",
            "papers",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"mirella lapata\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers has sharon goldwater written ?",
        "question_toks": [
            "What",
            "papers",
            "has",
            "sharon",
            "goldwater",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers has written by sharon goldwater ?",
        "question_toks": [
            "What",
            "papers",
            "has",
            "written",
            "by",
            "sharon",
            "goldwater",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers by sharon goldwater",
        "question_toks": [
            "papers",
            "by",
            "sharon",
            "goldwater"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what did sharon goldwater write ?",
        "question_toks": [
            "what",
            "did",
            "sharon",
            "goldwater",
            "write",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers where sharon goldwater is an author",
        "question_toks": [
            "papers",
            "where",
            "sharon",
            "goldwater",
            "is",
            "an",
            "author"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Papers authored by sharon goldwater",
        "question_toks": [
            "Papers",
            "authored",
            "by",
            "sharon",
            "goldwater"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "sharon goldwater papers",
        "question_toks": [
            "sharon",
            "goldwater",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Papers by sharon goldwater",
        "question_toks": [
            "Papers",
            "by",
            "sharon",
            "goldwater"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Papers written by sharon goldwater",
        "question_toks": [
            "Papers",
            "written",
            "by",
            "sharon",
            "goldwater"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "which papers has sharon goldwater written ?",
        "question_toks": [
            "which",
            "papers",
            "has",
            "sharon",
            "goldwater",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers written by sharon goldwater",
        "question_toks": [
            "papers",
            "written",
            "by",
            "sharon",
            "goldwater"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What has sharon goldwater published ?",
        "question_toks": [
            "What",
            "has",
            "sharon",
            "goldwater",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Does sharon goldwater have any papers published ?",
        "question_toks": [
            "Does",
            "sharon",
            "goldwater",
            "have",
            "any",
            "papers",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "sharon goldwater 's papers",
        "question_toks": [
            "sharon",
            "goldwater",
            "'s",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "show me papers by sharon goldwater .",
        "question_toks": [
            "show",
            "me",
            "papers",
            "by",
            "sharon",
            "goldwater",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers are authored by sharon goldwater ?",
        "question_toks": [
            "What",
            "papers",
            "are",
            "authored",
            "by",
            "sharon",
            "goldwater",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"sharon goldwater\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sharon",
            "goldwater",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers by sharon goldwater ?",
        "question_toks": [
            "papers",
            "by",
            "sharon",
            "goldwater",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sharon goldwater\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"oren etzioni\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "What was oren etzioni 's latest paper ?",
        "question_toks": [
            "What",
            "was",
            "oren",
            "etzioni",
            "'s",
            "latest",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"oren etzioni\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "Latest paper by oren etzioni",
        "question_toks": [
            "Latest",
            "paper",
            "by",
            "oren",
            "etzioni"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"oren etzioni\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "What is the latest paper by oren etzioni ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "latest",
            "paper",
            "by",
            "oren",
            "etzioni",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"oren etzioni\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "What is oren etzioni 's latest paper ?",
        "question_toks": [
            "What",
            "is",
            "oren",
            "etzioni",
            "'s",
            "latest",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"oren etzioni\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "What are the latest papers by oren etzioni ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "latest",
            "papers",
            "by",
            "oren",
            "etzioni",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"oren etzioni\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "most recent papers by oren etzioni",
        "question_toks": [
            "most",
            "recent",
            "papers",
            "by",
            "oren",
            "etzioni"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"monte carlo simulation\" AND t3.year  >  2011;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "monte",
            "carlo",
            "simulation",
            "''",
            "AND",
            "t3.year",
            ">",
            "2011",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "are there any monte carlo simulation papers since 2011 ?",
        "question_toks": [
            "are",
            "there",
            "any",
            "monte",
            "carlo",
            "simulation",
            "papers",
            "since",
            "2011",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"monte carlo simulation\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"monte carlo simulation\" AND t3.year  >  2011;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "monte",
            "carlo",
            "simulation",
            "''",
            "AND",
            "t3.year",
            ">",
            "2011",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "monte carlo simulation papers later than 2011",
        "question_toks": [
            "monte",
            "carlo",
            "simulation",
            "papers",
            "later",
            "than",
            "2011"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"monte carlo simulation\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"monte carlo simulation\" AND t3.year  >  2011;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "monte",
            "carlo",
            "simulation",
            "''",
            "AND",
            "t3.year",
            ">",
            "2011",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "monte carlo simulation later than 2011",
        "question_toks": [
            "monte",
            "carlo",
            "simulation",
            "later",
            "than",
            "2011"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"monte carlo simulation\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"monte carlo simulation\" AND t3.year  >  2011;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "monte",
            "carlo",
            "simulation",
            "''",
            "AND",
            "t3.year",
            ">",
            "2011",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "monte carlo simulation papers published after 2011",
        "question_toks": [
            "monte",
            "carlo",
            "simulation",
            "papers",
            "published",
            "after",
            "2011"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"monte carlo simulation\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"monte carlo simulation\" AND t3.year  >  2011;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "monte",
            "carlo",
            "simulation",
            "''",
            "AND",
            "t3.year",
            ">",
            "2011",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "monte carlo simulation papers since 2011",
        "question_toks": [
            "monte",
            "carlo",
            "simulation",
            "papers",
            "since",
            "2011"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"monte carlo simulation\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT COUNT ( t3.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"ras bodik\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ras",
            "bodik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "does ras bodik publish a lot ?",
        "question_toks": [
            "does",
            "ras",
            "bodik",
            "publish",
            "a",
            "lot",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ras bodik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"David M. Blei\" AND t4.venuename  =  \"AISTATS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "David",
            "M.",
            "Blei",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "AISTATS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers did David M. Blei publish at AISTATS ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "did",
            "David",
            "M.",
            "Blei",
            "publish",
            "at",
            "AISTATS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"David M. Blei\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AISTATS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"David M. Blei\" AND t4.venuename  =  \"AISTATS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "David",
            "M.",
            "Blei",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "AISTATS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers does David M. Blei have in AISTATS ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "does",
            "David",
            "M.",
            "Blei",
            "have",
            "in",
            "AISTATS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"David M. Blei\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AISTATS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"David M. Blei\" AND t4.venuename  =  \"AISTATS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "David",
            "M.",
            "Blei",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "AISTATS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers has David M. Blei published in AISTATS ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "has",
            "David",
            "M.",
            "Blei",
            "published",
            "in",
            "AISTATS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"David M. Blei\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AISTATS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"David M. Blei\" AND t4.venuename  =  \"AISTATS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "David",
            "M.",
            "Blei",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "AISTATS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers does David M. Blei have at AISTATS",
        "question_toks": [
            "how",
            "many",
            "papers",
            "does",
            "David",
            "M.",
            "Blei",
            "have",
            "at",
            "AISTATS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"David M. Blei\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AISTATS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"David M. Blei\" AND t4.venuename  =  \"AISTATS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "David",
            "M.",
            "Blei",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "AISTATS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers does David M. Blei have in AISTATS ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "does",
            "David",
            "M.",
            "Blei",
            "have",
            "in",
            "AISTATS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"David M. Blei\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AISTATS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"David M. Blei\" AND t4.venuename  =  \"AISTATS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "David",
            "M.",
            "Blei",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "AISTATS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many David M. Blei papers are in AISTATS ?",
        "question_toks": [
            "how",
            "many",
            "David",
            "M.",
            "Blei",
            "papers",
            "are",
            "in",
            "AISTATS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"David M. Blei\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AISTATS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"David M. Blei\" AND t4.venuename  =  \"AISTATS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "David",
            "M.",
            "Blei",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "AISTATS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers David M. Blei has in AISTATS ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "David",
            "M.",
            "Blei",
            "has",
            "in",
            "AISTATS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"David M. Blei\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AISTATS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"David M. Blei\" AND t4.venuename  =  \"AISTATS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "David",
            "M.",
            "Blei",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "AISTATS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers does David M. Blei have in AISTATS",
        "question_toks": [
            "How",
            "many",
            "papers",
            "does",
            "David",
            "M.",
            "Blei",
            "have",
            "in",
            "AISTATS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"David M. Blei\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"AISTATS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT paperid FROM paper WHERE title  =  \"machine networks for one shot learning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "paperid",
            "FROM",
            "paper",
            "WHERE",
            "title",
            "=",
            "``",
            "machine",
            "networks",
            "for",
            "one",
            "shot",
            "learning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "paperid",
            "from",
            "paper",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "List all academic papers on machine networks for one shot learning",
        "question_toks": [
            "List",
            "all",
            "academic",
            "papers",
            "on",
            "machine",
            "networks",
            "for",
            "one",
            "shot",
            "learning"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"machine networks for one shot learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT paperid FROM paper WHERE title  =  \"machine networks for one shot learning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "paperid",
            "FROM",
            "paper",
            "WHERE",
            "title",
            "=",
            "``",
            "machine",
            "networks",
            "for",
            "one",
            "shot",
            "learning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "paperid",
            "from",
            "paper",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "machine networks for one shot learning",
        "question_toks": [
            "machine",
            "networks",
            "for",
            "one",
            "shot",
            "learning"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"machine networks for one shot learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citedpaperid  ,  COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2010 AND t2.venuename  =  \"EMNLP\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2010",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "EMNLP",
            "''",
            "GROUP",
            "BY",
            "t3.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "which EMNLP 2010 papers have the most citations ?",
        "question_toks": [
            "which",
            "EMNLP",
            "2010",
            "papers",
            "have",
            "the",
            "most",
            "citations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"EMNLP\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citedpaperid  ,  COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2010 AND t2.venuename  =  \"EMNLP\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2010",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "EMNLP",
            "''",
            "GROUP",
            "BY",
            "t3.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "Which paper from EMNLP 2010 was cited most ?",
        "question_toks": [
            "Which",
            "paper",
            "from",
            "EMNLP",
            "2010",
            "was",
            "cited",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"EMNLP\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citedpaperid  ,  COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2010 AND t2.venuename  =  \"EMNLP\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2010",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "EMNLP",
            "''",
            "GROUP",
            "BY",
            "t3.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "most cited EMNLP 2010 papers",
        "question_toks": [
            "most",
            "cited",
            "EMNLP",
            "2010",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"EMNLP\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citedpaperid  ,  COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2010 AND t2.venuename  =  \"EMNLP\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2010",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "EMNLP",
            "''",
            "GROUP",
            "BY",
            "t3.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "which EMNLP 2010 papers have been cited the most ?",
        "question_toks": [
            "which",
            "EMNLP",
            "2010",
            "papers",
            "have",
            "been",
            "cited",
            "the",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"EMNLP\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  \"RGB-D Object Dataset\" AND t3.title  =  \"Class consistent multi-modal fusion with binary features\" AND t3.year  =  2016 AND t4.venuename  =  \"CVPR\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "RGB-D",
            "Object",
            "Dataset",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "Class",
            "consistent",
            "multi-modal",
            "fusion",
            "with",
            "binary",
            "features",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What papers were published at CVPR in 2016 about Class consistent multi-modal fusion with binary features applied to RGB-D Object Dataset ?",
        "question_toks": [
            "What",
            "papers",
            "were",
            "published",
            "at",
            "CVPR",
            "in",
            "2016",
            "about",
            "Class",
            "consistent",
            "multi-modal",
            "fusion",
            "with",
            "binary",
            "features",
            "applied",
            "to",
            "RGB-D",
            "Object",
            "Dataset",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"RGB-D Object Dataset\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Class consistent multi-modal fusion with binary features\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  \"RGB-D Object Dataset\" AND t3.title  =  \"Class consistent multi-modal fusion with binary features\" AND t3.year  =  2016 AND t4.venuename  =  \"CVPR\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "RGB-D",
            "Object",
            "Dataset",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "Class",
            "consistent",
            "multi-modal",
            "fusion",
            "with",
            "binary",
            "features",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What papers were published at CVPR '16 about Class consistent multi-modal fusion with binary features applied to RGB-D Object Dataset ?",
        "question_toks": [
            "What",
            "papers",
            "were",
            "published",
            "at",
            "CVPR",
            "'16",
            "about",
            "Class",
            "consistent",
            "multi-modal",
            "fusion",
            "with",
            "binary",
            "features",
            "applied",
            "to",
            "RGB-D",
            "Object",
            "Dataset",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"RGB-D Object Dataset\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Class consistent multi-modal fusion with binary features\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many papers are in deep learning ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "in",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many papers are about deep learning ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "about",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "how many papers about deep learning ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "about",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many papers are related to deep learning ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "related",
            "to",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many papers has Christopher D. Manning written ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "has",
            "Christopher",
            "D.",
            "Manning",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many papers does Christopher D. Manning have ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "does",
            "Christopher",
            "D.",
            "Manning",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many papers has Christopher D. Manning ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "has",
            "Christopher",
            "D.",
            "Manning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many papers has Christopher D. Manning published ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "has",
            "Christopher",
            "D.",
            "Manning",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "how many papers has Christopher D. Manning written ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "has",
            "Christopher",
            "D.",
            "Manning",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Has Christopher D. Manning published any papers ?",
        "question_toks": [
            "Has",
            "Christopher",
            "D.",
            "Manning",
            "published",
            "any",
            "papers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "how many papers has Christopher D. Manning published ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "has",
            "Christopher",
            "D.",
            "Manning",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "how many papers does Christopher D. Manning have ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "does",
            "Christopher",
            "D.",
            "Manning",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many paper does Christopher D. Manning have ?",
        "question_toks": [
            "How",
            "many",
            "paper",
            "does",
            "Christopher",
            "D.",
            "Manning",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many publications does Christopher D. Manning have ?",
        "question_toks": [
            "How",
            "many",
            "publications",
            "does",
            "Christopher",
            "D.",
            "Manning",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many papers does Christopher D. Manning have",
        "question_toks": [
            "How",
            "many",
            "papers",
            "does",
            "Christopher",
            "D.",
            "Manning",
            "have"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christopher D. Manning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christopher",
            "D.",
            "Manning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "number of papers written by Christopher D. Manning",
        "question_toks": [
            "number",
            "of",
            "papers",
            "written",
            "by",
            "Christopher",
            "D.",
            "Manning"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christopher D. Manning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what kind of papers does Luke Zettlemoyer publish",
        "question_toks": [
            "what",
            "kind",
            "of",
            "papers",
            "does",
            "Luke",
            "Zettlemoyer",
            "publish"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Keyphrases used by Luke Zettlemoyer",
        "question_toks": [
            "Keyphrases",
            "used",
            "by",
            "Luke",
            "Zettlemoyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What keywords are in papers by Luke Zettlemoyer ?",
        "question_toks": [
            "What",
            "keywords",
            "are",
            "in",
            "papers",
            "by",
            "Luke",
            "Zettlemoyer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "keywords used by Luke Zettlemoyer",
        "question_toks": [
            "keywords",
            "used",
            "by",
            "Luke",
            "Zettlemoyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what keywords are used by Luke Zettlemoyer",
        "question_toks": [
            "what",
            "keywords",
            "are",
            "used",
            "by",
            "Luke",
            "Zettlemoyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "keyphrases used by Luke Zettlemoyer",
        "question_toks": [
            "keyphrases",
            "used",
            "by",
            "Luke",
            "Zettlemoyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "keyphrases by Luke Zettlemoyer",
        "question_toks": [
            "keyphrases",
            "by",
            "Luke",
            "Zettlemoyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "give me the keywords used by Luke Zettlemoyer",
        "question_toks": [
            "give",
            "me",
            "the",
            "keywords",
            "used",
            "by",
            "Luke",
            "Zettlemoyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What topic does Luke Zettlemoyer write about ?",
        "question_toks": [
            "What",
            "topic",
            "does",
            "Luke",
            "Zettlemoyer",
            "write",
            "about",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what topics does Luke Zettlemoyer publish in",
        "question_toks": [
            "what",
            "topics",
            "does",
            "Luke",
            "Zettlemoyer",
            "publish",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "keywords in the papers written by Luke Zettlemoyer",
        "question_toks": [
            "keywords",
            "in",
            "the",
            "papers",
            "written",
            "by",
            "Luke",
            "Zettlemoyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "keyphrases used by Luke Zettlemoyer .",
        "question_toks": [
            "keyphrases",
            "used",
            "by",
            "Luke",
            "Zettlemoyer",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Luke Zettlemoyer\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Luke",
            "Zettlemoyer",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "topics used by Luke Zettlemoyer",
        "question_toks": [
            "topics",
            "used",
            "by",
            "Luke",
            "Zettlemoyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Daniella Coelho\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniella",
            "Coelho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What conference does Daniella Coelho publish in ?",
        "question_toks": [
            "What",
            "conference",
            "does",
            "Daniella",
            "Coelho",
            "publish",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniella Coelho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Daniella Coelho\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniella",
            "Coelho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "conferences that Daniella Coelho has published in",
        "question_toks": [
            "conferences",
            "that",
            "Daniella",
            "Coelho",
            "has",
            "published",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniella Coelho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Daniella Coelho\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniella",
            "Coelho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "In which conferences does Daniella Coelho typically publish ?",
        "question_toks": [
            "In",
            "which",
            "conferences",
            "does",
            "Daniella",
            "Coelho",
            "typically",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniella Coelho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Daniella Coelho\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniella",
            "Coelho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "in what conferences does Daniella Coelho publish ?",
        "question_toks": [
            "in",
            "what",
            "conferences",
            "does",
            "Daniella",
            "Coelho",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniella Coelho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Daniella Coelho\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniella",
            "Coelho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What conferences does Daniella Coelho publish in ?",
        "question_toks": [
            "What",
            "conferences",
            "does",
            "Daniella",
            "Coelho",
            "publish",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniella Coelho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Daniella Coelho\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniella",
            "Coelho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "At which conferences does Daniella Coelho publish ?",
        "question_toks": [
            "At",
            "which",
            "conferences",
            "does",
            "Daniella",
            "Coelho",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniella Coelho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Daniella Coelho\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniella",
            "Coelho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What conferences does Daniella Coelho submit to ?",
        "question_toks": [
            "What",
            "conferences",
            "does",
            "Daniella",
            "Coelho",
            "submit",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniella Coelho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT paperid ) FROM paper;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "paperid",
            ")",
            "FROM",
            "paper",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "paperid",
            ")",
            "from",
            "paper"
        ],
        "question": "How many papers are there ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "there",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t1 JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t1.paperid JOIN author AS t2 ON t3.authorid  =  t2.authorid WHERE t2.authorname  =  \"Ed Desmond\" AND t4.keyphrasename  =  \"Semantic Parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Ed",
            "Desmond",
            "''",
            "AND",
            "t4.keyphrasename",
            "=",
            "``",
            "Semantic",
            "Parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many papers by Ed Desmond contain the keyphrases Semantic Parsing ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "by",
            "Ed",
            "Desmond",
            "contain",
            "the",
            "keyphrases",
            "Semantic",
            "Parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ed Desmond\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Semantic Parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t1 JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t1.paperid JOIN author AS t2 ON t3.authorid  =  t2.authorid WHERE t2.authorname  =  \"Ed Desmond\" AND t4.keyphrasename  =  \"Semantic Parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Ed",
            "Desmond",
            "''",
            "AND",
            "t4.keyphrasename",
            "=",
            "``",
            "Semantic",
            "Parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many papers does Ed Desmond have in Semantic Parsing area ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "does",
            "Ed",
            "Desmond",
            "have",
            "in",
            "Semantic",
            "Parsing",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ed Desmond\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Semantic Parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t1 JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t1.paperid JOIN author AS t2 ON t3.authorid  =  t2.authorid WHERE t2.authorname  =  \"Ed Desmond\" AND t4.keyphrasename  =  \"Semantic Parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Ed",
            "Desmond",
            "''",
            "AND",
            "t4.keyphrasename",
            "=",
            "``",
            "Semantic",
            "Parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many Semantic Parsing papers has Ed Desmond written ?",
        "question_toks": [
            "How",
            "many",
            "Semantic",
            "Parsing",
            "papers",
            "has",
            "Ed",
            "Desmond",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ed Desmond\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Semantic Parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperkeyphrase AS t1 JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t1.paperid JOIN author AS t2 ON t3.authorid  =  t2.authorid WHERE t2.authorname  =  \"Ed Desmond\" AND t4.keyphrasename  =  \"Semantic Parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Ed",
            "Desmond",
            "''",
            "AND",
            "t4.keyphrasename",
            "=",
            "``",
            "Semantic",
            "Parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many paper has Ed Desmond written about Semantic Parsing ?",
        "question_toks": [
            "How",
            "many",
            "paper",
            "has",
            "Ed",
            "Desmond",
            "written",
            "about",
            "Semantic",
            "Parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ed Desmond\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Semantic Parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"li dong\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "li",
            "dong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What conferences did li dong submit to in 2016 ?",
        "question_toks": [
            "What",
            "conferences",
            "did",
            "li",
            "dong",
            "submit",
            "to",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"li dong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"li dong\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "li",
            "dong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Where did li dong publish in 2016",
        "question_toks": [
            "Where",
            "did",
            "li",
            "dong",
            "publish",
            "in",
            "2016"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"li dong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"li dong\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "li",
            "dong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What conferences did li dong publish in in 2016 ?",
        "question_toks": [
            "What",
            "conferences",
            "did",
            "li",
            "dong",
            "publish",
            "in",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"li dong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"li dong\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "li",
            "dong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Where did li dong publish in 2016 ?",
        "question_toks": [
            "Where",
            "did",
            "li",
            "dong",
            "publish",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"li dong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "acl papers in 2012 on Parsing",
        "question_toks": [
            "acl",
            "papers",
            "in",
            "2012",
            "on",
            "Parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What papers were published in acl in 2012 about Parsing ?",
        "question_toks": [
            "What",
            "papers",
            "were",
            "published",
            "in",
            "acl",
            "in",
            "2012",
            "about",
            "Parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers on Parsing appeared at acl last year",
        "question_toks": [
            "papers",
            "on",
            "Parsing",
            "appeared",
            "at",
            "acl",
            "last",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Parsing papers from acl 2012",
        "question_toks": [
            "Parsing",
            "papers",
            "from",
            "acl",
            "2012"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers about Parsing in acl 2012",
        "question_toks": [
            "papers",
            "about",
            "Parsing",
            "in",
            "acl",
            "2012"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "acl papers in 2012 in Parsing",
        "question_toks": [
            "acl",
            "papers",
            "in",
            "2012",
            "in",
            "Parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "acl papers in 2012 about Parsing",
        "question_toks": [
            "acl",
            "papers",
            "in",
            "2012",
            "about",
            "Parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What papers were published at acl in 2012 were about Parsing ?",
        "question_toks": [
            "What",
            "papers",
            "were",
            "published",
            "at",
            "acl",
            "in",
            "2012",
            "were",
            "about",
            "Parsing",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers on Parsing appeared at acl in 2012",
        "question_toks": [
            "papers",
            "on",
            "Parsing",
            "appeared",
            "at",
            "acl",
            "in",
            "2012"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many Parsing papers did acl 2012 have ?",
        "question_toks": [
            "how",
            "many",
            "Parsing",
            "papers",
            "did",
            "acl",
            "2012",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "who published Parsing papers at acl 2012",
        "question_toks": [
            "who",
            "published",
            "Parsing",
            "papers",
            "at",
            "acl",
            "2012"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "which papers in acl 2012 had Parsing in them ?",
        "question_toks": [
            "which",
            "papers",
            "in",
            "acl",
            "2012",
            "had",
            "Parsing",
            "in",
            "them",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Parsing\" AND t3.year  =  2012 AND t4.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2012",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "what were some Parsing based papers in acl 2012 ?",
        "question_toks": [
            "what",
            "were",
            "some",
            "Parsing",
            "based",
            "papers",
            "in",
            "acl",
            "2012",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"dependent types\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "dependent",
            "types",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "List the popular publications on dependent types",
        "question_toks": [
            "List",
            "the",
            "popular",
            "publications",
            "on",
            "dependent",
            "types"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"dependent types\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"dependent types\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "dependent",
            "types",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Which paper should I read about dependent types ?",
        "question_toks": [
            "Which",
            "paper",
            "should",
            "I",
            "read",
            "about",
            "dependent",
            "types",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"dependent types\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"dependent types\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "dependent",
            "types",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "top dependent types papers",
        "question_toks": [
            "top",
            "dependent",
            "types",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"dependent types\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "List papers that has a keyword Question Answering",
        "question_toks": [
            "List",
            "papers",
            "that",
            "has",
            "a",
            "keyword",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Question Answering research papers",
        "question_toks": [
            "Question",
            "Answering",
            "research",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers on Question Answering",
        "question_toks": [
            "papers",
            "on",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers related to Question Answering",
        "question_toks": [
            "papers",
            "related",
            "to",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers about Question Answering",
        "question_toks": [
            "papers",
            "about",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Papers about Question Answering",
        "question_toks": [
            "Papers",
            "about",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers published in the area of Question Answering",
        "question_toks": [
            "papers",
            "published",
            "in",
            "the",
            "area",
            "of",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Question Answering experiments",
        "question_toks": [
            "Question",
            "Answering",
            "experiments"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Show me the papers on Question Answering",
        "question_toks": [
            "Show",
            "me",
            "the",
            "papers",
            "on",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers that used Question Answering",
        "question_toks": [
            "papers",
            "that",
            "used",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers that mention Question Answering",
        "question_toks": [
            "papers",
            "that",
            "mention",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Question Answering papers",
        "question_toks": [
            "Question",
            "Answering",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Show me Question Answering papers .",
        "question_toks": [
            "Show",
            "me",
            "Question",
            "Answering",
            "papers",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Question Answering publications",
        "question_toks": [
            "Question",
            "Answering",
            "publications"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Fetch me some papers on Question Answering",
        "question_toks": [
            "Fetch",
            "me",
            "some",
            "papers",
            "on",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers on Question Answering experiments",
        "question_toks": [
            "papers",
            "on",
            "Question",
            "Answering",
            "experiments"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What papers talk about Question Answering ?",
        "question_toks": [
            "What",
            "papers",
            "talk",
            "about",
            "Question",
            "Answering",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What is the paper about Question Answering ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "paper",
            "about",
            "Question",
            "Answering",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Which papers are about about Question Answering ?",
        "question_toks": [
            "Which",
            "papers",
            "are",
            "about",
            "about",
            "Question",
            "Answering",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "list papers that used Question Answering",
        "question_toks": [
            "list",
            "papers",
            "that",
            "used",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers for Question Answering",
        "question_toks": [
            "papers",
            "for",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "List papers that has keyword Question Answering",
        "question_toks": [
            "List",
            "papers",
            "that",
            "has",
            "keyword",
            "Question",
            "Answering"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Question Answering\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Question",
            "Answering",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers with Question Answering in keyphrases",
        "question_toks": [
            "papers",
            "with",
            "Question",
            "Answering",
            "in",
            "keyphrases"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Question Answering\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.keyphraseid  ,  t3.year FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Luke S Zettlemoyer\" ORDER BY t3.year  ,  t2.keyphraseid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.keyphraseid",
            ",",
            "t3.year",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Luke",
            "S",
            "Zettlemoyer",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            ",",
            "t2.keyphraseid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "keyphraseid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperkeyphrase",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            ",",
            "t2",
            ".",
            "keyphraseid"
        ],
        "question": "keyphrases used by Luke S Zettlemoyer for each year",
        "question_toks": [
            "keyphrases",
            "used",
            "by",
            "Luke",
            "S",
            "Zettlemoyer",
            "for",
            "each",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke S Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    [
                        0,
                        [
                            0,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphrasename  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"sanjeev arora\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphrasename",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "sanjeev",
            "arora",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphrasename",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "recent research interests of sanjeev arora",
        "question_toks": [
            "recent",
            "research",
            "interests",
            "of",
            "sanjeev",
            "arora"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sanjeev arora\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphrasename  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"sanjeev arora\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphrasename",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "sanjeev",
            "arora",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphrasename",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "recent papers by sanjeev arora",
        "question_toks": [
            "recent",
            "papers",
            "by",
            "sanjeev",
            "arora"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sanjeev arora\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphrasename  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"sanjeev arora\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphrasename",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "sanjeev",
            "arora",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphrasename",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "recent papers written by sanjeev arora",
        "question_toks": [
            "recent",
            "papers",
            "written",
            "by",
            "sanjeev",
            "arora"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sanjeev arora\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"balakrishnan prabhakaran\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "balakrishnan",
            "prabhakaran",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "list papers published by balakrishnan prabhakaran",
        "question_toks": [
            "list",
            "papers",
            "published",
            "by",
            "balakrishnan",
            "prabhakaran"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"balakrishnan prabhakaran\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"zachary tatlock\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "zachary",
            "tatlock",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "citation count of zachary tatlock 's papers",
        "question_toks": [
            "citation",
            "count",
            "of",
            "zachary",
            "tatlock",
            "'s",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"zachary tatlock\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"subhasis chaudhuri\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "subhasis",
            "chaudhuri",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "subhasis chaudhuri",
        "question_toks": [
            "subhasis",
            "chaudhuri"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"subhasis chaudhuri\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"subhasis chaudhuri\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "subhasis",
            "chaudhuri",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "list papers by subhasis chaudhuri",
        "question_toks": [
            "list",
            "papers",
            "by",
            "subhasis",
            "chaudhuri"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"subhasis chaudhuri\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"subhasis chaudhuri\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "subhasis",
            "chaudhuri",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "List of papers by subhasis chaudhuri",
        "question_toks": [
            "List",
            "of",
            "papers",
            "by",
            "subhasis",
            "chaudhuri"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"subhasis chaudhuri\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"subhasis chaudhuri\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "subhasis",
            "chaudhuri",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "conference papers of subhasis chaudhuri",
        "question_toks": [
            "conference",
            "papers",
            "of",
            "subhasis",
            "chaudhuri"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"subhasis chaudhuri\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"parsing\" AND t3.year  =  2014 AND t4.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2014",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many parsing papers in ACL 2014",
        "question_toks": [
            "how",
            "many",
            "parsing",
            "papers",
            "in",
            "ACL",
            "2014"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"parsing\" AND t3.year  =  2014 AND t4.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2014",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many parsing papers appeared in the proceeeding of ACL 2014 ?",
        "question_toks": [
            "how",
            "many",
            "parsing",
            "papers",
            "appeared",
            "in",
            "the",
            "proceeeding",
            "of",
            "ACL",
            "2014",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"parsing\" AND t3.year  =  2014 AND t4.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "AND",
            "t3.year",
            "=",
            "2014",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many parsing papers were published at ACL 2014 ?",
        "question_toks": [
            "how",
            "many",
            "parsing",
            "papers",
            "were",
            "published",
            "at",
            "ACL",
            "2014",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "brian curless convolution paper",
        "question_toks": [
            "brian",
            "curless",
            "convolution",
            "paper"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "convolution by brian curless",
        "question_toks": [
            "convolution",
            "by",
            "brian",
            "curless"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers by brian curless about convolution",
        "question_toks": [
            "papers",
            "by",
            "brian",
            "curless",
            "about",
            "convolution"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "brian curless 's paper about convolution",
        "question_toks": [
            "brian",
            "curless",
            "'s",
            "paper",
            "about",
            "convolution"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What are the papers of brian curless in convolution ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "papers",
            "of",
            "brian",
            "curless",
            "in",
            "convolution",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers brian curless wrote about convolution",
        "question_toks": [
            "papers",
            "brian",
            "curless",
            "wrote",
            "about",
            "convolution"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "brian curless 's papers on convolution",
        "question_toks": [
            "brian",
            "curless",
            "'s",
            "papers",
            "on",
            "convolution"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What is the paper about convolution from brian curless ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "paper",
            "about",
            "convolution",
            "from",
            "brian",
            "curless",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers by brian curless in convolution topic",
        "question_toks": [
            "papers",
            "by",
            "brian",
            "curless",
            "in",
            "convolution",
            "topic"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "I want the papers on keyphrase0 by brian curless",
        "question_toks": [
            "I",
            "want",
            "the",
            "papers",
            "on",
            "keyphrase0",
            "by",
            "brian",
            "curless"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "convolution papers by brian curless",
        "question_toks": [
            "convolution",
            "papers",
            "by",
            "brian",
            "curless"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What papers has brian curless written on convolution ?",
        "question_toks": [
            "What",
            "papers",
            "has",
            "brian",
            "curless",
            "written",
            "on",
            "convolution",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What papers has brian curless written about convolution ?",
        "question_toks": [
            "What",
            "papers",
            "has",
            "brian",
            "curless",
            "written",
            "about",
            "convolution",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "convolution paper by brian curless",
        "question_toks": [
            "convolution",
            "paper",
            "by",
            "brian",
            "curless"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"brian curless\" AND t5.keyphrasename  =  \"convolution\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "brian",
            "curless",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "convolution",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Does brian curless do convolution ?",
        "question_toks": [
            "Does",
            "brian",
            "curless",
            "do",
            "convolution",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"brian curless\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolution\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What papers has Liwen Xiong written in 2015",
        "question_toks": [
            "What",
            "papers",
            "has",
            "Liwen",
            "Xiong",
            "written",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "papers by Liwen Xiong in 2015",
        "question_toks": [
            "papers",
            "by",
            "Liwen",
            "Xiong",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What did Liwen Xiong published in 2015 ?",
        "question_toks": [
            "What",
            "did",
            "Liwen",
            "Xiong",
            "published",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Papers written by Liwen Xiong in 2015",
        "question_toks": [
            "Papers",
            "written",
            "by",
            "Liwen",
            "Xiong",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What are the papers of Liwen Xiong in 2015",
        "question_toks": [
            "What",
            "are",
            "the",
            "papers",
            "of",
            "Liwen",
            "Xiong",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "papers by Liwen Xiong from 2015",
        "question_toks": [
            "papers",
            "by",
            "Liwen",
            "Xiong",
            "from",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Papers published in 2015 by Liwen Xiong",
        "question_toks": [
            "Papers",
            "published",
            "in",
            "2015",
            "by",
            "Liwen",
            "Xiong"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "what has Liwen Xiong done in the past year",
        "question_toks": [
            "what",
            "has",
            "Liwen",
            "Xiong",
            "done",
            "in",
            "the",
            "past",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What papers did Liwen Xiong publish last year ?",
        "question_toks": [
            "What",
            "papers",
            "did",
            "Liwen",
            "Xiong",
            "publish",
            "last",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "papers published in 2015 by Liwen Xiong",
        "question_toks": [
            "papers",
            "published",
            "in",
            "2015",
            "by",
            "Liwen",
            "Xiong"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Liwen Xiong 's papers in 2015 ?",
        "question_toks": [
            "Liwen",
            "Xiong",
            "'s",
            "papers",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Liwen Xiong 's papers in 2015",
        "question_toks": [
            "Liwen",
            "Xiong",
            "'s",
            "papers",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Liwen Xiong publication 2015",
        "question_toks": [
            "Liwen",
            "Xiong",
            "publication",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Papers authored by Liwen Xiong in 2015",
        "question_toks": [
            "Papers",
            "authored",
            "by",
            "Liwen",
            "Xiong",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Papers from Liwen Xiong in 2015",
        "question_toks": [
            "Papers",
            "from",
            "Liwen",
            "Xiong",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Liwen Xiong\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Liwen",
            "Xiong",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "what papers are published by Liwen Xiong in 2015",
        "question_toks": [
            "what",
            "papers",
            "are",
            "published",
            "by",
            "Liwen",
            "Xiong",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Liwen Xiong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What TAIL paper published in NIPS ?",
        "question_toks": [
            "What",
            "TAIL",
            "paper",
            "published",
            "in",
            "NIPS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "List the papers on TAIL that were published in NIPS",
        "question_toks": [
            "List",
            "the",
            "papers",
            "on",
            "TAIL",
            "that",
            "were",
            "published",
            "in",
            "NIPS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "what are the papers in NIPS about TAIL ?",
        "question_toks": [
            "what",
            "are",
            "the",
            "papers",
            "in",
            "NIPS",
            "about",
            "TAIL",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Papers about TAIL in NIPS",
        "question_toks": [
            "Papers",
            "about",
            "TAIL",
            "in",
            "NIPS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers at NIPS related to TAIL",
        "question_toks": [
            "papers",
            "at",
            "NIPS",
            "related",
            "to",
            "TAIL"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers about TAIL published at NIPS",
        "question_toks": [
            "papers",
            "about",
            "TAIL",
            "published",
            "at",
            "NIPS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "TAIL papers in NIPS",
        "question_toks": [
            "TAIL",
            "papers",
            "in",
            "NIPS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers on TAIL NIPS",
        "question_toks": [
            "papers",
            "on",
            "TAIL",
            "NIPS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"TAIL\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "TAIL",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "TAIL papers used in NIPS",
        "question_toks": [
            "TAIL",
            "papers",
            "used",
            "in",
            "NIPS"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"TAIL\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t1.authorid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname != \"Mark Steedman\" AND t2.paperid IN ( SELECT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Mark Steedman\" );",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.authorid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "!",
            "=",
            "``",
            "Mark",
            "Steedman",
            "''",
            "AND",
            "t2.paperid",
            "IN",
            "(",
            "SELECT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Mark",
            "Steedman",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "authorid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "!",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "paperid",
            "in",
            "(",
            "select",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            ")"
        ],
        "question": "How many co-authors has Mark Steedman had ?",
        "question_toks": [
            "How",
            "many",
            "co-authors",
            "has",
            "Mark",
            "Steedman",
            "had",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Mark Steedman\"",
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    9
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Mark Steedman\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christof Dallermassl\" AND t3.year  =  2000;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.keyphraseid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christof",
            "Dallermassl",
            "''",
            "AND",
            "t3.year",
            "=",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "keyphraseid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperkeyphrase",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "keyphrases used by Christof Dallermassl in 2000",
        "question_toks": [
            "keyphrases",
            "used",
            "by",
            "Christof",
            "Dallermassl",
            "in",
            "2000"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christof Dallermassl\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christof Dallermassl\" AND t3.year  =  2000;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.keyphraseid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christof",
            "Dallermassl",
            "''",
            "AND",
            "t3.year",
            "=",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "keyphraseid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperkeyphrase",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Keyphrases used by Christof Dallermassl in 2000",
        "question_toks": [
            "Keyphrases",
            "used",
            "by",
            "Christof",
            "Dallermassl",
            "in",
            "2000"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christof Dallermassl\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christof Dallermassl\" AND t3.year  =  2000;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.keyphraseid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christof",
            "Dallermassl",
            "''",
            "AND",
            "t3.year",
            "=",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "keyphraseid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperkeyphrase",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "keyphrases Christof Dallermassl used in papers written last year",
        "question_toks": [
            "keyphrases",
            "Christof",
            "Dallermassl",
            "used",
            "in",
            "papers",
            "written",
            "last",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christof Dallermassl\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Christof Dallermassl\" AND t3.year  =  2000;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.keyphraseid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Christof",
            "Dallermassl",
            "''",
            "AND",
            "t3.year",
            "=",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "keyphraseid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperkeyphrase",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What are keyphrases by Christof Dallermassl in 2000 ?",
        "question_toks": [
            "What",
            "are",
            "keyphrases",
            "by",
            "Christof",
            "Dallermassl",
            "in",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Christof Dallermassl\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname  ,  COUNT ( t3.citingpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN cite AS t3 ON t2.paperid  =  t3.citedpaperid GROUP BY t1.authorname ORDER BY COUNT ( t3.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            ",",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.citedpaperid",
            "GROUP",
            "BY",
            "t1.authorname",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            ",",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "group",
            "by",
            "t1",
            ".",
            "authorname",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "what author is most cited ?",
        "question_toks": [
            "what",
            "author",
            "is",
            "most",
            "cited",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"mohammad rastegari\" AND t3.journalid  >=  0;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "mohammad",
            "rastegari",
            "''",
            "AND",
            "t3.journalid",
            ">",
            "=",
            "0",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "journalid",
            ">",
            "=",
            "value"
        ],
        "question": "journal articles by mohammad rastegari",
        "question_toks": [
            "journal",
            "articles",
            "by",
            "mohammad",
            "rastegari"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"mohammad rastegari\"",
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"mohammad rastegari\" AND t3.journalid  >=  0;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "mohammad",
            "rastegari",
            "''",
            "AND",
            "t3.journalid",
            ">",
            "=",
            "0",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "journalid",
            ">",
            "=",
            "value"
        ],
        "question": "Journal Papers by mohammad rastegari",
        "question_toks": [
            "Journal",
            "Papers",
            "by",
            "mohammad",
            "rastegari"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"mohammad rastegari\"",
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.citingpaperid )  ,  t1.paperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2014 AND t2.venuename  =  \"TACL\" GROUP BY t1.paperid ORDER BY COUNT ( DISTINCT t3.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citingpaperid",
            ")",
            ",",
            "t1.paperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2014",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "TACL",
            "''",
            "GROUP",
            "BY",
            "t1.paperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t1",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "paperid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "best paper in TACL 2014 ?",
        "question_toks": [
            "best",
            "paper",
            "in",
            "TACL",
            "2014",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"TACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.citingpaperid )  ,  t1.paperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2014 AND t2.venuename  =  \"TACL\" GROUP BY t1.paperid ORDER BY COUNT ( DISTINCT t3.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citingpaperid",
            ")",
            ",",
            "t1.paperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2014",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "TACL",
            "''",
            "GROUP",
            "BY",
            "t1.paperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t1",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "paperid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "What was the best paper at TACL 2014 ?",
        "question_toks": [
            "What",
            "was",
            "the",
            "best",
            "paper",
            "at",
            "TACL",
            "2014",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"TACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2016 AND t3.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2016",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "who published at acl 2016 ?",
        "question_toks": [
            "who",
            "published",
            "at",
            "acl",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2016 AND t3.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2016",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "acl 2016 authors",
        "question_toks": [
            "acl",
            "2016",
            "authors"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2016 AND t3.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2016",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "authors of acl 2016 papers",
        "question_toks": [
            "authors",
            "of",
            "acl",
            "2016",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2016 AND t3.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2016",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "List of authors acl 2016",
        "question_toks": [
            "List",
            "of",
            "authors",
            "acl",
            "2016"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2016 AND t3.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2016",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "author published acl 2016",
        "question_toks": [
            "author",
            "published",
            "acl",
            "2016"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2016 AND t3.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2016",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "who had papers at acl 2016 ?",
        "question_toks": [
            "who",
            "had",
            "papers",
            "at",
            "acl",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2016 AND t3.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2016",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "List of authors in acl 2016",
        "question_toks": [
            "List",
            "of",
            "authors",
            "in",
            "acl",
            "2016"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Multiuser Receiver in the Decision Feedback\" AND t3.year  =  2016 GROUP BY t3.paperid HAVING COUNT ( DISTINCT t1.keyphrasename )  >  1;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Multiuser",
            "Receiver",
            "in",
            "the",
            "Decision",
            "Feedback",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            "GROUP",
            "BY",
            "t3.paperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.keyphrasename",
            ")",
            ">",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "paperid",
            "having",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "keyphrasename",
            ")",
            ">",
            "value"
        ],
        "question": "How many papers were written on Multiuser Receiver in the Decision Feedback this year ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "written",
            "on",
            "Multiuser",
            "Receiver",
            "in",
            "the",
            "Decision",
            "Feedback",
            "this",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Multiuser Receiver in the Decision Feedback\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            10,
                            true
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "LIKE",
            "``",
            "ImageNet",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "like",
            "value"
        ],
        "question": "How many papers run experiments on ImageNet ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "run",
            "experiments",
            "on",
            "ImageNet",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "LIKE",
            "``",
            "ImageNet",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "like",
            "value"
        ],
        "question": "How many papers used ImageNet dataset ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "used",
            "ImageNet",
            "dataset",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "LIKE",
            "``",
            "ImageNet",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "like",
            "value"
        ],
        "question": "How many papers written on ImageNet ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "written",
            "on",
            "ImageNet",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "LIKE",
            "``",
            "ImageNet",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "like",
            "value"
        ],
        "question": "how many papers are based on ImageNet",
        "question_toks": [
            "how",
            "many",
            "papers",
            "are",
            "based",
            "on",
            "ImageNet"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname LIKE \"ImageNet\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "LIKE",
            "``",
            "ImageNet",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "like",
            "value"
        ],
        "question": "how many papers use ImageNet ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "use",
            "ImageNet",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN cite AS t3 ON t2.paperid  =  t3.citingpaperid WHERE t1.authorname  =  \"Mirella Lapata\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.citingpaperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Mirella",
            "Lapata",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citingpaperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "How many papers did Mirella Lapata cite ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "did",
            "Mirella",
            "Lapata",
            "cite",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Mirella Lapata\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN cite AS t3 ON t2.paperid  =  t3.citingpaperid WHERE t1.authorname  =  \"Mirella Lapata\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.citingpaperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Mirella",
            "Lapata",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citingpaperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "how many papers does Mirella Lapata cite",
        "question_toks": [
            "how",
            "many",
            "papers",
            "does",
            "Mirella",
            "Lapata",
            "cite"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Mirella Lapata\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.citedpaperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN cite AS t3 ON t2.paperid  =  t3.citingpaperid WHERE t1.authorname  =  \"Mirella Lapata\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.citedpaperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.citingpaperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Mirella",
            "Lapata",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citingpaperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "how many papers has Mirella Lapata cited ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "has",
            "Mirella",
            "Lapata",
            "cited",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Mirella Lapata\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Michael Stonebraker\" AND t4.venuename  =  \"VLDB\" ORDER BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Michael",
            "Stonebraker",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "VLDB",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "When does Michael Stonebraker publish the first VLDB paper ?",
        "question_toks": [
            "When",
            "does",
            "Michael",
            "Stonebraker",
            "publish",
            "the",
            "first",
            "VLDB",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Michael Stonebraker\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "semantic parsing dataset",
        "question_toks": [
            "semantic",
            "parsing",
            "dataset"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "data sets for semantic parsing",
        "question_toks": [
            "data",
            "sets",
            "for",
            "semantic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "list datasets for semantic parsing",
        "question_toks": [
            "list",
            "datasets",
            "for",
            "semantic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "datasets for semantic parsing",
        "question_toks": [
            "datasets",
            "for",
            "semantic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "Datasets with semantic parsing information",
        "question_toks": [
            "Datasets",
            "with",
            "semantic",
            "parsing",
            "information"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "datasets used by semantic parsing papers",
        "question_toks": [
            "datasets",
            "used",
            "by",
            "semantic",
            "parsing",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "datasets in semantic parsing papers",
        "question_toks": [
            "datasets",
            "in",
            "semantic",
            "parsing",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "semantic parsing datasets",
        "question_toks": [
            "semantic",
            "parsing",
            "datasets"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "datasets in papers about semantic parsing",
        "question_toks": [
            "datasets",
            "in",
            "papers",
            "about",
            "semantic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "datasets used for semantic parsing",
        "question_toks": [
            "datasets",
            "used",
            "for",
            "semantic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "large-scale datasets used in semantic parsing",
        "question_toks": [
            "large-scale",
            "datasets",
            "used",
            "in",
            "semantic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "datasets with semantic parsing",
        "question_toks": [
            "datasets",
            "with",
            "semantic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t1.keyphraseid  =  t4.keyphraseid WHERE t4.keyphrasename  =  \"semantic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t1.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "datasets used for evaluating semantic parsing",
        "question_toks": [
            "datasets",
            "used",
            "for",
            "evaluating",
            "semantic",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid  ,  t4.venueid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Peter Mertens\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            ",",
            "t4.venueid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            ",",
            "t4",
            ".",
            "venueid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "where does Peter Mertens publish ?",
        "question_toks": [
            "where",
            "does",
            "Peter",
            "Mertens",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid  ,  t4.venueid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Peter Mertens\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            ",",
            "t4.venueid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            ",",
            "t4",
            ".",
            "venueid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "in what venues does Peter Mertens publish ?",
        "question_toks": [
            "in",
            "what",
            "venues",
            "does",
            "Peter",
            "Mertens",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid  ,  t4.venueid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Peter Mertens\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            ",",
            "t4.venueid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Peter",
            "Mertens",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            ",",
            "t4",
            ".",
            "venueid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Where does Peter Mertens publish ?",
        "question_toks": [
            "Where",
            "does",
            "Peter",
            "Mertens",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Peter Mertens\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers appeared at nature communications last year",
        "question_toks": [
            "how",
            "many",
            "papers",
            "appeared",
            "at",
            "nature",
            "communications",
            "last",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers were at nature communications 2015 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "at",
            "nature",
            "communications",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers accepted in nature communications 2015",
        "question_toks": [
            "how",
            "many",
            "papers",
            "accepted",
            "in",
            "nature",
            "communications",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers were published in nature communications in 2015 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "published",
            "in",
            "nature",
            "communications",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers on nature communications in 2015 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "on",
            "nature",
            "communications",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers in nature communications 2015",
        "question_toks": [
            "how",
            "many",
            "papers",
            "in",
            "nature",
            "communications",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers were accepted at nature communications 2015 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "accepted",
            "at",
            "nature",
            "communications",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers are presented in nature communications 2015 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "are",
            "presented",
            "in",
            "nature",
            "communications",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers published in nature communications in 2015 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "published",
            "in",
            "nature",
            "communications",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers published in nature communications 2015 ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "published",
            "in",
            "nature",
            "communications",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers were published in nature communications 2015 conference ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "published",
            "in",
            "nature",
            "communications",
            "2015",
            "conference",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"nature communications\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "nature",
            "communications",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers was published in nature communications in 2015",
        "question_toks": [
            "How",
            "many",
            "papers",
            "was",
            "published",
            "in",
            "nature",
            "communications",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nature communications\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid  ,  t4.year FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN paper AS t4 ON t4.paperid  =  t3.paperid JOIN keyphrase AS t5 ON t1.keyphraseid  =  t5.keyphraseid WHERE t5.keyphrasename  =  \"deep learning\" ORDER BY t4.year ASC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            ",",
            "t4.year",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t1.keyphraseid",
            "=",
            "t5.keyphraseid",
            "WHERE",
            "t5.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t4.year",
            "ASC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            ",",
            "t4",
            ".",
            "year",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "where",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t4",
            ".",
            "year",
            "asc"
        ],
        "question": "what was the first deep learning paper ?",
        "question_toks": [
            "what",
            "was",
            "the",
            "first",
            "deep",
            "learning",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid  ,  t4.year FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paperkeyphrase AS t1 ON t1.paperid  =  t3.paperid JOIN paper AS t4 ON t4.paperid  =  t3.paperid JOIN keyphrase AS t5 ON t1.keyphraseid  =  t5.keyphraseid WHERE t5.keyphrasename  =  \"deep learning\" ORDER BY t4.year ASC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            ",",
            "t4.year",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t1.keyphraseid",
            "=",
            "t5.keyphraseid",
            "WHERE",
            "t5.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t4.year",
            "ASC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            ",",
            "t4",
            ".",
            "year",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "where",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t4",
            ".",
            "year",
            "asc"
        ],
        "question": "what year was the first deep learning paper published ?",
        "question_toks": [
            "what",
            "year",
            "was",
            "the",
            "first",
            "deep",
            "learning",
            "paper",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.datasetid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t4.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t4.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "datasets mentioned at ACL",
        "question_toks": [
            "datasets",
            "mentioned",
            "at",
            "ACL"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.datasetid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t4.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.datasetid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t4.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "datasetid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "what datasets do papers at ACL use most ?",
        "question_toks": [
            "what",
            "datasets",
            "do",
            "papers",
            "at",
            "ACL",
            "use",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid  =  t3.keyphraseid JOIN paper AS t2 ON t2.paperid  =  t5.paperid JOIN venue AS t6 ON t6.venueid  =  t2.venueid JOIN writes AS t4 ON t4.paperid  =  t2.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"li dong\" AND t3.keyphrasename  =  \"semantic parsing\" AND t2.year  =  2016 AND t6.venuename  =  \"acl\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t5",
            "JOIN",
            "keyphrase",
            "AS",
            "t3",
            "ON",
            "t5.keyphraseid",
            "=",
            "t3.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t5.paperid",
            "JOIN",
            "venue",
            "AS",
            "t6",
            "ON",
            "t6.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "li",
            "dong",
            "''",
            "AND",
            "t3.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            "AND",
            "t2.year",
            "=",
            "2016",
            "AND",
            "t6.venuename",
            "=",
            "``",
            "acl",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t5",
            "join",
            "keyphrase",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "keyphraseid",
            "=",
            "t3",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "the papers on semantic parsing by li dong at acl in 2016",
        "question_toks": [
            "the",
            "papers",
            "on",
            "semantic",
            "parsing",
            "by",
            "li",
            "dong",
            "at",
            "acl",
            "in",
            "2016"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"li dong\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"acl\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"convolutional neural networks\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "convolutional",
            "neural",
            "networks",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many papers were written on convolutional neural networks in the past year ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "written",
            "on",
            "convolutional",
            "neural",
            "networks",
            "in",
            "the",
            "past",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolutional neural networks\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"convolutional neural networks\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "convolutional",
            "neural",
            "networks",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many papers were published on convolutional neural networks in 2016 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "published",
            "on",
            "convolutional",
            "neural",
            "networks",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolutional neural networks\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"convolutional neural networks\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "convolutional",
            "neural",
            "networks",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many papers were written on convolutional neural networks in 2016 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "written",
            "on",
            "convolutional",
            "neural",
            "networks",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolutional neural networks\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"convolutional neural networks\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "convolutional",
            "neural",
            "networks",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many papers were written on the convolutional neural networks this year ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "written",
            "on",
            "the",
            "convolutional",
            "neural",
            "networks",
            "this",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolutional neural networks\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"convolutional neural networks\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "convolutional",
            "neural",
            "networks",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "how many papers on convolutional neural networks have been published in the past year ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "on",
            "convolutional",
            "neural",
            "networks",
            "have",
            "been",
            "published",
            "in",
            "the",
            "past",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"convolutional neural networks\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"question answering\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "question",
            "answering",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What papers were written on question answering this year ?",
        "question_toks": [
            "What",
            "papers",
            "were",
            "written",
            "on",
            "question",
            "answering",
            "this",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"question answering\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid )  ,  t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"NIPS\" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            ",",
            "t1.year",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.year",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "year",
            "order",
            "by",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "which year had the most NIPS papers ?",
        "question_toks": [
            "which",
            "year",
            "had",
            "the",
            "most",
            "NIPS",
            "papers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid )  ,  t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"NIPS\" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            ",",
            "t1.year",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.year",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "year",
            "order",
            "by",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "what year had the most NIPS papers ?",
        "question_toks": [
            "what",
            "year",
            "had",
            "the",
            "most",
            "NIPS",
            "papers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid )  ,  t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"NIPS\" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            ",",
            "t1.year",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.year",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "year",
            "order",
            "by",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "what year had the most number of NIPS papers ?",
        "question_toks": [
            "what",
            "year",
            "had",
            "the",
            "most",
            "number",
            "of",
            "NIPS",
            "papers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid )  ,  t1.year FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"NIPS\" GROUP BY t1.year ORDER BY COUNT ( t1.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            ",",
            "t1.year",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.year",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "year",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "year",
            "order",
            "by",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "when were most NIPS papers published ?",
        "question_toks": [
            "when",
            "were",
            "most",
            "NIPS",
            "papers",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "who writes papers with Noah A Smith ?",
        "question_toks": [
            "who",
            "writes",
            "papers",
            "with",
            "Noah",
            "A",
            "Smith",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Who is a coauthor with Noah A Smith ?",
        "question_toks": [
            "Who",
            "is",
            "a",
            "coauthor",
            "with",
            "Noah",
            "A",
            "Smith",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Who are Noah A Smith 's co-authors",
        "question_toks": [
            "Who",
            "are",
            "Noah",
            "A",
            "Smith",
            "'s",
            "co-authors"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Who has coauthored with Noah A Smith ?",
        "question_toks": [
            "Who",
            "has",
            "coauthored",
            "with",
            "Noah",
            "A",
            "Smith",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "co-authors of Noah A Smith",
        "question_toks": [
            "co-authors",
            "of",
            "Noah",
            "A",
            "Smith"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "author who wrote papers with Noah A Smith",
        "question_toks": [
            "author",
            "who",
            "wrote",
            "papers",
            "with",
            "Noah",
            "A",
            "Smith"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "authors who collaborated with Noah A Smith",
        "question_toks": [
            "authors",
            "who",
            "collaborated",
            "with",
            "Noah",
            "A",
            "Smith"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "who does Noah A Smith author with ?",
        "question_toks": [
            "who",
            "does",
            "Noah",
            "A",
            "Smith",
            "author",
            "with",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Who are Noah A Smith 's coauthors",
        "question_toks": [
            "Who",
            "are",
            "Noah",
            "A",
            "Smith",
            "'s",
            "coauthors"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "who are all the co-authors of Noah A Smith ?",
        "question_toks": [
            "who",
            "are",
            "all",
            "the",
            "co-authors",
            "of",
            "Noah",
            "A",
            "Smith",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "who does Noah A Smith work with ?",
        "question_toks": [
            "who",
            "does",
            "Noah",
            "A",
            "Smith",
            "work",
            "with",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "who does Noah A Smith collaborate with ?",
        "question_toks": [
            "who",
            "does",
            "Noah",
            "A",
            "Smith",
            "collaborate",
            "with",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Who are Noah A Smith 's coauthors ?",
        "question_toks": [
            "Who",
            "are",
            "Noah",
            "A",
            "Smith",
            "'s",
            "coauthors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Noah A Smith\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Noah",
            "A",
            "Smith",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "coauthors of Noah A Smith",
        "question_toks": [
            "coauthors",
            "of",
            "Noah",
            "A",
            "Smith"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah A Smith\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"jitendra malik\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperdataset",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jitendra",
            "malik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperdataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what datasets did jitendra malik use ?",
        "question_toks": [
            "what",
            "datasets",
            "did",
            "jitendra",
            "malik",
            "use",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jitendra malik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"jitendra malik\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperdataset",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jitendra",
            "malik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperdataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what datasets are used in papers by jitendra malik",
        "question_toks": [
            "what",
            "datasets",
            "are",
            "used",
            "in",
            "papers",
            "by",
            "jitendra",
            "malik"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jitendra malik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"jitendra malik\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperdataset",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jitendra",
            "malik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperdataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what datasets did jitendra malik use in his papers ?",
        "question_toks": [
            "what",
            "datasets",
            "did",
            "jitendra",
            "malik",
            "use",
            "in",
            "his",
            "papers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jitendra malik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"jitendra malik\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperdataset",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jitendra",
            "malik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperdataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what datasets were used by jitendra malik ?",
        "question_toks": [
            "what",
            "datasets",
            "were",
            "used",
            "by",
            "jitendra",
            "malik",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jitendra malik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"jitendra malik\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperdataset",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jitendra",
            "malik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperdataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "datasets used in papers written by jitendra malik ?",
        "question_toks": [
            "datasets",
            "used",
            "in",
            "papers",
            "written",
            "by",
            "jitendra",
            "malik",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jitendra malik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"jitendra malik\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperdataset",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jitendra",
            "malik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperdataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Datasets by jitendra malik",
        "question_toks": [
            "Datasets",
            "by",
            "jitendra",
            "malik"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jitendra malik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.datasetid FROM paper AS t3 JOIN paperdataset AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"jitendra malik\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.datasetid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperdataset",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jitendra",
            "malik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "datasetid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperdataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What datasets have jitendra malik used",
        "question_toks": [
            "What",
            "datasets",
            "have",
            "jitendra",
            "malik",
            "used"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jitendra malik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "recent deep learning papers",
        "question_toks": [
            "recent",
            "deep",
            "learning",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "new deep learning papers",
        "question_toks": [
            "new",
            "deep",
            "learning",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "What are the latest publications on deep learning ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "latest",
            "publications",
            "on",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "Most recent deep learning conference ?",
        "question_toks": [
            "Most",
            "recent",
            "deep",
            "learning",
            "conference",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "Show me some recent papers on deep learning ?",
        "question_toks": [
            "Show",
            "me",
            "some",
            "recent",
            "papers",
            "on",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "What are some recent papers written in deep learning ?",
        "question_toks": [
            "What",
            "are",
            "some",
            "recent",
            "papers",
            "written",
            "in",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "What is the most recent paper of deep learning ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "recent",
            "paper",
            "of",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "What are recent papers on deep learning ?",
        "question_toks": [
            "What",
            "are",
            "recent",
            "papers",
            "on",
            "deep",
            "learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "Current research on deep learning",
        "question_toks": [
            "Current",
            "research",
            "on",
            "deep",
            "learning"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "latest deep learning papers",
        "question_toks": [
            "latest",
            "deep",
            "learning",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "newest deep learning papers",
        "question_toks": [
            "newest",
            "deep",
            "learning",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Pedro Domingos\" GROUP BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Pedro",
            "Domingos",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "What years did Pedro Domingos publish papers in ?",
        "question_toks": [
            "What",
            "years",
            "did",
            "Pedro",
            "Domingos",
            "publish",
            "papers",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Pedro Domingos\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Pedro Domingos\" GROUP BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Pedro",
            "Domingos",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "In what years did Pedro Domingos publish a paper ?",
        "question_toks": [
            "In",
            "what",
            "years",
            "did",
            "Pedro",
            "Domingos",
            "publish",
            "a",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Pedro Domingos\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"jamie callan\" ORDER BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jamie",
            "callan",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "jamie callan 's publications by year",
        "question_toks": [
            "jamie",
            "callan",
            "'s",
            "publications",
            "by",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jamie callan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"jamie callan\" GROUP BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jamie",
            "callan",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "How many papers does jamie callan publish each year ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "does",
            "jamie",
            "callan",
            "publish",
            "each",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jamie callan\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"jamie callan\" GROUP BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jamie",
            "callan",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "number of papers by year from jamie callan",
        "question_toks": [
            "number",
            "of",
            "papers",
            "by",
            "year",
            "from",
            "jamie",
            "callan"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jamie callan\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"jamie callan\" GROUP BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "jamie",
            "callan",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "how many papers jamie callan published each year ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "jamie",
            "callan",
            "published",
            "each",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"jamie callan\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citingpaperid JOIN writes AS t2 ON t2.paperid  =  t4.citedpaperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"oren etzioni\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "who does oren etzioni cite",
        "question_toks": [
            "who",
            "does",
            "oren",
            "etzioni",
            "cite"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citingpaperid JOIN writes AS t2 ON t2.paperid  =  t4.citedpaperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"oren etzioni\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "what papers does oren etzioni cite",
        "question_toks": [
            "what",
            "papers",
            "does",
            "oren",
            "etzioni",
            "cite"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citingpaperid JOIN writes AS t2 ON t2.paperid  =  t4.citedpaperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Daniel Jurafsky\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniel",
            "Jurafsky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "papers citing Daniel Jurafsky",
        "question_toks": [
            "papers",
            "citing",
            "Daniel",
            "Jurafsky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniel Jurafsky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citingpaperid JOIN writes AS t2 ON t2.paperid  =  t4.citedpaperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Daniel Jurafsky\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniel",
            "Jurafsky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What papers cite Daniel Jurafsky ?",
        "question_toks": [
            "What",
            "papers",
            "cite",
            "Daniel",
            "Jurafsky",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniel Jurafsky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citingpaperid JOIN writes AS t2 ON t2.paperid  =  t4.citedpaperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Daniel Jurafsky\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniel",
            "Jurafsky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Which papers cite Daniel Jurafsky ?",
        "question_toks": [
            "Which",
            "papers",
            "cite",
            "Daniel",
            "Jurafsky",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniel Jurafsky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citingpaperid JOIN writes AS t2 ON t2.paperid  =  t4.citedpaperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Daniel Jurafsky\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniel",
            "Jurafsky",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "citations for Daniel Jurafsky",
        "question_toks": [
            "citations",
            "for",
            "Daniel",
            "Jurafsky"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniel Jurafsky\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"instance segmentation\" AND t3.journalid  >=  0;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "instance",
            "segmentation",
            "''",
            "AND",
            "t3.journalid",
            ">",
            "=",
            "0",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "journalid",
            ">",
            "=",
            "value"
        ],
        "question": "journal papers for instance segmentation",
        "question_toks": [
            "journal",
            "papers",
            "for",
            "instance",
            "segmentation"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"instance segmentation\"",
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    0.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"semantic parsing\" AND t4.year  >  2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            "AND",
            "t4.year",
            ">",
            "2005",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who has the most papers in semantic parsing after 2005 ?",
        "question_toks": [
            "who",
            "has",
            "the",
            "most",
            "papers",
            "in",
            "semantic",
            "parsing",
            "after",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"semantic parsing\" AND t4.year  >  2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            "AND",
            "t4.year",
            ">",
            "2005",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who has written the most papers on semantic parsing since 2005 ?",
        "question_toks": [
            "who",
            "has",
            "written",
            "the",
            "most",
            "papers",
            "on",
            "semantic",
            "parsing",
            "since",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"semantic parsing\" AND t4.year  >  2005 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            "AND",
            "t4.year",
            ">",
            "2005",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who published the most in semantic parsing after 2005 ?",
        "question_toks": [
            "who",
            "published",
            "the",
            "most",
            "in",
            "semantic",
            "parsing",
            "after",
            "2005",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t3 ON t2.keyphraseid  =  t3.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t2.paperid JOIN cite AS t5 ON t4.paperid  =  t5.citedpaperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Dan Makumbi\" AND t3.keyphrasename  =  \"Genetic Identity\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t5.citingpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t3",
            "ON",
            "t2.keyphraseid",
            "=",
            "t3.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t5",
            "ON",
            "t4.paperid",
            "=",
            "t5.citedpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Dan",
            "Makumbi",
            "''",
            "AND",
            "t3.keyphrasename",
            "=",
            "``",
            "Genetic",
            "Identity",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t5",
            ".",
            "citingpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t3",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "citedpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many citations does Dan Makumbi 's Genetic Identity paper have ?",
        "question_toks": [
            "How",
            "many",
            "citations",
            "does",
            "Dan",
            "Makumbi",
            "'s",
            "Genetic",
            "Identity",
            "paper",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Dan Makumbi\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Genetic Identity\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"character recognition\" AND t3.year  <  2010;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "character",
            "recognition",
            "''",
            "AND",
            "t3.year",
            "<",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "character recognition papers earlier than 2010",
        "question_toks": [
            "character",
            "recognition",
            "papers",
            "earlier",
            "than",
            "2010"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"character recognition\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"character recognition\" AND t3.year  <  2010;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "character",
            "recognition",
            "''",
            "AND",
            "t3.year",
            "<",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "papers before 2010 about character recognition",
        "question_toks": [
            "papers",
            "before",
            "2010",
            "about",
            "character",
            "recognition"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"character recognition\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"character recognition\" AND t3.year  <  2010;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "character",
            "recognition",
            "''",
            "AND",
            "t3.year",
            "<",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "character recognition papers from before 2010",
        "question_toks": [
            "character",
            "recognition",
            "papers",
            "from",
            "before",
            "2010"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"character recognition\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"character recognition\" AND t3.year  <  2010;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "character",
            "recognition",
            "''",
            "AND",
            "t3.year",
            "<",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "papers about character recognition from before 2010",
        "question_toks": [
            "papers",
            "about",
            "character",
            "recognition",
            "from",
            "before",
            "2010"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"character recognition\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"character recognition\" AND t3.year  <  2010;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "character",
            "recognition",
            "''",
            "AND",
            "t3.year",
            "<",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "character recognition papers before 2010",
        "question_toks": [
            "character",
            "recognition",
            "papers",
            "before",
            "2010"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"character recognition\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.keyphraseid )  ,  t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"oren etzioni\" GROUP BY t2.keyphraseid ORDER BY COUNT ( t2.keyphraseid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.keyphraseid",
            ")",
            ",",
            "t2.keyphraseid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "oren",
            "etzioni",
            "''",
            "GROUP",
            "BY",
            "t2.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t2.keyphraseid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "keyphraseid",
            ")",
            ",",
            "t2",
            ".",
            "keyphraseid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperkeyphrase",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "keyphraseid",
            ")",
            "desc"
        ],
        "question": "what topics does oren etzioni write about most ?",
        "question_toks": [
            "what",
            "topics",
            "does",
            "oren",
            "etzioni",
            "write",
            "about",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"oren etzioni\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            23,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid ) FROM paperdataset AS t3 JOIN dataset AS t2 ON t3.datasetid  =  t2.datasetid JOIN paper AS t4 ON t4.paperid  =  t3.paperid JOIN paperkeyphrase AS t1 ON t4.paperid  =  t1.paperid JOIN keyphrase AS t5 ON t1.keyphraseid  =  t5.keyphraseid WHERE t2.datasetname  =  \"ImageNet\" AND t5.keyphrasename  =  \"deep learning\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t2",
            "ON",
            "t3.datasetid",
            "=",
            "t2.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t1.keyphraseid",
            "=",
            "t5.keyphraseid",
            "WHERE",
            "t2.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t2",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "where",
            "t2",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "How many papers related to deep learning cited the dataset ImageNet ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "related",
            "to",
            "deep",
            "learning",
            "cited",
            "the",
            "dataset",
            "ImageNet",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "most cited papers on parsing",
        "question_toks": [
            "most",
            "cited",
            "papers",
            "on",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "parsing top papers",
        "question_toks": [
            "parsing",
            "top",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "List top papers for parsing",
        "question_toks": [
            "List",
            "top",
            "papers",
            "for",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "parsing papers that have the most citations",
        "question_toks": [
            "parsing",
            "papers",
            "that",
            "have",
            "the",
            "most",
            "citations"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "What is the paper about parsing of the most citation ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "paper",
            "about",
            "parsing",
            "of",
            "the",
            "most",
            "citation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "Paper on parsing with most citations",
        "question_toks": [
            "Paper",
            "on",
            "parsing",
            "with",
            "most",
            "citations"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "parsing papers with most citations",
        "question_toks": [
            "parsing",
            "papers",
            "with",
            "most",
            "citations"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "most cited parsing papers",
        "question_toks": [
            "most",
            "cited",
            "parsing",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "what are the parsing papers that have the most citations ?",
        "question_toks": [
            "what",
            "are",
            "the",
            "parsing",
            "papers",
            "that",
            "have",
            "the",
            "most",
            "citations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "highly cited parsing papers",
        "question_toks": [
            "highly",
            "cited",
            "parsing",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "most cited papers for parsing",
        "question_toks": [
            "most",
            "cited",
            "papers",
            "for",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"parsing\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "Most cited papers on parsing",
        "question_toks": [
            "Most",
            "cited",
            "papers",
            "on",
            "parsing"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year  ,  t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname LIKE \"Michael Armstrong\" AND t3.year LIKE \"199\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            ",",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "LIKE",
            "``",
            "Michael",
            "Armstrong",
            "''",
            "AND",
            "t3.year",
            "LIKE",
            "``",
            "199",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            ",",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "like",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "like",
            "value"
        ],
        "question": "What paper did Michael Armstrong wrote in the 90s ?",
        "question_toks": [
            "What",
            "paper",
            "did",
            "Michael",
            "Armstrong",
            "wrote",
            "in",
            "the",
            "90s",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Michael Armstrong\"",
                    null
                ],
                "and",
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"199\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ohad",
            "shamir",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "What is the most cited paper by ohad shamir ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "cited",
            "paper",
            "by",
            "ohad",
            "shamir",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ohad shamir\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ohad",
            "shamir",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "What is the highest cited paper by ohad shamir ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "highest",
            "cited",
            "paper",
            "by",
            "ohad",
            "shamir",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ohad shamir\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ohad",
            "shamir",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "What is the most cited paper of ohad shamir ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "cited",
            "paper",
            "of",
            "ohad",
            "shamir",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ohad shamir\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ohad",
            "shamir",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "What is ohad shamir 's highest cited paper ?",
        "question_toks": [
            "What",
            "is",
            "ohad",
            "shamir",
            "'s",
            "highest",
            "cited",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ohad shamir\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ohad",
            "shamir",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "What paper by ohad shamir has the most citation ?",
        "question_toks": [
            "What",
            "paper",
            "by",
            "ohad",
            "shamir",
            "has",
            "the",
            "most",
            "citation",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ohad shamir\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ohad",
            "shamir",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "what is the most cited paper of ohad shamir ?",
        "question_toks": [
            "what",
            "is",
            "the",
            "most",
            "cited",
            "paper",
            "of",
            "ohad",
            "shamir",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ohad shamir\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citedpaperid ) FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ohad shamir\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citedpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ohad",
            "shamir",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            "desc"
        ],
        "question": "what is ohad shamir 's most cited paper ?",
        "question_toks": [
            "what",
            "is",
            "ohad",
            "shamir",
            "'s",
            "most",
            "cited",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ohad shamir\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"michael i. jordan\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "michael",
            "i.",
            "jordan",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many papers did michael i. jordan publish in 2016 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "did",
            "michael",
            "i.",
            "jordan",
            "publish",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"michael i. jordan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"michael i. jordan\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "michael",
            "i.",
            "jordan",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many papers does michael i. jordan have in 2016 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "does",
            "michael",
            "i.",
            "jordan",
            "have",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"michael i. jordan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"michael i. jordan\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "michael",
            "i.",
            "jordan",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many papers did michael i. jordan publish in 2016",
        "question_toks": [
            "How",
            "many",
            "papers",
            "did",
            "michael",
            "i.",
            "jordan",
            "publish",
            "in",
            "2016"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"michael i. jordan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"ACL\" GROUP BY t1.authorid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid"
        ],
        "question": "count of ACL papers by author",
        "question_toks": [
            "count",
            "of",
            "ACL",
            "papers",
            "by",
            "author"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"ACL\" GROUP BY t1.authorid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid"
        ],
        "question": "how many ACL papers by author",
        "question_toks": [
            "how",
            "many",
            "ACL",
            "papers",
            "by",
            "author"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"ACL\" GROUP BY t1.authorid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid"
        ],
        "question": "number of ACL papers by author",
        "question_toks": [
            "number",
            "of",
            "ACL",
            "papers",
            "by",
            "author"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2007 AND t3.venuename  =  \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2007",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who wrote the most papers for CVPR 2007",
        "question_toks": [
            "who",
            "wrote",
            "the",
            "most",
            "papers",
            "for",
            "CVPR",
            "2007"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2007 AND t3.venuename  =  \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2007",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who published papers in CVPR 2007",
        "question_toks": [
            "who",
            "published",
            "papers",
            "in",
            "CVPR",
            "2007"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2007 AND t3.venuename  =  \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2007",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who wrote the most CVPR papers in 2007",
        "question_toks": [
            "who",
            "wrote",
            "the",
            "most",
            "CVPR",
            "papers",
            "in",
            "2007"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2007 AND t3.venuename  =  \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2007",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "most published author at CVPR 2007",
        "question_toks": [
            "most",
            "published",
            "author",
            "at",
            "CVPR",
            "2007"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2007 AND t3.venuename  =  \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2007",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who published the most papers in CVPR 2007",
        "question_toks": [
            "who",
            "published",
            "the",
            "most",
            "papers",
            "in",
            "CVPR",
            "2007"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2007 AND t3.venuename  =  \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2007",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "Who published the most papers in 2007 at CVPR ?",
        "question_toks": [
            "Who",
            "published",
            "the",
            "most",
            "papers",
            "in",
            "2007",
            "at",
            "CVPR",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers in ACL 2015 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "in",
            "ACL",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "number of papers published in ACL 2015",
        "question_toks": [
            "number",
            "of",
            "papers",
            "published",
            "in",
            "ACL",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT paperid FROM paper WHERE YEAR  =  2014;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "paperid",
            "FROM",
            "paper",
            "WHERE",
            "YEAR",
            "=",
            "2014",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "paperid",
            "from",
            "paper",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "papers from 2014",
        "question_toks": [
            "papers",
            "from",
            "2014"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT paperid FROM paper WHERE YEAR  =  2014;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "paperid",
            "FROM",
            "paper",
            "WHERE",
            "YEAR",
            "=",
            "2014",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "paperid",
            "from",
            "paper",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "2014 papers",
        "question_toks": [
            "2014",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Richard Ladner\" AND t4.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Richard",
            "Ladner",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What papers does Richard Ladner have in chi ?",
        "question_toks": [
            "What",
            "papers",
            "does",
            "Richard",
            "Ladner",
            "have",
            "in",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Richard Ladner\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Richard Ladner\" AND t4.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Richard",
            "Ladner",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "what paper has Richard Ladner published in chi journal ?",
        "question_toks": [
            "what",
            "paper",
            "has",
            "Richard",
            "Ladner",
            "published",
            "in",
            "chi",
            "journal",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Richard Ladner\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Richard Ladner\" AND t4.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Richard",
            "Ladner",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "what paper has Richard Ladner published in chi ?",
        "question_toks": [
            "what",
            "paper",
            "has",
            "Richard",
            "Ladner",
            "published",
            "in",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Richard Ladner\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Richard Ladner\" AND t4.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Richard",
            "Ladner",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers by Richard Ladner published at chi",
        "question_toks": [
            "papers",
            "by",
            "Richard",
            "Ladner",
            "published",
            "at",
            "chi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Richard Ladner\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Richard Ladner\" AND t4.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Richard",
            "Ladner",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Does Richard Ladner publish in chi ?",
        "question_toks": [
            "Does",
            "Richard",
            "Ladner",
            "publish",
            "in",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Richard Ladner\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Richard Ladner\" AND t4.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Richard",
            "Ladner",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What has Richard Ladner published at chi ?",
        "question_toks": [
            "What",
            "has",
            "Richard",
            "Ladner",
            "published",
            "at",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Richard Ladner\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Richard Ladner\" AND t4.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Richard",
            "Ladner",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What papers has Richard Ladner written at chi ?",
        "question_toks": [
            "What",
            "papers",
            "has",
            "Richard",
            "Ladner",
            "written",
            "at",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Richard Ladner\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Richard Ladner\" AND t4.venuename  =  \"chi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Richard",
            "Ladner",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "chi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Which paper did Richard Ladner present at chi ?",
        "question_toks": [
            "Which",
            "paper",
            "did",
            "Richard",
            "Ladner",
            "present",
            "at",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Richard Ladner\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"Artificial Intelligence\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citingpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Artificial",
            "Intelligence",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "What is the paper with the most citation about Artificial Intelligence ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "paper",
            "with",
            "the",
            "most",
            "citation",
            "about",
            "Artificial",
            "Intelligence",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Artificial Intelligence\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid  ,  COUNT ( t4.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"Artificial Intelligence\" GROUP BY t4.citedpaperid ORDER BY COUNT ( t4.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t4.citingpaperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Artificial",
            "Intelligence",
            "''",
            "GROUP",
            "BY",
            "t4.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "Fetch me the most cited publications for Artificial Intelligence",
        "question_toks": [
            "Fetch",
            "me",
            "the",
            "most",
            "cited",
            "publications",
            "for",
            "Artificial",
            "Intelligence"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Artificial Intelligence\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t3.year  =  2014 AND t4.venuename  =  \"ACL\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t3.year",
            "=",
            "2014",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t1.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "topics at ACL 2014",
        "question_toks": [
            "topics",
            "at",
            "ACL",
            "2014"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t3.year  =  2015 AND t4.venuename  =  \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t3.year",
            "=",
            "2015",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "most common topics at NIPS 2015",
        "question_toks": [
            "most",
            "common",
            "topics",
            "at",
            "NIPS",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t3.year  =  2015 AND t4.venuename  =  \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t3.year",
            "=",
            "2015",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "most popular topics at NIPS 2015",
        "question_toks": [
            "most",
            "popular",
            "topics",
            "at",
            "NIPS",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t3.year  =  2015 AND t4.venuename  =  \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t3.year",
            "=",
            "2015",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "hot topics at NIPS 2015",
        "question_toks": [
            "hot",
            "topics",
            "at",
            "NIPS",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t3.year  =  2015 AND t4.venuename  =  \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t3.year",
            "=",
            "2015",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "popular topics at NIPS 2015",
        "question_toks": [
            "popular",
            "topics",
            "at",
            "NIPS",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t3.year  =  2015 AND t4.venuename  =  \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t3.year",
            "=",
            "2015",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "which topics were most popular at NIPS 2015",
        "question_toks": [
            "which",
            "topics",
            "were",
            "most",
            "popular",
            "at",
            "NIPS",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t3.year  =  2015 AND t4.venuename  =  \"NIPS\" GROUP BY t1.keyphraseid ORDER BY COUNT ( t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t3.year",
            "=",
            "2015",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            "GROUP",
            "BY",
            "t1.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "topics popular at NIPS 2015",
        "question_toks": [
            "topics",
            "popular",
            "at",
            "NIPS",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    9,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"deep reinforcement learning\" AND t4.venuename  =  \"nips\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "reinforcement",
            "learning",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "nips",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers related to deep reinforcement learning in nips ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "related",
            "to",
            "deep",
            "reinforcement",
            "learning",
            "in",
            "nips",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep reinforcement learning\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"nips\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "Papers on WebKB",
        "question_toks": [
            "Papers",
            "on",
            "WebKB"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "which papers used WebKB ?",
        "question_toks": [
            "which",
            "papers",
            "used",
            "WebKB",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "papers about WebKB",
        "question_toks": [
            "papers",
            "about",
            "WebKB"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "List the papers that used WebKB dataset",
        "question_toks": [
            "List",
            "the",
            "papers",
            "that",
            "used",
            "WebKB",
            "dataset"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "papers using WebKB",
        "question_toks": [
            "papers",
            "using",
            "WebKB"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "papers that use WebKB",
        "question_toks": [
            "papers",
            "that",
            "use",
            "WebKB"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "WebKB papers",
        "question_toks": [
            "WebKB",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "papers that used WebKB",
        "question_toks": [
            "papers",
            "that",
            "used",
            "WebKB"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"WebKB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "WebKB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "Papers that use the WebKB dataset",
        "question_toks": [
            "Papers",
            "that",
            "use",
            "the",
            "WebKB",
            "dataset"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"WebKB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT venueid FROM paper WHERE YEAR  =  2013;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "venueid",
            "FROM",
            "paper",
            "WHERE",
            "YEAR",
            "=",
            "2013",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "venueid",
            "from",
            "paper",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "conferences in 2013",
        "question_toks": [
            "conferences",
            "in",
            "2013"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid JOIN cite AS t4 ON t1.paperid  =  t4.citedpaperid WHERE t3.venuename  =  \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.citingpaperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t1.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "how is the most cited author in CVPR ?",
        "question_toks": [
            "how",
            "is",
            "the",
            "most",
            "cited",
            "author",
            "in",
            "CVPR",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid JOIN cite AS t4 ON t1.paperid  =  t4.citedpaperid WHERE t3.venuename  =  \"CVPR\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.citingpaperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t1.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "who is the most cited author at CVPR ?",
        "question_toks": [
            "who",
            "is",
            "the",
            "most",
            "cited",
            "author",
            "at",
            "CVPR",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname != \"chris dyer\" AND t5.keyphrasename  =  \"syntactic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "!",
            "=",
            "``",
            "chris",
            "dyer",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "!",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "what are some syntactic parsing papers that chris dyer did not write ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "syntactic",
            "parsing",
            "papers",
            "that",
            "chris",
            "dyer",
            "did",
            "not",
            "write",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"chris dyer\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname != \"chris dyer\" AND t5.keyphrasename  =  \"syntactic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "!",
            "=",
            "``",
            "chris",
            "dyer",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "!",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "are there any syntactic parsing papers not written by chris dyer ?",
        "question_toks": [
            "are",
            "there",
            "any",
            "syntactic",
            "parsing",
            "papers",
            "not",
            "written",
            "by",
            "chris",
            "dyer",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"chris dyer\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname != \"chris dyer\" AND t5.keyphrasename  =  \"syntactic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "!",
            "=",
            "``",
            "chris",
            "dyer",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "!",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "what are syntactic parsing papers not written by chris dyer",
        "question_toks": [
            "what",
            "are",
            "syntactic",
            "parsing",
            "papers",
            "not",
            "written",
            "by",
            "chris",
            "dyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"chris dyer\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname  ,  t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname != \"chris dyer\" AND t5.keyphrasename  =  \"syntactic parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            ",",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "!",
            "=",
            "``",
            "chris",
            "dyer",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "syntactic",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "!",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "syntactic parsing papers not written by chris dyer",
        "question_toks": [
            "syntactic",
            "parsing",
            "papers",
            "not",
            "written",
            "by",
            "chris",
            "dyer"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"chris dyer\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"syntactic parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT paperid FROM paper WHERE YEAR  =  ( SELECT MAX ( YEAR ) FROM paper );",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "paperid",
            "FROM",
            "paper",
            "WHERE",
            "YEAR",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "YEAR",
            ")",
            "FROM",
            "paper",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "paperid",
            "from",
            "paper",
            "where",
            "year",
            "=",
            "(",
            "select",
            "max",
            "(",
            "year",
            ")",
            "from",
            "paper",
            ")"
        ],
        "question": "papers published in the last year",
        "question_toks": [
            "papers",
            "published",
            "in",
            "the",
            "last",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    5
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            14,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"benjamin mako hill\" GROUP BY t3.year ORDER BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "benjamin",
            "mako",
            "hill",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "When was benjamin mako hill 's first publication ?",
        "question_toks": [
            "When",
            "was",
            "benjamin",
            "mako",
            "hill",
            "'s",
            "first",
            "publication",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"benjamin mako hill\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"benjamin mako hill\" GROUP BY t3.year ORDER BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "benjamin",
            "mako",
            "hill",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "When was benjamin mako hill 's first paper written ?",
        "question_toks": [
            "When",
            "was",
            "benjamin",
            "mako",
            "hill",
            "'s",
            "first",
            "paper",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"benjamin mako hill\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"ameet soni\" GROUP BY t3.year ORDER BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ameet",
            "soni",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "When did ameet soni publish ?",
        "question_toks": [
            "When",
            "did",
            "ameet",
            "soni",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ameet soni\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citingpaperid )  ,  t3.authorid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN cite AS t4 ON t2.paperid  =  t4.citedpaperid JOIN writes AS t3 ON t3.paperid  =  t4.citingpaperid WHERE t1.authorname  =  \"Daniel A Reed\" GROUP BY t3.authorid ORDER BY COUNT ( t4.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citingpaperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniel",
            "A",
            "Reed",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "Who cites Daniel A Reed the most",
        "question_toks": [
            "Who",
            "cites",
            "Daniel",
            "A",
            "Reed",
            "the",
            "most"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniel A Reed\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citingpaperid )  ,  t3.authorid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN cite AS t4 ON t2.paperid  =  t4.citedpaperid JOIN writes AS t3 ON t3.paperid  =  t4.citingpaperid WHERE t1.authorname  =  \"Daniel A Reed\" GROUP BY t3.authorid ORDER BY COUNT ( t4.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citingpaperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Daniel",
            "A",
            "Reed",
            "''",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "Who cites Daniel A Reed most ?",
        "question_toks": [
            "Who",
            "cites",
            "Daniel",
            "A",
            "Reed",
            "most",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Daniel A Reed\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"sigir\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "sigir",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers are in sigir ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "are",
            "in",
            "sigir",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"sigir\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"sigir\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "sigir",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers does sigir have ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "does",
            "sigir",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"sigir\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"sigir\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "sigir",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "how many papers are published in sigir ?",
        "question_toks": [
            "how",
            "many",
            "papers",
            "are",
            "published",
            "in",
            "sigir",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"sigir\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"sigir\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t1.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "sigir",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "number of papers in sigir conference",
        "question_toks": [
            "number",
            "of",
            "papers",
            "in",
            "sigir",
            "conference"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"sigir\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid )  <  5;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citingpaperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t3.citingpaperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citedpaperid",
            ")",
            "<",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citingpaperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citingpaperid",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "<",
            "value"
        ],
        "question": "what papers have fewer than 5 citations by ACL papers ?",
        "question_toks": [
            "what",
            "papers",
            "have",
            "fewer",
            "than",
            "5",
            "citations",
            "by",
            "ACL",
            "papers",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            19,
                            true
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid )  <  5;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citingpaperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t3.citingpaperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citedpaperid",
            ")",
            "<",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citingpaperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citingpaperid",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "<",
            "value"
        ],
        "question": "ACL papers with less than 5 citations",
        "question_toks": [
            "ACL",
            "papers",
            "with",
            "less",
            "than",
            "5",
            "citations"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            19,
                            true
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid )  <  5;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citingpaperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t3.citingpaperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citedpaperid",
            ")",
            "<",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citingpaperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citingpaperid",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "<",
            "value"
        ],
        "question": "what ACL papers have less than 5 citations ?",
        "question_toks": [
            "what",
            "ACL",
            "papers",
            "have",
            "less",
            "than",
            "5",
            "citations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            19,
                            true
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citingpaperid FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid )  <  5;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citingpaperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t3.citingpaperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citedpaperid",
            ")",
            "<",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citingpaperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citingpaperid",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ")",
            "<",
            "value"
        ],
        "question": "what papers have fewer than 5 citations by ACL papers",
        "question_toks": [
            "what",
            "papers",
            "have",
            "fewer",
            "than",
            "5",
            "citations",
            "by",
            "ACL",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            3,
                            19,
                            true
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Mirella Lapata\" ORDER BY t3.year DESC LIMIT 5;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Mirella",
            "Lapata",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            "LIMIT",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc",
            "limit",
            "value"
        ],
        "question": "What are the 5 most recent papers of Mirella Lapata ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "5",
            "most",
            "recent",
            "papers",
            "of",
            "Mirella",
            "Lapata",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Mirella Lapata\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 5,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What were the papers published at pldi 2015 ?",
        "question_toks": [
            "What",
            "were",
            "the",
            "papers",
            "published",
            "at",
            "pldi",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Papers from pldi 2015 conference",
        "question_toks": [
            "Papers",
            "from",
            "pldi",
            "2015",
            "conference"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers published at pldi 2015",
        "question_toks": [
            "papers",
            "published",
            "at",
            "pldi",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What are the papers from pldi 2015 ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "papers",
            "from",
            "pldi",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Papers from pldi 2015 ?",
        "question_toks": [
            "Papers",
            "from",
            "pldi",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Which papers were accepted in pldi 2015 ?",
        "question_toks": [
            "Which",
            "papers",
            "were",
            "accepted",
            "in",
            "pldi",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What papers were published during the conference pldi 2015 ?",
        "question_toks": [
            "What",
            "papers",
            "were",
            "published",
            "during",
            "the",
            "conference",
            "pldi",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers in pldi 2015",
        "question_toks": [
            "papers",
            "in",
            "pldi",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "List of papers in pldi 2015",
        "question_toks": [
            "List",
            "of",
            "papers",
            "in",
            "pldi",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "pldi papers in 2015",
        "question_toks": [
            "pldi",
            "papers",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "what papers are published in pldi 2015",
        "question_toks": [
            "what",
            "papers",
            "are",
            "published",
            "in",
            "pldi",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers from pldi 2015",
        "question_toks": [
            "papers",
            "from",
            "pldi",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "pldi papers 2015",
        "question_toks": [
            "pldi",
            "papers",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "pldi 2015 conference",
        "question_toks": [
            "pldi",
            "2015",
            "conference"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "pldi best paper award 2015",
        "question_toks": [
            "pldi",
            "best",
            "paper",
            "award",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2015 AND t2.venuename  =  \"pldi\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "pldi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "pldi 2015 list of papers",
        "question_toks": [
            "pldi",
            "2015",
            "list",
            "of",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"pldi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT journalid FROM paper WHERE YEAR  =  2011 GROUP BY journalid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "journalid",
            "FROM",
            "paper",
            "WHERE",
            "YEAR",
            "=",
            "2011",
            "GROUP",
            "BY",
            "journalid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "journalid",
            "from",
            "paper",
            "where",
            "year",
            "=",
            "value",
            "group",
            "by",
            "journalid"
        ],
        "question": "List today 's journals",
        "question_toks": [
            "List",
            "today",
            "'s",
            "journals"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT journalid FROM paper WHERE YEAR  =  2011 GROUP BY journalid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "journalid",
            "FROM",
            "paper",
            "WHERE",
            "YEAR",
            "=",
            "2011",
            "GROUP",
            "BY",
            "journalid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "journalid",
            "from",
            "paper",
            "where",
            "year",
            "=",
            "value",
            "group",
            "by",
            "journalid"
        ],
        "question": "List the journals published in March , 2011",
        "question_toks": [
            "List",
            "the",
            "journals",
            "published",
            "in",
            "March",
            ",",
            "2011"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid  =  t1.venueid WHERE t1.title LIKE \"neural attention\" AND t1.year  =  2016 AND t2.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.paperid",
            "FROM",
            "venue",
            "AS",
            "t2",
            "JOIN",
            "paper",
            "AS",
            "t1",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.title",
            "LIKE",
            "``",
            "neural",
            "attention",
            "''",
            "AND",
            "t1.year",
            "=",
            "2016",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t2",
            "join",
            "paper",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "title",
            "like",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "ACL papers in 2016 with neural attention in the title",
        "question_toks": [
            "ACL",
            "papers",
            "in",
            "2016",
            "with",
            "neural",
            "attention",
            "in",
            "the",
            "title"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"neural attention\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t2.paperid JOIN author AS t1 ON t3.authorid  =  t1.authorid WHERE t4.keyphrasename  =  \"Machine Learning\" GROUP BY t1.authorname ORDER BY COUNT ( DISTINCT t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t2.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t4.keyphrasename",
            "=",
            "``",
            "Machine",
            "Learning",
            "''",
            "GROUP",
            "BY",
            "t1.authorname",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorname",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "Who writes a lot of papers in Machine Learning ?",
        "question_toks": [
            "Who",
            "writes",
            "a",
            "lot",
            "of",
            "papers",
            "in",
            "Machine",
            "Learning",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Machine Learning\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    4,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            24,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t2.paperid JOIN author AS t1 ON t3.authorid  =  t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t2.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t4.keyphrasename",
            "LIKE",
            "``",
            "sensor",
            "fusion",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "like",
            "value"
        ],
        "question": "Who wrote sensor fusion ?",
        "question_toks": [
            "Who",
            "wrote",
            "sensor",
            "fusion",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"sensor fusion\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t2.paperid JOIN author AS t1 ON t3.authorid  =  t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t2.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t4.keyphrasename",
            "LIKE",
            "``",
            "sensor",
            "fusion",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "like",
            "value"
        ],
        "question": "Authors of papers on sensor fusion",
        "question_toks": [
            "Authors",
            "of",
            "papers",
            "on",
            "sensor",
            "fusion"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"sensor fusion\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t2.paperid JOIN author AS t1 ON t3.authorid  =  t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t2.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t4.keyphrasename",
            "LIKE",
            "``",
            "sensor",
            "fusion",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "like",
            "value"
        ],
        "question": "people working on sensor fusion",
        "question_toks": [
            "people",
            "working",
            "on",
            "sensor",
            "fusion"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"sensor fusion\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t2.paperid JOIN author AS t1 ON t3.authorid  =  t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t2.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t4.keyphrasename",
            "LIKE",
            "``",
            "sensor",
            "fusion",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "like",
            "value"
        ],
        "question": "Who publishes in sensor fusion ?",
        "question_toks": [
            "Who",
            "publishes",
            "in",
            "sensor",
            "fusion",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"sensor fusion\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid  =  t4.keyphraseid JOIN writes AS t3 ON t3.paperid  =  t2.paperid JOIN author AS t1 ON t3.authorid  =  t1.authorid WHERE t4.keyphrasename LIKE \"sensor fusion\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorname",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t2.keyphraseid",
            "=",
            "t4.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t4.keyphrasename",
            "LIKE",
            "``",
            "sensor",
            "fusion",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorname",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t4",
            ".",
            "keyphrasename",
            "like",
            "value"
        ],
        "question": "who publishes papers about sensor fusion",
        "question_toks": [
            "who",
            "publishes",
            "papers",
            "about",
            "sensor",
            "fusion"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"sensor fusion\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN cite AS t5 ON t3.paperid  =  t5.citedpaperid JOIN writes AS t4 ON t4.paperid  =  t5.citingpaperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"michael i. jordan\" AND t1.authorname  =  \"dan klein\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t5.citingpaperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "cite",
            "AS",
            "t5",
            "ON",
            "t3.paperid",
            "=",
            "t5.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t5.citingpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "michael",
            "i.",
            "jordan",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "dan",
            "klein",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t5",
            ".",
            "citingpaperid",
            ")",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "cite",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "citingpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "how many papers by dan klein are cited by michael i. jordan",
        "question_toks": [
            "how",
            "many",
            "papers",
            "by",
            "dan",
            "klein",
            "are",
            "cited",
            "by",
            "michael",
            "i.",
            "jordan"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"michael i. jordan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"dan klein\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t5.citingpaperid ) FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN cite AS t5 ON t3.paperid  =  t5.citedpaperid JOIN writes AS t4 ON t4.paperid  =  t5.citingpaperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"michael i. jordan\" AND t1.authorname  =  \"dan klein\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t5.citingpaperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "cite",
            "AS",
            "t5",
            "ON",
            "t3.paperid",
            "=",
            "t5.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t5.citingpaperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "michael",
            "i.",
            "jordan",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "dan",
            "klein",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t5",
            ".",
            "citingpaperid",
            ")",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "cite",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "citingpaperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "how many of dan klein 's papers cite michael i. jordan",
        "question_toks": [
            "how",
            "many",
            "of",
            "dan",
            "klein",
            "'s",
            "papers",
            "cite",
            "michael",
            "i.",
            "jordan"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"michael i. jordan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"dan klein\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t5.authorid FROM writes AS t3 JOIN author AS t2 ON t3.authorid  =  t2.authorid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN writes AS t5 ON t5.paperid  =  t4.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t2.authorname  =  \"Ameet Soni\" AND t1.authorname  =  \"Ras Bodik\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t5.authorid",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.authorid",
            "=",
            "t2.authorid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "writes",
            "AS",
            "t5",
            "ON",
            "t5.paperid",
            "=",
            "t4.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Ameet",
            "Soni",
            "''",
            "AND",
            "t1.authorname",
            "=",
            "``",
            "Ras",
            "Bodik",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t5",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "who else was on the paper with Ameet Soni and Ras Bodik ?",
        "question_toks": [
            "who",
            "else",
            "was",
            "on",
            "the",
            "paper",
            "with",
            "Ameet",
            "Soni",
            "and",
            "Ras",
            "Bodik",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ameet Soni\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ras Bodik\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"ImageNet\" AND t3.year  =  2014;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            "AND",
            "t3.year",
            "=",
            "2014",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "2014 papers using ImageNet",
        "question_toks": [
            "2014",
            "papers",
            "using",
            "ImageNet"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Takashi Matsumoto\" GROUP BY t3.journalid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Takashi",
            "Matsumoto",
            "''",
            "GROUP",
            "BY",
            "t3.journalid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "journalid"
        ],
        "question": "What journals are Takashi Matsumoto 's articles published in ?",
        "question_toks": [
            "What",
            "journals",
            "are",
            "Takashi",
            "Matsumoto",
            "'s",
            "articles",
            "published",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Takashi Matsumoto\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Takashi Matsumoto\" GROUP BY t3.journalid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Takashi",
            "Matsumoto",
            "''",
            "GROUP",
            "BY",
            "t3.journalid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "journalid"
        ],
        "question": "What journals has Takashi Matsumoto published in ?",
        "question_toks": [
            "What",
            "journals",
            "has",
            "Takashi",
            "Matsumoto",
            "published",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Takashi Matsumoto\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Takashi Matsumoto\" GROUP BY t3.journalid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Takashi",
            "Matsumoto",
            "''",
            "GROUP",
            "BY",
            "t3.journalid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "journalid"
        ],
        "question": "In what scholarly journals does Takashi Matsumoto publish ?",
        "question_toks": [
            "In",
            "what",
            "scholarly",
            "journals",
            "does",
            "Takashi",
            "Matsumoto",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Takashi Matsumoto\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid JOIN author AS t5 ON t3.authorid  =  t5.authorid WHERE t2.keyphrasename  =  \"Bacterial Wilt\" AND t4.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t3.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "Bacterial",
            "Wilt",
            "''",
            "AND",
            "t4.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What authors wrote papers about Bacterial Wilt in 2016 ?",
        "question_toks": [
            "What",
            "authors",
            "wrote",
            "papers",
            "about",
            "Bacterial",
            "Wilt",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bacterial Wilt\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid JOIN author AS t5 ON t3.authorid  =  t5.authorid WHERE t2.keyphrasename  =  \"Bacterial Wilt\" AND t4.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t3.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "Bacterial",
            "Wilt",
            "''",
            "AND",
            "t4.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Who wrote on the topic of Bacterial Wilt in 2016 ?",
        "question_toks": [
            "Who",
            "wrote",
            "on",
            "the",
            "topic",
            "of",
            "Bacterial",
            "Wilt",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Bacterial Wilt\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Luke S Zettlemoyer\" ORDER BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Luke",
            "S",
            "Zettlemoyer",
            "''",
            "ORDER",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "When did Luke S Zettlemoyer publish ?",
        "question_toks": [
            "When",
            "did",
            "Luke",
            "S",
            "Zettlemoyer",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Luke S Zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"question answering\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "question",
            "answering",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "question answering 2016 papers",
        "question_toks": [
            "question",
            "answering",
            "2016",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"question answering\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"question answering\" AND t3.year  =  2016;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "question",
            "answering",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "What papers were written on question answering in 2016 ?",
        "question_toks": [
            "What",
            "papers",
            "were",
            "written",
            "on",
            "question",
            "answering",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"question answering\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.citingpaperid )  ,  t1.keyphrasename FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN cite AS t3 ON t2.paperid  =  t3.citedpaperid GROUP BY t1.keyphrasename ORDER BY COUNT ( t3.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            ",",
            "t1.keyphrasename",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.citedpaperid",
            "GROUP",
            "BY",
            "t1.keyphrasename",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphrasename",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "group",
            "by",
            "t1",
            ".",
            "keyphrasename",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "what keyphrases get most citations ?",
        "question_toks": [
            "what",
            "keyphrases",
            "get",
            "most",
            "citations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Temporal Data\" GROUP BY t3.journalid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Temporal",
            "Data",
            "''",
            "GROUP",
            "BY",
            "t3.journalid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "journalid"
        ],
        "question": "Find journals about Temporal Data .",
        "question_toks": [
            "Find",
            "journals",
            "about",
            "Temporal",
            "Data",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Temporal Data\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Temporal Data\" GROUP BY t3.journalid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Temporal",
            "Data",
            "''",
            "GROUP",
            "BY",
            "t3.journalid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "journalid"
        ],
        "question": "List the journals related to Temporal Data",
        "question_toks": [
            "List",
            "the",
            "journals",
            "related",
            "to",
            "Temporal",
            "Data"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Temporal Data\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid  =  t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid  =  t3.paperid JOIN paper AS t2 ON t2.paperid  =  t3.paperid JOIN venue AS t6 ON t6.venueid  =  t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid  =  t1.keyphraseid WHERE t5.datasetname  =  \"Jeopardy! Questions\" AND t1.keyphrasename  =  \"Parsing\" AND t2.year  =  2014 AND t6.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t5",
            "ON",
            "t3.datasetid",
            "=",
            "t5.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "venue",
            "AS",
            "t6",
            "ON",
            "t6.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t4.keyphraseid",
            "=",
            "t1.keyphraseid",
            "WHERE",
            "t5.datasetname",
            "=",
            "``",
            "Jeopardy",
            "!",
            "Questions",
            "''",
            "AND",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t2.year",
            "=",
            "2014",
            "AND",
            "t6.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t5",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "where",
            "t5",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "which ACL 2014 papers about Parsing used Jeopardy! Questions ?",
        "question_toks": [
            "which",
            "ACL",
            "2014",
            "papers",
            "about",
            "Parsing",
            "used",
            "Jeopardy",
            "!",
            "Questions",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Jeopardy! Questions\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid  =  t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid  =  t3.paperid JOIN paper AS t2 ON t2.paperid  =  t3.paperid JOIN venue AS t6 ON t6.venueid  =  t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid  =  t1.keyphraseid WHERE t5.datasetname  =  \"Jeopardy! Questions\" AND t1.keyphrasename  =  \"Parsing\" AND t2.year  =  2014 AND t6.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t5",
            "ON",
            "t3.datasetid",
            "=",
            "t5.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "venue",
            "AS",
            "t6",
            "ON",
            "t6.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t4.keyphraseid",
            "=",
            "t1.keyphraseid",
            "WHERE",
            "t5.datasetname",
            "=",
            "``",
            "Jeopardy",
            "!",
            "Questions",
            "''",
            "AND",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t2.year",
            "=",
            "2014",
            "AND",
            "t6.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t5",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "where",
            "t5",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Parsing papers using Jeopardy! Questions published at ACL 2014",
        "question_toks": [
            "Parsing",
            "papers",
            "using",
            "Jeopardy",
            "!",
            "Questions",
            "published",
            "at",
            "ACL",
            "2014"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Jeopardy! Questions\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid  =  t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid  =  t3.paperid JOIN paper AS t2 ON t2.paperid  =  t3.paperid JOIN venue AS t6 ON t6.venueid  =  t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid  =  t1.keyphraseid WHERE t5.datasetname  =  \"Jeopardy! Questions\" AND t1.keyphrasename  =  \"Parsing\" AND t2.year  =  2014 AND t6.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t5",
            "ON",
            "t3.datasetid",
            "=",
            "t5.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "venue",
            "AS",
            "t6",
            "ON",
            "t6.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t4.keyphraseid",
            "=",
            "t1.keyphraseid",
            "WHERE",
            "t5.datasetname",
            "=",
            "``",
            "Jeopardy",
            "!",
            "Questions",
            "''",
            "AND",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t2.year",
            "=",
            "2014",
            "AND",
            "t6.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t5",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "where",
            "t5",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Parsing papers from ACL 2014 using Jeopardy! Questions",
        "question_toks": [
            "Parsing",
            "papers",
            "from",
            "ACL",
            "2014",
            "using",
            "Jeopardy",
            "!",
            "Questions"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Jeopardy! Questions\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid  =  t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid  =  t3.paperid JOIN paper AS t2 ON t2.paperid  =  t3.paperid JOIN venue AS t6 ON t6.venueid  =  t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid  =  t1.keyphraseid WHERE t5.datasetname  =  \"Jeopardy! Questions\" AND t1.keyphrasename  =  \"Parsing\" AND t2.year  =  2014 AND t6.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t5",
            "ON",
            "t3.datasetid",
            "=",
            "t5.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "venue",
            "AS",
            "t6",
            "ON",
            "t6.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t4.keyphraseid",
            "=",
            "t1.keyphraseid",
            "WHERE",
            "t5.datasetname",
            "=",
            "``",
            "Jeopardy",
            "!",
            "Questions",
            "''",
            "AND",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t2.year",
            "=",
            "2014",
            "AND",
            "t6.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t5",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "where",
            "t5",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Parsing papers from ACL 2014 that used Jeopardy! Questions",
        "question_toks": [
            "Parsing",
            "papers",
            "from",
            "ACL",
            "2014",
            "that",
            "used",
            "Jeopardy",
            "!",
            "Questions"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Jeopardy! Questions\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t5 ON t3.datasetid  =  t5.datasetid JOIN paperkeyphrase AS t4 ON t4.paperid  =  t3.paperid JOIN paper AS t2 ON t2.paperid  =  t3.paperid JOIN venue AS t6 ON t6.venueid  =  t2.venueid JOIN keyphrase AS t1 ON t4.keyphraseid  =  t1.keyphraseid WHERE t5.datasetname  =  \"Jeopardy! Questions\" AND t1.keyphrasename  =  \"Parsing\" AND t2.year  =  2014 AND t6.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t5",
            "ON",
            "t3.datasetid",
            "=",
            "t5.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "venue",
            "AS",
            "t6",
            "ON",
            "t6.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t4.keyphraseid",
            "=",
            "t1.keyphraseid",
            "WHERE",
            "t5.datasetname",
            "=",
            "``",
            "Jeopardy",
            "!",
            "Questions",
            "''",
            "AND",
            "t1.keyphrasename",
            "=",
            "``",
            "Parsing",
            "''",
            "AND",
            "t2.year",
            "=",
            "2014",
            "AND",
            "t6.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t5",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "where",
            "t5",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers about Parsing that used Jeopardy! Questions and were published at ACL 2014",
        "question_toks": [
            "papers",
            "about",
            "Parsing",
            "that",
            "used",
            "Jeopardy",
            "!",
            "Questions",
            "and",
            "were",
            "published",
            "at",
            "ACL",
            "2014"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"Jeopardy! Questions\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Parsing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.journalid FROM paper AS t3 JOIN journal AS t2 ON t3.journalid  =  t2.journalid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"linda shapiro\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.journalid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t3.journalid",
            "=",
            "t2.journalid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "linda",
            "shapiro",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "journalid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "journalid",
            "=",
            "t2",
            ".",
            "journalid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "in what journals does linda shapiro publish ?",
        "question_toks": [
            "in",
            "what",
            "journals",
            "does",
            "linda",
            "shapiro",
            "publish",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"linda shapiro\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.journalid FROM paper AS t3 JOIN journal AS t2 ON t3.journalid  =  t2.journalid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"linda shapiro\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.journalid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t3.journalid",
            "=",
            "t2.journalid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "linda",
            "shapiro",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "journalid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "journalid",
            "=",
            "t2",
            ".",
            "journalid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "Which journals did linda shapiro submit papers to ?",
        "question_toks": [
            "Which",
            "journals",
            "did",
            "linda",
            "shapiro",
            "submit",
            "papers",
            "to",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"linda shapiro\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "NIPS authors",
        "question_toks": [
            "NIPS",
            "authors"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "who are the authors at NIPS ?",
        "question_toks": [
            "who",
            "are",
            "the",
            "authors",
            "at",
            "NIPS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "who authored papers at NIPS ?",
        "question_toks": [
            "who",
            "authored",
            "papers",
            "at",
            "NIPS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "who publishes in NIPS ?",
        "question_toks": [
            "who",
            "publishes",
            "in",
            "NIPS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "who has papers at NIPS ?",
        "question_toks": [
            "who",
            "has",
            "papers",
            "at",
            "NIPS",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t4.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"deep learning\" GROUP BY t4.venueid ORDER BY COUNT ( t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t4.venueid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "GROUP",
            "BY",
            "t4.venueid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t4",
            ".",
            "venueid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "venueid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "which venue publishes the most papers about deep learning",
        "question_toks": [
            "which",
            "venue",
            "publishes",
            "the",
            "most",
            "papers",
            "about",
            "deep",
            "learning"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    1,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paper AS t3 JOIN journal AS t2 ON t3.journalid  =  t2.journalid JOIN paperkeyphrase AS t1 ON t3.paperid  =  t1.paperid WHERE t2.journalname  =  \"Cell\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t3.journalid",
            "=",
            "t2.journalid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t3.paperid",
            "=",
            "t1.paperid",
            "WHERE",
            "t2.journalname",
            "=",
            "``",
            "Cell",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "journalid",
            "=",
            "t2",
            ".",
            "journalid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "journalname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many publications were added to the Cell journal this year ?",
        "question_toks": [
            "How",
            "many",
            "publications",
            "were",
            "added",
            "to",
            "the",
            "Cell",
            "journal",
            "this",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Cell\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paper AS t3 JOIN journal AS t2 ON t3.journalid  =  t2.journalid JOIN paperkeyphrase AS t1 ON t3.paperid  =  t1.paperid WHERE t2.journalname  =  \"Cell\" AND t3.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t3.journalid",
            "=",
            "t2.journalid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t3.paperid",
            "=",
            "t1.paperid",
            "WHERE",
            "t2.journalname",
            "=",
            "``",
            "Cell",
            "''",
            "AND",
            "t3.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "journalid",
            "=",
            "t2",
            ".",
            "journalid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "journalname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many articles were published in the Cell journal in 2015 ?",
        "question_toks": [
            "How",
            "many",
            "articles",
            "were",
            "published",
            "in",
            "the",
            "Cell",
            "journal",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        8
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Cell\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Donald E Knuth\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.title",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Donald",
            "E",
            "Knuth",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "What are all the publication titles by Donald E Knuth ?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "publication",
            "titles",
            "by",
            "Donald",
            "E",
            "Knuth",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Donald E Knuth\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ali farhadi\" AND t3.year  =  2016 AND t4.venuename  =  \"eccv\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ali",
            "farhadi",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "eccv",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers published in eccv 2016 by ali farhadi",
        "question_toks": [
            "papers",
            "published",
            "in",
            "eccv",
            "2016",
            "by",
            "ali",
            "farhadi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ali farhadi\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"eccv\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ali farhadi\" AND t3.year  =  2016 AND t4.venuename  =  \"eccv\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ali",
            "farhadi",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "eccv",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Does ali farhadi have a paper in eccv in 2016 ?",
        "question_toks": [
            "Does",
            "ali",
            "farhadi",
            "have",
            "a",
            "paper",
            "in",
            "eccv",
            "in",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ali farhadi\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"eccv\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"ali farhadi\" AND t3.year  =  2016 AND t4.venuename  =  \"eccv\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "ali",
            "farhadi",
            "''",
            "AND",
            "t3.year",
            "=",
            "2016",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "eccv",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "papers of ali farhadi in eccv 2016",
        "question_toks": [
            "papers",
            "of",
            "ali",
            "farhadi",
            "in",
            "eccv",
            "2016"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"ali farhadi\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"eccv\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t1 ON t3.datasetid  =  t1.datasetid JOIN paperkeyphrase AS t2 ON t2.paperid  =  t3.paperid JOIN keyphrase AS t4 ON t2.keyphraseid  =  t4.keyphraseid WHERE t1.datasetname  =  \"YAGO\" AND t4.keyphrasename  =  \"Semantic Data\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t3.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "keyphrase",
            "AS",
            "t4",
            "ON",
            "t2.keyphraseid",
            "=",
            "t4.keyphraseid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "YAGO",
            "''",
            "AND",
            "t4.keyphrasename",
            "=",
            "``",
            "Semantic",
            "Data",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paperkeyphrase",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "keyphrase",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t4",
            ".",
            "keyphraseid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What are some papers dealing with Semantic Data in YAGO ?",
        "question_toks": [
            "What",
            "are",
            "some",
            "papers",
            "dealing",
            "with",
            "Semantic",
            "Data",
            "in",
            "YAGO",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"YAGO\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Semantic Data\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"chi\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "chi",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "Who has published more papers in chi ?",
        "question_toks": [
            "Who",
            "has",
            "published",
            "more",
            "papers",
            "in",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"chi\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "chi",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "Who has written the most papers at chi ?",
        "question_toks": [
            "Who",
            "has",
            "written",
            "the",
            "most",
            "papers",
            "at",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"chi\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "chi",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "how is the most prolific author in chi ?",
        "question_toks": [
            "how",
            "is",
            "the",
            "most",
            "prolific",
            "author",
            "in",
            "chi",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid )  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"chi\" GROUP BY t1.authorid ORDER BY COUNT ( DISTINCT t2.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "chi",
            "''",
            "GROUP",
            "BY",
            "t1.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "who published the most at chi",
        "question_toks": [
            "who",
            "published",
            "the",
            "most",
            "at",
            "chi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"chi\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname LIKE \"Ye Cao\" GROUP BY t3.year ORDER BY COUNT ( DISTINCT t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "LIKE",
            "``",
            "Ye",
            "Cao",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "like",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "In what year did Ye Cao publish the most papers",
        "question_toks": [
            "In",
            "what",
            "year",
            "did",
            "Ye",
            "Cao",
            "publish",
            "the",
            "most",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ye Cao\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname LIKE \"Ye Cao\" GROUP BY t3.year ORDER BY COUNT ( DISTINCT t3.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "LIKE",
            "``",
            "Ye",
            "Cao",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "like",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "What year did Ye Cao publish the most papers",
        "question_toks": [
            "What",
            "year",
            "did",
            "Ye",
            "Cao",
            "publish",
            "the",
            "most",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ye Cao\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.datasetname  =  \"ImageNet\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value"
        ],
        "question": "conferences that mention ImageNet",
        "question_toks": [
            "conferences",
            "that",
            "mention",
            "ImageNet"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" GROUP BY t3.year ORDER BY t3.year ASC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            "ASC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "asc"
        ],
        "question": "first deep learning paper",
        "question_toks": [
            "first",
            "deep",
            "learning",
            "paper"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" GROUP BY t3.year ORDER BY t3.year ASC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            "ASC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "asc"
        ],
        "question": "What was the first paper on deep learning written ?",
        "question_toks": [
            "What",
            "was",
            "the",
            "first",
            "paper",
            "on",
            "deep",
            "learning",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" GROUP BY t3.year ORDER BY t3.year ASC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            "ASC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "asc"
        ],
        "question": "When was deep learning proposed ?",
        "question_toks": [
            "When",
            "was",
            "deep",
            "learning",
            "proposed",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"deep learning\" GROUP BY t3.year ORDER BY t3.year ASC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "deep",
            "learning",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            "ASC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "asc"
        ],
        "question": "when was the first deep learning paper published ?",
        "question_toks": [
            "when",
            "was",
            "the",
            "first",
            "deep",
            "learning",
            "paper",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"deep learning\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "asc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paper AS t2 JOIN journal AS t1 ON t2.journalid  =  t1.journalid WHERE t1.journalname  =  \"Academic radiology\" AND t2.year  =  1995;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paper",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.journalid",
            "=",
            "t1.journalid",
            "WHERE",
            "t1.journalname",
            "=",
            "``",
            "Academic",
            "radiology",
            "''",
            "AND",
            "t2.year",
            "=",
            "1995",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "journalid",
            "=",
            "t1",
            ".",
            "journalid",
            "where",
            "t1",
            ".",
            "journalname",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "what papers were published in Academic radiology in 1995 ?",
        "question_toks": [
            "what",
            "papers",
            "were",
            "published",
            "in",
            "Academic",
            "radiology",
            "in",
            "1995",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    "\"Academic radiology\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    1995.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citingpaperid WHERE t1.keyphrasename  =  \"parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "what papers do parsing papers typically cite ?",
        "question_toks": [
            "what",
            "papers",
            "do",
            "parsing",
            "papers",
            "typically",
            "cite",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t4.citedpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citingpaperid WHERE t1.keyphrasename  =  \"parsing\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t4.citedpaperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citingpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "parsing",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t4",
            ".",
            "citedpaperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citingpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "papers typically cited by parsing papers",
        "question_toks": [
            "papers",
            "typically",
            "cited",
            "by",
            "parsing",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"parsing\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Trophic Cascade\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Trophic",
            "Cascade",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "venue for Trophic Cascade",
        "question_toks": [
            "venue",
            "for",
            "Trophic",
            "Cascade"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Trophic Cascade\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Trophic Cascade\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Trophic",
            "Cascade",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "conferences for Trophic Cascade",
        "question_toks": [
            "conferences",
            "for",
            "Trophic",
            "Cascade"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Trophic Cascade\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Trophic Cascade\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Trophic",
            "Cascade",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "what conferences are related to Trophic Cascade",
        "question_toks": [
            "what",
            "conferences",
            "are",
            "related",
            "to",
            "Trophic",
            "Cascade"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Trophic Cascade\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Trophic Cascade\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Trophic",
            "Cascade",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What was the conference name that approved Trophic Cascade ?",
        "question_toks": [
            "What",
            "was",
            "the",
            "conference",
            "name",
            "that",
            "approved",
            "Trophic",
            "Cascade",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Trophic Cascade\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"question answering\" AND t3.year  >=  2011;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "question",
            "answering",
            "''",
            "AND",
            "t3.year",
            ">",
            "=",
            "2011",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "=",
            "value"
        ],
        "question": "How many papers were written on question answering in 2011 through 2016 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "were",
            "written",
            "on",
            "question",
            "answering",
            "in",
            "2011",
            "through",
            "2016",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"question answering\"",
                    null
                ],
                "and",
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2011.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid )  ,  t3.venueid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid WHERE t1.keyphrasename  =  \"NLP\" GROUP BY t3.venueid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.citingpaperid",
            ")",
            ",",
            "t3.venueid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "NLP",
            "''",
            "GROUP",
            "BY",
            "t3.venueid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t3",
            ".",
            "venueid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "venueid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "What are the best NLP conferences ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "best",
            "NLP",
            "conferences",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"NLP\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid  ,  t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t3.venuename  =  \"ACL\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            ",",
            "t1.authorid",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t3.venuename",
            "=",
            "``",
            "ACL",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "ACL papers by author",
        "question_toks": [
            "ACL",
            "papers",
            "by",
            "author"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid  =  t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid )  >  10;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.citingpaperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.citedpaperid",
            "GROUP",
            "BY",
            "t2.citingpaperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.citedpaperid",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "citingpaperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "citedpaperid",
            "group",
            "by",
            "t2",
            ".",
            "citingpaperid",
            "having",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "citedpaperid",
            ")",
            ">",
            "value"
        ],
        "question": "papers with more than 10 citations",
        "question_toks": [
            "papers",
            "with",
            "more",
            "than",
            "10",
            "citations"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            19,
                            true
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t1",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t1",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Which authors published papers in 2015 ?",
        "question_toks": [
            "Which",
            "authors",
            "published",
            "papers",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t1",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t1",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "who wrote papers in 2015",
        "question_toks": [
            "who",
            "wrote",
            "papers",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphrasename  ,  SUM ( t3.numcitedby ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Brian DeRenzi\" GROUP BY t1.keyphrasename ORDER BY SUM ( t3.numcitedby ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphrasename",
            ",",
            "SUM",
            "(",
            "t3.numcitedby",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Brian",
            "DeRenzi",
            "''",
            "GROUP",
            "BY",
            "t1.keyphrasename",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "t3.numcitedby",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphrasename",
            ",",
            "sum",
            "(",
            "t3",
            ".",
            "numcitedby",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphrasename",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "numcitedby",
            ")",
            "desc"
        ],
        "question": "what keyphrase does Brian DeRenzi write about that gets most citations ?",
        "question_toks": [
            "what",
            "keyphrase",
            "does",
            "Brian",
            "DeRenzi",
            "write",
            "about",
            "that",
            "gets",
            "most",
            "citations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Brian DeRenzi\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphrasename  ,  SUM ( t3.numcitedby ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t5 ON t4.authorid  =  t5.authorid WHERE t5.authorname  =  \"Brian DeRenzi\" GROUP BY t1.keyphrasename ORDER BY SUM ( t3.numcitedby ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphrasename",
            ",",
            "SUM",
            "(",
            "t3.numcitedby",
            ")",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t5",
            "ON",
            "t4.authorid",
            "=",
            "t5.authorid",
            "WHERE",
            "t5.authorname",
            "=",
            "``",
            "Brian",
            "DeRenzi",
            "''",
            "GROUP",
            "BY",
            "t1.keyphrasename",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "t3.numcitedby",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphrasename",
            ",",
            "sum",
            "(",
            "t3",
            ".",
            "numcitedby",
            ")",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t5",
            ".",
            "authorid",
            "where",
            "t5",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyphrasename",
            "order",
            "by",
            "sum",
            "(",
            "t3",
            ".",
            "numcitedby",
            ")",
            "desc"
        ],
        "question": "main topics of work by Brian DeRenzi",
        "question_toks": [
            "main",
            "topics",
            "of",
            "work",
            "by",
            "Brian",
            "DeRenzi"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Brian DeRenzi\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    10,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            16,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid )  ,  t1.authorid FROM writes AS t1 JOIN paper AS t2 ON t1.paperid  =  t2.paperid GROUP BY t1.authorid HAVING COUNT ( t2.paperid )  >=  5;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ",",
            "t1.authorid",
            "FROM",
            "writes",
            "AS",
            "t1",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "GROUP",
            "BY",
            "t1.authorid",
            "HAVING",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            ">",
            "=",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ",",
            "t1",
            ".",
            "authorid",
            "from",
            "writes",
            "as",
            "t1",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "group",
            "by",
            "t1",
            ".",
            "authorid",
            "having",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "authors with at least 5 papers",
        "question_toks": [
            "authors",
            "with",
            "at",
            "least",
            "5",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT paperid FROM paper WHERE YEAR != 2015;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "paperid",
            "FROM",
            "paper",
            "WHERE",
            "YEAR",
            "!",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "paperid",
            "from",
            "paper",
            "where",
            "year",
            "!",
            "=",
            "value"
        ],
        "question": "papers that were not published in the last year",
        "question_toks": [
            "papers",
            "that",
            "were",
            "not",
            "published",
            "in",
            "the",
            "last",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Michael Stonebraker\" AND t5.keyphrasename  =  \"GIS Database\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Michael",
            "Stonebraker",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "GIS",
            "Database",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "When was Michael Stonebraker GIS Database published ?",
        "question_toks": [
            "When",
            "was",
            "Michael",
            "Stonebraker",
            "GIS",
            "Database",
            "published",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Michael Stonebraker\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"GIS Database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Michael Stonebraker\" AND t5.keyphrasename  =  \"GIS Database\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Michael",
            "Stonebraker",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "GIS",
            "Database",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "When did Michael Stonebraker publish his GIS Database paper ?",
        "question_toks": [
            "When",
            "did",
            "Michael",
            "Stonebraker",
            "publish",
            "his",
            "GIS",
            "Database",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Michael Stonebraker\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"GIS Database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN writes AS t4 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname  =  \"Michael Stonebraker\" AND t5.keyphrasename  =  \"GIS Database\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Michael",
            "Stonebraker",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "GIS",
            "Database",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "When does Michael Stonebraker publish the GIS Database paper ?",
        "question_toks": [
            "When",
            "does",
            "Michael",
            "Stonebraker",
            "publish",
            "the",
            "GIS",
            "Database",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Michael Stonebraker\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"GIS Database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"Trophic Cascade\" AND t3.year  =  2010 GROUP BY t3.journalid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Trophic",
            "Cascade",
            "''",
            "AND",
            "t3.year",
            "=",
            "2010",
            "GROUP",
            "BY",
            "t3.journalid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "journalid"
        ],
        "question": "In 2010 what journal published an article about Trophic Cascade ?",
        "question_toks": [
            "In",
            "2010",
            "what",
            "journal",
            "published",
            "an",
            "article",
            "about",
            "Trophic",
            "Cascade",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Trophic Cascade\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citedpaperid  ,  COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2016 AND t2.venuename  =  \"CVPR\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2016",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "CVPR",
            "''",
            "GROUP",
            "BY",
            "t3.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "What is the most popular paper this year in CVPR ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "popular",
            "paper",
            "this",
            "year",
            "in",
            "CVPR",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2016.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"CVPR\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.citedpaperid )  ,  t3.year FROM paper AS t3 JOIN cite AS t4 ON t3.paperid  =  t4.citedpaperid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"luke zettlemoyer\" GROUP BY t3.year;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.citedpaperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t3.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "luke",
            "zettlemoyer",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "citedpaperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "How many citations does luke zettlemoyer have per year",
        "question_toks": [
            "How",
            "many",
            "citations",
            "does",
            "luke",
            "zettlemoyer",
            "have",
            "per",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"luke zettlemoyer\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t1 ON t3.datasetid  =  t1.datasetid JOIN paper AS t4 ON t4.paperid  =  t3.paperid JOIN writes AS t2 ON t2.paperid  =  t4.paperid WHERE t1.datasetname  =  \"ImageNet\" GROUP BY t2.paperid;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t3",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t3.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            "GROUP",
            "BY",
            "t2.paperid",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t3",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "paperid"
        ],
        "question": "authors working on ImageNet",
        "question_toks": [
            "authors",
            "working",
            "on",
            "ImageNet"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT paperid  ,  title FROM paper WHERE title LIKE \"the effects of juicing for cancer patients\" AND YEAR  >  2006;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "paperid",
            ",",
            "title",
            "FROM",
            "paper",
            "WHERE",
            "title",
            "LIKE",
            "``",
            "the",
            "effects",
            "of",
            "juicing",
            "for",
            "cancer",
            "patients",
            "''",
            "AND",
            "YEAR",
            ">",
            "2006",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "paperid",
            ",",
            "title",
            "from",
            "paper",
            "where",
            "title",
            "like",
            "value",
            "and",
            "year",
            ">",
            "value"
        ],
        "question": "What articles have been published since 2006 about the effects of juicing for cancer patients ?",
        "question_toks": [
            "What",
            "articles",
            "have",
            "been",
            "published",
            "since",
            "2006",
            "about",
            "the",
            "effects",
            "of",
            "juicing",
            "for",
            "cancer",
            "patients",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"the effects of juicing for cancer patients\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2006.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.paperid FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid  =  t3.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t5.paperid JOIN paper AS t2 ON t4.paperid  =  t2.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid JOIN venue AS t6 ON t6.venueid  =  t2.venueid WHERE t1.authorname  =  \"Eric C. Kerrigan\" AND t3.keyphrasename  =  \"Liquid\" AND t6.venuename  =  \"Automatica\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.paperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t5",
            "JOIN",
            "keyphrase",
            "AS",
            "t3",
            "ON",
            "t5.keyphraseid",
            "=",
            "t3.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t5.paperid",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t4.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "venue",
            "AS",
            "t6",
            "ON",
            "t6.venueid",
            "=",
            "t2.venueid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Eric",
            "C.",
            "Kerrigan",
            "''",
            "AND",
            "t3.keyphrasename",
            "=",
            "``",
            "Liquid",
            "''",
            "AND",
            "t6.venuename",
            "=",
            "``",
            "Automatica",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "paperid",
            "from",
            "paperkeyphrase",
            "as",
            "t5",
            "join",
            "keyphrase",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "keyphraseid",
            "=",
            "t3",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "venue",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Eric C. Kerrigan 's Liquid Automatica paper",
        "question_toks": [
            "Eric",
            "C.",
            "Kerrigan",
            "'s",
            "Liquid",
            "Automatica",
            "paper"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Eric C. Kerrigan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Liquid\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Automatica\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.venueid  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"sergey levine\" GROUP BY t3.venueid  ,  t3.year ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.venueid",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "sergey",
            "levine",
            "''",
            "GROUP",
            "BY",
            "t3.venueid",
            ",",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "venueid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "venueid",
            ",",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "Where did sergey levine publish his last paper ?",
        "question_toks": [
            "Where",
            "did",
            "sergey",
            "levine",
            "publish",
            "his",
            "last",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"sergey levine\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    13,
                    false
                ],
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid JOIN writes AS t5 ON t5.paperid  =  t3.paperid JOIN author AS t1 ON t5.authorid  =  t1.authorid WHERE t1.authorname  =  \"dan klein\" AND t4.venuename  =  \"emnlp\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.keyphraseid",
            "FROM",
            "paper",
            "AS",
            "t3",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t2",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t5",
            "ON",
            "t5.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t5.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "dan",
            "klein",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "emnlp",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "keyphraseid",
            "from",
            "paper",
            "as",
            "t3",
            "join",
            "paperkeyphrase",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "keyphrases used by dan klein in his emnlp papers",
        "question_toks": [
            "keyphrases",
            "used",
            "by",
            "dan",
            "klein",
            "in",
            "his",
            "emnlp",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"dan klein\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"emnlp\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.authorid FROM paperkeyphrase AS t1 JOIN keyphrase AS t2 ON t1.keyphraseid  =  t2.keyphraseid JOIN paper AS t4 ON t4.paperid  =  t1.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t2.keyphrasename  =  \"Neutralizing Antibody\" AND t4.year  =  2012 GROUP BY t3.authorid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t1",
            "JOIN",
            "keyphrase",
            "AS",
            "t2",
            "ON",
            "t1.keyphraseid",
            "=",
            "t2.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t2.keyphrasename",
            "=",
            "``",
            "Neutralizing",
            "Antibody",
            "''",
            "AND",
            "t4.year",
            "=",
            "2012",
            "GROUP",
            "BY",
            "t3.authorid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t1",
            "join",
            "keyphrase",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "keyphraseid",
            "=",
            "t2",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "authorid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "Who are the prominent researchers in Neutralizing Antibody in 2012 ?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "prominent",
            "researchers",
            "in",
            "Neutralizing",
            "Antibody",
            "in",
            "2012",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Neutralizing Antibody\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    25,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  \"ImageNet\" AND t3.year  =  2014 AND t4.venuename  =  \"eccv\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            "AND",
            "t3.year",
            "=",
            "2014",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "eccv",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "the papers at eccv in 2014 using ImageNet dataset",
        "question_toks": [
            "the",
            "papers",
            "at",
            "eccv",
            "in",
            "2014",
            "using",
            "ImageNet",
            "dataset"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"eccv\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  \"ImageNet\" AND t3.year  =  2014 AND t4.venuename  =  \"eccv\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            "AND",
            "t3.year",
            "=",
            "2014",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "eccv",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "which papers in eccv 2014 use ImageNet ?",
        "question_toks": [
            "which",
            "papers",
            "in",
            "eccv",
            "2014",
            "use",
            "ImageNet",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"eccv\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  \"ImageNet\" AND t3.year  =  2014 AND t4.venuename  =  \"eccv\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            "AND",
            "t3.year",
            "=",
            "2014",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "eccv",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "eccv 2014 papers using ImageNet",
        "question_toks": [
            "eccv",
            "2014",
            "papers",
            "using",
            "ImageNet"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"eccv\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t5.citingpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN cite AS t5 ON t2.paperid  =  t5.citingpaperid JOIN paper AS t3 ON t3.paperid  =  t5.citedpaperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.keyphrasename  =  \"Euclidean Distance\" AND t4.venuename  =  \"NIPS\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t5.citingpaperid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "cite",
            "AS",
            "t5",
            "ON",
            "t2.paperid",
            "=",
            "t5.citingpaperid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t5.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "Euclidean",
            "Distance",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "NIPS",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t5",
            ".",
            "citingpaperid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "cite",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "citingpaperid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "Euclidean Distance papers citing NIPS papers",
        "question_toks": [
            "Euclidean",
            "Distance",
            "papers",
            "citing",
            "NIPS",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Euclidean Distance\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"NIPS\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t4.paperid )  ,  t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t4 ON t4.paperid  =  t2.paperid JOIN writes AS t3 ON t3.paperid  =  t4.paperid WHERE t1.datasetname  =  \"ImageNet\" GROUP BY t3.paperid ORDER BY COUNT ( t4.paperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            ",",
            "t3.paperid",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t4.paperid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            "GROUP",
            "BY",
            "t3.paperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t4.paperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "paperid",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "paperid",
            "order",
            "by",
            "count",
            "(",
            "t4",
            ".",
            "paperid",
            ")",
            "desc"
        ],
        "question": "top authors working on ImageNet ?",
        "question_toks": [
            "top",
            "authors",
            "working",
            "on",
            "ImageNet",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT ( t1.paperid )  ,  COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t1.year  =  2012 AND t2.venuename  =  \"ACL\" GROUP BY t1.paperid HAVING COUNT ( t3.citingpaperid )  >  7;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "(",
            "t1.paperid",
            ")",
            ",",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t1.year",
            "=",
            "2012",
            "AND",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t1.paperid",
            "HAVING",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            ">",
            "7",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "(",
            "t1",
            ".",
            "paperid",
            ")",
            ",",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "paperid",
            "having",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            ">",
            "value"
        ],
        "question": "how many ACL 2012 papers have more than 7 citations ?",
        "question_toks": [
            "how",
            "many",
            "ACL",
            "2012",
            "papers",
            "have",
            "more",
            "than",
            "7",
            "citations",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ],
                    7.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid )  ,  t1.keyphraseid  ,  t2.paperid FROM paper AS t2 JOIN cite AS t4 ON t2.paperid  =  t4.citedpaperid JOIN paperkeyphrase AS t1 ON t2.paperid  =  t1.paperid JOIN venue AS t3 ON t3.venueid  =  t2.venueid WHERE t2.year  =  2012 AND t3.venuename  =  \"EMNLP-CoNLL\" GROUP BY t2.paperid  ,  t1.keyphraseid ORDER BY COUNT ( DISTINCT t4.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.citingpaperid",
            ")",
            ",",
            "t1.keyphraseid",
            ",",
            "t2.paperid",
            "FROM",
            "paper",
            "AS",
            "t2",
            "JOIN",
            "cite",
            "AS",
            "t4",
            "ON",
            "t2.paperid",
            "=",
            "t4.citedpaperid",
            "JOIN",
            "paperkeyphrase",
            "AS",
            "t1",
            "ON",
            "t2.paperid",
            "=",
            "t1.paperid",
            "JOIN",
            "venue",
            "AS",
            "t3",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "WHERE",
            "t2.year",
            "=",
            "2012",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "EMNLP-CoNLL",
            "''",
            "GROUP",
            "BY",
            "t2.paperid",
            ",",
            "t1.keyphraseid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "citingpaperid",
            ")",
            ",",
            "t1",
            ".",
            "keyphraseid",
            ",",
            "t2",
            ".",
            "paperid",
            "from",
            "paper",
            "as",
            "t2",
            "join",
            "cite",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "citedpaperid",
            "join",
            "paperkeyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t1",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "paperid",
            ",",
            "t1",
            ".",
            "keyphraseid",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "What was the topic of best paper in 2012 EMNLP-CoNLL ?",
        "question_toks": [
            "What",
            "was",
            "the",
            "topic",
            "of",
            "best",
            "paper",
            "in",
            "2012",
            "EMNLP-CoNLL",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"EMNLP-CoNLL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ],
                [
                    0,
                    23,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname != \"Noah Smith\" AND t3.year  >  2009 AND t2.paperid IN ( SELECT t2.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname LIKE \"Noah Smith\" );",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.paperid",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "!",
            "=",
            "``",
            "Noah",
            "Smith",
            "''",
            "AND",
            "t3.year",
            ">",
            "2009",
            "AND",
            "t2.paperid",
            "IN",
            "(",
            "SELECT",
            "t2.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "LIKE",
            "``",
            "Noah",
            "Smith",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "!",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "paperid",
            "in",
            "(",
            "select",
            "t2",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "like",
            "value",
            ")"
        ],
        "question": "How many papers has Noah Smith co-authored since 2009 ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "has",
            "Noah",
            "Smith",
            "co-authored",
            "since",
            "2009",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Noah Smith\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2009.0,
                    null
                ],
                "and",
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    9
                                ],
                                [
                                    "table_unit",
                                    1
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            25,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            24,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                9,
                                [
                                    0,
                                    [
                                        0,
                                        4,
                                        false
                                    ],
                                    null
                                ],
                                "\"Noah Smith\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"ACL\" GROUP BY t3.citingpaperid HAVING COUNT ( DISTINCT t3.citedpaperid )  >  2;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "ACL",
            "''",
            "GROUP",
            "BY",
            "t3.citingpaperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.citedpaperid",
            ")",
            ">",
            "2",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citingpaperid",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ")",
            ">",
            "value"
        ],
        "question": "Number of ACL papers with more than 2 citations",
        "question_toks": [
            "Number",
            "of",
            "ACL",
            "papers",
            "with",
            "more",
            "than",
            "2",
            "citations"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"ACL\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            19,
                            true
                        ],
                        null
                    ],
                    2.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.title FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid  =  t3.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t5.paperid JOIN paper AS t2 ON t4.paperid  =  t2.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid JOIN venue AS t6 ON t6.venueid  =  t2.venueid WHERE t1.authorname LIKE \"Eric C. Kerrigan\" AND t3.keyphrasename  =  \"Liquid\" AND t6.venuename  =  \"Automatica\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.title",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t5",
            "JOIN",
            "keyphrase",
            "AS",
            "t3",
            "ON",
            "t5.keyphraseid",
            "=",
            "t3.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t5.paperid",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t4.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "venue",
            "AS",
            "t6",
            "ON",
            "t6.venueid",
            "=",
            "t2.venueid",
            "WHERE",
            "t1.authorname",
            "LIKE",
            "``",
            "Eric",
            "C.",
            "Kerrigan",
            "''",
            "AND",
            "t3.keyphrasename",
            "=",
            "``",
            "Liquid",
            "''",
            "AND",
            "t6.venuename",
            "=",
            "``",
            "Automatica",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "title",
            "from",
            "paperkeyphrase",
            "as",
            "t5",
            "join",
            "keyphrase",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "keyphraseid",
            "=",
            "t3",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t5",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "venue",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "authorname",
            "like",
            "value",
            "and",
            "t3",
            ".",
            "keyphrasename",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "What is the name of Eric C. Kerrigan 's Liquid Automatica paper ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "Eric",
            "C.",
            "Kerrigan",
            "'s",
            "Liquid",
            "Automatica",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Eric C. Kerrigan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Liquid\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Automatica\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid  =  t1.datasetid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t1.datasetname  =  \"ImageNet\" AND t4.venuename  =  \"cvpr\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            "FROM",
            "paperdataset",
            "AS",
            "t2",
            "JOIN",
            "dataset",
            "AS",
            "t1",
            "ON",
            "t2.datasetid",
            "=",
            "t1.datasetid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t1.datasetname",
            "=",
            "``",
            "ImageNet",
            "''",
            "AND",
            "t4.venuename",
            "=",
            "``",
            "cvpr",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "paperdataset",
            "as",
            "t2",
            "join",
            "dataset",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "datasetid",
            "=",
            "t1",
            ".",
            "datasetid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t1",
            ".",
            "datasetname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many papers used ImageNet datasets in cvpr ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "used",
            "ImageNet",
            "datasets",
            "in",
            "cvpr",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"ImageNet\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"cvpr\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT venueid FROM venue WHERE venuename  =  \"Neuroscience\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "venueid",
            "FROM",
            "venue",
            "WHERE",
            "venuename",
            "=",
            "``",
            "Neuroscience",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "venueid",
            "from",
            "venue",
            "where",
            "venuename",
            "=",
            "value"
        ],
        "question": "What venues are for Neuroscience ?",
        "question_toks": [
            "What",
            "venues",
            "are",
            "for",
            "Neuroscience",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"Neuroscience\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT MAX ( t3.year ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Mary Crainie\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "MAX",
            "(",
            "t3.year",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Mary",
            "Crainie",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "max",
            "(",
            "t3",
            ".",
            "year",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value"
        ],
        "question": "When was the last time Mary Crainie published a paper ?",
        "question_toks": [
            "When",
            "was",
            "the",
            "last",
            "time",
            "Mary",
            "Crainie",
            "published",
            "a",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        1,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Mary Crainie\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.authorid FROM paperkeyphrase AS t6 JOIN keyphrase AS t3 ON t6.keyphraseid  =  t3.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t6.paperid JOIN writes AS t5 ON t5.paperid  =  t4.paperid JOIN author AS t1 ON t5.authorid  =  t1.authorid JOIN author AS t2 ON t4.authorid  =  t2.authorid WHERE t2.authorname  =  \"Philipp Koehn\" AND t3.keyphrasename  =  \"Machine Translation Output\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.authorid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t6",
            "JOIN",
            "keyphrase",
            "AS",
            "t3",
            "ON",
            "t6.keyphraseid",
            "=",
            "t3.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t6.paperid",
            "JOIN",
            "writes",
            "AS",
            "t5",
            "ON",
            "t5.paperid",
            "=",
            "t4.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t5.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.authorid",
            "=",
            "t2.authorid",
            "WHERE",
            "t2.authorname",
            "=",
            "``",
            "Philipp",
            "Koehn",
            "''",
            "AND",
            "t3.keyphrasename",
            "=",
            "``",
            "Machine",
            "Translation",
            "Output",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "authorid",
            "from",
            "paperkeyphrase",
            "as",
            "t6",
            "join",
            "keyphrase",
            "as",
            "t3",
            "on",
            "t6",
            ".",
            "keyphraseid",
            "=",
            "t3",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t6",
            ".",
            "paperid",
            "join",
            "writes",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "paperid",
            "=",
            "t4",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t2",
            ".",
            "authorid",
            "where",
            "t2",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "I want the co-authors of papers on Machine Translation Output with Philipp Koehn",
        "question_toks": [
            "I",
            "want",
            "the",
            "co-authors",
            "of",
            "papers",
            "on",
            "Machine",
            "Translation",
            "Output",
            "with",
            "Philipp",
            "Koehn"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Philipp Koehn\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Machine Translation Output\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM venue AS t4 JOIN paper AS t3 ON t4.venueid  =  t3.venueid JOIN writes AS t2 ON t2.paperid  =  t3.paperid JOIN author AS t1 ON t2.authorid  =  t1.authorid WHERE t1.authorname  =  \"Samuel Madden\" AND t4.venuename != \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t4",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Samuel",
            "Madden",
            "''",
            "AND",
            "t4.venuename",
            "!",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t4",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "venuename",
            "!",
            "=",
            "value"
        ],
        "question": "How many papers does Samuel Madden publish outside of PVLDB area ?",
        "question_toks": [
            "How",
            "many",
            "papers",
            "does",
            "Samuel",
            "Madden",
            "publish",
            "outside",
            "of",
            "PVLDB",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Samuel Madden\"",
                    null
                ],
                "and",
                [
                    false,
                    7,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.journalid  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Donald E Knuth\" GROUP BY t3.journalid  ,  t3.year ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.journalid",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Donald",
            "E",
            "Knuth",
            "''",
            "GROUP",
            "BY",
            "t3.journalid",
            ",",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "journalid",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "journalid",
            ",",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "which journal did Donald E Knuth publish his last paper ?",
        "question_toks": [
            "which",
            "journal",
            "did",
            "Donald",
            "E",
            "Knuth",
            "publish",
            "his",
            "last",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Donald E Knuth\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ],
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT venueid FROM paper WHERE title  =  \"Fracture of acrylic bone cement\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "venueid",
            "FROM",
            "paper",
            "WHERE",
            "title",
            "=",
            "``",
            "Fracture",
            "of",
            "acrylic",
            "bone",
            "cement",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "venueid",
            "from",
            "paper",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What is the venue of Fracture of acrylic bone cement ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "venue",
            "of",
            "Fracture",
            "of",
            "acrylic",
            "bone",
            "cement",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"Fracture of acrylic bone cement\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t2.paperid ) FROM venue AS t3 JOIN paper AS t2 ON t3.venueid  =  t2.venueid JOIN writes AS t1 ON t1.paperid  =  t2.paperid WHERE t2.year  =  2010 AND t3.venuename  =  \"sigcse\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t2.paperid",
            ")",
            "FROM",
            "venue",
            "AS",
            "t3",
            "JOIN",
            "paper",
            "AS",
            "t2",
            "ON",
            "t3.venueid",
            "=",
            "t2.venueid",
            "JOIN",
            "writes",
            "AS",
            "t1",
            "ON",
            "t1.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t2.year",
            "=",
            "2010",
            "AND",
            "t3.venuename",
            "=",
            "``",
            "sigcse",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t2",
            ".",
            "paperid",
            ")",
            "from",
            "venue",
            "as",
            "t3",
            "join",
            "paper",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "venueid",
            "=",
            "t2",
            ".",
            "venueid",
            "join",
            "writes",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "How many authors published at sigcse in 2010 ?",
        "question_toks": [
            "How",
            "many",
            "authors",
            "published",
            "at",
            "sigcse",
            "in",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"sigcse\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT title  ,  YEAR FROM paper WHERE title  =  \"A Switching Architecture For ISDN\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "title",
            ",",
            "YEAR",
            "FROM",
            "paper",
            "WHERE",
            "title",
            "=",
            "``",
            "A",
            "Switching",
            "Architecture",
            "For",
            "ISDN",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "title",
            ",",
            "year",
            "from",
            "paper",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What is the year of publication of \" A Switching Architecture For ISDN \" ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "year",
            "of",
            "publication",
            "of",
            "``",
            "A",
            "Switching",
            "Architecture",
            "For",
            "ISDN",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"A Switching Architecture For ISDN\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t1.keyphraseid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid JOIN venue AS t4 ON t4.venueid  =  t3.venueid WHERE t4.venuename  =  \"uist\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t1.keyphraseid",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "venue",
            "AS",
            "t4",
            "ON",
            "t4.venueid",
            "=",
            "t3.venueid",
            "WHERE",
            "t4.venuename",
            "=",
            "``",
            "uist",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t1",
            ".",
            "keyphraseid",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "venue",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "venueid",
            "=",
            "t3",
            ".",
            "venueid",
            "where",
            "t4",
            ".",
            "venuename",
            "=",
            "value"
        ],
        "question": "what keywords are used by papers at uist",
        "question_toks": [
            "what",
            "keywords",
            "are",
            "used",
            "by",
            "papers",
            "at",
            "uist"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"uist\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.paperid FROM writes AS t2 JOIN author AS t1 ON t2.authorid  =  t1.authorid JOIN paper AS t3 ON t2.paperid  =  t3.paperid WHERE t1.authorname  =  \"Su-In Lee\" AND t3.year  <  2012;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.paperid",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.authorid",
            "=",
            "t1.authorid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t2.paperid",
            "=",
            "t3.paperid",
            "WHERE",
            "t1.authorname",
            "=",
            "``",
            "Su-In",
            "Lee",
            "''",
            "AND",
            "t3.year",
            "<",
            "2012",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "paperid",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "authorname",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "Give me the papers written by Su-In Lee before 2012 .",
        "question_toks": [
            "Give",
            "me",
            "the",
            "papers",
            "written",
            "by",
            "Su-In",
            "Lee",
            "before",
            "2012",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Su-In Lee\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT COUNT ( t3.paperid )  ,  t3.year FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid  =  t1.keyphraseid JOIN paper AS t3 ON t3.paperid  =  t2.paperid WHERE t1.keyphrasename  =  \"semantic parsing\" GROUP BY t3.year ORDER BY t3.year DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "COUNT",
            "(",
            "t3.paperid",
            ")",
            ",",
            "t3.year",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t1",
            "ON",
            "t2.keyphraseid",
            "=",
            "t1.keyphraseid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t3.paperid",
            "=",
            "t2.paperid",
            "WHERE",
            "t1.keyphrasename",
            "=",
            "``",
            "semantic",
            "parsing",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            "ORDER",
            "BY",
            "t3.year",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "count",
            "(",
            "t3",
            ".",
            "paperid",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t1",
            ".",
            "keyphraseid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "where",
            "t1",
            ".",
            "keyphrasename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year",
            "order",
            "by",
            "t3",
            ".",
            "year",
            "desc"
        ],
        "question": "papers in semantic parsing for each year",
        "question_toks": [
            "papers",
            "in",
            "semantic",
            "parsing",
            "for",
            "each",
            "year"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"semantic parsing\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    14,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid  =  t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid )  >=  5;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.citingpaperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.citedpaperid",
            "GROUP",
            "BY",
            "t2.citingpaperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.citedpaperid",
            ")",
            ">",
            "=",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "citingpaperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "citedpaperid",
            "group",
            "by",
            "t2",
            ".",
            "citingpaperid",
            "having",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "citedpaperid",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "papers with at least 5 citations",
        "question_toks": [
            "papers",
            "with",
            "at",
            "least",
            "5",
            "citations"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            19,
                            true
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t2.citingpaperid FROM paper AS t1 JOIN cite AS t2 ON t1.paperid  =  t2.citedpaperid GROUP BY t2.citingpaperid HAVING COUNT ( DISTINCT t2.citedpaperid )  >=  5;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t2.citingpaperid",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t2",
            "ON",
            "t1.paperid",
            "=",
            "t2.citedpaperid",
            "GROUP",
            "BY",
            "t2.citingpaperid",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.citedpaperid",
            ")",
            ">",
            "=",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t2",
            ".",
            "citingpaperid",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "citedpaperid",
            "group",
            "by",
            "t2",
            ".",
            "citingpaperid",
            "having",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "citedpaperid",
            ")",
            ">",
            "=",
            "value"
        ],
        "question": "papers cited by at least 5 papers",
        "question_toks": [
            "papers",
            "cited",
            "by",
            "at",
            "least",
            "5",
            "papers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    18,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            3,
                            19,
                            true
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.citedpaperid  ,  COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid  =  t3.citedpaperid JOIN venue AS t2 ON t2.venueid  =  t1.venueid WHERE t2.venuename  =  \"sigcomm\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t3.citingpaperid ) DESC;",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.citedpaperid",
            ",",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "FROM",
            "paper",
            "AS",
            "t1",
            "JOIN",
            "cite",
            "AS",
            "t3",
            "ON",
            "t1.paperid",
            "=",
            "t3.citedpaperid",
            "JOIN",
            "venue",
            "AS",
            "t2",
            "ON",
            "t2.venueid",
            "=",
            "t1.venueid",
            "WHERE",
            "t2.venuename",
            "=",
            "``",
            "sigcomm",
            "''",
            "GROUP",
            "BY",
            "t3.citedpaperid",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "t3.citingpaperid",
            ")",
            "DESC",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "citedpaperid",
            ",",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "from",
            "paper",
            "as",
            "t1",
            "join",
            "cite",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "citedpaperid",
            "join",
            "venue",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "venueid",
            "=",
            "t1",
            ".",
            "venueid",
            "where",
            "t2",
            ".",
            "venuename",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "citedpaperid",
            "order",
            "by",
            "count",
            "(",
            "t3",
            ".",
            "citingpaperid",
            ")",
            "desc"
        ],
        "question": "What is the most cited paper at sigcomm ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "most",
            "cited",
            "paper",
            "at",
            "sigcomm",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                1,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                18,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"sigcomm\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "scholar",
        "query": "SELECT DISTINCT t3.title FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid  =  t5.keyphraseid JOIN writes AS t4 ON t4.paperid  =  t2.paperid JOIN paper AS t3 ON t4.paperid  =  t3.paperid JOIN author AS t1 ON t4.authorid  =  t1.authorid WHERE t1.authorname LIKE \"Ranjit Jhala\" AND t5.keyphrasename  =  \"Liquid Haskell\";",
        "query_toks": [
            "SELECT",
            "DISTINCT",
            "t3.title",
            "FROM",
            "paperkeyphrase",
            "AS",
            "t2",
            "JOIN",
            "keyphrase",
            "AS",
            "t5",
            "ON",
            "t2.keyphraseid",
            "=",
            "t5.keyphraseid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.paperid",
            "=",
            "t2.paperid",
            "JOIN",
            "paper",
            "AS",
            "t3",
            "ON",
            "t4.paperid",
            "=",
            "t3.paperid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.authorid",
            "=",
            "t1.authorid",
            "WHERE",
            "t1.authorname",
            "LIKE",
            "``",
            "Ranjit",
            "Jhala",
            "''",
            "AND",
            "t5.keyphrasename",
            "=",
            "``",
            "Liquid",
            "Haskell",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "distinct",
            "t3",
            ".",
            "title",
            "from",
            "paperkeyphrase",
            "as",
            "t2",
            "join",
            "keyphrase",
            "as",
            "t5",
            "on",
            "t2",
            ".",
            "keyphraseid",
            "=",
            "t5",
            ".",
            "keyphraseid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t2",
            ".",
            "paperid",
            "join",
            "paper",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "paperid",
            "=",
            "t3",
            ".",
            "paperid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "authorid",
            "=",
            "t1",
            ".",
            "authorid",
            "where",
            "t1",
            ".",
            "authorname",
            "like",
            "value",
            "and",
            "t5",
            ".",
            "keyphrasename",
            "=",
            "value"
        ],
        "question": "What is the name of Ranjit Jhala 's Liquid Haskell paper ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "name",
            "of",
            "Ranjit",
            "Jhala",
            "'s",
            "Liquid",
            "Haskell",
            "paper",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                true,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    9,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Ranjit Jhala\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    "\"Liquid Haskell\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT name FROM business WHERE rating  >  4.5;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "business",
            "WHERE",
            "rating",
            ">",
            "4.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "business",
            "where",
            "rating",
            ">",
            "value"
        ],
        "question": "List all the businesses with more than 4.5 stars",
        "question_toks": [
            "List",
            "all",
            "the",
            "businesses",
            "with",
            "more",
            "than",
            "4.5",
            "stars"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    4.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT name FROM business WHERE rating  =  3.5;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "business",
            "WHERE",
            "rating",
            "=",
            "3.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "business",
            "where",
            "rating",
            "=",
            "value"
        ],
        "question": "List all businesses with rating 3.5",
        "question_toks": [
            "List",
            "all",
            "businesses",
            "with",
            "rating",
            "3.5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT user_id FROM USER WHERE name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "user_id",
            "FROM",
            "USER",
            "WHERE",
            "name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "user_id",
            "from",
            "user",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "List all user ids with name Michelle",
        "question_toks": [
            "List",
            "all",
            "user",
            "ids",
            "with",
            "name",
            "Michelle"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT state FROM business WHERE name  =  \"Whataburger\";",
        "query_toks": [
            "SELECT",
            "state",
            "FROM",
            "business",
            "WHERE",
            "name",
            "=",
            "``",
            "Whataburger",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "state",
            "from",
            "business",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Find all states in which there is a Whataburger",
        "question_toks": [
            "Find",
            "all",
            "states",
            "in",
            "which",
            "there",
            "is",
            "a",
            "Whataburger"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Whataburger\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"MGM Grand Buffet\" AND t2.category_name  =  \"category_category_name0\";",
        "query_toks": [
            "SELECT",
            "t1.city",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "MGM",
            "Grand",
            "Buffet",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "category_category_name0",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all cities in which there is a restaurant called \" MGM Grand Buffet \"",
        "question_toks": [
            "Find",
            "all",
            "cities",
            "in",
            "which",
            "there",
            "is",
            "a",
            "restaurant",
            "called",
            "``",
            "MGM",
            "Grand",
            "Buffet",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"MGM Grand Buffet\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"category_category_name0\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT city FROM business WHERE rating  <  1.5;",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "business",
            "WHERE",
            "rating",
            "<",
            "1.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "business",
            "where",
            "rating",
            "<",
            "value"
        ],
        "question": "Find the cities of businesses rated below 1.5",
        "question_toks": [
            "Find",
            "the",
            "cities",
            "of",
            "businesses",
            "rated",
            "below",
            "1.5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    1.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT city FROM business WHERE name  =  \"Taj Mahal\";",
        "query_toks": [
            "SELECT",
            "city",
            "FROM",
            "business",
            "WHERE",
            "name",
            "=",
            "``",
            "Taj",
            "Mahal",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "city",
            "from",
            "business",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Find all cities which has a \" Taj Mahal \" .",
        "question_toks": [
            "Find",
            "all",
            "cities",
            "which",
            "has",
            "a",
            "``",
            "Taj",
            "Mahal",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Taj Mahal\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT text FROM review WHERE rating  <  1;",
        "query_toks": [
            "SELECT",
            "text",
            "FROM",
            "review",
            "WHERE",
            "rating",
            "<",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "text",
            "from",
            "review",
            "where",
            "rating",
            "<",
            "value"
        ],
        "question": "List all the reviews which rated a business less than 1",
        "question_toks": [
            "List",
            "all",
            "the",
            "reviews",
            "which",
            "rated",
            "a",
            "business",
            "less",
            "than",
            "1"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    1.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.rating  >  3.5 AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.rating",
            ">",
            "3.5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "List all the restaurant rated more than 3.5",
        "question_toks": [
            "List",
            "all",
            "the",
            "restaurant",
            "rated",
            "more",
            "than",
            "3.5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"Taj Mahal\" AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.city",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Taj",
            "Mahal",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "find all cities which has a \" Taj Mahal \" restaurant",
        "question_toks": [
            "find",
            "all",
            "cities",
            "which",
            "has",
            "a",
            "``",
            "Taj",
            "Mahal",
            "``",
            "restaurant"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Taj Mahal\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.text FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  \"Niloofar\";",
        "query_toks": [
            "SELECT",
            "t1.text",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "review",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Niloofar",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "text",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "review",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "list all the reviews by Niloofar",
        "question_toks": [
            "list",
            "all",
            "the",
            "reviews",
            "by",
            "Niloofar"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Niloofar\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t3.name  =  \"Niloofar\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Niloofar",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "list all the businesses which have a review by Niloofar",
        "question_toks": [
            "list",
            "all",
            "the",
            "businesses",
            "which",
            "have",
            "a",
            "review",
            "by",
            "Niloofar"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Niloofar\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t2.rating  =  5 AND t3.name  =  \"Niloofar\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t2.rating",
            "=",
            "5",
            "AND",
            "t3.name",
            "=",
            "``",
            "Niloofar",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "rating",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "list all the businesses which Niloofar rated 5",
        "question_toks": [
            "list",
            "all",
            "the",
            "businesses",
            "which",
            "Niloofar",
            "rated",
            "5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Niloofar\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t4.text FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id JOIN review AS t4 ON t4.business_id  =  t1.business_id JOIN USER AS t5 ON t5.user_id  =  t4.user_id WHERE t2.category_name  =  \"Italian\" AND t3.category_name  =  \"category_category_name1\" AND t5.name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "t4.text",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t4",
            "ON",
            "t4.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t5",
            "ON",
            "t5.user_id",
            "=",
            "t4.user_id",
            "WHERE",
            "t2.category_name",
            "=",
            "``",
            "Italian",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "category_category_name1",
            "''",
            "AND",
            "t5.name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "text",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "user_id",
            "=",
            "t4",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List all the reviews by Michelle for Italian restaurant",
        "question_toks": [
            "List",
            "all",
            "the",
            "reviews",
            "by",
            "Michelle",
            "for",
            "Italian",
            "restaurant"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Italian\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"category_category_name1\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t3.text ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id WHERE t1.name  =  \"Cafe Zinho\" AND t1.state  =  \"Texas\" AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.text",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Cafe",
            "Zinho",
            "''",
            "AND",
            "t1.state",
            "=",
            "``",
            "Texas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "text",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "find the number of reviews written for \" Cafe Zinho \" restaurant in Texas",
        "question_toks": [
            "find",
            "the",
            "number",
            "of",
            "reviews",
            "written",
            "for",
            "``",
            "Cafe",
            "Zinho",
            "``",
            "restaurant",
            "in",
            "Texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Cafe Zinho\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.rating  =  5 AND t2.category_name  =  \"Italian\" AND t3.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.rating",
            "=",
            "5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Italian",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "rating",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "List all 5 star Italian restaurant",
        "question_toks": [
            "List",
            "all",
            "5",
            "star",
            "Italian",
            "restaurant"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Italian\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id  =  t2.business_id JOIN category AS t4 ON t4.business_id  =  t2.business_id JOIN neighbourhood AS t1 ON t1.business_id  =  t2.business_id WHERE t2.city  =  \"Madison\" AND t3.category_name  =  \"Italian\" AND t4.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.neighbourhood_name",
            "FROM",
            "category",
            "AS",
            "t3",
            "JOIN",
            "business",
            "AS",
            "t2",
            "ON",
            "t3.business_id",
            "=",
            "t2.business_id",
            "JOIN",
            "category",
            "AS",
            "t4",
            "ON",
            "t4.business_id",
            "=",
            "t2.business_id",
            "JOIN",
            "neighbourhood",
            "AS",
            "t1",
            "ON",
            "t1.business_id",
            "=",
            "t2.business_id",
            "WHERE",
            "t2.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "Italian",
            "''",
            "AND",
            "t4.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "neighbourhood_name",
            "from",
            "category",
            "as",
            "t3",
            "join",
            "business",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "join",
            "neighbourhood",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "List all the neighbourhoods with Italian restaurant in Madison",
        "question_toks": [
            "List",
            "all",
            "the",
            "neighbourhoods",
            "with",
            "Italian",
            "restaurant",
            "in",
            "Madison"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Italian\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id  =  t2.business_id JOIN category AS t4 ON t4.business_id  =  t2.business_id JOIN neighbourhood AS t1 ON t1.business_id  =  t2.business_id WHERE t2.city  =  \"Madison\" AND t2.rating  <  2.5 AND t3.category_name  =  \"Italian\" AND t4.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.neighbourhood_name",
            "FROM",
            "category",
            "AS",
            "t3",
            "JOIN",
            "business",
            "AS",
            "t2",
            "ON",
            "t3.business_id",
            "=",
            "t2.business_id",
            "JOIN",
            "category",
            "AS",
            "t4",
            "ON",
            "t4.business_id",
            "=",
            "t2.business_id",
            "JOIN",
            "neighbourhood",
            "AS",
            "t1",
            "ON",
            "t1.business_id",
            "=",
            "t2.business_id",
            "WHERE",
            "t2.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t2.rating",
            "<",
            "2.5",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "Italian",
            "''",
            "AND",
            "t4.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "neighbourhood_name",
            "from",
            "category",
            "as",
            "t3",
            "join",
            "business",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "join",
            "neighbourhood",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "rating",
            "<",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "List all the neighbourhoods with Italian restaurant rated less than 2.5 in Madison",
        "question_toks": [
            "List",
            "all",
            "the",
            "neighbourhoods",
            "with",
            "Italian",
            "restaurant",
            "rated",
            "less",
            "than",
            "2.5",
            "in",
            "Madison"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Italian\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.state  =  \"Pennsylvania\" AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.state",
            "=",
            "``",
            "Pennsylvania",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "find all the restaurant in Pennsylvania",
        "question_toks": [
            "find",
            "all",
            "the",
            "restaurant",
            "in",
            "Pennsylvania"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Pennsylvania\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.state  =  \"Pennsylvania\" AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.state",
            "=",
            "``",
            "Pennsylvania",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "List all businesses that are restaurant in Pennsylvania .",
        "question_toks": [
            "List",
            "all",
            "businesses",
            "that",
            "are",
            "restaurant",
            "in",
            "Pennsylvania",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Pennsylvania\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t3.text FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id WHERE t1.review_count  >  100 AND t2.category_name  =  \"Pet Groomers\";",
        "query_toks": [
            "SELECT",
            "t3.text",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.review_count",
            ">",
            "100",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Pet",
            "Groomers",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "text",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "review_count",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all the reviews for all Pet Groomers with more than 100 reviews",
        "question_toks": [
            "Find",
            "all",
            "the",
            "reviews",
            "for",
            "all",
            "Pet",
            "Groomers",
            "with",
            "more",
            "than",
            "100",
            "reviews"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    100.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Pet Groomers\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"breweries\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "breweries",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "What are all the breweries in \" Los Angeles \" ?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "breweries",
            "in",
            "``",
            "Los",
            "Angeles",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"breweries\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"breweries\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "breweries",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all breweries in Los Angeles",
        "question_toks": [
            "Find",
            "all",
            "breweries",
            "in",
            "Los",
            "Angeles"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"breweries\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"breweries\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "breweries",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all breweries in \" Los Angeles \"",
        "question_toks": [
            "Find",
            "all",
            "breweries",
            "in",
            "``",
            "Los",
            "Angeles",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"breweries\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.name  =  \"Mesa Grill\" AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t4.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Mesa",
            "Grill",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all users who reviewed restaurant \" Mesa Grill \"",
        "question_toks": [
            "Find",
            "all",
            "users",
            "who",
            "reviewed",
            "restaurant",
            "``",
            "Mesa",
            "Grill",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Mesa Grill\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT full_address FROM business WHERE city  =  \"Los Angeles\" AND name  =  \"Walmart\";",
        "query_toks": [
            "SELECT",
            "full_address",
            "FROM",
            "business",
            "WHERE",
            "city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "name",
            "=",
            "``",
            "Walmart",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "full_address",
            "from",
            "business",
            "where",
            "city",
            "=",
            "value",
            "and",
            "name",
            "=",
            "value"
        ],
        "question": "List the addresses of all Walmart in \" Los Angeles \"",
        "question_toks": [
            "List",
            "the",
            "addresses",
            "of",
            "all",
            "Walmart",
            "in",
            "``",
            "Los",
            "Angeles",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Walmart\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.city  =  \"Dallas\" AND t2.category_name  =  \"restaurant\" AND t4.name  =  \"Patrick\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "AND",
            "t4.name",
            "=",
            "``",
            "Patrick",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all restaurant reviewed by Patrick in \" Dallas \"",
        "question_toks": [
            "Find",
            "all",
            "restaurant",
            "reviewed",
            "by",
            "Patrick",
            "in",
            "``",
            "Dallas",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Patrick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.city  =  \"Dallas\" AND t2.category_name  =  \"restaurant\" AND t4.name  =  \"Patrick\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "AND",
            "t4.name",
            "=",
            "``",
            "Patrick",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Which restaurant in Dallas were reviewed by user Patrick ?",
        "question_toks": [
            "Which",
            "restaurant",
            "in",
            "Dallas",
            "were",
            "reviewed",
            "by",
            "user",
            "Patrick",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Patrick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t2.category_name  =  \"Bars\" AND t4.name  =  \"Patrick\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t2.category_name",
            "=",
            "``",
            "Bars",
            "''",
            "AND",
            "t4.name",
            "=",
            "``",
            "Patrick",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all Bars reviewed by Patrick",
        "question_toks": [
            "Find",
            "all",
            "Bars",
            "reviewed",
            "by",
            "Patrick"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Bars\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Patrick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.rating  >=  3 AND t2.category_name  =  \"Bars\" AND t4.name  =  \"Patrick\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t1.rating",
            ">",
            "=",
            "3",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Bars",
            "''",
            "AND",
            "t4.name",
            "=",
            "``",
            "Patrick",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "rating",
            ">",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all Bars reviewed by Patrick with at least 3 stars",
        "question_toks": [
            "Find",
            "all",
            "Bars",
            "reviewed",
            "by",
            "Patrick",
            "with",
            "at",
            "least",
            "3",
            "stars"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    5,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Bars\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Patrick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t3.name FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.name  =  \"Barrio Cafe\" AND t2.year  =  2015;",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "tip",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Barrio",
            "Cafe",
            "''",
            "AND",
            "t2.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "tip",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Find all users who have written tips for \" Barrio Cafe \" in 2015",
        "question_toks": [
            "Find",
            "all",
            "users",
            "who",
            "have",
            "written",
            "tips",
            "for",
            "``",
            "Barrio",
            "Cafe",
            "``",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Barrio Cafe\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT name FROM business WHERE rating  <  2 AND state  =  \"Texas\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "business",
            "WHERE",
            "rating",
            "<",
            "2",
            "AND",
            "state",
            "=",
            "``",
            "Texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "business",
            "where",
            "rating",
            "<",
            "value",
            "and",
            "state",
            "=",
            "value"
        ],
        "question": "Find all businesses in Texas with a rating below 2",
        "question_toks": [
            "Find",
            "all",
            "businesses",
            "in",
            "Texas",
            "with",
            "a",
            "rating",
            "below",
            "2"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"Seafood\" AND t3.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Seafood",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all restaurant Seafood in Los Angeles",
        "question_toks": [
            "Find",
            "all",
            "restaurant",
            "Seafood",
            "in",
            "Los",
            "Angeles"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Seafood\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"Seafood\" AND t3.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Seafood",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "List all the Seafood restaurant in \" Los Angeles \"",
        "question_toks": [
            "List",
            "all",
            "the",
            "Seafood",
            "restaurant",
            "in",
            "``",
            "Los",
            "Angeles",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Seafood\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"Seafood\" AND t3.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Seafood",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all restaurant that serve Seafood in \" Los Angeles \"",
        "question_toks": [
            "Find",
            "all",
            "restaurant",
            "that",
            "serve",
            "Seafood",
            "in",
            "``",
            "Los",
            "Angeles",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Seafood\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.text FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t1.rating  >  4 AND t2.name  =  \"Patrick\";",
        "query_toks": [
            "SELECT",
            "t1.text",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "review",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t1.rating",
            ">",
            "4",
            "AND",
            "t2.name",
            "=",
            "``",
            "Patrick",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "text",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "review",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all reviews by Patrick with a rating above 4",
        "question_toks": [
            "Find",
            "all",
            "reviews",
            "by",
            "Patrick",
            "with",
            "a",
            "rating",
            "above",
            "4"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            28,
                            false
                        ],
                        null
                    ],
                    4.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Patrick\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT business_id FROM business WHERE city  =  \"Los Angeles\" AND name  =  \"Apple Store\";",
        "query_toks": [
            "SELECT",
            "business_id",
            "FROM",
            "business",
            "WHERE",
            "city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "name",
            "=",
            "``",
            "Apple",
            "Store",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "business_id",
            "from",
            "business",
            "where",
            "city",
            "=",
            "value",
            "and",
            "name",
            "=",
            "value"
        ],
        "question": "Find all Apple Store in \" Los Angeles \"",
        "question_toks": [
            "Find",
            "all",
            "Apple",
            "Store",
            "in",
            "``",
            "Los",
            "Angeles",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Apple Store\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Dallas\" AND t1.rating  >  4.5 AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t1.rating",
            ">",
            "4.5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all Dallas restaurant with a rating above 4.5",
        "question_toks": [
            "Find",
            "all",
            "Dallas",
            "restaurant",
            "with",
            "a",
            "rating",
            "above",
            "4.5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    4.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id  =  t2.business_id JOIN neighbourhood AS t1 ON t1.business_id  =  t2.business_id WHERE t2.name  =  \"Flat Top Grill\" AND t3.category_name  =  \"category_category_name0\";",
        "query_toks": [
            "SELECT",
            "t1.neighbourhood_name",
            "FROM",
            "category",
            "AS",
            "t3",
            "JOIN",
            "business",
            "AS",
            "t2",
            "ON",
            "t3.business_id",
            "=",
            "t2.business_id",
            "JOIN",
            "neighbourhood",
            "AS",
            "t1",
            "ON",
            "t1.business_id",
            "=",
            "t2.business_id",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Flat",
            "Top",
            "Grill",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "category_category_name0",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "neighbourhood_name",
            "from",
            "category",
            "as",
            "t3",
            "join",
            "business",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "join",
            "neighbourhood",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "What neighbourhood is restaurant \" Flat Top Grill \" in ?",
        "question_toks": [
            "What",
            "neighbourhood",
            "is",
            "restaurant",
            "``",
            "Flat",
            "Top",
            "Grill",
            "``",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Flat Top Grill\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"category_category_name0\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"Vintner Grill\" AND t2.likes  >  9;",
        "query_toks": [
            "SELECT",
            "t2.text",
            "FROM",
            "tip",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Vintner",
            "Grill",
            "''",
            "AND",
            "t2.likes",
            ">",
            "9",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "text",
            "from",
            "tip",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "likes",
            ">",
            "value"
        ],
        "question": "Find all tips about \" Vintner Grill \" that received more than 9 likes",
        "question_toks": [
            "Find",
            "all",
            "tips",
            "about",
            "``",
            "Vintner",
            "Grill",
            "``",
            "that",
            "received",
            "more",
            "than",
            "9",
            "likes"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Vintner Grill\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    9.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t2.text FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"Kabob Palace\" AND t2.year  =  2014;",
        "query_toks": [
            "SELECT",
            "t2.text",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Kabob",
            "Palace",
            "''",
            "AND",
            "t2.year",
            "=",
            "2014",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "text",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Find all reviews about \" Kabob Palace \" in year 2014",
        "question_toks": [
            "Find",
            "all",
            "reviews",
            "about",
            "``",
            "Kabob",
            "Palace",
            "``",
            "in",
            "year",
            "2014"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Kabob Palace\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t3.name FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.city  =  \"Dallas\";",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "tip",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "tip",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value"
        ],
        "question": "Find all users who have written tips about businesses in Dallas",
        "question_toks": [
            "Find",
            "all",
            "users",
            "who",
            "have",
            "written",
            "tips",
            "about",
            "businesses",
            "in",
            "Dallas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.city FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"MGM Grand Buffet\" AND t1.state  =  \"Texas\" AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.city",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "MGM",
            "Grand",
            "Buffet",
            "''",
            "AND",
            "t1.state",
            "=",
            "``",
            "Texas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "city",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all cities in Texas in which there is a restaurant called \" MGM Grand Buffet \"",
        "question_toks": [
            "Find",
            "all",
            "cities",
            "in",
            "Texas",
            "in",
            "which",
            "there",
            "is",
            "a",
            "restaurant",
            "called",
            "``",
            "MGM",
            "Grand",
            "Buffet",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"MGM Grand Buffet\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN tip AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t2.category_name  =  \"Pet Groomers\";",
        "query_toks": [
            "SELECT",
            "t4.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "tip",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t2.category_name",
            "=",
            "``",
            "Pet",
            "Groomers",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "tip",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find the users who have given tips on Pet Groomers",
        "question_toks": [
            "Find",
            "the",
            "users",
            "who",
            "have",
            "given",
            "tips",
            "on",
            "Pet",
            "Groomers"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Pet Groomers\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"Cafe Zinho\" AND t1.state  =  \"Texas\";",
        "query_toks": [
            "SELECT",
            "t2.text",
            "FROM",
            "tip",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Cafe",
            "Zinho",
            "''",
            "AND",
            "t1.state",
            "=",
            "``",
            "Texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "text",
            "from",
            "tip",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "state",
            "=",
            "value"
        ],
        "question": "Find all tips for \" Cafe Zinho \" in Texas .",
        "question_toks": [
            "Find",
            "all",
            "tips",
            "for",
            "``",
            "Cafe",
            "Zinho",
            "``",
            "in",
            "Texas",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Cafe Zinho\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t4.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "List all users who reviewed businesses that are restaurant .",
        "question_toks": [
            "List",
            "all",
            "users",
            "who",
            "reviewed",
            "businesses",
            "that",
            "are",
            "restaurant",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"Cafe Zinho\" AND t1.state  =  \"Pennsylvania\" AND t2.year  =  2010;",
        "query_toks": [
            "SELECT",
            "t2.text",
            "FROM",
            "tip",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Cafe",
            "Zinho",
            "''",
            "AND",
            "t1.state",
            "=",
            "``",
            "Pennsylvania",
            "''",
            "AND",
            "t2.year",
            "=",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "text",
            "from",
            "tip",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "List all tips for \" Cafe Zinho \" in Pennsylvania in 2010 .",
        "question_toks": [
            "List",
            "all",
            "tips",
            "for",
            "``",
            "Cafe",
            "Zinho",
            "``",
            "in",
            "Pennsylvania",
            "in",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Cafe Zinho\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Pennsylvania\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t4.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t2.category_name  =  \"restaurant\" AND t3.year  =  2010;",
        "query_toks": [
            "SELECT",
            "t4.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "AND",
            "t3.year",
            "=",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "List all users who reviewed businesses that are restaurant in 2010 .",
        "question_toks": [
            "List",
            "all",
            "users",
            "who",
            "reviewed",
            "businesses",
            "that",
            "are",
            "restaurant",
            "in",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t2.text FROM USER AS t3 JOIN review AS t1 ON t3.user_id  =  t1.user_id JOIN tip AS t2 ON t3.user_id  =  t2.user_id WHERE t1.year  =  2012;",
        "query_toks": [
            "SELECT",
            "t2.text",
            "FROM",
            "USER",
            "AS",
            "t3",
            "JOIN",
            "review",
            "AS",
            "t1",
            "ON",
            "t3.user_id",
            "=",
            "t1.user_id",
            "JOIN",
            "tip",
            "AS",
            "t2",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t1.year",
            "=",
            "2012",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "text",
            "from",
            "user",
            "as",
            "t3",
            "join",
            "review",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "join",
            "tip",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "Find all the tips from a user who has written a review in 2012",
        "question_toks": [
            "Find",
            "all",
            "the",
            "tips",
            "from",
            "a",
            "user",
            "who",
            "has",
            "written",
            "a",
            "review",
            "in",
            "2012"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2012.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t2.text FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.rating  =  2.5;",
        "query_toks": [
            "SELECT",
            "t2.text",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.rating",
            "=",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "text",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "rating",
            "=",
            "value"
        ],
        "question": "Find all reviews for businesses rated 2.5",
        "question_toks": [
            "Find",
            "all",
            "reviews",
            "for",
            "businesses",
            "rated",
            "2.5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Madison\" AND t2.category_name  =  \"escape games\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "escape",
            "games",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "find the number of escape games in Madison",
        "question_toks": [
            "find",
            "the",
            "number",
            "of",
            "escape",
            "games",
            "in",
            "Madison"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"escape games\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Madison\" AND t2.category_name  =  \"escape games\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "escape",
            "games",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "What is the number of escape games in Madison",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "escape",
            "games",
            "in",
            "Madison"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"escape games\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Madison\" AND t2.category_name  =  \"escape games\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "escape",
            "games",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "How many escape games exist in Madison",
        "question_toks": [
            "How",
            "many",
            "escape",
            "games",
            "exist",
            "in",
            "Madison"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"escape games\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Madison\" AND t2.category_name  =  \"escape games\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "escape",
            "games",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "What is the number of escape games in \" Madison \" ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "escape",
            "games",
            "in",
            "``",
            "Madison",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"escape games\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Madison\" AND t2.category_name  =  \"escape games\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "escape",
            "games",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "How many escape games are there in Madison ?",
        "question_toks": [
            "How",
            "many",
            "escape",
            "games",
            "are",
            "there",
            "in",
            "Madison",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"escape games\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.rating  >  3.5 AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.rating",
            ">",
            "3.5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "find the number of restaurant rated more than 3.5",
        "question_toks": [
            "find",
            "the",
            "number",
            "of",
            "restaurant",
            "rated",
            "more",
            "than",
            "3.5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT SUM ( t4.count ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id JOIN checkin AS t4 ON t4.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"restaurant\" AND t3.category_name  =  \"Moroccan\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t4.count",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "checkin",
            "AS",
            "t4",
            "ON",
            "t4.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "Moroccan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t4",
            ".",
            "count",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "checkin",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "find the total checkins in Moroccan restaurant in \" Los Angeles \"",
        "question_toks": [
            "find",
            "the",
            "total",
            "checkins",
            "in",
            "Moroccan",
            "restaurant",
            "in",
            "``",
            "Los",
            "Angeles",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Moroccan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT SUM ( t4.count ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id JOIN checkin AS t4 ON t4.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"Moroccan\" AND t3.category_name  =  \"restaurant\" AND t4.day  =  \"Friday\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t4.count",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "checkin",
            "AS",
            "t4",
            "ON",
            "t4.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Moroccan",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "AND",
            "t4.day",
            "=",
            "``",
            "Friday",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t4",
            ".",
            "count",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "checkin",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "day",
            "=",
            "value"
        ],
        "question": "find the total checkins in Moroccan restaurant in \" Los Angeles \" on Friday",
        "question_toks": [
            "find",
            "the",
            "total",
            "checkins",
            "in",
            "Moroccan",
            "restaurant",
            "in",
            "``",
            "Los",
            "Angeles",
            "``",
            "on",
            "Friday"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Moroccan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Friday\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t4.day  ,  SUM ( t4.count ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id JOIN checkin AS t4 ON t4.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t2.category_name  =  \"Moroccan\" AND t3.category_name  =  \"restaurant\" GROUP BY t4.day;",
        "query_toks": [
            "SELECT",
            "t4.day",
            ",",
            "SUM",
            "(",
            "t4.count",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "checkin",
            "AS",
            "t4",
            "ON",
            "t4.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Moroccan",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "GROUP",
            "BY",
            "t4.day",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "day",
            ",",
            "sum",
            "(",
            "t4",
            ".",
            "count",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "checkin",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value",
            "group",
            "by",
            "t4",
            ".",
            "day"
        ],
        "question": "find the total checkins in Moroccan restaurant in \" Los Angeles \" per day",
        "question_toks": [
            "find",
            "the",
            "total",
            "checkins",
            "in",
            "Moroccan",
            "restaurant",
            "in",
            "``",
            "Los",
            "Angeles",
            "``",
            "per",
            "day"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Moroccan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.state  ,  SUM ( t4.count ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id JOIN checkin AS t4 ON t4.business_id  =  t1.business_id WHERE t2.category_name  =  \"Italian\" AND t3.category_name  =  \"Delis\" AND t4.day  =  \"Sunday\" GROUP BY t1.state;",
        "query_toks": [
            "SELECT",
            "t1.state",
            ",",
            "SUM",
            "(",
            "t4.count",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "checkin",
            "AS",
            "t4",
            "ON",
            "t4.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t2.category_name",
            "=",
            "``",
            "Italian",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "Delis",
            "''",
            "AND",
            "t4.day",
            "=",
            "``",
            "Sunday",
            "''",
            "GROUP",
            "BY",
            "t1.state",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "state",
            ",",
            "sum",
            "(",
            "t4",
            ".",
            "count",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "checkin",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "day",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "state"
        ],
        "question": "find the total checkins in Italian Delis in each state on Sunday",
        "question_toks": [
            "find",
            "the",
            "total",
            "checkins",
            "in",
            "Italian",
            "Delis",
            "in",
            "each",
            "state",
            "on",
            "Sunday"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                11,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Italian\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Delis\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Sunday\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    11,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t1.year  =  2015 AND t2.name  =  \"Niloofar\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.text",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "review",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t1.year",
            "=",
            "2015",
            "AND",
            "t2.name",
            "=",
            "``",
            "Niloofar",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "text",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "review",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many reviews has Niloofar written in 2015",
        "question_toks": [
            "How",
            "many",
            "reviews",
            "has",
            "Niloofar",
            "written",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Niloofar\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT AVG ( t1.rating ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "review",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "review",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "what is the average rating given in Michelle reviews",
        "question_toks": [
            "what",
            "is",
            "the",
            "average",
            "rating",
            "given",
            "in",
            "Michelle",
            "reviews"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t2.count FROM checkin AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"Cafe Zinho\" AND t2.day  =  \"Friday\";",
        "query_toks": [
            "SELECT",
            "t2.count",
            "FROM",
            "checkin",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Cafe",
            "Zinho",
            "''",
            "AND",
            "t2.day",
            "=",
            "``",
            "Friday",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "count",
            "from",
            "checkin",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "day",
            "=",
            "value"
        ],
        "question": "What is the number of checkins for \" Cafe Zinho \" on Friday",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "checkins",
            "for",
            "``",
            "Cafe",
            "Zinho",
            "``",
            "on",
            "Friday"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Cafe Zinho\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "\"Friday\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t3.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.city  =  \"Pittsburgh\" AND t1.name  =  \"Sushi Too\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.name",
            ")",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Pittsburgh",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Sushi",
            "Too",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "name",
            ")",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "how many users reviewed \" Sushi Too \" in Pittsburgh",
        "question_toks": [
            "how",
            "many",
            "users",
            "reviewed",
            "``",
            "Sushi",
            "Too",
            "``",
            "in",
            "Pittsburgh"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Pittsburgh\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Sushi Too\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Pittsburgh\" AND t1.rating  =  4.5 AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Pittsburgh",
            "''",
            "AND",
            "t1.rating",
            "=",
            "4.5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "What is the number of restaurant in Pittsburgh rated 4.5",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "restaurant",
            "in",
            "Pittsburgh",
            "rated",
            "4.5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Pittsburgh\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    4.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT text ) FROM tip WHERE YEAR  =  2015;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "text",
            ")",
            "FROM",
            "tip",
            "WHERE",
            "YEAR",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "text",
            ")",
            "from",
            "tip",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "How many tips have been written in 2015",
        "question_toks": [
            "How",
            "many",
            "tips",
            "have",
            "been",
            "written",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                34,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT SUM ( t1.likes ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  \"Niloofar\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t1.likes",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "tip",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Niloofar",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t1",
            ".",
            "likes",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "tip",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the total likes on tips from Niloofar",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "likes",
            "on",
            "tips",
            "from",
            "Niloofar"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Niloofar\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT SUM ( t2.likes ) FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.name  =  \"Cafe Zinho\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.likes",
            ")",
            "FROM",
            "tip",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Cafe",
            "Zinho",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "likes",
            ")",
            "from",
            "tip",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the total likes on tips about \" Cafe Zinho \"",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "likes",
            "on",
            "tips",
            "about",
            "``",
            "Cafe",
            "Zinho",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Cafe Zinho\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT SUM ( t2.likes ) FROM tip AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.name  =  \"Cafe Zinho\" AND t3.name  =  \"Niloofar\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.likes",
            ")",
            "FROM",
            "tip",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Cafe",
            "Zinho",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "Niloofar",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "likes",
            ")",
            "from",
            "tip",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the total likes on tips from Niloofar about \" Cafe Zinho \"",
        "question_toks": [
            "What",
            "is",
            "the",
            "total",
            "likes",
            "on",
            "tips",
            "from",
            "Niloofar",
            "about",
            "``",
            "Cafe",
            "Zinho",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                33,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Cafe Zinho\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Niloofar\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t1.year  =  2010 AND t2.name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.text",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "tip",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t1.year",
            "=",
            "2010",
            "AND",
            "t2.name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "text",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "tip",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many tips has Michelle written in 2010",
        "question_toks": [
            "How",
            "many",
            "tips",
            "has",
            "Michelle",
            "written",
            "in",
            "2010"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                34,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t1.year  =  2010 AND t2.name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.text",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "tip",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t1.year",
            "=",
            "2010",
            "AND",
            "t2.name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "text",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "tip",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Return me the number of tips that are written by Michelle in 2010 .",
        "question_toks": [
            "Return",
            "me",
            "the",
            "number",
            "of",
            "tips",
            "that",
            "are",
            "written",
            "by",
            "Michelle",
            "in",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                34,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t1.month  =  \"April\" AND t2.name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.text",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "tip",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t1.month",
            "=",
            "``",
            "April",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "text",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "tip",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "month",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many tips has Michelle written in April",
        "question_toks": [
            "How",
            "many",
            "tips",
            "has",
            "Michelle",
            "written",
            "in",
            "April"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                34,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"April\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.state  =  \"Texas\" AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.state",
            "=",
            "``",
            "Texas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "what is the number of restaurant in Texas",
        "question_toks": [
            "what",
            "is",
            "the",
            "number",
            "of",
            "restaurant",
            "in",
            "Texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Dallas\" AND t1.rating  >  3.5 AND t2.category_name  =  \"Bars\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t1.rating",
            ">",
            "3.5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Bars",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "How many Bars in \" Dallas \" have a rating above 3.5 ?",
        "question_toks": [
            "How",
            "many",
            "Bars",
            "in",
            "``",
            "Dallas",
            "``",
            "have",
            "a",
            "rating",
            "above",
            "3.5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Bars\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Dallas\" AND t1.rating  >  3.5 AND t2.category_name  =  \"Bars\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t1.rating",
            ">",
            "3.5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Bars",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "How many Bars in Dallas have a rating above 3.5 ?",
        "question_toks": [
            "How",
            "many",
            "Bars",
            "in",
            "Dallas",
            "have",
            "a",
            "rating",
            "above",
            "3.5",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Bars\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.city  =  \"Dallas\" AND t1.name  =  \"Texas de Brazil\" AND t1.state  =  \"Texas\" AND t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Texas",
            "de",
            "Brazil",
            "''",
            "AND",
            "t1.state",
            "=",
            "``",
            "Texas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "How many people reviewed the restaurant \" Texas de Brazil \" in Dallas Texas ?",
        "question_toks": [
            "How",
            "many",
            "people",
            "reviewed",
            "the",
            "restaurant",
            "``",
            "Texas",
            "de",
            "Brazil",
            "``",
            "in",
            "Dallas",
            "Texas",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Texas de Brazil\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t3.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.name  =  \"Bistro Di Napoli\" AND t2.year  =  2015;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.name",
            ")",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Bistro",
            "Di",
            "Napoli",
            "''",
            "AND",
            "t2.year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "name",
            ")",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many people reviewed \" Bistro Di Napoli \" in 2015 ?",
        "question_toks": [
            "How",
            "many",
            "people",
            "reviewed",
            "``",
            "Bistro",
            "Di",
            "Napoli",
            "``",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Bistro Di Napoli\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t3 JOIN business AS t1 ON t3.business_id  =  t1.business_id JOIN neighbourhood AS t2 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Dallas\" AND t3.category_name  =  \"restaurant\" AND t2.neighbourhood_name  =  \"Hazelwood\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t3",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "neighbourhood",
            "AS",
            "t2",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "AND",
            "t2.neighbourhood_name",
            "=",
            "``",
            "Hazelwood",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t3",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "neighbourhood",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "neighbourhood_name",
            "=",
            "value"
        ],
        "question": "How many restaurant are there in the Hazelwood district of Dallas ?",
        "question_toks": [
            "How",
            "many",
            "restaurant",
            "are",
            "there",
            "in",
            "the",
            "Hazelwood",
            "district",
            "of",
            "Dallas",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Hazelwood\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT business_id ) FROM business WHERE city  =  \"Dallas\" AND name  =  \"Starbucks\" AND state  =  \"Texas\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "business_id",
            ")",
            "FROM",
            "business",
            "WHERE",
            "city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "name",
            "=",
            "``",
            "Starbucks",
            "''",
            "AND",
            "state",
            "=",
            "``",
            "Texas",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "business_id",
            ")",
            "from",
            "business",
            "where",
            "city",
            "=",
            "value",
            "and",
            "name",
            "=",
            "value",
            "and",
            "state",
            "=",
            "value"
        ],
        "question": "How many Starbucks are there in Dallas Texas ?",
        "question_toks": [
            "How",
            "many",
            "Starbucks",
            "are",
            "there",
            "in",
            "Dallas",
            "Texas",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Starbucks\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT review_count FROM business WHERE name  =  \"Acacia Cafe\";",
        "query_toks": [
            "SELECT",
            "review_count",
            "FROM",
            "business",
            "WHERE",
            "name",
            "=",
            "``",
            "Acacia",
            "Cafe",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "review_count",
            "from",
            "business",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "How many reviews does \" Acacia Cafe \" have ?",
        "question_toks": [
            "How",
            "many",
            "reviews",
            "does",
            "``",
            "Acacia",
            "Cafe",
            "``",
            "have",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Acacia Cafe\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT AVG ( t3.count )  ,  t3.day FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN checkin AS t3 ON t3.business_id  =  t1.business_id WHERE t1.name  =  \"Barrio Cafe\" AND t2.category_name  =  \"restaurant\" GROUP BY t3.day;",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "t3.count",
            ")",
            ",",
            "t3.day",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "checkin",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Barrio",
            "Cafe",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "GROUP",
            "BY",
            "t3.day",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "t3",
            ".",
            "count",
            ")",
            ",",
            "t3",
            ".",
            "day",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "checkin",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "day"
        ],
        "question": "Find the average number of checkins in restaurant \" Barrio Cafe \" per day",
        "question_toks": [
            "Find",
            "the",
            "average",
            "number",
            "of",
            "checkins",
            "in",
            "restaurant",
            "``",
            "Barrio",
            "Cafe",
            "``",
            "per",
            "day"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                21,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Barrio Cafe\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    21,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM neighbourhood AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Madison\" AND t2.neighbourhood_name  =  \"Stone Meadows\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "neighbourhood",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t2.neighbourhood_name",
            "=",
            "``",
            "Stone",
            "Meadows",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "neighbourhood",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "neighbourhood_name",
            "=",
            "value"
        ],
        "question": "How many businesses are there in the \" Stone Meadows \" neighbourhood in Madison ?",
        "question_toks": [
            "How",
            "many",
            "businesses",
            "are",
            "there",
            "in",
            "the",
            "``",
            "Stone",
            "Meadows",
            "``",
            "neighbourhood",
            "in",
            "Madison",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Stone Meadows\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  \"Adrienne\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.text",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "review",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Adrienne",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "text",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "review",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many reviews has Adrienne written ?",
        "question_toks": [
            "How",
            "many",
            "reviews",
            "has",
            "Adrienne",
            "written",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Adrienne\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id WHERE t1.month  =  \"March\" AND t1.year  =  2014 AND t2.name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.text",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "review",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t1.month",
            "=",
            "``",
            "March",
            "''",
            "AND",
            "t1.year",
            "=",
            "2014",
            "AND",
            "t2.name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "text",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "review",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "month",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many reviews has Michelle written in March 2014 ?",
        "question_toks": [
            "How",
            "many",
            "reviews",
            "has",
            "Michelle",
            "written",
            "in",
            "March",
            "2014",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"March\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t2.year  =  2010 AND t3.name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t2.year",
            "=",
            "2010",
            "AND",
            "t3.name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many businesses has Michelle reviewed in 2010 ?",
        "question_toks": [
            "How",
            "many",
            "businesses",
            "has",
            "Michelle",
            "reviewed",
            "in",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN USER AS t3 ON t3.user_id  =  t2.user_id WHERE t1.city  =  \"San Diego\" AND t2.year  =  2010 AND t3.name  =  \"Christine\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t3",
            "ON",
            "t3.user_id",
            "=",
            "t2.user_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "San",
            "Diego",
            "''",
            "AND",
            "t2.year",
            "=",
            "2010",
            "AND",
            "t3.name",
            "=",
            "``",
            "Christine",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "user_id",
            "=",
            "t2",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many businesses in \" San Diego \" has Christine reviewed in 2010 ?",
        "question_toks": [
            "How",
            "many",
            "businesses",
            "in",
            "``",
            "San",
            "Diego",
            "``",
            "has",
            "Christine",
            "reviewed",
            "in",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"San Diego\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Christine\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT business_id ) FROM business WHERE city  =  \"Los Angeles\" AND name  =  \"Target\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "business_id",
            ")",
            "FROM",
            "business",
            "WHERE",
            "city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "name",
            "=",
            "``",
            "Target",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "business_id",
            ")",
            "from",
            "business",
            "where",
            "city",
            "=",
            "value",
            "and",
            "name",
            "=",
            "value"
        ],
        "question": "How many Target are there in \" Los Angeles \" ?",
        "question_toks": [
            "How",
            "many",
            "Target",
            "are",
            "there",
            "in",
            "``",
            "Los",
            "Angeles",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                2,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Target\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.city  =  \"Dallas\" AND t2.category_name  =  \"Irish Pub\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Irish",
            "Pub",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "How many users have reviewed Irish Pub in Dallas ?",
        "question_toks": [
            "How",
            "many",
            "users",
            "have",
            "reviewed",
            "Irish",
            "Pub",
            "in",
            "Dallas",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Irish Pub\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT AVG ( rating ) FROM review WHERE YEAR  =  2014;",
        "query_toks": [
            "SELECT",
            "AVG",
            "(",
            "rating",
            ")",
            "FROM",
            "review",
            "WHERE",
            "YEAR",
            "=",
            "2014",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "avg",
            "(",
            "rating",
            ")",
            "from",
            "review",
            "where",
            "year",
            "=",
            "value"
        ],
        "question": "What is the average rating of reviews written in year 2014 ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "average",
            "rating",
            "of",
            "reviews",
            "written",
            "in",
            "year",
            "2014",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        5,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2014.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t4.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN review AS t3 ON t3.business_id  =  t1.business_id JOIN USER AS t4 ON t4.user_id  =  t3.user_id WHERE t1.name  =  \"Vintner Grill\" AND t2.category_name  =  \"category_category_name0\" AND t3.year  =  2010;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "USER",
            "AS",
            "t4",
            "ON",
            "t4.user_id",
            "=",
            "t3.user_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Vintner",
            "Grill",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "category_category_name0",
            "''",
            "AND",
            "t3.year",
            "=",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "user",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "user_id",
            "=",
            "t3",
            ".",
            "user_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "How many people reviewed restaurant \" Vintner Grill \" in 2010 ?",
        "question_toks": [
            "How",
            "many",
            "people",
            "reviewed",
            "restaurant",
            "``",
            "Vintner",
            "Grill",
            "``",
            "in",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Vintner Grill\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"category_category_name0\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t3.text ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id  =  t2.business_id JOIN review AS t3 ON t3.business_id  =  t2.business_id WHERE t1.neighbourhood_name  =  \"South Summerlin\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.text",
            ")",
            "FROM",
            "neighbourhood",
            "AS",
            "t1",
            "JOIN",
            "business",
            "AS",
            "t2",
            "ON",
            "t1.business_id",
            "=",
            "t2.business_id",
            "JOIN",
            "review",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t2.business_id",
            "WHERE",
            "t1.neighbourhood_name",
            "=",
            "``",
            "South",
            "Summerlin",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "text",
            ")",
            "from",
            "neighbourhood",
            "as",
            "t1",
            "join",
            "business",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "join",
            "review",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "neighbourhood_name",
            "=",
            "value"
        ],
        "question": "Find the number of reviews on businesses located in \" South Summerlin \" neighbourhood",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "reviews",
            "on",
            "businesses",
            "located",
            "in",
            "``",
            "South",
            "Summerlin",
            "``",
            "neighbourhood"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"South Summerlin\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT name ) FROM USER WHERE name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "USER",
            "WHERE",
            "name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "user",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Find the number of users called Michelle",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "users",
            "called",
            "Michelle"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                17,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t2.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Return me the number of businesses that are restaurant .",
        "question_toks": [
            "Return",
            "me",
            "the",
            "number",
            "of",
            "businesses",
            "that",
            "are",
            "restaurant",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT city ) FROM business WHERE name  =  \"Panda Express\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "city",
            ")",
            "FROM",
            "business",
            "WHERE",
            "name",
            "=",
            "``",
            "Panda",
            "Express",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "city",
            ")",
            "from",
            "business",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Return me the number of cities that has \" Panda Express \" .",
        "question_toks": [
            "Return",
            "me",
            "the",
            "number",
            "of",
            "cities",
            "that",
            "has",
            "``",
            "Panda",
            "Express",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                5,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Panda Express\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.text ) FROM USER AS t2 JOIN tip AS t1 ON t2.user_id  =  t1.user_id WHERE t2.name  =  \"Michelle\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.text",
            ")",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "tip",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Michelle",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "text",
            ")",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "tip",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Return me the number of tips that are written by Michelle .",
        "question_toks": [
            "Return",
            "me",
            "the",
            "number",
            "of",
            "tips",
            "that",
            "are",
            "written",
            "by",
            "Michelle",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                34,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "\"Michelle\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT SUM ( t3.count ) FROM checkin AS t3 JOIN business AS t1 ON t3.business_id  =  t1.business_id JOIN neighbourhood AS t2 ON t2.business_id  =  t1.business_id WHERE t2.neighbourhood_name  =  \"Brighton Heights\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t3.count",
            ")",
            "FROM",
            "checkin",
            "AS",
            "t3",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "neighbourhood",
            "AS",
            "t2",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t2.neighbourhood_name",
            "=",
            "``",
            "Brighton",
            "Heights",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t3",
            ".",
            "count",
            ")",
            "from",
            "checkin",
            "as",
            "t3",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "neighbourhood",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "neighbourhood_name",
            "=",
            "value"
        ],
        "question": "Find the total checkins in \" Brighton Heights \" neighbourhood",
        "question_toks": [
            "Find",
            "the",
            "total",
            "checkins",
            "in",
            "``",
            "Brighton",
            "Heights",
            "``",
            "neighbourhood"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Brighton Heights\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT text ) FROM review WHERE MONTH  =  \"March\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "text",
            ")",
            "FROM",
            "review",
            "WHERE",
            "MONTH",
            "=",
            "``",
            "March",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "text",
            ")",
            "from",
            "review",
            "where",
            "month",
            "=",
            "value"
        ],
        "question": "Find the total number of reviews written in March",
        "question_toks": [
            "Find",
            "the",
            "total",
            "number",
            "of",
            "reviews",
            "written",
            "in",
            "March"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"March\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT text )  ,  MONTH FROM tip GROUP BY MONTH;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "text",
            ")",
            ",",
            "MONTH",
            "FROM",
            "tip",
            "GROUP",
            "BY",
            "MONTH",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "text",
            ")",
            ",",
            "month",
            "from",
            "tip",
            "group",
            "by",
            "month"
        ],
        "question": "Find the number of tips written in each month",
        "question_toks": [
            "Find",
            "the",
            "number",
            "of",
            "tips",
            "written",
            "in",
            "each",
            "month"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                34,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    38,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.neighbourhood_name ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id  =  t2.business_id WHERE t2.city  =  \"Madison\" AND t2.rating  =  5;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.neighbourhood_name",
            ")",
            "FROM",
            "neighbourhood",
            "AS",
            "t1",
            "JOIN",
            "business",
            "AS",
            "t2",
            "ON",
            "t1.business_id",
            "=",
            "t2.business_id",
            "WHERE",
            "t2.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t2.rating",
            "=",
            "5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "neighbourhood_name",
            ")",
            "from",
            "neighbourhood",
            "as",
            "t1",
            "join",
            "business",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "rating",
            "=",
            "value"
        ],
        "question": "How many neighbourhoods have a business with rating 5 in Madison ?",
        "question_toks": [
            "How",
            "many",
            "neighbourhoods",
            "have",
            "a",
            "business",
            "with",
            "rating",
            "5",
            "in",
            "Madison",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                24,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    5.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.state  =  \"Texas\" AND t2.category_name  =  \"Moroccan\" AND t3.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.state",
            "=",
            "``",
            "Texas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Moroccan",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Give me all the Moroccan restaurant in Texas",
        "question_toks": [
            "Give",
            "me",
            "all",
            "the",
            "Moroccan",
            "restaurant",
            "in",
            "Texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Moroccan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM checkin AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id GROUP BY t1.name ORDER BY SUM ( t2.count ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "checkin",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "t2.count",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "checkin",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "sum",
            "(",
            "t2",
            ".",
            "count",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which business has the most number of checkins",
        "question_toks": [
            "which",
            "business",
            "has",
            "the",
            "most",
            "number",
            "of",
            "checkins"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.neighbourhood_name FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id  =  t2.business_id WHERE t2.city  =  \"Madison\" GROUP BY t1.neighbourhood_name ORDER BY COUNT ( DISTINCT t2.name ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.neighbourhood_name",
            "FROM",
            "neighbourhood",
            "AS",
            "t1",
            "JOIN",
            "business",
            "AS",
            "t2",
            "ON",
            "t1.business_id",
            "=",
            "t2.business_id",
            "WHERE",
            "t2.city",
            "=",
            "``",
            "Madison",
            "''",
            "GROUP",
            "BY",
            "t1.neighbourhood_name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.name",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "neighbourhood_name",
            "from",
            "neighbourhood",
            "as",
            "t1",
            "join",
            "business",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "business_id",
            "=",
            "t2",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "city",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "neighbourhood_name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "name",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which neighbourhood has the most number of businesses in Madison",
        "question_toks": [
            "which",
            "neighbourhood",
            "has",
            "the",
            "most",
            "number",
            "of",
            "businesses",
            "in",
            "Madison"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    24,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            3,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  \"Dallas\" AND t1.rating  >  3.5 AND t2.category_name  =  \"Mexican\" AND t3.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t1.rating",
            ">",
            "3.5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Mexican",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all Mexican restaurant in Dallas with at least 3.5 stars",
        "question_toks": [
            "Find",
            "all",
            "Mexican",
            "restaurant",
            "in",
            "Dallas",
            "with",
            "at",
            "least",
            "3.5",
            "stars"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Mexican\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  \"Dallas\" AND t1.rating  >  3.5 AND t2.category_name  =  \"Mexican\" AND t3.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t1.rating",
            ">",
            "3.5",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Mexican",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all Mexican restaurant in Dallas with a rating above 3.5",
        "question_toks": [
            "Find",
            "all",
            "Mexican",
            "restaurant",
            "in",
            "Dallas",
            "with",
            "a",
            "rating",
            "above",
            "3.5"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.5,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Mexican\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  \"Dallas\" AND t1.state  =  \"Texas\" AND t2.category_name  =  \"Valet Service\" AND t3.category_name  =  \"restaurant\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Dallas",
            "''",
            "AND",
            "t1.state",
            "=",
            "``",
            "Texas",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Valet",
            "Service",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "state",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all restaurant with Valet Service in Dallas Texas",
        "question_toks": [
            "Find",
            "all",
            "restaurant",
            "with",
            "Valet",
            "Service",
            "in",
            "Dallas",
            "Texas"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Dallas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"Texas\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Valet Service\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t3 JOIN business AS t1 ON t3.business_id  =  t1.business_id JOIN category AS t4 ON t4.business_id  =  t1.business_id JOIN neighbourhood AS t2 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Madison\" AND t3.category_name  =  \"Italian\" AND t4.category_name  =  \"restaurant\" AND t2.neighbourhood_name  =  \"Meadowood\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t3",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t4",
            "ON",
            "t4.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "neighbourhood",
            "AS",
            "t2",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Madison",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "Italian",
            "''",
            "AND",
            "t4.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "AND",
            "t2.neighbourhood_name",
            "=",
            "``",
            "Meadowood",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t3",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "neighbourhood",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "neighbourhood_name",
            "=",
            "value"
        ],
        "question": "Find all Italian restaurant in the Meadowood neighbourhood of Madison",
        "question_toks": [
            "Find",
            "all",
            "Italian",
            "restaurant",
            "in",
            "the",
            "Meadowood",
            "neighbourhood",
            "of",
            "Madison"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        4
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Madison\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Italian\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Meadowood\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t1.city  =  \"Los Angeles\" AND t1.rating  >  3 AND t1.review_count  >  30 AND t2.category_name  =  \"Bars\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "t1.rating",
            ">",
            "3",
            "AND",
            "t1.review_count",
            ">",
            "30",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "Bars",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value",
            "and",
            "t1",
            ".",
            "review_count",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "Find all Bars in \" Los Angeles \" with at least 30 reviews and average rating above 3 stars",
        "question_toks": [
            "Find",
            "all",
            "Bars",
            "in",
            "``",
            "Los",
            "Angeles",
            "``",
            "with",
            "at",
            "least",
            "30",
            "reviews",
            "and",
            "average",
            "rating",
            "above",
            "3",
            "stars"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            10,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    30.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Bars\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id JOIN category AS t3 ON t3.business_id  =  t1.business_id WHERE t1.city  =  \"Edinburgh\" AND t2.category_name  =  \"restaurant\" AND t3.category_name  =  \"Egyptian\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "JOIN",
            "category",
            "AS",
            "t3",
            "ON",
            "t3.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t1.city",
            "=",
            "``",
            "Edinburgh",
            "''",
            "AND",
            "t2.category_name",
            "=",
            "``",
            "restaurant",
            "''",
            "AND",
            "t3.category_name",
            "=",
            "``",
            "Egyptian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "join",
            "category",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t1",
            ".",
            "city",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "category_name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "category_name",
            "=",
            "value"
        ],
        "question": "How many Egyptian restaurant are there in Edinburgh ?",
        "question_toks": [
            "How",
            "many",
            "Egyptian",
            "restaurant",
            "are",
            "there",
            "in",
            "Edinburgh",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Edinburgh\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"restaurant\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            14,
                            false
                        ],
                        null
                    ],
                    "\"Egyptian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t2.name FROM USER AS t2 JOIN review AS t1 ON t2.user_id  =  t1.user_id GROUP BY t2.name HAVING AVG ( t1.rating )  <  3;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "USER",
            "AS",
            "t2",
            "JOIN",
            "review",
            "AS",
            "t1",
            "ON",
            "t2.user_id",
            "=",
            "t1.user_id",
            "GROUP",
            "BY",
            "t2.name",
            "HAVING",
            "AVG",
            "(",
            "t1.rating",
            ")",
            "<",
            "3",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "user",
            "as",
            "t2",
            "join",
            "review",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "user_id",
            "=",
            "t1",
            ".",
            "user_id",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "avg",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "<",
            "value"
        ],
        "question": "Find users whose average review rating is below 3",
        "question_toks": [
            "Find",
            "users",
            "whose",
            "average",
            "review",
            "rating",
            "is",
            "below",
            "3"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                17,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    17,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    4,
                    [
                        0,
                        [
                            5,
                            28,
                            false
                        ],
                        null
                    ],
                    3.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id WHERE t2.month  =  \"April\" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.text ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "review",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "WHERE",
            "t2.month",
            "=",
            "``",
            "April",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.text",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "review",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "where",
            "t2",
            ".",
            "month",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "text",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the business with the most number of reviews in April",
        "question_toks": [
            "Find",
            "the",
            "business",
            "with",
            "the",
            "most",
            "number",
            "of",
            "reviews",
            "in",
            "April"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "\"April\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "yelp",
        "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id  =  t1.business_id GROUP BY t1.name ORDER BY COUNT ( DISTINCT t2.category_name ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "category",
            "AS",
            "t2",
            "JOIN",
            "business",
            "AS",
            "t1",
            "ON",
            "t2.business_id",
            "=",
            "t1.business_id",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.category_name",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "category",
            "as",
            "t2",
            "join",
            "business",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "business_id",
            "=",
            "t1",
            ".",
            "business_id",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "category_name",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the business which has the most number of categories",
        "question_toks": [
            "Find",
            "the",
            "business",
            "which",
            "has",
            "the",
            "most",
            "number",
            "of",
            "categories"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            14,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT homepage FROM journal WHERE name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "homepage",
            "FROM",
            "journal",
            "WHERE",
            "name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "homepage",
            "from",
            "journal",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "return me the homepage of PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "homepage",
            "of",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT homepage FROM author WHERE name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "homepage",
            "FROM",
            "author",
            "WHERE",
            "name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "homepage",
            "from",
            "author",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "return me the homepage of \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "homepage",
            "of",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                2,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT abstract FROM publication WHERE title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "abstract",
            "FROM",
            "publication",
            "WHERE",
            "title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "abstract",
            "from",
            "publication",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "return me the abstract of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "abstract",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                23,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT YEAR FROM publication WHERE title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "YEAR",
            "FROM",
            "publication",
            "WHERE",
            "title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            "from",
            "publication",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "return me the year of \" Making database systems usable \"",
        "question_toks": [
            "return",
            "me",
            "the",
            "year",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT YEAR FROM publication WHERE title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "YEAR",
            "FROM",
            "publication",
            "WHERE",
            "title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            "from",
            "publication",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "return me the year of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "year",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT title FROM publication WHERE YEAR  >  2000;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "publication",
            "WHERE",
            "YEAR",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "publication",
            "where",
            "year",
            ">",
            "value"
        ],
        "question": "return me the papers after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT homepage FROM conference WHERE name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "homepage",
            "FROM",
            "conference",
            "WHERE",
            "name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "homepage",
            "from",
            "conference",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "return me the homepage of the VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "homepage",
            "of",
            "the",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT keyword FROM keyword;",
        "query_toks": [
            "SELECT",
            "keyword",
            "FROM",
            "keyword",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "keyword",
            "from",
            "keyword"
        ],
        "question": "return me all the keywords .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "keywords",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT name FROM organization;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "organization",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "organization"
        ],
        "question": "return me all the organizations .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "organizations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT name FROM organization WHERE continent  =  \"North America\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "organization",
            "WHERE",
            "continent",
            "=",
            "``",
            "North",
            "America",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "organization",
            "where",
            "continent",
            "=",
            "value"
        ],
        "question": "return me all the organizations in \" North America \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "organizations",
            "in",
            "``",
            "North",
            "America",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"North America\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT homepage FROM organization WHERE name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "homepage",
            "FROM",
            "organization",
            "WHERE",
            "name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "homepage",
            "from",
            "organization",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "return me the homepage of \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "homepage",
            "of",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                34,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT reference_num FROM publication WHERE title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "reference_num",
            "FROM",
            "publication",
            "WHERE",
            "title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "reference_num",
            "from",
            "publication",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "return me the number of references of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "references",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT reference_num FROM publication WHERE title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "reference_num",
            "FROM",
            "publication",
            "WHERE",
            "title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "reference_num",
            "from",
            "publication",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "return me the references of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "references",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT citation_num FROM publication WHERE title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "citation_num",
            "FROM",
            "publication",
            "WHERE",
            "title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "citation_num",
            "from",
            "publication",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "return me the number of citations of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "citations",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT citation_num FROM publication WHERE title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "citation_num",
            "FROM",
            "publication",
            "WHERE",
            "title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "citation_num",
            "from",
            "publication",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "return me the citations of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "citations",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT title FROM publication WHERE citation_num  >  200;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "publication",
            "WHERE",
            "citation_num",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "publication",
            "where",
            "citation_num",
            ">",
            "value"
        ],
        "question": "return me the paper with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"PVLDB\" AND t4.year  =  2010;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t4.year",
            "=",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "return me the authors who have papers in PVLDB 2010 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "PVLDB",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"PVLDB\" AND t4.year  >  2010;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t4.year",
            ">",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the authors who have papers in PVLDB after 2010 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "PVLDB",
            "after",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"VLDB\" AND t4.year  =  2002;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t4.year",
            "=",
            "2002",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "return me the authors who have papers in VLDB conference in 2002 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "VLDB",
            "conference",
            "in",
            "2002",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"VLDB\" AND t4.year  <  2002;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t4.year",
            "<",
            "2002",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "return me the authors who have papers in VLDB conference before 2002 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "VLDB",
            "conference",
            "before",
            "2002",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"VLDB\" AND t4.year  <  2002 AND t4.year  >  1995;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t4.year",
            "<",
            "2002",
            "AND",
            "t4.year",
            ">",
            "1995",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            "<",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the authors who have papers in VLDB conference before 2002 after 1995 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "VLDB",
            "conference",
            "before",
            "2002",
            "after",
            "1995",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    1995.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.name FROM DOMAIN AS t3 JOIN domain_journal AS t1 ON t3.did  =  t1.did JOIN journal AS t2 ON t2.jid  =  t1.jid WHERE t2.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "DOMAIN",
            "AS",
            "t3",
            "JOIN",
            "domain_journal",
            "AS",
            "t1",
            "ON",
            "t3.did",
            "=",
            "t1.did",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "domain",
            "as",
            "t3",
            "join",
            "domain_journal",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the area of PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "area",
            "of",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the authors who have papers in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the organization \" H. V. Jagadish \" is in .",
        "question_toks": [
            "return",
            "me",
            "the",
            "organization",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "is",
            "in",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the conferences, which have papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "conferences",
            ",",
            "which",
            "have",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the journals, which have papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "journals",
            ",",
            "which",
            "have",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM domain_author AS t3 JOIN author AS t1 ON t3.aid  =  t1.aid JOIN DOMAIN AS t2 ON t2.did  =  t3.did WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "domain_author",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t2",
            "ON",
            "t2.did",
            "=",
            "t3.did",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "domain_author",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t3",
            ".",
            "did",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the domain where \" H. V. Jagadish \" is focused .",
        "question_toks": [
            "return",
            "me",
            "the",
            "domain",
            "where",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "is",
            "focused",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t3.title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "return me the authors of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t2.title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t2.title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "return me the conference, which published \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "conference",
            ",",
            "which",
            "published",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the papers on VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "on",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the papers on PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "on",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" AND t2.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the papers on PVLDB after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "on",
            "PVLDB",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" AND t2.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t2.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the papers on VLDB conference after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "on",
            "VLDB",
            "conference",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the papers by \" H. V. Jagadish \" on PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the papers by \" H. V. Jagadish \" on VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t1.name  =  \"H. V. Jagadish\" AND t3.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t3.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the papers by \" H. V. Jagadish \" after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"PVLDB\" AND t4.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t4.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the papers by \" H. V. Jagadish \" on PVLDB after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "PVLDB",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"VLDB\" AND t4.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t4.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the papers by \" H. V. Jagadish \" on VLDB conference after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "VLDB",
            "conference",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM domain_conference AS t3 JOIN conference AS t1 ON t3.cid  =  t1.cid JOIN DOMAIN AS t2 ON t2.did  =  t3.did WHERE t1.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "domain_conference",
            "AS",
            "t3",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t3.cid",
            "=",
            "t1.cid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t2",
            "ON",
            "t2.did",
            "=",
            "t3.did",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "domain_conference",
            "as",
            "t3",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "join",
            "domain",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t3",
            ".",
            "did",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the area of the VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "area",
            "of",
            "the",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                9,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the authors who have papers in the VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "the",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM DOMAIN AS t3 JOIN domain_keyword AS t2 ON t3.did  =  t2.did JOIN keyword AS t1 ON t1.kid  =  t2.kid WHERE t3.name  =  \"Databases\";",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "DOMAIN",
            "AS",
            "t3",
            "JOIN",
            "domain_keyword",
            "AS",
            "t2",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t1.kid",
            "=",
            "t2.kid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "domain",
            "as",
            "t3",
            "join",
            "domain_keyword",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "kid",
            "=",
            "t2",
            ".",
            "kid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me all the keywords in Databases area .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "keywords",
            "in",
            "Databases",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t2.pid WHERE t1.keyword  =  \"Natural Language\";",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "publication_keyword",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t2.pid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Natural",
            "Language",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "publication_keyword",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me all the papers, which contain the keyword \" Natural Language \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "papers",
            ",",
            "which",
            "contain",
            "the",
            "keyword",
            "``",
            "Natural",
            "Language",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Natural Language\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t3.pid WHERE t2.title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t3",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t3.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t2.title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t3",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "return me the keywords of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keywords",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t2.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t5",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t5",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the keywords related to \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keywords",
            "related",
            "to",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t2.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t3.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the keywords in VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keywords",
            "in",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t4.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t2.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the keywords in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keywords",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM organization AS t6 JOIN author AS t2 ON t6.oid  =  t2.oid JOIN writes AS t4 ON t4.aid  =  t2.aid JOIN publication AS t5 ON t4.pid  =  t5.pid JOIN publication_keyword AS t3 ON t5.pid  =  t3.pid JOIN keyword AS t1 ON t3.kid  =  t1.kid WHERE t6.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "organization",
            "AS",
            "t6",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t6.oid",
            "=",
            "t2.oid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "publication_keyword",
            "AS",
            "t3",
            "ON",
            "t5.pid",
            "=",
            "t3.pid",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t3.kid",
            "=",
            "t1.kid",
            "WHERE",
            "t6.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "organization",
            "as",
            "t6",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t6",
            ".",
            "oid",
            "=",
            "t2",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "publication_keyword",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "where",
            "t6",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the keywords in the papers of \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keywords",
            "in",
            "the",
            "papers",
            "of",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid  =  t1.kid JOIN publication AS t5 ON t5.pid  =  t3.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.keyword  =  \"User Study\";",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "publication_keyword",
            "AS",
            "t3",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t3.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t5.pid",
            "=",
            "t3.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.keyword",
            "=",
            "``",
            "User",
            "Study",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "publication_keyword",
            "as",
            "t3",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the papers of \" H. V. Jagadish \" containing keyword \" User Study \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "of",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "containing",
            "keyword",
            "``",
            "User",
            "Study",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"User Study\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.kid JOIN publication AS t4 ON t4.pid  =  t2.pid JOIN journal AS t3 ON t4.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\" AND t1.keyword  =  \"Keyword search\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "publication_keyword",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t2.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t4.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t1.keyword",
            "=",
            "``",
            "Keyword",
            "search",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "publication_keyword",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the papers in PVLDB containing keyword \" Keyword search \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "in",
            "PVLDB",
            "containing",
            "keyword",
            "``",
            "Keyword",
            "search",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Keyword search\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid  =  t1.kid JOIN publication AS t4 ON t4.pid  =  t3.pid JOIN conference AS t2 ON t4.cid  =  t2.cid WHERE t2.name  =  \"VLDB\" AND t1.keyword  =  \"Information Retrieval\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "publication_keyword",
            "AS",
            "t3",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t3.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t1.keyword",
            "=",
            "``",
            "Information",
            "Retrieval",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "publication_keyword",
            "as",
            "t3",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the papers in VLDB conference containing keyword \" Information Retrieval \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "in",
            "VLDB",
            "conference",
            "containing",
            "keyword",
            "``",
            "Information",
            "Retrieval",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Information Retrieval\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t1.keyword  =  \"Relational Database\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t5",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t5",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the authors who have papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t4.did JOIN organization AS t2 ON t2.oid  =  t1.oid WHERE t3.name  =  \"Databases\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "domain_author",
            "AS",
            "t4",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t4.did",
            "JOIN",
            "organization",
            "AS",
            "t2",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "domain_author",
            "as",
            "t4",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t4",
            ".",
            "did",
            "join",
            "organization",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me all the organizations in Databases area .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "organizations",
            "in",
            "Databases",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t4.did JOIN organization AS t2 ON t2.oid  =  t1.oid WHERE t3.name  =  \"Databases\" AND t2.continent  =  \"North America\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "domain_author",
            "AS",
            "t4",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t4.did",
            "JOIN",
            "organization",
            "AS",
            "t2",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t2.continent",
            "=",
            "``",
            "North",
            "America",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "domain_author",
            "as",
            "t4",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t4",
            ".",
            "did",
            "join",
            "organization",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "continent",
            "=",
            "value"
        ],
        "question": "return me all the organizations in Databases area located in \" North America \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "organizations",
            "in",
            "Databases",
            "area",
            "located",
            "in",
            "``",
            "North",
            "America",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                35,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"North America\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid WHERE t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me all the researchers in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "researchers",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM domain_author AS t4 JOIN author AS t1 ON t4.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t4.did JOIN organization AS t2 ON t2.oid  =  t1.oid WHERE t3.name  =  \"Databases\" AND t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "domain_author",
            "AS",
            "t4",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t4.did",
            "JOIN",
            "organization",
            "AS",
            "t2",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "domain_author",
            "as",
            "t4",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t4",
            ".",
            "did",
            "join",
            "organization",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me all the researchers in Databases area in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "researchers",
            "in",
            "Databases",
            "area",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t3 ON t3.aid  =  t1.aid JOIN publication AS t4 ON t3.pid  =  t4.pid WHERE t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me all the papers in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "papers",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t3 ON t3.aid  =  t1.aid JOIN publication AS t4 ON t3.pid  =  t4.pid WHERE t2.name  =  \"University of Michigan\" AND t4.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            "AND",
            "t4.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me all the papers after 2000 in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "papers",
            "after",
            "2000",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM organization AS t3 JOIN author AS t1 ON t3.oid  =  t1.oid JOIN writes AS t4 ON t4.aid  =  t1.aid JOIN publication AS t5 ON t4.pid  =  t5.pid JOIN conference AS t2 ON t5.cid  =  t2.cid WHERE t2.name  =  \"VLDB\" AND t3.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "organization",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t5.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "organization",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t5",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me all the papers in VLDB conference in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "papers",
            "in",
            "VLDB",
            "conference",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t4 ON t4.aid  =  t1.aid JOIN publication AS t5 ON t4.pid  =  t5.pid JOIN journal AS t3 ON t5.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\" AND t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t5.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me all the papers in PVLDB in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "papers",
            "in",
            "PVLDB",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t4 ON t4.aid  =  t1.aid JOIN publication AS t5 ON t4.pid  =  t5.pid JOIN journal AS t3 ON t5.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\" AND t2.name  =  \"University of Michigan\" AND t5.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t5.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            "AND",
            "t5.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me all the papers in PVLDB after 2000 in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "all",
            "the",
            "papers",
            "in",
            "PVLDB",
            "after",
            "2000",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did  =  t1.did JOIN publication AS t3 ON t3.pid  =  t1.pid WHERE t2.name  =  \"Databases\" AND t3.citation_num  >  200;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "DOMAIN",
            "AS",
            "t2",
            "JOIN",
            "domain_publication",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t1.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t3.citation_num",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "domain",
            "as",
            "t2",
            "join",
            "domain_publication",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t1",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "citation_num",
            ">",
            "value"
        ],
        "question": "return me the paper in Databases area with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "in",
            "Databases",
            "area",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" AND t2.citation_num  >  200;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.citation_num",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "citation_num",
            ">",
            "value"
        ],
        "question": "return me the paper in PVLDB with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "in",
            "PVLDB",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" AND t2.citation_num  >  200;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t2.citation_num",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "citation_num",
            ">",
            "value"
        ],
        "question": "return me the paper in VLDB conference with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "in",
            "VLDB",
            "conference",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t1.name  =  \"H. V. Jagadish\" AND t3.citation_num  >  200;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t3.citation_num",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "citation_num",
            ">",
            "value"
        ],
        "question": "return me the paper by \" H. V. Jagadish \" with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"PVLDB\" AND t4.citation_num  >  200;",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t4.citation_num",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "citation_num",
            ">",
            "value"
        ],
        "question": "return me the papers by \" H. V. Jagadish \" on PVLDB with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "PVLDB",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t4.title FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"VLDB\" AND t4.citation_num  >  200;",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t4.citation_num",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "citation_num",
            ">",
            "value"
        ],
        "question": "return me the papers by \" H. V. Jagadish \" on VLDB conference with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "VLDB",
            "conference",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT title FROM publication WHERE citation_num  >  200 AND YEAR  >  2000;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "publication",
            "WHERE",
            "citation_num",
            ">",
            "200",
            "AND",
            "YEAR",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "publication",
            "where",
            "citation_num",
            ">",
            "value",
            "and",
            "year",
            ">",
            "value"
        ],
        "question": "return me the paper after 2000 with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "after",
            "2000",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did  =  t1.did JOIN publication AS t3 ON t3.pid  =  t1.pid WHERE t2.name  =  \"Databases\" AND t3.citation_num  >  200 AND t3.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "DOMAIN",
            "AS",
            "t2",
            "JOIN",
            "domain_publication",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t1.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t3.citation_num",
            ">",
            "200",
            "AND",
            "t3.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "domain",
            "as",
            "t2",
            "join",
            "domain_publication",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t1",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "citation_num",
            ">",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the paper after 2000 in Databases area with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "after",
            "2000",
            "in",
            "Databases",
            "area",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" AND t2.citation_num  >  200 AND t2.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.citation_num",
            ">",
            "200",
            "AND",
            "t2.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "citation_num",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the paper after 2000 in PVLDB with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "after",
            "2000",
            "in",
            "PVLDB",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" AND t2.citation_num  >  200 AND t2.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t2.citation_num",
            ">",
            "200",
            "AND",
            "t2.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "citation_num",
            ">",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the paper after 2000 in VLDB conference with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "after",
            "2000",
            "in",
            "VLDB",
            "conference",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.name",
            ")",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "name",
            ")",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of conferences which have papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "conferences",
            "which",
            "have",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                7,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.name",
            ")",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "name",
            ")",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of journals which have papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "journals",
            "which",
            "have",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                16,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t3.title )  ,  t3.year FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t1.name  =  \"H. V. Jagadish\" GROUP BY t3.year;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            ",",
            "t3.year",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "GROUP",
            "BY",
            "t3.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            ",",
            "t3",
            ".",
            "year",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "year"
        ],
        "question": "return me the number of papers written by \" H. V. Jagadish \" in each year .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "in",
            "each",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t3.title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "return me the number of authors of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "authors",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT YEAR  ,  SUM ( citation_num ) FROM publication WHERE title  =  \"Making database systems usable\" GROUP BY YEAR;",
        "query_toks": [
            "SELECT",
            "YEAR",
            ",",
            "SUM",
            "(",
            "citation_num",
            ")",
            "FROM",
            "publication",
            "WHERE",
            "title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            "GROUP",
            "BY",
            "YEAR",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "year",
            ",",
            "sum",
            "(",
            "citation_num",
            ")",
            "from",
            "publication",
            "where",
            "title",
            "=",
            "value",
            "group",
            "by",
            "year"
        ],
        "question": "return me the number of citations of \" Making database systems usable \" in each year .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "citations",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "in",
            "each",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t3 JOIN cite AS t1 ON t3.pid  =  t1.cited JOIN publication AS t2 ON t2.pid  =  t1.citing WHERE t3.title  =  \"Making database systems usable\" AND t2.year  <  2010;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t3",
            "JOIN",
            "cite",
            "AS",
            "t1",
            "ON",
            "t3.pid",
            "=",
            "t1.cited",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t1.citing",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            "AND",
            "t2.year",
            "<",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t3",
            "join",
            "cite",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t1",
            ".",
            "cited",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t1",
            ".",
            "citing",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "return me the number of citations of \" Making database systems usable \" before 2010 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "citations",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "before",
            "2010",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t3.title ) FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers on VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "on",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers on PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "on",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT title ) FROM publication WHERE YEAR  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "title",
            ")",
            "FROM",
            "publication",
            "WHERE",
            "YEAR",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "title",
            ")",
            "from",
            "publication",
            "where",
            "year",
            ">",
            "value"
        ],
        "question": "return me the number of papers after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" AND t2.year  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the number of papers on PVLDB after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "on",
            "PVLDB",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" AND t2.year  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t2.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the number of papers on VLDB conference after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "on",
            "VLDB",
            "conference",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers by \" H. V. Jagadish \" on PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers by \" H. V. Jagadish \" on VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t3.title ) FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t1.name  =  \"H. V. Jagadish\" AND t3.year  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t3.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the number of papers by \" H. V. Jagadish \" after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"PVLDB\" AND t4.year  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t4.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the number of papers by \" H. V. Jagadish \" on PVLDB after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "PVLDB",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t2.name  =  \"VLDB\" AND t4.year  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t4.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the number of papers by \" H. V. Jagadish \" on VLDB conference after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "on",
            "VLDB",
            "conference",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT keyword ) FROM keyword;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "keyword",
            ")",
            "FROM",
            "keyword",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "keyword",
            ")",
            "from",
            "keyword"
        ],
        "question": "return me the number of keywords .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "keywords",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM DOMAIN AS t3 JOIN domain_keyword AS t2 ON t3.did  =  t2.did JOIN keyword AS t1 ON t1.kid  =  t2.kid WHERE t3.name  =  \"Databases\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.keyword",
            ")",
            "FROM",
            "DOMAIN",
            "AS",
            "t3",
            "JOIN",
            "domain_keyword",
            "AS",
            "t2",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t1.kid",
            "=",
            "t2.kid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "keyword",
            ")",
            "from",
            "domain",
            "as",
            "t3",
            "join",
            "domain_keyword",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "kid",
            "=",
            "t2",
            ".",
            "kid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of keywords in Databases area .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "keywords",
            "in",
            "Databases",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            21,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                20,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            22,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t3.title ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t2.pid WHERE t1.keyword  =  \"Natural Language\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t2.pid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Natural",
            "Language",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the number of papers which contain the keyword \" Natural Language \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "which",
            "contain",
            "the",
            "keyword",
            "``",
            "Natural",
            "Language",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Natural Language\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t3.pid WHERE t2.title  =  \"Making database systems usable\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.keyword",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t3",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t3.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t2.title",
            "=",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "keyword",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t3",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "return me the number of the keywords of \" Making database systems usable \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "the",
            "keywords",
            "of",
            "``",
            "Making",
            "database",
            "systems",
            "usable",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            29,
                            false
                        ],
                        null
                    ],
                    "\"Making database systems usable\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t2.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.keyword",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t5",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "keyword",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t5",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of the keywords related to \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "the",
            "keywords",
            "related",
            "to",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t2.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.keyword",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t3.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "keyword",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of keywords in VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "keywords",
            "in",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.keyword",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t4.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t2.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "keyword",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of keywords in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "keywords",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.keyword ) FROM organization AS t6 JOIN author AS t2 ON t6.oid  =  t2.oid JOIN writes AS t4 ON t4.aid  =  t2.aid JOIN publication AS t5 ON t4.pid  =  t5.pid JOIN publication_keyword AS t3 ON t5.pid  =  t3.pid JOIN keyword AS t1 ON t3.kid  =  t1.kid WHERE t6.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.keyword",
            ")",
            "FROM",
            "organization",
            "AS",
            "t6",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t6.oid",
            "=",
            "t2.oid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "publication_keyword",
            "AS",
            "t3",
            "ON",
            "t5.pid",
            "=",
            "t3.pid",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t3.kid",
            "=",
            "t1.kid",
            "WHERE",
            "t6.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "keyword",
            ")",
            "from",
            "organization",
            "as",
            "t6",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t6",
            ".",
            "oid",
            "=",
            "t2",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "publication_keyword",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "where",
            "t6",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of keywords in the papers of \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "keywords",
            "in",
            "the",
            "papers",
            "of",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                19,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t5.title ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid  =  t1.kid JOIN publication AS t5 ON t5.pid  =  t3.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.keyword  =  \"User Study\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t5.title",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t3",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t3.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t5.pid",
            "=",
            "t3.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.keyword",
            "=",
            "``",
            "User",
            "Study",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t5",
            ".",
            "title",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t3",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the number of the papers of \" H. V. Jagadish \" containing keyword \" User Study \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "the",
            "papers",
            "of",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "containing",
            "keyword",
            "``",
            "User",
            "Study",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"User Study\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.kid JOIN publication AS t4 ON t4.pid  =  t2.pid JOIN journal AS t3 ON t4.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\" AND t1.keyword  =  \"Keyword search\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t2.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t4.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t1.keyword",
            "=",
            "``",
            "Keyword",
            "search",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the number of papers in PVLDB containing keyword \" Keyword search \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "in",
            "PVLDB",
            "containing",
            "keyword",
            "``",
            "Keyword",
            "search",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Keyword search\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid  =  t1.kid JOIN publication AS t4 ON t4.pid  =  t3.pid JOIN conference AS t2 ON t4.cid  =  t2.cid WHERE t2.name  =  \"VLDB\" AND t1.keyword  =  \"Information Retrieval\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t3",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t3.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t1.keyword",
            "=",
            "``",
            "Information",
            "Retrieval",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t3",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the number of papers in VLDB conference containing keyword \" Information Retrieval \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "in",
            "VLDB",
            "conference",
            "containing",
            "keyword",
            "``",
            "Information",
            "Retrieval",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Information Retrieval\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.name ) FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t1.keyword  =  \"Relational Database\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.name",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t5",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "name",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t5",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the number of authors who have papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "authors",
            "who",
            "have",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT SUM ( t3.citation_num ) FROM publication_keyword AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t2.pid WHERE t1.keyword  =  \"Natural Language\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t3.citation_num",
            ")",
            "FROM",
            "publication_keyword",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t2.pid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Natural",
            "Language",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t3",
            ".",
            "citation_num",
            ")",
            "from",
            "publication_keyword",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "return me the total citations of the papers containing keyword \" Natural Language \"",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "the",
            "papers",
            "containing",
            "keyword",
            "``",
            "Natural",
            "Language",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Natural Language\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT name ) FROM organization;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "organization",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "organization"
        ],
        "question": "return me the number of the organizations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "the",
            "organizations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                35,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT name ) FROM organization WHERE continent  =  \"North America\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "organization",
            "WHERE",
            "continent",
            "=",
            "``",
            "North",
            "America",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "organization",
            "where",
            "continent",
            "=",
            "value"
        ],
        "question": "return me the number of the organizations in \" North America \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "the",
            "organizations",
            "in",
            "``",
            "North",
            "America",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                35,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"North America\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t4.did JOIN organization AS t2 ON t2.oid  =  t1.oid WHERE t3.name  =  \"Databases\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.name",
            ")",
            "FROM",
            "domain_author",
            "AS",
            "t4",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t4.did",
            "JOIN",
            "organization",
            "AS",
            "t2",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "name",
            ")",
            "from",
            "domain_author",
            "as",
            "t4",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t4",
            ".",
            "did",
            "join",
            "organization",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of organizations in Databases area .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "organizations",
            "in",
            "Databases",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                35,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t4.did JOIN organization AS t2 ON t2.oid  =  t1.oid WHERE t3.name  =  \"Databases\" AND t2.continent  =  \"North America\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.name",
            ")",
            "FROM",
            "domain_author",
            "AS",
            "t4",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t4.did",
            "JOIN",
            "organization",
            "AS",
            "t2",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t2.continent",
            "=",
            "``",
            "North",
            "America",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "name",
            ")",
            "from",
            "domain_author",
            "as",
            "t4",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t4",
            ".",
            "did",
            "join",
            "organization",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "continent",
            "=",
            "value"
        ],
        "question": "return me the number of organizations in Databases area located in \" North America \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "organizations",
            "in",
            "Databases",
            "area",
            "located",
            "in",
            "``",
            "North",
            "America",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                35,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            33,
                            false
                        ],
                        null
                    ],
                    "\"North America\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t3 ON t3.aid  =  t1.aid JOIN publication AS t4 ON t3.pid  =  t4.pid WHERE t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM domain_author AS t6 JOIN author AS t1 ON t6.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t6.did JOIN domain_publication AS t2 ON t3.did  =  t2.did JOIN organization AS t5 ON t5.oid  =  t1.oid JOIN publication AS t4 ON t4.pid  =  t2.pid WHERE t3.name  =  \"Databases\" AND t5.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "domain_author",
            "AS",
            "t6",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t6.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t6.did",
            "JOIN",
            "domain_publication",
            "AS",
            "t2",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "JOIN",
            "organization",
            "AS",
            "t5",
            "ON",
            "t5.oid",
            "=",
            "t1.oid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t2.pid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t5.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "domain_author",
            "as",
            "t6",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t6",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t6",
            ".",
            "did",
            "join",
            "domain_publication",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "organization",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers in \" University of Michigan \" in Databases area .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "in",
            "Databases",
            "area",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t4.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t3 ON t3.aid  =  t1.aid JOIN publication AS t4 ON t3.pid  =  t4.pid WHERE t2.name  =  \"University of Michigan\" AND t4.year  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            "AND",
            "t4.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the number of papers after 2000 in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "after",
            "2000",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t3 JOIN author AS t1 ON t3.oid  =  t1.oid JOIN writes AS t4 ON t4.aid  =  t1.aid JOIN publication AS t5 ON t4.pid  =  t5.pid JOIN conference AS t2 ON t5.cid  =  t2.cid WHERE t2.name  =  \"VLDB\" AND t3.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t5.title",
            ")",
            "FROM",
            "organization",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t5.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t5",
            ".",
            "title",
            ")",
            "from",
            "organization",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t5",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers in VLDB conference in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "in",
            "VLDB",
            "conference",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t4 ON t4.aid  =  t1.aid JOIN publication AS t5 ON t4.pid  =  t5.pid JOIN journal AS t3 ON t5.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\" AND t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t5.title",
            ")",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t5.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t5",
            ".",
            "title",
            ")",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers in PVLDB in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "in",
            "PVLDB",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t4 ON t4.aid  =  t1.aid JOIN publication AS t5 ON t4.pid  =  t5.pid JOIN journal AS t3 ON t5.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\" AND t2.name  =  \"University of Michigan\" AND t5.year  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t5.title",
            ")",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t5.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            "AND",
            "t5.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t5",
            ".",
            "title",
            ")",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the number of papers in PVLDB after 2000 in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "in",
            "PVLDB",
            "after",
            "2000",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT SUM ( t4.citation_num ) FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t3 ON t3.aid  =  t1.aid JOIN publication AS t4 ON t3.pid  =  t4.pid WHERE t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t4.citation_num",
            ")",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t4",
            ".",
            "citation_num",
            ")",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the total citations of the papers in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "the",
            "papers",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid WHERE t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of researchers in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "researchers",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t4.did JOIN organization AS t2 ON t2.oid  =  t1.oid WHERE t3.name  =  \"Databases\" AND t2.name  =  \"University of Michigan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "domain_author",
            "AS",
            "t4",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t4.did",
            "JOIN",
            "organization",
            "AS",
            "t2",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "domain_author",
            "as",
            "t4",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t4",
            ".",
            "did",
            "join",
            "organization",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of researchers in Databases area in \" University of Michigan \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "researchers",
            "in",
            "Databases",
            "area",
            "in",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of authors who have papers in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t1.name ) FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of authors who have papers in the VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "authors",
            "who",
            "have",
            "papers",
            "in",
            "the",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" AND t2.year  <  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.year",
            "<",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "return me the number of papers published on PVLDB before 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "published",
            "on",
            "PVLDB",
            "before",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" AND t2.year  <  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t2.year",
            "<",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "return me the number of papers published in the VLDB conference before 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "published",
            "in",
            "the",
            "VLDB",
            "conference",
            "before",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.citation_num",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "citation_num",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the total citations of all the papers in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "all",
            "the",
            "papers",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.citation_num FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "t2.citation_num",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "citation_num",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the citations of each paper in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "citations",
            "of",
            "each",
            "paper",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" AND t2.year  =  2005;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.citation_num",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.year",
            "=",
            "2005",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "citation_num",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "return me the total citations of papers in PVLDB in 2005 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "papers",
            "in",
            "PVLDB",
            "in",
            "2005",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" AND t2.year  <  2005;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.citation_num",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.year",
            "<",
            "2005",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "citation_num",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "return me the total citations of papers in PVLDB before 2005 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "papers",
            "in",
            "PVLDB",
            "before",
            "2005",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.year  ,  SUM ( t2.citation_num ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" GROUP BY t2.year;",
        "query_toks": [
            "SELECT",
            "t2.year",
            ",",
            "SUM",
            "(",
            "t2.citation_num",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "GROUP",
            "BY",
            "t2.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "year",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "citation_num",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "year"
        ],
        "question": "return me the total citations of papers in PVLDB in each year .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "papers",
            "in",
            "PVLDB",
            "in",
            "each",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title )  ,  t2.year FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" GROUP BY t2.year;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            ",",
            "t2.year",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "GROUP",
            "BY",
            "t2.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "year"
        ],
        "question": "return me the number of papers published in PVLDB in each year .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "published",
            "in",
            "PVLDB",
            "in",
            "each",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.citation_num",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "citation_num",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the total citations of all the papers in the VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "all",
            "the",
            "papers",
            "in",
            "the",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.citation_num FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\";",
        "query_toks": [
            "SELECT",
            "t2.citation_num",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "citation_num",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the citations of each paper in the VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "citations",
            "of",
            "each",
            "paper",
            "in",
            "the",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" AND t2.year  =  2005;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.citation_num",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t2.year",
            "=",
            "2005",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "citation_num",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "=",
            "value"
        ],
        "question": "return me the total citations of papers in the VLDB conference in 2005 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "papers",
            "in",
            "the",
            "VLDB",
            "conference",
            "in",
            "2005",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" AND t2.year  <  2005;",
        "query_toks": [
            "SELECT",
            "SUM",
            "(",
            "t2.citation_num",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t2.year",
            "<",
            "2005",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "sum",
            "(",
            "t2",
            ".",
            "citation_num",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "return me the total citations of papers in the VLDB conference before 2005 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "papers",
            "in",
            "the",
            "VLDB",
            "conference",
            "before",
            "2005",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.year  ,  SUM ( t2.citation_num ) FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" GROUP BY t2.year;",
        "query_toks": [
            "SELECT",
            "t2.year",
            ",",
            "SUM",
            "(",
            "t2.citation_num",
            ")",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "GROUP",
            "BY",
            "t2.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "year",
            ",",
            "sum",
            "(",
            "t2",
            ".",
            "citation_num",
            ")",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "year"
        ],
        "question": "return me the total citations of papers in the VLDB conference in each year .",
        "question_toks": [
            "return",
            "me",
            "the",
            "total",
            "citations",
            "of",
            "papers",
            "in",
            "the",
            "VLDB",
            "conference",
            "in",
            "each",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        4,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.title )  ,  t2.year FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" GROUP BY t2.year;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            ",",
            "t2.year",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "GROUP",
            "BY",
            "t2.year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            ",",
            "t2",
            ".",
            "year",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "year"
        ],
        "question": "return me the number of papers published in the VLDB conference in each year .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "published",
            "in",
            "the",
            "VLDB",
            "conference",
            "in",
            "each",
            "year",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM writes AS t4 JOIN author AS t2 ON t4.aid  =  t2.aid JOIN publication AS t7 ON t4.pid  =  t7.pid JOIN writes AS t5 ON t5.pid  =  t7.pid JOIN writes AS t6 ON t6.pid  =  t7.pid JOIN author AS t1 ON t5.aid  =  t1.aid JOIN author AS t3 ON t6.aid  =  t3.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t3.name  =  \"Divesh Srivastava\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "writes",
            "AS",
            "t4",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t7",
            "ON",
            "t4.pid",
            "=",
            "t7.pid",
            "JOIN",
            "writes",
            "AS",
            "t5",
            "ON",
            "t5.pid",
            "=",
            "t7.pid",
            "JOIN",
            "writes",
            "AS",
            "t6",
            "ON",
            "t6.pid",
            "=",
            "t7.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "author",
            "AS",
            "t3",
            "ON",
            "t6.aid",
            "=",
            "t3.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "Divesh",
            "Srivastava",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "writes",
            "as",
            "t4",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t7",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t7",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t7",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "pid",
            "=",
            "t7",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "author",
            "as",
            "t3",
            "on",
            "t6",
            ".",
            "aid",
            "=",
            "t3",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the authors who have cooperated both with \" H. V. Jagadish \" and \" Divesh Srivastava \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "cooperated",
            "both",
            "with",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Divesh",
            "Srivastava",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Divesh Srivastava\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" AND t5.year  >  2000;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t5.year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the authors who have cooperated with \" H. V. Jagadish \" after 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "cooperated",
            "with",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "after",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.name  =  \"Divesh Srivastava\";",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Divesh",
            "Srivastava",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the papers written by \" H. V. Jagadish \" and \" Divesh Srivastava \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Divesh",
            "Srivastava",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Divesh Srivastava\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.name  =  \"Yunyao Li\" AND t5.year  >  2005;",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Yunyao",
            "Li",
            "''",
            "AND",
            "t5.year",
            ">",
            "2005",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the papers written by \" H. V. Jagadish \" and \" Yunyao Li \" after 2005 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Yunyao",
            "Li",
            "``",
            "after",
            "2005",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Yunyao Li\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t6.title FROM publication AS t6 JOIN journal AS t4 ON t6.jid  =  t4.jid JOIN writes AS t3 ON t3.pid  =  t6.pid JOIN writes AS t5 ON t5.pid  =  t6.pid JOIN author AS t1 ON t5.aid  =  t1.aid JOIN author AS t2 ON t3.aid  =  t2.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.name  =  \"Yunyao Li\" AND t4.name  =  \"PVLDB\";",
        "query_toks": [
            "SELECT",
            "t6.title",
            "FROM",
            "publication",
            "AS",
            "t6",
            "JOIN",
            "journal",
            "AS",
            "t4",
            "ON",
            "t6.jid",
            "=",
            "t4.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t6.pid",
            "JOIN",
            "writes",
            "AS",
            "t5",
            "ON",
            "t5.pid",
            "=",
            "t6.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Yunyao",
            "Li",
            "''",
            "AND",
            "t4.name",
            "=",
            "``",
            "PVLDB",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t6",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t6",
            "join",
            "journal",
            "as",
            "t4",
            "on",
            "t6",
            ".",
            "jid",
            "=",
            "t4",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t6",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t6",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the papers written by \" H. V. Jagadish \" and \" Yunyao Li \" on PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Yunyao",
            "Li",
            "``",
            "on",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Yunyao Li\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t6.title FROM publication AS t6 JOIN journal AS t4 ON t6.jid  =  t4.jid JOIN writes AS t3 ON t3.pid  =  t6.pid JOIN writes AS t5 ON t5.pid  =  t6.pid JOIN author AS t1 ON t5.aid  =  t1.aid JOIN author AS t2 ON t3.aid  =  t2.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.name  =  \"Yunyao Li\" AND t4.name  =  \"PVLDB\" AND t6.year  >  2005;",
        "query_toks": [
            "SELECT",
            "t6.title",
            "FROM",
            "publication",
            "AS",
            "t6",
            "JOIN",
            "journal",
            "AS",
            "t4",
            "ON",
            "t6.jid",
            "=",
            "t4.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t6.pid",
            "JOIN",
            "writes",
            "AS",
            "t5",
            "ON",
            "t5.pid",
            "=",
            "t6.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Yunyao",
            "Li",
            "''",
            "AND",
            "t4.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t6.year",
            ">",
            "2005",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t6",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t6",
            "join",
            "journal",
            "as",
            "t4",
            "on",
            "t6",
            ".",
            "jid",
            "=",
            "t4",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t6",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t6",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "year",
            ">",
            "value"
        ],
        "question": "return me the papers written by \" H. V. Jagadish \" and \" Yunyao Li \" on PVLDB after 2005 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Yunyao",
            "Li",
            "``",
            "on",
            "PVLDB",
            "after",
            "2005",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Yunyao Li\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2005.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the authors who have cooperated with \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "cooperated",
            "with",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.name  =  \"Divesh Srivastava\" AND t5.year  <  2000;",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Divesh",
            "Srivastava",
            "''",
            "AND",
            "t5.year",
            "<",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "return me the papers written by \" H. V. Jagadish \" and \" Divesh Srivastava \" before 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Divesh",
            "Srivastava",
            "``",
            "before",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Divesh Srivastava\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication AS t7 JOIN cite AS t5 ON t7.pid  =  t5.citing JOIN publication AS t6 ON t6.pid  =  t5.cited JOIN writes AS t3 ON t3.pid  =  t7.pid JOIN writes AS t4 ON t4.pid  =  t6.pid JOIN author AS t2 ON t3.aid  =  t2.aid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication",
            "AS",
            "t7",
            "JOIN",
            "cite",
            "AS",
            "t5",
            "ON",
            "t7.pid",
            "=",
            "t5.citing",
            "JOIN",
            "publication",
            "AS",
            "t6",
            "ON",
            "t6.pid",
            "=",
            "t5.cited",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t7.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t6.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t7",
            "join",
            "cite",
            "as",
            "t5",
            "on",
            "t7",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "citing",
            "join",
            "publication",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "cited",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t7",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t6",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the authors who have cited the papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "cited",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t5.title ) FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.name  =  \"Divesh Srivastava\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t5.title",
            ")",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Divesh",
            "Srivastava",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t5",
            ".",
            "title",
            ")",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers written by \" H. V. Jagadish \" and \" Divesh Srivastava \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Divesh",
            "Srivastava",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Divesh Srivastava\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t5.title ) FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.name  =  \"Divesh Srivastava\" AND t5.year  <  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t5.title",
            ")",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Divesh",
            "Srivastava",
            "''",
            "AND",
            "t5.year",
            "<",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t5",
            ".",
            "title",
            ")",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "year",
            "<",
            "value"
        ],
        "question": "return me the number of papers written by \" H. V. Jagadish \" and \" Divesh Srivastava \" before 2000 .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Divesh",
            "Srivastava",
            "``",
            "before",
            "2000",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Divesh Srivastava\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t7.title ) FROM writes AS t4 JOIN author AS t2 ON t4.aid  =  t2.aid JOIN publication AS t7 ON t4.pid  =  t7.pid JOIN writes AS t5 ON t5.pid  =  t7.pid JOIN writes AS t6 ON t6.pid  =  t7.pid JOIN author AS t1 ON t5.aid  =  t1.aid JOIN author AS t3 ON t6.aid  =  t3.aid WHERE t2.name  =  \"Cong Yu\" AND t1.name  =  \"H. V. Jagadish\" AND t3.name  =  \"Yunyao Li\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t7.title",
            ")",
            "FROM",
            "writes",
            "AS",
            "t4",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t7",
            "ON",
            "t4.pid",
            "=",
            "t7.pid",
            "JOIN",
            "writes",
            "AS",
            "t5",
            "ON",
            "t5.pid",
            "=",
            "t7.pid",
            "JOIN",
            "writes",
            "AS",
            "t6",
            "ON",
            "t6.pid",
            "=",
            "t7.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "author",
            "AS",
            "t3",
            "ON",
            "t6.aid",
            "=",
            "t3.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Cong",
            "Yu",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "Yunyao",
            "Li",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t7",
            ".",
            "title",
            ")",
            "from",
            "writes",
            "as",
            "t4",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t7",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t7",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t7",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "pid",
            "=",
            "t7",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "author",
            "as",
            "t3",
            "on",
            "t6",
            ".",
            "aid",
            "=",
            "t3",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of papers written by \" H. V. Jagadish \" , \" Yunyao Li \" , and \" Cong Yu \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            ",",
            "``",
            "Yunyao",
            "Li",
            "``",
            ",",
            "and",
            "``",
            "Cong",
            "Yu",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                29,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Cong Yu\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Yunyao Li\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.name ) FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.name",
            ")",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "name",
            ")",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of authors who have cooperated with \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "authors",
            "who",
            "have",
            "cooperated",
            "with",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT COUNT ( DISTINCT t2.name ) FROM publication AS t7 JOIN cite AS t5 ON t7.pid  =  t5.citing JOIN publication AS t6 ON t6.pid  =  t5.cited JOIN writes AS t3 ON t3.pid  =  t7.pid JOIN writes AS t4 ON t4.pid  =  t6.pid JOIN author AS t2 ON t3.aid  =  t2.aid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.name",
            ")",
            "FROM",
            "publication",
            "AS",
            "t7",
            "JOIN",
            "cite",
            "AS",
            "t5",
            "ON",
            "t7.pid",
            "=",
            "t5.citing",
            "JOIN",
            "publication",
            "AS",
            "t6",
            "ON",
            "t6.pid",
            "=",
            "t5.cited",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t7.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t6.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "name",
            ")",
            "from",
            "publication",
            "as",
            "t7",
            "join",
            "cite",
            "as",
            "t5",
            "on",
            "t7",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "citing",
            "join",
            "publication",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "cited",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t7",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t6",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "return me the number of authors who have cited the papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "number",
            "of",
            "authors",
            "who",
            "have",
            "cited",
            "the",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        14
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t2.name  =  \"H. V. Jagadish\" AND t1.name  =  \"Divesh Srivastava\" AND t5.citation_num  >  200;",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "Divesh",
            "Srivastava",
            "''",
            "AND",
            "t5.citation_num",
            ">",
            "200",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "citation_num",
            ">",
            "value"
        ],
        "question": "return me the papers written by \" H. V. Jagadish \" and \" Divesh Srivastava \" with more than 200 citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Divesh",
            "Srivastava",
            "``",
            "with",
            "more",
            "than",
            "200",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Divesh Srivastava\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    200.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t1.keyword  =  \"Relational Database\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t5",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t5",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the author who has the most number of papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "author",
            "who",
            "has",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t1.keyword  =  \"Relational Database\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t3.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the conference that has the most number of papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "conference",
            "that",
            "has",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t1.keyword  =  \"Relational Database\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t3.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the conference, which has the most number of papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "conference",
            ",",
            "which",
            "has",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t1.keyword  =  \"Relational Database\" GROUP BY t3.name ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t4.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t2.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            "GROUP",
            "BY",
            "t3.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the journal that has the most number of papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "journal",
            "that",
            "has",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t1.keyword  =  \"Relational Database\" GROUP BY t3.name ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t4.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t2.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            "GROUP",
            "BY",
            "t3.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the journal, which has the most number of papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "journal",
            ",",
            "which",
            "has",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t2.name  =  \"VLDB\" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t3.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "GROUP",
            "BY",
            "t1.keyword",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyword",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the keyword, which have been contained by the most number of papers in VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keyword",
            ",",
            "which",
            "have",
            "been",
            "contained",
            "by",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "in",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t2.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t4.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t2.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "GROUP",
            "BY",
            "t1.keyword",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyword",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the keyword, which have been contained by the most number of papers in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keyword",
            ",",
            "which",
            "have",
            "been",
            "contained",
            "by",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t2.name  =  \"H. V. Jagadish\" GROUP BY t1.keyword ORDER BY COUNT ( DISTINCT t3.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t5",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "GROUP",
            "BY",
            "t1.keyword",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t5",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyword",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the keyword, which have been contained by the most number of papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keyword",
            ",",
            "which",
            "have",
            "been",
            "contained",
            "by",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t3 ON t3.aid  =  t1.aid JOIN publication AS t4 ON t3.pid  =  t4.pid WHERE t2.name  =  \"University of Michigan\" GROUP BY t1.name ORDER BY SUM ( t4.citation_num ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "t4.citation_num",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "sum",
            "(",
            "t4",
            ".",
            "citation_num",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the author in the \" University of Michigan \" whose papers have the most total citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "author",
            "in",
            "the",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "whose",
            "papers",
            "have",
            "the",
            "most",
            "total",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM DOMAIN AS t4 JOIN domain_publication AS t2 ON t4.did  =  t2.did JOIN publication AS t5 ON t5.pid  =  t2.pid JOIN writes AS t3 ON t3.pid  =  t5.pid JOIN author AS t1 ON t3.aid  =  t1.aid JOIN organization AS t6 ON t6.oid  =  t1.oid WHERE t4.name  =  \"Databases\" AND t6.name  =  \"University of Michigan\" GROUP BY t1.name ORDER BY SUM ( t5.citation_num ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "DOMAIN",
            "AS",
            "t4",
            "JOIN",
            "domain_publication",
            "AS",
            "t2",
            "ON",
            "t4.did",
            "=",
            "t2.did",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t5.pid",
            "=",
            "t2.pid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "organization",
            "AS",
            "t6",
            "ON",
            "t6.oid",
            "=",
            "t1.oid",
            "WHERE",
            "t4.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t6.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "SUM",
            "(",
            "t5.citation_num",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "domain",
            "as",
            "t4",
            "join",
            "domain_publication",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "pid",
            "=",
            "t2",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "organization",
            "as",
            "t6",
            "on",
            "t6",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "where",
            "t4",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t6",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "sum",
            "(",
            "t5",
            ".",
            "citation_num",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the author in the \" University of Michigan \" whose papers in Databases area have the most total citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "author",
            "in",
            "the",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "whose",
            "papers",
            "in",
            "Databases",
            "area",
            "have",
            "the",
            "most",
            "total",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            4,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t5.title FROM writes AS t3 JOIN author AS t2 ON t3.aid  =  t2.aid JOIN publication AS t5 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t5.pid JOIN author AS t1 ON t4.aid  =  t1.aid WHERE t2.name  =  \"Divesh Srivastava\" AND t1.name  =  \"H. V. Jagadish\" ORDER BY t5.citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t5.title",
            "FROM",
            "writes",
            "AS",
            "t3",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "publication",
            "AS",
            "t5",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t5.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Divesh",
            "Srivastava",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "ORDER",
            "BY",
            "t5.citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t5",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t3",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t5",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t5",
            ".",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the papers written by \" H. V. Jagadish \" and \" Divesh Srivastava \" with the most number of citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "papers",
            "written",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "and",
            "``",
            "Divesh",
            "Srivastava",
            "``",
            "with",
            "the",
            "most",
            "number",
            "of",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Divesh Srivastava\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" GROUP BY t2.name HAVING COUNT ( DISTINCT t4.title )  >  10;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the conferences, which have more than 10 papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "conferences",
            ",",
            "which",
            "have",
            "more",
            "than",
            "10",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the conference, which have the most number of papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "conference",
            ",",
            "which",
            "have",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" GROUP BY t2.name HAVING COUNT ( DISTINCT t4.title )  >  10;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the journals, which have more than 10 papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "journals",
            ",",
            "which",
            "have",
            "more",
            "than",
            "10",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t1.name  =  \"H. V. Jagadish\" GROUP BY t2.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the journal, which have the most number of papers by \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "journal",
            ",",
            "which",
            "have",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT title FROM publication ORDER BY citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "publication",
            "ORDER",
            "BY",
            "citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "publication",
            "order",
            "by",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did  =  t1.did JOIN publication AS t3 ON t3.pid  =  t1.pid WHERE t2.name  =  \"Databases\" ORDER BY t3.citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "DOMAIN",
            "AS",
            "t2",
            "JOIN",
            "domain_publication",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t1.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Databases",
            "''",
            "ORDER",
            "BY",
            "t3.citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "domain",
            "as",
            "t2",
            "join",
            "domain_publication",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t1",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper in Databases area with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "in",
            "Databases",
            "area",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" ORDER BY t2.citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "ORDER",
            "BY",
            "t2.citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper in PVLDB with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "in",
            "PVLDB",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" ORDER BY t2.citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "ORDER",
            "BY",
            "t2.citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper in VLDB conference with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "in",
            "VLDB",
            "conference",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid  =  t1.aid JOIN publication AS t3 ON t2.pid  =  t3.pid WHERE t1.name  =  \"H. V. Jagadish\" ORDER BY t3.citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "writes",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t2.pid",
            "=",
            "t3.pid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "ORDER",
            "BY",
            "t3.citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "writes",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper by \" H. V. Jagadish \" with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "by",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT title FROM publication WHERE YEAR  >  2000 ORDER BY citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "publication",
            "WHERE",
            "YEAR",
            ">",
            "2000",
            "ORDER",
            "BY",
            "citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "publication",
            "where",
            "year",
            ">",
            "value",
            "order",
            "by",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper after 2000 with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "after",
            "2000",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did  =  t1.did JOIN publication AS t3 ON t3.pid  =  t1.pid WHERE t2.name  =  \"Databases\" AND t3.year  >  2000 ORDER BY t3.citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "DOMAIN",
            "AS",
            "t2",
            "JOIN",
            "domain_publication",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t1.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t3.year",
            ">",
            "2000",
            "ORDER",
            "BY",
            "t3.citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "domain",
            "as",
            "t2",
            "join",
            "domain_publication",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t1",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "year",
            ">",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper after 2000 in Databases area with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "after",
            "2000",
            "in",
            "Databases",
            "area",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            31,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            32,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid  =  t1.jid WHERE t1.name  =  \"PVLDB\" AND t2.year  >  2000 ORDER BY t2.citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "journal",
            "AS",
            "t1",
            "ON",
            "t2.jid",
            "=",
            "t1.jid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "AND",
            "t2.year",
            ">",
            "2000",
            "ORDER",
            "BY",
            "t2.citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "journal",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t1",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper after 2000 in PVLDB with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "after",
            "2000",
            "in",
            "PVLDB",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid  =  t1.cid WHERE t1.name  =  \"VLDB\" AND t2.year  >  2000 ORDER BY t2.citation_num DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "publication",
            "AS",
            "t2",
            "JOIN",
            "conference",
            "AS",
            "t1",
            "ON",
            "t2.cid",
            "=",
            "t1.cid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "VLDB",
            "''",
            "AND",
            "t2.year",
            ">",
            "2000",
            "ORDER",
            "BY",
            "t2.citation_num",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "publication",
            "as",
            "t2",
            "join",
            "conference",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "cid",
            "=",
            "t1",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "year",
            ">",
            "value",
            "order",
            "by",
            "t2",
            ".",
            "citation_num",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the paper after 2000 in VLDB conference with the most citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "paper",
            "after",
            "2000",
            "in",
            "VLDB",
            "conference",
            "with",
            "the",
            "most",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                29,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"PVLDB\" GROUP BY t1.name HAVING COUNT ( DISTINCT t4.title )  >  10;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "having",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the authors who have more than 10 papers in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "more",
            "than",
            "10",
            "papers",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid  =  t2.jid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"PVLDB\" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "journal",
            "AS",
            "t2",
            "ON",
            "t4.jid",
            "=",
            "t2.jid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "journal",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "jid",
            "=",
            "t2",
            ".",
            "jid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the authors who have the most number of papers in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t1.keyword  =  \"Relational Database\" GROUP BY t2.name HAVING COUNT ( DISTINCT t3.title )  >  10;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t5",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t5",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the authors who have more than 10 papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "more",
            "than",
            "10",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t2.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t1.keyword  =  \"Relational Database\" GROUP BY t2.name HAVING COUNT ( DISTINCT t3.title )  >  60;",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t3.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            "GROUP",
            "BY",
            "t2.name",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            ">",
            "60",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "name",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the conferences, which have more than 60 papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "conferences",
            ",",
            "which",
            "have",
            "more",
            "than",
            "60",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    7,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    60.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t3.name FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t1.keyword  =  \"Relational Database\" GROUP BY t3.name HAVING COUNT ( DISTINCT t2.title )  >  60;",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t4.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t2.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Relational",
            "Database",
            "''",
            "GROUP",
            "BY",
            "t3.name",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            ">",
            "60",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "name",
            "having",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the journals, which have more than 60 papers containing keyword \" Relational Database \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "journals",
            ",",
            "which",
            "have",
            "more",
            "than",
            "60",
            "papers",
            "containing",
            "keyword",
            "``",
            "Relational",
            "Database",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                16,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            19,
                            false
                        ],
                        null
                    ],
                    "\"Relational Database\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    16,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    60.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t4.pid JOIN conference AS t2 ON t3.cid  =  t2.cid WHERE t2.name  =  \"VLDB\" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t3.title )  >  100;",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t3.cid",
            "=",
            "t2.cid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "GROUP",
            "BY",
            "t1.keyword",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            ">",
            "100",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyword",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the keywords, which have been contained by more than 100 papers in VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keywords",
            ",",
            "which",
            "have",
            "been",
            "contained",
            "by",
            "more",
            "than",
            "100",
            "papers",
            "in",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t4 JOIN keyword AS t1 ON t4.kid  =  t1.kid JOIN publication AS t2 ON t2.pid  =  t4.pid JOIN journal AS t3 ON t2.jid  =  t3.jid WHERE t3.name  =  \"PVLDB\" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t2.title )  >  100;",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t4",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t4.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t2",
            "ON",
            "t2.pid",
            "=",
            "t4.pid",
            "JOIN",
            "journal",
            "AS",
            "t3",
            "ON",
            "t2.jid",
            "=",
            "t3.jid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "PVLDB",
            "''",
            "GROUP",
            "BY",
            "t1.keyword",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            ">",
            "100",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t4",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "journal",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "jid",
            "=",
            "t3",
            ".",
            "jid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyword",
            "having",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the keywords, which have been contained by more than 100 papers in PVLDB .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keywords",
            ",",
            "which",
            "have",
            "been",
            "contained",
            "by",
            "more",
            "than",
            "100",
            "papers",
            "in",
            "PVLDB",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        5
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            16,
                            false
                        ],
                        null
                    ],
                    "\"PVLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    100.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.keyword FROM publication_keyword AS t5 JOIN keyword AS t1 ON t5.kid  =  t1.kid JOIN publication AS t3 ON t3.pid  =  t5.pid JOIN writes AS t4 ON t4.pid  =  t3.pid JOIN author AS t2 ON t4.aid  =  t2.aid WHERE t2.name  =  \"H. V. Jagadish\" GROUP BY t1.keyword HAVING COUNT ( DISTINCT t3.title )  >  10;",
        "query_toks": [
            "SELECT",
            "t1.keyword",
            "FROM",
            "publication_keyword",
            "AS",
            "t5",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.kid",
            "JOIN",
            "publication",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t5.pid",
            "JOIN",
            "writes",
            "AS",
            "t4",
            "ON",
            "t4.pid",
            "=",
            "t3.pid",
            "JOIN",
            "author",
            "AS",
            "t2",
            "ON",
            "t4.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "''",
            "GROUP",
            "BY",
            "t1.keyword",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "keyword",
            "from",
            "publication_keyword",
            "as",
            "t5",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "kid",
            "join",
            "publication",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "join",
            "writes",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "keyword",
            "having",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the keywords, which have been contained by more than 10 papers of \" H. V. Jagadish \" .",
        "question_toks": [
            "return",
            "me",
            "the",
            "keywords",
            ",",
            "which",
            "have",
            "been",
            "contained",
            "by",
            "more",
            "than",
            "10",
            "papers",
            "of",
            "``",
            "H.",
            "V.",
            "Jagadish",
            "``",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                38,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            20,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                27,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                19,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"H. V. Jagadish\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    19,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"VLDB\" GROUP BY t1.name HAVING COUNT ( DISTINCT t4.title )  >  10;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "HAVING",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            ">",
            "10",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "having",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            ">",
            "value"
        ],
        "question": "return me the authors who have more than 10 papers in the VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "authors",
            "who",
            "have",
            "more",
            "than",
            "10",
            "papers",
            "in",
            "the",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ],
                    10.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid  =  t2.cid JOIN writes AS t3 ON t3.pid  =  t4.pid JOIN author AS t1 ON t3.aid  =  t1.aid WHERE t2.name  =  \"VLDB\" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "publication",
            "AS",
            "t4",
            "JOIN",
            "conference",
            "AS",
            "t2",
            "ON",
            "t4.cid",
            "=",
            "t2.cid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "VLDB",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "publication",
            "as",
            "t4",
            "join",
            "conference",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "cid",
            "=",
            "t2",
            ".",
            "cid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "return me the author who has the most number of papers in the VLDB conference .",
        "question_toks": [
            "return",
            "me",
            "the",
            "author",
            "who",
            "has",
            "the",
            "most",
            "number",
            "of",
            "papers",
            "in",
            "the",
            "VLDB",
            "conference",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    "\"VLDB\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            29,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM organization AS t2 JOIN author AS t1 ON t2.oid  =  t1.oid JOIN writes AS t3 ON t3.aid  =  t1.aid JOIN publication AS t4 ON t3.pid  =  t4.pid WHERE t2.name  =  \"University of Michigan\" GROUP BY t1.name HAVING SUM ( t4.citation_num )  >  5000;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "organization",
            "AS",
            "t2",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t2.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t3",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t3.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "HAVING",
            "SUM",
            "(",
            "t4.citation_num",
            ")",
            ">",
            "5000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "organization",
            "as",
            "t2",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t3",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "having",
            "sum",
            "(",
            "t4",
            ".",
            "citation_num",
            ")",
            ">",
            "value"
        ],
        "question": "return me the author in the \" University of Michigan \" whose papers have more than 5000 total citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "author",
            "in",
            "the",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "whose",
            "papers",
            "have",
            "more",
            "than",
            "5000",
            "total",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            25,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "academic",
        "query": "SELECT t1.name FROM domain_author AS t6 JOIN author AS t1 ON t6.aid  =  t1.aid JOIN DOMAIN AS t3 ON t3.did  =  t6.did JOIN organization AS t5 ON t5.oid  =  t1.oid JOIN writes AS t2 ON t2.aid  =  t1.aid JOIN publication AS t4 ON t2.pid  =  t4.pid WHERE t3.name  =  \"Databases\" AND t5.name  =  \"University of Michigan\" GROUP BY t1.name HAVING SUM ( t4.citation_num )  >  5000;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "domain_author",
            "AS",
            "t6",
            "JOIN",
            "author",
            "AS",
            "t1",
            "ON",
            "t6.aid",
            "=",
            "t1.aid",
            "JOIN",
            "DOMAIN",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t6.did",
            "JOIN",
            "organization",
            "AS",
            "t5",
            "ON",
            "t5.oid",
            "=",
            "t1.oid",
            "JOIN",
            "writes",
            "AS",
            "t2",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "publication",
            "AS",
            "t4",
            "ON",
            "t2.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Databases",
            "''",
            "AND",
            "t5.name",
            "=",
            "``",
            "University",
            "of",
            "Michigan",
            "''",
            "GROUP",
            "BY",
            "t1.name",
            "HAVING",
            "SUM",
            "(",
            "t4.citation_num",
            ")",
            ">",
            "5000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "domain_author",
            "as",
            "t6",
            "join",
            "author",
            "as",
            "t1",
            "on",
            "t6",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "domain",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t6",
            ".",
            "did",
            "join",
            "organization",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "oid",
            "=",
            "t1",
            ".",
            "oid",
            "join",
            "writes",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "publication",
            "as",
            "t4",
            "on",
            "t2",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t5",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "having",
            "sum",
            "(",
            "t4",
            ".",
            "citation_num",
            ")",
            ">",
            "value"
        ],
        "question": "return me the author in the \" University of Michigan \" in Databases area whose papers have more than 5000 total citations .",
        "question_toks": [
            "return",
            "me",
            "the",
            "author",
            "in",
            "the",
            "``",
            "University",
            "of",
            "Michigan",
            "``",
            "in",
            "Databases",
            "area",
            "whose",
            "papers",
            "have",
            "more",
            "than",
            "5000",
            "total",
            "citations",
            "."
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        13
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                8,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                36,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                39,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                40,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            27,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ],
                    "\"Databases\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "\"University of Michigan\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    3,
                    false
                ]
            ],
            "having": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            4,
                            25,
                            false
                        ],
                        null
                    ],
                    5000.0,
                    null
                ]
            ],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT release_year FROM movie WHERE title  =  \"The Imitation Game\";",
        "query_toks": [
            "SELECT",
            "release_year",
            "FROM",
            "movie",
            "WHERE",
            "title",
            "=",
            "``",
            "The",
            "Imitation",
            "Game",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "release_year",
            "from",
            "movie",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What year is the movie \" The Imitation Game \" from ?",
        "question_toks": [
            "What",
            "year",
            "is",
            "the",
            "movie",
            "``",
            "The",
            "Imitation",
            "Game",
            "``",
            "from",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Imitation Game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT release_year FROM movie WHERE title  =  \"The Imitation Game\";",
        "query_toks": [
            "SELECT",
            "release_year",
            "FROM",
            "movie",
            "WHERE",
            "title",
            "=",
            "``",
            "The",
            "Imitation",
            "Game",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "release_year",
            "from",
            "movie",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "What year was the movie \" The Imitation Game \" produced",
        "question_toks": [
            "What",
            "year",
            "was",
            "the",
            "movie",
            "``",
            "The",
            "Imitation",
            "Game",
            "``",
            "produced"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Imitation Game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT birth_year FROM actor WHERE name  =  \"Benedict Cumberbatch\";",
        "query_toks": [
            "SELECT",
            "birth_year",
            "FROM",
            "actor",
            "WHERE",
            "name",
            "=",
            "``",
            "Benedict",
            "Cumberbatch",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "birth_year",
            "from",
            "actor",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What year was \" Benedict Cumberbatch \" born ?",
        "question_toks": [
            "What",
            "year",
            "was",
            "``",
            "Benedict",
            "Cumberbatch",
            "``",
            "born",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Benedict Cumberbatch\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT birth_year FROM actor WHERE name  =  \"Benedict Cumberbatch\";",
        "query_toks": [
            "SELECT",
            "birth_year",
            "FROM",
            "actor",
            "WHERE",
            "name",
            "=",
            "``",
            "Benedict",
            "Cumberbatch",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "birth_year",
            "from",
            "actor",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "In what year was \" Benedict Cumberbatch \" born",
        "question_toks": [
            "In",
            "what",
            "year",
            "was",
            "``",
            "Benedict",
            "Cumberbatch",
            "``",
            "born"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Benedict Cumberbatch\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT nationality FROM actor WHERE name  =  \"Christoph Waltz\";",
        "query_toks": [
            "SELECT",
            "nationality",
            "FROM",
            "actor",
            "WHERE",
            "name",
            "=",
            "``",
            "Christoph",
            "Waltz",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "actor",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the nationality of the actress \" Christoph Waltz \" ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "nationality",
            "of",
            "the",
            "actress",
            "``",
            "Christoph",
            "Waltz",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Christoph Waltz\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT nationality FROM actor WHERE name  =  \"Christoph Waltz\";",
        "query_toks": [
            "SELECT",
            "nationality",
            "FROM",
            "actor",
            "WHERE",
            "name",
            "=",
            "``",
            "Christoph",
            "Waltz",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "actor",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the nationality of the actor \" Christoph Waltz \" ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "nationality",
            "of",
            "the",
            "actor",
            "``",
            "Christoph",
            "Waltz",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Christoph Waltz\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT title FROM movie WHERE release_year  =  2015;",
        "query_toks": [
            "SELECT",
            "title",
            "FROM",
            "movie",
            "WHERE",
            "release_year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "title",
            "from",
            "movie",
            "where",
            "release_year",
            "=",
            "value"
        ],
        "question": "Find all movies produced in 2015",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "produced",
            "in",
            "2015"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"Tehran\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "Tehran",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value"
        ],
        "question": "Find all actors born in \" Tehran \"",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "born",
            "in",
            "``",
            "Tehran",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Tehran\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"Tehran\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "Tehran",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value"
        ],
        "question": "Find all actors born in Tehran",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "born",
            "in",
            "Tehran"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Tehran\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"Tehran\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "Tehran",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value"
        ],
        "question": "Which actors were born in Tehran",
        "question_toks": [
            "Which",
            "actors",
            "were",
            "born",
            "in",
            "Tehran"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Tehran\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE nationality  =  \"Afghanistan\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "nationality",
            "=",
            "``",
            "Afghanistan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "nationality",
            "=",
            "value"
        ],
        "question": "Find all actors who are from Afghanistan",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "who",
            "are",
            "from",
            "Afghanistan"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Afghanistan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE nationality  =  \"Afghanistan\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "nationality",
            "=",
            "``",
            "Afghanistan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "nationality",
            "=",
            "value"
        ],
        "question": "Find all actors from Afghanistan",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "from",
            "Afghanistan"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Afghanistan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE nationality  =  \"Afghanistan\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "nationality",
            "=",
            "``",
            "Afghanistan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "nationality",
            "=",
            "value"
        ],
        "question": "Give me the name of all the actors from Afghanistan",
        "question_toks": [
            "Give",
            "me",
            "the",
            "name",
            "of",
            "all",
            "the",
            "actors",
            "from",
            "Afghanistan"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Afghanistan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_year  =  1984;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_year",
            "=",
            "1984",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_year",
            "=",
            "value"
        ],
        "question": "Find all actors who were born in 1984",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "who",
            "were",
            "born",
            "in",
            "1984"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1984.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT birth_year FROM actor WHERE name  =  \"actor_name0\";",
        "query_toks": [
            "SELECT",
            "birth_year",
            "FROM",
            "actor",
            "WHERE",
            "name",
            "=",
            "``",
            "actor_name0",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "birth_year",
            "from",
            "actor",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "When was \" Kevin Spacey \" born ?",
        "question_toks": [
            "When",
            "was",
            "``",
            "Kevin",
            "Spacey",
            "``",
            "born",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"actor_name0\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT birth_year FROM actor WHERE name  =  \"actor_name0\";",
        "query_toks": [
            "SELECT",
            "birth_year",
            "FROM",
            "actor",
            "WHERE",
            "name",
            "=",
            "``",
            "actor_name0",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "birth_year",
            "from",
            "actor",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "In what year was \" Kevin Spacey \" born ?",
        "question_toks": [
            "In",
            "what",
            "year",
            "was",
            "``",
            "Kevin",
            "Spacey",
            "``",
            "born",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                6,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"actor_name0\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT birth_city FROM director WHERE name  =  \"director_name0\";",
        "query_toks": [
            "SELECT",
            "birth_city",
            "FROM",
            "director",
            "WHERE",
            "name",
            "=",
            "``",
            "director_name0",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "birth_city",
            "from",
            "director",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "Where is the birth place of \" Kevin Spacey \"",
        "question_toks": [
            "Where",
            "is",
            "the",
            "birth",
            "place",
            "of",
            "``",
            "Kevin",
            "Spacey",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"director_name0\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT birth_city FROM director WHERE name  =  \"director_name0\";",
        "query_toks": [
            "SELECT",
            "birth_city",
            "FROM",
            "director",
            "WHERE",
            "name",
            "=",
            "``",
            "director_name0",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "birth_city",
            "from",
            "director",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "In what city was \" Kevin Spacey \" born ?",
        "question_toks": [
            "In",
            "what",
            "city",
            "was",
            "``",
            "Kevin",
            "Spacey",
            "``",
            "born",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"director_name0\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT nationality FROM director WHERE name  =  \"director_name0\";",
        "query_toks": [
            "SELECT",
            "nationality",
            "FROM",
            "director",
            "WHERE",
            "name",
            "=",
            "``",
            "director_name0",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "nationality",
            "from",
            "director",
            "where",
            "name",
            "=",
            "value"
        ],
        "question": "What is the nationality of \" Kevin Spacey \" ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "nationality",
            "of",
            "``",
            "Kevin",
            "Spacey",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                25,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"director_name0\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT budget FROM movie WHERE title  =  \"Finding Nemo\";",
        "query_toks": [
            "SELECT",
            "budget",
            "FROM",
            "movie",
            "WHERE",
            "title",
            "=",
            "``",
            "Finding",
            "Nemo",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "budget",
            "from",
            "movie",
            "where",
            "title",
            "=",
            "value"
        ],
        "question": "How much was the budget of \" Finding Nemo \"",
        "question_toks": [
            "How",
            "much",
            "was",
            "the",
            "budget",
            "of",
            "``",
            "Finding",
            "Nemo",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Finding Nemo\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  \"Steven Spielberg\" AND t3.release_year  >  2006;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Steven",
            "Spielberg",
            "''",
            "AND",
            "t3.release_year",
            ">",
            "2006",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "release_year",
            ">",
            "value"
        ],
        "question": "Find all movies directed by \" Steven Spielberg \" after 2006",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "directed",
            "by",
            "``",
            "Steven",
            "Spielberg",
            "``",
            "after",
            "2006"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Steven Spielberg\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2006.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  \"James Bond\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "James",
            "Bond",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who is the director of the movie \" James Bond \" ?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "director",
            "of",
            "the",
            "movie",
            "``",
            "James",
            "Bond",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"James Bond\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  \"James Bond\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "James",
            "Bond",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who directed the movie \" James Bond \" ?",
        "question_toks": [
            "Who",
            "directed",
            "the",
            "movie",
            "``",
            "James",
            "Bond",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"James Bond\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  \"James Bond\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "James",
            "Bond",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "List \" James Bond \" directors",
        "question_toks": [
            "List",
            "``",
            "James",
            "Bond",
            "``",
            "directors"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"James Bond\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  \"Alan Turing\" AND t3.title  =  \"The Imitation Game\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t2.role",
            "=",
            "``",
            "Alan",
            "Turing",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "The",
            "Imitation",
            "Game",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "role",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Find the actor who played \" Alan Turing \" in the movie \" The Imitation Game \"",
        "question_toks": [
            "Find",
            "the",
            "actor",
            "who",
            "played",
            "``",
            "Alan",
            "Turing",
            "``",
            "in",
            "the",
            "movie",
            "``",
            "The",
            "Imitation",
            "Game",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Alan Turing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Imitation Game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  \"Alan Turing\" AND t3.title  =  \"The Imitation Game\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t2.role",
            "=",
            "``",
            "Alan",
            "Turing",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "The",
            "Imitation",
            "Game",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "role",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who acted \" Alan Turing \" in the movie \" The Imitation Game \" ?",
        "question_toks": [
            "Who",
            "acted",
            "``",
            "Alan",
            "Turing",
            "``",
            "in",
            "the",
            "movie",
            "``",
            "The",
            "Imitation",
            "Game",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Alan Turing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Imitation Game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  \"Alan Turing\" AND t3.title  =  \"The Imitation Game\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t2.role",
            "=",
            "``",
            "Alan",
            "Turing",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "The",
            "Imitation",
            "Game",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "role",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who was the actor that played \" Alan Turing \" in the movie \" The Imitation Game \" ?",
        "question_toks": [
            "Who",
            "was",
            "the",
            "actor",
            "that",
            "played",
            "``",
            "Alan",
            "Turing",
            "``",
            "in",
            "the",
            "movie",
            "``",
            "The",
            "Imitation",
            "Game",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Alan Turing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Imitation Game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  \"Alan Turing\" AND t3.title  =  \"The Imitation Game\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t2.role",
            "=",
            "``",
            "Alan",
            "Turing",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "The",
            "Imitation",
            "Game",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "role",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who acts as \" Alan Turing \" in the movie \" The Imitation Game \" ?",
        "question_toks": [
            "Who",
            "acts",
            "as",
            "``",
            "Alan",
            "Turing",
            "``",
            "in",
            "the",
            "movie",
            "``",
            "The",
            "Imitation",
            "Game",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Alan Turing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Imitation Game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t2.role  =  \"Alan Turing\" AND t3.title  =  \"The Imitation Game\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t2.role",
            "=",
            "``",
            "Alan",
            "Turing",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "The",
            "Imitation",
            "Game",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "role",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who is the actor playing \" Alan Turing \" in \" The Imitation Game \" ?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "actor",
            "playing",
            "``",
            "Alan",
            "Turing",
            "``",
            "in",
            "``",
            "The",
            "Imitation",
            "Game",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Alan Turing\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Imitation Game\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.genre FROM genre AS t2 JOIN classification AS t1 ON t2.gid  =  t1.gid JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  \"Jurassic Park\";",
        "query_toks": [
            "SELECT",
            "t2.genre",
            "FROM",
            "genre",
            "AS",
            "t2",
            "JOIN",
            "classification",
            "AS",
            "t1",
            "ON",
            "t2.gid",
            "=",
            "t1.gid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Jurassic",
            "Park",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "genre",
            "from",
            "genre",
            "as",
            "t2",
            "join",
            "classification",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "gid",
            "=",
            "t1",
            ".",
            "gid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What is the genre of the movie \" Jurassic Park \" ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "genre",
            "of",
            "the",
            "movie",
            "``",
            "Jurassic",
            "Park",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Jurassic Park\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.release_year  =  2015 AND t3.title  =  \"Joy\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t3.release_year",
            "=",
            "2015",
            "AND",
            "t3.title",
            "=",
            "``",
            "Joy",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "release_year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who was the director of the movie Joy from 2015 ?",
        "question_toks": [
            "Who",
            "was",
            "the",
            "director",
            "of",
            "the",
            "movie",
            "Joy",
            "from",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Joy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.title FROM written_by AS t3 JOIN movie AS t1 ON t3.msid  =  t1.mid JOIN writer AS t2 ON t3.wid  =  t2.wid WHERE t2.name  =  \"Matt Damon\";",
        "query_toks": [
            "SELECT",
            "t1.title",
            "FROM",
            "written_by",
            "AS",
            "t3",
            "JOIN",
            "movie",
            "AS",
            "t1",
            "ON",
            "t3.msid",
            "=",
            "t1.mid",
            "JOIN",
            "writer",
            "AS",
            "t2",
            "ON",
            "t3.wid",
            "=",
            "t2.wid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Matt",
            "Damon",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "written_by",
            "as",
            "t3",
            "join",
            "movie",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "msid",
            "=",
            "t1",
            ".",
            "mid",
            "join",
            "writer",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "wid",
            "=",
            "t2",
            ".",
            "wid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies written by \" Matt Damon \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "written",
            "by",
            "``",
            "Matt",
            "Damon",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        15
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            59,
                            false
                        ],
                        null
                    ],
                    "\"Matt Damon\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM movie AS t2 JOIN made_by AS t3 ON t2.mid  =  t3.msid JOIN producer AS t1 ON t1.pid  =  t3.pid JOIN written_by AS t5 ON t5.msid  =  t2.mid JOIN writer AS t4 ON t5.wid  =  t4.wid WHERE t1.name  =  \"Woody Allen\" AND t4.name  =  \"Woody Allen\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "movie",
            "AS",
            "t2",
            "JOIN",
            "made_by",
            "AS",
            "t3",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "JOIN",
            "producer",
            "AS",
            "t1",
            "ON",
            "t1.pid",
            "=",
            "t3.pid",
            "JOIN",
            "written_by",
            "AS",
            "t5",
            "ON",
            "t5.msid",
            "=",
            "t2.mid",
            "JOIN",
            "writer",
            "AS",
            "t4",
            "ON",
            "t5.wid",
            "=",
            "t4.wid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Woody",
            "Allen",
            "''",
            "AND",
            "t4.name",
            "=",
            "``",
            "Woody",
            "Allen",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "movie",
            "as",
            "t2",
            "join",
            "made_by",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "join",
            "producer",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "written_by",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "msid",
            "=",
            "t2",
            ".",
            "mid",
            "join",
            "writer",
            "as",
            "t4",
            "on",
            "t5",
            ".",
            "wid",
            "=",
            "t4",
            ".",
            "wid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies written and produced by \" Woody Allen \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "written",
            "and",
            "produced",
            "by",
            "``",
            "Woody",
            "Allen",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        15
                    ],
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"Woody Allen\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            59,
                            false
                        ],
                        null
                    ],
                    "\"Woody Allen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Robin Wright\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Robin",
            "Wright",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies featuring \" Robin Wright \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "featuring",
            "``",
            "Robin",
            "Wright",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Robin Wright\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Robin Wright\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Robin",
            "Wright",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are all the movies featuring \" Robin Wright \" ?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "movies",
            "featuring",
            "``",
            "Robin",
            "Wright",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Robin Wright\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Robin Wright\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Robin",
            "Wright",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies in which \" Robin Wright \" appears",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "in",
            "which",
            "``",
            "Robin",
            "Wright",
            "``",
            "appears"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Robin Wright\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT budget FROM movie WHERE release_year  =  2007 AND title  =  \"Juno\";",
        "query_toks": [
            "SELECT",
            "budget",
            "FROM",
            "movie",
            "WHERE",
            "release_year",
            "=",
            "2007",
            "AND",
            "title",
            "=",
            "``",
            "Juno",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "budget",
            "from",
            "movie",
            "where",
            "release_year",
            "=",
            "value",
            "and",
            "title",
            "=",
            "value"
        ],
        "question": "What was the budget of the movie Juno from 2007 ?",
        "question_toks": [
            "What",
            "was",
            "the",
            "budget",
            "of",
            "the",
            "movie",
            "Juno",
            "from",
            "2007",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2007.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Juno\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid  =  t1.gid JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.genre  =  \"Sci-Fi\" AND t3.release_year  =  2010;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "genre",
            "AS",
            "t2",
            "JOIN",
            "classification",
            "AS",
            "t1",
            "ON",
            "t2.gid",
            "=",
            "t1.gid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.genre",
            "=",
            "``",
            "Sci-Fi",
            "''",
            "AND",
            "t3.release_year",
            "=",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "genre",
            "as",
            "t2",
            "join",
            "classification",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "gid",
            "=",
            "t1",
            ".",
            "gid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "genre",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "release_year",
            "=",
            "value"
        ],
        "question": "Find all Sci-Fi produced in year 2010",
        "question_toks": [
            "Find",
            "all",
            "Sci-Fi",
            "produced",
            "in",
            "year",
            "2010"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Sci-Fi\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid  =  t1.gid JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.genre  =  \"Sci-Fi\" AND t3.release_year  =  2010;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "genre",
            "AS",
            "t2",
            "JOIN",
            "classification",
            "AS",
            "t1",
            "ON",
            "t2.gid",
            "=",
            "t1.gid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.genre",
            "=",
            "``",
            "Sci-Fi",
            "''",
            "AND",
            "t3.release_year",
            "=",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "genre",
            "as",
            "t2",
            "join",
            "classification",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "gid",
            "=",
            "t1",
            ".",
            "gid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "genre",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "release_year",
            "=",
            "value"
        ],
        "question": "List all the Sci-Fi movies which released in 2010",
        "question_toks": [
            "List",
            "all",
            "the",
            "Sci-Fi",
            "movies",
            "which",
            "released",
            "in",
            "2010"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            15,
                            false
                        ],
                        null
                    ],
                    "\"Sci-Fi\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"Austin\" AND birth_year  >  1980;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "Austin",
            "''",
            "AND",
            "birth_year",
            ">",
            "1980",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value",
            "and",
            "birth_year",
            ">",
            "value"
        ],
        "question": "Find all actors born in \" Austin \" after 1980",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "born",
            "in",
            "``",
            "Austin",
            "``",
            "after",
            "1980"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Austin\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"Austin\" AND birth_year  >  1980;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "Austin",
            "''",
            "AND",
            "birth_year",
            ">",
            "1980",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value",
            "and",
            "birth_year",
            ">",
            "value"
        ],
        "question": "Who are the actors born in \" Austin \" after 1980 ?",
        "question_toks": [
            "Who",
            "are",
            "the",
            "actors",
            "born",
            "in",
            "``",
            "Austin",
            "``",
            "after",
            "1980",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Austin\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"Austin\" AND birth_year  >  1980;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "Austin",
            "''",
            "AND",
            "birth_year",
            ">",
            "1980",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value",
            "and",
            "birth_year",
            ">",
            "value"
        ],
        "question": "Find all actors from Austin born after 1980",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "from",
            "Austin",
            "born",
            "after",
            "1980"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Austin\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.birth_city  =  \"Los Angeles\";",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.birth_city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "birth_city",
            "=",
            "value"
        ],
        "question": "Find all movies by directors born in \" Los Angeles \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "by",
            "directors",
            "born",
            "in",
            "``",
            "Los",
            "Angeles",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            26,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"New York City\" AND birth_year  =  1984;",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "New",
            "York",
            "City",
            "''",
            "AND",
            "birth_year",
            "=",
            "1984",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value",
            "and",
            "birth_year",
            "=",
            "value"
        ],
        "question": "Find all actors who were born in \" New York City \" in 1984",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "who",
            "were",
            "born",
            "in",
            "``",
            "New",
            "York",
            "City",
            "``",
            "in",
            "1984"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"New York City\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1984.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM tags AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.id JOIN movie AS t3 ON t2.msid  =  t3.mid WHERE t1.keyword  =  \"nuclear weapons\";",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "tags",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.id",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t2.msid",
            "=",
            "t3.mid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "nuclear",
            "weapons",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "tags",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "msid",
            "=",
            "t3",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "Find all movies about nuclear weapons",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "about",
            "nuclear",
            "weapons"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"nuclear weapons\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM tags AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.id JOIN movie AS t3 ON t2.msid  =  t3.mid WHERE t1.keyword  =  \"nuclear weapons\";",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "tags",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.id",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t2.msid",
            "=",
            "t3.mid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "nuclear",
            "weapons",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "tags",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "msid",
            "=",
            "t3",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "What are the movies related to nuclear weapons",
        "question_toks": [
            "What",
            "are",
            "the",
            "movies",
            "related",
            "to",
            "nuclear",
            "weapons"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"nuclear weapons\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  \"Alfred Hitchcock\";",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Alfred",
            "Hitchcock",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Which movies did \" Alfred Hitchcock \" direct ?",
        "question_toks": [
            "Which",
            "movies",
            "did",
            "``",
            "Alfred",
            "Hitchcock",
            "``",
            "direct",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Alfred Hitchcock\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN directed_by AS t2 ON t4.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  \"Taraneh Alidoosti\" AND t3.name  =  \"Asghar Farhadi\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "CAST",
            "AS",
            "t5",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "director",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Taraneh",
            "Alidoosti",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "Asghar",
            "Farhadi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t5",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "director",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies directed by \" Asghar Farhadi \" and featuring \" Taraneh Alidoosti \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "directed",
            "by",
            "``",
            "Asghar",
            "Farhadi",
            "``",
            "and",
            "featuring",
            "``",
            "Taraneh",
            "Alidoosti",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Taraneh Alidoosti\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Asghar Farhadi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN directed_by AS t2 ON t4.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  \"Taraneh Alidoosti\" AND t3.name  =  \"Asghar Farhadi\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "CAST",
            "AS",
            "t5",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "director",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Taraneh",
            "Alidoosti",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "Asghar",
            "Farhadi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t5",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "director",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are all the movies directed by \" Asghar Farhadi \" featuring \" Taraneh Alidoosti \" ?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "movies",
            "directed",
            "by",
            "``",
            "Asghar",
            "Farhadi",
            "``",
            "featuring",
            "``",
            "Taraneh",
            "Alidoosti",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Taraneh Alidoosti\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Asghar Farhadi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN directed_by AS t2 ON t4.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  \"Taraneh Alidoosti\" AND t3.name  =  \"Asghar Farhadi\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "CAST",
            "AS",
            "t5",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "director",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Taraneh",
            "Alidoosti",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "Asghar",
            "Farhadi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t5",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "director",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many movies are there that are directed by \" Asghar Farhadi \" and featuring \" Taraneh Alidoosti \" ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "are",
            "there",
            "that",
            "are",
            "directed",
            "by",
            "``",
            "Asghar",
            "Farhadi",
            "``",
            "and",
            "featuring",
            "``",
            "Taraneh",
            "Alidoosti",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Taraneh Alidoosti\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Asghar Farhadi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN directed_by AS t2 ON t4.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  \"Taraneh Alidoosti\" AND t3.name  =  \"Asghar Farhadi\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "CAST",
            "AS",
            "t5",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "director",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Taraneh",
            "Alidoosti",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "Asghar",
            "Farhadi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t5",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "director",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "List all the movies directed by \" Asghar Farhadi \" in which \" Taraneh Alidoosti \" played",
        "question_toks": [
            "List",
            "all",
            "the",
            "movies",
            "directed",
            "by",
            "``",
            "Asghar",
            "Farhadi",
            "``",
            "in",
            "which",
            "``",
            "Taraneh",
            "Alidoosti",
            "``",
            "played"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Taraneh Alidoosti\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Asghar Farhadi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM producer AS t1 JOIN made_by AS t3 ON t1.pid  =  t3.pid JOIN tv_series AS t2 ON t2.sid  =  t3.msid WHERE t1.name  =  \"Shonda Rhimes\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "producer",
            "AS",
            "t1",
            "JOIN",
            "made_by",
            "AS",
            "t3",
            "ON",
            "t1.pid",
            "=",
            "t3.pid",
            "JOIN",
            "tv_series",
            "AS",
            "t2",
            "ON",
            "t2.sid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Shonda",
            "Rhimes",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "producer",
            "as",
            "t1",
            "join",
            "made_by",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t3",
            ".",
            "pid",
            "join",
            "tv_series",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "sid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are all the tv series created by \" Shonda Rhimes \" ?",
        "question_toks": [
            "What",
            "are",
            "all",
            "the",
            "tv",
            "series",
            "created",
            "by",
            "``",
            "Shonda",
            "Rhimes",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        7
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            30,
                            false
                        ],
                        null
                    ],
                    "\"Shonda Rhimes\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN tv_series AS t2 ON t2.sid  =  t3.msid WHERE t3.role  =  \"Olivia Pope\" AND t2.title  =  \"Scandal\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "tv_series",
            "AS",
            "t2",
            "ON",
            "t2.sid",
            "=",
            "t3.msid",
            "WHERE",
            "t3.role",
            "=",
            "``",
            "Olivia",
            "Pope",
            "''",
            "AND",
            "t2.title",
            "=",
            "``",
            "Scandal",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "tv_series",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "sid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "role",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who acts \" Olivia Pope \" in the series Scandal ?",
        "question_toks": [
            "Who",
            "acts",
            "``",
            "Olivia",
            "Pope",
            "``",
            "in",
            "the",
            "series",
            "Scandal",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Olivia Pope\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ],
                    "\"Scandal\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.name FROM written_by AS t3 JOIN movie AS t1 ON t3.msid  =  t1.mid JOIN writer AS t2 ON t3.wid  =  t2.wid WHERE t1.title  =  \"The Truman Show\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "written_by",
            "AS",
            "t3",
            "JOIN",
            "movie",
            "AS",
            "t1",
            "ON",
            "t3.msid",
            "=",
            "t1.mid",
            "JOIN",
            "writer",
            "AS",
            "t2",
            "ON",
            "t3.wid",
            "=",
            "t2.wid",
            "WHERE",
            "t1.title",
            "=",
            "``",
            "The",
            "Truman",
            "Show",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "written_by",
            "as",
            "t3",
            "join",
            "movie",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "msid",
            "=",
            "t1",
            ".",
            "mid",
            "join",
            "writer",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "wid",
            "=",
            "t2",
            ".",
            "wid",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who is the writer of the movie \" The Truman Show \"",
        "question_toks": [
            "Who",
            "is",
            "the",
            "writer",
            "of",
            "the",
            "movie",
            "``",
            "The",
            "Truman",
            "Show",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        15
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Truman Show\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.name FROM written_by AS t3 JOIN movie AS t1 ON t3.msid  =  t1.mid JOIN writer AS t2 ON t3.wid  =  t2.wid WHERE t1.title  =  \"The Truman Show\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "written_by",
            "AS",
            "t3",
            "JOIN",
            "movie",
            "AS",
            "t1",
            "ON",
            "t3.msid",
            "=",
            "t1.mid",
            "JOIN",
            "writer",
            "AS",
            "t2",
            "ON",
            "t3.wid",
            "=",
            "t2.wid",
            "WHERE",
            "t1.title",
            "=",
            "``",
            "The",
            "Truman",
            "Show",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "written_by",
            "as",
            "t3",
            "join",
            "movie",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "msid",
            "=",
            "t1",
            ".",
            "mid",
            "join",
            "writer",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "wid",
            "=",
            "t2",
            ".",
            "wid",
            "where",
            "t1",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who is the writer of \" The Truman Show \"",
        "question_toks": [
            "Who",
            "is",
            "the",
            "writer",
            "of",
            "``",
            "The",
            "Truman",
            "Show",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        15
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        14
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                65,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                66,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            57,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                59,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Truman Show\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN tv_series AS t2 ON t2.sid  =  t3.msid WHERE t1.name  =  \"Scott Foley\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "tv_series",
            "AS",
            "t2",
            "ON",
            "t2.sid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Scott",
            "Foley",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "tv_series",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "sid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the series featuring \" Scott Foley \" ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "series",
            "featuring",
            "``",
            "Scott",
            "Foley",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Scott Foley\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN tv_series AS t2 ON t2.sid  =  t3.msid WHERE t1.name  =  \"Scott Foley\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "tv_series",
            "AS",
            "t2",
            "ON",
            "t2.sid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Scott",
            "Foley",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "tv_series",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "sid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What are the series in which \" Scott Foley \" is an actor ?",
        "question_toks": [
            "What",
            "are",
            "the",
            "series",
            "in",
            "which",
            "``",
            "Scott",
            "Foley",
            "``",
            "is",
            "an",
            "actor",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                51,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Scott Foley\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid  =  t1.aid JOIN movie AS t5 ON t5.mid  =  t4.msid JOIN directed_by AS t2 ON t5.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.name  =  \"Kate Winslet\";",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "CAST",
            "AS",
            "t4",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t5",
            "ON",
            "t5.mid",
            "=",
            "t4.msid",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t5.mid",
            "=",
            "t2.msid",
            "JOIN",
            "director",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Kate",
            "Winslet",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t4",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t4",
            ".",
            "msid",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "director",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the directors of all movies featuring \" Kate Winslet \"",
        "question_toks": [
            "Find",
            "the",
            "directors",
            "of",
            "all",
            "movies",
            "featuring",
            "``",
            "Kate",
            "Winslet",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Kate Winslet\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t3 JOIN actor AS t2 ON t3.aid  =  t2.aid JOIN movie AS t5 ON t5.mid  =  t3.msid JOIN made_by AS t4 ON t5.mid  =  t4.msid JOIN producer AS t1 ON t1.pid  =  t4.pid WHERE t2.name  =  \"Kate Winslet\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "JOIN",
            "movie",
            "AS",
            "t5",
            "ON",
            "t5.mid",
            "=",
            "t3.msid",
            "JOIN",
            "made_by",
            "AS",
            "t4",
            "ON",
            "t5.mid",
            "=",
            "t4.msid",
            "JOIN",
            "producer",
            "AS",
            "t1",
            "ON",
            "t1.pid",
            "=",
            "t4.pid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Kate",
            "Winslet",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "join",
            "made_by",
            "as",
            "t4",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t4",
            ".",
            "msid",
            "join",
            "producer",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t4",
            ".",
            "pid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find the producers of all movies in which \" Kate Winslet \" is an actor",
        "question_toks": [
            "Find",
            "the",
            "producers",
            "of",
            "all",
            "movies",
            "in",
            "which",
            "``",
            "Kate",
            "Winslet",
            "``",
            "is",
            "an",
            "actor"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Kate Winslet\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.name FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN tv_series AS t3 ON t3.sid  =  t1.msid WHERE t3.release_year  =  2013 AND t3.title  =  \"House of Cards\";",
        "query_toks": [
            "SELECT",
            "t2.name",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "tv_series",
            "AS",
            "t3",
            "ON",
            "t3.sid",
            "=",
            "t1.msid",
            "WHERE",
            "t3.release_year",
            "=",
            "2013",
            "AND",
            "t3.title",
            "=",
            "``",
            "House",
            "of",
            "Cards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "name",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "tv_series",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "sid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "release_year",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Who is the director of the tv series \" House of Cards \" from 2013 ?",
        "question_toks": [
            "Who",
            "is",
            "the",
            "director",
            "of",
            "the",
            "tv",
            "series",
            "``",
            "House",
            "of",
            "Cards",
            "``",
            "from",
            "2013",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        13
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                50,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            52,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            51,
                            false
                        ],
                        null
                    ],
                    "\"House of Cards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"Austin\" AND gender  =  \"female\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "Austin",
            "''",
            "AND",
            "gender",
            "=",
            "``",
            "female",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value",
            "and",
            "gender",
            "=",
            "value"
        ],
        "question": "Find all the female actors from Austin",
        "question_toks": [
            "Find",
            "all",
            "the",
            "female",
            "actors",
            "from",
            "Austin"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Austin\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_year  >  1980 AND nationality  =  \"Italy\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_year",
            ">",
            "1980",
            "AND",
            "nationality",
            "=",
            "``",
            "Italy",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_year",
            ">",
            "value",
            "and",
            "nationality",
            "=",
            "value"
        ],
        "question": "Find all actors from Italy born after 1980",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "from",
            "Italy",
            "born",
            "after",
            "1980"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Italy\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM actor WHERE birth_city  =  \"New York City\" AND birth_year  >  1980 AND gender  =  \"female\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "New",
            "York",
            "City",
            "''",
            "AND",
            "birth_year",
            ">",
            "1980",
            "AND",
            "gender",
            "=",
            "``",
            "female",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value",
            "and",
            "birth_year",
            ">",
            "value",
            "and",
            "gender",
            "=",
            "value"
        ],
        "question": "Find all the female actors born in \" New York City \" after 1980",
        "question_toks": [
            "Find",
            "all",
            "the",
            "female",
            "actors",
            "born",
            "in",
            "``",
            "New",
            "York",
            "City",
            "``",
            "after",
            "1980"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"New York City\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t1.gender  =  \"female\" AND t3.title  =  \"Saving Private Ryan\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t1.gender",
            "=",
            "``",
            "female",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "Saving",
            "Private",
            "Ryan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "gender",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Find all the female actors in the movie \" Saving Private Ryan \"",
        "question_toks": [
            "Find",
            "all",
            "the",
            "female",
            "actors",
            "in",
            "the",
            "movie",
            "``",
            "Saving",
            "Private",
            "Ryan",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Saving Private Ryan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT name FROM director WHERE nationality  =  \"Afghanistan\";",
        "query_toks": [
            "SELECT",
            "name",
            "FROM",
            "director",
            "WHERE",
            "nationality",
            "=",
            "``",
            "Afghanistan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "name",
            "from",
            "director",
            "where",
            "nationality",
            "=",
            "value"
        ],
        "question": "Find all the directors who are from Afghanistan",
        "question_toks": [
            "Find",
            "all",
            "the",
            "directors",
            "who",
            "are",
            "from",
            "Afghanistan"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            25,
                            false
                        ],
                        null
                    ],
                    "\"Afghanistan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t3.title  =  \"Camp X-Ray\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Camp",
            "X-Ray",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Find the actors who played in the movie \" Camp X-Ray \"",
        "question_toks": [
            "Find",
            "the",
            "actors",
            "who",
            "played",
            "in",
            "the",
            "movie",
            "``",
            "Camp",
            "X-Ray",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Camp X-Ray\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t1.nationality  =  \"Canada\" AND t3.title  =  \"James Bond\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t1.nationality",
            "=",
            "``",
            "Canada",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "James",
            "Bond",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "nationality",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "Find all actors from Canada who acted in \" James Bond \" movies",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "from",
            "Canada",
            "who",
            "acted",
            "in",
            "``",
            "James",
            "Bond",
            "``",
            "movies"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Canada\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"James Bond\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Rowan Atkinson\" AND t3.role  =  \"Mr. Bean\";",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Rowan",
            "Atkinson",
            "''",
            "AND",
            "t3.role",
            "=",
            "``",
            "Mr.",
            "Bean",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "role",
            "=",
            "value"
        ],
        "question": "find all films in which \" Rowan Atkinson \" acted as \" Mr. Bean \"",
        "question_toks": [
            "find",
            "all",
            "films",
            "in",
            "which",
            "``",
            "Rowan",
            "Atkinson",
            "``",
            "acted",
            "as",
            "``",
            "Mr.",
            "Bean",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Rowan Atkinson\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Mr. Bean\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.birth_city FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t3.title  =  \"The Past\";",
        "query_toks": [
            "SELECT",
            "t2.birth_city",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "The",
            "Past",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "birth_city",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "where is the director of \" The Past \" from",
        "question_toks": [
            "where",
            "is",
            "the",
            "director",
            "of",
            "``",
            "The",
            "Past",
            "``",
            "from"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                26,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"The Past\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid WHERE t2.role  =  \"Mr. Bean\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "WHERE",
            "t2.role",
            "=",
            "``",
            "Mr.",
            "Bean",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "role",
            "=",
            "value"
        ],
        "question": "who acted the role of \" Mr. Bean \"",
        "question_toks": [
            "who",
            "acted",
            "the",
            "role",
            "of",
            "``",
            "Mr.",
            "Bean",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Mr. Bean\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.genre FROM director AS t5 JOIN directed_by AS t2 ON t5.did  =  t2.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN classification AS t1 ON t4.mid  =  t1.msid JOIN genre AS t3 ON t3.gid  =  t1.gid WHERE t5.name  =  \"Asghar Farhadi\";",
        "query_toks": [
            "SELECT",
            "t3.genre",
            "FROM",
            "director",
            "AS",
            "t5",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t5.did",
            "=",
            "t2.did",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "classification",
            "AS",
            "t1",
            "ON",
            "t4.mid",
            "=",
            "t1.msid",
            "JOIN",
            "genre",
            "AS",
            "t3",
            "ON",
            "t3.gid",
            "=",
            "t1.gid",
            "WHERE",
            "t5.name",
            "=",
            "``",
            "Asghar",
            "Farhadi",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "genre",
            "from",
            "director",
            "as",
            "t5",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t5",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "classification",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "join",
            "genre",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "gid",
            "=",
            "t1",
            ".",
            "gid",
            "where",
            "t5",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "what are the genres of movies directed by \" Asghar Farhadi \"",
        "question_toks": [
            "what",
            "are",
            "the",
            "genres",
            "of",
            "movies",
            "directed",
            "by",
            "``",
            "Asghar",
            "Farhadi",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        3
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                15,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Asghar Farhadi\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.title FROM movie AS t1 JOIN CAST AS t2 ON t1.mid  =  t2.msid WHERE t2.role  =  \"Daffy Duck\";",
        "query_toks": [
            "SELECT",
            "t1.title",
            "FROM",
            "movie",
            "AS",
            "t1",
            "JOIN",
            "CAST",
            "AS",
            "t2",
            "ON",
            "t1.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t2.role",
            "=",
            "``",
            "Daffy",
            "Duck",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "title",
            "from",
            "movie",
            "as",
            "t1",
            "join",
            "cast",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "role",
            "=",
            "value"
        ],
        "question": "Which movie had the character \" Daffy Duck \"",
        "question_toks": [
            "Which",
            "movie",
            "had",
            "the",
            "character",
            "``",
            "Daffy",
            "Duck",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            13,
                            false
                        ],
                        null
                    ],
                    "\"Daffy Duck\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.role FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t3.title  =  \"Daddy Long Legs\";",
        "query_toks": [
            "SELECT",
            "t2.role",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Daddy",
            "Long",
            "Legs",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "role",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What are the major roles in the movie \" Daddy Long Legs \"",
        "question_toks": [
            "What",
            "are",
            "the",
            "major",
            "roles",
            "in",
            "the",
            "movie",
            "``",
            "Daddy",
            "Long",
            "Legs",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                13,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Daddy Long Legs\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.name FROM director AS t3 JOIN directed_by AS t2 ON t3.did  =  t2.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN tags AS t5 ON t5.msid  =  t4.mid JOIN keyword AS t1 ON t5.kid  =  t1.id WHERE t1.keyword  =  \"nuclear weapons\";",
        "query_toks": [
            "SELECT",
            "t3.name",
            "FROM",
            "director",
            "AS",
            "t3",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "tags",
            "AS",
            "t5",
            "ON",
            "t5.msid",
            "=",
            "t4.mid",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t5.kid",
            "=",
            "t1.id",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "nuclear",
            "weapons",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "name",
            "from",
            "director",
            "as",
            "t3",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "tags",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "msid",
            "=",
            "t4",
            ".",
            "mid",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "id",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value"
        ],
        "question": "List all the directors of movies about nuclear weapons",
        "question_toks": [
            "List",
            "all",
            "the",
            "directors",
            "of",
            "movies",
            "about",
            "nuclear",
            "weapons"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        9
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                24,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"nuclear weapons\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Jennifer Aniston\" AND t2.release_year  >  2010;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Jennifer",
            "Aniston",
            "''",
            "AND",
            "t2.release_year",
            ">",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "release_year",
            ">",
            "value"
        ],
        "question": "What is the number of movies in which \" Jennifer Aniston \" acted after 2010 ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "movies",
            "in",
            "which",
            "``",
            "Jennifer",
            "Aniston",
            "``",
            "acted",
            "after",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Jennifer Aniston\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t1.name  ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t3.title  =  \"Saving Private Ryan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Saving",
            "Private",
            "Ryan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What is the number of actors in the movie \" Saving Private Ryan \" ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "actors",
            "in",
            "the",
            "movie",
            "``",
            "Saving",
            "Private",
            "Ryan",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Saving Private Ryan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t1.name  ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t3.title  =  \"Saving Private Ryan\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t3.title",
            "=",
            "``",
            "Saving",
            "Private",
            "Ryan",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "How many actors are in the movie \" Saving Private Ryan \" ?",
        "question_toks": [
            "How",
            "many",
            "actors",
            "are",
            "in",
            "the",
            "movie",
            "``",
            "Saving",
            "Private",
            "Ryan",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Saving Private Ryan\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t3.title  ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  \"Steven Spielberg\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Steven",
            "Spielberg",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many movies did \" Steven Spielberg \" direct ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "did",
            "``",
            "Steven",
            "Spielberg",
            "``",
            "direct",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Steven Spielberg\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT title  ) FROM movie WHERE release_year  =  2013;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "title",
            ")",
            "FROM",
            "movie",
            "WHERE",
            "release_year",
            "=",
            "2013",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "title",
            ")",
            "from",
            "movie",
            "where",
            "release_year",
            "=",
            "value"
        ],
        "question": "How many movies were produced in the year 2013 ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "were",
            "produced",
            "in",
            "the",
            "year",
            "2013",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT title  ) FROM movie WHERE release_year  =  2013;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "title",
            ")",
            "FROM",
            "movie",
            "WHERE",
            "release_year",
            "=",
            "2013",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "title",
            ")",
            "from",
            "movie",
            "where",
            "release_year",
            "=",
            "value"
        ],
        "question": "What is the number of movies produced in 2013 ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "movies",
            "produced",
            "in",
            "2013",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2013.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t3.title  )  ,  t3.release_year FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  \"Woody Allen\" GROUP BY t3.release_year;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            ",",
            "t3.release_year",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Woody",
            "Allen",
            "''",
            "GROUP",
            "BY",
            "t3.release_year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            ",",
            "t3",
            ".",
            "release_year",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t3",
            ".",
            "release_year"
        ],
        "question": "What is the number of movies directed by \" Woody Allen \" per year ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "movies",
            "directed",
            "by",
            "``",
            "Woody",
            "Allen",
            "``",
            "per",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Woody Allen\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Shahab Hosseini\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Shahab",
            "Hosseini",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many movies did \" Shahab Hosseini \" act in ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "did",
            "``",
            "Shahab",
            "Hosseini",
            "``",
            "act",
            "in",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Shahab Hosseini\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Shahab Hosseini\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Shahab",
            "Hosseini",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the number of movies in which \" Shahab Hosseini \" acted ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "movies",
            "in",
            "which",
            "``",
            "Shahab",
            "Hosseini",
            "``",
            "acted",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Shahab Hosseini\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Shahab Hosseini\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Shahab",
            "Hosseini",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "What is the number of movies featuring \" Shahab Hosseini \" ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "movies",
            "featuring",
            "``",
            "Shahab",
            "Hosseini",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Shahab Hosseini\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Shahab Hosseini\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Shahab",
            "Hosseini",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "How many movies did \" Shahab Hosseini \" act in",
        "question_toks": [
            "How",
            "many",
            "movies",
            "did",
            "``",
            "Shahab",
            "Hosseini",
            "``",
            "act",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Shahab Hosseini\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT name  ) FROM actor WHERE birth_city  =  \"Los Angeles\" AND birth_year  >  2000;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "Los",
            "Angeles",
            "''",
            "AND",
            "birth_year",
            ">",
            "2000",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value",
            "and",
            "birth_year",
            ">",
            "value"
        ],
        "question": "How many actors were born in \" Los Angeles \" after 2000 ?",
        "question_toks": [
            "How",
            "many",
            "actors",
            "were",
            "born",
            "in",
            "``",
            "Los",
            "Angeles",
            "``",
            "after",
            "2000",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"Los Angeles\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    2000.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t2.title  ) FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Humphrey Bogart\" AND t2.release_year  <  1942;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Humphrey",
            "Bogart",
            "''",
            "AND",
            "t2.release_year",
            "<",
            "1942",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "release_year",
            "<",
            "value"
        ],
        "question": "How many movies did \" Humphrey Bogart \" act in before 1942 ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "did",
            "``",
            "Humphrey",
            "Bogart",
            "``",
            "act",
            "in",
            "before",
            "1942",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Humphrey Bogart\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    1942.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t2.title  )  ,  t2.release_year FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.name  =  \"Brad Pitt\" GROUP BY t2.release_year;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.title",
            ")",
            ",",
            "t2.release_year",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Brad",
            "Pitt",
            "''",
            "GROUP",
            "BY",
            "t2.release_year",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "title",
            ")",
            ",",
            "t2",
            ".",
            "release_year",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "release_year"
        ],
        "question": "What is the number of movies that \" Brad Pitt \" acts in per year ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "number",
            "of",
            "movies",
            "that",
            "``",
            "Brad",
            "Pitt",
            "``",
            "acts",
            "in",
            "per",
            "year",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                44,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Brad Pitt\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    44,
                    false
                ]
            ],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t3.title  ) FROM tags AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.id JOIN movie AS t3 ON t2.msid  =  t3.mid WHERE t1.keyword  =  \"Iraq war\" AND t3.release_year  =  2015;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "FROM",
            "tags",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.id",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t2.msid",
            "=",
            "t3.mid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Iraq",
            "war",
            "''",
            "AND",
            "t3.release_year",
            "=",
            "2015",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "tags",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "msid",
            "=",
            "t3",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "release_year",
            "=",
            "value"
        ],
        "question": "How many movies about Iraq war were produced in 2015 ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "about",
            "Iraq",
            "war",
            "were",
            "produced",
            "in",
            "2015",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Iraq war\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2015.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t3.title  ) FROM tags AS t2 JOIN keyword AS t1 ON t2.kid  =  t1.id JOIN movie AS t3 ON t2.msid  =  t3.mid WHERE t1.keyword  =  \"Persians\" AND t3.release_year  >  1990;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "FROM",
            "tags",
            "AS",
            "t2",
            "JOIN",
            "keyword",
            "AS",
            "t1",
            "ON",
            "t2.kid",
            "=",
            "t1.id",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t2.msid",
            "=",
            "t3.mid",
            "WHERE",
            "t1.keyword",
            "=",
            "``",
            "Persians",
            "''",
            "AND",
            "t3.release_year",
            ">",
            "1990",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "tags",
            "as",
            "t2",
            "join",
            "keyword",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "kid",
            "=",
            "t1",
            ".",
            "id",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t2",
            ".",
            "msid",
            "=",
            "t3",
            ".",
            "mid",
            "where",
            "t1",
            ".",
            "keyword",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "release_year",
            ">",
            "value"
        ],
        "question": "How many movies about Persians were released after 1990 ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "about",
            "Persians",
            "were",
            "released",
            "after",
            "1990",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        12
                    ],
                    [
                        "table_unit",
                        9
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                49,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            37,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                48,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            42,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            38,
                            false
                        ],
                        null
                    ],
                    "\"Persians\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    1990.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t3.title  ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  \"Quentin Tarantino\" AND t3.release_year  >  2010;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Quentin",
            "Tarantino",
            "''",
            "AND",
            "t3.release_year",
            ">",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "release_year",
            ">",
            "value"
        ],
        "question": "How many movies did \" Quentin Tarantino \" direct after 2010 ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "did",
            "``",
            "Quentin",
            "Tarantino",
            "``",
            "direct",
            "after",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Quentin Tarantino\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t3.title  ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  \"Quentin Tarantino\" AND t3.release_year  <  2010;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.title",
            ")",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Quentin",
            "Tarantino",
            "''",
            "AND",
            "t3.release_year",
            "<",
            "2010",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "title",
            ")",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "release_year",
            "<",
            "value"
        ],
        "question": "How many movies did \" Quentin Tarantino \" direct before 2010 ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "did",
            "``",
            "Quentin",
            "Tarantino",
            "``",
            "direct",
            "before",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Quentin Tarantino\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t4.title  ) FROM director AS t3 JOIN directed_by AS t2 ON t3.did  =  t2.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN made_by AS t5 ON t4.mid  =  t5.msid JOIN producer AS t1 ON t1.pid  =  t5.pid WHERE t3.name  =  \"Quentin Tarantino\" AND t4.release_year  <  2010 AND t4.release_year  >  2002;",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t4.title",
            ")",
            "FROM",
            "director",
            "AS",
            "t3",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "made_by",
            "AS",
            "t5",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "producer",
            "AS",
            "t1",
            "ON",
            "t1.pid",
            "=",
            "t5.pid",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Quentin",
            "Tarantino",
            "''",
            "AND",
            "t4.release_year",
            "<",
            "2010",
            "AND",
            "t4.release_year",
            ">",
            "2002",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t4",
            ".",
            "title",
            ")",
            "from",
            "director",
            "as",
            "t3",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "made_by",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "producer",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t4",
            ".",
            "release_year",
            "<",
            "value",
            "and",
            "t4",
            ".",
            "release_year",
            ">",
            "value"
        ],
        "question": "How many movies did \" Quentin Tarantino \" direct before 2002 and after 2010 ?",
        "question_toks": [
            "How",
            "many",
            "movies",
            "did",
            "``",
            "Quentin",
            "Tarantino",
            "``",
            "direct",
            "before",
            "2002",
            "and",
            "after",
            "2010",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                43,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Quentin Tarantino\"",
                    null
                ],
                "and",
                [
                    false,
                    4,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2010.0,
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ],
                    2002.0,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT name  ) FROM actor WHERE birth_city  =  \"New York City\" AND birth_year  >  1980 AND gender  =  \"female\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "name",
            ")",
            "FROM",
            "actor",
            "WHERE",
            "birth_city",
            "=",
            "``",
            "New",
            "York",
            "City",
            "''",
            "AND",
            "birth_year",
            ">",
            "1980",
            "AND",
            "gender",
            "=",
            "``",
            "female",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "name",
            ")",
            "from",
            "actor",
            "where",
            "birth_city",
            "=",
            "value",
            "and",
            "birth_year",
            ">",
            "value",
            "and",
            "gender",
            "=",
            "value"
        ],
        "question": "How many female actors were born in \" New York City \" after 1980 ?",
        "question_toks": [
            "How",
            "many",
            "female",
            "actors",
            "were",
            "born",
            "in",
            "``",
            "New",
            "York",
            "City",
            "``",
            "after",
            "1980",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": []
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"New York City\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    1980.0,
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"female\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t1.name  ) FROM CAST AS t4 JOIN actor AS t1 ON t4.aid  =  t1.aid JOIN movie AS t5 ON t5.mid  =  t4.msid JOIN directed_by AS t2 ON t5.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t1.nationality  =  \"Iran\" AND t3.name  =  \"Jim Jarmusch\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t4",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t5",
            "ON",
            "t5.mid",
            "=",
            "t4.msid",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t5.mid",
            "=",
            "t2.msid",
            "JOIN",
            "director",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "WHERE",
            "t1.nationality",
            "=",
            "``",
            "Iran",
            "''",
            "AND",
            "t3.name",
            "=",
            "``",
            "Jim",
            "Jarmusch",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "cast",
            "as",
            "t4",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t4",
            ".",
            "msid",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "director",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "where",
            "t1",
            ".",
            "nationality",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "find the number of actors from Iran who played in \" Jim Jarmusch \" movies",
        "question_toks": [
            "find",
            "the",
            "number",
            "of",
            "actors",
            "from",
            "Iran",
            "who",
            "played",
            "in",
            "``",
            "Jim",
            "Jarmusch",
            "``",
            "movies"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"Iran\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Jim Jarmusch\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT COUNT ( DISTINCT t1.name  ) FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t1.nationality  =  \"China\" AND t3.title  =  \"Rush Hour 3\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t1.nationality",
            "=",
            "``",
            "China",
            "''",
            "AND",
            "t3.title",
            "=",
            "``",
            "Rush",
            "Hour",
            "3",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "nationality",
            "=",
            "value",
            "and",
            "t3",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "How many actors from China have acted in \" Rush Hour 3 \"",
        "question_toks": [
            "How",
            "many",
            "actors",
            "from",
            "China",
            "have",
            "acted",
            "in",
            "``",
            "Rush",
            "Hour",
            "3",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                3,
                                true
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Rush Hour 3\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN CAST AS t3 ON t4.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t1.name  =  \"Woody Strode\" AND t2.name  =  \"Jason Robards\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "CAST",
            "AS",
            "t5",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "CAST",
            "AS",
            "t3",
            "ON",
            "t4.mid",
            "=",
            "t3.msid",
            "JOIN",
            "actor",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Woody",
            "Strode",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "Jason",
            "Robards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t5",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "cast",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies that star both \" Woody Strode \" and \" Jason Robards \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "that",
            "star",
            "both",
            "``",
            "Woody",
            "Strode",
            "``",
            "and",
            "``",
            "Jason",
            "Robards",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Woody Strode\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Jason Robards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN CAST AS t3 ON t4.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t1.name  =  \"Woody Strode\" AND t2.name  =  \"Jason Robards\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "CAST",
            "AS",
            "t5",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "CAST",
            "AS",
            "t3",
            "ON",
            "t4.mid",
            "=",
            "t3.msid",
            "JOIN",
            "actor",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Woody",
            "Strode",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "Jason",
            "Robards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t5",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "cast",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies featuring \" Woody Strode \" and \" Jason Robards \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "featuring",
            "``",
            "Woody",
            "Strode",
            "``",
            "and",
            "``",
            "Jason",
            "Robards",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Woody Strode\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Jason Robards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN CAST AS t3 ON t4.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t1.name  =  \"Woody Strode\" AND t2.name  =  \"Jason Robards\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "CAST",
            "AS",
            "t5",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "CAST",
            "AS",
            "t3",
            "ON",
            "t4.mid",
            "=",
            "t3.msid",
            "JOIN",
            "actor",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Woody",
            "Strode",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "Jason",
            "Robards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t5",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "cast",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies featuring both \" Woody Strode \" and \" Jason Robards \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "featuring",
            "both",
            "``",
            "Woody",
            "Strode",
            "``",
            "and",
            "``",
            "Jason",
            "Robards",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Woody Strode\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Jason Robards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t4.title FROM CAST AS t5 JOIN actor AS t1 ON t5.aid  =  t1.aid JOIN movie AS t4 ON t4.mid  =  t5.msid JOIN CAST AS t3 ON t4.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t1.name  =  \"Woody Strode\" AND t2.name  =  \"Jason Robards\";",
        "query_toks": [
            "SELECT",
            "t4.title",
            "FROM",
            "CAST",
            "AS",
            "t5",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t5.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "CAST",
            "AS",
            "t3",
            "ON",
            "t4.mid",
            "=",
            "t3.msid",
            "JOIN",
            "actor",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Woody",
            "Strode",
            "''",
            "AND",
            "t2.name",
            "=",
            "``",
            "Jason",
            "Robards",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t4",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t5",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "cast",
            "as",
            "t3",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all movies featuring \" Jason Robards \" and \" Woody Strode \"",
        "question_toks": [
            "Find",
            "all",
            "movies",
            "featuring",
            "``",
            "Jason",
            "Robards",
            "``",
            "and",
            "``",
            "Woody",
            "Strode",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Woody Strode\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Jason Robards\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid  =  t1.aid JOIN movie AS t5 ON t5.mid  =  t4.msid JOIN CAST AS t3 ON t5.mid  =  t3.msid JOIN actor AS t2 ON t3.aid  =  t2.aid WHERE t2.name  =  \"Tom Hanks\";",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t4",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t5",
            "ON",
            "t5.mid",
            "=",
            "t4.msid",
            "JOIN",
            "CAST",
            "AS",
            "t3",
            "ON",
            "t5.mid",
            "=",
            "t3.msid",
            "JOIN",
            "actor",
            "AS",
            "t2",
            "ON",
            "t3.aid",
            "=",
            "t2.aid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Tom",
            "Hanks",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t4",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t4",
            ".",
            "msid",
            "join",
            "cast",
            "as",
            "t3",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "join",
            "actor",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t2",
            ".",
            "aid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "Find all actors who acted in the same movie as \" Tom Hanks \"",
        "question_toks": [
            "Find",
            "all",
            "actors",
            "who",
            "acted",
            "in",
            "the",
            "same",
            "movie",
            "as",
            "``",
            "Tom",
            "Hanks",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Tom Hanks\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM director AS t5 JOIN directed_by AS t2 ON t5.did  =  t2.did JOIN directed_by AS t1 ON t5.did  =  t1.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t4.title  =  \"Revolutionary Road\";",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "director",
            "AS",
            "t5",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t5.did",
            "=",
            "t2.did",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t5.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t4.title",
            "=",
            "``",
            "Revolutionary",
            "Road",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "director",
            "as",
            "t5",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t5",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t5",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t4",
            ".",
            "title",
            "=",
            "value"
        ],
        "question": "What movies have the same director as the movie \" Revolutionary Road \" ?",
        "question_toks": [
            "What",
            "movies",
            "have",
            "the",
            "same",
            "director",
            "as",
            "the",
            "movie",
            "``",
            "Revolutionary",
            "Road",
            "``",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            43,
                            false
                        ],
                        null
                    ],
                    "\"Revolutionary Road\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM genre AS t2 JOIN classification AS t1 ON t2.gid  =  t1.gid JOIN movie AS t3 ON t3.mid  =  t1.msid GROUP BY t3.title ORDER BY COUNT ( DISTINCT t2.genre  ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "genre",
            "AS",
            "t2",
            "JOIN",
            "classification",
            "AS",
            "t1",
            "ON",
            "t2.gid",
            "=",
            "t1.gid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "GROUP",
            "BY",
            "t3.title",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t2.genre",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "genre",
            "as",
            "t2",
            "join",
            "classification",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "gid",
            "=",
            "t1",
            ".",
            "gid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "group",
            "by",
            "t3",
            ".",
            "title",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t2",
            ".",
            "genre",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the movie which is classified in the most number of genres",
        "question_toks": [
            "Find",
            "the",
            "movie",
            "which",
            "is",
            "classified",
            "in",
            "the",
            "most",
            "number",
            "of",
            "genres"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        3
                    ],
                    [
                        "table_unit",
                        4
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                14,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            18,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            17,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            15,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t2.title FROM CAST AS t3 JOIN actor AS t1 ON t3.aid  =  t1.aid JOIN movie AS t2 ON t2.mid  =  t3.msid WHERE t1.nationality  =  \"China\" GROUP BY t2.title ORDER BY COUNT ( DISTINCT t1.name  ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t2.title",
            "FROM",
            "CAST",
            "AS",
            "t3",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t3.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t2",
            "ON",
            "t2.mid",
            "=",
            "t3.msid",
            "WHERE",
            "t1.nationality",
            "=",
            "``",
            "China",
            "''",
            "GROUP",
            "BY",
            "t2.title",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t1.name",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "title",
            "from",
            "cast",
            "as",
            "t3",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t3",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t2",
            "on",
            "t2",
            ".",
            "mid",
            "=",
            "t3",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "nationality",
            "=",
            "value",
            "group",
            "by",
            "t2",
            ".",
            "title",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t1",
            ".",
            "name",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "which movie has the most number of actors from China ?",
        "question_toks": [
            "which",
            "movie",
            "has",
            "the",
            "most",
            "number",
            "of",
            "actors",
            "from",
            "China",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            4,
                            false
                        ],
                        null
                    ],
                    "\"China\"",
                    null
                ]
            ],
            "groupBy": [
                [
                    0,
                    43,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            3,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t4 JOIN actor AS t1 ON t4.aid  =  t1.aid JOIN movie AS t5 ON t5.mid  =  t4.msid JOIN directed_by AS t2 ON t5.mid  =  t2.msid JOIN director AS t3 ON t3.did  =  t2.did WHERE t3.name  =  \"Quentin Tarantino\" ORDER BY t5.release_year DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t4",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t4.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t5",
            "ON",
            "t5.mid",
            "=",
            "t4.msid",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t5.mid",
            "=",
            "t2.msid",
            "JOIN",
            "director",
            "AS",
            "t3",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "WHERE",
            "t3.name",
            "=",
            "``",
            "Quentin",
            "Tarantino",
            "''",
            "ORDER",
            "BY",
            "t5.release_year",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t4",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t4",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t5",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t4",
            ".",
            "msid",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t5",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "director",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "where",
            "t3",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t5",
            ".",
            "release_year",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the actors who played in the latest movie by \" Quentin Tarantino \"",
        "question_toks": [
            "Find",
            "the",
            "actors",
            "who",
            "played",
            "in",
            "the",
            "latest",
            "movie",
            "by",
            "``",
            "Quentin",
            "Tarantino",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        6
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Quentin Tarantino\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.budget  ,  t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  \"Quentin Tarantino\" ORDER BY t3.release_year DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t3.budget",
            ",",
            "t3.title",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Quentin",
            "Tarantino",
            "''",
            "ORDER",
            "BY",
            "t3.release_year",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "budget",
            ",",
            "t3",
            ".",
            "title",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "release_year",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the name and budget of the latest movie by \" Quentin Tarantino \"",
        "question_toks": [
            "Find",
            "the",
            "name",
            "and",
            "budget",
            "of",
            "the",
            "latest",
            "movie",
            "by",
            "``",
            "Quentin",
            "Tarantino",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                46,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Quentin Tarantino\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t3.title FROM director AS t2 JOIN directed_by AS t1 ON t2.did  =  t1.did JOIN movie AS t3 ON t3.mid  =  t1.msid WHERE t2.name  =  \"Jim Jarmusch\" ORDER BY t3.release_year DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t3.title",
            "FROM",
            "director",
            "AS",
            "t2",
            "JOIN",
            "directed_by",
            "AS",
            "t1",
            "ON",
            "t2.did",
            "=",
            "t1.did",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t1.msid",
            "WHERE",
            "t2.name",
            "=",
            "``",
            "Jim",
            "Jarmusch",
            "''",
            "ORDER",
            "BY",
            "t3.release_year",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "title",
            "from",
            "director",
            "as",
            "t2",
            "join",
            "directed_by",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "did",
            "=",
            "t1",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t1",
            ".",
            "msid",
            "where",
            "t2",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "release_year",
            "desc",
            "limit",
            "value"
        ],
        "question": "What is the latest movie by \" Jim Jarmusch \"",
        "question_toks": [
            "What",
            "is",
            "the",
            "latest",
            "movie",
            "by",
            "``",
            "Jim",
            "Jarmusch",
            "``"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                43,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            24,
                            false
                        ],
                        null
                    ],
                    "\"Jim Jarmusch\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM director AS t3 JOIN directed_by AS t2 ON t3.did  =  t2.did JOIN movie AS t4 ON t4.mid  =  t2.msid JOIN made_by AS t5 ON t4.mid  =  t5.msid JOIN producer AS t1 ON t1.pid  =  t5.pid GROUP BY t1.name ORDER BY COUNT ( DISTINCT t3.name  ) DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "director",
            "AS",
            "t3",
            "JOIN",
            "directed_by",
            "AS",
            "t2",
            "ON",
            "t3.did",
            "=",
            "t2.did",
            "JOIN",
            "movie",
            "AS",
            "t4",
            "ON",
            "t4.mid",
            "=",
            "t2.msid",
            "JOIN",
            "made_by",
            "AS",
            "t5",
            "ON",
            "t4.mid",
            "=",
            "t5.msid",
            "JOIN",
            "producer",
            "AS",
            "t1",
            "ON",
            "t1.pid",
            "=",
            "t5.pid",
            "GROUP",
            "BY",
            "t1.name",
            "ORDER",
            "BY",
            "COUNT",
            "(",
            "DISTINCT",
            "t3.name",
            ")",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "director",
            "as",
            "t3",
            "join",
            "directed_by",
            "as",
            "t2",
            "on",
            "t3",
            ".",
            "did",
            "=",
            "t2",
            ".",
            "did",
            "join",
            "movie",
            "as",
            "t4",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "join",
            "made_by",
            "as",
            "t5",
            "on",
            "t4",
            ".",
            "mid",
            "=",
            "t5",
            ".",
            "msid",
            "join",
            "producer",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "pid",
            "=",
            "t5",
            ".",
            "pid",
            "group",
            "by",
            "t1",
            ".",
            "name",
            "order",
            "by",
            "count",
            "(",
            "distinct",
            "t3",
            ".",
            "name",
            ")",
            "desc",
            "limit",
            "value"
        ],
        "question": "Which producer has worked with the most number of directors ?",
        "question_toks": [
            "Which",
            "producer",
            "has",
            "worked",
            "with",
            "the",
            "most",
            "number",
            "of",
            "directors",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        6
                    ],
                    [
                        "table_unit",
                        8
                    ],
                    [
                        "table_unit",
                        11
                    ],
                    [
                        "table_unit",
                        10
                    ],
                    [
                        "table_unit",
                        7
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                22,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            36,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            35,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            40,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                28,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            41,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                30,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [],
            "groupBy": [
                [
                    0,
                    30,
                    false
                ]
            ],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            3,
                            24,
                            true
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "imdb",
        "query": "SELECT t1.name FROM CAST AS t2 JOIN actor AS t1 ON t2.aid  =  t1.aid JOIN movie AS t3 ON t3.mid  =  t2.msid WHERE t1.name  =  \"Gabriele Ferzetti\" ORDER BY t3.release_year DESC LIMIT 1;",
        "query_toks": [
            "SELECT",
            "t1.name",
            "FROM",
            "CAST",
            "AS",
            "t2",
            "JOIN",
            "actor",
            "AS",
            "t1",
            "ON",
            "t2.aid",
            "=",
            "t1.aid",
            "JOIN",
            "movie",
            "AS",
            "t3",
            "ON",
            "t3.mid",
            "=",
            "t2.msid",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "Gabriele",
            "Ferzetti",
            "''",
            "ORDER",
            "BY",
            "t3.release_year",
            "DESC",
            "LIMIT",
            "1",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t1",
            ".",
            "name",
            "from",
            "cast",
            "as",
            "t2",
            "join",
            "actor",
            "as",
            "t1",
            "on",
            "t2",
            ".",
            "aid",
            "=",
            "t1",
            ".",
            "aid",
            "join",
            "movie",
            "as",
            "t3",
            "on",
            "t3",
            ".",
            "mid",
            "=",
            "t2",
            ".",
            "msid",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value",
            "order",
            "by",
            "t3",
            ".",
            "release_year",
            "desc",
            "limit",
            "value"
        ],
        "question": "Find the latest movie which \" Gabriele Ferzetti \" acted in",
        "question_toks": [
            "Find",
            "the",
            "latest",
            "movie",
            "which",
            "``",
            "Gabriele",
            "Ferzetti",
            "``",
            "acted",
            "in"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        11
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                12,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                42,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                3,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"Gabriele Ferzetti\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [
                "desc",
                [
                    [
                        0,
                        [
                            0,
                            44,
                            false
                        ],
                        null
                    ]
                ]
            ],
            "limit": 1,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.name  =  \"buttercup kitchen\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "buttercup",
            "kitchen",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "how many buttercup kitchen are there in san francisco ?",
        "question_toks": [
            "how",
            "many",
            "buttercup",
            "kitchen",
            "are",
            "there",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"buttercup kitchen\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"chinese\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "chinese",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many chinese restaurants are there in the bay area ?",
        "question_toks": [
            "how",
            "many",
            "chinese",
            "restaurants",
            "are",
            "there",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"chinese\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"chinese\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "chinese",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many places for chinese food are there in the bay area ?",
        "question_toks": [
            "how",
            "many",
            "places",
            "for",
            "chinese",
            "food",
            "are",
            "there",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"chinese\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"chinese\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "chinese",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many chinese places are there in the bay area ?",
        "question_toks": [
            "how",
            "many",
            "chinese",
            "places",
            "are",
            "there",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"chinese\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"chinese\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "chinese",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many places for chinese are there in the bay area ?",
        "question_toks": [
            "how",
            "many",
            "places",
            "for",
            "chinese",
            "are",
            "there",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"chinese\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.county  =  \"santa cruz county\" AND t1.name  =  \"jamerican cuisine\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.county",
            "=",
            "``",
            "santa",
            "cruz",
            "county",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "jamerican",
            "cuisine",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "county",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "how many jamerican cuisine are there in santa cruz county ?",
        "question_toks": [
            "how",
            "many",
            "jamerican",
            "cuisine",
            "are",
            "there",
            "in",
            "santa",
            "cruz",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"santa cruz county\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"jamerican cuisine\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t1.name  =  \"jamerican cuisine\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.name",
            "=",
            "``",
            "jamerican",
            "cuisine",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "where is jamerican cuisine ?",
        "question_toks": [
            "where",
            "is",
            "jamerican",
            "cuisine",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"jamerican cuisine\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "what is the best french restaurant in san francisco ?",
        "question_toks": [
            "what",
            "is",
            "the",
            "best",
            "french",
            "restaurant",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "What is the best french in san francisco ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "best",
            "french",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "What is the best place in san francisco for french food ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "best",
            "place",
            "in",
            "san",
            "francisco",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "Give me the best place in san francisco for french food ?",
        "question_toks": [
            "Give",
            "me",
            "the",
            "best",
            "place",
            "in",
            "san",
            "francisco",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "Where is the best french in san francisco ?",
        "question_toks": [
            "Where",
            "is",
            "the",
            "best",
            "french",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "Give me the best french in san francisco ?",
        "question_toks": [
            "Give",
            "me",
            "the",
            "best",
            "french",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "Where is the best french restaurant in san francisco ?",
        "question_toks": [
            "Where",
            "is",
            "the",
            "best",
            "french",
            "restaurant",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "Give me the best restaurant in san francisco for french food ?",
        "question_toks": [
            "Give",
            "me",
            "the",
            "best",
            "restaurant",
            "in",
            "san",
            "francisco",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "Give me the best french restaurant in san francisco ?",
        "question_toks": [
            "Give",
            "me",
            "the",
            "best",
            "french",
            "restaurant",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "What is the best restaurant in san francisco for french food ?",
        "question_toks": [
            "What",
            "is",
            "the",
            "best",
            "restaurant",
            "in",
            "san",
            "francisco",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.food_type  =  \"french\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "Where is the best restaurant in san francisco for french food ?",
        "question_toks": [
            "Where",
            "is",
            "the",
            "best",
            "restaurant",
            "in",
            "san",
            "francisco",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    2
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            4,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        9,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        12,
                                        false
                                    ],
                                    null
                                ],
                                "\"san francisco\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"french\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.name  =  \"denny\";",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "denny",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "where is denny in the bay area ?",
        "question_toks": [
            "where",
            "is",
            "denny",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"denny\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"bethel island\" AND t2.street_name  =  \"bethel island rd\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "bethel",
            "island",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "bethel",
            "island",
            "rd",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good restaurants on bethel island rd in bethel island ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "restaurants",
            "on",
            "bethel",
            "island",
            "rd",
            "in",
            "bethel",
            "island",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"bethel island\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"bethel island rd\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"bethel island\" AND t2.street_name  =  \"bethel island rd\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "bethel",
            "island",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "bethel",
            "island",
            "rd",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good restaurants on bethel island rd in bethel island ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "restaurants",
            "on",
            "bethel",
            "island",
            "rd",
            "in",
            "bethel",
            "island",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"bethel island\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"bethel island rd\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"bethel island\" AND t2.street_name  =  \"bethel island rd\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "bethel",
            "island",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "bethel",
            "island",
            "rd",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good restaurant on bethel island rd in bethel island ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "restaurant",
            "on",
            "bethel",
            "island",
            "rd",
            "in",
            "bethel",
            "island",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"bethel island\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"bethel island rd\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"bethel island\" AND t2.street_name  =  \"bethel island rd\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "bethel",
            "island",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "bethel",
            "island",
            "rd",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what is a good restaurant on bethel island rd in bethel island ?",
        "question_toks": [
            "what",
            "is",
            "a",
            "good",
            "restaurant",
            "on",
            "bethel",
            "island",
            "rd",
            "in",
            "bethel",
            "island",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"bethel island\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"bethel island rd\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value"
        ],
        "question": "where can we find a restaurant in alameda ?",
        "question_toks": [
            "where",
            "can",
            "we",
            "find",
            "a",
            "restaurant",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value"
        ],
        "question": "give me a restaurant in alameda ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "restaurant",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value"
        ],
        "question": "where can we find some restaurants in alameda ?",
        "question_toks": [
            "where",
            "can",
            "we",
            "find",
            "some",
            "restaurants",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value"
        ],
        "question": "where is a restaurant in alameda ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "restaurant",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value"
        ],
        "question": "give me some restaurants in alameda ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "restaurants",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some restaurants good for french food ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "restaurants",
            "good",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some restaurants good for french food ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "restaurants",
            "good",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"palo alto\" AND t1.food_type  =  \"french\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "palo",
            "alto",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many places for french food are there in palo alto ?",
        "question_toks": [
            "how",
            "many",
            "places",
            "for",
            "french",
            "food",
            "are",
            "there",
            "in",
            "palo",
            "alto",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"palo alto\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"palo alto\" AND t1.food_type  =  \"french\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "palo",
            "alto",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many french restaurants are there in palo alto ?",
        "question_toks": [
            "how",
            "many",
            "french",
            "restaurants",
            "are",
            "there",
            "in",
            "palo",
            "alto",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"palo alto\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"palo alto\" AND t1.food_type  =  \"french\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "palo",
            "alto",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many french restaurant are there in palo alto ?",
        "question_toks": [
            "how",
            "many",
            "french",
            "restaurant",
            "are",
            "there",
            "in",
            "palo",
            "alto",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"palo alto\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"palo alto\" AND t1.food_type  =  \"french\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "palo",
            "alto",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many places for french are there in palo alto ?",
        "question_toks": [
            "how",
            "many",
            "places",
            "for",
            "french",
            "are",
            "there",
            "in",
            "palo",
            "alto",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"palo alto\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.county  =  \"yolo county\" AND t1.food_type  =  \"italian\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.county",
            "=",
            "``",
            "yolo",
            "county",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "italian",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "county",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "how many italian restaurants are in the yolo county ?",
        "question_toks": [
            "how",
            "many",
            "italian",
            "restaurants",
            "are",
            "in",
            "the",
            "yolo",
            "county",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            2,
                            false
                        ],
                        null
                    ],
                    "\"yolo county\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"italian\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"french\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "where can i eat french food in mountain view ?",
        "question_toks": [
            "where",
            "can",
            "i",
            "eat",
            "french",
            "food",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT COUNT ( * ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.name  =  \"denny\";",
        "query_toks": [
            "SELECT",
            "COUNT",
            "(",
            "*",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "denny",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "count",
            "(",
            "*",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "how many denny are there in the bay area ?",
        "question_toks": [
            "how",
            "many",
            "denny",
            "are",
            "there",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        3,
                        [
                            0,
                            [
                                0,
                                0,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"denny\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good restaurant in alameda ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "restaurant",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good restaurants in alameda ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "restaurants",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what is a good restaurant in alameda ?",
        "question_toks": [
            "what",
            "is",
            "a",
            "good",
            "restaurant",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"alameda\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "alameda",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good restaurants in alameda ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "restaurants",
            "in",
            "alameda",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"alameda\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good restaurant on buchanan in san francisco for arabic food ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "restaurant",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some good arabics on buchanan in san francisco ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "good",
            "arabics",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good arabic restaurant on buchanan in san francisco ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "arabic",
            "restaurant",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good places for arabic on buchanan in san francisco ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "places",
            "for",
            "arabic",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good arabic on buchanan in san francisco ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "arabic",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some restaurants good for arabic food on buchanan in san francisco ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "restaurants",
            "good",
            "for",
            "arabic",
            "food",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good place on buchanan in san francisco for arabic food ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "place",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good place on buchanan in san francisco for arabic food ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "place",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where can i eat arabic food on buchanan in san francisco ?",
        "question_toks": [
            "where",
            "can",
            "i",
            "eat",
            "arabic",
            "food",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good places on buchanan in san francisco for arabic food ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "places",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a arabic restaurant on buchanan in san francisco ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "arabic",
            "restaurant",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a restaurant on buchanan in san francisco that serves good arabic food ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "restaurant",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "that",
            "serves",
            "good",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good restaurant on buchanan in san francisco for arabic food ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "restaurant",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a restaurant on buchanan in san francisco that serves good arabic food ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "restaurant",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "that",
            "serves",
            "good",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good restaurants on buchanan in san francisco for arabic food ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "restaurants",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good places for arabic on buchanan in san francisco ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "places",
            "for",
            "arabic",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where can i eat some good arabic food on buchanan in san francisco ?",
        "question_toks": [
            "where",
            "can",
            "i",
            "eat",
            "some",
            "good",
            "arabic",
            "food",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good arabic on buchanan in san francisco ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "arabic",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some restaurants good for arabic food on buchanan in san francisco ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "restaurants",
            "good",
            "for",
            "arabic",
            "food",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some good places for arabic on buchanan in san francisco ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "good",
            "places",
            "for",
            "arabic",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good arabic restaurant on buchanan in san francisco ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "arabic",
            "restaurant",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t2.street_name  =  \"buchanan\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "buchanan",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good arabics on buchanan in san francisco ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "arabics",
            "on",
            "buchanan",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"buchanan\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"french\";",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value"
        ],
        "question": "where can i eat french food in the bay area ?",
        "question_toks": [
            "where",
            "can",
            "i",
            "eat",
            "french",
            "food",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"bethel island\" AND t2.street_name  =  \"bethel island rd\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "bethel",
            "island",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "bethel",
            "island",
            "rd",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value"
        ],
        "question": "give me some restaurants on bethel island rd in bethel island ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "restaurants",
            "on",
            "bethel",
            "island",
            "rd",
            "in",
            "bethel",
            "island",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"bethel island\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"bethel island rd\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"bethel island\" AND t2.street_name  =  \"bethel island rd\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "bethel",
            "island",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "bethel",
            "island",
            "rd",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value"
        ],
        "question": "give me a restaurant on bethel island rd in bethel island ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "restaurant",
            "on",
            "bethel",
            "island",
            "rd",
            "in",
            "bethel",
            "island",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"bethel island\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"bethel island rd\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"bethel island\" AND t2.street_name  =  \"bethel island rd\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "bethel",
            "island",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "bethel",
            "island",
            "rd",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value"
        ],
        "question": "where can we find a restaurant on bethel island rd in bethel island ?",
        "question_toks": [
            "where",
            "can",
            "we",
            "find",
            "a",
            "restaurant",
            "on",
            "bethel",
            "island",
            "rd",
            "in",
            "bethel",
            "island",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"bethel island\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"bethel island rd\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"bethel island\" AND t2.street_name  =  \"bethel island rd\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "bethel",
            "island",
            "''",
            "AND",
            "t2.street_name",
            "=",
            "``",
            "bethel",
            "island",
            "rd",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t2",
            ".",
            "street_name",
            "=",
            "value"
        ],
        "question": "where can we find some restaurants on bethel island rd in bethel island ?",
        "question_toks": [
            "where",
            "can",
            "we",
            "find",
            "some",
            "restaurants",
            "on",
            "bethel",
            "island",
            "rd",
            "in",
            "bethel",
            "island",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"bethel island\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            11,
                            false
                        ],
                        null
                    ],
                    "\"bethel island rd\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "where is the best restaurant in the bay area for american food ?",
        "question_toks": [
            "where",
            "is",
            "the",
            "best",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "for",
            "american",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "where is the best restaurant in bay area for american food ?",
        "question_toks": [
            "where",
            "is",
            "the",
            "best",
            "restaurant",
            "in",
            "bay",
            "area",
            "for",
            "american",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "what is the best restaurant in bay area for american food ?",
        "question_toks": [
            "what",
            "is",
            "the",
            "best",
            "restaurant",
            "in",
            "bay",
            "area",
            "for",
            "american",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "what is the best american restaurant in the bay area ?",
        "question_toks": [
            "what",
            "is",
            "the",
            "best",
            "american",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "where is the best american restaurant in the bay area ?",
        "question_toks": [
            "where",
            "is",
            "the",
            "best",
            "american",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "what is the best american in the bay area ?",
        "question_toks": [
            "what",
            "is",
            "the",
            "best",
            "american",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "give me the best restaurant in the bay area for american food ?",
        "question_toks": [
            "give",
            "me",
            "the",
            "best",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "for",
            "american",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "give me the best restaurant in bay area for american food ?",
        "question_toks": [
            "give",
            "me",
            "the",
            "best",
            "restaurant",
            "in",
            "bay",
            "area",
            "for",
            "american",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "what is the best restaurant in the bay area for american food ?",
        "question_toks": [
            "what",
            "is",
            "the",
            "best",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "for",
            "american",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "where is the best american in the bay area ?",
        "question_toks": [
            "where",
            "is",
            "the",
            "best",
            "american",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "give me the best american in the bay area ?",
        "question_toks": [
            "give",
            "me",
            "the",
            "best",
            "american",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" AND t1.rating  =  ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name WHERE t2.region  =  \"bay area\" AND t1.food_type  =  \"american\" );",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            "AND",
            "t1.rating",
            "=",
            "(",
            "SELECT",
            "MAX",
            "(",
            "t1.rating",
            ")",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "american",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            "=",
            "(",
            "select",
            "max",
            "(",
            "t1",
            ".",
            "rating",
            ")",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            ")"
        ],
        "question": "give me the best american restaurant in the bay area ?",
        "question_toks": [
            "give",
            "me",
            "the",
            "best",
            "american",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"bay area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"american\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    1
                                ],
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": [
                                [
                                    false,
                                    2,
                                    [
                                        0,
                                        [
                                            0,
                                            7,
                                            false
                                        ],
                                        null
                                    ],
                                    [
                                        0,
                                        1,
                                        false
                                    ],
                                    null
                                ]
                            ]
                        },
                        "select": [
                            false,
                            [
                                [
                                    1,
                                    [
                                        0,
                                        [
                                            0,
                                            8,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ],
                            "and",
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        6,
                                        false
                                    ],
                                    null
                                ],
                                "\"american\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some restaurants good for french food in the yosemite and mono lake area ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "restaurants",
            "good",
            "for",
            "french",
            "food",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good places in the yosemite and mono lake area for french food ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "places",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good restaurant in the yosemite and mono lake area for french food ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "restaurant",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good french restaurant in the yosemite and mono lake area ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "french",
            "restaurant",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good place in the yosemite and mono lake area for french food ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "place",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some restaurants good for french food in the yosemite and mono lake area ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "restaurants",
            "good",
            "for",
            "french",
            "food",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good place in the yosemite and mono lake area for french food ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "place",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good restaurant in the yosemite and mono lake area for french food ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "restaurant",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good restaurants in the yosemite and mono lake area for french food ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "restaurants",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "for",
            "french",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good french restaurant in the yosemite and mono lake area ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "french",
            "restaurant",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t3.house_number  ,  t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name  =  t2.city_name JOIN LOCATION AS t3 ON t1.id  =  t3.restaurant_id WHERE t2.region  =  \"yosemite and mono lake area\" AND t1.food_type  =  \"french\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t3.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "geographic",
            "AS",
            "t2",
            "ON",
            "t1.city_name",
            "=",
            "t2.city_name",
            "JOIN",
            "LOCATION",
            "AS",
            "t3",
            "ON",
            "t1.id",
            "=",
            "t3.restaurant_id",
            "WHERE",
            "t2.region",
            "=",
            "``",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "french",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t3",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "geographic",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "city_name",
            "=",
            "t2",
            ".",
            "city_name",
            "join",
            "location",
            "as",
            "t3",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t3",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "region",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where can i eat some good french food in the yosemite and mono lake area ?",
        "question_toks": [
            "where",
            "can",
            "i",
            "eat",
            "some",
            "good",
            "french",
            "food",
            "in",
            "the",
            "yosemite",
            "and",
            "mono",
            "lake",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        0
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                7,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            1,
                            false
                        ],
                        null
                    ],
                    "and",
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            3,
                            false
                        ],
                        null
                    ],
                    "\"yosemite and mono lake area\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"french\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some restaurants good for arabic food in mountain view ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "restaurants",
            "good",
            "for",
            "arabic",
            "food",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good places in mountain view for arabic food ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "places",
            "in",
            "mountain",
            "view",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some good arabic restaurants in mountain view ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "good",
            "arabic",
            "restaurants",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "show me a good arabic restaurant in mountain view ?",
        "question_toks": [
            "show",
            "me",
            "a",
            "good",
            "arabic",
            "restaurant",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good arabic in mountain view ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "arabic",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good arabic restaurant in mountain view ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "arabic",
            "restaurant",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good place in mountain view for arabic food ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "place",
            "in",
            "mountain",
            "view",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some good arabics in mountain view ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "good",
            "arabics",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a restaurant in mountain view that serves good arabic food ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "restaurant",
            "in",
            "mountain",
            "view",
            "that",
            "serves",
            "good",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good restaurants in mountain view for arabic food ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "restaurants",
            "in",
            "mountain",
            "view",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some restaurants good for arabic food in mountain view ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "restaurants",
            "good",
            "for",
            "arabic",
            "food",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where can i eat some good arabic food in mountain view ?",
        "question_toks": [
            "where",
            "can",
            "i",
            "eat",
            "some",
            "good",
            "arabic",
            "food",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good places for arabic in mountain view ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "places",
            "for",
            "arabic",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good arabic in mountain view ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "arabic",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a restaurant in mountain view that serves good arabic food ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "restaurant",
            "in",
            "mountain",
            "view",
            "that",
            "serves",
            "good",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good arabic restaurants in mountain view ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "arabic",
            "restaurants",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where are some good places for arabic in mountain view ?",
        "question_toks": [
            "where",
            "are",
            "some",
            "good",
            "places",
            "for",
            "arabic",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good arabics in mountain view ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "arabics",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good restaurant in mountain view for arabic food ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "restaurant",
            "in",
            "mountain",
            "view",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good arabic restaurant in mountain view ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "arabic",
            "restaurant",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good places for arabic in mountain view ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "places",
            "for",
            "arabic",
            "in",
            "mountain",
            "view",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good restaurant in mountain view for arabic food ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "restaurant",
            "in",
            "mountain",
            "view",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"mountain view\" AND t1.food_type  =  \"arabic\" AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "mountain",
            "view",
            "''",
            "AND",
            "t1.food_type",
            "=",
            "``",
            "arabic",
            "''",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "food_type",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "where is a good place in mountain view for arabic food ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "good",
            "place",
            "in",
            "mountain",
            "view",
            "for",
            "arabic",
            "food",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"mountain view\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            6,
                            false
                        ],
                        null
                    ],
                    "\"arabic\"",
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.name  =  \"jamerican cuisine\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "jamerican",
            "cuisine",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "where can i find a jamerican cuisine in san francisco ?",
        "question_toks": [
            "where",
            "can",
            "i",
            "find",
            "a",
            "jamerican",
            "cuisine",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"jamerican cuisine\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.name  =  \"jamerican cuisine\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "jamerican",
            "cuisine",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "where is jamerican cuisine in san francisco ?",
        "question_toks": [
            "where",
            "is",
            "jamerican",
            "cuisine",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"jamerican cuisine\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id  =  t2.restaurant_id WHERE t2.city_name  =  \"san francisco\" AND t1.name  =  \"jamerican cuisine\";",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "restaurant",
            "AS",
            "t1",
            "JOIN",
            "LOCATION",
            "AS",
            "t2",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t2.city_name",
            "=",
            "``",
            "san",
            "francisco",
            "''",
            "AND",
            "t1.name",
            "=",
            "``",
            "jamerican",
            "cuisine",
            "''",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "restaurant",
            "as",
            "t1",
            "join",
            "location",
            "as",
            "t2",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t2",
            ".",
            "city_name",
            "=",
            "value",
            "and",
            "t1",
            ".",
            "name",
            "=",
            "value"
        ],
        "question": "where is a jamerican cuisine in san francisco ?",
        "question_toks": [
            "where",
            "is",
            "a",
            "jamerican",
            "cuisine",
            "in",
            "san",
            "francisco",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        1
                    ],
                    [
                        "table_unit",
                        2
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            12,
                            false
                        ],
                        null
                    ],
                    "\"san francisco\"",
                    null
                ],
                "and",
                [
                    false,
                    2,
                    [
                        0,
                        [
                            0,
                            5,
                            false
                        ],
                        null
                    ],
                    "\"jamerican cuisine\"",
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id  =  t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region  =  \"bay area\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "LOCATION",
            "AS",
            "t2",
            "JOIN",
            "restaurant",
            "AS",
            "t1",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.city_name",
            "IN",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "geographic",
            "WHERE",
            "region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "location",
            "as",
            "t2",
            "join",
            "restaurant",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "city_name",
            "in",
            "(",
            "select",
            "city_name",
            "from",
            "geographic",
            "where",
            "region",
            "=",
            "value",
            ")"
        ],
        "question": "where can we find some restaurants in the bay area ?",
        "question_toks": [
            "where",
            "can",
            "we",
            "find",
            "some",
            "restaurants",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id  =  t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region  =  \"bay area\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "LOCATION",
            "AS",
            "t2",
            "JOIN",
            "restaurant",
            "AS",
            "t1",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.city_name",
            "IN",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "geographic",
            "WHERE",
            "region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "location",
            "as",
            "t2",
            "join",
            "restaurant",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "city_name",
            "in",
            "(",
            "select",
            "city_name",
            "from",
            "geographic",
            "where",
            "region",
            "=",
            "value",
            ")"
        ],
        "question": "give me some restaurants in the bay area ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "restaurants",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id  =  t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region  =  \"bay area\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "LOCATION",
            "AS",
            "t2",
            "JOIN",
            "restaurant",
            "AS",
            "t1",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.city_name",
            "IN",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "geographic",
            "WHERE",
            "region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "location",
            "as",
            "t2",
            "join",
            "restaurant",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "city_name",
            "in",
            "(",
            "select",
            "city_name",
            "from",
            "geographic",
            "where",
            "region",
            "=",
            "value",
            ")"
        ],
        "question": "give me a restaurant in the bay area ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id  =  t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region  =  \"bay area\" );",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "LOCATION",
            "AS",
            "t2",
            "JOIN",
            "restaurant",
            "AS",
            "t1",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.city_name",
            "IN",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "geographic",
            "WHERE",
            "region",
            "=",
            "``",
            "bay",
            "area",
            "''",
            ")",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "location",
            "as",
            "t2",
            "join",
            "restaurant",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "city_name",
            "in",
            "(",
            "select",
            "city_name",
            "from",
            "geographic",
            "where",
            "region",
            "=",
            "value",
            ")"
        ],
        "question": "where can i find a restaurant in the bay area ?",
        "question_toks": [
            "where",
            "can",
            "i",
            "find",
            "a",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"bay area\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id  =  t2.restaurant_id  WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region  =  \"region0\" ) AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "LOCATION",
            "AS",
            "t2",
            "JOIN",
            "restaurant",
            "AS",
            "t1",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.city_name",
            "IN",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "geographic",
            "WHERE",
            "region",
            "=",
            "``",
            "region0",
            "''",
            ")",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "location",
            "as",
            "t2",
            "join",
            "restaurant",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "city_name",
            "in",
            "(",
            "select",
            "city_name",
            "from",
            "geographic",
            "where",
            "region",
            "=",
            "value",
            ")",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me a good restaurant in the bay area ?",
        "question_toks": [
            "give",
            "me",
            "a",
            "good",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"region0\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id  =  t2.restaurant_id  WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region  =  \"region0\" ) AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "LOCATION",
            "AS",
            "t2",
            "JOIN",
            "restaurant",
            "AS",
            "t1",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.city_name",
            "IN",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "geographic",
            "WHERE",
            "region",
            "=",
            "``",
            "region0",
            "''",
            ")",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "location",
            "as",
            "t2",
            "join",
            "restaurant",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "city_name",
            "in",
            "(",
            "select",
            "city_name",
            "from",
            "geographic",
            "where",
            "region",
            "=",
            "value",
            ")",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what are some good restaurants in the bay area ?",
        "question_toks": [
            "what",
            "are",
            "some",
            "good",
            "restaurants",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"region0\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id  =  t2.restaurant_id  WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region  =  \"region0\" ) AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "LOCATION",
            "AS",
            "t2",
            "JOIN",
            "restaurant",
            "AS",
            "t1",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.city_name",
            "IN",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "geographic",
            "WHERE",
            "region",
            "=",
            "``",
            "region0",
            "''",
            ")",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "location",
            "as",
            "t2",
            "join",
            "restaurant",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "city_name",
            "in",
            "(",
            "select",
            "city_name",
            "from",
            "geographic",
            "where",
            "region",
            "=",
            "value",
            ")",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "give me some good restaurants in the bay area ?",
        "question_toks": [
            "give",
            "me",
            "some",
            "good",
            "restaurants",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"region0\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    },
    {
        "db_id": "restaurants",
        "query": "SELECT t2.house_number  ,  t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id  =  t2.restaurant_id  WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region  =  \"region0\" ) AND t1.rating  >  2.5;",
        "query_toks": [
            "SELECT",
            "t2.house_number",
            ",",
            "t1.name",
            "FROM",
            "LOCATION",
            "AS",
            "t2",
            "JOIN",
            "restaurant",
            "AS",
            "t1",
            "ON",
            "t1.id",
            "=",
            "t2.restaurant_id",
            "WHERE",
            "t1.city_name",
            "IN",
            "(",
            "SELECT",
            "city_name",
            "FROM",
            "geographic",
            "WHERE",
            "region",
            "=",
            "``",
            "region0",
            "''",
            ")",
            "AND",
            "t1.rating",
            ">",
            "2.5",
            ";"
        ],
        "query_toks_no_value": [
            "select",
            "t2",
            ".",
            "house_number",
            ",",
            "t1",
            ".",
            "name",
            "from",
            "location",
            "as",
            "t2",
            "join",
            "restaurant",
            "as",
            "t1",
            "on",
            "t1",
            ".",
            "id",
            "=",
            "t2",
            ".",
            "restaurant_id",
            "where",
            "t1",
            ".",
            "city_name",
            "in",
            "(",
            "select",
            "city_name",
            "from",
            "geographic",
            "where",
            "region",
            "=",
            "value",
            ")",
            "and",
            "t1",
            ".",
            "rating",
            ">",
            "value"
        ],
        "question": "what is a good restaurant in the bay area ?",
        "question_toks": [
            "what",
            "is",
            "a",
            "good",
            "restaurant",
            "in",
            "the",
            "bay",
            "area",
            "?"
        ],
        "sql": {
            "from": {
                "table_units": [
                    [
                        "table_unit",
                        2
                    ],
                    [
                        "table_unit",
                        1
                    ]
                ],
                "conds": [
                    [
                        false,
                        2,
                        [
                            0,
                            [
                                0,
                                4,
                                false
                            ],
                            null
                        ],
                        [
                            0,
                            9,
                            false
                        ],
                        null
                    ]
                ]
            },
            "select": [
                false,
                [
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                10,
                                false
                            ],
                            null
                        ]
                    ],
                    [
                        0,
                        [
                            0,
                            [
                                0,
                                5,
                                false
                            ],
                            null
                        ]
                    ]
                ]
            ],
            "where": [
                [
                    false,
                    8,
                    [
                        0,
                        [
                            0,
                            7,
                            false
                        ],
                        null
                    ],
                    {
                        "from": {
                            "table_units": [
                                [
                                    "table_unit",
                                    0
                                ]
                            ],
                            "conds": []
                        },
                        "select": [
                            false,
                            [
                                [
                                    0,
                                    [
                                        0,
                                        [
                                            0,
                                            1,
                                            false
                                        ],
                                        null
                                    ]
                                ]
                            ]
                        ],
                        "where": [
                            [
                                false,
                                2,
                                [
                                    0,
                                    [
                                        0,
                                        3,
                                        false
                                    ],
                                    null
                                ],
                                "\"region0\"",
                                null
                            ]
                        ],
                        "groupBy": [],
                        "having": [],
                        "orderBy": [],
                        "limit": null,
                        "intersect": null,
                        "union": null,
                        "except": null
                    },
                    null
                ],
                "and",
                [
                    false,
                    3,
                    [
                        0,
                        [
                            0,
                            8,
                            false
                        ],
                        null
                    ],
                    2.5,
                    null
                ]
            ],
            "groupBy": [],
            "having": [],
            "orderBy": [],
            "limit": null,
            "intersect": null,
            "union": null,
            "except": null
        },
        "type": "others"
    }
]